docs.go 1001 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787
  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": "integer",
  8038. "description": "是否包含子级 1-包含",
  8039. "name": "includesub",
  8040. "in": "query"
  8041. }
  8042. ],
  8043. "responses": {
  8044. "200": {
  8045. "description": "OK",
  8046. "schema": {
  8047. "type": "array",
  8048. "items": {
  8049. "$ref": "#/definitions/models.QhjCustomer"
  8050. }
  8051. }
  8052. },
  8053. "500": {
  8054. "description": "Internal Server Error",
  8055. "schema": {
  8056. "$ref": "#/definitions/app.Response"
  8057. }
  8058. }
  8059. }
  8060. }
  8061. },
  8062. "/QhjMgr/QuerySubArea": {
  8063. "get": {
  8064. "security": [
  8065. {
  8066. "ApiKeyAuth": []
  8067. }
  8068. ],
  8069. "produces": [
  8070. "application/json"
  8071. ],
  8072. "tags": [
  8073. "大连千海金(PCWeb)"
  8074. ],
  8075. "summary": "查询子机构列表",
  8076. "parameters": [
  8077. {
  8078. "type": "integer",
  8079. "description": "用户ID",
  8080. "name": "userid",
  8081. "in": "query",
  8082. "required": true
  8083. }
  8084. ],
  8085. "responses": {
  8086. "200": {
  8087. "description": "OK",
  8088. "schema": {
  8089. "type": "array",
  8090. "items": {
  8091. "$ref": "#/definitions/models.QhjMgrSubArea"
  8092. }
  8093. }
  8094. },
  8095. "500": {
  8096. "description": "Internal Server Error",
  8097. "schema": {
  8098. "$ref": "#/definitions/app.Response"
  8099. }
  8100. }
  8101. }
  8102. }
  8103. },
  8104. "/QhjMgr/QueryTradePosition": {
  8105. "get": {
  8106. "security": [
  8107. {
  8108. "ApiKeyAuth": []
  8109. }
  8110. ],
  8111. "produces": [
  8112. "application/json"
  8113. ],
  8114. "tags": [
  8115. "大连千海金(PCWeb)"
  8116. ],
  8117. "summary": "查询持仓汇总",
  8118. "parameters": [
  8119. {
  8120. "type": "integer",
  8121. "description": "用户ID",
  8122. "name": "userid",
  8123. "in": "query",
  8124. "required": true
  8125. },
  8126. {
  8127. "type": "integer",
  8128. "description": "用户类型 1-个人 2-企业",
  8129. "name": "userinfotype",
  8130. "in": "query"
  8131. },
  8132. {
  8133. "type": "integer",
  8134. "description": "商品id",
  8135. "name": "goodsid",
  8136. "in": "query"
  8137. },
  8138. {
  8139. "type": "string",
  8140. "description": "名称(模糊搜索账户)",
  8141. "name": "filtername",
  8142. "in": "query"
  8143. },
  8144. {
  8145. "type": "integer",
  8146. "description": "是否包含子级 1-包含",
  8147. "name": "includesub",
  8148. "in": "query"
  8149. }
  8150. ],
  8151. "responses": {
  8152. "200": {
  8153. "description": "OK",
  8154. "schema": {
  8155. "type": "array",
  8156. "items": {
  8157. "$ref": "#/definitions/models.QhjMgrPosition"
  8158. }
  8159. }
  8160. },
  8161. "500": {
  8162. "description": "Internal Server Error",
  8163. "schema": {
  8164. "$ref": "#/definitions/app.Response"
  8165. }
  8166. }
  8167. }
  8168. }
  8169. },
  8170. "/Quote/QueryHistoryDatas": {
  8171. "get": {
  8172. "security": [
  8173. {
  8174. "ApiKeyAuth": []
  8175. }
  8176. ],
  8177. "produces": [
  8178. "application/json"
  8179. ],
  8180. "tags": [
  8181. "行情服务"
  8182. ],
  8183. "summary": "查询行情历史数据",
  8184. "parameters": [
  8185. {
  8186. "type": "integer",
  8187. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  8188. "name": "cycleType",
  8189. "in": "query",
  8190. "required": true
  8191. },
  8192. {
  8193. "type": "string",
  8194. "description": "商品代码",
  8195. "name": "goodsCode",
  8196. "in": "query",
  8197. "required": true
  8198. },
  8199. {
  8200. "type": "string",
  8201. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8202. "name": "startTime",
  8203. "in": "query"
  8204. },
  8205. {
  8206. "type": "string",
  8207. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8208. "name": "endTime",
  8209. "in": "query"
  8210. },
  8211. {
  8212. "type": "integer",
  8213. "description": "条数",
  8214. "name": "count",
  8215. "in": "query"
  8216. },
  8217. {
  8218. "type": "boolean",
  8219. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8220. "name": "isAsc",
  8221. "in": "query"
  8222. }
  8223. ],
  8224. "responses": {
  8225. "200": {
  8226. "description": "OK",
  8227. "schema": {
  8228. "$ref": "#/definitions/quote.HistoryData"
  8229. }
  8230. },
  8231. "500": {
  8232. "description": "Internal Server Error",
  8233. "schema": {
  8234. "$ref": "#/definitions/app.Response"
  8235. }
  8236. }
  8237. }
  8238. }
  8239. },
  8240. "/Quote/QueryHistoryTikDatas": {
  8241. "get": {
  8242. "security": [
  8243. {
  8244. "ApiKeyAuth": []
  8245. }
  8246. ],
  8247. "produces": [
  8248. "application/json"
  8249. ],
  8250. "tags": [
  8251. "行情服务"
  8252. ],
  8253. "summary": "查询行情Tik数据",
  8254. "parameters": [
  8255. {
  8256. "type": "string",
  8257. "description": "商品代码",
  8258. "name": "goodsCode",
  8259. "in": "query",
  8260. "required": true
  8261. },
  8262. {
  8263. "type": "string",
  8264. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8265. "name": "startTime",
  8266. "in": "query"
  8267. },
  8268. {
  8269. "type": "string",
  8270. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8271. "name": "endTime",
  8272. "in": "query"
  8273. },
  8274. {
  8275. "type": "integer",
  8276. "description": "条数",
  8277. "name": "count",
  8278. "in": "query"
  8279. },
  8280. {
  8281. "type": "boolean",
  8282. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8283. "name": "isAsc",
  8284. "in": "query"
  8285. }
  8286. ],
  8287. "responses": {
  8288. "200": {
  8289. "description": "OK",
  8290. "schema": {
  8291. "$ref": "#/definitions/quote.HistoryTikData"
  8292. }
  8293. },
  8294. "500": {
  8295. "description": "Internal Server Error",
  8296. "schema": {
  8297. "$ref": "#/definitions/app.Response"
  8298. }
  8299. }
  8300. }
  8301. }
  8302. },
  8303. "/Quote/QueryQuoteDay": {
  8304. "get": {
  8305. "security": [
  8306. {
  8307. "ApiKeyAuth": []
  8308. }
  8309. ],
  8310. "produces": [
  8311. "application/json"
  8312. ],
  8313. "tags": [
  8314. "行情服务"
  8315. ],
  8316. "summary": "获取商品盘面信息",
  8317. "parameters": [
  8318. {
  8319. "type": "string",
  8320. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  8321. "name": "goodsCodes",
  8322. "in": "query",
  8323. "required": true
  8324. }
  8325. ],
  8326. "responses": {
  8327. "200": {
  8328. "description": "OK",
  8329. "schema": {
  8330. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  8331. }
  8332. },
  8333. "500": {
  8334. "description": "Internal Server Error",
  8335. "schema": {
  8336. "$ref": "#/definitions/app.Response"
  8337. }
  8338. }
  8339. }
  8340. }
  8341. },
  8342. "/Quote/QueryTSData": {
  8343. "get": {
  8344. "security": [
  8345. {
  8346. "ApiKeyAuth": []
  8347. }
  8348. ],
  8349. "produces": [
  8350. "application/json"
  8351. ],
  8352. "tags": [
  8353. "行情服务"
  8354. ],
  8355. "summary": "分时图数据查询",
  8356. "parameters": [
  8357. {
  8358. "type": "string",
  8359. "description": "商品代码",
  8360. "name": "goodsCode",
  8361. "in": "query",
  8362. "required": true
  8363. }
  8364. ],
  8365. "responses": {
  8366. "200": {
  8367. "description": "OK",
  8368. "schema": {
  8369. "$ref": "#/definitions/quote.QueryTSDataRsp"
  8370. }
  8371. },
  8372. "500": {
  8373. "description": "Internal Server Error",
  8374. "schema": {
  8375. "$ref": "#/definitions/app.Response"
  8376. }
  8377. }
  8378. }
  8379. }
  8380. },
  8381. "/SZDZ/QueryConvertConfig": {
  8382. "get": {
  8383. "security": [
  8384. {
  8385. "ApiKeyAuth": []
  8386. }
  8387. ],
  8388. "produces": [
  8389. "application/json"
  8390. ],
  8391. "tags": [
  8392. "定制【尚志大宗】"
  8393. ],
  8394. "summary": "查询交易系统转换设置",
  8395. "parameters": [
  8396. {
  8397. "type": "integer",
  8398. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8399. "name": "convertType",
  8400. "in": "query"
  8401. },
  8402. {
  8403. "type": "string",
  8404. "description": "外部商品代码[JD\\PD]",
  8405. "name": "outerGoodsCode",
  8406. "in": "query"
  8407. },
  8408. {
  8409. "type": "string",
  8410. "description": "内部商品ID列表[交易],格式:1,2,3",
  8411. "name": "innerGoodsIDs",
  8412. "in": "query"
  8413. }
  8414. ],
  8415. "responses": {
  8416. "200": {
  8417. "description": "OK",
  8418. "schema": {
  8419. "$ref": "#/definitions/models.Szdz3convertconfig"
  8420. }
  8421. },
  8422. "500": {
  8423. "description": "Internal Server Error",
  8424. "schema": {
  8425. "$ref": "#/definitions/app.Response"
  8426. }
  8427. }
  8428. }
  8429. }
  8430. },
  8431. "/SZDZ/QueryConvertLog": {
  8432. "get": {
  8433. "security": [
  8434. {
  8435. "ApiKeyAuth": []
  8436. }
  8437. ],
  8438. "produces": [
  8439. "application/json"
  8440. ],
  8441. "tags": [
  8442. "定制【尚志大宗】"
  8443. ],
  8444. "summary": "交易系统转换流水查询",
  8445. "parameters": [
  8446. {
  8447. "type": "string",
  8448. "description": "资金账户 - 格式:1,2,3",
  8449. "name": "accountID",
  8450. "in": "query",
  8451. "required": true
  8452. },
  8453. {
  8454. "type": "string",
  8455. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8456. "name": "startDate",
  8457. "in": "query"
  8458. },
  8459. {
  8460. "type": "string",
  8461. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8462. "name": "endDate",
  8463. "in": "query"
  8464. }
  8465. ],
  8466. "responses": {
  8467. "200": {
  8468. "description": "OK",
  8469. "schema": {
  8470. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8471. }
  8472. },
  8473. "500": {
  8474. "description": "Internal Server Error",
  8475. "schema": {
  8476. "$ref": "#/definitions/app.Response"
  8477. }
  8478. }
  8479. }
  8480. }
  8481. },
  8482. "/SZDZ/QueryGoodsPickup": {
  8483. "get": {
  8484. "security": [
  8485. {
  8486. "ApiKeyAuth": []
  8487. }
  8488. ],
  8489. "produces": [
  8490. "application/json"
  8491. ],
  8492. "tags": [
  8493. "定制【尚志大宗】"
  8494. ],
  8495. "summary": "商品提货单查询",
  8496. "parameters": [
  8497. {
  8498. "type": "string",
  8499. "description": "资金账户 - 格式:1,2,3",
  8500. "name": "accountID",
  8501. "in": "query",
  8502. "required": true
  8503. },
  8504. {
  8505. "type": "integer",
  8506. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8507. "name": "takeOrderStatus",
  8508. "in": "query"
  8509. }
  8510. ],
  8511. "responses": {
  8512. "200": {
  8513. "description": "OK",
  8514. "schema": {
  8515. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8516. }
  8517. },
  8518. "500": {
  8519. "description": "Internal Server Error",
  8520. "schema": {
  8521. "$ref": "#/definitions/app.Response"
  8522. }
  8523. }
  8524. }
  8525. }
  8526. },
  8527. "/SZDZ/QueryRecieptOrder": {
  8528. "get": {
  8529. "security": [
  8530. {
  8531. "ApiKeyAuth": []
  8532. }
  8533. ],
  8534. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8535. "produces": [
  8536. "application/json"
  8537. ],
  8538. "tags": [
  8539. "定制【尚志大宗】"
  8540. ],
  8541. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8542. "parameters": [
  8543. {
  8544. "type": "integer",
  8545. "description": "页码",
  8546. "name": "page",
  8547. "in": "query"
  8548. },
  8549. {
  8550. "type": "integer",
  8551. "description": "每页条数",
  8552. "name": "pagesize",
  8553. "in": "query"
  8554. },
  8555. {
  8556. "type": "integer",
  8557. "description": "商品ID",
  8558. "name": "goodsID",
  8559. "in": "query",
  8560. "required": true
  8561. },
  8562. {
  8563. "type": "string",
  8564. "description": "所属账户名称",
  8565. "name": "accountName",
  8566. "in": "query"
  8567. },
  8568. {
  8569. "type": "integer",
  8570. "description": "市场ID",
  8571. "name": "marketID",
  8572. "in": "query"
  8573. },
  8574. {
  8575. "type": "integer",
  8576. "description": "方向 - 0:买 1:卖",
  8577. "name": "buyorsell",
  8578. "in": "query",
  8579. "required": true
  8580. }
  8581. ],
  8582. "responses": {
  8583. "200": {
  8584. "description": "OK",
  8585. "schema": {
  8586. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8587. }
  8588. },
  8589. "500": {
  8590. "description": "Internal Server Error",
  8591. "schema": {
  8592. "$ref": "#/definitions/app.Response"
  8593. }
  8594. }
  8595. }
  8596. }
  8597. },
  8598. "/SZDZ/QuerySZDZTradePosition": {
  8599. "get": {
  8600. "security": [
  8601. {
  8602. "ApiKeyAuth": []
  8603. }
  8604. ],
  8605. "produces": [
  8606. "application/json"
  8607. ],
  8608. "tags": [
  8609. "定制【尚志大宗】"
  8610. ],
  8611. "summary": "持仓汇总查询(尚志大宗)",
  8612. "parameters": [
  8613. {
  8614. "type": "integer",
  8615. "description": "资金账户",
  8616. "name": "accountID",
  8617. "in": "query",
  8618. "required": true
  8619. }
  8620. ],
  8621. "responses": {
  8622. "200": {
  8623. "description": "OK",
  8624. "schema": {
  8625. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8626. }
  8627. },
  8628. "500": {
  8629. "description": "Internal Server Error",
  8630. "schema": {
  8631. "$ref": "#/definitions/app.Response"
  8632. }
  8633. }
  8634. }
  8635. }
  8636. },
  8637. "/SZDZ/SearchWhite": {
  8638. "get": {
  8639. "security": [
  8640. {
  8641. "ApiKeyAuth": []
  8642. }
  8643. ],
  8644. "produces": [
  8645. "application/json"
  8646. ],
  8647. "tags": [
  8648. "定制【尚志大宗】"
  8649. ],
  8650. "summary": "搜索白名单",
  8651. "parameters": [
  8652. {
  8653. "type": "integer",
  8654. "description": "用户ID",
  8655. "name": "userID",
  8656. "in": "query",
  8657. "required": true
  8658. }
  8659. ],
  8660. "responses": {
  8661. "200": {
  8662. "description": "OK",
  8663. "schema": {
  8664. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8665. }
  8666. },
  8667. "500": {
  8668. "description": "Internal Server Error",
  8669. "schema": {
  8670. "$ref": "#/definitions/app.Response"
  8671. }
  8672. }
  8673. }
  8674. }
  8675. },
  8676. "/Search/SearchGoodses": {
  8677. "get": {
  8678. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8679. "produces": [
  8680. "application/json"
  8681. ],
  8682. "tags": [
  8683. "检索服务"
  8684. ],
  8685. "summary": "检索商品信息",
  8686. "parameters": [
  8687. {
  8688. "type": "string",
  8689. "description": "检索内容",
  8690. "name": "content",
  8691. "in": "query",
  8692. "required": true
  8693. },
  8694. {
  8695. "type": "string",
  8696. "description": "交易模式,格式:1,2,3",
  8697. "name": "tradeModes",
  8698. "in": "query"
  8699. }
  8700. ],
  8701. "responses": {
  8702. "200": {
  8703. "description": "OK",
  8704. "schema": {
  8705. "$ref": "#/definitions/models.SearchGoods"
  8706. }
  8707. },
  8708. "500": {
  8709. "description": "Internal Server Error",
  8710. "schema": {
  8711. "$ref": "#/definitions/app.Response"
  8712. }
  8713. }
  8714. }
  8715. }
  8716. },
  8717. "/TaAccount/GetTaAccounts": {
  8718. "get": {
  8719. "security": [
  8720. {
  8721. "ApiKeyAuth": []
  8722. }
  8723. ],
  8724. "produces": [
  8725. "application/json"
  8726. ],
  8727. "tags": [
  8728. "资金账户"
  8729. ],
  8730. "summary": "获取资金账户信息",
  8731. "parameters": [
  8732. {
  8733. "type": "integer",
  8734. "description": "登录账户",
  8735. "name": "loginID",
  8736. "in": "query",
  8737. "required": true
  8738. },
  8739. {
  8740. "type": "integer",
  8741. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  8742. "name": "taAccountType",
  8743. "in": "query"
  8744. }
  8745. ],
  8746. "responses": {
  8747. "200": {
  8748. "description": "OK",
  8749. "schema": {
  8750. "$ref": "#/definitions/models.Taaccount"
  8751. }
  8752. },
  8753. "500": {
  8754. "description": "Internal Server Error",
  8755. "schema": {
  8756. "$ref": "#/definitions/app.Response"
  8757. }
  8758. }
  8759. }
  8760. }
  8761. },
  8762. "/TaAccount/QueryAmountLog": {
  8763. "get": {
  8764. "security": [
  8765. {
  8766. "ApiKeyAuth": []
  8767. }
  8768. ],
  8769. "produces": [
  8770. "application/json"
  8771. ],
  8772. "tags": [
  8773. "资金账户"
  8774. ],
  8775. "summary": "资金流水查询(当前)",
  8776. "parameters": [
  8777. {
  8778. "type": "integer",
  8779. "description": "页码",
  8780. "name": "page",
  8781. "in": "query"
  8782. },
  8783. {
  8784. "type": "integer",
  8785. "description": "每页条数",
  8786. "name": "pagesize",
  8787. "in": "query"
  8788. },
  8789. {
  8790. "type": "string",
  8791. "description": "资金账户 - 格式:1,2,3",
  8792. "name": "accountID",
  8793. "in": "query",
  8794. "required": true
  8795. },
  8796. {
  8797. "type": "string",
  8798. "description": "资金操作类型 - 格式:1,2,3",
  8799. "name": "OperateType",
  8800. "in": "query"
  8801. }
  8802. ],
  8803. "responses": {
  8804. "200": {
  8805. "description": "OK",
  8806. "schema": {
  8807. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  8808. }
  8809. },
  8810. "500": {
  8811. "description": "Internal Server Error",
  8812. "schema": {
  8813. "$ref": "#/definitions/app.Response"
  8814. }
  8815. }
  8816. }
  8817. }
  8818. },
  8819. "/TaAccount/QueryHisAmountLog": {
  8820. "get": {
  8821. "security": [
  8822. {
  8823. "ApiKeyAuth": []
  8824. }
  8825. ],
  8826. "produces": [
  8827. "application/json"
  8828. ],
  8829. "tags": [
  8830. "资金账户"
  8831. ],
  8832. "summary": "资金流水查询(历史)",
  8833. "parameters": [
  8834. {
  8835. "type": "integer",
  8836. "description": "页码",
  8837. "name": "page",
  8838. "in": "query"
  8839. },
  8840. {
  8841. "type": "integer",
  8842. "description": "每页条数",
  8843. "name": "pagesize",
  8844. "in": "query"
  8845. },
  8846. {
  8847. "type": "string",
  8848. "description": "资金账户 - 格式:1,2,3",
  8849. "name": "accountID",
  8850. "in": "query",
  8851. "required": true
  8852. },
  8853. {
  8854. "type": "string",
  8855. "description": "资金操作类型 - 格式:1,2,3",
  8856. "name": "OperateType",
  8857. "in": "query"
  8858. },
  8859. {
  8860. "type": "string",
  8861. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8862. "name": "startDate",
  8863. "in": "query"
  8864. },
  8865. {
  8866. "type": "string",
  8867. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8868. "name": "endDate",
  8869. "in": "query"
  8870. }
  8871. ],
  8872. "responses": {
  8873. "200": {
  8874. "description": "OK",
  8875. "schema": {
  8876. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  8877. }
  8878. },
  8879. "500": {
  8880. "description": "Internal Server Error",
  8881. "schema": {
  8882. "$ref": "#/definitions/app.Response"
  8883. }
  8884. }
  8885. }
  8886. }
  8887. },
  8888. "/Trade/QueryRecieptOrder": {
  8889. "get": {
  8890. "security": [
  8891. {
  8892. "ApiKeyAuth": []
  8893. }
  8894. ],
  8895. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8896. "produces": [
  8897. "application/json"
  8898. ],
  8899. "tags": [
  8900. "通用交易"
  8901. ],
  8902. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  8903. "parameters": [
  8904. {
  8905. "type": "integer",
  8906. "description": "页码",
  8907. "name": "page",
  8908. "in": "query"
  8909. },
  8910. {
  8911. "type": "integer",
  8912. "description": "每页条数",
  8913. "name": "pagesize",
  8914. "in": "query"
  8915. },
  8916. {
  8917. "type": "integer",
  8918. "description": "商品ID",
  8919. "name": "goodsID",
  8920. "in": "query",
  8921. "required": true
  8922. },
  8923. {
  8924. "type": "string",
  8925. "description": "所属账户名称",
  8926. "name": "accountName",
  8927. "in": "query"
  8928. },
  8929. {
  8930. "type": "integer",
  8931. "description": "市场ID",
  8932. "name": "marketID",
  8933. "in": "query"
  8934. },
  8935. {
  8936. "type": "integer",
  8937. "description": "方向 - 0:买 1:卖",
  8938. "name": "buyorsell",
  8939. "in": "query",
  8940. "required": true
  8941. }
  8942. ],
  8943. "responses": {
  8944. "200": {
  8945. "description": "OK",
  8946. "schema": {
  8947. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8948. }
  8949. },
  8950. "500": {
  8951. "description": "Internal Server Error",
  8952. "schema": {
  8953. "$ref": "#/definitions/app.Response"
  8954. }
  8955. }
  8956. }
  8957. }
  8958. },
  8959. "/User/AddMessageBoard": {
  8960. "post": {
  8961. "security": [
  8962. {
  8963. "ApiKeyAuth": []
  8964. }
  8965. ],
  8966. "produces": [
  8967. "application/json"
  8968. ],
  8969. "tags": [
  8970. "用户信息"
  8971. ],
  8972. "summary": "添加用户留言板信息",
  8973. "parameters": [
  8974. {
  8975. "type": "integer",
  8976. "description": "用户ID",
  8977. "name": "userID",
  8978. "in": "query",
  8979. "required": true
  8980. },
  8981. {
  8982. "type": "string",
  8983. "description": "留言信息",
  8984. "name": "message",
  8985. "in": "query",
  8986. "required": true
  8987. },
  8988. {
  8989. "type": "string",
  8990. "description": "联系电话",
  8991. "name": "contactNum",
  8992. "in": "query",
  8993. "required": true
  8994. }
  8995. ],
  8996. "responses": {
  8997. "200": {
  8998. "description": "OK",
  8999. "schema": {
  9000. "$ref": "#/definitions/app.Response"
  9001. }
  9002. },
  9003. "500": {
  9004. "description": "Internal Server Error",
  9005. "schema": {
  9006. "$ref": "#/definitions/app.Response"
  9007. }
  9008. }
  9009. }
  9010. }
  9011. },
  9012. "/User/AddUserFavoriteGoods": {
  9013. "post": {
  9014. "security": [
  9015. {
  9016. "ApiKeyAuth": []
  9017. }
  9018. ],
  9019. "produces": [
  9020. "application/json"
  9021. ],
  9022. "tags": [
  9023. "用户信息"
  9024. ],
  9025. "summary": "添加用户商品收藏信息",
  9026. "parameters": [
  9027. {
  9028. "type": "integer",
  9029. "description": "用户ID",
  9030. "name": "userID",
  9031. "in": "query",
  9032. "required": true
  9033. },
  9034. {
  9035. "type": "integer",
  9036. "description": "商品ID",
  9037. "name": "goodsID",
  9038. "in": "query",
  9039. "required": true
  9040. }
  9041. ],
  9042. "responses": {
  9043. "200": {
  9044. "description": "OK",
  9045. "schema": {
  9046. "$ref": "#/definitions/app.Response"
  9047. }
  9048. },
  9049. "500": {
  9050. "description": "Internal Server Error",
  9051. "schema": {
  9052. "$ref": "#/definitions/app.Response"
  9053. }
  9054. }
  9055. }
  9056. }
  9057. },
  9058. "/User/GetLoginID": {
  9059. "get": {
  9060. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  9061. "produces": [
  9062. "application/json"
  9063. ],
  9064. "tags": [
  9065. "用户信息"
  9066. ],
  9067. "summary": "获取登录ID",
  9068. "parameters": [
  9069. {
  9070. "type": "string",
  9071. "description": "登录代码",
  9072. "name": "username",
  9073. "in": "query",
  9074. "required": true
  9075. }
  9076. ],
  9077. "responses": {
  9078. "200": {
  9079. "description": "OK",
  9080. "schema": {
  9081. "$ref": "#/definitions/app.Response"
  9082. }
  9083. },
  9084. "500": {
  9085. "description": "Internal Server Error",
  9086. "schema": {
  9087. "$ref": "#/definitions/app.Response"
  9088. }
  9089. }
  9090. }
  9091. }
  9092. },
  9093. "/User/GetUserAccount": {
  9094. "get": {
  9095. "security": [
  9096. {
  9097. "ApiKeyAuth": []
  9098. }
  9099. ],
  9100. "produces": [
  9101. "application/json"
  9102. ],
  9103. "tags": [
  9104. "用户信息"
  9105. ],
  9106. "summary": "获取用户账号信息",
  9107. "parameters": [
  9108. {
  9109. "type": "integer",
  9110. "description": "用户ID",
  9111. "name": "userID",
  9112. "in": "query",
  9113. "required": true
  9114. }
  9115. ],
  9116. "responses": {
  9117. "200": {
  9118. "description": "OK",
  9119. "schema": {
  9120. "$ref": "#/definitions/models.Useraccount"
  9121. }
  9122. },
  9123. "500": {
  9124. "description": "Internal Server Error",
  9125. "schema": {
  9126. "$ref": "#/definitions/app.Response"
  9127. }
  9128. }
  9129. }
  9130. }
  9131. },
  9132. "/User/GetUserAuthStatus": {
  9133. "get": {
  9134. "security": [
  9135. {
  9136. "ApiKeyAuth": []
  9137. }
  9138. ],
  9139. "produces": [
  9140. "application/json"
  9141. ],
  9142. "tags": [
  9143. "用户信息"
  9144. ],
  9145. "summary": "获取用户实名认证状态",
  9146. "parameters": [
  9147. {
  9148. "type": "integer",
  9149. "description": "用户ID",
  9150. "name": "userID",
  9151. "in": "query",
  9152. "required": true
  9153. }
  9154. ],
  9155. "responses": {
  9156. "200": {
  9157. "description": "OK",
  9158. "schema": {
  9159. "$ref": "#/definitions/app.Response"
  9160. }
  9161. },
  9162. "500": {
  9163. "description": "Internal Server Error",
  9164. "schema": {
  9165. "$ref": "#/definitions/app.Response"
  9166. }
  9167. }
  9168. }
  9169. }
  9170. },
  9171. "/User/LoginQuery": {
  9172. "get": {
  9173. "security": [
  9174. {
  9175. "ApiKeyAuth": []
  9176. }
  9177. ],
  9178. "produces": [
  9179. "application/json"
  9180. ],
  9181. "tags": [
  9182. "用户信息"
  9183. ],
  9184. "summary": "账户登录后信息查询",
  9185. "parameters": [
  9186. {
  9187. "type": "integer",
  9188. "description": "登录账号",
  9189. "name": "loginID",
  9190. "in": "query",
  9191. "required": true
  9192. }
  9193. ],
  9194. "responses": {
  9195. "200": {
  9196. "description": "OK",
  9197. "schema": {
  9198. "$ref": "#/definitions/user.LoginQueryRsp"
  9199. }
  9200. },
  9201. "500": {
  9202. "description": "Internal Server Error",
  9203. "schema": {
  9204. "$ref": "#/definitions/app.Response"
  9205. }
  9206. }
  9207. }
  9208. }
  9209. },
  9210. "/User/QueryMessageBoard": {
  9211. "get": {
  9212. "security": [
  9213. {
  9214. "ApiKeyAuth": []
  9215. }
  9216. ],
  9217. "produces": [
  9218. "application/json"
  9219. ],
  9220. "tags": [
  9221. "用户信息"
  9222. ],
  9223. "summary": "获取用户留言板信息",
  9224. "parameters": [
  9225. {
  9226. "type": "integer",
  9227. "description": "用户ID",
  9228. "name": "userID",
  9229. "in": "query",
  9230. "required": true
  9231. }
  9232. ],
  9233. "responses": {
  9234. "200": {
  9235. "description": "OK",
  9236. "schema": {
  9237. "$ref": "#/definitions/models.Messageboard"
  9238. }
  9239. },
  9240. "500": {
  9241. "description": "Internal Server Error",
  9242. "schema": {
  9243. "$ref": "#/definitions/app.Response"
  9244. }
  9245. }
  9246. }
  9247. }
  9248. },
  9249. "/User/QueryUserFavoriteGoodses": {
  9250. "get": {
  9251. "security": [
  9252. {
  9253. "ApiKeyAuth": []
  9254. }
  9255. ],
  9256. "produces": [
  9257. "application/json"
  9258. ],
  9259. "tags": [
  9260. "用户信息"
  9261. ],
  9262. "summary": "获取用户商品收藏信息",
  9263. "parameters": [
  9264. {
  9265. "type": "integer",
  9266. "description": "用户ID",
  9267. "name": "userID",
  9268. "in": "query",
  9269. "required": true
  9270. }
  9271. ],
  9272. "responses": {
  9273. "200": {
  9274. "description": "OK",
  9275. "schema": {
  9276. "$ref": "#/definitions/models.Userfavoritegoods"
  9277. }
  9278. },
  9279. "500": {
  9280. "description": "Internal Server Error",
  9281. "schema": {
  9282. "$ref": "#/definitions/app.Response"
  9283. }
  9284. }
  9285. }
  9286. }
  9287. },
  9288. "/User/QueryUserInfo": {
  9289. "get": {
  9290. "security": [
  9291. {
  9292. "ApiKeyAuth": []
  9293. }
  9294. ],
  9295. "produces": [
  9296. "application/json"
  9297. ],
  9298. "tags": [
  9299. "用户信息"
  9300. ],
  9301. "summary": "获取用户信息",
  9302. "parameters": [
  9303. {
  9304. "type": "integer",
  9305. "description": "用户ID",
  9306. "name": "userID",
  9307. "in": "query",
  9308. "required": true
  9309. },
  9310. {
  9311. "type": "boolean",
  9312. "description": "是否解密",
  9313. "name": "isDecrypt",
  9314. "in": "query"
  9315. }
  9316. ],
  9317. "responses": {
  9318. "200": {
  9319. "description": "OK",
  9320. "schema": {
  9321. "$ref": "#/definitions/models.Userinfo"
  9322. }
  9323. },
  9324. "500": {
  9325. "description": "Internal Server Error",
  9326. "schema": {
  9327. "$ref": "#/definitions/app.Response"
  9328. }
  9329. }
  9330. }
  9331. }
  9332. },
  9333. "/User/QueryUserReferNum": {
  9334. "get": {
  9335. "produces": [
  9336. "application/json"
  9337. ],
  9338. "tags": [
  9339. "用户信息"
  9340. ],
  9341. "summary": "获取用户邀请码",
  9342. "parameters": [
  9343. {
  9344. "type": "integer",
  9345. "description": "用户ID",
  9346. "name": "userID",
  9347. "in": "query",
  9348. "required": true
  9349. }
  9350. ],
  9351. "responses": {
  9352. "200": {
  9353. "description": "OK",
  9354. "schema": {
  9355. "$ref": "#/definitions/app.Response"
  9356. }
  9357. },
  9358. "500": {
  9359. "description": "Internal Server Error",
  9360. "schema": {
  9361. "$ref": "#/definitions/app.Response"
  9362. }
  9363. }
  9364. }
  9365. }
  9366. },
  9367. "/User/RemoveUserFavoriteGoods": {
  9368. "post": {
  9369. "security": [
  9370. {
  9371. "ApiKeyAuth": []
  9372. }
  9373. ],
  9374. "produces": [
  9375. "application/json"
  9376. ],
  9377. "tags": [
  9378. "用户信息"
  9379. ],
  9380. "summary": "移除用户商品收藏信息",
  9381. "parameters": [
  9382. {
  9383. "type": "integer",
  9384. "description": "用户ID",
  9385. "name": "userID",
  9386. "in": "query",
  9387. "required": true
  9388. },
  9389. {
  9390. "type": "integer",
  9391. "description": "商品ID",
  9392. "name": "goodsID",
  9393. "in": "query",
  9394. "required": true
  9395. }
  9396. ],
  9397. "responses": {
  9398. "200": {
  9399. "description": "OK",
  9400. "schema": {
  9401. "$ref": "#/definitions/app.Response"
  9402. }
  9403. },
  9404. "500": {
  9405. "description": "Internal Server Error",
  9406. "schema": {
  9407. "$ref": "#/definitions/app.Response"
  9408. }
  9409. }
  9410. }
  9411. }
  9412. },
  9413. "/User/UpdateUserAccountStatus": {
  9414. "post": {
  9415. "security": [
  9416. {
  9417. "ApiKeyAuth": []
  9418. }
  9419. ],
  9420. "produces": [
  9421. "application/json"
  9422. ],
  9423. "tags": [
  9424. "用户信息"
  9425. ],
  9426. "summary": "更新用户状态",
  9427. "parameters": [
  9428. {
  9429. "type": "integer",
  9430. "description": "用户ID",
  9431. "name": "userID",
  9432. "in": "query",
  9433. "required": true
  9434. },
  9435. {
  9436. "type": "integer",
  9437. "description": "账户状态 - 4:正常 6:注销(停用)",
  9438. "name": "accountStatus",
  9439. "in": "query",
  9440. "required": true
  9441. }
  9442. ],
  9443. "responses": {
  9444. "200": {
  9445. "description": "OK",
  9446. "schema": {
  9447. "$ref": "#/definitions/app.Response"
  9448. }
  9449. },
  9450. "500": {
  9451. "description": "Internal Server Error",
  9452. "schema": {
  9453. "$ref": "#/definitions/app.Response"
  9454. }
  9455. }
  9456. }
  9457. }
  9458. },
  9459. "/WRTrade/GetAllDeliveryGoods": {
  9460. "get": {
  9461. "security": [
  9462. {
  9463. "ApiKeyAuth": []
  9464. },
  9465. {
  9466. "ApiKeyAuth": []
  9467. }
  9468. ],
  9469. "produces": [
  9470. "application/json",
  9471. "application/json"
  9472. ],
  9473. "tags": [
  9474. "仓单贸易",
  9475. "仓单贸易"
  9476. ],
  9477. "summary": "获取带仓单分类的种类信息",
  9478. "responses": {
  9479. "200": {
  9480. "description": "OK",
  9481. "schema": {
  9482. "$ref": "#/definitions/app.Response"
  9483. }
  9484. },
  9485. "500": {
  9486. "description": "Internal Server Error",
  9487. "schema": {
  9488. "$ref": "#/definitions/app.Response"
  9489. }
  9490. }
  9491. }
  9492. }
  9493. }
  9494. },
  9495. "definitions": {
  9496. "app.Response": {
  9497. "type": "object",
  9498. "properties": {
  9499. "code": {
  9500. "type": "integer"
  9501. },
  9502. "data": {
  9503. "type": "object"
  9504. },
  9505. "msg": {
  9506. "type": "string"
  9507. },
  9508. "page": {
  9509. "description": "页码",
  9510. "type": "integer"
  9511. },
  9512. "pagesize": {
  9513. "description": "每页条数",
  9514. "type": "integer"
  9515. },
  9516. "total": {
  9517. "description": "总条数",
  9518. "type": "integer"
  9519. }
  9520. }
  9521. },
  9522. "common.ClientMenu": {
  9523. "type": "object",
  9524. "properties": {
  9525. "children": {
  9526. "description": "子菜单列表",
  9527. "type": "array",
  9528. "items": {
  9529. "$ref": "#/definitions/common.ClientMenu"
  9530. }
  9531. },
  9532. "code": {
  9533. "description": "ID",
  9534. "type": "string"
  9535. },
  9536. "isshow": {
  9537. "description": "是否显示",
  9538. "type": "boolean"
  9539. },
  9540. "rulekey": {
  9541. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9542. "type": "string"
  9543. },
  9544. "sort": {
  9545. "description": "排序",
  9546. "type": "integer"
  9547. },
  9548. "title": {
  9549. "description": "标题",
  9550. "type": "string"
  9551. },
  9552. "type": {
  9553. "description": "类型,1:菜单 2:按钮",
  9554. "type": "integer"
  9555. }
  9556. }
  9557. },
  9558. "common.QueryImageConfigsRsp": {
  9559. "type": "object",
  9560. "required": [
  9561. "configid"
  9562. ],
  9563. "properties": {
  9564. "areauserid": {
  9565. "description": "所属机构ID",
  9566. "type": "integer"
  9567. },
  9568. "configid": {
  9569. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9570. "type": "integer"
  9571. },
  9572. "createdate": {
  9573. "description": "创建时间",
  9574. "type": "string"
  9575. },
  9576. "creatorid": {
  9577. "description": "创建人",
  9578. "type": "integer"
  9579. },
  9580. "imagepath": {
  9581. "description": "图片",
  9582. "type": "string"
  9583. },
  9584. "imagetype": {
  9585. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9586. "type": "integer"
  9587. },
  9588. "isshow": {
  9589. "description": "是否展示 - 0:不展示 1:展示",
  9590. "type": "integer"
  9591. },
  9592. "marketid": {
  9593. "description": "市场ID",
  9594. "type": "integer"
  9595. },
  9596. "modifierid": {
  9597. "description": "操作人",
  9598. "type": "integer"
  9599. },
  9600. "sort": {
  9601. "description": "排序",
  9602. "type": "integer"
  9603. },
  9604. "title": {
  9605. "description": "标题",
  9606. "type": "string"
  9607. },
  9608. "trademode": {
  9609. "description": "交易模式",
  9610. "type": "integer"
  9611. },
  9612. "updatedate": {
  9613. "description": "修改时间",
  9614. "type": "string"
  9615. },
  9616. "url": {
  9617. "description": "链接(地址或商品ID)",
  9618. "type": "string"
  9619. },
  9620. "urltype": {
  9621. "description": "链接类型 - 1:直接地址 2:商品ID",
  9622. "type": "integer"
  9623. }
  9624. }
  9625. },
  9626. "common.QueryNoticeRsp": {
  9627. "type": "object",
  9628. "required": [
  9629. "autoid"
  9630. ],
  9631. "properties": {
  9632. "auditoruserid": {
  9633. "description": "审核人",
  9634. "type": "integer"
  9635. },
  9636. "auditremark": {
  9637. "description": "审核备注",
  9638. "type": "string"
  9639. },
  9640. "audittime": {
  9641. "description": "审核日期",
  9642. "type": "string"
  9643. },
  9644. "autoid": {
  9645. "description": "自增ID",
  9646. "type": "integer"
  9647. },
  9648. "content": {
  9649. "description": "内容",
  9650. "type": "string"
  9651. },
  9652. "createtime": {
  9653. "description": "创建时间",
  9654. "type": "string"
  9655. },
  9656. "creatorid": {
  9657. "description": "建仓人",
  9658. "type": "integer"
  9659. },
  9660. "endtime": {
  9661. "description": "结束时间",
  9662. "type": "string"
  9663. },
  9664. "istop": {
  9665. "description": "是否置顶 - 0:不置顶 1:置顶",
  9666. "type": "integer"
  9667. },
  9668. "msgiconurl": {
  9669. "description": "消息图标Url",
  9670. "type": "string"
  9671. },
  9672. "msgtype": {
  9673. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9674. "type": "integer"
  9675. },
  9676. "publisher": {
  9677. "description": "消息发布者",
  9678. "type": "string"
  9679. },
  9680. "readed": {
  9681. "description": "是否已读",
  9682. "type": "boolean"
  9683. },
  9684. "scheduletime": {
  9685. "description": "计划发送时间",
  9686. "type": "string"
  9687. },
  9688. "sendtype": {
  9689. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9690. "type": "integer"
  9691. },
  9692. "sentstatus": {
  9693. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9694. "type": "integer"
  9695. },
  9696. "title": {
  9697. "description": "标题",
  9698. "type": "string"
  9699. },
  9700. "userid": {
  9701. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9702. "type": "integer"
  9703. }
  9704. }
  9705. },
  9706. "common.QueryProvincesAndCitiesRsp": {
  9707. "type": "object",
  9708. "properties": {
  9709. "cities": {
  9710. "description": "市",
  9711. "type": "array",
  9712. "items": {
  9713. "$ref": "#/definitions/models.Division"
  9714. }
  9715. },
  9716. "province": {
  9717. "description": "省",
  9718. "type": "object",
  9719. "$ref": "#/definitions/models.Division"
  9720. }
  9721. }
  9722. },
  9723. "common.QueryTableDefineRsp": {
  9724. "type": "object",
  9725. "required": [
  9726. "tablekey"
  9727. ],
  9728. "properties": {
  9729. "columns": {
  9730. "description": "列头信息数组",
  9731. "type": "array",
  9732. "items": {
  9733. "$ref": "#/definitions/models.Tablecolumnconfig"
  9734. }
  9735. },
  9736. "remark": {
  9737. "description": "Remark",
  9738. "type": "string"
  9739. },
  9740. "tabelmenu": {
  9741. "description": "列表菜单",
  9742. "type": "string"
  9743. },
  9744. "tablekey": {
  9745. "description": "列表Key",
  9746. "type": "string"
  9747. },
  9748. "tablename": {
  9749. "description": "列表名称",
  9750. "type": "string"
  9751. },
  9752. "tabletype": {
  9753. "description": "列表类型 - 1:管理端 2:终端",
  9754. "type": "integer"
  9755. }
  9756. }
  9757. },
  9758. "common.QueryTraderMenuRsp": {
  9759. "type": "object",
  9760. "properties": {
  9761. "OperationMenu": {
  9762. "description": "功能菜单",
  9763. "type": "array",
  9764. "items": {
  9765. "$ref": "#/definitions/models.OperationPrimaryMenu"
  9766. }
  9767. },
  9768. "QuoteMenu": {
  9769. "description": "报价牌分类菜单",
  9770. "type": "array",
  9771. "items": {
  9772. "$ref": "#/definitions/models.QuotePrimaryMenu"
  9773. }
  9774. }
  9775. }
  9776. },
  9777. "cptrade.Cptradepositioncancel": {
  9778. "type": "object",
  9779. "required": [
  9780. "cancelid"
  9781. ],
  9782. "properties": {
  9783. "accountid": {
  9784. "description": "申请人账户ID",
  9785. "type": "integer"
  9786. },
  9787. "applystatus": {
  9788. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9789. "type": "integer"
  9790. },
  9791. "applytime": {
  9792. "description": "申请时间",
  9793. "type": "string"
  9794. },
  9795. "cancelid": {
  9796. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  9797. "type": "integer"
  9798. },
  9799. "cancelqty": {
  9800. "description": "注销数量",
  9801. "type": "integer"
  9802. },
  9803. "createtime": {
  9804. "description": "创建时间",
  9805. "type": "string"
  9806. },
  9807. "creatorid": {
  9808. "description": "创建人ID",
  9809. "type": "integer"
  9810. },
  9811. "creatorname": {
  9812. "description": "创建人",
  9813. "type": "string"
  9814. },
  9815. "goodscode": {
  9816. "description": "订单商品代码",
  9817. "type": "string"
  9818. },
  9819. "goodsid": {
  9820. "description": "商品ID",
  9821. "type": "integer"
  9822. },
  9823. "goodsname": {
  9824. "description": "订单商品名称",
  9825. "type": "string"
  9826. },
  9827. "goodunit": {
  9828. "description": "报价单位",
  9829. "type": "string"
  9830. },
  9831. "handlestatus": {
  9832. "description": "处理状态",
  9833. "type": "integer"
  9834. },
  9835. "marketid": {
  9836. "description": "市场ID",
  9837. "type": "integer"
  9838. },
  9839. "marketname": {
  9840. "description": "市场名称",
  9841. "type": "string"
  9842. },
  9843. "tradedate": {
  9844. "description": "交易日(yyyyMMdd)",
  9845. "type": "string"
  9846. },
  9847. "userid": {
  9848. "description": "申请人ID",
  9849. "type": "integer"
  9850. }
  9851. }
  9852. },
  9853. "cptrade.Cptradepresaleapply": {
  9854. "type": "object",
  9855. "required": [
  9856. "applyid"
  9857. ],
  9858. "properties": {
  9859. "accountid": {
  9860. "description": "申请人账户ID",
  9861. "type": "integer"
  9862. },
  9863. "applyid": {
  9864. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  9865. "type": "integer"
  9866. },
  9867. "applyremark": {
  9868. "description": "申请备注",
  9869. "type": "string"
  9870. },
  9871. "applystatus": {
  9872. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  9873. "type": "integer"
  9874. },
  9875. "applytime": {
  9876. "description": "申请时间",
  9877. "type": "string"
  9878. },
  9879. "attachmenturl": {
  9880. "description": "附件地址",
  9881. "type": "string"
  9882. },
  9883. "endtime": {
  9884. "description": "预售结束时间",
  9885. "type": "string"
  9886. },
  9887. "goodscode": {
  9888. "description": "商品代码",
  9889. "type": "string"
  9890. },
  9891. "goodsid": {
  9892. "description": "商品ID",
  9893. "type": "integer"
  9894. },
  9895. "goodsname": {
  9896. "description": "商品名称",
  9897. "type": "string"
  9898. },
  9899. "goodunit": {
  9900. "description": "报价单位",
  9901. "type": "string"
  9902. },
  9903. "handlestatus": {
  9904. "description": "处理状态",
  9905. "type": "integer"
  9906. },
  9907. "marketid": {
  9908. "description": "预售市场ID",
  9909. "type": "integer"
  9910. },
  9911. "marketname": {
  9912. "description": "预售市场名称",
  9913. "type": "string"
  9914. },
  9915. "presaleqty": {
  9916. "description": "预售数量",
  9917. "type": "integer"
  9918. },
  9919. "relatedgoodscode": {
  9920. "description": "关联交易合约代码",
  9921. "type": "string"
  9922. },
  9923. "relatedgoodsid": {
  9924. "description": "关联交易合约ID",
  9925. "type": "integer"
  9926. },
  9927. "relatedgoodsname": {
  9928. "description": "关联交易合约名称",
  9929. "type": "string"
  9930. },
  9931. "starttime": {
  9932. "description": "预售开始时间",
  9933. "type": "string"
  9934. },
  9935. "tradedate": {
  9936. "description": "交易日(yyyyMMdd)",
  9937. "type": "string"
  9938. },
  9939. "trademode": {
  9940. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9941. "type": "integer"
  9942. },
  9943. "userid": {
  9944. "description": "申请人ID",
  9945. "type": "integer"
  9946. }
  9947. }
  9948. },
  9949. "cptrade.Cptradeusergoodsdata": {
  9950. "type": "object",
  9951. "required": [
  9952. "accountid",
  9953. "goodsid"
  9954. ],
  9955. "properties": {
  9956. "EnabledQty": {
  9957. "description": "可用量",
  9958. "type": "integer"
  9959. },
  9960. "GoodsCode": {
  9961. "description": "订单商品代码",
  9962. "type": "string"
  9963. },
  9964. "GoodsName": {
  9965. "description": "订单商品名称",
  9966. "type": "string"
  9967. },
  9968. "WRStandardCode": {
  9969. "description": "仓单标准代码",
  9970. "type": "string"
  9971. },
  9972. "WRStandardName": {
  9973. "description": "仓单标准名称",
  9974. "type": "string"
  9975. },
  9976. "accountid": {
  9977. "description": "账户ID",
  9978. "type": "integer"
  9979. },
  9980. "cancelqty": {
  9981. "description": "注销量",
  9982. "type": "integer"
  9983. },
  9984. "curpresaleqty": {
  9985. "description": "当前预售量",
  9986. "type": "integer"
  9987. },
  9988. "deliveryqty": {
  9989. "description": "交割量",
  9990. "type": "integer"
  9991. },
  9992. "freezeamount": {
  9993. "description": "冻结金额",
  9994. "type": "number"
  9995. },
  9996. "goodsid": {
  9997. "description": "商品ID",
  9998. "type": "integer"
  9999. },
  10000. "goodunit": {
  10001. "description": "报价单位",
  10002. "type": "string"
  10003. },
  10004. "hasspotfreeze": {
  10005. "description": "是否有现货冻结 - 0:否 1:有",
  10006. "type": "integer"
  10007. },
  10008. "inqty": {
  10009. "description": "转入量(总数量)",
  10010. "type": "integer"
  10011. },
  10012. "marketid": {
  10013. "description": "市场ID",
  10014. "type": "integer"
  10015. },
  10016. "presaledamount": {
  10017. "description": "已预售总金额",
  10018. "type": "integer"
  10019. },
  10020. "presaledqty": {
  10021. "description": "已预售量",
  10022. "type": "integer"
  10023. },
  10024. "userid": {
  10025. "description": "用户ID",
  10026. "type": "integer"
  10027. },
  10028. "wrstandardid": {
  10029. "description": "仓单标准ID",
  10030. "type": "integer"
  10031. }
  10032. }
  10033. },
  10034. "cptrade.QueryCPTradeMyBidRsp": {
  10035. "type": "object",
  10036. "required": [
  10037. "accountid",
  10038. "goodsid",
  10039. "marketid",
  10040. "orderid",
  10041. "orderqty",
  10042. "ordertime",
  10043. "tradeprice",
  10044. "tradeqty"
  10045. ],
  10046. "properties": {
  10047. "accountid": {
  10048. "description": "账户ID[报价币种]",
  10049. "type": "integer"
  10050. },
  10051. "goodsid": {
  10052. "description": "商品ID",
  10053. "type": "integer"
  10054. },
  10055. "goodunit": {
  10056. "description": "报价单位",
  10057. "type": "string"
  10058. },
  10059. "marketid": {
  10060. "description": "市场ID",
  10061. "type": "integer"
  10062. },
  10063. "orderid": {
  10064. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10065. "type": "integer"
  10066. },
  10067. "orderprice": {
  10068. "description": "委托价格",
  10069. "type": "number"
  10070. },
  10071. "orderqty": {
  10072. "description": "委托数量",
  10073. "type": "integer"
  10074. },
  10075. "ordertime": {
  10076. "description": "委托时间",
  10077. "type": "string"
  10078. },
  10079. "ordertotalprice": {
  10080. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  10081. "type": "number"
  10082. },
  10083. "ordertotalweight": {
  10084. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  10085. "type": "integer"
  10086. },
  10087. "totaltotalprice": {
  10088. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  10089. "type": "number"
  10090. },
  10091. "tradeprice": {
  10092. "description": "成交价格",
  10093. "type": "number"
  10094. },
  10095. "tradeqty": {
  10096. "description": "成交数量",
  10097. "type": "integer"
  10098. }
  10099. }
  10100. },
  10101. "cptrade.QueryCPTradeOrderDetailRsq": {
  10102. "type": "object",
  10103. "required": [
  10104. "accountid",
  10105. "buildtype",
  10106. "buyorsell",
  10107. "goodsid",
  10108. "marketid",
  10109. "memberuserid",
  10110. "operatetype",
  10111. "orderqty",
  10112. "ordertime",
  10113. "pricemode",
  10114. "strorderid",
  10115. "tradedate",
  10116. "validtype"
  10117. ],
  10118. "properties": {
  10119. "accountid": {
  10120. "description": "账户ID[报价币种]",
  10121. "type": "integer"
  10122. },
  10123. "buildtype": {
  10124. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10125. "type": "integer"
  10126. },
  10127. "buyorsell": {
  10128. "description": "买卖 - 0:买 1:卖",
  10129. "type": "integer"
  10130. },
  10131. "cancelorderid": {
  10132. "description": "撤单单号(撤单时填写)",
  10133. "type": "integer"
  10134. },
  10135. "cancelqty": {
  10136. "description": "撤单数量",
  10137. "type": "integer"
  10138. },
  10139. "clientordertime": {
  10140. "description": "客户端委托时间",
  10141. "type": "string"
  10142. },
  10143. "clientticket": {
  10144. "description": "客户端流水号",
  10145. "type": "string"
  10146. },
  10147. "clienttype": {
  10148. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10149. "type": "integer"
  10150. },
  10151. "closeexchagechargevalue": {
  10152. "description": "平仓交易所手续费设置值",
  10153. "type": "number"
  10154. },
  10155. "closefeealgorithm": {
  10156. "description": "平仓手续费收取方式 1:比率 2:固定",
  10157. "type": "integer"
  10158. },
  10159. "closefreezecharge": {
  10160. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10161. "type": "number"
  10162. },
  10163. "closememberchargevalue": {
  10164. "description": "平仓会员手续费设置值",
  10165. "type": "number"
  10166. },
  10167. "closeqty": {
  10168. "description": "平仓数量(先建后平操作 需要记录)",
  10169. "type": "integer"
  10170. },
  10171. "closetradeqty": {
  10172. "description": "平仓成交数量(先建后平操作,需要记录)",
  10173. "type": "integer"
  10174. },
  10175. "closeunfreezecharge": {
  10176. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10177. "type": "number"
  10178. },
  10179. "delistingtype": {
  10180. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10181. "type": "integer"
  10182. },
  10183. "freezecharge": {
  10184. "description": "冻结手续费",
  10185. "type": "number"
  10186. },
  10187. "freezemargin": {
  10188. "description": "冻结保证金(冻结交易金额)",
  10189. "type": "number"
  10190. },
  10191. "gcaccountid": {
  10192. "description": "账户ID[合约币种]",
  10193. "type": "integer"
  10194. },
  10195. "goodsid": {
  10196. "description": "商品ID",
  10197. "type": "integer"
  10198. },
  10199. "isconfirmexercise": {
  10200. "description": "是否确认行权- 0:否 1:是",
  10201. "type": "integer"
  10202. },
  10203. "ispreexercise": {
  10204. "description": "是否预申报- 0:否 1:是",
  10205. "type": "integer"
  10206. },
  10207. "listingselecttype": {
  10208. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10209. "type": "integer"
  10210. },
  10211. "marginalgorithm": {
  10212. "description": "保证金收取方式 1:比率 2:固定",
  10213. "type": "integer"
  10214. },
  10215. "marginvalue": {
  10216. "description": "即市保证金设置值",
  10217. "type": "number"
  10218. },
  10219. "marketid": {
  10220. "description": "市场ID",
  10221. "type": "integer"
  10222. },
  10223. "marketmaxsub": {
  10224. "description": "市价最大偏移范围",
  10225. "type": "number"
  10226. },
  10227. "memberuserid": {
  10228. "description": "所属会员UserID",
  10229. "type": "integer"
  10230. },
  10231. "openexchagechargevalue": {
  10232. "description": "建仓交易所手续费设置值",
  10233. "type": "number"
  10234. },
  10235. "openfeealgorithm": {
  10236. "description": "建仓手续费收取方式 1:比率 2:固定",
  10237. "type": "integer"
  10238. },
  10239. "openfreezecharge": {
  10240. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10241. "type": "number"
  10242. },
  10243. "openmemberchargevalue": {
  10244. "description": "建仓会员手续费设置值",
  10245. "type": "number"
  10246. },
  10247. "openqty": {
  10248. "description": "开仓数量(先建后平操作,需要记录)",
  10249. "type": "integer"
  10250. },
  10251. "opentradeqty": {
  10252. "description": "开仓成交数量(先建后平操作,需要记录)",
  10253. "type": "integer"
  10254. },
  10255. "openunfreezecharge": {
  10256. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10257. "type": "number"
  10258. },
  10259. "operatetype": {
  10260. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10261. "type": "integer"
  10262. },
  10263. "operatorid": {
  10264. "description": "登录账号(LoginID)",
  10265. "type": "integer"
  10266. },
  10267. "optiontype": {
  10268. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10269. "type": "integer"
  10270. },
  10271. "orderprice": {
  10272. "description": "委托价格",
  10273. "type": "number"
  10274. },
  10275. "orderqty": {
  10276. "description": "委托数量",
  10277. "type": "integer"
  10278. },
  10279. "ordersrc": {
  10280. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10281. "type": "integer"
  10282. },
  10283. "orderstatus": {
  10284. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10285. "type": "integer"
  10286. },
  10287. "ordertime": {
  10288. "description": "委托时间",
  10289. "type": "string"
  10290. },
  10291. "preexerciseprice": {
  10292. "description": "预申报价格",
  10293. "type": "number"
  10294. },
  10295. "premium": {
  10296. "description": "权利金",
  10297. "type": "number"
  10298. },
  10299. "preorderid": {
  10300. "description": "关联预埋单号(止盈止损单时填写)",
  10301. "type": "integer"
  10302. },
  10303. "pricemode": {
  10304. "description": "取价方式 - 1:市价 2: 限价",
  10305. "type": "integer"
  10306. },
  10307. "quoteid": {
  10308. "description": "报价单ID",
  10309. "type": "integer"
  10310. },
  10311. "relatedid": {
  10312. "description": "关联单号(交割单)",
  10313. "type": "integer"
  10314. },
  10315. "retcode": {
  10316. "description": "错误代码",
  10317. "type": "integer"
  10318. },
  10319. "sessionid": {
  10320. "description": "会话ID",
  10321. "type": "integer"
  10322. },
  10323. "strorderid": {
  10324. "description": "委托单号",
  10325. "type": "string"
  10326. },
  10327. "tradedate": {
  10328. "description": "交易日(yyyyMMdd)",
  10329. "type": "string"
  10330. },
  10331. "tradeproperty": {
  10332. "description": "交易属性",
  10333. "type": "integer"
  10334. },
  10335. "tradeqty": {
  10336. "description": "成交数量",
  10337. "type": "integer"
  10338. },
  10339. "unfreezecharge": {
  10340. "description": "解冻手续费",
  10341. "type": "number"
  10342. },
  10343. "unfreezemargin": {
  10344. "description": "解冻保证金",
  10345. "type": "number"
  10346. },
  10347. "updatetime": {
  10348. "description": "更新时间",
  10349. "type": "string"
  10350. },
  10351. "uuid": {
  10352. "description": "发起端唯一id",
  10353. "type": "string"
  10354. },
  10355. "validtime": {
  10356. "description": "有效期限",
  10357. "type": "string"
  10358. },
  10359. "validtype": {
  10360. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10361. "type": "integer"
  10362. },
  10363. "volumetype": {
  10364. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10365. "type": "integer"
  10366. }
  10367. }
  10368. },
  10369. "cptrade.QueryMyCPTradeGoodsRsp": {
  10370. "type": "object",
  10371. "required": [
  10372. "goodscode",
  10373. "goodsid",
  10374. "goodsname",
  10375. "marketid",
  10376. "relatedgoodscode",
  10377. "relatedgoodsname"
  10378. ],
  10379. "properties": {
  10380. "accountid": {
  10381. "description": "卖方账户ID",
  10382. "type": "integer"
  10383. },
  10384. "agreeunit": {
  10385. "description": "合约单位",
  10386. "type": "number"
  10387. },
  10388. "applyid": {
  10389. "description": "关联申请ID",
  10390. "type": "integer"
  10391. },
  10392. "attachmenturl": {
  10393. "description": "附件地址",
  10394. "type": "string"
  10395. },
  10396. "createtime": {
  10397. "description": "创建时间",
  10398. "type": "string"
  10399. },
  10400. "currencyid": {
  10401. "description": "报价货币ID",
  10402. "type": "integer"
  10403. },
  10404. "decimalplace": {
  10405. "description": "报价小数位",
  10406. "type": "integer"
  10407. },
  10408. "endtime": {
  10409. "description": "预售结束时间",
  10410. "type": "string"
  10411. },
  10412. "floorprice": {
  10413. "description": "底价[大宗式竞拍]",
  10414. "type": "number"
  10415. },
  10416. "goodscode": {
  10417. "description": "商品代码(预售)",
  10418. "type": "string"
  10419. },
  10420. "goodsdetail": {
  10421. "description": "详情[大宗]",
  10422. "type": "string"
  10423. },
  10424. "goodsid": {
  10425. "description": "商品ID(自增ID SEQ_GOODS)",
  10426. "type": "integer"
  10427. },
  10428. "goodsname": {
  10429. "description": "商品名称(预售)",
  10430. "type": "string"
  10431. },
  10432. "goodunit": {
  10433. "description": "报价单位",
  10434. "type": "string"
  10435. },
  10436. "goodunitid": {
  10437. "description": "报价单位ID",
  10438. "type": "integer"
  10439. },
  10440. "marketid": {
  10441. "description": "所属市场ID",
  10442. "type": "integer"
  10443. },
  10444. "marketname": {
  10445. "description": "预售市场名称",
  10446. "type": "string"
  10447. },
  10448. "presaledamount": {
  10449. "description": "已预售总金额(预售结束时更新)",
  10450. "type": "number"
  10451. },
  10452. "presaledqty": {
  10453. "description": "已预售量(预售结束时更新)",
  10454. "type": "integer"
  10455. },
  10456. "presalemode": {
  10457. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10458. "type": "integer"
  10459. },
  10460. "presaleqty": {
  10461. "description": "预售数量",
  10462. "type": "integer"
  10463. },
  10464. "refprice": {
  10465. "description": "参考价格[一口价]",
  10466. "type": "number"
  10467. },
  10468. "relatedgoodscode": {
  10469. "description": "商品代码(订单)",
  10470. "type": "string"
  10471. },
  10472. "relatedgoodsid": {
  10473. "description": "关联交易合约ID",
  10474. "type": "integer"
  10475. },
  10476. "relatedgoodsname": {
  10477. "description": "商品名称(订单)",
  10478. "type": "string"
  10479. },
  10480. "relatedmarketid": {
  10481. "description": "关联交易合约市场ID",
  10482. "type": "integer"
  10483. },
  10484. "sellstatus": {
  10485. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10486. "type": "integer"
  10487. },
  10488. "startprice": {
  10489. "description": "起拍价[大宗式竞拍]",
  10490. "type": "number"
  10491. },
  10492. "starttime": {
  10493. "description": "预售开始时间",
  10494. "type": "string"
  10495. },
  10496. "tradedate": {
  10497. "description": "交易日(yyyyMMdd)",
  10498. "type": "string"
  10499. },
  10500. "tradeprice": {
  10501. "description": "成交价[大宗]",
  10502. "type": "number"
  10503. },
  10504. "userid": {
  10505. "description": "卖方用户ID",
  10506. "type": "integer"
  10507. }
  10508. }
  10509. },
  10510. "cptrade.QueryPresaleGoodsExRsp": {
  10511. "type": "object",
  10512. "required": [
  10513. "goodsid"
  10514. ],
  10515. "properties": {
  10516. "attachmenturl": {
  10517. "description": "附件地址",
  10518. "type": "string"
  10519. },
  10520. "createtime": {
  10521. "description": "创建时间",
  10522. "type": "string"
  10523. },
  10524. "endtime": {
  10525. "description": "预售结束时间",
  10526. "type": "string"
  10527. },
  10528. "floorprice": {
  10529. "description": "底价[大宗式竞拍]",
  10530. "type": "number"
  10531. },
  10532. "goodsdetail": {
  10533. "description": "详情[大宗]",
  10534. "type": "string"
  10535. },
  10536. "goodsid": {
  10537. "description": "商品ID(预售)",
  10538. "type": "integer"
  10539. },
  10540. "goodunit": {
  10541. "description": "报价单位",
  10542. "type": "string"
  10543. },
  10544. "marketid": {
  10545. "description": "预售市场ID - 根据预售模式选择市场",
  10546. "type": "integer"
  10547. },
  10548. "presaledamount": {
  10549. "description": "已预售总金额(预售结束时更新)",
  10550. "type": "number"
  10551. },
  10552. "presaledqty": {
  10553. "description": "已预售量(预售结束时更新)",
  10554. "type": "integer"
  10555. },
  10556. "presalemode": {
  10557. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10558. "type": "integer"
  10559. },
  10560. "presaleqty": {
  10561. "description": "预售数量",
  10562. "type": "integer"
  10563. },
  10564. "refprice": {
  10565. "description": "参考价格[一口价]",
  10566. "type": "number"
  10567. },
  10568. "relatedgoodsid": {
  10569. "description": "关联交易合约ID",
  10570. "type": "integer"
  10571. },
  10572. "relatedmarketid": {
  10573. "description": "关联交易合约市场ID",
  10574. "type": "integer"
  10575. },
  10576. "sellstatus": {
  10577. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10578. "type": "integer"
  10579. },
  10580. "startprice": {
  10581. "description": "起拍价[大宗式竞拍]",
  10582. "type": "number"
  10583. },
  10584. "starttime": {
  10585. "description": "预售开始时间",
  10586. "type": "string"
  10587. },
  10588. "tradedate": {
  10589. "description": "交易日(yyyyMMdd)",
  10590. "type": "string"
  10591. },
  10592. "tradeprice": {
  10593. "description": "成交价[大宗]",
  10594. "type": "number"
  10595. }
  10596. }
  10597. },
  10598. "delivery.QueryDeliveryRelationRsp": {
  10599. "type": "object",
  10600. "required": [
  10601. "begindate",
  10602. "enddate",
  10603. "goodsid",
  10604. "mindeliveryqty",
  10605. "xdeliveryratio"
  10606. ],
  10607. "properties": {
  10608. "begindate": {
  10609. "description": "起始日期(yyyyMMdd)",
  10610. "type": "string"
  10611. },
  10612. "buytemplateid": {
  10613. "description": "买履约计划模板ID",
  10614. "type": "integer"
  10615. },
  10616. "deliverygoodscode": {
  10617. "description": "品种代码",
  10618. "type": "string"
  10619. },
  10620. "deliverygoodsid": {
  10621. "description": "交割商品",
  10622. "type": "integer"
  10623. },
  10624. "deliverygoodsname": {
  10625. "description": "品种名称",
  10626. "type": "string"
  10627. },
  10628. "deliverymode": {
  10629. "description": "交割方式 - 1:点选式 2:申报式",
  10630. "type": "integer"
  10631. },
  10632. "deliverypricerule": {
  10633. "description": "交割价规则- 1:行情价 2:建仓价",
  10634. "type": "integer"
  10635. },
  10636. "deliverytype": {
  10637. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10638. "type": "integer"
  10639. },
  10640. "enddate": {
  10641. "description": "结束日期(yyyyMMdd)",
  10642. "type": "string"
  10643. },
  10644. "goodscode": {
  10645. "description": "商品代码",
  10646. "type": "string"
  10647. },
  10648. "goodsid": {
  10649. "description": "交易合约ID",
  10650. "type": "integer"
  10651. },
  10652. "goodsname": {
  10653. "description": "商品名称",
  10654. "type": "string"
  10655. },
  10656. "marketid": {
  10657. "description": "市场ID",
  10658. "type": "integer"
  10659. },
  10660. "mindeliveryqty": {
  10661. "description": "最小交割系数(K)",
  10662. "type": "integer"
  10663. },
  10664. "p2deliveryprice": {
  10665. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10666. "type": "number"
  10667. },
  10668. "p2deliveryratio": {
  10669. "description": "P2合约系数(p)",
  10670. "type": "integer"
  10671. },
  10672. "p2goodsid": {
  10673. "description": "P2合约ID",
  10674. "type": "integer"
  10675. },
  10676. "p2pricemode": {
  10677. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10678. "type": "integer"
  10679. },
  10680. "pdeliveryprice": {
  10681. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10682. "type": "number"
  10683. },
  10684. "pdeliveryratio": {
  10685. "description": "P合约系数(n)",
  10686. "type": "integer"
  10687. },
  10688. "pgoodsid": {
  10689. "description": "P合约ID",
  10690. "type": "integer"
  10691. },
  10692. "ppricemode": {
  10693. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10694. "type": "integer"
  10695. },
  10696. "rratio": {
  10697. "description": "兑换系数(R)",
  10698. "type": "integer"
  10699. },
  10700. "rratio1": {
  10701. "description": "兑换系数(交易合约)(R1)",
  10702. "type": "integer"
  10703. },
  10704. "rratio2": {
  10705. "description": "兑换系数(仓单标准)(R2)",
  10706. "type": "integer"
  10707. },
  10708. "selltemplateid": {
  10709. "description": "卖履约计划模板ID",
  10710. "type": "integer"
  10711. },
  10712. "wrstandardid": {
  10713. "description": "仓单标准ID",
  10714. "type": "integer"
  10715. },
  10716. "xdeliveryratio": {
  10717. "description": "交易合约系数(m)",
  10718. "type": "integer"
  10719. }
  10720. }
  10721. },
  10722. "ermcp.ExposureDetailRsp": {
  10723. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  10724. },
  10725. "ermcp.ExposureHedgePosDetailRsp": {
  10726. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  10727. },
  10728. "ermcp.ExposureHedgePositionRsp": {
  10729. "$ref": "#/definitions/models.ErmcpHedgePosition"
  10730. },
  10731. "ermcp.ExposureSpotDetailRsp": {
  10732. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  10733. },
  10734. "ermcp.ExposureSpotRsp": {
  10735. "$ref": "#/definitions/models.AreaSpotModel"
  10736. },
  10737. "ermcp.HisExposureRsp": {
  10738. "$ref": "#/definitions/models.ErmcpHisExposureS"
  10739. },
  10740. "ermcp.PendingAuditCntRsp": {
  10741. "$ref": "#/definitions/models.ErmcpPendingAudit"
  10742. },
  10743. "ermcp.QryAvalidGPRsp": {
  10744. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  10745. },
  10746. "ermcp.QryBusinessDjRsp": {
  10747. "type": "object",
  10748. "properties": {
  10749. "amount": {
  10750. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10751. "type": "number"
  10752. },
  10753. "applyid": {
  10754. "description": "申请人",
  10755. "type": "string"
  10756. },
  10757. "applyname": {
  10758. "description": "申请人名称",
  10759. "type": "string"
  10760. },
  10761. "applystatus": {
  10762. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10763. "type": "integer"
  10764. },
  10765. "applytime": {
  10766. "description": "申请时间",
  10767. "type": "string"
  10768. },
  10769. "attachurl": {
  10770. "description": "附件",
  10771. "type": "string"
  10772. },
  10773. "auditid": {
  10774. "description": "审核人ID",
  10775. "type": "string"
  10776. },
  10777. "auditname": {
  10778. "description": "审核人名称",
  10779. "type": "string"
  10780. },
  10781. "audittime": {
  10782. "description": "审核时间",
  10783. "type": "string"
  10784. },
  10785. "buyusername": {
  10786. "description": "采购方名称",
  10787. "type": "string"
  10788. },
  10789. "contractno": {
  10790. "description": "合同编号",
  10791. "type": "string"
  10792. },
  10793. "contractstatus": {
  10794. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10795. "type": "integer"
  10796. },
  10797. "contracttype": {
  10798. "description": "现货合同类型 - 1:采购 -1:销售",
  10799. "type": "integer"
  10800. },
  10801. "deliverygoodscode": {
  10802. "description": "现货品种代码",
  10803. "type": "string"
  10804. },
  10805. "deliverygoodsid": {
  10806. "description": "现货商品ID",
  10807. "type": "integer"
  10808. },
  10809. "deliverygoodsname": {
  10810. "description": "现货品种名称",
  10811. "type": "string"
  10812. },
  10813. "enumdicname": {
  10814. "description": "单位名称",
  10815. "type": "string"
  10816. },
  10817. "goodscode": {
  10818. "description": "点价合约",
  10819. "type": "string"
  10820. },
  10821. "goodsname": {
  10822. "description": "商品名称",
  10823. "type": "string"
  10824. },
  10825. "operateapplyid": {
  10826. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10827. "type": "string"
  10828. },
  10829. "operateapplytype": {
  10830. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10831. "type": "integer"
  10832. },
  10833. "pricedPrice": {
  10834. "description": "点价价格(非必填)",
  10835. "type": "number"
  10836. },
  10837. "pricedQty": {
  10838. "description": "点价数量(非必填)",
  10839. "type": "number"
  10840. },
  10841. "pricemove": {
  10842. "description": "升贴水",
  10843. "type": "number"
  10844. },
  10845. "pricetype": {
  10846. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10847. "type": "integer"
  10848. },
  10849. "relatedid": {
  10850. "description": "现货合同ID",
  10851. "type": "string"
  10852. },
  10853. "sellusername": {
  10854. "description": "销售方名字",
  10855. "type": "string"
  10856. },
  10857. "userid": {
  10858. "description": "用户ID",
  10859. "type": "integer"
  10860. },
  10861. "wrstandardcode": {
  10862. "description": "品类代码",
  10863. "type": "string"
  10864. },
  10865. "wrstandardid": {
  10866. "description": "品类id",
  10867. "type": "integer"
  10868. },
  10869. "wrstandardname": {
  10870. "description": "品类名称",
  10871. "type": "string"
  10872. }
  10873. }
  10874. },
  10875. "ermcp.QryBussinessFpRsp": {
  10876. "type": "object",
  10877. "properties": {
  10878. "applyid": {
  10879. "description": "申请人",
  10880. "type": "string"
  10881. },
  10882. "applyname": {
  10883. "description": "申请人名称",
  10884. "type": "string"
  10885. },
  10886. "applystatus": {
  10887. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10888. "type": "integer"
  10889. },
  10890. "applytime": {
  10891. "description": "申请时间",
  10892. "type": "string"
  10893. },
  10894. "attachurl": {
  10895. "description": "附件",
  10896. "type": "string"
  10897. },
  10898. "auditid": {
  10899. "description": "审核人ID",
  10900. "type": "string"
  10901. },
  10902. "auditname": {
  10903. "description": "审核人名称",
  10904. "type": "string"
  10905. },
  10906. "audittime": {
  10907. "description": "审核时间",
  10908. "type": "string"
  10909. },
  10910. "buyusername": {
  10911. "description": "采购方名称",
  10912. "type": "string"
  10913. },
  10914. "contractno": {
  10915. "description": "合同编号",
  10916. "type": "string"
  10917. },
  10918. "contractstatus": {
  10919. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10920. "type": "integer"
  10921. },
  10922. "contracttype": {
  10923. "description": "现货合同类型 - 1:采购 -1:销售",
  10924. "type": "integer"
  10925. },
  10926. "deliverygoodscode": {
  10927. "description": "现货品种代码",
  10928. "type": "string"
  10929. },
  10930. "deliverygoodsid": {
  10931. "description": "现货商品ID",
  10932. "type": "integer"
  10933. },
  10934. "deliverygoodsname": {
  10935. "description": "现货品种名称",
  10936. "type": "string"
  10937. },
  10938. "enumdicname": {
  10939. "description": "单位名称",
  10940. "type": "string"
  10941. },
  10942. "goodscode": {
  10943. "description": "点价合约",
  10944. "type": "string"
  10945. },
  10946. "goodsname": {
  10947. "description": "商品名称",
  10948. "type": "string"
  10949. },
  10950. "invoiceAmount": {
  10951. "description": "已开收票金额(销售为开票,采购为收票)",
  10952. "type": "number"
  10953. },
  10954. "operateapplyid": {
  10955. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10956. "type": "string"
  10957. },
  10958. "operateapplytype": {
  10959. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10960. "type": "integer"
  10961. },
  10962. "pricemove": {
  10963. "description": "升贴水",
  10964. "type": "number"
  10965. },
  10966. "pricetype": {
  10967. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10968. "type": "integer"
  10969. },
  10970. "relatedid": {
  10971. "description": "现货合同ID",
  10972. "type": "string"
  10973. },
  10974. "sellusername": {
  10975. "description": "销售方名字",
  10976. "type": "string"
  10977. },
  10978. "userid": {
  10979. "description": "用户ID",
  10980. "type": "integer"
  10981. },
  10982. "wrstandardcode": {
  10983. "description": "品类代码",
  10984. "type": "string"
  10985. },
  10986. "wrstandardid": {
  10987. "description": "品类id",
  10988. "type": "integer"
  10989. },
  10990. "wrstandardname": {
  10991. "description": "品类名称",
  10992. "type": "string"
  10993. }
  10994. }
  10995. },
  10996. "ermcp.QryBussinessJsExRsp": {
  10997. "type": "object",
  10998. "properties": {
  10999. "applyid": {
  11000. "description": "申请人",
  11001. "type": "string"
  11002. },
  11003. "applyname": {
  11004. "description": "申请人名称",
  11005. "type": "string"
  11006. },
  11007. "applystatus": {
  11008. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11009. "type": "integer"
  11010. },
  11011. "applytime": {
  11012. "description": "申请时间",
  11013. "type": "string"
  11014. },
  11015. "attachurl": {
  11016. "description": "附件",
  11017. "type": "string"
  11018. },
  11019. "auditid": {
  11020. "description": "审核人ID",
  11021. "type": "string"
  11022. },
  11023. "auditname": {
  11024. "description": "审核人名称",
  11025. "type": "string"
  11026. },
  11027. "audittime": {
  11028. "description": "审核时间",
  11029. "type": "string"
  11030. },
  11031. "buyusername": {
  11032. "description": "采购方名称",
  11033. "type": "string"
  11034. },
  11035. "contractno": {
  11036. "description": "合同编号",
  11037. "type": "string"
  11038. },
  11039. "contractstatus": {
  11040. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11041. "type": "integer"
  11042. },
  11043. "contracttype": {
  11044. "description": "现货合同类型 - 1:采购 -1:销售",
  11045. "type": "integer"
  11046. },
  11047. "deliverygoodscode": {
  11048. "description": "现货品种代码",
  11049. "type": "string"
  11050. },
  11051. "deliverygoodsid": {
  11052. "description": "现货商品ID",
  11053. "type": "integer"
  11054. },
  11055. "deliverygoodsname": {
  11056. "description": "现货品种名称",
  11057. "type": "string"
  11058. },
  11059. "enumdicname": {
  11060. "description": "单位名称",
  11061. "type": "string"
  11062. },
  11063. "goodscode": {
  11064. "description": "点价合约",
  11065. "type": "string"
  11066. },
  11067. "goodsname": {
  11068. "description": "商品名称",
  11069. "type": "string"
  11070. },
  11071. "operateapplyid": {
  11072. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11073. "type": "string"
  11074. },
  11075. "operateapplytype": {
  11076. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11077. "type": "integer"
  11078. },
  11079. "pricemove": {
  11080. "description": "升贴水",
  11081. "type": "number"
  11082. },
  11083. "pricetype": {
  11084. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11085. "type": "integer"
  11086. },
  11087. "reckontype": {
  11088. "description": "结算类型",
  11089. "type": "string"
  11090. },
  11091. "reckonvalue": {
  11092. "description": "值",
  11093. "type": "number"
  11094. },
  11095. "relatedid": {
  11096. "description": "现货合同ID",
  11097. "type": "string"
  11098. },
  11099. "sellusername": {
  11100. "description": "销售方名字",
  11101. "type": "string"
  11102. },
  11103. "userid": {
  11104. "description": "用户ID",
  11105. "type": "integer"
  11106. },
  11107. "wrstandardcode": {
  11108. "description": "品类代码",
  11109. "type": "string"
  11110. },
  11111. "wrstandardid": {
  11112. "description": "品类id",
  11113. "type": "integer"
  11114. },
  11115. "wrstandardname": {
  11116. "description": "品类名称",
  11117. "type": "string"
  11118. }
  11119. }
  11120. },
  11121. "ermcp.QryBussinessJsRsp": {
  11122. "type": "object",
  11123. "properties": {
  11124. "addmargin": {
  11125. "description": "追加保证金(非必填)",
  11126. "type": "number"
  11127. },
  11128. "applyid": {
  11129. "description": "申请人",
  11130. "type": "string"
  11131. },
  11132. "applyname": {
  11133. "description": "申请人名称",
  11134. "type": "string"
  11135. },
  11136. "applystatus": {
  11137. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11138. "type": "integer"
  11139. },
  11140. "applytime": {
  11141. "description": "申请时间",
  11142. "type": "string"
  11143. },
  11144. "attachurl": {
  11145. "description": "附件",
  11146. "type": "string"
  11147. },
  11148. "auditid": {
  11149. "description": "审核人ID",
  11150. "type": "string"
  11151. },
  11152. "auditname": {
  11153. "description": "审核人名称",
  11154. "type": "string"
  11155. },
  11156. "audittime": {
  11157. "description": "审核时间",
  11158. "type": "string"
  11159. },
  11160. "buyusername": {
  11161. "description": "采购方名称",
  11162. "type": "string"
  11163. },
  11164. "contractno": {
  11165. "description": "合同编号",
  11166. "type": "string"
  11167. },
  11168. "contractstatus": {
  11169. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11170. "type": "integer"
  11171. },
  11172. "contracttype": {
  11173. "description": "现货合同类型 - 1:采购 -1:销售",
  11174. "type": "integer"
  11175. },
  11176. "decmargin": {
  11177. "description": "减少保证金(非必填)",
  11178. "type": "number"
  11179. },
  11180. "deliverygoodscode": {
  11181. "description": "现货品种代码",
  11182. "type": "string"
  11183. },
  11184. "deliverygoodsid": {
  11185. "description": "现货商品ID",
  11186. "type": "integer"
  11187. },
  11188. "deliverygoodsname": {
  11189. "description": "现货品种名称",
  11190. "type": "string"
  11191. },
  11192. "enumdicname": {
  11193. "description": "单位名称",
  11194. "type": "string"
  11195. },
  11196. "goodscode": {
  11197. "description": "点价合约",
  11198. "type": "string"
  11199. },
  11200. "goodsname": {
  11201. "description": "商品名称",
  11202. "type": "string"
  11203. },
  11204. "operateapplyid": {
  11205. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11206. "type": "string"
  11207. },
  11208. "operateapplytype": {
  11209. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11210. "type": "integer"
  11211. },
  11212. "pricemove": {
  11213. "description": "升贴水",
  11214. "type": "number"
  11215. },
  11216. "pricetype": {
  11217. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11218. "type": "integer"
  11219. },
  11220. "reckonadjustamount": {
  11221. "description": "结算调整金额(非必填)",
  11222. "type": "number"
  11223. },
  11224. "reckonosamount": {
  11225. "description": "结算溢短金额(非必填)",
  11226. "type": "number"
  11227. },
  11228. "reckonotheramount": {
  11229. "description": "结算其他费用(非必填)",
  11230. "type": "number"
  11231. },
  11232. "reckonrealqty": {
  11233. "description": "结算实际数量(非必填)",
  11234. "type": "number"
  11235. },
  11236. "relatedid": {
  11237. "description": "现货合同ID",
  11238. "type": "string"
  11239. },
  11240. "sellusername": {
  11241. "description": "销售方名字",
  11242. "type": "string"
  11243. },
  11244. "userid": {
  11245. "description": "用户ID",
  11246. "type": "integer"
  11247. },
  11248. "wrstandardcode": {
  11249. "description": "品类代码",
  11250. "type": "string"
  11251. },
  11252. "wrstandardid": {
  11253. "description": "品类id",
  11254. "type": "integer"
  11255. },
  11256. "wrstandardname": {
  11257. "description": "品类名称",
  11258. "type": "string"
  11259. }
  11260. }
  11261. },
  11262. "ermcp.QryBussinessKxRsp": {
  11263. "type": "object",
  11264. "properties": {
  11265. "applyid": {
  11266. "description": "申请人",
  11267. "type": "string"
  11268. },
  11269. "applyname": {
  11270. "description": "申请人名称",
  11271. "type": "string"
  11272. },
  11273. "applystatus": {
  11274. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11275. "type": "integer"
  11276. },
  11277. "applytime": {
  11278. "description": "申请时间",
  11279. "type": "string"
  11280. },
  11281. "attachurl": {
  11282. "description": "附件",
  11283. "type": "string"
  11284. },
  11285. "auditid": {
  11286. "description": "审核人ID",
  11287. "type": "string"
  11288. },
  11289. "auditname": {
  11290. "description": "审核人名称",
  11291. "type": "string"
  11292. },
  11293. "audittime": {
  11294. "description": "审核时间",
  11295. "type": "string"
  11296. },
  11297. "buyusername": {
  11298. "description": "采购方名称",
  11299. "type": "string"
  11300. },
  11301. "contractno": {
  11302. "description": "合同编号",
  11303. "type": "string"
  11304. },
  11305. "contractstatus": {
  11306. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11307. "type": "integer"
  11308. },
  11309. "contracttype": {
  11310. "description": "现货合同类型 - 1:采购 -1:销售",
  11311. "type": "integer"
  11312. },
  11313. "deductamount": {
  11314. "description": "退款(非必填)",
  11315. "type": "number"
  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. "kxtype": {
  11342. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  11343. "type": "integer"
  11344. },
  11345. "operateapplyid": {
  11346. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11347. "type": "string"
  11348. },
  11349. "operateapplytype": {
  11350. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11351. "type": "integer"
  11352. },
  11353. "payamount": {
  11354. "description": "收付款(非必填)",
  11355. "type": "number"
  11356. },
  11357. "pricemove": {
  11358. "description": "升贴水",
  11359. "type": "number"
  11360. },
  11361. "pricetype": {
  11362. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11363. "type": "integer"
  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.QryGGCovertCfgRsp": {
  11392. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11393. },
  11394. "ermcp.QryMGChangeLogRsp": {
  11395. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  11396. },
  11397. "ermcp.QryMiddleGoodsDetailRsp": {
  11398. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  11399. },
  11400. "ermcp.QryMiddleGoodsRsp": {
  11401. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11402. },
  11403. "ermcp.QryOPLogRsp": {
  11404. "$ref": "#/definitions/models.ErmcpOPLogModel"
  11405. },
  11406. "ermcp.QryUserInfoRsp": {
  11407. "$ref": "#/definitions/models.ErmcpUserModel"
  11408. },
  11409. "ermcp.QryWarehouseRsp": {
  11410. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  11411. },
  11412. "ermcp.QueryErmcpTradePositionRsp": {
  11413. "type": "object",
  11414. "properties": {
  11415. "agreeunit": {
  11416. "description": "合约单位",
  11417. "type": "number"
  11418. },
  11419. "buyorsell": {
  11420. "description": "方向 - 0:买 1:卖",
  11421. "type": "integer"
  11422. },
  11423. "curpositionqty": {
  11424. "description": "持仓(总仓数量, 期末头寸)",
  11425. "type": "integer"
  11426. },
  11427. "curtdposition": {
  11428. "description": "今仓数量(期末今日头寸)",
  11429. "type": "integer"
  11430. },
  11431. "curtdpositionenabled": {
  11432. "description": "今仓可用",
  11433. "type": "integer"
  11434. },
  11435. "decimalplace": {
  11436. "description": "报价小数位",
  11437. "type": "integer"
  11438. },
  11439. "enableqty": {
  11440. "description": "可用(总仓可用)",
  11441. "type": "integer"
  11442. },
  11443. "exexchangename": {
  11444. "description": "外部交易所名称",
  11445. "type": "string"
  11446. },
  11447. "goodscode": {
  11448. "description": "商品代码(内部)",
  11449. "type": "string"
  11450. },
  11451. "goodsid": {
  11452. "description": "商品ID(自增ID SEQ_GOODS)",
  11453. "type": "integer"
  11454. },
  11455. "goodsname": {
  11456. "description": "商品名称",
  11457. "type": "string"
  11458. },
  11459. "last": {
  11460. "description": "现价",
  11461. "type": "number"
  11462. },
  11463. "marketid": {
  11464. "description": "所属市场ID",
  11465. "type": "integer"
  11466. },
  11467. "openaverageprice": {
  11468. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11469. "type": "number"
  11470. },
  11471. "opencost": {
  11472. "description": "开仓成本",
  11473. "type": "number"
  11474. },
  11475. "openpl": {
  11476. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11477. "type": "number"
  11478. },
  11479. "outgoodscode": {
  11480. "description": "商品代码(外部)",
  11481. "type": "string"
  11482. },
  11483. "positionaverageprice": {
  11484. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11485. "type": "number"
  11486. },
  11487. "positioncost": {
  11488. "description": "持仓成本",
  11489. "type": "number"
  11490. },
  11491. "positionpl": {
  11492. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11493. "type": "number"
  11494. },
  11495. "positionplrate": {
  11496. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11497. "type": "number"
  11498. },
  11499. "usedmargin": {
  11500. "description": "占用保证金",
  11501. "type": "number"
  11502. }
  11503. }
  11504. },
  11505. "ermcp.RealtimeExposurePositionRsp": {
  11506. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11507. },
  11508. "ermcp.RealtimeExposureRsp": {
  11509. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11510. },
  11511. "erms2.QueryArbitrageStrategyRsp": {
  11512. "type": "object",
  11513. "required": [
  11514. "asapplyid"
  11515. ],
  11516. "properties": {
  11517. "applybasis": {
  11518. "description": "申请基差",
  11519. "type": "number"
  11520. },
  11521. "asapplyid": {
  11522. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11523. "type": "string"
  11524. },
  11525. "asname": {
  11526. "description": "策略名称",
  11527. "type": "string"
  11528. },
  11529. "asno": {
  11530. "description": "策略编号",
  11531. "type": "string"
  11532. },
  11533. "basischangepl": {
  11534. "description": "基差变动损益[结算更新]",
  11535. "type": "number"
  11536. },
  11537. "biztype": {
  11538. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11539. "type": "integer"
  11540. },
  11541. "closetradedate": {
  11542. "description": "完结交易日(yyyyMMdd)",
  11543. "type": "string"
  11544. },
  11545. "curbasis": {
  11546. "description": "当前基差[结算更新]",
  11547. "type": "number"
  11548. },
  11549. "deliverygoodsid": {
  11550. "description": "现货品种ID",
  11551. "type": "integer"
  11552. },
  11553. "futureavgprice": {
  11554. "description": "期货建仓均价",
  11555. "type": "number"
  11556. },
  11557. "futurecloseamount": {
  11558. "description": "期货平仓金额",
  11559. "type": "number"
  11560. },
  11561. "futurecloseqty": {
  11562. "description": "期货平仓数量",
  11563. "type": "number"
  11564. },
  11565. "futureopenamount": {
  11566. "description": "期货开仓金额",
  11567. "type": "number"
  11568. },
  11569. "futureopenqty": {
  11570. "description": "期货开仓数量",
  11571. "type": "number"
  11572. },
  11573. "futurepl": {
  11574. "description": "期货总盈亏[结算更新]",
  11575. "type": "number"
  11576. },
  11577. "futureqty": {
  11578. "description": "期货持仓数量",
  11579. "type": "number"
  11580. },
  11581. "futurequote": {
  11582. "description": "期货额度",
  11583. "type": "number"
  11584. },
  11585. "goodsgroupid": {
  11586. "description": "期货品种ID",
  11587. "type": "integer"
  11588. },
  11589. "marketid": {
  11590. "description": "市场ID",
  11591. "type": "integer"
  11592. },
  11593. "netexposure": {
  11594. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11595. "type": "number"
  11596. },
  11597. "netexposurepl": {
  11598. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11599. "type": "number"
  11600. },
  11601. "netexposurerate": {
  11602. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11603. "type": "number"
  11604. },
  11605. "openbasis": {
  11606. "description": "建仓基差",
  11607. "type": "number"
  11608. },
  11609. "pricedspotqty": {
  11610. "description": "已定价现货数量",
  11611. "type": "number"
  11612. },
  11613. "pricedspotqtynotax": {
  11614. "description": "已定价现货不含税数量",
  11615. "type": "number"
  11616. },
  11617. "remark": {
  11618. "description": "备注",
  11619. "type": "string"
  11620. },
  11621. "spotavgprice": {
  11622. "description": "现货均价",
  11623. "type": "number"
  11624. },
  11625. "spotbuyamount": {
  11626. "description": "现货采购金额",
  11627. "type": "number"
  11628. },
  11629. "spotbuyqty": {
  11630. "description": "现货采购数量",
  11631. "type": "number"
  11632. },
  11633. "spotpl": {
  11634. "description": "现货总盈亏[结算更新]",
  11635. "type": "number"
  11636. },
  11637. "spotquota": {
  11638. "description": "现货额度",
  11639. "type": "number"
  11640. },
  11641. "spotsellamount": {
  11642. "description": "现货销售金额",
  11643. "type": "number"
  11644. },
  11645. "spotsellqty": {
  11646. "description": "现货销售数量",
  11647. "type": "number"
  11648. },
  11649. "spotusedquota": {
  11650. "description": "现货占用资金",
  11651. "type": "number"
  11652. },
  11653. "strategystatus": {
  11654. "description": "策略状态 - 0:未结束 1:已结束",
  11655. "type": "integer"
  11656. },
  11657. "totalpl": {
  11658. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11659. "type": "number"
  11660. },
  11661. "tradedate": {
  11662. "description": "交易日(yyyyMMdd)",
  11663. "type": "string"
  11664. },
  11665. "updatetime": {
  11666. "description": "更新时间",
  11667. "type": "string"
  11668. },
  11669. "usedquota": {
  11670. "description": "已占用资金",
  11671. "type": "number"
  11672. },
  11673. "userid": {
  11674. "description": "所属机构",
  11675. "type": "integer"
  11676. }
  11677. }
  11678. },
  11679. "erms2.QueryInnerTradeDetailRsp": {
  11680. "type": "object",
  11681. "required": [
  11682. "asapplyid",
  11683. "buyorsell",
  11684. "goodscode",
  11685. "goodsgroupid",
  11686. "goodsgroupname",
  11687. "goodsname",
  11688. "tradeid"
  11689. ],
  11690. "properties": {
  11691. "accountid": {
  11692. "description": "账号ID",
  11693. "type": "integer"
  11694. },
  11695. "agreeunit": {
  11696. "description": "合约单位",
  11697. "type": "number"
  11698. },
  11699. "asapplyid": {
  11700. "description": "策略申请ID",
  11701. "type": "integer"
  11702. },
  11703. "asname": {
  11704. "description": "策略名称",
  11705. "type": "string"
  11706. },
  11707. "asno": {
  11708. "description": "策略编号",
  11709. "type": "string"
  11710. },
  11711. "buyorsell": {
  11712. "description": "方向 - 0:买 1:卖",
  11713. "type": "integer"
  11714. },
  11715. "channelbuildtype": {
  11716. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11717. "type": "integer"
  11718. },
  11719. "closetype": {
  11720. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11721. "type": "integer"
  11722. },
  11723. "decimalplace": {
  11724. "description": "报价小数位",
  11725. "type": "integer"
  11726. },
  11727. "detailtype": {
  11728. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11729. "type": "integer"
  11730. },
  11731. "exexchangecode": {
  11732. "description": "外部交易所代码",
  11733. "type": "string"
  11734. },
  11735. "exexchangename": {
  11736. "description": "外部交易所名称",
  11737. "type": "string"
  11738. },
  11739. "goodscode": {
  11740. "description": "商品代码(合约)",
  11741. "type": "string"
  11742. },
  11743. "goodsgroupid": {
  11744. "description": "商品组ID(品种ID)",
  11745. "type": "integer"
  11746. },
  11747. "goodsgroupname": {
  11748. "description": "商品组名称(品种)",
  11749. "type": "string"
  11750. },
  11751. "goodsid": {
  11752. "description": "商品ID",
  11753. "type": "integer"
  11754. },
  11755. "goodsname": {
  11756. "description": "商品名称(合约)",
  11757. "type": "string"
  11758. },
  11759. "goodunit": {
  11760. "description": "报价单位",
  11761. "type": "string"
  11762. },
  11763. "marketid": {
  11764. "description": "市场ID",
  11765. "type": "integer"
  11766. },
  11767. "orderid": {
  11768. "description": "委托单号",
  11769. "type": "string"
  11770. },
  11771. "outgoodscode": {
  11772. "description": "商品代码(外部)",
  11773. "type": "string"
  11774. },
  11775. "relatedouttradeid": {
  11776. "description": "关联外部成交单ID",
  11777. "type": "string"
  11778. },
  11779. "remark": {
  11780. "description": "备注",
  11781. "type": "string"
  11782. },
  11783. "spotcontractid": {
  11784. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11785. "type": "integer"
  11786. },
  11787. "spotcontractno": {
  11788. "description": "现货合同编号",
  11789. "type": "string"
  11790. },
  11791. "tradeid": {
  11792. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11793. "type": "string"
  11794. },
  11795. "tradeprice": {
  11796. "description": "成交价格",
  11797. "type": "number"
  11798. },
  11799. "tradeqty": {
  11800. "description": "成交数量",
  11801. "type": "integer"
  11802. },
  11803. "tradetime": {
  11804. "description": "成交时间",
  11805. "type": "string"
  11806. },
  11807. "updatetime": {
  11808. "description": "更新时间",
  11809. "type": "string"
  11810. }
  11811. }
  11812. },
  11813. "erms2.QuerySpotContractRsp": {
  11814. "type": "object",
  11815. "required": [
  11816. "spotcontractid"
  11817. ],
  11818. "properties": {
  11819. "accountid": {
  11820. "description": "资金账户ID",
  11821. "type": "integer"
  11822. },
  11823. "areauserid": {
  11824. "description": "所属机构",
  11825. "type": "integer"
  11826. },
  11827. "closedate": {
  11828. "description": "终止日期",
  11829. "type": "string"
  11830. },
  11831. "closeremark": {
  11832. "description": "结束备注",
  11833. "type": "string"
  11834. },
  11835. "closetradedate": {
  11836. "description": "完结交易日(yyyyMMdd)",
  11837. "type": "string"
  11838. },
  11839. "closetype": {
  11840. "description": "终止类型 - 1:违约 2:提前终止",
  11841. "type": "integer"
  11842. },
  11843. "contractamount": {
  11844. "description": "合同金额",
  11845. "type": "number"
  11846. },
  11847. "contractattachment": {
  11848. "description": "合同附件",
  11849. "type": "string"
  11850. },
  11851. "contractno": {
  11852. "description": "现货合同编号",
  11853. "type": "string"
  11854. },
  11855. "contractqty": {
  11856. "description": "合同数量(数值) (用于计算)",
  11857. "type": "number"
  11858. },
  11859. "contractqtychar": {
  11860. "description": "合同数量\\已订价数量 (用于显示)",
  11861. "type": "string"
  11862. },
  11863. "contractstatus": {
  11864. "description": "合同状态 - 0:未结束 1:已结束",
  11865. "type": "integer"
  11866. },
  11867. "contracttype": {
  11868. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11869. "type": "integer"
  11870. },
  11871. "customeraccountid": {
  11872. "description": "客户资金账户ID",
  11873. "type": "integer"
  11874. },
  11875. "customeruserid": {
  11876. "description": "客户ID",
  11877. "type": "integer"
  11878. },
  11879. "deliverygoodsdesc": {
  11880. "description": "品种说明",
  11881. "type": "string"
  11882. },
  11883. "deliverygoodsid": {
  11884. "description": "现货品种ID",
  11885. "type": "integer"
  11886. },
  11887. "handlestatus": {
  11888. "description": "处理状态",
  11889. "type": "integer"
  11890. },
  11891. "invoiceatt": {
  11892. "description": "发票附件",
  11893. "type": "string"
  11894. },
  11895. "invoicedatetime": {
  11896. "description": "开收票更新时间",
  11897. "type": "string"
  11898. },
  11899. "invoiceopentime": {
  11900. "description": "开票时间",
  11901. "type": "string"
  11902. },
  11903. "invoiceremark": {
  11904. "description": "发票备注",
  11905. "type": "string"
  11906. },
  11907. "invoicestatus": {
  11908. "description": "开收票状态 - 0:未开票 1:已开票",
  11909. "type": "integer"
  11910. },
  11911. "lastdate": {
  11912. "description": "交货时间",
  11913. "type": "string"
  11914. },
  11915. "marketid": {
  11916. "description": "市场ID",
  11917. "type": "integer"
  11918. },
  11919. "paydatetime": {
  11920. "description": "收付款更新时间",
  11921. "type": "string"
  11922. },
  11923. "payremark": {
  11924. "description": "收付款备注",
  11925. "type": "string"
  11926. },
  11927. "paystatus": {
  11928. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11929. "type": "integer"
  11930. },
  11931. "positionqty": {
  11932. "description": "头寸数量 - 合同数量去小数部分",
  11933. "type": "integer"
  11934. },
  11935. "producttype": {
  11936. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11937. "type": "integer"
  11938. },
  11939. "relatedqty": {
  11940. "description": "已关联数量",
  11941. "type": "number"
  11942. },
  11943. "relatedstatus": {
  11944. "description": "关联完结状态 - 0:未结束 1:已结束",
  11945. "type": "integer"
  11946. },
  11947. "remark": {
  11948. "description": "备注",
  11949. "type": "string"
  11950. },
  11951. "signdate": {
  11952. "description": "签订日期",
  11953. "type": "string"
  11954. },
  11955. "spotcontractid": {
  11956. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11957. "type": "string"
  11958. },
  11959. "spotdatetime": {
  11960. "description": "收发货更新时间",
  11961. "type": "string"
  11962. },
  11963. "spotprice": {
  11964. "description": "价格",
  11965. "type": "number"
  11966. },
  11967. "spotremark": {
  11968. "description": "收发货备注",
  11969. "type": "string"
  11970. },
  11971. "spotstatus": {
  11972. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11973. "type": "integer"
  11974. },
  11975. "tradedate": {
  11976. "description": "交易日(yyyyMMdd)",
  11977. "type": "string"
  11978. },
  11979. "userid": {
  11980. "description": "业务员用户ID",
  11981. "type": "integer"
  11982. },
  11983. "warehouseid": {
  11984. "description": "仓库ID",
  11985. "type": "integer"
  11986. },
  11987. "wrfactortypeid": {
  11988. "description": "仓单要素类型ID",
  11989. "type": "integer"
  11990. },
  11991. "wrstandardid": {
  11992. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11993. "type": "integer"
  11994. }
  11995. }
  11996. },
  11997. "erms3.AddErms2ASApplyReq": {
  11998. "type": "object",
  11999. "required": [
  12000. "asapplyid"
  12001. ],
  12002. "properties": {
  12003. "applybasis": {
  12004. "description": "申请基差",
  12005. "type": "number"
  12006. },
  12007. "applystatus": {
  12008. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12009. "type": "integer"
  12010. },
  12011. "asapplyid": {
  12012. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  12013. "type": "integer"
  12014. },
  12015. "asname": {
  12016. "description": "策略名称",
  12017. "type": "string"
  12018. },
  12019. "asno": {
  12020. "description": "策略编号",
  12021. "type": "string"
  12022. },
  12023. "auditid": {
  12024. "description": "审核人",
  12025. "type": "integer"
  12026. },
  12027. "auditremark": {
  12028. "description": "审核备注",
  12029. "type": "string"
  12030. },
  12031. "audittime": {
  12032. "description": "审核时间",
  12033. "type": "string"
  12034. },
  12035. "biztype": {
  12036. "description": "业务类型 - 1:正向套利 2:反向套利",
  12037. "type": "integer"
  12038. },
  12039. "createtime": {
  12040. "description": "创建时间",
  12041. "type": "string"
  12042. },
  12043. "creatorid": {
  12044. "description": "创建人",
  12045. "type": "integer"
  12046. },
  12047. "deliverygoodsid": {
  12048. "description": "现货品种ID",
  12049. "type": "integer"
  12050. },
  12051. "futurequote": {
  12052. "description": "期货额度",
  12053. "type": "number"
  12054. },
  12055. "goodsgroupid": {
  12056. "description": "期货品种ID",
  12057. "type": "integer"
  12058. },
  12059. "marketid": {
  12060. "description": "市场ID",
  12061. "type": "integer"
  12062. },
  12063. "remark": {
  12064. "description": "备注",
  12065. "type": "string"
  12066. },
  12067. "spotquota": {
  12068. "description": "现货额度",
  12069. "type": "number"
  12070. },
  12071. "tradedate": {
  12072. "description": "交易日(yyyyMMdd)",
  12073. "type": "string"
  12074. },
  12075. "userid": {
  12076. "description": "所属机构",
  12077. "type": "integer"
  12078. }
  12079. }
  12080. },
  12081. "erms3.AddErms2SpotTradeApplyReq": {
  12082. "type": "object",
  12083. "required": [
  12084. "spottradeid"
  12085. ],
  12086. "properties": {
  12087. "applyjsondetail": {
  12088. "description": "申请明细(JSON)",
  12089. "type": "string"
  12090. },
  12091. "applystatus": {
  12092. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12093. "type": "integer"
  12094. },
  12095. "areauserid": {
  12096. "description": "所属机构",
  12097. "type": "integer"
  12098. },
  12099. "auditid": {
  12100. "description": "审核人",
  12101. "type": "integer"
  12102. },
  12103. "auditremark": {
  12104. "description": "审核备注",
  12105. "type": "string"
  12106. },
  12107. "audittime": {
  12108. "description": "审核时间",
  12109. "type": "string"
  12110. },
  12111. "createtime": {
  12112. "description": "创建时间",
  12113. "type": "string"
  12114. },
  12115. "creatorid": {
  12116. "description": "创建人",
  12117. "type": "integer"
  12118. },
  12119. "deliverygoodsid": {
  12120. "description": "现货品种ID",
  12121. "type": "integer"
  12122. },
  12123. "futureaccountid": {
  12124. "description": "期货资金账户",
  12125. "type": "integer"
  12126. },
  12127. "goodsgroupid": {
  12128. "description": "期货品种",
  12129. "type": "integer"
  12130. },
  12131. "marketid": {
  12132. "description": "市场ID",
  12133. "type": "integer"
  12134. },
  12135. "remark": {
  12136. "description": "备注",
  12137. "type": "string"
  12138. },
  12139. "spotaccountid": {
  12140. "description": "现货资金账户",
  12141. "type": "integer"
  12142. },
  12143. "spottradeid": {
  12144. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  12145. "type": "integer"
  12146. },
  12147. "spottradename": {
  12148. "description": "业务名称",
  12149. "type": "string"
  12150. },
  12151. "spottradeno": {
  12152. "description": "业务编号",
  12153. "type": "string"
  12154. },
  12155. "tradedate": {
  12156. "description": "交易日(yyyyMMdd)",
  12157. "type": "string"
  12158. },
  12159. "wrstandardid": {
  12160. "description": "仓单标准ID",
  12161. "type": "integer"
  12162. }
  12163. }
  12164. },
  12165. "erms3.AddSpotContractApplyReq": {
  12166. "type": "object",
  12167. "required": [
  12168. "accountid",
  12169. "areauserid",
  12170. "contractno",
  12171. "contracttype",
  12172. "customeraccountid",
  12173. "customeruserid",
  12174. "details",
  12175. "orimargin",
  12176. "signdate"
  12177. ],
  12178. "properties": {
  12179. "accountid": {
  12180. "description": "资金账户ID",
  12181. "type": "integer"
  12182. },
  12183. "areauserid": {
  12184. "description": "所属机构",
  12185. "type": "integer"
  12186. },
  12187. "contractattachment": {
  12188. "description": "合同附件",
  12189. "type": "string"
  12190. },
  12191. "contractno": {
  12192. "description": "现货合同编号",
  12193. "type": "string"
  12194. },
  12195. "contracttype": {
  12196. "description": "现货合同类型 - 1:采购 -1:销售",
  12197. "type": "integer"
  12198. },
  12199. "creatorid": {
  12200. "description": "申请人",
  12201. "type": "integer"
  12202. },
  12203. "customeraccountid": {
  12204. "description": "客户资金账户ID",
  12205. "type": "integer"
  12206. },
  12207. "customeruserid": {
  12208. "description": "客户ID",
  12209. "type": "integer"
  12210. },
  12211. "details": {
  12212. "description": "明细",
  12213. "type": "array",
  12214. "items": {
  12215. "$ref": "#/definitions/erms3.SoptContractDetail"
  12216. }
  12217. },
  12218. "orimargin": {
  12219. "description": "初始保证金",
  12220. "type": "number"
  12221. },
  12222. "remark": {
  12223. "description": "备注",
  12224. "type": "string"
  12225. },
  12226. "signdate": {
  12227. "description": "签订日期",
  12228. "type": "string"
  12229. }
  12230. }
  12231. },
  12232. "erms3.AddSpotContractApplyRsp": {
  12233. "type": "object",
  12234. "required": [
  12235. "contractno"
  12236. ],
  12237. "properties": {
  12238. "contractno": {
  12239. "description": "现货合同编号",
  12240. "type": "string"
  12241. },
  12242. "spotcontractid": {
  12243. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  12244. "type": "integer"
  12245. }
  12246. }
  12247. },
  12248. "erms3.AddUserInfoApplyReq": {
  12249. "type": "object",
  12250. "required": [
  12251. "userid"
  12252. ],
  12253. "properties": {
  12254. "accountid": {
  12255. "description": "交易系统帐号Id (加密存储)",
  12256. "type": "integer"
  12257. },
  12258. "areacode": {
  12259. "description": "机构代码",
  12260. "type": "string"
  12261. },
  12262. "areaid": {
  12263. "description": "机构Id",
  12264. "type": "integer"
  12265. },
  12266. "attachment1": {
  12267. "description": "附件1",
  12268. "type": "string"
  12269. },
  12270. "attachment2": {
  12271. "description": "附件2",
  12272. "type": "string"
  12273. },
  12274. "attachment3": {
  12275. "description": "附件3",
  12276. "type": "string"
  12277. },
  12278. "attachment4": {
  12279. "description": "附件4",
  12280. "type": "string"
  12281. },
  12282. "attachment5": {
  12283. "description": "附件5",
  12284. "type": "string"
  12285. },
  12286. "auditedby": {
  12287. "description": "审核人",
  12288. "type": "string"
  12289. },
  12290. "auditime": {
  12291. "description": "审核时间",
  12292. "type": "string"
  12293. },
  12294. "auditsrc": {
  12295. "description": "审核来源 - 1:管理端 2:终端",
  12296. "type": "integer"
  12297. },
  12298. "bankaccount": {
  12299. "description": "银行帐号 (加密存储)",
  12300. "type": "string"
  12301. },
  12302. "bankaccountname": {
  12303. "description": "收款人名称",
  12304. "type": "string"
  12305. },
  12306. "bankcardbackphotourl": {
  12307. "description": "银行卡背面照地址",
  12308. "type": "string"
  12309. },
  12310. "bankcardfrontphotourl": {
  12311. "description": "银行卡正面照地址",
  12312. "type": "string"
  12313. },
  12314. "bankid": {
  12315. "description": "银行编码",
  12316. "type": "string"
  12317. },
  12318. "bankname": {
  12319. "description": "银行名称",
  12320. "type": "string"
  12321. },
  12322. "bankpictureurl": {
  12323. "description": "银行卡正面地址",
  12324. "type": "string"
  12325. },
  12326. "biznature": {
  12327. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12328. "type": "integer"
  12329. },
  12330. "bizscope": {
  12331. "description": "企业经营范围(企业)",
  12332. "type": "string"
  12333. },
  12334. "biztype": {
  12335. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12336. "type": "integer"
  12337. },
  12338. "brokerid": {
  12339. "description": "经纪人ID(加密存储)",
  12340. "type": "string"
  12341. },
  12342. "cardaddress": {
  12343. "description": "证件地址 (加密存储)",
  12344. "type": "string"
  12345. },
  12346. "cardbackphotourl": {
  12347. "description": "背面证件照地址",
  12348. "type": "string"
  12349. },
  12350. "cardfrontphotourl": {
  12351. "description": "正面证件照地址",
  12352. "type": "string"
  12353. },
  12354. "cardnum": {
  12355. "description": "证件号码 (加密存储)",
  12356. "type": "string"
  12357. },
  12358. "cardtype": {
  12359. "description": "证件类型",
  12360. "type": "integer"
  12361. },
  12362. "cityid": {
  12363. "description": "市",
  12364. "type": "integer"
  12365. },
  12366. "company": {
  12367. "description": "公司(个人)",
  12368. "type": "string"
  12369. },
  12370. "contactcardbackphotourl": {
  12371. "description": "联系人证件背面图片地址",
  12372. "type": "string"
  12373. },
  12374. "contactcardfrontphotourl": {
  12375. "description": "联系人证件正面图片地址",
  12376. "type": "string"
  12377. },
  12378. "contactname": {
  12379. "description": "联系人",
  12380. "type": "string"
  12381. },
  12382. "countryid": {
  12383. "description": "国家",
  12384. "type": "integer"
  12385. },
  12386. "createtime": {
  12387. "description": "开户申请时间",
  12388. "type": "string"
  12389. },
  12390. "cusbankid": {
  12391. "description": "签约类型",
  12392. "type": "string"
  12393. },
  12394. "cusbankname": {
  12395. "description": "签约类型名称",
  12396. "type": "string"
  12397. },
  12398. "customername": {
  12399. "description": "客户名称(企业名称)",
  12400. "type": "string"
  12401. },
  12402. "districtid": {
  12403. "description": "地区",
  12404. "type": "integer"
  12405. },
  12406. "email": {
  12407. "description": "Email地址(加密存储)",
  12408. "type": "string"
  12409. },
  12410. "halfbodyphotourl": {
  12411. "description": "半身照地址",
  12412. "type": "string"
  12413. },
  12414. "headurl": {
  12415. "description": "头像地址",
  12416. "type": "string"
  12417. },
  12418. "ipaddress": {
  12419. "description": "IP地址",
  12420. "type": "string"
  12421. },
  12422. "isvalidate": {
  12423. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12424. "type": "string"
  12425. },
  12426. "legalcardbackphotourl": {
  12427. "description": "法人身份证背面照地址",
  12428. "type": "string"
  12429. },
  12430. "legalcardfrontphotourl": {
  12431. "description": "法人身份证正面照地址",
  12432. "type": "string"
  12433. },
  12434. "legalpersonname": {
  12435. "description": "法人姓名(企业)",
  12436. "type": "string"
  12437. },
  12438. "logincode": {
  12439. "description": "登录帐号 (加密存储)",
  12440. "type": "string"
  12441. },
  12442. "memberareaid": {
  12443. "description": "所属会员ID",
  12444. "type": "integer"
  12445. },
  12446. "mobile2": {
  12447. "description": "手机号码[明文-尚志]",
  12448. "type": "string"
  12449. },
  12450. "mobilephone": {
  12451. "description": "手机号码 (加密存储)",
  12452. "type": "string"
  12453. },
  12454. "modifiedby": {
  12455. "description": "修改人帐号",
  12456. "type": "integer"
  12457. },
  12458. "modifiedtime": {
  12459. "description": "修改时间",
  12460. "type": "string"
  12461. },
  12462. "nickname": {
  12463. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12464. "type": "string"
  12465. },
  12466. "openmode": {
  12467. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12468. "type": "integer"
  12469. },
  12470. "otherurl": {
  12471. "description": "其它图片地址[使用分号分隔]",
  12472. "type": "string"
  12473. },
  12474. "postalcode": {
  12475. "description": "邮政编码",
  12476. "type": "string"
  12477. },
  12478. "provinceid": {
  12479. "description": "省",
  12480. "type": "integer"
  12481. },
  12482. "proxystatementurl": {
  12483. "description": "授权委托书",
  12484. "type": "string"
  12485. },
  12486. "qq": {
  12487. "description": "QQ(加密存储",
  12488. "type": "string"
  12489. },
  12490. "referral": {
  12491. "description": "推荐人编码",
  12492. "type": "string"
  12493. },
  12494. "remark": {
  12495. "description": "备注",
  12496. "type": "string"
  12497. },
  12498. "removebeforestatus": {
  12499. "description": "REMOVEBEFORESTATUS",
  12500. "type": "integer"
  12501. },
  12502. "sex": {
  12503. "description": "性别 - 0:女 1:男",
  12504. "type": "integer"
  12505. },
  12506. "signedstatus": {
  12507. "description": "账户一号签签约状态",
  12508. "type": "integer"
  12509. },
  12510. "signpdfurl": {
  12511. "description": "签约pdf文件",
  12512. "type": "string"
  12513. },
  12514. "subbranch": {
  12515. "description": "开户支行",
  12516. "type": "string"
  12517. },
  12518. "taxpayernum": {
  12519. "description": "纳税人识别号",
  12520. "type": "string"
  12521. },
  12522. "telphone": {
  12523. "description": "联系电话(加密存储)",
  12524. "type": "string"
  12525. },
  12526. "userid": {
  12527. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12528. "type": "integer"
  12529. },
  12530. "userinfotype": {
  12531. "description": "用户信息类型 - 1:个人 2:企业",
  12532. "type": "integer"
  12533. },
  12534. "username": {
  12535. "description": "用户姓名",
  12536. "type": "string"
  12537. },
  12538. "userstate": {
  12539. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12540. "type": "integer"
  12541. },
  12542. "usertype": {
  12543. "description": "用户类型 - 1:投资者 2:机构",
  12544. "type": "integer"
  12545. },
  12546. "videourl": {
  12547. "description": "视频地址",
  12548. "type": "string"
  12549. },
  12550. "wechat": {
  12551. "description": "微信号 (加密存储)",
  12552. "type": "string"
  12553. }
  12554. }
  12555. },
  12556. "erms3.CustomerInfo": {
  12557. "type": "object",
  12558. "required": [
  12559. "userid"
  12560. ],
  12561. "properties": {
  12562. "accountids": {
  12563. "description": "资金账户ID列表",
  12564. "type": "array",
  12565. "items": {
  12566. "type": "integer"
  12567. }
  12568. },
  12569. "customername": {
  12570. "description": "名称(企业名称)",
  12571. "type": "string"
  12572. },
  12573. "mobile": {
  12574. "description": "手机号码",
  12575. "type": "string"
  12576. },
  12577. "userid": {
  12578. "description": "用户ID",
  12579. "type": "integer"
  12580. }
  12581. }
  12582. },
  12583. "erms3.ModifyUserInfoApplyReq": {
  12584. "type": "object",
  12585. "required": [
  12586. "userid"
  12587. ],
  12588. "properties": {
  12589. "accountid": {
  12590. "description": "交易系统帐号Id (加密存储)",
  12591. "type": "integer"
  12592. },
  12593. "areacode": {
  12594. "description": "机构代码",
  12595. "type": "string"
  12596. },
  12597. "areaid": {
  12598. "description": "机构Id",
  12599. "type": "integer"
  12600. },
  12601. "attachment1": {
  12602. "description": "附件1",
  12603. "type": "string"
  12604. },
  12605. "attachment2": {
  12606. "description": "附件2",
  12607. "type": "string"
  12608. },
  12609. "attachment3": {
  12610. "description": "附件3",
  12611. "type": "string"
  12612. },
  12613. "attachment4": {
  12614. "description": "附件4",
  12615. "type": "string"
  12616. },
  12617. "attachment5": {
  12618. "description": "附件5",
  12619. "type": "string"
  12620. },
  12621. "auditedby": {
  12622. "description": "审核人",
  12623. "type": "string"
  12624. },
  12625. "auditime": {
  12626. "description": "审核时间",
  12627. "type": "string"
  12628. },
  12629. "auditsrc": {
  12630. "description": "审核来源 - 1:管理端 2:终端",
  12631. "type": "integer"
  12632. },
  12633. "bankaccount": {
  12634. "description": "银行帐号 (加密存储)",
  12635. "type": "string"
  12636. },
  12637. "bankaccountname": {
  12638. "description": "收款人名称",
  12639. "type": "string"
  12640. },
  12641. "bankcardbackphotourl": {
  12642. "description": "银行卡背面照地址",
  12643. "type": "string"
  12644. },
  12645. "bankcardfrontphotourl": {
  12646. "description": "银行卡正面照地址",
  12647. "type": "string"
  12648. },
  12649. "bankid": {
  12650. "description": "银行编码",
  12651. "type": "string"
  12652. },
  12653. "bankname": {
  12654. "description": "银行名称",
  12655. "type": "string"
  12656. },
  12657. "bankpictureurl": {
  12658. "description": "银行卡正面地址",
  12659. "type": "string"
  12660. },
  12661. "biznature": {
  12662. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12663. "type": "integer"
  12664. },
  12665. "bizscope": {
  12666. "description": "企业经营范围(企业)",
  12667. "type": "string"
  12668. },
  12669. "biztype": {
  12670. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12671. "type": "integer"
  12672. },
  12673. "brokerid": {
  12674. "description": "经纪人ID(加密存储)",
  12675. "type": "string"
  12676. },
  12677. "cardaddress": {
  12678. "description": "证件地址 (加密存储)",
  12679. "type": "string"
  12680. },
  12681. "cardbackphotourl": {
  12682. "description": "背面证件照地址",
  12683. "type": "string"
  12684. },
  12685. "cardfrontphotourl": {
  12686. "description": "正面证件照地址",
  12687. "type": "string"
  12688. },
  12689. "cardnum": {
  12690. "description": "证件号码 (加密存储)",
  12691. "type": "string"
  12692. },
  12693. "cardtype": {
  12694. "description": "证件类型",
  12695. "type": "integer"
  12696. },
  12697. "cityid": {
  12698. "description": "市",
  12699. "type": "integer"
  12700. },
  12701. "company": {
  12702. "description": "公司(个人)",
  12703. "type": "string"
  12704. },
  12705. "contactcardbackphotourl": {
  12706. "description": "联系人证件背面图片地址",
  12707. "type": "string"
  12708. },
  12709. "contactcardfrontphotourl": {
  12710. "description": "联系人证件正面图片地址",
  12711. "type": "string"
  12712. },
  12713. "contactname": {
  12714. "description": "联系人",
  12715. "type": "string"
  12716. },
  12717. "countryid": {
  12718. "description": "国家",
  12719. "type": "integer"
  12720. },
  12721. "createtime": {
  12722. "description": "开户申请时间",
  12723. "type": "string"
  12724. },
  12725. "cusbankid": {
  12726. "description": "签约类型",
  12727. "type": "string"
  12728. },
  12729. "cusbankname": {
  12730. "description": "签约类型名称",
  12731. "type": "string"
  12732. },
  12733. "customername": {
  12734. "description": "客户名称(企业名称)",
  12735. "type": "string"
  12736. },
  12737. "districtid": {
  12738. "description": "地区",
  12739. "type": "integer"
  12740. },
  12741. "email": {
  12742. "description": "Email地址(加密存储)",
  12743. "type": "string"
  12744. },
  12745. "halfbodyphotourl": {
  12746. "description": "半身照地址",
  12747. "type": "string"
  12748. },
  12749. "headurl": {
  12750. "description": "头像地址",
  12751. "type": "string"
  12752. },
  12753. "ipaddress": {
  12754. "description": "IP地址",
  12755. "type": "string"
  12756. },
  12757. "isvalidate": {
  12758. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12759. "type": "string"
  12760. },
  12761. "legalcardbackphotourl": {
  12762. "description": "法人身份证背面照地址",
  12763. "type": "string"
  12764. },
  12765. "legalcardfrontphotourl": {
  12766. "description": "法人身份证正面照地址",
  12767. "type": "string"
  12768. },
  12769. "legalpersonname": {
  12770. "description": "法人姓名(企业)",
  12771. "type": "string"
  12772. },
  12773. "logincode": {
  12774. "description": "登录帐号 (加密存储)",
  12775. "type": "string"
  12776. },
  12777. "memberareaid": {
  12778. "description": "所属会员ID",
  12779. "type": "integer"
  12780. },
  12781. "mobile2": {
  12782. "description": "手机号码[明文-尚志]",
  12783. "type": "string"
  12784. },
  12785. "mobilephone": {
  12786. "description": "手机号码 (加密存储)",
  12787. "type": "string"
  12788. },
  12789. "modifiedby": {
  12790. "description": "修改人帐号",
  12791. "type": "integer"
  12792. },
  12793. "modifiedtime": {
  12794. "description": "修改时间",
  12795. "type": "string"
  12796. },
  12797. "nickname": {
  12798. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12799. "type": "string"
  12800. },
  12801. "openmode": {
  12802. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12803. "type": "integer"
  12804. },
  12805. "otherurl": {
  12806. "description": "其它图片地址[使用分号分隔]",
  12807. "type": "string"
  12808. },
  12809. "postalcode": {
  12810. "description": "邮政编码",
  12811. "type": "string"
  12812. },
  12813. "provinceid": {
  12814. "description": "省",
  12815. "type": "integer"
  12816. },
  12817. "proxystatementurl": {
  12818. "description": "授权委托书",
  12819. "type": "string"
  12820. },
  12821. "qq": {
  12822. "description": "QQ(加密存储",
  12823. "type": "string"
  12824. },
  12825. "referral": {
  12826. "description": "推荐人编码",
  12827. "type": "string"
  12828. },
  12829. "remark": {
  12830. "description": "备注",
  12831. "type": "string"
  12832. },
  12833. "removebeforestatus": {
  12834. "description": "REMOVEBEFORESTATUS",
  12835. "type": "integer"
  12836. },
  12837. "sex": {
  12838. "description": "性别 - 0:女 1:男",
  12839. "type": "integer"
  12840. },
  12841. "signedstatus": {
  12842. "description": "账户一号签签约状态",
  12843. "type": "integer"
  12844. },
  12845. "signpdfurl": {
  12846. "description": "签约pdf文件",
  12847. "type": "string"
  12848. },
  12849. "subbranch": {
  12850. "description": "开户支行",
  12851. "type": "string"
  12852. },
  12853. "taxpayernum": {
  12854. "description": "纳税人识别号",
  12855. "type": "string"
  12856. },
  12857. "telphone": {
  12858. "description": "联系电话(加密存储)",
  12859. "type": "string"
  12860. },
  12861. "userid": {
  12862. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12863. "type": "integer"
  12864. },
  12865. "userinfotype": {
  12866. "description": "用户信息类型 - 1:个人 2:企业",
  12867. "type": "integer"
  12868. },
  12869. "username": {
  12870. "description": "用户姓名",
  12871. "type": "string"
  12872. },
  12873. "userstate": {
  12874. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12875. "type": "integer"
  12876. },
  12877. "usertype": {
  12878. "description": "用户类型 - 1:投资者 2:机构",
  12879. "type": "integer"
  12880. },
  12881. "videourl": {
  12882. "description": "视频地址",
  12883. "type": "string"
  12884. },
  12885. "wechat": {
  12886. "description": "微信号 (加密存储)",
  12887. "type": "string"
  12888. }
  12889. }
  12890. },
  12891. "erms3.QryAuditContractRsp": {
  12892. "type": "object",
  12893. "required": [
  12894. "matchcustomername",
  12895. "spotcontractid"
  12896. ],
  12897. "properties": {
  12898. "accountid": {
  12899. "description": "交易员ID",
  12900. "type": "string"
  12901. },
  12902. "applystatus": {
  12903. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12904. "type": "integer"
  12905. },
  12906. "curdeliveryqty": {
  12907. "description": "未交收量",
  12908. "type": "integer"
  12909. },
  12910. "customername": {
  12911. "description": "采购方ID",
  12912. "type": "string"
  12913. },
  12914. "deliverygoodsid": {
  12915. "description": "品种ID",
  12916. "type": "string"
  12917. },
  12918. "deliveryqty": {
  12919. "description": "交收量",
  12920. "type": "integer"
  12921. },
  12922. "enumdicname": {
  12923. "description": "单位名称",
  12924. "type": "string"
  12925. },
  12926. "matchaccountid": {
  12927. "description": "业务员ID",
  12928. "type": "string"
  12929. },
  12930. "matchcustomername": {
  12931. "description": "销售方ID",
  12932. "type": "string"
  12933. },
  12934. "pricedqty": {
  12935. "description": "定价量",
  12936. "type": "number"
  12937. },
  12938. "signdate": {
  12939. "description": "签订日期",
  12940. "type": "string"
  12941. },
  12942. "spotcontractid": {
  12943. "description": "合同ID",
  12944. "type": "string"
  12945. },
  12946. "totaldqty": {
  12947. "description": "合同量",
  12948. "type": "number"
  12949. },
  12950. "unpricedqty": {
  12951. "description": "未定价量",
  12952. "type": "number"
  12953. },
  12954. "wrstandardname": {
  12955. "description": "商品名称",
  12956. "type": "string"
  12957. }
  12958. }
  12959. },
  12960. "erms3.QryPendingBizRsp": {
  12961. "$ref": "#/definitions/models.PendingAuditBizModel"
  12962. },
  12963. "erms3.QueryBusinessInfoRsp": {
  12964. "type": "object",
  12965. "properties": {
  12966. "businessid": {
  12967. "description": "业务ID.",
  12968. "type": "integer"
  12969. },
  12970. "buyamount": {
  12971. "description": "采购额.",
  12972. "type": "number"
  12973. },
  12974. "buyqty": {
  12975. "description": "采购量.",
  12976. "type": "string"
  12977. },
  12978. "futurepl": {
  12979. "description": "期货盈亏.",
  12980. "type": "number"
  12981. },
  12982. "futureqty": {
  12983. "description": "期货敞口.",
  12984. "type": "string"
  12985. },
  12986. "goodsid": {
  12987. "description": "商品名称/商品代码.",
  12988. "type": "string"
  12989. },
  12990. "hedgingqty": {
  12991. "description": "套保量.",
  12992. "type": "string"
  12993. },
  12994. "sellamount": {
  12995. "description": "销售额.",
  12996. "type": "number"
  12997. },
  12998. "sellqty": {
  12999. "description": "销售量.",
  13000. "type": "string"
  13001. },
  13002. "spotmarketvalue": {
  13003. "description": "现货市值.",
  13004. "type": "number"
  13005. },
  13006. "spotpl": {
  13007. "description": "浮动权益.",
  13008. "type": "number"
  13009. },
  13010. "spotqty": {
  13011. "description": "现货量.",
  13012. "type": "string"
  13013. },
  13014. "statu": {
  13015. "description": "状态,0-未结束 1-已结束.",
  13016. "type": "integer"
  13017. },
  13018. "totalpl": {
  13019. "description": "总盈亏.",
  13020. "type": "number"
  13021. },
  13022. "totalqty": {
  13023. "description": "总敞口.",
  13024. "type": "string"
  13025. },
  13026. "type": {
  13027. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  13028. "type": "integer"
  13029. }
  13030. }
  13031. },
  13032. "erms3.QuerySpotContractAppleFormRsp": {
  13033. "type": "object",
  13034. "properties": {
  13035. "goodses": {
  13036. "description": "合约列表",
  13037. "type": "array",
  13038. "items": {
  13039. "$ref": "#/definitions/models.GoodsIDAndName"
  13040. }
  13041. },
  13042. "oppositeusers": {
  13043. "description": "对方账号列表",
  13044. "type": "array",
  13045. "items": {
  13046. "$ref": "#/definitions/erms3.CustomerInfo"
  13047. }
  13048. },
  13049. "ouruser": {
  13050. "description": "我方账号",
  13051. "type": "object",
  13052. "$ref": "#/definitions/erms3.CustomerInfo"
  13053. },
  13054. "warehouseinfos": {
  13055. "description": "仓库信息列表",
  13056. "type": "array",
  13057. "items": {
  13058. "$ref": "#/definitions/models.Warehouseinfo"
  13059. }
  13060. },
  13061. "wrstandards": {
  13062. "description": "仓单标准列表",
  13063. "type": "array",
  13064. "items": {
  13065. "$ref": "#/definitions/models.WRStandardInfo"
  13066. }
  13067. }
  13068. }
  13069. },
  13070. "erms3.QuerySpotContractInfoRsp": {
  13071. "type": "object",
  13072. "properties": {
  13073. "accountid": {
  13074. "description": "表示交易员ID.",
  13075. "type": "integer"
  13076. },
  13077. "curdeliveryqty": {
  13078. "description": "表示未交收量.",
  13079. "type": "number"
  13080. },
  13081. "customername": {
  13082. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  13083. "type": "string"
  13084. },
  13085. "deliverygoodsid": {
  13086. "description": "表示品种ID.",
  13087. "type": "string"
  13088. },
  13089. "deliveryqty": {
  13090. "description": "表示交收量.",
  13091. "type": "number"
  13092. },
  13093. "matchaccountid": {
  13094. "description": "表示业务员ID.",
  13095. "type": "integer"
  13096. },
  13097. "matchcustomername": {
  13098. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  13099. "type": "string"
  13100. },
  13101. "priceqty": {
  13102. "description": "表示定价量.",
  13103. "type": "number"
  13104. },
  13105. "relatedbizid": {
  13106. "description": "表示业务ID.",
  13107. "type": "string"
  13108. },
  13109. "signdate": {
  13110. "description": "表示签订日期.",
  13111. "type": "string"
  13112. },
  13113. "spotcontractid": {
  13114. "description": "合同ID",
  13115. "type": "string"
  13116. },
  13117. "status": {
  13118. "description": "表示状态,0-履约中 1-已完成.",
  13119. "type": "integer"
  13120. },
  13121. "totalqty": {
  13122. "description": "表示合同量.",
  13123. "type": "number"
  13124. },
  13125. "unpricedqty": {
  13126. "description": "表示未定价量.",
  13127. "type": "number"
  13128. },
  13129. "wrstandardname": {
  13130. "description": "表示商品ID.",
  13131. "type": "string"
  13132. }
  13133. }
  13134. },
  13135. "erms3.QueryUserInfoAppliesRsp": {
  13136. "type": "object",
  13137. "required": [
  13138. "userid"
  13139. ],
  13140. "properties": {
  13141. "biznature": {
  13142. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13143. "type": "integer"
  13144. },
  13145. "contactname": {
  13146. "description": "联系人",
  13147. "type": "string"
  13148. },
  13149. "createtime": {
  13150. "description": "开户申请时间",
  13151. "type": "string"
  13152. },
  13153. "userid": {
  13154. "description": "用户ID(自增ID)",
  13155. "type": "integer"
  13156. },
  13157. "userinfotype": {
  13158. "description": "用户信息类型 - 1:个人 2:企业",
  13159. "type": "integer"
  13160. },
  13161. "username": {
  13162. "description": "用户姓名",
  13163. "type": "string"
  13164. },
  13165. "userstate": {
  13166. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13167. "type": "integer"
  13168. }
  13169. }
  13170. },
  13171. "erms3.QueryUserInfosRsp": {
  13172. "type": "object",
  13173. "required": [
  13174. "userid"
  13175. ],
  13176. "properties": {
  13177. "biznature": {
  13178. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13179. "type": "integer"
  13180. },
  13181. "contactname": {
  13182. "description": "联系人",
  13183. "type": "string"
  13184. },
  13185. "customername": {
  13186. "description": "客户名称(企业名称)",
  13187. "type": "string"
  13188. },
  13189. "userid": {
  13190. "description": "用户ID",
  13191. "type": "integer"
  13192. },
  13193. "userinfotype": {
  13194. "description": "用户信息类型 - 1:个人 2:企业",
  13195. "type": "integer"
  13196. },
  13197. "userstatus": {
  13198. "description": "用户状态 - 1:正常 2:注销",
  13199. "type": "integer"
  13200. }
  13201. }
  13202. },
  13203. "erms3.SoptContractDetail": {
  13204. "type": "object",
  13205. "required": [
  13206. "deliverygoodsid",
  13207. "producttype",
  13208. "unitname",
  13209. "warehouseid",
  13210. "wrstandardid",
  13211. "wrstandardname"
  13212. ],
  13213. "properties": {
  13214. "deliverygoodsdesc": {
  13215. "description": "现货品种说明",
  13216. "type": "string"
  13217. },
  13218. "deliverygoodsid": {
  13219. "description": "现货品种ID",
  13220. "type": "integer"
  13221. },
  13222. "deliverygoodsname": {
  13223. "description": "现货品种名称",
  13224. "type": "string"
  13225. },
  13226. "pointdesc": {
  13227. "description": "点价描述",
  13228. "type": "string"
  13229. },
  13230. "producttype": {
  13231. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  13232. "type": "integer"
  13233. },
  13234. "producttypename": {
  13235. "description": "产品类型名称",
  13236. "type": "string"
  13237. },
  13238. "spotPointOrderVoList": {
  13239. "description": "点价列表",
  13240. "type": "array",
  13241. "items": {
  13242. "$ref": "#/definitions/erms3.SpotPointOrder"
  13243. }
  13244. },
  13245. "spotPriceOrderList": {
  13246. "description": "定价列表",
  13247. "type": "array",
  13248. "items": {
  13249. "$ref": "#/definitions/erms3.SpotPriceOrder"
  13250. }
  13251. },
  13252. "unitname": {
  13253. "description": "单位名称",
  13254. "type": "string"
  13255. },
  13256. "warehouseid": {
  13257. "description": "仓库ID",
  13258. "type": "integer"
  13259. },
  13260. "warehousename": {
  13261. "description": "仓库名称",
  13262. "type": "string"
  13263. },
  13264. "wrstandardid": {
  13265. "description": "交易标的ID",
  13266. "type": "integer"
  13267. },
  13268. "wrstandardname": {
  13269. "description": "交易标的名称",
  13270. "type": "string"
  13271. }
  13272. }
  13273. },
  13274. "erms3.SpotPointOrder": {
  13275. "type": "object",
  13276. "required": [
  13277. "basic",
  13278. "goodsid",
  13279. "qty"
  13280. ],
  13281. "properties": {
  13282. "basic": {
  13283. "description": "基差",
  13284. "type": "number"
  13285. },
  13286. "deliveryenddate": {
  13287. "description": "交收结束日期",
  13288. "type": "string"
  13289. },
  13290. "deliverystartdate": {
  13291. "description": "交收开始日期",
  13292. "type": "string"
  13293. },
  13294. "enddate": {
  13295. "description": "点价结束日期",
  13296. "type": "string"
  13297. },
  13298. "goodsid": {
  13299. "description": "商品ID",
  13300. "type": "integer"
  13301. },
  13302. "goodsname": {
  13303. "description": "商品名称",
  13304. "type": "string"
  13305. },
  13306. "qty": {
  13307. "description": "数量",
  13308. "type": "number"
  13309. },
  13310. "startdate": {
  13311. "description": "点价开始日期",
  13312. "type": "string"
  13313. }
  13314. }
  13315. },
  13316. "erms3.SpotPriceOrder": {
  13317. "type": "object",
  13318. "required": [
  13319. "amount",
  13320. "price",
  13321. "qty"
  13322. ],
  13323. "properties": {
  13324. "amount": {
  13325. "description": "金额",
  13326. "type": "number"
  13327. },
  13328. "deliveryenddate": {
  13329. "description": "交收结束日期",
  13330. "type": "string"
  13331. },
  13332. "deliverystartdate": {
  13333. "description": "交收开始日期",
  13334. "type": "string"
  13335. },
  13336. "price": {
  13337. "description": "价格",
  13338. "type": "number"
  13339. },
  13340. "qty": {
  13341. "description": "数量",
  13342. "type": "number"
  13343. }
  13344. }
  13345. },
  13346. "hsby.GetHsbyMyCountRsp": {
  13347. "type": "object",
  13348. "properties": {
  13349. "myCouponCount": {
  13350. "description": "我的优惠卷数量",
  13351. "type": "integer"
  13352. },
  13353. "myOrderDetailListingCount": {
  13354. "description": "我的订单求购中数量",
  13355. "type": "integer"
  13356. },
  13357. "myOrderDetailPreCount": {
  13358. "description": "我的订单抢购中数量",
  13359. "type": "integer"
  13360. },
  13361. "myPackageUnReceiveCount": {
  13362. "description": "我的包裹待收货数量",
  13363. "type": "integer"
  13364. },
  13365. "myPackageUnSendCount": {
  13366. "description": "我的包裹待发货数量",
  13367. "type": "integer"
  13368. },
  13369. "myPayOrderCount": {
  13370. "description": "我的订单待付款数量",
  13371. "type": "integer"
  13372. }
  13373. }
  13374. },
  13375. "hsby.QueryProvincesAndCitiesRsp": {
  13376. "type": "object",
  13377. "properties": {
  13378. "cities": {
  13379. "description": "市",
  13380. "type": "array",
  13381. "items": {
  13382. "$ref": "#/definitions/models.Division"
  13383. }
  13384. },
  13385. "province": {
  13386. "description": "省",
  13387. "type": "object",
  13388. "$ref": "#/definitions/models.Division"
  13389. }
  13390. }
  13391. },
  13392. "models.AreaSpotModel": {
  13393. "type": "object",
  13394. "properties": {
  13395. "areauserid": {
  13396. "description": "所属机构",
  13397. "type": "integer"
  13398. },
  13399. "decreaseqty": {
  13400. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13401. "type": "number"
  13402. },
  13403. "increaseqty": {
  13404. "description": "增加数量=销售计划数量+采购已定价数量",
  13405. "type": "number"
  13406. },
  13407. "oritoalspotqty": {
  13408. "description": "昨日数量",
  13409. "type": "number"
  13410. },
  13411. "totalspotqty": {
  13412. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13413. "type": "number"
  13414. },
  13415. "updatetime": {
  13416. "description": "更新时间",
  13417. "type": "string"
  13418. },
  13419. "wrstandardcode": {
  13420. "description": "现货品种代码",
  13421. "type": "string"
  13422. },
  13423. "wrstandardid": {
  13424. "description": "现货商品ID",
  13425. "type": "integer"
  13426. },
  13427. "wrstandardname": {
  13428. "description": "现货品种",
  13429. "type": "string"
  13430. }
  13431. }
  13432. },
  13433. "models.Arearole": {
  13434. "type": "object",
  13435. "required": [
  13436. "roletype",
  13437. "userid"
  13438. ],
  13439. "properties": {
  13440. "createtime": {
  13441. "description": "创建时间",
  13442. "type": "string"
  13443. },
  13444. "creatorid": {
  13445. "description": "创建人ID",
  13446. "type": "integer"
  13447. },
  13448. "fromuserid": {
  13449. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  13450. "type": "integer"
  13451. },
  13452. "isreturnscore": {
  13453. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  13454. "type": "integer"
  13455. },
  13456. "modifierid": {
  13457. "description": "修改人ID",
  13458. "type": "integer"
  13459. },
  13460. "modifytime": {
  13461. "description": "修改时间",
  13462. "type": "string"
  13463. },
  13464. "orgtype": {
  13465. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  13466. "type": "integer"
  13467. },
  13468. "outuserid": {
  13469. "description": "外部账户[场外期权做市商]",
  13470. "type": "string"
  13471. },
  13472. "parentuserid": {
  13473. "description": "上级组织机构(组织机构)",
  13474. "type": "integer"
  13475. },
  13476. "roletype": {
  13477. "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:门店",
  13478. "type": "integer"
  13479. },
  13480. "rootuserid": {
  13481. "description": "顶级组织机构用户ID(组织机构)",
  13482. "type": "integer"
  13483. },
  13484. "shoppassword": {
  13485. "description": "商城店铺登陆密码(商城店铺角色使用)",
  13486. "type": "string"
  13487. },
  13488. "sublevelpath": {
  13489. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  13490. "type": "string"
  13491. },
  13492. "suborgtype": {
  13493. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  13494. "type": "integer"
  13495. },
  13496. "tradeaccountid": {
  13497. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  13498. "type": "integer"
  13499. },
  13500. "transurl": {
  13501. "description": "物流地址(物流机构)",
  13502. "type": "string"
  13503. },
  13504. "userid": {
  13505. "description": "机构用户ID其他做市关系,都设置为 1",
  13506. "type": "integer"
  13507. }
  13508. }
  13509. },
  13510. "models.Clientfixedadconfig": {
  13511. "type": "object",
  13512. "required": [
  13513. "adsort",
  13514. "adtype"
  13515. ],
  13516. "properties": {
  13517. "adsort": {
  13518. "description": "排序",
  13519. "type": "integer"
  13520. },
  13521. "adtype": {
  13522. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13523. "type": "integer"
  13524. },
  13525. "areauserid": {
  13526. "description": "所属机构ID",
  13527. "type": "integer"
  13528. },
  13529. "createdate": {
  13530. "description": "创建时间",
  13531. "type": "string"
  13532. },
  13533. "creatorid": {
  13534. "description": "创建人",
  13535. "type": "integer"
  13536. },
  13537. "imagepath": {
  13538. "description": "图片",
  13539. "type": "string"
  13540. },
  13541. "isshow": {
  13542. "description": "是否展示 - 0:不展示 1:展示",
  13543. "type": "integer"
  13544. },
  13545. "modifierid": {
  13546. "description": "操作人",
  13547. "type": "integer"
  13548. },
  13549. "recsize": {
  13550. "description": "推荐尺寸",
  13551. "type": "string"
  13552. },
  13553. "title": {
  13554. "description": "标题",
  13555. "type": "string"
  13556. },
  13557. "updatedate": {
  13558. "description": "更新时间",
  13559. "type": "string"
  13560. },
  13561. "urlcontent": {
  13562. "description": "链接(地址或商品ID)",
  13563. "type": "string"
  13564. },
  13565. "urltype": {
  13566. "description": "链接类型 - 1:直接地址 2:商品ID",
  13567. "type": "integer"
  13568. }
  13569. }
  13570. },
  13571. "models.Division": {
  13572. "type": "object",
  13573. "required": [
  13574. "autoid",
  13575. "divisioncode"
  13576. ],
  13577. "properties": {
  13578. "autoid": {
  13579. "description": "自增ID",
  13580. "type": "integer"
  13581. },
  13582. "divisioncode": {
  13583. "description": "行政代码",
  13584. "type": "string"
  13585. },
  13586. "divisionlevel": {
  13587. "description": "行政级别",
  13588. "type": "string"
  13589. },
  13590. "divisionname": {
  13591. "description": "行政名称",
  13592. "type": "string"
  13593. },
  13594. "modifierid": {
  13595. "description": "修改人",
  13596. "type": "integer"
  13597. },
  13598. "modifytime": {
  13599. "description": "修改时间",
  13600. "type": "string"
  13601. },
  13602. "parentcode": {
  13603. "description": "上级行政代码",
  13604. "type": "string"
  13605. },
  13606. "pathname": {
  13607. "description": "路径名称",
  13608. "type": "string"
  13609. },
  13610. "postcode": {
  13611. "description": "邮政编码",
  13612. "type": "string"
  13613. },
  13614. "separablename": {
  13615. "description": "可拆分的全称",
  13616. "type": "string"
  13617. },
  13618. "shortcode": {
  13619. "description": "地区简码",
  13620. "type": "string"
  13621. }
  13622. }
  13623. },
  13624. "models.Enumdicitem": {
  13625. "type": "object",
  13626. "required": [
  13627. "autoid",
  13628. "enumdiccode",
  13629. "enumdicid",
  13630. "enumitemname"
  13631. ],
  13632. "properties": {
  13633. "autoid": {
  13634. "description": "自增ID",
  13635. "type": "integer"
  13636. },
  13637. "bankmappedvalue": {
  13638. "description": "银行服务对应值",
  13639. "type": "string"
  13640. },
  13641. "enumdiccode": {
  13642. "description": "所属枚举代码",
  13643. "type": "string"
  13644. },
  13645. "enumdicid": {
  13646. "description": "所属枚举ID",
  13647. "type": "integer"
  13648. },
  13649. "enumdicname": {
  13650. "description": "枚举项名称",
  13651. "type": "string"
  13652. },
  13653. "enumitemname": {
  13654. "description": "枚举项值",
  13655. "type": "integer"
  13656. },
  13657. "enumitemstatus": {
  13658. "description": "枚举项状态 - 1.启用 2.不启用",
  13659. "type": "integer"
  13660. },
  13661. "enumitemvalue": {
  13662. "description": "通用值 - [币种通用简写]",
  13663. "type": "string"
  13664. },
  13665. "param1": {
  13666. "description": "参数1[币种:币种小数位]",
  13667. "type": "string"
  13668. },
  13669. "param2": {
  13670. "description": "参数1[币种:币种显示单位]",
  13671. "type": "string"
  13672. },
  13673. "remark": {
  13674. "description": "备注",
  13675. "type": "string"
  13676. }
  13677. }
  13678. },
  13679. "models.Ermcp3AreaSpot": {
  13680. "type": "object",
  13681. "properties": {
  13682. "areauserid": {
  13683. "description": "所属机构",
  13684. "type": "integer"
  13685. },
  13686. "decreaseqty": {
  13687. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13688. "type": "number"
  13689. },
  13690. "deliverygoodscode": {
  13691. "description": "现货品种代码",
  13692. "type": "string"
  13693. },
  13694. "deliverygoodsid": {
  13695. "description": "现货品种id",
  13696. "type": "integer"
  13697. },
  13698. "deliverygoodsname": {
  13699. "description": "现货品种名称",
  13700. "type": "string"
  13701. },
  13702. "enumdicname": {
  13703. "description": "单位名称",
  13704. "type": "string"
  13705. },
  13706. "goodsunitid": {
  13707. "description": "现货品种单位id",
  13708. "type": "integer"
  13709. },
  13710. "increaseqty": {
  13711. "description": "增加数量=销售计划数量+采购已定价数量",
  13712. "type": "number"
  13713. },
  13714. "oritoalspotqty": {
  13715. "description": "昨日数量",
  13716. "type": "number"
  13717. },
  13718. "totalspotqty": {
  13719. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13720. "type": "number"
  13721. },
  13722. "updatetime": {
  13723. "description": "更新时间",
  13724. "type": "string"
  13725. }
  13726. }
  13727. },
  13728. "models.Ermcp3AreaSpotDetail": {
  13729. "type": "object",
  13730. "properties": {
  13731. "contracttype": {
  13732. "description": "合同类型 1-采购 -1-销售",
  13733. "type": "integer"
  13734. },
  13735. "createtime": {
  13736. "description": "创建时间",
  13737. "type": "string"
  13738. },
  13739. "deliverygoodscode": {
  13740. "description": "现货品种代码",
  13741. "type": "string"
  13742. },
  13743. "deliverygoodsid": {
  13744. "description": "现货品种id",
  13745. "type": "integer"
  13746. },
  13747. "deliverygoodsname": {
  13748. "description": "现货品种名称",
  13749. "type": "string"
  13750. },
  13751. "enumdicname": {
  13752. "description": "现货商品单位名称",
  13753. "type": "string"
  13754. },
  13755. "logtype": {
  13756. "description": "记录类型 1-套保 2-现货合同",
  13757. "type": "integer"
  13758. },
  13759. "qty": {
  13760. "description": "数量",
  13761. "type": "number"
  13762. },
  13763. "recordname": {
  13764. "description": "类型名称",
  13765. "type": "string"
  13766. },
  13767. "relatedid": {
  13768. "description": "套保计划ID/现货合同ID",
  13769. "type": "string"
  13770. },
  13771. "relatedno": {
  13772. "description": "编号",
  13773. "type": "string"
  13774. },
  13775. "strtime": {
  13776. "description": "时间",
  13777. "type": "string"
  13778. }
  13779. }
  13780. },
  13781. "models.Ermcp3AreaSpotPLReport": {
  13782. "type": "object",
  13783. "properties": {
  13784. "accountid": {
  13785. "description": "期货账户ID (作废, 默认为0)",
  13786. "type": "integer"
  13787. },
  13788. "accountname": {
  13789. "description": "机构名称",
  13790. "type": "string"
  13791. },
  13792. "actualpl": {
  13793. "description": "现货损益",
  13794. "type": "number"
  13795. },
  13796. "areauserid": {
  13797. "description": "所属机构\\交易用户ID",
  13798. "type": "integer"
  13799. },
  13800. "begindate": {
  13801. "description": "开始交易日",
  13802. "type": "string"
  13803. },
  13804. "biztype": {
  13805. "description": "业务类型 - 1:套保 2:套利",
  13806. "type": "integer"
  13807. },
  13808. "brandname": {
  13809. "description": "品牌名称",
  13810. "type": "string"
  13811. },
  13812. "curamount": {
  13813. "description": "期末额",
  13814. "type": "number"
  13815. },
  13816. "curaverageprice": {
  13817. "description": "期末均价",
  13818. "type": "number"
  13819. },
  13820. "curbuyamount": {
  13821. "description": "期末采购总额",
  13822. "type": "number"
  13823. },
  13824. "curbuyqty": {
  13825. "description": "期末采购总量",
  13826. "type": "number"
  13827. },
  13828. "curmarketvalue": {
  13829. "description": "参考市值(期末市值)",
  13830. "type": "number"
  13831. },
  13832. "curqty": {
  13833. "description": "期末量",
  13834. "type": "number"
  13835. },
  13836. "currencyid": {
  13837. "description": "结算币种ID【原值】",
  13838. "type": "integer"
  13839. },
  13840. "currencyname": {
  13841. "description": "币种名称",
  13842. "type": "string"
  13843. },
  13844. "cursellamount": {
  13845. "description": "期末销售总额",
  13846. "type": "number"
  13847. },
  13848. "cursellqty": {
  13849. "description": "期末销售总量",
  13850. "type": "number"
  13851. },
  13852. "curspotprice": {
  13853. "description": "参考市价(最新价)",
  13854. "type": "number"
  13855. },
  13856. "cycletime": {
  13857. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13858. "type": "string"
  13859. },
  13860. "cycletype": {
  13861. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13862. "type": "integer"
  13863. },
  13864. "deliverygoodscode": {
  13865. "description": "现货商品代码",
  13866. "type": "string"
  13867. },
  13868. "deliverygoodsid": {
  13869. "description": "现货品种ID",
  13870. "type": "integer"
  13871. },
  13872. "deliverygoodsname": {
  13873. "description": "现货商品名称",
  13874. "type": "string"
  13875. },
  13876. "enddate": {
  13877. "description": "结束交易日",
  13878. "type": "string"
  13879. },
  13880. "enumdicname": {
  13881. "description": "现货商品单位名称",
  13882. "type": "string"
  13883. },
  13884. "floatpl": {
  13885. "description": "浮动损益",
  13886. "type": "number"
  13887. },
  13888. "goodsunitid": {
  13889. "description": "现货商品单位id",
  13890. "type": "integer"
  13891. },
  13892. "oriamount": {
  13893. "description": "期初额",
  13894. "type": "number"
  13895. },
  13896. "oriaverageprice": {
  13897. "description": "期初均价",
  13898. "type": "number"
  13899. },
  13900. "oribuyamount": {
  13901. "description": "期初采购总额",
  13902. "type": "number"
  13903. },
  13904. "oribuyqty": {
  13905. "description": "期初采购总量",
  13906. "type": "number"
  13907. },
  13908. "oriqty": {
  13909. "description": "期初量",
  13910. "type": "number"
  13911. },
  13912. "orisellamount": {
  13913. "description": "期初销售总额",
  13914. "type": "number"
  13915. },
  13916. "orisellqty": {
  13917. "description": "期初销售总量",
  13918. "type": "number"
  13919. },
  13920. "reckondate": {
  13921. "description": "日照时期(yyyyMMdd)",
  13922. "type": "string"
  13923. },
  13924. "spotgoodsbrandid": {
  13925. "description": "现货品牌ID",
  13926. "type": "integer"
  13927. },
  13928. "todaybuyamount": {
  13929. "description": "今日采购额(今采购额)",
  13930. "type": "number"
  13931. },
  13932. "todaybuyaverageprice": {
  13933. "description": "今日采购均价",
  13934. "type": "number"
  13935. },
  13936. "todaybuyqty": {
  13937. "description": "今日采购量(今采购量)",
  13938. "type": "number"
  13939. },
  13940. "todayinqty": {
  13941. "description": "今日入库量(今入库量)",
  13942. "type": "number"
  13943. },
  13944. "todayoutqty": {
  13945. "description": "今日出库量(今出库量)",
  13946. "type": "number"
  13947. },
  13948. "todaysellamount": {
  13949. "description": "今日销售额(今销售额)",
  13950. "type": "number"
  13951. },
  13952. "todaysellaverageprice": {
  13953. "description": "今日销售均价",
  13954. "type": "number"
  13955. },
  13956. "todaysellqty": {
  13957. "description": "今日销售量(今销售量)",
  13958. "type": "number"
  13959. },
  13960. "unitid": {
  13961. "description": "品类单位id",
  13962. "type": "integer"
  13963. },
  13964. "unitidname": {
  13965. "description": "品类单位名称",
  13966. "type": "string"
  13967. },
  13968. "updatetime": {
  13969. "description": "更新时间",
  13970. "type": "string"
  13971. },
  13972. "wrfactortypeid": {
  13973. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13974. "type": "integer"
  13975. },
  13976. "wrstandardcode": {
  13977. "description": "品类代码",
  13978. "type": "string"
  13979. },
  13980. "wrstandardid": {
  13981. "description": "现货品类ID",
  13982. "type": "integer"
  13983. },
  13984. "wrstandardname": {
  13985. "description": "品类名称",
  13986. "type": "string"
  13987. }
  13988. }
  13989. },
  13990. "models.Ermcp3AreaStock": {
  13991. "type": "object",
  13992. "required": [
  13993. "userid"
  13994. ],
  13995. "properties": {
  13996. "brandname": {
  13997. "description": "品牌名称",
  13998. "type": "string"
  13999. },
  14000. "curstock": {
  14001. "description": "期末库存量(今日量)",
  14002. "type": "number"
  14003. },
  14004. "deliverygoodscode": {
  14005. "description": "现货品种代码",
  14006. "type": "string"
  14007. },
  14008. "deliverygoodsid": {
  14009. "description": "现货品种id",
  14010. "type": "integer"
  14011. },
  14012. "deliverygoodsname": {
  14013. "description": "现货品种名称",
  14014. "type": "string"
  14015. },
  14016. "enumdicname": {
  14017. "description": "单位名称",
  14018. "type": "string"
  14019. },
  14020. "goodsunitid": {
  14021. "description": "现货商品单位id",
  14022. "type": "integer"
  14023. },
  14024. "oristock": {
  14025. "description": "期初库存量(昨日量)",
  14026. "type": "number"
  14027. },
  14028. "spotgoodsbrandid": {
  14029. "description": "现货品牌ID",
  14030. "type": "integer"
  14031. },
  14032. "todaybuyinqty": {
  14033. "description": "今日采购入库量",
  14034. "type": "number"
  14035. },
  14036. "todayproduceinqty": {
  14037. "description": "今日生产入库量",
  14038. "type": "number"
  14039. },
  14040. "todayproduceoutqty": {
  14041. "description": "今日生产出库量",
  14042. "type": "number"
  14043. },
  14044. "todayselloutqty": {
  14045. "description": "今日销售出库量",
  14046. "type": "number"
  14047. },
  14048. "unitid": {
  14049. "description": "单位id",
  14050. "type": "integer"
  14051. },
  14052. "updatetime": {
  14053. "description": "更新时间",
  14054. "type": "string"
  14055. },
  14056. "userid": {
  14057. "description": "机构ID",
  14058. "type": "integer"
  14059. },
  14060. "username": {
  14061. "description": "机构名称",
  14062. "type": "string"
  14063. },
  14064. "warehousecode": {
  14065. "description": "仓库代码",
  14066. "type": "string"
  14067. },
  14068. "warehouseinfoid": {
  14069. "description": "仓库ID",
  14070. "type": "string"
  14071. },
  14072. "warehousename": {
  14073. "description": "仓库名称",
  14074. "type": "string"
  14075. },
  14076. "warehousetype": {
  14077. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14078. "type": "integer"
  14079. },
  14080. "wrstandardcode": {
  14081. "description": "品类代码",
  14082. "type": "string"
  14083. },
  14084. "wrstandardid": {
  14085. "description": "品类ID",
  14086. "type": "string"
  14087. },
  14088. "wrstandardname": {
  14089. "description": "品类名称",
  14090. "type": "string"
  14091. }
  14092. }
  14093. },
  14094. "models.Ermcp3AreaStockApply": {
  14095. "type": "object",
  14096. "properties": {
  14097. "applyid": {
  14098. "description": "申请人",
  14099. "type": "integer"
  14100. },
  14101. "applyname": {
  14102. "description": "申请人名称",
  14103. "type": "string"
  14104. },
  14105. "applyremark": {
  14106. "description": "申请备注",
  14107. "type": "string"
  14108. },
  14109. "applysrc": {
  14110. "description": "申请来源 - 1:管理端 2:终端",
  14111. "type": "integer"
  14112. },
  14113. "applystatus": {
  14114. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14115. "type": "integer"
  14116. },
  14117. "applytime": {
  14118. "description": "申请时间",
  14119. "type": "string"
  14120. },
  14121. "auditid": {
  14122. "description": "审核人",
  14123. "type": "integer"
  14124. },
  14125. "auditname": {
  14126. "description": "审核人名称",
  14127. "type": "string"
  14128. },
  14129. "auditremark": {
  14130. "description": "审核备注",
  14131. "type": "string"
  14132. },
  14133. "auditsrc": {
  14134. "description": "审核来源 - 1:管理端 2:终端",
  14135. "type": "integer"
  14136. },
  14137. "audittime": {
  14138. "description": "审核时间",
  14139. "type": "string"
  14140. },
  14141. "audittradedate": {
  14142. "description": "审核交易日(yyyyMMdd)",
  14143. "type": "string"
  14144. },
  14145. "brandname": {
  14146. "description": "品牌名称",
  14147. "type": "string"
  14148. },
  14149. "buynickname": {
  14150. "description": "采购方昵称",
  14151. "type": "string"
  14152. },
  14153. "buyuserid": {
  14154. "description": "采购方userid",
  14155. "type": "integer"
  14156. },
  14157. "buyusername": {
  14158. "description": "采购方名称",
  14159. "type": "string"
  14160. },
  14161. "contractno": {
  14162. "description": "合同编号",
  14163. "type": "string"
  14164. },
  14165. "contractqty": {
  14166. "description": "合同量",
  14167. "type": "number"
  14168. },
  14169. "contracttype": {
  14170. "description": "现货合同类型 - 1:采购 -1:销售",
  14171. "type": "integer"
  14172. },
  14173. "deliverygoodscode": {
  14174. "description": "现货品种代码",
  14175. "type": "string"
  14176. },
  14177. "deliverygoodsid": {
  14178. "description": "现货品种id",
  14179. "type": "integer"
  14180. },
  14181. "deliverygoodsname": {
  14182. "description": "现货品种名称",
  14183. "type": "string"
  14184. },
  14185. "detailjson": {
  14186. "description": "明细数据",
  14187. "type": "string"
  14188. },
  14189. "enumdicname": {
  14190. "description": "现货商品单位名称",
  14191. "type": "string"
  14192. },
  14193. "inoutapplyid": {
  14194. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  14195. "type": "string"
  14196. },
  14197. "inouttype": {
  14198. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  14199. "type": "integer"
  14200. },
  14201. "pricetype": {
  14202. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14203. "type": "integer"
  14204. },
  14205. "qty": {
  14206. "description": "数量",
  14207. "type": "number"
  14208. },
  14209. "sellnickname": {
  14210. "description": "销售方昵称",
  14211. "type": "string"
  14212. },
  14213. "selluserid": {
  14214. "description": "销售方userid",
  14215. "type": "integer"
  14216. },
  14217. "sellusername": {
  14218. "description": "销售方名称",
  14219. "type": "string"
  14220. },
  14221. "spotcontractid": {
  14222. "description": "关联现货合同ID",
  14223. "type": "string"
  14224. },
  14225. "spotgoodsbrandid": {
  14226. "description": "现货品牌ID",
  14227. "type": "integer"
  14228. },
  14229. "unitid": {
  14230. "description": "单位id",
  14231. "type": "integer"
  14232. },
  14233. "userid": {
  14234. "description": "机构ID",
  14235. "type": "integer"
  14236. },
  14237. "warehousecode": {
  14238. "description": "仓库代码",
  14239. "type": "string"
  14240. },
  14241. "warehouseinfoid": {
  14242. "description": "现货仓库ID",
  14243. "type": "string"
  14244. },
  14245. "warehousename": {
  14246. "description": "仓库名称",
  14247. "type": "string"
  14248. },
  14249. "warehousetype": {
  14250. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14251. "type": "integer"
  14252. },
  14253. "wrstandardcode": {
  14254. "description": "品类代码",
  14255. "type": "string"
  14256. },
  14257. "wrstandardid": {
  14258. "description": "品类ID",
  14259. "type": "integer"
  14260. },
  14261. "wrstandardname": {
  14262. "description": "品类名称",
  14263. "type": "string"
  14264. }
  14265. }
  14266. },
  14267. "models.Ermcp3AreaStockApplySum": {
  14268. "type": "object",
  14269. "properties": {
  14270. "brandname": {
  14271. "description": "品牌名称",
  14272. "type": "string"
  14273. },
  14274. "inouttype": {
  14275. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  14276. "type": "integer"
  14277. },
  14278. "spotcontractid": {
  14279. "description": "关联现货合同ID",
  14280. "type": "string"
  14281. },
  14282. "spotgoodsbrandid": {
  14283. "description": "品牌id",
  14284. "type": "integer"
  14285. },
  14286. "totalqty": {
  14287. "description": "总数量",
  14288. "type": "number"
  14289. },
  14290. "wrstandardid": {
  14291. "description": "品类id",
  14292. "type": "integer"
  14293. },
  14294. "wrstandardname": {
  14295. "description": "品类名称",
  14296. "type": "string"
  14297. }
  14298. }
  14299. },
  14300. "models.Ermcp3AreaStockReportEx": {
  14301. "type": "object",
  14302. "properties": {
  14303. "begindate": {
  14304. "description": "开始交易日",
  14305. "type": "string"
  14306. },
  14307. "brandname": {
  14308. "description": "品牌名称",
  14309. "type": "string"
  14310. },
  14311. "curstock": {
  14312. "description": "期末库存量",
  14313. "type": "number"
  14314. },
  14315. "cycletime": {
  14316. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14317. "type": "string"
  14318. },
  14319. "cycletype": {
  14320. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14321. "type": "integer"
  14322. },
  14323. "deliverygoodscode": {
  14324. "description": "现货品种代码",
  14325. "type": "string"
  14326. },
  14327. "deliverygoodsid": {
  14328. "description": "现货品种id",
  14329. "type": "integer"
  14330. },
  14331. "deliverygoodsname": {
  14332. "description": "现货品种名称",
  14333. "type": "string"
  14334. },
  14335. "diffqty": {
  14336. "description": "库存变化量 = 期末 - 期初",
  14337. "type": "number"
  14338. },
  14339. "enddate": {
  14340. "description": "结束交易日",
  14341. "type": "string"
  14342. },
  14343. "enumdicname": {
  14344. "description": "单位名称",
  14345. "type": "string"
  14346. },
  14347. "goodsunitid": {
  14348. "description": "现货单位id",
  14349. "type": "integer"
  14350. },
  14351. "oristock": {
  14352. "description": "期初库存量",
  14353. "type": "number"
  14354. },
  14355. "reckondate": {
  14356. "description": "日照时期(yyyyMMdd)",
  14357. "type": "string"
  14358. },
  14359. "spotgoodsbrandid": {
  14360. "description": "现货品牌ID",
  14361. "type": "integer"
  14362. },
  14363. "todaybuyinqty": {
  14364. "description": "今采购入库量",
  14365. "type": "number"
  14366. },
  14367. "todayproduceinqty": {
  14368. "description": "今内部入库量",
  14369. "type": "number"
  14370. },
  14371. "todayproduceoutqty": {
  14372. "description": "今内部出库量",
  14373. "type": "number"
  14374. },
  14375. "todayselloutqty": {
  14376. "description": "今销售出库量",
  14377. "type": "number"
  14378. },
  14379. "unbuyinqty": {
  14380. "description": "采购未入库量(数据库未找到相关字段?)",
  14381. "type": "number"
  14382. },
  14383. "unitid": {
  14384. "description": "品类单位id",
  14385. "type": "integer"
  14386. },
  14387. "unselloutqty": {
  14388. "description": "销售未出库量(数据库未找到相关字段?)",
  14389. "type": "number"
  14390. },
  14391. "updatetime": {
  14392. "description": "更新时间",
  14393. "type": "string"
  14394. },
  14395. "userid": {
  14396. "description": "机构ID",
  14397. "type": "integer"
  14398. },
  14399. "username": {
  14400. "description": "机构名称",
  14401. "type": "string"
  14402. },
  14403. "warehousecode": {
  14404. "description": "仓库代码",
  14405. "type": "string"
  14406. },
  14407. "warehouseinfoid": {
  14408. "description": "仓库ID",
  14409. "type": "string"
  14410. },
  14411. "warehousename": {
  14412. "description": "仓库名称",
  14413. "type": "string"
  14414. },
  14415. "warehousetype": {
  14416. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14417. "type": "integer"
  14418. },
  14419. "wrstandardcode": {
  14420. "description": "品类代码",
  14421. "type": "string"
  14422. },
  14423. "wrstandardid": {
  14424. "description": "品类ID",
  14425. "type": "integer"
  14426. },
  14427. "wrstandardname": {
  14428. "description": "品类名称",
  14429. "type": "string"
  14430. }
  14431. }
  14432. },
  14433. "models.Ermcp3ArealSumPL": {
  14434. "type": "object",
  14435. "properties": {
  14436. "accountname": {
  14437. "description": "机构名称",
  14438. "type": "string"
  14439. },
  14440. "areauserid": {
  14441. "description": "所属机构\\交易用户ID",
  14442. "type": "integer"
  14443. },
  14444. "begindate": {
  14445. "description": "开始交易日",
  14446. "type": "string"
  14447. },
  14448. "currencyid": {
  14449. "description": "结算币种ID",
  14450. "type": "integer"
  14451. },
  14452. "currencyname": {
  14453. "description": "币种名称",
  14454. "type": "string"
  14455. },
  14456. "cycletime": {
  14457. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14458. "type": "string"
  14459. },
  14460. "cycletype": {
  14461. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14462. "type": "integer"
  14463. },
  14464. "enddate": {
  14465. "description": "结束交易日",
  14466. "type": "string"
  14467. },
  14468. "enumdicname": {
  14469. "description": "单位名称(套保品种)",
  14470. "type": "string"
  14471. },
  14472. "futureactualpl": {
  14473. "description": "期货损益",
  14474. "type": "number"
  14475. },
  14476. "futurefloatpl": {
  14477. "description": "期货浮动损益",
  14478. "type": "number"
  14479. },
  14480. "goodsunitid": {
  14481. "description": "套保品种单位id",
  14482. "type": "integer"
  14483. },
  14484. "middlegoodscode": {
  14485. "description": "套保品种代码",
  14486. "type": "string"
  14487. },
  14488. "middlegoodsid": {
  14489. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  14490. "type": "integer"
  14491. },
  14492. "middlegoodsname": {
  14493. "description": "套保品种名称",
  14494. "type": "string"
  14495. },
  14496. "reckondate": {
  14497. "description": "日照时期(yyyyMMdd)",
  14498. "type": "string"
  14499. },
  14500. "spotactualpl": {
  14501. "description": "现货损益",
  14502. "type": "number"
  14503. },
  14504. "spotfloatpl": {
  14505. "description": "现货浮动损益",
  14506. "type": "number"
  14507. },
  14508. "sumactualpl": {
  14509. "description": "实际损益 = (ActualPL + FutureActualPL)",
  14510. "type": "number"
  14511. },
  14512. "sumpl": {
  14513. "description": "汇总损益",
  14514. "type": "number"
  14515. },
  14516. "updatetime": {
  14517. "description": "更新时间",
  14518. "type": "string"
  14519. }
  14520. }
  14521. },
  14522. "models.Ermcp3Brand": {
  14523. "type": "object",
  14524. "properties": {
  14525. "areauserid": {
  14526. "description": "用户id",
  14527. "type": "integer"
  14528. },
  14529. "brandid": {
  14530. "description": "品牌id",
  14531. "type": "integer"
  14532. },
  14533. "brandname": {
  14534. "description": "品牌名称",
  14535. "type": "string"
  14536. },
  14537. "deliverygoodsid": {
  14538. "description": "品种ID",
  14539. "type": "integer"
  14540. }
  14541. }
  14542. },
  14543. "models.Ermcp3Contract": {
  14544. "type": "object",
  14545. "properties": {
  14546. "accountid": {
  14547. "description": "期货账户id",
  14548. "type": "string"
  14549. },
  14550. "amount": {
  14551. "description": "金额 [1:一口价、3:暂定价]",
  14552. "type": "number"
  14553. },
  14554. "attachment": {
  14555. "description": "附件",
  14556. "type": "string"
  14557. },
  14558. "auditremark": {
  14559. "description": "审核意见",
  14560. "type": "string"
  14561. },
  14562. "audittime": {
  14563. "description": "审核时间",
  14564. "type": "string"
  14565. },
  14566. "biztype": {
  14567. "description": "业务类型 1-套保 2-套利",
  14568. "type": "integer"
  14569. },
  14570. "brandname": {
  14571. "description": "品牌名称",
  14572. "type": "string"
  14573. },
  14574. "buynickname": {
  14575. "description": "销售方昵称",
  14576. "type": "string"
  14577. },
  14578. "buyuserid": {
  14579. "description": "采购方ID",
  14580. "type": "integer"
  14581. },
  14582. "buyusername": {
  14583. "description": "采购方名称",
  14584. "type": "string"
  14585. },
  14586. "contracctstatus": {
  14587. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14588. "type": "integer"
  14589. },
  14590. "contractmargin": {
  14591. "description": "合同保证金",
  14592. "type": "number"
  14593. },
  14594. "contractno": {
  14595. "description": "现货合同编号",
  14596. "type": "string"
  14597. },
  14598. "contracttype": {
  14599. "description": "现货合同类型 - 1:采购 -1:销售",
  14600. "type": "integer"
  14601. },
  14602. "convertfactor": {
  14603. "description": "标仓系数(品类)",
  14604. "type": "number"
  14605. },
  14606. "createtime": {
  14607. "description": "创建时间",
  14608. "type": "string"
  14609. },
  14610. "currencyid": {
  14611. "description": "币种id",
  14612. "type": "integer"
  14613. },
  14614. "currencyname": {
  14615. "description": "币种名称",
  14616. "type": "string"
  14617. },
  14618. "deliveryenddate": {
  14619. "description": "交收期(结束)",
  14620. "type": "string"
  14621. },
  14622. "deliverygoodscode": {
  14623. "description": "现货品种代码",
  14624. "type": "string"
  14625. },
  14626. "deliverygoodsid": {
  14627. "description": "现货品种ID",
  14628. "type": "integer"
  14629. },
  14630. "deliverygoodsname": {
  14631. "description": "现货品种名称",
  14632. "type": "string"
  14633. },
  14634. "deliverystartdate": {
  14635. "description": "交收期(开始)",
  14636. "type": "string"
  14637. },
  14638. "enddate": {
  14639. "description": "点价结束日期 [2:点价 3:暂定价]",
  14640. "type": "string"
  14641. },
  14642. "enumdicname": {
  14643. "description": "单位名称",
  14644. "type": "string"
  14645. },
  14646. "goodscode": {
  14647. "description": "点价合约代码",
  14648. "type": "string"
  14649. },
  14650. "goodsid": {
  14651. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14652. "type": "integer"
  14653. },
  14654. "goodsname": {
  14655. "description": "点价商品名称",
  14656. "type": "string"
  14657. },
  14658. "margin": {
  14659. "description": "当前保证金",
  14660. "type": "number"
  14661. },
  14662. "meruserid": {
  14663. "description": "跟单员id",
  14664. "type": "integer"
  14665. },
  14666. "meruserlogincode": {
  14667. "description": "跟单员登录代码",
  14668. "type": "string"
  14669. },
  14670. "price": {
  14671. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14672. "type": "number"
  14673. },
  14674. "pricemove": {
  14675. "description": "升贴水 [2:点价 3:暂定价]",
  14676. "type": "number"
  14677. },
  14678. "pricetype": {
  14679. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14680. "type": "integer"
  14681. },
  14682. "producttype": {
  14683. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14684. "type": "integer"
  14685. },
  14686. "qty": {
  14687. "description": "数量",
  14688. "type": "number"
  14689. },
  14690. "remark": {
  14691. "description": "备注",
  14692. "type": "string"
  14693. },
  14694. "saleuserid": {
  14695. "description": "业务员id",
  14696. "type": "integer"
  14697. },
  14698. "saleuserlogincode": {
  14699. "description": "业务员登录代码",
  14700. "type": "string"
  14701. },
  14702. "sellnickname": {
  14703. "description": "采购方昵称",
  14704. "type": "string"
  14705. },
  14706. "selluserid": {
  14707. "description": "销售方ID",
  14708. "type": "integer"
  14709. },
  14710. "sellusername": {
  14711. "description": "销售方名称",
  14712. "type": "string"
  14713. },
  14714. "spotcontractid": {
  14715. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14716. "type": "string"
  14717. },
  14718. "spotgoodsbrandid": {
  14719. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14720. "type": "integer"
  14721. },
  14722. "spotgoodsdesc": {
  14723. "description": "商品型号",
  14724. "type": "string"
  14725. },
  14726. "startdate": {
  14727. "description": "点价开始日期 [2:点价 3:暂定价]",
  14728. "type": "string"
  14729. },
  14730. "tradeuserid": {
  14731. "description": "交易员id",
  14732. "type": "integer"
  14733. },
  14734. "tradeuserlogincode": {
  14735. "description": "交易员登录代码",
  14736. "type": "string"
  14737. },
  14738. "tradeusername": {
  14739. "description": "交易员名称",
  14740. "type": "string"
  14741. },
  14742. "unitid": {
  14743. "description": "单位id(取品类上的单位id)",
  14744. "type": "integer"
  14745. },
  14746. "updatetime": {
  14747. "description": "更新时间",
  14748. "type": "string"
  14749. },
  14750. "userid": {
  14751. "description": "所属机构ID",
  14752. "type": "integer"
  14753. },
  14754. "wrstandardcode": {
  14755. "description": "品类代码",
  14756. "type": "string"
  14757. },
  14758. "wrstandardid": {
  14759. "description": "品类ID",
  14760. "type": "integer"
  14761. },
  14762. "wrstandardname": {
  14763. "description": "品类名称",
  14764. "type": "string"
  14765. }
  14766. }
  14767. },
  14768. "models.Ermcp3ExposureContractDetail": {
  14769. "type": "object",
  14770. "properties": {
  14771. "biztype": {
  14772. "description": "业务类型 1-套保 2-套利",
  14773. "type": "integer"
  14774. },
  14775. "brandname": {
  14776. "description": "品牌名称",
  14777. "type": "string"
  14778. },
  14779. "buyuserid": {
  14780. "description": "采购方id",
  14781. "type": "integer"
  14782. },
  14783. "buyusername": {
  14784. "description": "采购方名称",
  14785. "type": "string"
  14786. },
  14787. "contractno": {
  14788. "description": "合同编号",
  14789. "type": "string"
  14790. },
  14791. "contracttype": {
  14792. "description": "现货合同类型 - 1:采购 -1:销售",
  14793. "type": "integer"
  14794. },
  14795. "convertfactor": {
  14796. "description": "标仓系数",
  14797. "type": "number"
  14798. },
  14799. "convertratio": {
  14800. "description": "折算系数(套保品种)",
  14801. "type": "number"
  14802. },
  14803. "curqty": {
  14804. "description": "今定价量",
  14805. "type": "number"
  14806. },
  14807. "deliverygoodscode": {
  14808. "description": "现货商品代码",
  14809. "type": "string"
  14810. },
  14811. "deliverygoodsid": {
  14812. "description": "现货商品id",
  14813. "type": "integer"
  14814. },
  14815. "deliverygoodsname": {
  14816. "description": "现货商品名称",
  14817. "type": "string"
  14818. },
  14819. "diffhedgeqty": {
  14820. "description": "套保变动量",
  14821. "type": "number"
  14822. },
  14823. "diffneedhedgeqty": {
  14824. "description": "应套保变动量",
  14825. "type": "number"
  14826. },
  14827. "diffqty": {
  14828. "description": "套保品种今变动量",
  14829. "type": "number"
  14830. },
  14831. "enumdicname": {
  14832. "description": "单位名称",
  14833. "type": "string"
  14834. },
  14835. "middlegoodscode": {
  14836. "description": "套保品种代码",
  14837. "type": "string"
  14838. },
  14839. "middlegoodsid": {
  14840. "description": "套保品种id",
  14841. "type": "integer"
  14842. },
  14843. "middlegoodsname": {
  14844. "description": "套保品种名称",
  14845. "type": "string"
  14846. },
  14847. "needarbitrageratio": {
  14848. "description": "应套利比例",
  14849. "type": "number"
  14850. },
  14851. "needhedgeratio": {
  14852. "description": "应套保比例",
  14853. "type": "number"
  14854. },
  14855. "pricedqty": {
  14856. "description": "已定价量",
  14857. "type": "number"
  14858. },
  14859. "qty": {
  14860. "description": "合同量",
  14861. "type": "number"
  14862. },
  14863. "selluserid": {
  14864. "description": "销售方id",
  14865. "type": "integer"
  14866. },
  14867. "sellusername": {
  14868. "description": "销售方名称",
  14869. "type": "string"
  14870. },
  14871. "spotcontractid": {
  14872. "description": "合同id",
  14873. "type": "string"
  14874. },
  14875. "todaypricedqty": {
  14876. "description": "今定价量",
  14877. "type": "number"
  14878. },
  14879. "tradedate": {
  14880. "description": "交易日",
  14881. "type": "string"
  14882. },
  14883. "unitid": {
  14884. "description": "品类单位id",
  14885. "type": "integer"
  14886. },
  14887. "userid": {
  14888. "description": "机构id",
  14889. "type": "integer"
  14890. },
  14891. "wrstandardcode": {
  14892. "description": "品类代码",
  14893. "type": "string"
  14894. },
  14895. "wrstandardid": {
  14896. "description": "品类id",
  14897. "type": "integer"
  14898. },
  14899. "wrstandardname": {
  14900. "description": "品类名称",
  14901. "type": "string"
  14902. }
  14903. }
  14904. },
  14905. "models.Ermcp3ExposureDetail": {
  14906. "type": "object",
  14907. "properties": {
  14908. "areauserid": {
  14909. "description": "机构ID",
  14910. "type": "integer"
  14911. },
  14912. "changeQty": {
  14913. "description": "套保变动量",
  14914. "type": "number"
  14915. },
  14916. "contracttype": {
  14917. "description": "现货合同类型 - 1:采购 -1:销售",
  14918. "type": "integer"
  14919. },
  14920. "convertfactor": {
  14921. "description": "标仓系数",
  14922. "type": "number"
  14923. },
  14924. "convertratio": {
  14925. "description": "套保系数",
  14926. "type": "number"
  14927. },
  14928. "createtime": {
  14929. "description": "时间",
  14930. "type": "string"
  14931. },
  14932. "deliverygoodscode": {
  14933. "description": "现货品种代码",
  14934. "type": "string"
  14935. },
  14936. "deliverygoodsid": {
  14937. "description": "现货品种id",
  14938. "type": "integer"
  14939. },
  14940. "deliverygoodsname": {
  14941. "description": "现货品种名称",
  14942. "type": "string"
  14943. },
  14944. "enumdicname": {
  14945. "description": "现货商品单位名称",
  14946. "type": "string"
  14947. },
  14948. "logtype": {
  14949. "description": "类型 - 1:套保计划 2:现货合同",
  14950. "type": "integer"
  14951. },
  14952. "mgunitid": {
  14953. "description": "套保品种单位id",
  14954. "type": "integer"
  14955. },
  14956. "mgunitidname": {
  14957. "description": "套保品种单位名称",
  14958. "type": "string"
  14959. },
  14960. "middlegoodsId": {
  14961. "description": "套保商品id",
  14962. "type": "integer"
  14963. },
  14964. "middlegoodscode": {
  14965. "description": "套保商品代码",
  14966. "type": "string"
  14967. },
  14968. "middlegoodsname": {
  14969. "description": "套保商品名称",
  14970. "type": "string"
  14971. },
  14972. "qty": {
  14973. "description": "数量",
  14974. "type": "number"
  14975. },
  14976. "relateNo": {
  14977. "description": "现货合同/套保计划编号",
  14978. "type": "string"
  14979. }
  14980. }
  14981. },
  14982. "models.Ermcp3ExposureFutuDetail": {
  14983. "type": "object",
  14984. "properties": {
  14985. "accountid": {
  14986. "description": "交易账户id",
  14987. "type": "integer"
  14988. },
  14989. "accountname": {
  14990. "description": "交易账户",
  14991. "type": "string"
  14992. },
  14993. "begindate": {
  14994. "description": "开始交易日",
  14995. "type": "string"
  14996. },
  14997. "buyorsell": {
  14998. "description": "方向 0-买 1-卖",
  14999. "type": "integer"
  15000. },
  15001. "diffmgqty": {
  15002. "description": "套保品种今变化量",
  15003. "type": "number"
  15004. },
  15005. "diffneedqty": {
  15006. "description": "应套保总量变化量",
  15007. "type": "number"
  15008. },
  15009. "difftradeqty": {
  15010. "description": "交易品种今变化量",
  15011. "type": "number"
  15012. },
  15013. "enddate": {
  15014. "description": "结束交易日",
  15015. "type": "string"
  15016. },
  15017. "enumdicname": {
  15018. "description": "单位名称",
  15019. "type": "string"
  15020. },
  15021. "goodscode": {
  15022. "description": "商品代码",
  15023. "type": "string"
  15024. },
  15025. "goodsid": {
  15026. "description": "商品id",
  15027. "type": "integer"
  15028. },
  15029. "goodsname": {
  15030. "description": "商品名称",
  15031. "type": "string"
  15032. },
  15033. "holdqty": {
  15034. "description": "期末持仓量",
  15035. "type": "number"
  15036. },
  15037. "middlegoodscode": {
  15038. "description": "套保商品代码",
  15039. "type": "string"
  15040. },
  15041. "middlegoodsid": {
  15042. "description": "套保商品id",
  15043. "type": "integer"
  15044. },
  15045. "middlegoodsname": {
  15046. "description": "套保商品名称",
  15047. "type": "string"
  15048. },
  15049. "oriholdqty": {
  15050. "description": "期初持仓量",
  15051. "type": "number"
  15052. },
  15053. "todaycloseqty": {
  15054. "description": "今平仓量",
  15055. "type": "number"
  15056. },
  15057. "todayopenqty": {
  15058. "description": "今开仓量",
  15059. "type": "number"
  15060. },
  15061. "tradedate": {
  15062. "description": "交易日",
  15063. "type": "string"
  15064. }
  15065. }
  15066. },
  15067. "models.Ermcp3ExposureHedgeplanDetail": {
  15068. "type": "object",
  15069. "properties": {
  15070. "biztype": {
  15071. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  15072. "type": "integer"
  15073. },
  15074. "changqty": {
  15075. "description": "应套保总量变化量",
  15076. "type": "number"
  15077. },
  15078. "contracttype": {
  15079. "description": "计划类型 - 1:采购 -1:销售",
  15080. "type": "integer"
  15081. },
  15082. "convertratio": {
  15083. "description": "折算系数(套保品种)",
  15084. "type": "number"
  15085. },
  15086. "deliverygoodscode": {
  15087. "description": "现货商品代码",
  15088. "type": "string"
  15089. },
  15090. "deliverygoodsid": {
  15091. "description": "现货商品id",
  15092. "type": "integer"
  15093. },
  15094. "deliverygoodsname": {
  15095. "description": "现货商吕名称",
  15096. "type": "string"
  15097. },
  15098. "dgunitid": {
  15099. "description": "现货商品单位id",
  15100. "type": "integer"
  15101. },
  15102. "dgunitidname": {
  15103. "description": "单位名称(现货商品)",
  15104. "type": "string"
  15105. },
  15106. "diffqty": {
  15107. "description": "套保品种今变动量",
  15108. "type": "number"
  15109. },
  15110. "enumdicname": {
  15111. "description": "单位名称(品类)",
  15112. "type": "string"
  15113. },
  15114. "hedgeplanid": {
  15115. "description": "套保计划id",
  15116. "type": "string"
  15117. },
  15118. "hedgeplanno": {
  15119. "description": "套保计划名称",
  15120. "type": "string"
  15121. },
  15122. "hedgeplanstatus": {
  15123. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15124. "type": "integer"
  15125. },
  15126. "mgunitidname": {
  15127. "description": "单位名称(套保商品)",
  15128. "type": "string"
  15129. },
  15130. "middlegoodscode": {
  15131. "description": "套保品种代码",
  15132. "type": "string"
  15133. },
  15134. "middlegoodsid": {
  15135. "description": "套保品种id",
  15136. "type": "integer"
  15137. },
  15138. "middlegoodsname": {
  15139. "description": "套保品种名称",
  15140. "type": "string"
  15141. },
  15142. "needarbitrageratio": {
  15143. "description": "应套利比例",
  15144. "type": "number"
  15145. },
  15146. "needhedgeratio": {
  15147. "description": "应套保比例",
  15148. "type": "number"
  15149. },
  15150. "pricedqty": {
  15151. "description": "已定价量",
  15152. "type": "number"
  15153. },
  15154. "qty": {
  15155. "description": "合同量",
  15156. "type": "number"
  15157. },
  15158. "tradedate": {
  15159. "description": "交易日(登记日)",
  15160. "type": "string"
  15161. },
  15162. "unitid": {
  15163. "description": "品类单位id",
  15164. "type": "integer"
  15165. },
  15166. "userid": {
  15167. "description": "机构id",
  15168. "type": "integer"
  15169. },
  15170. "wrstandardcode": {
  15171. "description": "品类代码",
  15172. "type": "string"
  15173. },
  15174. "wrstandardid": {
  15175. "description": "品类id",
  15176. "type": "integer"
  15177. },
  15178. "wrstandardname": {
  15179. "description": "品类名称",
  15180. "type": "string"
  15181. }
  15182. }
  15183. },
  15184. "models.Ermcp3ExpourseReport": {
  15185. "type": "object",
  15186. "properties": {
  15187. "accountid": {
  15188. "description": "期货账户ID (作废, 默认为0)",
  15189. "type": "integer"
  15190. },
  15191. "accountname": {
  15192. "description": "机构名称",
  15193. "type": "string"
  15194. },
  15195. "arbitrageqty": {
  15196. "description": "套利量",
  15197. "type": "number"
  15198. },
  15199. "areauserid": {
  15200. "description": "所属机构\\交易用户ID",
  15201. "type": "integer"
  15202. },
  15203. "begindate": {
  15204. "description": "开始交易日",
  15205. "type": "string"
  15206. },
  15207. "buyfutureqty": {
  15208. "description": "买入期货数量",
  15209. "type": "number"
  15210. },
  15211. "buyplanqty": {
  15212. "description": "采购计划数量",
  15213. "type": "number"
  15214. },
  15215. "buypricedqty": {
  15216. "description": "采购合同已定价数量",
  15217. "type": "number"
  15218. },
  15219. "cycletime": {
  15220. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15221. "type": "string"
  15222. },
  15223. "cycletype": {
  15224. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15225. "type": "integer"
  15226. },
  15227. "diffexposure": {
  15228. "description": "变动量(套保敞口)",
  15229. "type": "number"
  15230. },
  15231. "difffutuqty": {
  15232. "description": "变动量(期货)",
  15233. "type": "number"
  15234. },
  15235. "diffhedgeqty": {
  15236. "description": "变动量(现货应套保总量)",
  15237. "type": "number"
  15238. },
  15239. "diffmgqtya": {
  15240. "description": "套保变动量",
  15241. "type": "number"
  15242. },
  15243. "diffmgqtyb": {
  15244. "description": "套利变动量",
  15245. "type": "number"
  15246. },
  15247. "diffqty": {
  15248. "description": "变动量(总敞口)",
  15249. "type": "number"
  15250. },
  15251. "diffspotqty": {
  15252. "description": "变动量(现货)",
  15253. "type": "number"
  15254. },
  15255. "enddate": {
  15256. "description": "结束交易日",
  15257. "type": "string"
  15258. },
  15259. "enumdicname": {
  15260. "description": "单位名称",
  15261. "type": "string"
  15262. },
  15263. "hedgeqty": {
  15264. "description": "套保量",
  15265. "type": "number"
  15266. },
  15267. "mgneedhedgeratio": {
  15268. "description": "套保比例(套保品的)",
  15269. "type": "number"
  15270. },
  15271. "middlegoodsid": {
  15272. "description": "套保品种ID",
  15273. "type": "integer"
  15274. },
  15275. "middlegoodsname": {
  15276. "description": "套保商品名称",
  15277. "type": "string"
  15278. },
  15279. "middlgoodscode": {
  15280. "description": "套保商品代码",
  15281. "type": "string"
  15282. },
  15283. "needarbitrageqty": {
  15284. "description": "应套利量",
  15285. "type": "number"
  15286. },
  15287. "needarbitrageratio": {
  15288. "description": "套利比例(套保品的)",
  15289. "type": "number"
  15290. },
  15291. "needhedgeexposoure": {
  15292. "description": "应套保敞口(套保敞口)",
  15293. "type": "number"
  15294. },
  15295. "needhedgeqty": {
  15296. "description": "应套保量",
  15297. "type": "number"
  15298. },
  15299. "needhedgeratio": {
  15300. "description": "应套保敞口比例",
  15301. "type": "number"
  15302. },
  15303. "oriarbitrageqty": {
  15304. "description": "期初套利量",
  15305. "type": "number"
  15306. },
  15307. "oribuyfutureqty": {
  15308. "description": "期初买入期货数量",
  15309. "type": "number"
  15310. },
  15311. "oribuyplanqty": {
  15312. "description": "期初采购计划数量",
  15313. "type": "number"
  15314. },
  15315. "oribuypricedqty": {
  15316. "description": "期初采购合同已定价数量",
  15317. "type": "number"
  15318. },
  15319. "orihedgeqty": {
  15320. "description": "期初套保量",
  15321. "type": "number"
  15322. },
  15323. "orineedarbitrageqty": {
  15324. "description": "期初应套利量",
  15325. "type": "number"
  15326. },
  15327. "orineedhedgeexposoure": {
  15328. "description": "期初应套保敞口",
  15329. "type": "number"
  15330. },
  15331. "orineedhedgeqty": {
  15332. "description": "期初应套保量",
  15333. "type": "number"
  15334. },
  15335. "orisellfutureqty": {
  15336. "description": "期初卖出期货数量",
  15337. "type": "number"
  15338. },
  15339. "orisellplanqty": {
  15340. "description": "期初销售计划数量",
  15341. "type": "number"
  15342. },
  15343. "orisellpricedqty": {
  15344. "description": "期初销售合同已定价数量",
  15345. "type": "number"
  15346. },
  15347. "oritotalexposure": {
  15348. "description": "期初实时总敞口",
  15349. "type": "number"
  15350. },
  15351. "oritotalfutureqty": {
  15352. "description": "期初期货头寸总量",
  15353. "type": "number"
  15354. },
  15355. "oritotalneedhedgeqty": {
  15356. "description": "期初应套保总量",
  15357. "type": "number"
  15358. },
  15359. "oritotalspotqty": {
  15360. "description": "期初现货头寸总量",
  15361. "type": "number"
  15362. },
  15363. "reckondate": {
  15364. "description": "日照时期(yyyyMMdd)",
  15365. "type": "string"
  15366. },
  15367. "sellfutureqty": {
  15368. "description": "卖出期货数量",
  15369. "type": "number"
  15370. },
  15371. "sellplanqty": {
  15372. "description": "销售计划数量",
  15373. "type": "number"
  15374. },
  15375. "sellpricedqty": {
  15376. "description": "销售合同已定价数量",
  15377. "type": "number"
  15378. },
  15379. "totalexposure": {
  15380. "description": "实时总敞口(总敞口)",
  15381. "type": "number"
  15382. },
  15383. "totalfutureqty": {
  15384. "description": "期货头寸总量(期货总量)",
  15385. "type": "number"
  15386. },
  15387. "totalhedgeratio": {
  15388. "description": "敞口比例",
  15389. "type": "number"
  15390. },
  15391. "totalneedhedgeqty": {
  15392. "description": "应套保总量(现货应套保总量)",
  15393. "type": "number"
  15394. },
  15395. "totalspotqty": {
  15396. "description": "现货头寸总量",
  15397. "type": "number"
  15398. },
  15399. "unitid": {
  15400. "description": "单位id",
  15401. "type": "integer"
  15402. },
  15403. "updatetime": {
  15404. "description": "更新时间",
  15405. "type": "string"
  15406. }
  15407. }
  15408. },
  15409. "models.Ermcp3FinanceReport": {
  15410. "type": "object",
  15411. "properties": {
  15412. "accountname": {
  15413. "description": "机构名称",
  15414. "type": "string"
  15415. },
  15416. "areauserid": {
  15417. "description": "所属机构\\交易用户ID",
  15418. "type": "integer"
  15419. },
  15420. "begindate": {
  15421. "description": "开始交易日",
  15422. "type": "string"
  15423. },
  15424. "biztype": {
  15425. "description": "业务类型 - 1:套保 2:套利",
  15426. "type": "integer"
  15427. },
  15428. "brandname": {
  15429. "description": "品牌名称",
  15430. "type": "string"
  15431. },
  15432. "buypreinvoicedamount": {
  15433. "description": "采购预收票额(预收票额)",
  15434. "type": "number"
  15435. },
  15436. "buyprepaidamount": {
  15437. "description": "采购预付款额(预付货款额)",
  15438. "type": "number"
  15439. },
  15440. "buytodayinvoiceamount": {
  15441. "description": "采购今收票额(今收票额)",
  15442. "type": "number"
  15443. },
  15444. "buytodayrefundamount": {
  15445. "description": "采购今收退款额(今收退款额)",
  15446. "type": "number"
  15447. },
  15448. "buytodaysettleamount": {
  15449. "description": "采购今付款额(今付货款额)",
  15450. "type": "number"
  15451. },
  15452. "buyuninvoicedamount": {
  15453. "description": "采购应收票额(应收票额)",
  15454. "type": "number"
  15455. },
  15456. "buyunpaidamount": {
  15457. "description": "采购应付款额(应付货款额)",
  15458. "type": "number"
  15459. },
  15460. "currencyid": {
  15461. "description": "结算币种ID",
  15462. "type": "integer"
  15463. },
  15464. "currencyname": {
  15465. "description": "币种名称",
  15466. "type": "string"
  15467. },
  15468. "cycletime": {
  15469. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15470. "type": "string"
  15471. },
  15472. "cycletype": {
  15473. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15474. "type": "integer"
  15475. },
  15476. "deliverygoodscode": {
  15477. "description": "现货品种代码",
  15478. "type": "string"
  15479. },
  15480. "deliverygoodsid": {
  15481. "description": "现货品种ID",
  15482. "type": "integer"
  15483. },
  15484. "deliverygoodsname": {
  15485. "description": "现货品种名称",
  15486. "type": "string"
  15487. },
  15488. "enddate": {
  15489. "description": "结束交易日",
  15490. "type": "string"
  15491. },
  15492. "reckondate": {
  15493. "description": "日照时期(yyyyMMdd)",
  15494. "type": "string"
  15495. },
  15496. "sellpreinvoicedamount": {
  15497. "description": "销售预开票额(预开票额)",
  15498. "type": "number"
  15499. },
  15500. "sellprepaidamount": {
  15501. "description": "销售预收款额(预收货款额)",
  15502. "type": "number"
  15503. },
  15504. "selltodayinvoiceamount": {
  15505. "description": "销售今开票额(今开票额)",
  15506. "type": "number"
  15507. },
  15508. "selltodayrefundamount": {
  15509. "description": "销售今付退款额(今付退款额)",
  15510. "type": "number"
  15511. },
  15512. "selltodaysettleamount": {
  15513. "description": "销售今收款额(今收货款额)",
  15514. "type": "number"
  15515. },
  15516. "selluninvoicedamount": {
  15517. "description": "销售应开票额(应开票额)",
  15518. "type": "number"
  15519. },
  15520. "sellunpaidamount": {
  15521. "description": "销售应收款额(应收货款额)",
  15522. "type": "number"
  15523. },
  15524. "spotgoodsbrandid": {
  15525. "description": "现货品牌ID",
  15526. "type": "integer"
  15527. },
  15528. "todaypaysum": {
  15529. "description": "今付款合计",
  15530. "type": "number"
  15531. },
  15532. "todayreceivesum": {
  15533. "description": "今收款合计",
  15534. "type": "number"
  15535. },
  15536. "updatetime": {
  15537. "description": "更新时间",
  15538. "type": "string"
  15539. },
  15540. "wrfactortypeid": {
  15541. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15542. "type": "integer"
  15543. },
  15544. "wrstandardcode": {
  15545. "description": "品类代码",
  15546. "type": "string"
  15547. },
  15548. "wrstandardid": {
  15549. "description": "现货商品ID",
  15550. "type": "integer"
  15551. },
  15552. "wrstandardname": {
  15553. "description": "品类名称",
  15554. "type": "string"
  15555. }
  15556. }
  15557. },
  15558. "models.Ermcp3Goods": {
  15559. "type": "object",
  15560. "properties": {
  15561. "agreeunit": {
  15562. "description": "合约单位(合约乘数)",
  15563. "type": "number"
  15564. },
  15565. "enumdicname": {
  15566. "description": "单位名称",
  15567. "type": "string"
  15568. },
  15569. "exexchangecode": {
  15570. "description": "交易所代码",
  15571. "type": "string"
  15572. },
  15573. "goodscode": {
  15574. "description": "期货商品代码",
  15575. "type": "string"
  15576. },
  15577. "goodsid": {
  15578. "description": "期货商品id",
  15579. "type": "integer"
  15580. },
  15581. "goodsname": {
  15582. "description": "期货商品名称",
  15583. "type": "string"
  15584. }
  15585. }
  15586. },
  15587. "models.Ermcp3GoodsGroup": {
  15588. "type": "object",
  15589. "required": [
  15590. "areauserid"
  15591. ],
  15592. "properties": {
  15593. "agreeunit": {
  15594. "description": "合约单位",
  15595. "type": "number"
  15596. },
  15597. "areauserid": {
  15598. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  15599. "type": "integer"
  15600. },
  15601. "canshort": {
  15602. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15603. "type": "integer"
  15604. },
  15605. "closepricemode": {
  15606. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15607. "type": "integer"
  15608. },
  15609. "createtime": {
  15610. "description": "创建时间",
  15611. "type": "string"
  15612. },
  15613. "creatorid": {
  15614. "description": "创建人",
  15615. "type": "integer"
  15616. },
  15617. "currencyid": {
  15618. "description": "报价货币ID",
  15619. "type": "integer"
  15620. },
  15621. "decimalplace": {
  15622. "description": "报价小数位",
  15623. "type": "integer"
  15624. },
  15625. "enumdicname": {
  15626. "description": "单位名称",
  15627. "type": "string"
  15628. },
  15629. "exchangefullname": {
  15630. "description": "交易所全称",
  15631. "type": "string"
  15632. },
  15633. "excludecfg": {
  15634. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  15635. "type": "integer"
  15636. },
  15637. "exexchangecode": {
  15638. "description": "交易所代码",
  15639. "type": "string"
  15640. },
  15641. "exexchangeid": {
  15642. "description": "外部交易所ID[通道交易]",
  15643. "type": "integer"
  15644. },
  15645. "exexchangename": {
  15646. "description": "交易所名称",
  15647. "type": "string"
  15648. },
  15649. "goodsgroupid": {
  15650. "description": "商品组ID(自增ID)",
  15651. "type": "integer"
  15652. },
  15653. "goodsgroupname": {
  15654. "description": "商品组名称",
  15655. "type": "string"
  15656. },
  15657. "goodsgroupstatus": {
  15658. "description": "商品组状态 - 1:正常 2:注销",
  15659. "type": "integer"
  15660. },
  15661. "goodunitid": {
  15662. "description": "报价单位ID",
  15663. "type": "integer"
  15664. },
  15665. "groupcategroyid": {
  15666. "description": "品种分类ID",
  15667. "type": "integer"
  15668. },
  15669. "innerdealmode": {
  15670. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15671. "type": "integer"
  15672. },
  15673. "marketid": {
  15674. "description": "所属市场ID",
  15675. "type": "integer"
  15676. },
  15677. "modifierid": {
  15678. "description": "修改人",
  15679. "type": "integer"
  15680. },
  15681. "modifytime": {
  15682. "description": "修改时间",
  15683. "type": "string"
  15684. },
  15685. "outerdealmode": {
  15686. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15687. "type": "integer"
  15688. },
  15689. "outergroupcode": {
  15690. "description": "外部商品组代码[通道交易]",
  15691. "type": "string"
  15692. },
  15693. "quoteminunit": {
  15694. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15695. "type": "integer"
  15696. },
  15697. "quotesourcegroupid": {
  15698. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  15699. "type": "integer"
  15700. },
  15701. "syncgoodsqty": {
  15702. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  15703. "type": "integer"
  15704. }
  15705. }
  15706. },
  15707. "models.Ermcp3GoodsGroupEx": {
  15708. "type": "object",
  15709. "properties": {
  15710. "convertratio": {
  15711. "description": "折算系数(品种系数)",
  15712. "type": "number"
  15713. },
  15714. "enumdicname": {
  15715. "description": "单位名称",
  15716. "type": "string"
  15717. },
  15718. "exexchangecode": {
  15719. "description": "交易所代码",
  15720. "type": "string"
  15721. },
  15722. "glist": {
  15723. "description": "合约列表",
  15724. "type": "array",
  15725. "items": {
  15726. "$ref": "#/definitions/models.Ermcp3Goods"
  15727. }
  15728. },
  15729. "goodsgroupid": {
  15730. "description": "商品组id",
  15731. "type": "integer"
  15732. },
  15733. "goodsgroupname": {
  15734. "description": "商品组名称",
  15735. "type": "string"
  15736. },
  15737. "goodsunitid": {
  15738. "description": "单位id",
  15739. "type": "integer"
  15740. },
  15741. "middlegoodsid": {
  15742. "description": "套保商品id",
  15743. "type": "integer"
  15744. }
  15745. }
  15746. },
  15747. "models.Ermcp3HedgePlan": {
  15748. "type": "object",
  15749. "properties": {
  15750. "accountid": {
  15751. "description": "资金账号",
  15752. "type": "integer"
  15753. },
  15754. "areauserid": {
  15755. "description": "用户ID",
  15756. "type": "integer"
  15757. },
  15758. "audittime": {
  15759. "description": "审核时间",
  15760. "type": "string"
  15761. },
  15762. "contracttype": {
  15763. "description": "计划类型 - 1:采购 -1:销售",
  15764. "type": "integer"
  15765. },
  15766. "convertfactor": {
  15767. "description": "标仓系数",
  15768. "type": "number"
  15769. },
  15770. "createtime": {
  15771. "description": "创建时间",
  15772. "type": "string"
  15773. },
  15774. "currencyid": {
  15775. "description": "币种id",
  15776. "type": "integer"
  15777. },
  15778. "currencyname": {
  15779. "description": "币种名称",
  15780. "type": "string"
  15781. },
  15782. "deliverygoodscode": {
  15783. "description": "现货品种代码",
  15784. "type": "string"
  15785. },
  15786. "deliverygoodsid": {
  15787. "description": "现货品种ID",
  15788. "type": "integer"
  15789. },
  15790. "deliverygoodsname": {
  15791. "description": "现货品种名称",
  15792. "type": "string"
  15793. },
  15794. "enumdicname": {
  15795. "description": "单位名称(现货商品)",
  15796. "type": "string"
  15797. },
  15798. "hedgeplanid": {
  15799. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  15800. "type": "string"
  15801. },
  15802. "hedgeplanno": {
  15803. "description": "套保计划编号(名称)",
  15804. "type": "string"
  15805. },
  15806. "hedgeplanstatus": {
  15807. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15808. "type": "integer"
  15809. },
  15810. "planqty": {
  15811. "description": "计划数量",
  15812. "type": "number"
  15813. },
  15814. "plantime": {
  15815. "description": "计划时间",
  15816. "type": "string"
  15817. },
  15818. "producttype": {
  15819. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15820. "type": "integer"
  15821. },
  15822. "remark": {
  15823. "description": "备注",
  15824. "type": "string"
  15825. },
  15826. "spotgoodsdesc": {
  15827. "description": "商品型号",
  15828. "type": "string"
  15829. },
  15830. "taaccountname": {
  15831. "description": "资金账号名称",
  15832. "type": "string"
  15833. },
  15834. "tradeuserid": {
  15835. "description": "交易用户id",
  15836. "type": "integer"
  15837. },
  15838. "tradeusername": {
  15839. "description": "交易用户名称",
  15840. "type": "string"
  15841. },
  15842. "unitid": {
  15843. "description": "单位id(现货商品)",
  15844. "type": "integer"
  15845. },
  15846. "updatetime": {
  15847. "description": "更新时间",
  15848. "type": "string"
  15849. },
  15850. "wrstandardcode": {
  15851. "description": "品类代码",
  15852. "type": "string"
  15853. },
  15854. "wrstandardid": {
  15855. "description": "品类id",
  15856. "type": "integer"
  15857. },
  15858. "wrstandardname": {
  15859. "description": "品类名称",
  15860. "type": "string"
  15861. },
  15862. "wrunitid": {
  15863. "description": "品类单位id",
  15864. "type": "integer"
  15865. },
  15866. "wrunitidame": {
  15867. "description": "品类单位名称",
  15868. "type": "string"
  15869. }
  15870. }
  15871. },
  15872. "models.Ermcp3MiddleGoodsDetail2": {
  15873. "type": "object",
  15874. "properties": {
  15875. "convertratio": {
  15876. "description": "套保系数(折算系数)",
  15877. "type": "number"
  15878. },
  15879. "gplist": {
  15880. "description": "关联商品组列表",
  15881. "type": "array",
  15882. "items": {
  15883. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  15884. }
  15885. },
  15886. "mg": {
  15887. "description": "套保商品信息",
  15888. "type": "object",
  15889. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15890. }
  15891. }
  15892. },
  15893. "models.Ermcp3MiddleGoodsDetailEx": {
  15894. "type": "object",
  15895. "properties": {
  15896. "dglist": {
  15897. "description": "关联的现货品种列表",
  15898. "type": "array",
  15899. "items": {
  15900. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  15901. }
  15902. },
  15903. "gplist": {
  15904. "description": "关联商品组列表",
  15905. "type": "array",
  15906. "items": {
  15907. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  15908. }
  15909. },
  15910. "mg": {
  15911. "description": "套保商品信息",
  15912. "type": "object",
  15913. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15914. }
  15915. }
  15916. },
  15917. "models.Ermcp3RootUserAccount": {
  15918. "type": "object",
  15919. "properties": {
  15920. "accountname": {
  15921. "description": "账户名称(机构名称)",
  15922. "type": "string"
  15923. },
  15924. "accountstatus": {
  15925. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  15926. "type": "integer"
  15927. },
  15928. "applysrc": {
  15929. "description": "申请来源 - 1:管理端 2:终端",
  15930. "type": "integer"
  15931. },
  15932. "auditremark": {
  15933. "description": "审核备注",
  15934. "type": "string"
  15935. },
  15936. "auditsrc": {
  15937. "description": "审核来源 - 1:管理端 2:终端",
  15938. "type": "integer"
  15939. },
  15940. "audittime": {
  15941. "description": "审核时间",
  15942. "type": "string"
  15943. },
  15944. "audituserid": {
  15945. "description": "审核人",
  15946. "type": "integer"
  15947. },
  15948. "broker": {
  15949. "description": "所属经纪人ID",
  15950. "type": "integer"
  15951. },
  15952. "canceltime": {
  15953. "description": "销户时间",
  15954. "type": "string"
  15955. },
  15956. "canceluserid": {
  15957. "description": "销户人",
  15958. "type": "integer"
  15959. },
  15960. "canrecommend": {
  15961. "description": "是否可推荐 - 0:不可 1;可",
  15962. "type": "integer"
  15963. },
  15964. "createtime": {
  15965. "description": "创建时间",
  15966. "type": "string"
  15967. },
  15968. "creatorid": {
  15969. "description": "创建人",
  15970. "type": "integer"
  15971. },
  15972. "hasauth": {
  15973. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15974. "type": "integer"
  15975. },
  15976. "isanonymous": {
  15977. "description": "是否匿名下单 - 0:否 1:是",
  15978. "type": "integer"
  15979. },
  15980. "maxinvestornum": {
  15981. "description": "最大用户数(经纪会员下投资者个数)",
  15982. "type": "integer"
  15983. },
  15984. "memberuserid": {
  15985. "description": "所属会员ID",
  15986. "type": "integer"
  15987. },
  15988. "modifierid": {
  15989. "description": "修改人",
  15990. "type": "integer"
  15991. },
  15992. "modifyremark": {
  15993. "description": "变更备注",
  15994. "type": "string"
  15995. },
  15996. "modifystatus": {
  15997. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15998. "type": "integer"
  15999. },
  16000. "modifytime": {
  16001. "description": "修改时间",
  16002. "type": "string"
  16003. },
  16004. "parenttopuser": {
  16005. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  16006. "type": "string"
  16007. },
  16008. "parentuserid": {
  16009. "description": "所属机构ID",
  16010. "type": "integer"
  16011. },
  16012. "reckonaccountid": {
  16013. "description": "默认结算资金账号ID(机构分润使用) 作废",
  16014. "type": "integer"
  16015. },
  16016. "refercount": {
  16017. "description": "推荐总人数",
  16018. "type": "integer"
  16019. },
  16020. "refereeuserid": {
  16021. "description": "推荐人ID",
  16022. "type": "integer"
  16023. },
  16024. "refernum": {
  16025. "description": "推荐码",
  16026. "type": "string"
  16027. },
  16028. "rootuserid": {
  16029. "description": "根用户ID",
  16030. "type": "integer"
  16031. },
  16032. "subaccountlevel": {
  16033. "description": "子账户层数",
  16034. "type": "integer"
  16035. },
  16036. "subarealevelpath": {
  16037. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  16038. "type": "string"
  16039. },
  16040. "userid": {
  16041. "description": "用户ID",
  16042. "type": "integer"
  16043. },
  16044. "usertype": {
  16045. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16046. "type": "integer"
  16047. }
  16048. }
  16049. },
  16050. "models.Ermcp3SellBuyContract": {
  16051. "type": "object",
  16052. "properties": {
  16053. "accountid": {
  16054. "description": "期货账户id",
  16055. "type": "string"
  16056. },
  16057. "accountname": {
  16058. "description": "账户名称",
  16059. "type": "string"
  16060. },
  16061. "attachment": {
  16062. "description": "附件",
  16063. "type": "string"
  16064. },
  16065. "audittime": {
  16066. "description": "审核时间",
  16067. "type": "string"
  16068. },
  16069. "biztype": {
  16070. "description": "业务类型 1-套保 2-套利",
  16071. "type": "integer"
  16072. },
  16073. "brandname": {
  16074. "description": "品牌名称",
  16075. "type": "string"
  16076. },
  16077. "contracctstatus": {
  16078. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16079. "type": "integer"
  16080. },
  16081. "contractmargin": {
  16082. "description": "合同保证金",
  16083. "type": "number"
  16084. },
  16085. "contractno": {
  16086. "description": "合同编号",
  16087. "type": "string"
  16088. },
  16089. "contracttype": {
  16090. "description": "合同类型 1-采购, -1-销售",
  16091. "type": "integer"
  16092. },
  16093. "convertfactor": {
  16094. "description": "标仓系数(品类)",
  16095. "type": "number"
  16096. },
  16097. "createtime": {
  16098. "description": "创建时间",
  16099. "type": "string"
  16100. },
  16101. "currencyid": {
  16102. "description": "币种id",
  16103. "type": "integer"
  16104. },
  16105. "currencyname": {
  16106. "description": "币种名称",
  16107. "type": "string"
  16108. },
  16109. "daikaiamount": {
  16110. "description": "应收(开)票额",
  16111. "type": "number"
  16112. },
  16113. "deliveryenddate": {
  16114. "description": "交割结束日",
  16115. "type": "string"
  16116. },
  16117. "deliverygoodscode": {
  16118. "description": "现货品种代码",
  16119. "type": "string"
  16120. },
  16121. "deliverygoodsid": {
  16122. "description": "现货商品ID",
  16123. "type": "integer"
  16124. },
  16125. "deliverygoodsname": {
  16126. "description": "现货品种名称",
  16127. "type": "string"
  16128. },
  16129. "deliverystartdate": {
  16130. "description": "交割开始日",
  16131. "type": "string"
  16132. },
  16133. "enddate": {
  16134. "description": "点价结束日",
  16135. "type": "string"
  16136. },
  16137. "enumdicname": {
  16138. "description": "单位名称",
  16139. "type": "string"
  16140. },
  16141. "goodscode": {
  16142. "description": "点价商品代码",
  16143. "type": "string"
  16144. },
  16145. "goodsid": {
  16146. "description": "点价商品ID",
  16147. "type": "integer"
  16148. },
  16149. "goodsname": {
  16150. "description": "点价商品名称",
  16151. "type": "string"
  16152. },
  16153. "invoiceamount": {
  16154. "description": "已开票额",
  16155. "type": "number"
  16156. },
  16157. "loanamount": {
  16158. "description": "贷款总额=已定价额+调整金额",
  16159. "type": "number"
  16160. },
  16161. "margin": {
  16162. "description": "保证金",
  16163. "type": "number"
  16164. },
  16165. "meruserid": {
  16166. "description": "跟单员id",
  16167. "type": "integer"
  16168. },
  16169. "meruserlogincode": {
  16170. "description": "跟单员登录代码",
  16171. "type": "string"
  16172. },
  16173. "nickname": {
  16174. "description": "账户昵称",
  16175. "type": "string"
  16176. },
  16177. "payamount": {
  16178. "description": "已收付额(收款或付款)",
  16179. "type": "number"
  16180. },
  16181. "preinvoiceamount": {
  16182. "description": "预收(开)票额",
  16183. "type": "number"
  16184. },
  16185. "prepayamount": {
  16186. "description": "预收付额",
  16187. "type": "number"
  16188. },
  16189. "price": {
  16190. "description": "价格",
  16191. "type": "number"
  16192. },
  16193. "pricedamount": {
  16194. "description": "已定价额",
  16195. "type": "number"
  16196. },
  16197. "pricedavg": {
  16198. "description": "已点均价",
  16199. "type": "number"
  16200. },
  16201. "pricedqty": {
  16202. "description": "已定价量",
  16203. "type": "number"
  16204. },
  16205. "pricemove": {
  16206. "description": "升贴水",
  16207. "type": "number"
  16208. },
  16209. "pricetype": {
  16210. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16211. "type": "integer"
  16212. },
  16213. "producttype": {
  16214. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16215. "type": "integer"
  16216. },
  16217. "qty": {
  16218. "description": "合同量",
  16219. "type": "number"
  16220. },
  16221. "reckonadjustamount": {
  16222. "description": "调整金额",
  16223. "type": "number"
  16224. },
  16225. "reckonedamount": {
  16226. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  16227. "type": "number"
  16228. },
  16229. "reckonotheramount": {
  16230. "description": "其它费用",
  16231. "type": "number"
  16232. },
  16233. "reckonrealqty": {
  16234. "description": "已确定量",
  16235. "type": "number"
  16236. },
  16237. "remark": {
  16238. "description": "备注",
  16239. "type": "string"
  16240. },
  16241. "saleuserid": {
  16242. "description": "业务员id",
  16243. "type": "integer"
  16244. },
  16245. "saleuserlogincode": {
  16246. "description": "业务员登录代码",
  16247. "type": "string"
  16248. },
  16249. "spotcontractid": {
  16250. "description": "合同ID",
  16251. "type": "string"
  16252. },
  16253. "spotgoodsbrandid": {
  16254. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16255. "type": "integer"
  16256. },
  16257. "spotgoodsdesc": {
  16258. "description": "商品型号(商品规格)",
  16259. "type": "string"
  16260. },
  16261. "startdate": {
  16262. "description": "点价开始日",
  16263. "type": "string"
  16264. },
  16265. "totalamount": {
  16266. "description": "合计总额",
  16267. "type": "number"
  16268. },
  16269. "tradeuserid": {
  16270. "description": "交易员id",
  16271. "type": "integer"
  16272. },
  16273. "tradeuserlogincode": {
  16274. "description": "交易员登录代码",
  16275. "type": "string"
  16276. },
  16277. "tradeusername": {
  16278. "description": "交易员名称",
  16279. "type": "string"
  16280. },
  16281. "unpayamount": {
  16282. "description": "应收付款额(应支付或应收款)",
  16283. "type": "number"
  16284. },
  16285. "unpricedqty": {
  16286. "description": "未定价量",
  16287. "type": "number"
  16288. },
  16289. "unsureqty": {
  16290. "description": "未确定量",
  16291. "type": "number"
  16292. },
  16293. "userid": {
  16294. "description": "机构ID",
  16295. "type": "integer"
  16296. },
  16297. "wrstandardcode": {
  16298. "description": "品类代码",
  16299. "type": "string"
  16300. },
  16301. "wrstandardid": {
  16302. "description": "品类ID",
  16303. "type": "integer"
  16304. },
  16305. "wrstandardname": {
  16306. "description": "品类名称",
  16307. "type": "string"
  16308. }
  16309. }
  16310. },
  16311. "models.Ermcp3SpotGoodsPrice": {
  16312. "type": "object",
  16313. "properties": {
  16314. "areauserid": {
  16315. "description": "所属机构id",
  16316. "type": "integer"
  16317. },
  16318. "brandname": {
  16319. "description": "品牌名称",
  16320. "type": "string"
  16321. },
  16322. "currencyid": {
  16323. "description": "报价货币ID",
  16324. "type": "integer"
  16325. },
  16326. "currencyname": {
  16327. "description": "币种名称",
  16328. "type": "string"
  16329. },
  16330. "deliverygoodscode": {
  16331. "description": "现货商品代码",
  16332. "type": "string"
  16333. },
  16334. "deliverygoodsid": {
  16335. "description": "现货商品id",
  16336. "type": "integer"
  16337. },
  16338. "deliverygoodsname": {
  16339. "description": "现货商品名称",
  16340. "type": "string"
  16341. },
  16342. "enumdicname": {
  16343. "description": "现货商品单位名称",
  16344. "type": "string"
  16345. },
  16346. "gbenumdicname": {
  16347. "description": "品类单位名称",
  16348. "type": "string"
  16349. },
  16350. "gmunitid": {
  16351. "description": "品类单位id",
  16352. "type": "integer"
  16353. },
  16354. "isvalid": {
  16355. "description": "是否有效 - 0:无效 1:有效",
  16356. "type": "integer"
  16357. },
  16358. "operateid": {
  16359. "description": "最后操作人",
  16360. "type": "integer"
  16361. },
  16362. "operatesrc": {
  16363. "description": "最后操作来源 - 1:管理端 2:终端",
  16364. "type": "integer"
  16365. },
  16366. "operatetime": {
  16367. "description": "最后操作时间",
  16368. "type": "string"
  16369. },
  16370. "operatorname": {
  16371. "description": "操作人名称",
  16372. "type": "string"
  16373. },
  16374. "spotgoodsbrandid": {
  16375. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16376. "type": "integer"
  16377. },
  16378. "spotgoodsprice": {
  16379. "description": "现货价格",
  16380. "type": "number"
  16381. },
  16382. "tradedate": {
  16383. "description": "交易日(yyyyMMdd)",
  16384. "type": "string"
  16385. },
  16386. "unitid": {
  16387. "description": "现货商品单位id",
  16388. "type": "integer"
  16389. },
  16390. "wrstandardcode": {
  16391. "description": "品类代码",
  16392. "type": "string"
  16393. },
  16394. "wrstandardid": {
  16395. "description": "现货品类ID(通用则为0)",
  16396. "type": "integer"
  16397. },
  16398. "wrstandardname": {
  16399. "description": "品类名称",
  16400. "type": "string"
  16401. }
  16402. }
  16403. },
  16404. "models.Ermcp3SpotGoodsPriceLog": {
  16405. "type": "object",
  16406. "properties": {
  16407. "areauserid": {
  16408. "description": "所属机构id",
  16409. "type": "integer"
  16410. },
  16411. "brandname": {
  16412. "description": "品牌名称",
  16413. "type": "string"
  16414. },
  16415. "currencyid": {
  16416. "description": "报价货币ID",
  16417. "type": "integer"
  16418. },
  16419. "deliverygoodscode": {
  16420. "description": "现货商品代码",
  16421. "type": "string"
  16422. },
  16423. "deliverygoodsid": {
  16424. "description": "现货商品id",
  16425. "type": "integer"
  16426. },
  16427. "deliverygoodsname": {
  16428. "description": "现货商品名称",
  16429. "type": "string"
  16430. },
  16431. "enumdicname": {
  16432. "description": "现货商品单位名称",
  16433. "type": "string"
  16434. },
  16435. "gbenumdicname": {
  16436. "description": "品类单位名称",
  16437. "type": "string"
  16438. },
  16439. "gmunitid": {
  16440. "description": "品类单位id",
  16441. "type": "integer"
  16442. },
  16443. "logid": {
  16444. "description": "日志id",
  16445. "type": "integer"
  16446. },
  16447. "operateid": {
  16448. "description": "最后操作人",
  16449. "type": "integer"
  16450. },
  16451. "operatesrc": {
  16452. "description": "最后操作来源 - 1:管理端 2:终端",
  16453. "type": "integer"
  16454. },
  16455. "operatetime": {
  16456. "description": "最后操作时间",
  16457. "type": "string"
  16458. },
  16459. "operatorname": {
  16460. "description": "操作人名称",
  16461. "type": "string"
  16462. },
  16463. "spotgoodsbrandid": {
  16464. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16465. "type": "integer"
  16466. },
  16467. "spotgoodsprice": {
  16468. "description": "现货价格",
  16469. "type": "number"
  16470. },
  16471. "tradedate": {
  16472. "description": "交易日(yyyyMMdd)",
  16473. "type": "string"
  16474. },
  16475. "unitid": {
  16476. "description": "现货商品单位id",
  16477. "type": "integer"
  16478. },
  16479. "wrstandardcode": {
  16480. "description": "品类代码",
  16481. "type": "string"
  16482. },
  16483. "wrstandardid": {
  16484. "description": "现货品类ID(通用则为0)",
  16485. "type": "integer"
  16486. },
  16487. "wrstandardname": {
  16488. "description": "品类名称",
  16489. "type": "string"
  16490. }
  16491. }
  16492. },
  16493. "models.Ermcp3TaFutuReDataReport": {
  16494. "type": "object",
  16495. "properties": {
  16496. "accountid": {
  16497. "description": "交易账户",
  16498. "type": "integer"
  16499. },
  16500. "accountname": {
  16501. "description": "交易账号名称",
  16502. "type": "string"
  16503. },
  16504. "begindate": {
  16505. "description": "开始交易日",
  16506. "type": "string"
  16507. },
  16508. "buyorsell": {
  16509. "description": "持仓方向",
  16510. "type": "integer"
  16511. },
  16512. "charge": {
  16513. "description": "手续费",
  16514. "type": "number"
  16515. },
  16516. "closeavgprice": {
  16517. "description": "平仓均价",
  16518. "type": "number"
  16519. },
  16520. "closepl": {
  16521. "description": "平仓损益",
  16522. "type": "number"
  16523. },
  16524. "currencyid": {
  16525. "description": "结算币种ID",
  16526. "type": "integer"
  16527. },
  16528. "cycletime": {
  16529. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16530. "type": "string"
  16531. },
  16532. "cycletype": {
  16533. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16534. "type": "integer"
  16535. },
  16536. "enddate": {
  16537. "description": "结束交易日",
  16538. "type": "string"
  16539. },
  16540. "enumdicname": {
  16541. "description": "单位名称(现货商品)",
  16542. "type": "string"
  16543. },
  16544. "floatpl": {
  16545. "description": "浮动损益",
  16546. "type": "number"
  16547. },
  16548. "goodscode": {
  16549. "description": "交易合约代码",
  16550. "type": "string"
  16551. },
  16552. "goodsgroupid": {
  16553. "description": "交易品种",
  16554. "type": "integer"
  16555. },
  16556. "goodsgroupname": {
  16557. "description": "交易品种名称",
  16558. "type": "string"
  16559. },
  16560. "goodsgroupspotqty": {
  16561. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  16562. "type": "number"
  16563. },
  16564. "goodsid": {
  16565. "description": "交易合约",
  16566. "type": "integer"
  16567. },
  16568. "goodsname": {
  16569. "description": "交易合约名称",
  16570. "type": "string"
  16571. },
  16572. "goodunitid": {
  16573. "description": "交易合约单位id",
  16574. "type": "integer"
  16575. },
  16576. "holdamount": {
  16577. "description": "期末持仓额",
  16578. "type": "number"
  16579. },
  16580. "holdqty": {
  16581. "description": "期末持仓量",
  16582. "type": "number"
  16583. },
  16584. "lastholdamount": {
  16585. "description": "当前持仓额",
  16586. "type": "number"
  16587. },
  16588. "lastprice": {
  16589. "description": "最新价",
  16590. "type": "number"
  16591. },
  16592. "middlegoodsqty": {
  16593. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  16594. "type": "number"
  16595. },
  16596. "openamount": {
  16597. "description": "期末开仓额",
  16598. "type": "number"
  16599. },
  16600. "openavgprice": {
  16601. "description": "开仓均价",
  16602. "type": "number"
  16603. },
  16604. "oriholdamount": {
  16605. "description": "期初持仓额",
  16606. "type": "number"
  16607. },
  16608. "oriholdqty": {
  16609. "description": "期初持仓量",
  16610. "type": "number"
  16611. },
  16612. "oriopenamount": {
  16613. "description": "期初开仓额",
  16614. "type": "number"
  16615. },
  16616. "outergroupcode": {
  16617. "description": "交易品种代码",
  16618. "type": "string"
  16619. },
  16620. "reckondate": {
  16621. "description": "日照时期(yyyyMMdd)",
  16622. "type": "string"
  16623. },
  16624. "reckonholdamount": {
  16625. "description": "结算持仓额",
  16626. "type": "number"
  16627. },
  16628. "reckonpl": {
  16629. "description": "结算损益",
  16630. "type": "number"
  16631. },
  16632. "reckonpl2": {
  16633. "description": "结算逐笔盈亏",
  16634. "type": "number"
  16635. },
  16636. "reckonprice": {
  16637. "description": "结算价",
  16638. "type": "number"
  16639. },
  16640. "relateduserid": {
  16641. "description": "账户关联用户ID",
  16642. "type": "integer"
  16643. },
  16644. "todaycloseamount": {
  16645. "description": "今平仓额",
  16646. "type": "number"
  16647. },
  16648. "todaycloseqty": {
  16649. "description": "今平仓量",
  16650. "type": "number"
  16651. },
  16652. "todaygoodsgroupspotqty": {
  16653. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  16654. "type": "number"
  16655. },
  16656. "todaymiddlegoodsqty": {
  16657. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  16658. "type": "number"
  16659. },
  16660. "todayopenamount": {
  16661. "description": "今开仓额",
  16662. "type": "number"
  16663. },
  16664. "todayopenqty": {
  16665. "description": "今开仓量",
  16666. "type": "number"
  16667. },
  16668. "userid": {
  16669. "description": "账户所属用户ID",
  16670. "type": "integer"
  16671. }
  16672. }
  16673. },
  16674. "models.Ermcp3Wrstandard": {
  16675. "type": "object",
  16676. "properties": {
  16677. "areauserid": {
  16678. "description": "所属机构",
  16679. "type": "integer"
  16680. },
  16681. "convertfactor": {
  16682. "description": "标仓系数",
  16683. "type": "number"
  16684. },
  16685. "createtime": {
  16686. "description": "创建时间",
  16687. "type": "string"
  16688. },
  16689. "creatorid": {
  16690. "description": "创建人",
  16691. "type": "integer"
  16692. },
  16693. "deliverygoodsid": {
  16694. "description": "现货品种ID",
  16695. "type": "integer"
  16696. },
  16697. "enumdicname": {
  16698. "description": "品类单位名称",
  16699. "type": "string"
  16700. },
  16701. "isvalid": {
  16702. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  16703. "type": "integer"
  16704. },
  16705. "minivalue": {
  16706. "description": "最小变动值",
  16707. "type": "integer"
  16708. },
  16709. "minivaluedp": {
  16710. "description": "最小变动值小数位",
  16711. "type": "integer"
  16712. },
  16713. "realminivalue": {
  16714. "description": "实际最小变动值",
  16715. "type": "integer"
  16716. },
  16717. "realminivaluedp": {
  16718. "description": "实际最小变动值小数位",
  16719. "type": "integer"
  16720. },
  16721. "remark": {
  16722. "description": "备注",
  16723. "type": "string"
  16724. },
  16725. "unitid": {
  16726. "description": "品类单位ID",
  16727. "type": "integer"
  16728. },
  16729. "updatetime": {
  16730. "description": "更新时间",
  16731. "type": "string"
  16732. },
  16733. "wrstandardcode": {
  16734. "description": "品类代码",
  16735. "type": "string"
  16736. },
  16737. "wrstandardid": {
  16738. "description": "品类ID(SEQ_WRSTANDARD)",
  16739. "type": "integer"
  16740. },
  16741. "wrstandardname": {
  16742. "description": "品类名称",
  16743. "type": "string"
  16744. }
  16745. }
  16746. },
  16747. "models.ErmcpAreaSpotDetailModel": {
  16748. "type": "object",
  16749. "properties": {
  16750. "contracttype": {
  16751. "description": "合同类型 1-采购 -1-销售",
  16752. "type": "integer"
  16753. },
  16754. "createtime": {
  16755. "description": "创建时间",
  16756. "type": "string"
  16757. },
  16758. "enumdicname": {
  16759. "description": "现货商品单位名称",
  16760. "type": "string"
  16761. },
  16762. "logtype": {
  16763. "description": "记录类型 1-套保 2-现货合同",
  16764. "type": "integer"
  16765. },
  16766. "qty": {
  16767. "description": "数量",
  16768. "type": "number"
  16769. },
  16770. "recordname": {
  16771. "description": "类型名称",
  16772. "type": "string"
  16773. },
  16774. "relatedid": {
  16775. "description": "套保计划ID/现货合同ID",
  16776. "type": "string"
  16777. },
  16778. "relatedno": {
  16779. "description": "编号",
  16780. "type": "string"
  16781. },
  16782. "strtime": {
  16783. "description": "时间",
  16784. "type": "string"
  16785. },
  16786. "wrstandardcode": {
  16787. "description": "现货商品代码",
  16788. "type": "string"
  16789. },
  16790. "wrstandardname": {
  16791. "description": "现货商品名称",
  16792. "type": "string"
  16793. }
  16794. }
  16795. },
  16796. "models.ErmcpAvalidGoodsGroupModel": {
  16797. "type": "object",
  16798. "properties": {
  16799. "goodsgroupid": {
  16800. "description": "期货品种id",
  16801. "type": "integer"
  16802. },
  16803. "goodsgroupname": {
  16804. "description": "期货品种名称",
  16805. "type": "string"
  16806. },
  16807. "goodunitid": {
  16808. "description": "品种单位id",
  16809. "type": "integer"
  16810. },
  16811. "goodunitname": {
  16812. "description": "品种单位名称",
  16813. "type": "string"
  16814. },
  16815. "outergroupcode": {
  16816. "description": "期货品种代码",
  16817. "type": "string"
  16818. }
  16819. }
  16820. },
  16821. "models.ErmcpBizGroupEx": {
  16822. "type": "object",
  16823. "properties": {
  16824. "acclist": {
  16825. "description": "账号列表",
  16826. "type": "array",
  16827. "items": {
  16828. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  16829. }
  16830. },
  16831. "bizgroupid": {
  16832. "description": "业务分组id",
  16833. "type": "integer"
  16834. },
  16835. "biztype": {
  16836. "description": "业务类型 1-套保 2-套利",
  16837. "type": "integer"
  16838. },
  16839. "wrlist": {
  16840. "description": "现货商品表",
  16841. "type": "array",
  16842. "items": {
  16843. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  16844. }
  16845. }
  16846. }
  16847. },
  16848. "models.ErmcpBizGroupSpotGoods": {
  16849. "type": "object",
  16850. "properties": {
  16851. "areauserid": {
  16852. "description": "所属机构id",
  16853. "type": "integer"
  16854. },
  16855. "bizgroupid": {
  16856. "description": "分组id",
  16857. "type": "integer"
  16858. },
  16859. "biztype": {
  16860. "description": "业务类型 1-套保 2-套利",
  16861. "type": "integer"
  16862. },
  16863. "deliverygoodscode": {
  16864. "description": "现货商品代码",
  16865. "type": "string"
  16866. },
  16867. "deliverygoodsid": {
  16868. "description": "现货商品id",
  16869. "type": "integer"
  16870. },
  16871. "deliverygoodsname": {
  16872. "description": "现货商品名称",
  16873. "type": "string"
  16874. },
  16875. "unitid": {
  16876. "description": "现货商品单位id",
  16877. "type": "integer"
  16878. }
  16879. }
  16880. },
  16881. "models.ErmcpBizGroupTaAccount": {
  16882. "type": "object",
  16883. "properties": {
  16884. "accountid": {
  16885. "description": "账号id",
  16886. "type": "integer"
  16887. },
  16888. "accountname": {
  16889. "description": "账号名称",
  16890. "type": "string"
  16891. },
  16892. "areauserid": {
  16893. "description": "所属机构id",
  16894. "type": "integer"
  16895. },
  16896. "bizgroupid": {
  16897. "description": "业务分组id",
  16898. "type": "integer"
  16899. },
  16900. "ismain": {
  16901. "description": "是否主账号 1-是 0-否",
  16902. "type": "integer"
  16903. }
  16904. }
  16905. },
  16906. "models.ErmcpDGFactoryItem": {
  16907. "type": "object",
  16908. "properties": {
  16909. "areauserid": {
  16910. "description": "用户id",
  16911. "type": "integer"
  16912. },
  16913. "deliverygoodsid": {
  16914. "description": "现货品种ID",
  16915. "type": "integer"
  16916. },
  16917. "dgfactoryitemid": {
  16918. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  16919. "type": "integer"
  16920. },
  16921. "dgfactoryitemtypeid": {
  16922. "description": "要素项类型",
  16923. "type": "integer"
  16924. },
  16925. "dgfactoryitemvalue": {
  16926. "description": "要素项值(类型为仓库时填写仓库名称)",
  16927. "type": "string"
  16928. },
  16929. "isvalid": {
  16930. "description": "是否有效 - 0:无效 1:有效",
  16931. "type": "integer"
  16932. },
  16933. "orderindex": {
  16934. "description": "顺序",
  16935. "type": "integer"
  16936. },
  16937. "warehouseid": {
  16938. "description": "仓库ID(类型为仓库时填写)",
  16939. "type": "integer"
  16940. }
  16941. }
  16942. },
  16943. "models.ErmcpDeliveryGoods": {
  16944. "type": "object",
  16945. "properties": {
  16946. "agreeunit": {
  16947. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  16948. "type": "integer"
  16949. },
  16950. "areauserid": {
  16951. "description": "所属机构",
  16952. "type": "integer"
  16953. },
  16954. "auditflag": {
  16955. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  16956. "type": "integer"
  16957. },
  16958. "categoryid": {
  16959. "description": "类别ID(SEQ_WRCATEGORY)",
  16960. "type": "integer"
  16961. },
  16962. "deliverygoodscode": {
  16963. "description": "现货品种代码",
  16964. "type": "string"
  16965. },
  16966. "deliverygoodsid": {
  16967. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  16968. "type": "integer"
  16969. },
  16970. "deliverygoodsname": {
  16971. "description": "现货品种名称",
  16972. "type": "string"
  16973. },
  16974. "deliverygoodstype": {
  16975. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  16976. "type": "integer"
  16977. },
  16978. "dgstatus": {
  16979. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  16980. "type": "integer"
  16981. },
  16982. "enumdicname": {
  16983. "description": "现货品种单位名称",
  16984. "type": "string"
  16985. },
  16986. "goodsunitid": {
  16987. "description": "现货品种单位ID",
  16988. "type": "integer"
  16989. },
  16990. "isvalid": {
  16991. "description": "是否有效 - 0:无效 1:有效",
  16992. "type": "integer"
  16993. },
  16994. "qtydecimalplace": {
  16995. "description": "成交量小数位",
  16996. "type": "integer"
  16997. },
  16998. "remark": {
  16999. "description": "备注",
  17000. "type": "string"
  17001. },
  17002. "standardqty": {
  17003. "description": "标准数量(库位数量) [标准品特有]",
  17004. "type": "integer"
  17005. },
  17006. "standardqtyrange": {
  17007. "description": "标准数量偏差范围 [标准品特有]",
  17008. "type": "integer"
  17009. }
  17010. }
  17011. },
  17012. "models.ErmcpDeliveryGoodsDetail2": {
  17013. "type": "object",
  17014. "properties": {
  17015. "convertratio": {
  17016. "description": "套保系数(折算系数)",
  17017. "type": "number"
  17018. },
  17019. "data": {
  17020. "description": "现货商品基本信息(交割品种)",
  17021. "type": "object",
  17022. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17023. },
  17024. "gblist": {
  17025. "description": "品牌列表",
  17026. "type": "array",
  17027. "items": {
  17028. "$ref": "#/definitions/models.Ermcp3Brand"
  17029. }
  17030. },
  17031. "gmlist": {
  17032. "description": "品类列表(仓单标准)",
  17033. "type": "array",
  17034. "items": {
  17035. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17036. }
  17037. }
  17038. }
  17039. },
  17040. "models.ErmcpDeliveryGoodsDetailEx": {
  17041. "type": "object",
  17042. "properties": {
  17043. "data": {
  17044. "description": "现货商品基本信息(交割品种)",
  17045. "type": "object",
  17046. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17047. },
  17048. "gblist": {
  17049. "description": "品牌列表",
  17050. "type": "array",
  17051. "items": {
  17052. "$ref": "#/definitions/models.Ermcp3Brand"
  17053. }
  17054. },
  17055. "gmlist": {
  17056. "description": "品类列表(仓单标准)",
  17057. "type": "array",
  17058. "items": {
  17059. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17060. }
  17061. },
  17062. "mgList": {
  17063. "description": "套保列表",
  17064. "type": "array",
  17065. "items": {
  17066. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  17067. }
  17068. }
  17069. }
  17070. },
  17071. "models.ErmcpExposureDetailModel": {
  17072. "type": "object",
  17073. "properties": {
  17074. "areauserid": {
  17075. "description": "机构ID",
  17076. "type": "integer"
  17077. },
  17078. "changeQty": {
  17079. "description": "套保变动量",
  17080. "type": "number"
  17081. },
  17082. "contracttype": {
  17083. "description": "现货合同类型 - 1:采购 -1:销售",
  17084. "type": "integer"
  17085. },
  17086. "convertfactor": {
  17087. "description": "标仓系数",
  17088. "type": "number"
  17089. },
  17090. "convertratio": {
  17091. "description": "套保系数",
  17092. "type": "number"
  17093. },
  17094. "createtime": {
  17095. "description": "时间",
  17096. "type": "string"
  17097. },
  17098. "enumdicname": {
  17099. "description": "现货商品单位名称",
  17100. "type": "string"
  17101. },
  17102. "logtype": {
  17103. "description": "类型 - 1:套保计划 2:现货合同",
  17104. "type": "integer"
  17105. },
  17106. "middlegoodsId": {
  17107. "description": "套保商品id",
  17108. "type": "integer"
  17109. },
  17110. "middlegoodscode": {
  17111. "description": "套保商品代码",
  17112. "type": "string"
  17113. },
  17114. "middlegoodsname": {
  17115. "description": "套保商品名称",
  17116. "type": "string"
  17117. },
  17118. "qty": {
  17119. "description": "数量",
  17120. "type": "number"
  17121. },
  17122. "relateNo": {
  17123. "description": "现货合同/套保计划编号",
  17124. "type": "string"
  17125. },
  17126. "wrstandardcode": {
  17127. "description": "现货商品代码",
  17128. "type": "string"
  17129. },
  17130. "wrstandardid": {
  17131. "description": "现货商品ID",
  17132. "type": "integer"
  17133. },
  17134. "wrstandardname": {
  17135. "description": "现货商品名称",
  17136. "type": "string"
  17137. }
  17138. }
  17139. },
  17140. "models.ErmcpExposurePostion": {
  17141. "type": "object",
  17142. "properties": {
  17143. "agreeunit": {
  17144. "description": "合约单位",
  17145. "type": "string"
  17146. },
  17147. "areauserid": {
  17148. "description": "所属机构id",
  17149. "type": "integer"
  17150. },
  17151. "convertratio": {
  17152. "description": "期货品种系数(折算系数)",
  17153. "type": "number"
  17154. },
  17155. "curqty": {
  17156. "description": "当前持仓",
  17157. "type": "integer"
  17158. },
  17159. "diffhedgeqty": {
  17160. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17161. "type": "number"
  17162. },
  17163. "diffqty": {
  17164. "description": "持仓变动量=当前持仓-昨日持仓",
  17165. "type": "integer"
  17166. },
  17167. "goodscode": {
  17168. "description": "商品代码",
  17169. "type": "string"
  17170. },
  17171. "goodsid": {
  17172. "description": "商品id",
  17173. "type": "integer"
  17174. },
  17175. "goodsname": {
  17176. "description": "商品名称",
  17177. "type": "string"
  17178. },
  17179. "middlegoodsid": {
  17180. "description": "套保商品id",
  17181. "type": "integer"
  17182. },
  17183. "ydqty": {
  17184. "description": "昨日持仓",
  17185. "type": "integer"
  17186. }
  17187. }
  17188. },
  17189. "models.ErmcpFuturesCompany": {
  17190. "type": "object",
  17191. "properties": {
  17192. "brokerid": {
  17193. "description": "经纪公司代码",
  17194. "type": "string"
  17195. },
  17196. "channeladdress": {
  17197. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  17198. "type": "string"
  17199. },
  17200. "channelid": {
  17201. "description": "对冲渠道ID",
  17202. "type": "string"
  17203. },
  17204. "createtime": {
  17205. "description": "创建时间",
  17206. "type": "string"
  17207. },
  17208. "creatorid": {
  17209. "description": "创建人",
  17210. "type": "string"
  17211. },
  17212. "fcid": {
  17213. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  17214. "type": "integer"
  17215. },
  17216. "fcname": {
  17217. "description": "期货公司名称",
  17218. "type": "string"
  17219. },
  17220. "isvalid": {
  17221. "description": "是否有效 - 0:无效 1:有效",
  17222. "type": "integer"
  17223. },
  17224. "mhpaddress": {
  17225. "description": "MHP服务地址(IP:Port)",
  17226. "type": "string"
  17227. },
  17228. "riskrulegroupid": {
  17229. "description": "风控规则组ID",
  17230. "type": "string"
  17231. },
  17232. "tradefeetmpid": {
  17233. "description": "手续费模板ID[TradeConfigTmpType为2]",
  17234. "type": "string"
  17235. },
  17236. "trademargintmpid": {
  17237. "description": "保证金模板ID [TradeConfigTmpType为1]",
  17238. "type": "string"
  17239. },
  17240. "traderatetmpid": {
  17241. "description": "汇率模板ID[TradeConfigTmpType为3]",
  17242. "type": "string"
  17243. },
  17244. "updatetime": {
  17245. "description": "更新时间",
  17246. "type": "string"
  17247. },
  17248. "updatorid": {
  17249. "description": "更新人",
  17250. "type": "string"
  17251. }
  17252. }
  17253. },
  17254. "models.ErmcpGGConvertCfg": {
  17255. "type": "object",
  17256. "properties": {
  17257. "convertratio": {
  17258. "description": "折算系数",
  17259. "type": "number"
  17260. },
  17261. "destgoodsgroupid": {
  17262. "description": "目标品种ID",
  17263. "type": "integer"
  17264. },
  17265. "dstcode": {
  17266. "description": "目录品种代码",
  17267. "type": "string"
  17268. },
  17269. "dstexchangecode": {
  17270. "description": "目标期货交易所",
  17271. "type": "string"
  17272. },
  17273. "dstname": {
  17274. "description": "目标品种名称",
  17275. "type": "string"
  17276. },
  17277. "dstunitid": {
  17278. "description": "目标品种单位ID",
  17279. "type": "integer"
  17280. },
  17281. "dstunitidname": {
  17282. "description": "目标品种单位名称",
  17283. "type": "string"
  17284. },
  17285. "modifytime": {
  17286. "description": "修改时间",
  17287. "type": "string"
  17288. },
  17289. "srccode": {
  17290. "description": "源品种代码",
  17291. "type": "string"
  17292. },
  17293. "srcexchangecode": {
  17294. "description": "源期货交易所",
  17295. "type": "string"
  17296. },
  17297. "srcgoodsgroupid": {
  17298. "description": "源品种ID",
  17299. "type": "integer"
  17300. },
  17301. "srcname": {
  17302. "description": "源品种名称",
  17303. "type": "string"
  17304. },
  17305. "srcunitid": {
  17306. "description": "源品种单位ID",
  17307. "type": "integer"
  17308. },
  17309. "srcunitidname": {
  17310. "description": "源品种单位名称",
  17311. "type": "string"
  17312. }
  17313. }
  17314. },
  17315. "models.ErmcpGoods": {
  17316. "type": "object",
  17317. "required": [
  17318. "goodscode",
  17319. "goodsid",
  17320. "goodsname",
  17321. "marketid"
  17322. ],
  17323. "properties": {
  17324. "agreeunit": {
  17325. "description": "合约单位",
  17326. "type": "number"
  17327. },
  17328. "areauserid": {
  17329. "description": "所属机构",
  17330. "type": "integer"
  17331. },
  17332. "auditaccountid": {
  17333. "description": "审核操作员账号",
  17334. "type": "integer"
  17335. },
  17336. "audittime": {
  17337. "description": "审核时间",
  17338. "type": "string"
  17339. },
  17340. "cancelaccountid": {
  17341. "description": "注销操作员账号",
  17342. "type": "integer"
  17343. },
  17344. "canceltime": {
  17345. "description": "注销时间",
  17346. "type": "string"
  17347. },
  17348. "closepricemode": {
  17349. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17350. "type": "integer"
  17351. },
  17352. "closepriceparam": {
  17353. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17354. "type": "number"
  17355. },
  17356. "createtime": {
  17357. "description": "创建时间",
  17358. "type": "string"
  17359. },
  17360. "creatorid": {
  17361. "description": "创建人",
  17362. "type": "integer"
  17363. },
  17364. "currencyid": {
  17365. "description": "报价货币ID",
  17366. "type": "integer"
  17367. },
  17368. "cutmode": {
  17369. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17370. "type": "integer"
  17371. },
  17372. "decimalplace": {
  17373. "description": "报价小数位",
  17374. "type": "integer"
  17375. },
  17376. "delistingdate": {
  17377. "description": "商品退市时间(状态:退市) -- 已作废",
  17378. "type": "string"
  17379. },
  17380. "delistingmode": {
  17381. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17382. "type": "integer"
  17383. },
  17384. "deliveryflag": {
  17385. "description": "交割标志 - 0:不可交割 1:可交割",
  17386. "type": "integer"
  17387. },
  17388. "enumdicname": {
  17389. "description": "单位名称",
  17390. "type": "string"
  17391. },
  17392. "forceclosemode": {
  17393. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17394. "type": "integer"
  17395. },
  17396. "forceclosevalue": {
  17397. "description": "定期强平参数 [收益权]",
  17398. "type": "integer"
  17399. },
  17400. "goodscode": {
  17401. "description": "商品代码(内部)",
  17402. "type": "string"
  17403. },
  17404. "goodscurrencyid": {
  17405. "description": "合约货币ID",
  17406. "type": "integer"
  17407. },
  17408. "goodsgroupid": {
  17409. "description": "所属商品组ID",
  17410. "type": "integer"
  17411. },
  17412. "goodsid": {
  17413. "description": "商品ID(自增ID SEQ_GOODS)",
  17414. "type": "integer"
  17415. },
  17416. "goodsname": {
  17417. "description": "商品名称",
  17418. "type": "string"
  17419. },
  17420. "goodsquotetype": {
  17421. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17422. "type": "integer"
  17423. },
  17424. "goodsstatus": {
  17425. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17426. "type": "integer"
  17427. },
  17428. "goodstradetype": {
  17429. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17430. "type": "integer"
  17431. },
  17432. "goodunitid": {
  17433. "description": "报价单位ID",
  17434. "type": "integer"
  17435. },
  17436. "hasquoter": {
  17437. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17438. "type": "integer"
  17439. },
  17440. "hqprotecttime": {
  17441. "description": "行情保护时间(秒)",
  17442. "type": "integer"
  17443. },
  17444. "innerdealmode": {
  17445. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17446. "type": "integer"
  17447. },
  17448. "isbuylimited": {
  17449. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17450. "type": "integer"
  17451. },
  17452. "isvisible": {
  17453. "description": "游客是否可见 - 0:不可见 1:可见",
  17454. "type": "integer"
  17455. },
  17456. "lasttradedate": {
  17457. "description": "最后交易日期(状态:待退市)",
  17458. "type": "string"
  17459. },
  17460. "listingdate": {
  17461. "description": "交易开始日期",
  17462. "type": "string"
  17463. },
  17464. "marketid": {
  17465. "description": "所属市场ID",
  17466. "type": "integer"
  17467. },
  17468. "modifierid": {
  17469. "description": "修改人",
  17470. "type": "integer"
  17471. },
  17472. "modifystatus": {
  17473. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17474. "type": "integer"
  17475. },
  17476. "modifytime": {
  17477. "description": "修改时间",
  17478. "type": "string"
  17479. },
  17480. "outerdealmode": {
  17481. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17482. "type": "integer"
  17483. },
  17484. "outgoodscode": {
  17485. "description": "商品代码(外部)",
  17486. "type": "string"
  17487. },
  17488. "pictureurl": {
  17489. "description": "商品图片",
  17490. "type": "string"
  17491. },
  17492. "qtydecimalplace": {
  17493. "description": "成交量小数位",
  17494. "type": "integer"
  17495. },
  17496. "quotegear": {
  17497. "description": "行情档位(1-10)",
  17498. "type": "integer"
  17499. },
  17500. "quoteminunit": {
  17501. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17502. "type": "integer"
  17503. },
  17504. "quoteshowtype": {
  17505. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17506. "type": "integer"
  17507. },
  17508. "quoteshowtypeinterval": {
  17509. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17510. "type": "integer"
  17511. },
  17512. "relatedgoodsid": {
  17513. "description": "关联参考商品ID",
  17514. "type": "integer"
  17515. },
  17516. "remark": {
  17517. "description": "备注",
  17518. "type": "string"
  17519. },
  17520. "trademode": {
  17521. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17522. "type": "integer"
  17523. }
  17524. }
  17525. },
  17526. "models.ErmcpGoodsBrand": {
  17527. "type": "object",
  17528. "properties": {
  17529. "areauserid": {
  17530. "description": "所属机构",
  17531. "type": "integer"
  17532. },
  17533. "brandid": {
  17534. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  17535. "type": "integer"
  17536. },
  17537. "brandname": {
  17538. "description": "品牌名称",
  17539. "type": "string"
  17540. },
  17541. "createtime": {
  17542. "description": "创建时间",
  17543. "type": "string"
  17544. },
  17545. "creatorid": {
  17546. "description": "创建人",
  17547. "type": "integer"
  17548. },
  17549. "creatorsrc": {
  17550. "description": "创建人来源 - 1:管理端 2:终端",
  17551. "type": "integer"
  17552. },
  17553. "deliverygoodsid": {
  17554. "description": "现货品种ID",
  17555. "type": "integer"
  17556. },
  17557. "isvalid": {
  17558. "description": "是否有效 - 0:无效 1:有效",
  17559. "type": "integer"
  17560. },
  17561. "updatetime": {
  17562. "description": "更新时间",
  17563. "type": "string"
  17564. },
  17565. "updatorid": {
  17566. "description": "更新人",
  17567. "type": "integer"
  17568. },
  17569. "updatorsrc": {
  17570. "description": "更新人来源 - 1:管理端 2:终端",
  17571. "type": "integer"
  17572. },
  17573. "wrstandardid": {
  17574. "description": "现货商品ID",
  17575. "type": "integer"
  17576. }
  17577. }
  17578. },
  17579. "models.ErmcpGoodsModel": {
  17580. "type": "object",
  17581. "properties": {
  17582. "areauserid": {
  17583. "description": "所属机构",
  17584. "type": "integer"
  17585. },
  17586. "convertfactor": {
  17587. "description": "标仓系数",
  17588. "type": "number"
  17589. },
  17590. "createtime": {
  17591. "description": "创建时间",
  17592. "type": "string"
  17593. },
  17594. "creatorid": {
  17595. "description": "创建人",
  17596. "type": "integer"
  17597. },
  17598. "creatorsrc": {
  17599. "description": "创建人来源 - 1:管理端 2:终端",
  17600. "type": "integer"
  17601. },
  17602. "deliverygoodsid": {
  17603. "description": "现货品种ID",
  17604. "type": "integer"
  17605. },
  17606. "isvalid": {
  17607. "description": "是否有效 - 0:无效 1:有效",
  17608. "type": "integer"
  17609. },
  17610. "modelid": {
  17611. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  17612. "type": "integer"
  17613. },
  17614. "modelname": {
  17615. "description": "型号名称",
  17616. "type": "string"
  17617. },
  17618. "updatetime": {
  17619. "description": "更新时间",
  17620. "type": "string"
  17621. },
  17622. "updatorid": {
  17623. "description": "更新人",
  17624. "type": "integer"
  17625. },
  17626. "updatorsrc": {
  17627. "description": "更新人来源 - 1:管理端 2:终端",
  17628. "type": "integer"
  17629. },
  17630. "wrstandardid": {
  17631. "description": "现货商品ID",
  17632. "type": "integer"
  17633. }
  17634. }
  17635. },
  17636. "models.ErmcpHedgePosition": {
  17637. "type": "object",
  17638. "properties": {
  17639. "accountid": {
  17640. "description": "资金账号[外部母账户]",
  17641. "type": "integer"
  17642. },
  17643. "curbuyposition": {
  17644. "description": "期末买头寸",
  17645. "type": "integer"
  17646. },
  17647. "cursellposition": {
  17648. "description": "期末卖头寸",
  17649. "type": "integer"
  17650. },
  17651. "curtdbuyposition": {
  17652. "description": "期末今日买头寸",
  17653. "type": "integer"
  17654. },
  17655. "curtdsellposition": {
  17656. "description": "期末今日卖头寸",
  17657. "type": "integer"
  17658. },
  17659. "curydbuyposition": {
  17660. "description": "期末上日买头寸",
  17661. "type": "integer"
  17662. },
  17663. "curydsellposition": {
  17664. "description": "期末上日卖头寸",
  17665. "type": "integer"
  17666. },
  17667. "decreaseqty": {
  17668. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17669. "type": "integer"
  17670. },
  17671. "fretdbuyposition": {
  17672. "description": "冻结今日买头寸",
  17673. "type": "integer"
  17674. },
  17675. "fretdsellposition": {
  17676. "description": "冻结今日卖头寸",
  17677. "type": "integer"
  17678. },
  17679. "freydbuyposition": {
  17680. "description": "冻结上日买头寸",
  17681. "type": "integer"
  17682. },
  17683. "freydsellposition": {
  17684. "description": "冻结上日卖头寸",
  17685. "type": "integer"
  17686. },
  17687. "goodscode": {
  17688. "description": "商品代码",
  17689. "type": "string"
  17690. },
  17691. "goodsid": {
  17692. "description": "商品id",
  17693. "type": "integer"
  17694. },
  17695. "goodsname": {
  17696. "description": "商品名称",
  17697. "type": "string"
  17698. },
  17699. "hedgeaccountcode": {
  17700. "description": "对冲账号",
  17701. "type": "string"
  17702. },
  17703. "hedgegoodsid": {
  17704. "description": "对冲合约ID",
  17705. "type": "integer"
  17706. },
  17707. "increaseqty": {
  17708. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17709. "type": "integer"
  17710. },
  17711. "marketid": {
  17712. "description": "市场ID",
  17713. "type": "integer"
  17714. },
  17715. "relateduserid": {
  17716. "description": "关联用户id",
  17717. "type": "integer"
  17718. },
  17719. "totalcurqty": {
  17720. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17721. "type": "integer"
  17722. },
  17723. "totalydqty": {
  17724. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17725. "type": "integer"
  17726. },
  17727. "tradedate": {
  17728. "description": "交易日(yyyyMMdd)",
  17729. "type": "string"
  17730. },
  17731. "ydbuyposition": {
  17732. "description": "期初买头寸",
  17733. "type": "integer"
  17734. },
  17735. "ydsellposition": {
  17736. "description": "期初卖头寸",
  17737. "type": "integer"
  17738. }
  17739. }
  17740. },
  17741. "models.ErmcpHedgePositionDetail": {
  17742. "type": "object",
  17743. "properties": {
  17744. "buyorsell": {
  17745. "description": "买卖方向 0-买 1-卖",
  17746. "type": "integer"
  17747. },
  17748. "channelbuildtype": {
  17749. "description": "开平方向 1-建仓 2-平仓",
  17750. "type": "integer"
  17751. },
  17752. "goodscode": {
  17753. "description": "商品代码",
  17754. "type": "string"
  17755. },
  17756. "goodsname": {
  17757. "description": "商品名称",
  17758. "type": "string"
  17759. },
  17760. "hedgegoodsid": {
  17761. "description": "商品id",
  17762. "type": "integer"
  17763. },
  17764. "tradeqty": {
  17765. "description": "数量(成交数量)",
  17766. "type": "integer"
  17767. },
  17768. "tradetime": {
  17769. "description": "时间(成交时间)",
  17770. "type": "string"
  17771. }
  17772. }
  17773. },
  17774. "models.ErmcpHisExposure": {
  17775. "type": "object",
  17776. "properties": {
  17777. "needhedgeexposoure": {
  17778. "description": "应套保敞口",
  17779. "type": "number"
  17780. },
  17781. "reckondate": {
  17782. "description": "日照时期(yyyyMMdd)",
  17783. "type": "string"
  17784. },
  17785. "totalexposure": {
  17786. "description": "总敞口",
  17787. "type": "number"
  17788. }
  17789. }
  17790. },
  17791. "models.ErmcpHisExposureS": {
  17792. "type": "object",
  17793. "properties": {
  17794. "data": {
  17795. "description": "历史敞口",
  17796. "type": "array",
  17797. "items": {
  17798. "$ref": "#/definitions/models.ErmcpHisExposure"
  17799. }
  17800. },
  17801. "enumdicname": {
  17802. "description": "单位名称",
  17803. "type": "string"
  17804. },
  17805. "middlegoodscode": {
  17806. "description": "套保品种代码",
  17807. "type": "string"
  17808. },
  17809. "middlegoodsid": {
  17810. "description": "套保品种ID",
  17811. "type": "integer"
  17812. },
  17813. "middlegoodsname": {
  17814. "description": "套保品种名称",
  17815. "type": "string"
  17816. }
  17817. }
  17818. },
  17819. "models.ErmcpLoginTaAccount": {
  17820. "type": "object",
  17821. "properties": {
  17822. "accountid": {
  17823. "description": "账号id",
  17824. "type": "integer"
  17825. },
  17826. "accountname": {
  17827. "description": "账号名称",
  17828. "type": "string"
  17829. }
  17830. }
  17831. },
  17832. "models.ErmcpLoginUser": {
  17833. "type": "object",
  17834. "properties": {
  17835. "acclist": {
  17836. "description": "关联资金账号",
  17837. "type": "array",
  17838. "items": {
  17839. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  17840. }
  17841. },
  17842. "accountname": {
  17843. "description": "用户名称",
  17844. "type": "string"
  17845. },
  17846. "clientroleid": {
  17847. "description": "角色id(usertype=2)",
  17848. "type": "integer"
  17849. },
  17850. "createtime": {
  17851. "description": "创建时间",
  17852. "type": "string"
  17853. },
  17854. "logincode": {
  17855. "description": "登录代码",
  17856. "type": "string"
  17857. },
  17858. "loginid": {
  17859. "description": "登录id(LOGINID)",
  17860. "type": "integer"
  17861. },
  17862. "loginname": {
  17863. "description": "登录名称(loginaccount表中的accountname字段)",
  17864. "type": "string"
  17865. },
  17866. "loginstatus": {
  17867. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  17868. "type": "integer"
  17869. },
  17870. "memberuserid": {
  17871. "description": "所属会员id",
  17872. "type": "integer"
  17873. },
  17874. "mobile": {
  17875. "description": "手机号",
  17876. "type": "string"
  17877. },
  17878. "modifytime": {
  17879. "description": "修改时间",
  17880. "type": "string"
  17881. },
  17882. "password": {
  17883. "description": "密码(不可解密)",
  17884. "type": "string"
  17885. },
  17886. "rolename": {
  17887. "description": "角色名称",
  17888. "type": "string"
  17889. },
  17890. "rolestatus": {
  17891. "description": "角色状态 1-启用 2-停用",
  17892. "type": "integer"
  17893. },
  17894. "roletype": {
  17895. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  17896. "type": "string"
  17897. },
  17898. "userid": {
  17899. "description": "用户id",
  17900. "type": "integer"
  17901. },
  17902. "usertype": {
  17903. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17904. "type": "integer"
  17905. }
  17906. }
  17907. },
  17908. "models.ErmcpLoginUserEx": {
  17909. "type": "object",
  17910. "properties": {
  17911. "accountstatus": {
  17912. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  17913. "type": "integer"
  17914. },
  17915. "mobile": {
  17916. "description": "手机号",
  17917. "type": "string"
  17918. },
  17919. "querytype": {
  17920. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  17921. "type": "integer"
  17922. },
  17923. "roleid": {
  17924. "description": "角色id(交易账户-\u003e用户id)",
  17925. "type": "integer"
  17926. },
  17927. "rolename": {
  17928. "description": "角色名称(交易账户-\u003e用户名称)",
  17929. "type": "string"
  17930. },
  17931. "userlist": {
  17932. "description": "用户列表",
  17933. "type": "array",
  17934. "items": {
  17935. "$ref": "#/definitions/models.ErmcpLoginUser"
  17936. }
  17937. },
  17938. "usertype": {
  17939. "description": "用户类型 2-机构 7-企业成员(云平台)",
  17940. "type": "integer"
  17941. }
  17942. }
  17943. },
  17944. "models.ErmcpMiddleGoodsChangeLog": {
  17945. "type": "object",
  17946. "properties": {
  17947. "aftervalue": {
  17948. "description": "变更后",
  17949. "type": "number"
  17950. },
  17951. "applyid": {
  17952. "description": "操作人",
  17953. "type": "integer"
  17954. },
  17955. "applyname": {
  17956. "description": "操作人名称",
  17957. "type": "string"
  17958. },
  17959. "applysrc": {
  17960. "description": "操作来源 - 1:管理端 2:终端",
  17961. "type": "integer"
  17962. },
  17963. "beforevalue": {
  17964. "description": "变更前",
  17965. "type": "number"
  17966. },
  17967. "changelogtype": {
  17968. "description": "变更流水类型 - 1:套保比率变更",
  17969. "type": "integer"
  17970. },
  17971. "handlestatus": {
  17972. "description": "处理状态",
  17973. "type": "integer"
  17974. },
  17975. "logdatetime": {
  17976. "description": "流水日期",
  17977. "type": "string"
  17978. },
  17979. "logid": {
  17980. "description": "流水ID",
  17981. "type": "integer"
  17982. },
  17983. "logremark": {
  17984. "description": "流水备注",
  17985. "type": "string"
  17986. },
  17987. "middlegoodsid": {
  17988. "description": "套保品种ID",
  17989. "type": "integer"
  17990. },
  17991. "tradedate": {
  17992. "description": "交易日(yyyyMMdd)",
  17993. "type": "string"
  17994. },
  17995. "updatetime": {
  17996. "description": "更新时间",
  17997. "type": "string"
  17998. }
  17999. }
  18000. },
  18001. "models.ErmcpMiddleGoodsDetail": {
  18002. "type": "object",
  18003. "properties": {
  18004. "cvList": {
  18005. "description": "期货品种折算列表",
  18006. "type": "array",
  18007. "items": {
  18008. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18009. }
  18010. },
  18011. "mg": {
  18012. "description": "套保品种基本信息",
  18013. "type": "object",
  18014. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18015. },
  18016. "wrcList": {
  18017. "description": "现货品种列表(现货商品折算配置)",
  18018. "type": "array",
  18019. "items": {
  18020. "$ref": "#/definitions/models.WRSConverTDetail"
  18021. }
  18022. }
  18023. }
  18024. },
  18025. "models.ErmcpMiddleGoodsModel": {
  18026. "type": "object",
  18027. "properties": {
  18028. "areauserid": {
  18029. "description": "机构用户ID",
  18030. "type": "integer"
  18031. },
  18032. "createtime": {
  18033. "description": "修改时间",
  18034. "type": "string"
  18035. },
  18036. "enumdicname": {
  18037. "description": "单位名称",
  18038. "type": "string"
  18039. },
  18040. "evaluateratio": {
  18041. "description": "估价系数",
  18042. "type": "number"
  18043. },
  18044. "goodsgroupid": {
  18045. "description": "关联期货品种ID",
  18046. "type": "integer"
  18047. },
  18048. "goodsunitid": {
  18049. "description": "单位ID",
  18050. "type": "integer"
  18051. },
  18052. "isvalid": {
  18053. "description": "状态 0-无效(停用) 1-有效(正常)",
  18054. "type": "integer"
  18055. },
  18056. "middlegoodscode": {
  18057. "description": "套保品种代码",
  18058. "type": "string"
  18059. },
  18060. "middlegoodsid": {
  18061. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18062. "type": "integer"
  18063. },
  18064. "middlegoodsname": {
  18065. "description": "套保品种名称",
  18066. "type": "string"
  18067. },
  18068. "modifytime": {
  18069. "description": "修改时间",
  18070. "type": "string"
  18071. },
  18072. "needarbitrageratio": {
  18073. "description": "套利比例",
  18074. "type": "number"
  18075. },
  18076. "needhedgeratio": {
  18077. "description": "套保比率",
  18078. "type": "number"
  18079. },
  18080. "qtydecimalplace": {
  18081. "description": "数量小数位",
  18082. "type": "integer"
  18083. },
  18084. "relatedgoodsid": {
  18085. "description": "关联交易商品ID",
  18086. "type": "integer"
  18087. },
  18088. "relatedgoodstype": {
  18089. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18090. "type": "integer"
  18091. },
  18092. "remark": {
  18093. "description": "备注",
  18094. "type": "string"
  18095. }
  18096. }
  18097. },
  18098. "models.ErmcpMiddlegoodsRelateGoods": {
  18099. "type": "object",
  18100. "properties": {
  18101. "agreeunit": {
  18102. "description": "合约乘数",
  18103. "type": "number"
  18104. },
  18105. "convertratio": {
  18106. "description": "折算系数",
  18107. "type": "number"
  18108. },
  18109. "enumdicname": {
  18110. "description": "单位名称(交易商品)",
  18111. "type": "string"
  18112. },
  18113. "goodscode": {
  18114. "description": "交易商品代码",
  18115. "type": "string"
  18116. },
  18117. "goodsgroupid": {
  18118. "description": "交易品种id",
  18119. "type": "integer"
  18120. },
  18121. "goodsid": {
  18122. "description": "商品Id",
  18123. "type": "integer"
  18124. },
  18125. "goodsname": {
  18126. "description": "交易商品名称",
  18127. "type": "string"
  18128. },
  18129. "goodunitid": {
  18130. "description": "交易商品单位id",
  18131. "type": "integer"
  18132. },
  18133. "middlegoodsid": {
  18134. "description": "套保商品id",
  18135. "type": "integer"
  18136. },
  18137. "middlegoodsname": {
  18138. "description": "套保商品名称",
  18139. "type": "string"
  18140. },
  18141. "middlegoodsswcode": {
  18142. "description": "套保商品代码",
  18143. "type": "string"
  18144. },
  18145. "needarbitrageratio": {
  18146. "description": "应套利比例",
  18147. "type": "number"
  18148. },
  18149. "needhedgeratio": {
  18150. "description": "应套保比例",
  18151. "type": "number"
  18152. }
  18153. }
  18154. },
  18155. "models.ErmcpOPLogModel": {
  18156. "type": "object",
  18157. "properties": {
  18158. "aftervalue": {
  18159. "description": "变更后",
  18160. "type": "number"
  18161. },
  18162. "applyid": {
  18163. "description": "操作人ID",
  18164. "type": "string"
  18165. },
  18166. "applyname": {
  18167. "description": "操作人名称",
  18168. "type": "string"
  18169. },
  18170. "beforevalue": {
  18171. "description": "变更前",
  18172. "type": "number"
  18173. },
  18174. "biztype": {
  18175. "description": "业务类型 - 1:套保计划 2:现货合同",
  18176. "type": "integer"
  18177. },
  18178. "contracttype": {
  18179. "description": "现货合同类型 - 1:采购 -1:销售",
  18180. "type": "integer"
  18181. },
  18182. "logvalue": {
  18183. "description": "数值",
  18184. "type": "number"
  18185. },
  18186. "operatelogtype": {
  18187. "description": "操作流水类型",
  18188. "type": "integer"
  18189. },
  18190. "operatelogtypedesc": {
  18191. "description": "操作流水类型名称",
  18192. "type": "string"
  18193. },
  18194. "relatedid": {
  18195. "description": "现货合同ID\\套保计划",
  18196. "type": "string"
  18197. },
  18198. "updatetime": {
  18199. "description": "更新时间",
  18200. "type": "string"
  18201. }
  18202. }
  18203. },
  18204. "models.ErmcpPendingAudit": {
  18205. "type": "object",
  18206. "properties": {
  18207. "areastockqty": {
  18208. "description": "待审核数量: 库存申请",
  18209. "type": "integer"
  18210. },
  18211. "businessdjqty": {
  18212. "description": "待审核数量: 点价",
  18213. "type": "integer"
  18214. },
  18215. "businessfpqty": {
  18216. "description": "待审核数量: 发票",
  18217. "type": "integer"
  18218. },
  18219. "businessjsqty": {
  18220. "description": "待审核数量: 结算",
  18221. "type": "integer"
  18222. },
  18223. "businesskxqty": {
  18224. "description": "待审核数量: 款项",
  18225. "type": "integer"
  18226. },
  18227. "hedgeplanqty": {
  18228. "description": "待审核数量: 套保计划",
  18229. "type": "integer"
  18230. },
  18231. "spotcontractqty": {
  18232. "description": "待审核数量: 现货合同",
  18233. "type": "integer"
  18234. },
  18235. "userqty": {
  18236. "description": "待审核数量: 用户",
  18237. "type": "integer"
  18238. }
  18239. }
  18240. },
  18241. "models.ErmcpRealExposureModel": {
  18242. "type": "object",
  18243. "properties": {
  18244. "AreaUserID": {
  18245. "description": "所属机构",
  18246. "type": "integer"
  18247. },
  18248. "BuyFutureQty": {
  18249. "description": "买入期货数量",
  18250. "type": "number"
  18251. },
  18252. "BuyPlanQty": {
  18253. "description": "采购计划数量",
  18254. "type": "number"
  18255. },
  18256. "BuyPricedQty": {
  18257. "description": "采购合同已定价数量",
  18258. "type": "number"
  18259. },
  18260. "MiddleGoodsCode": {
  18261. "description": "套保品种代码",
  18262. "type": "string"
  18263. },
  18264. "MiddleGoodsHedgeRatio": {
  18265. "description": "套保比例",
  18266. "type": "number"
  18267. },
  18268. "MiddleGoodsID": {
  18269. "description": "套保品种",
  18270. "type": "integer"
  18271. },
  18272. "MiddleGoodsName": {
  18273. "description": "套保品种名称",
  18274. "type": "string"
  18275. },
  18276. "NeedHedgeExposoure": {
  18277. "description": "应套保敞口(套保敞口)",
  18278. "type": "number"
  18279. },
  18280. "NeedHedgeRatio": {
  18281. "description": "应套保敞口比例",
  18282. "type": "number"
  18283. },
  18284. "OriBuyFutureQty": {
  18285. "description": "期初买入期货数量",
  18286. "type": "number"
  18287. },
  18288. "OriBuyPlanQty": {
  18289. "description": "期初采购计划数量",
  18290. "type": "number"
  18291. },
  18292. "OriBuyPricedQty": {
  18293. "description": "期初采购合同已定价数量",
  18294. "type": "number"
  18295. },
  18296. "OriSellFutureQty": {
  18297. "description": "期初卖出期货数量",
  18298. "type": "number"
  18299. },
  18300. "OriSellPlanQty": {
  18301. "description": "期初销售计划数量",
  18302. "type": "number"
  18303. },
  18304. "OriSellPricedQty": {
  18305. "description": "期初销售合同已定价数量",
  18306. "type": "number"
  18307. },
  18308. "SellFutureQty": {
  18309. "description": "卖出期货数量",
  18310. "type": "number"
  18311. },
  18312. "SellPlanQty": {
  18313. "description": "销售计划数量",
  18314. "type": "number"
  18315. },
  18316. "SellPricedQty": {
  18317. "description": "销售合同已定价数量",
  18318. "type": "number"
  18319. },
  18320. "TotalExposure": {
  18321. "description": "总敞口",
  18322. "type": "number"
  18323. },
  18324. "TotalFutureQty": {
  18325. "description": "期货总量",
  18326. "type": "number"
  18327. },
  18328. "TotalHedgeRatio": {
  18329. "description": "敞口比例",
  18330. "type": "number"
  18331. },
  18332. "TotalNeedHedgeQty": {
  18333. "description": "应套保总量(现货应套保总量)",
  18334. "type": "number"
  18335. },
  18336. "TotalSpotQty": {
  18337. "description": "现货总量",
  18338. "type": "number"
  18339. },
  18340. "arbitrageqty": {
  18341. "description": "套利量",
  18342. "type": "number"
  18343. },
  18344. "diffArbitrageQty": {
  18345. "description": "套利变动量",
  18346. "type": "number"
  18347. },
  18348. "diffExposoureQty": {
  18349. "description": "变动量(套保敞口)",
  18350. "type": "number"
  18351. },
  18352. "diffFutuQty": {
  18353. "description": "变动量(期货总量)",
  18354. "type": "number"
  18355. },
  18356. "diffHedgeQty": {
  18357. "description": "套保变动量",
  18358. "type": "number"
  18359. },
  18360. "diffQty": {
  18361. "description": "变动量(总敞口)",
  18362. "type": "number"
  18363. },
  18364. "diffSpotHedgeQty": {
  18365. "description": "变动量(现货应套保总量)",
  18366. "type": "number"
  18367. },
  18368. "diffSpotQty": {
  18369. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  18370. "type": "number"
  18371. },
  18372. "enumdicname": {
  18373. "description": "单位名称",
  18374. "type": "string"
  18375. },
  18376. "hedgeqty": {
  18377. "description": "套保量",
  18378. "type": "number"
  18379. },
  18380. "needarbitrageqty": {
  18381. "description": "应套利量",
  18382. "type": "number"
  18383. },
  18384. "needarbitrageratio": {
  18385. "description": "套利比例",
  18386. "type": "number"
  18387. },
  18388. "needhedgeqty": {
  18389. "description": "应套保量",
  18390. "type": "number"
  18391. },
  18392. "oriTotalFutuQty": {
  18393. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  18394. "type": "number"
  18395. },
  18396. "oriTotalSpotQty": {
  18397. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  18398. "type": "number"
  18399. },
  18400. "oriarbitrageqty": {
  18401. "description": "期初套利量",
  18402. "type": "number"
  18403. },
  18404. "orihedgeqty": {
  18405. "description": "期初套保量",
  18406. "type": "number"
  18407. },
  18408. "orineedhedgeexposoure": {
  18409. "description": "期初套保敞口",
  18410. "type": "number"
  18411. },
  18412. "oritotalexposure": {
  18413. "description": "期初总敞口",
  18414. "type": "number"
  18415. },
  18416. "oritotalfutureqty": {
  18417. "description": "期初期货总量",
  18418. "type": "number"
  18419. },
  18420. "oritotalneedhedgeqty": {
  18421. "description": "期初现货应套保量",
  18422. "type": "number"
  18423. }
  18424. }
  18425. },
  18426. "models.ErmcpRole": {
  18427. "type": "object",
  18428. "properties": {
  18429. "areauserid": {
  18430. "description": "所属机构",
  18431. "type": "integer"
  18432. },
  18433. "autoid": {
  18434. "description": "角色ID(自增ID)",
  18435. "type": "integer"
  18436. },
  18437. "modifierid": {
  18438. "description": "修改人(创建人)",
  18439. "type": "integer"
  18440. },
  18441. "modifiername": {
  18442. "description": "修改人名称",
  18443. "type": "string"
  18444. },
  18445. "modifytime": {
  18446. "description": "修改时间(创建时间)",
  18447. "type": "string"
  18448. },
  18449. "rolename": {
  18450. "description": "角色名称",
  18451. "type": "string"
  18452. },
  18453. "rolestatus": {
  18454. "description": "角色状态 - 1:启用 2:停用",
  18455. "type": "integer"
  18456. },
  18457. "roletype": {
  18458. "description": "角色类型 - 1- 管理端 2- 交易端",
  18459. "type": "integer"
  18460. }
  18461. }
  18462. },
  18463. "models.ErmcpRoleMenu": {
  18464. "type": "object",
  18465. "properties": {
  18466. "iconame": {
  18467. "description": "菜单图标",
  18468. "type": "string"
  18469. },
  18470. "ishadrole": {
  18471. "description": "是否有权限",
  18472. "type": "boolean"
  18473. },
  18474. "menutype": {
  18475. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  18476. "type": "integer"
  18477. },
  18478. "parentcode": {
  18479. "description": "上级资源代码",
  18480. "type": "string"
  18481. },
  18482. "remark": {
  18483. "description": "菜单备注",
  18484. "type": "string"
  18485. },
  18486. "resourcecode": {
  18487. "description": "菜单代码",
  18488. "type": "string"
  18489. },
  18490. "resourcelevel": {
  18491. "description": "级别",
  18492. "type": "integer"
  18493. },
  18494. "resourcename": {
  18495. "description": "菜单名称",
  18496. "type": "string"
  18497. },
  18498. "roleid": {
  18499. "description": "角色id",
  18500. "type": "integer"
  18501. },
  18502. "sort": {
  18503. "description": "排序",
  18504. "type": "integer"
  18505. },
  18506. "url": {
  18507. "description": "URL",
  18508. "type": "string"
  18509. },
  18510. "userid": {
  18511. "description": "用户id",
  18512. "type": "integer"
  18513. }
  18514. }
  18515. },
  18516. "models.ErmcpRoleMenuEx": {
  18517. "type": "object",
  18518. "properties": {
  18519. "menu": {
  18520. "description": "父级菜单",
  18521. "type": "object",
  18522. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18523. },
  18524. "subMenu": {
  18525. "description": "子级菜单",
  18526. "type": "array",
  18527. "items": {
  18528. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  18529. }
  18530. }
  18531. }
  18532. },
  18533. "models.ErmcpTaAccount": {
  18534. "type": "object",
  18535. "properties": {
  18536. "accountid": {
  18537. "description": "账户id",
  18538. "type": "integer"
  18539. },
  18540. "accountname": {
  18541. "description": "账户名称",
  18542. "type": "string"
  18543. },
  18544. "currencyid": {
  18545. "description": "币种id",
  18546. "type": "integer"
  18547. },
  18548. "hedgeaccountcode": {
  18549. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18550. "type": "string"
  18551. },
  18552. "ismain": {
  18553. "description": "是否主账户 0-否 1-是",
  18554. "type": "integer"
  18555. },
  18556. "parentaccountid": {
  18557. "description": "父账户id",
  18558. "type": "integer"
  18559. },
  18560. "relateduserid": {
  18561. "description": "关联userid",
  18562. "type": "integer"
  18563. },
  18564. "tradefeetmpid": {
  18565. "description": "手续费模板id",
  18566. "type": "integer"
  18567. },
  18568. "tradefeetmpname": {
  18569. "description": "手续费模板名称",
  18570. "type": "string"
  18571. },
  18572. "trademargintmpid": {
  18573. "description": "保证金模板id",
  18574. "type": "integer"
  18575. },
  18576. "trademargintmpname": {
  18577. "description": "保证金模板名称",
  18578. "type": "string"
  18579. },
  18580. "traderatetmpid": {
  18581. "description": "汇率模板id",
  18582. "type": "integer"
  18583. },
  18584. "traderatetmpname": {
  18585. "description": "汇率模板名称",
  18586. "type": "string"
  18587. },
  18588. "tradestatus": {
  18589. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18590. "type": "integer"
  18591. },
  18592. "userid": {
  18593. "description": "用户id",
  18594. "type": "integer"
  18595. }
  18596. }
  18597. },
  18598. "models.ErmcpTaAccountEx": {
  18599. "type": "object",
  18600. "properties": {
  18601. "mainAcc": {
  18602. "description": "主账号",
  18603. "type": "object",
  18604. "$ref": "#/definitions/models.ErmcpTaAccountM"
  18605. },
  18606. "subacclist": {
  18607. "description": "子账号列表",
  18608. "type": "array",
  18609. "items": {
  18610. "$ref": "#/definitions/models.ErmcpTaAccount"
  18611. }
  18612. }
  18613. }
  18614. },
  18615. "models.ErmcpTaAccountInfo": {
  18616. "type": "object",
  18617. "properties": {
  18618. "accountid": {
  18619. "description": "资金账户ID",
  18620. "type": "integer"
  18621. },
  18622. "accountname": {
  18623. "description": "账户名称",
  18624. "type": "string"
  18625. },
  18626. "balance": {
  18627. "description": "期初余额",
  18628. "type": "number"
  18629. },
  18630. "capitalbalance": {
  18631. "description": "本金余额[外部子账户实际出入金余额]",
  18632. "type": "number"
  18633. },
  18634. "closepl": {
  18635. "description": "今日平仓盈亏",
  18636. "type": "number"
  18637. },
  18638. "creditdecrease": {
  18639. "description": "今日授信减少",
  18640. "type": "number"
  18641. },
  18642. "creditincrease": {
  18643. "description": "今日授信增加",
  18644. "type": "number"
  18645. },
  18646. "curdebt": {
  18647. "description": "期末欠款",
  18648. "type": "number"
  18649. },
  18650. "currencyid": {
  18651. "description": "货币ID",
  18652. "type": "integer"
  18653. },
  18654. "currentbalance": {
  18655. "description": "期末余额",
  18656. "type": "number"
  18657. },
  18658. "freezecharge": {
  18659. "description": "手续费冻结",
  18660. "type": "number"
  18661. },
  18662. "freezemargin": {
  18663. "description": "冻结保证金",
  18664. "type": "number"
  18665. },
  18666. "fromaccountid": {
  18667. "description": "所属上级账户",
  18668. "type": "integer"
  18669. },
  18670. "inamount": {
  18671. "description": "今日入金金额(包括三方入金)",
  18672. "type": "number"
  18673. },
  18674. "ismain": {
  18675. "description": "是否母账号 0:不是母账户 1:是母账户",
  18676. "type": "integer"
  18677. },
  18678. "mortgagecredit": {
  18679. "description": "授信金额",
  18680. "type": "number"
  18681. },
  18682. "oridebt": {
  18683. "description": "期初欠款",
  18684. "type": "number"
  18685. },
  18686. "orifreezecharge": {
  18687. "description": "期初手续费冻结",
  18688. "type": "number"
  18689. },
  18690. "orifreezemargin": {
  18691. "description": "期初冻结保证金",
  18692. "type": "number"
  18693. },
  18694. "orimortgagecredit": {
  18695. "description": "期初授信金额",
  18696. "type": "number"
  18697. },
  18698. "oriothercredit": {
  18699. "description": "期初其它授信金额",
  18700. "type": "number"
  18701. },
  18702. "oriotherfreezemargin": {
  18703. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18704. "type": "number"
  18705. },
  18706. "orioutamountfreeze": {
  18707. "description": "期初出金冻结",
  18708. "type": "number"
  18709. },
  18710. "oriusedmargin": {
  18711. "description": "期初占用保证金",
  18712. "type": "number"
  18713. },
  18714. "othercredit": {
  18715. "description": "其它授信金额",
  18716. "type": "number"
  18717. },
  18718. "othercreditdecrease": {
  18719. "description": "今日其它授信减少",
  18720. "type": "number"
  18721. },
  18722. "othercreditincrease": {
  18723. "description": "今日其它授信增加",
  18724. "type": "number"
  18725. },
  18726. "otherfreezemargin": {
  18727. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18728. "type": "number"
  18729. },
  18730. "outamount": {
  18731. "description": "今日出金金额(包括三方出金)",
  18732. "type": "number"
  18733. },
  18734. "outamountfreeze": {
  18735. "description": "出金冻结",
  18736. "type": "number"
  18737. },
  18738. "outthreshold": {
  18739. "description": "出金阈值",
  18740. "type": "number"
  18741. },
  18742. "parentaccountid": {
  18743. "description": "所属根账号",
  18744. "type": "integer"
  18745. },
  18746. "paycharge": {
  18747. "description": "今日手续费支出",
  18748. "type": "number"
  18749. },
  18750. "relateduserid": {
  18751. "description": "关联用户",
  18752. "type": "integer"
  18753. },
  18754. "signstatus": {
  18755. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  18756. "type": "integer"
  18757. },
  18758. "sublevelpath": {
  18759. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  18760. "type": "string"
  18761. },
  18762. "taaccounttype": {
  18763. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  18764. "type": "integer"
  18765. },
  18766. "thirdinamount": {
  18767. "description": "今日三方入金",
  18768. "type": "number"
  18769. },
  18770. "thirdoutamount": {
  18771. "description": "今日三方出金",
  18772. "type": "number"
  18773. },
  18774. "tradestatus": {
  18775. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18776. "type": "integer"
  18777. },
  18778. "transferamount": {
  18779. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  18780. "type": "number"
  18781. },
  18782. "usedmargin": {
  18783. "description": "占用保证金",
  18784. "type": "number"
  18785. },
  18786. "userid": {
  18787. "description": "用户ID",
  18788. "type": "integer"
  18789. }
  18790. }
  18791. },
  18792. "models.ErmcpTaAccountM": {
  18793. "type": "object",
  18794. "properties": {
  18795. "accountid": {
  18796. "description": "账户id",
  18797. "type": "integer"
  18798. },
  18799. "accountname": {
  18800. "description": "账户名称",
  18801. "type": "string"
  18802. },
  18803. "currencyid": {
  18804. "description": "币种id",
  18805. "type": "integer"
  18806. },
  18807. "fcid": {
  18808. "description": "期货公司id",
  18809. "type": "integer"
  18810. },
  18811. "fcname": {
  18812. "description": "期货公司代码",
  18813. "type": "string"
  18814. },
  18815. "hedgeaccountcode": {
  18816. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18817. "type": "string"
  18818. },
  18819. "ismain": {
  18820. "description": "是否主账户 0-否 1-是",
  18821. "type": "integer"
  18822. },
  18823. "parentaccountid": {
  18824. "description": "父账户id",
  18825. "type": "integer"
  18826. },
  18827. "relateduserid": {
  18828. "description": "关联userid",
  18829. "type": "integer"
  18830. },
  18831. "tradefeetmpid": {
  18832. "description": "手续费模板id",
  18833. "type": "integer"
  18834. },
  18835. "tradefeetmpname": {
  18836. "description": "手续费模板名称",
  18837. "type": "string"
  18838. },
  18839. "trademargintmpid": {
  18840. "description": "保证金模板id",
  18841. "type": "integer"
  18842. },
  18843. "trademargintmpname": {
  18844. "description": "保证金模板名称",
  18845. "type": "string"
  18846. },
  18847. "traderatetmpid": {
  18848. "description": "汇率模板id",
  18849. "type": "integer"
  18850. },
  18851. "traderatetmpname": {
  18852. "description": "汇率模板名称",
  18853. "type": "string"
  18854. },
  18855. "tradestatus": {
  18856. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18857. "type": "integer"
  18858. },
  18859. "userid": {
  18860. "description": "用户id",
  18861. "type": "integer"
  18862. }
  18863. }
  18864. },
  18865. "models.ErmcpTradeConfigTMP": {
  18866. "type": "object",
  18867. "properties": {
  18868. "areauserid": {
  18869. "description": "所属机构",
  18870. "type": "integer"
  18871. },
  18872. "basiccurrencyid": {
  18873. "description": "基本币种ID[汇率] - 目标币种",
  18874. "type": "integer"
  18875. },
  18876. "mainaccountid": {
  18877. "description": "主账户ID",
  18878. "type": "integer"
  18879. },
  18880. "modifierid": {
  18881. "description": "修改人",
  18882. "type": "integer"
  18883. },
  18884. "remark": {
  18885. "description": "备注",
  18886. "type": "string"
  18887. },
  18888. "tradeconfigtmpid": {
  18889. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  18890. "type": "integer"
  18891. },
  18892. "tradeconfigtmpname": {
  18893. "description": "交易配置模板名称",
  18894. "type": "string"
  18895. },
  18896. "tradeconfigtmptype": {
  18897. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  18898. "type": "integer"
  18899. },
  18900. "updatetime": {
  18901. "description": "更新时间",
  18902. "type": "string"
  18903. }
  18904. }
  18905. },
  18906. "models.ErmcpUserModel": {
  18907. "type": "object",
  18908. "properties": {
  18909. "address": {
  18910. "description": "通讯地址",
  18911. "type": "string"
  18912. },
  18913. "attachment1": {
  18914. "description": "附件1",
  18915. "type": "string"
  18916. },
  18917. "audittime": {
  18918. "description": "审核时间",
  18919. "type": "string"
  18920. },
  18921. "cardbackphotourl": {
  18922. "description": "证件反面图片地址",
  18923. "type": "string"
  18924. },
  18925. "cardfrontphotourl": {
  18926. "description": "证件正面图片地址",
  18927. "type": "string"
  18928. },
  18929. "cardnum": {
  18930. "description": "证件号码",
  18931. "type": "string"
  18932. },
  18933. "cardtype": {
  18934. "description": "证件类型",
  18935. "type": "integer"
  18936. },
  18937. "cardtypename": {
  18938. "description": "证件类型名称",
  18939. "type": "string"
  18940. },
  18941. "cityid": {
  18942. "description": "市",
  18943. "type": "integer"
  18944. },
  18945. "contactname": {
  18946. "description": "联系人",
  18947. "type": "string"
  18948. },
  18949. "countryid": {
  18950. "description": "国家",
  18951. "type": "integer"
  18952. },
  18953. "createtime": {
  18954. "description": "创建时间",
  18955. "type": "string"
  18956. },
  18957. "customername": {
  18958. "description": "企业名称",
  18959. "type": "string"
  18960. },
  18961. "districtid": {
  18962. "description": "区域",
  18963. "type": "integer"
  18964. },
  18965. "email": {
  18966. "description": "邮件",
  18967. "type": "string"
  18968. },
  18969. "legalpersonname": {
  18970. "description": "法人姓名(企业)",
  18971. "type": "string"
  18972. },
  18973. "memberuserid": {
  18974. "description": "所属机构ID",
  18975. "type": "integer"
  18976. },
  18977. "mobile": {
  18978. "description": "手机号码",
  18979. "type": "string"
  18980. },
  18981. "modifytime": {
  18982. "description": "修改时间",
  18983. "type": "string"
  18984. },
  18985. "nickname": {
  18986. "description": "昵称",
  18987. "type": "string"
  18988. },
  18989. "provinceid": {
  18990. "description": "省",
  18991. "type": "integer"
  18992. },
  18993. "remark": {
  18994. "description": "备注",
  18995. "type": "string"
  18996. },
  18997. "status": {
  18998. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18999. "type": "integer"
  19000. },
  19001. "statusdesc": {
  19002. "description": "账户状态中文描述",
  19003. "type": "string"
  19004. },
  19005. "taxpayernum": {
  19006. "description": "纳税人识别号",
  19007. "type": "string"
  19008. },
  19009. "telphone": {
  19010. "description": "联系电话",
  19011. "type": "string"
  19012. },
  19013. "userid": {
  19014. "description": "用户ID",
  19015. "type": "integer"
  19016. },
  19017. "userinfotype": {
  19018. "description": "客户类型",
  19019. "type": "string"
  19020. }
  19021. }
  19022. },
  19023. "models.ErmcpWareHouseInfo": {
  19024. "type": "object",
  19025. "properties": {
  19026. "address": {
  19027. "description": "详细地址",
  19028. "type": "string"
  19029. },
  19030. "areauserid": {
  19031. "description": "所属机构",
  19032. "type": "integer"
  19033. },
  19034. "autoid": {
  19035. "description": "自增ID(仓库ID)",
  19036. "type": "integer"
  19037. },
  19038. "cityid": {
  19039. "description": "市",
  19040. "type": "integer"
  19041. },
  19042. "contactname": {
  19043. "description": "联系人",
  19044. "type": "string"
  19045. },
  19046. "contactnum": {
  19047. "description": "联系电话",
  19048. "type": "string"
  19049. },
  19050. "countryid": {
  19051. "description": "国家",
  19052. "type": "integer"
  19053. },
  19054. "createtime": {
  19055. "description": "创建时间",
  19056. "type": "string"
  19057. },
  19058. "districtid": {
  19059. "description": "区",
  19060. "type": "integer"
  19061. },
  19062. "hasvideo": {
  19063. "description": "是否有视频 - 0:无 1:有",
  19064. "type": "integer"
  19065. },
  19066. "provinceid": {
  19067. "description": "省",
  19068. "type": "integer"
  19069. },
  19070. "remark": {
  19071. "description": "审核备注",
  19072. "type": "string"
  19073. },
  19074. "videourl": {
  19075. "description": "视频地址",
  19076. "type": "string"
  19077. },
  19078. "warehousecode": {
  19079. "description": "仓库代码",
  19080. "type": "string"
  19081. },
  19082. "warehousename": {
  19083. "description": "仓库名称",
  19084. "type": "string"
  19085. },
  19086. "warehousestatus": {
  19087. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19088. "type": "integer"
  19089. },
  19090. "warehousetype": {
  19091. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19092. "type": "integer"
  19093. }
  19094. }
  19095. },
  19096. "models.Externalexchange": {
  19097. "type": "object",
  19098. "required": [
  19099. "autoid"
  19100. ],
  19101. "properties": {
  19102. "autoid": {
  19103. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  19104. "type": "integer"
  19105. },
  19106. "exchangefullname": {
  19107. "description": "外部交易所全称",
  19108. "type": "string"
  19109. },
  19110. "exexchangecode": {
  19111. "description": "外部交易所代码",
  19112. "type": "string"
  19113. },
  19114. "exexchangename": {
  19115. "description": "外部交易所名称(简称)",
  19116. "type": "string"
  19117. },
  19118. "ismarketprice": {
  19119. "description": "是否支持市价 - 0:不支持 1:支持",
  19120. "type": "integer"
  19121. },
  19122. "quotegear": {
  19123. "description": "行情档位(1-10)",
  19124. "type": "integer"
  19125. },
  19126. "showbrokerflag": {
  19127. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  19128. "type": "integer"
  19129. },
  19130. "updatetime": {
  19131. "description": "更新时间",
  19132. "type": "string"
  19133. }
  19134. }
  19135. },
  19136. "models.Funcmenulist": {
  19137. "type": "object",
  19138. "required": [
  19139. "resourcecode"
  19140. ],
  19141. "properties": {
  19142. "iconame": {
  19143. "description": "菜单图标",
  19144. "type": "string"
  19145. },
  19146. "menutype": {
  19147. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  19148. "type": "integer"
  19149. },
  19150. "parentcode": {
  19151. "description": "上级资源代码",
  19152. "type": "string"
  19153. },
  19154. "remark": {
  19155. "description": "备注",
  19156. "type": "string"
  19157. },
  19158. "resourcecode": {
  19159. "description": "资源代码",
  19160. "type": "string"
  19161. },
  19162. "resourcelevel": {
  19163. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  19164. "type": "integer"
  19165. },
  19166. "resourcename": {
  19167. "description": "资源名",
  19168. "type": "string"
  19169. },
  19170. "sort": {
  19171. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  19172. "type": "integer"
  19173. },
  19174. "url": {
  19175. "description": "URL",
  19176. "type": "string"
  19177. }
  19178. }
  19179. },
  19180. "models.Goods": {
  19181. "type": "object",
  19182. "required": [
  19183. "goodscode",
  19184. "goodsid",
  19185. "goodsname",
  19186. "marketid"
  19187. ],
  19188. "properties": {
  19189. "agreeunit": {
  19190. "description": "合约单位",
  19191. "type": "number"
  19192. },
  19193. "areauserid": {
  19194. "description": "所属机构",
  19195. "type": "integer"
  19196. },
  19197. "auditaccountid": {
  19198. "description": "审核操作员账号",
  19199. "type": "integer"
  19200. },
  19201. "audittime": {
  19202. "description": "审核时间",
  19203. "type": "string"
  19204. },
  19205. "cancelaccountid": {
  19206. "description": "注销操作员账号",
  19207. "type": "integer"
  19208. },
  19209. "canceltime": {
  19210. "description": "注销时间",
  19211. "type": "string"
  19212. },
  19213. "closepricemode": {
  19214. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19215. "type": "integer"
  19216. },
  19217. "closepriceparam": {
  19218. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19219. "type": "number"
  19220. },
  19221. "createtime": {
  19222. "description": "创建时间",
  19223. "type": "string"
  19224. },
  19225. "creatorid": {
  19226. "description": "创建人",
  19227. "type": "integer"
  19228. },
  19229. "currencyid": {
  19230. "description": "报价货币ID",
  19231. "type": "integer"
  19232. },
  19233. "cutmode": {
  19234. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19235. "type": "integer"
  19236. },
  19237. "decimalplace": {
  19238. "description": "报价小数位",
  19239. "type": "integer"
  19240. },
  19241. "delistingdate": {
  19242. "description": "商品退市时间(状态:退市) -- 已作废",
  19243. "type": "string"
  19244. },
  19245. "delistingmode": {
  19246. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19247. "type": "integer"
  19248. },
  19249. "deliveryflag": {
  19250. "description": "交割标志 - 0:不可交割 1:可交割",
  19251. "type": "integer"
  19252. },
  19253. "forceclosemode": {
  19254. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19255. "type": "integer"
  19256. },
  19257. "forceclosevalue": {
  19258. "description": "定期强平参数 [收益权]",
  19259. "type": "integer"
  19260. },
  19261. "goodscode": {
  19262. "description": "商品代码(内部)",
  19263. "type": "string"
  19264. },
  19265. "goodscurrencyid": {
  19266. "description": "合约货币ID",
  19267. "type": "integer"
  19268. },
  19269. "goodsgroupid": {
  19270. "description": "所属商品组ID",
  19271. "type": "integer"
  19272. },
  19273. "goodsid": {
  19274. "description": "商品ID(自增ID SEQ_GOODS)",
  19275. "type": "integer"
  19276. },
  19277. "goodsname": {
  19278. "description": "商品名称",
  19279. "type": "string"
  19280. },
  19281. "goodsquotetype": {
  19282. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19283. "type": "integer"
  19284. },
  19285. "goodsstatus": {
  19286. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19287. "type": "integer"
  19288. },
  19289. "goodstradetype": {
  19290. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19291. "type": "integer"
  19292. },
  19293. "goodunitid": {
  19294. "description": "报价单位ID",
  19295. "type": "integer"
  19296. },
  19297. "hasquoter": {
  19298. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19299. "type": "integer"
  19300. },
  19301. "hqprotecttime": {
  19302. "description": "行情保护时间(秒)",
  19303. "type": "integer"
  19304. },
  19305. "innerdealmode": {
  19306. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19307. "type": "integer"
  19308. },
  19309. "isbuylimited": {
  19310. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19311. "type": "integer"
  19312. },
  19313. "isvisible": {
  19314. "description": "游客是否可见 - 0:不可见 1:可见",
  19315. "type": "integer"
  19316. },
  19317. "lasttradedate": {
  19318. "description": "最后交易日期(状态:待退市)",
  19319. "type": "string"
  19320. },
  19321. "listingdate": {
  19322. "description": "交易开始日期",
  19323. "type": "string"
  19324. },
  19325. "marketid": {
  19326. "description": "所属市场ID",
  19327. "type": "integer"
  19328. },
  19329. "modifierid": {
  19330. "description": "修改人",
  19331. "type": "integer"
  19332. },
  19333. "modifystatus": {
  19334. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19335. "type": "integer"
  19336. },
  19337. "modifytime": {
  19338. "description": "修改时间",
  19339. "type": "string"
  19340. },
  19341. "outerdealmode": {
  19342. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19343. "type": "integer"
  19344. },
  19345. "outgoodscode": {
  19346. "description": "商品代码(外部)",
  19347. "type": "string"
  19348. },
  19349. "pictureurl": {
  19350. "description": "商品图片",
  19351. "type": "string"
  19352. },
  19353. "qtydecimalplace": {
  19354. "description": "成交量小数位",
  19355. "type": "integer"
  19356. },
  19357. "quotegear": {
  19358. "description": "行情档位(1-10)",
  19359. "type": "integer"
  19360. },
  19361. "quoteminunit": {
  19362. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19363. "type": "integer"
  19364. },
  19365. "quoteshowtype": {
  19366. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19367. "type": "integer"
  19368. },
  19369. "quoteshowtypeinterval": {
  19370. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19371. "type": "integer"
  19372. },
  19373. "remark": {
  19374. "description": "备注",
  19375. "type": "string"
  19376. }
  19377. }
  19378. },
  19379. "models.GoodsIDAndName": {
  19380. "type": "object",
  19381. "required": [
  19382. "goodscode",
  19383. "goodsid",
  19384. "goodsname",
  19385. "marketid"
  19386. ],
  19387. "properties": {
  19388. "goodscode": {
  19389. "description": "商品代码(内部)",
  19390. "type": "string"
  19391. },
  19392. "goodsid": {
  19393. "description": "商品ID(自增ID SEQ_GOODS)",
  19394. "type": "integer"
  19395. },
  19396. "goodsname": {
  19397. "description": "商品名称",
  19398. "type": "string"
  19399. },
  19400. "marketid": {
  19401. "description": "所属市场ID",
  19402. "type": "integer"
  19403. }
  19404. }
  19405. },
  19406. "models.Goodsgroup": {
  19407. "type": "object",
  19408. "required": [
  19409. "goodsgroupid",
  19410. "goodsgroupname",
  19411. "goodsgroupstatus",
  19412. "marketid"
  19413. ],
  19414. "properties": {
  19415. "agreeunit": {
  19416. "description": "合约单位",
  19417. "type": "number"
  19418. },
  19419. "canshort": {
  19420. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19421. "type": "integer"
  19422. },
  19423. "closepricemode": {
  19424. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19425. "type": "integer"
  19426. },
  19427. "closepriceparam": {
  19428. "description": "强平最新价浮动比例 - 方式为2时使用",
  19429. "type": "number"
  19430. },
  19431. "createtime": {
  19432. "description": "创建时间",
  19433. "type": "string"
  19434. },
  19435. "creatorid": {
  19436. "description": "创建人",
  19437. "type": "integer"
  19438. },
  19439. "currencyid": {
  19440. "description": "报价货币ID",
  19441. "type": "integer"
  19442. },
  19443. "decimalplace": {
  19444. "description": "报价小数位",
  19445. "type": "integer"
  19446. },
  19447. "exercisetype": {
  19448. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19449. "type": "integer"
  19450. },
  19451. "exexchangeid": {
  19452. "description": "外部交易所ID[通道交易]",
  19453. "type": "integer"
  19454. },
  19455. "goodsgroupid": {
  19456. "description": "商品组ID(自增ID)",
  19457. "type": "integer"
  19458. },
  19459. "goodsgroupname": {
  19460. "description": "商品组名称",
  19461. "type": "string"
  19462. },
  19463. "goodsgroupstatus": {
  19464. "description": "商品组状态 - 1:正常 2:注销",
  19465. "type": "integer"
  19466. },
  19467. "goodunitid": {
  19468. "description": "报价单位ID",
  19469. "type": "integer"
  19470. },
  19471. "innerdealmode": {
  19472. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19473. "type": "integer"
  19474. },
  19475. "isbuylimited": {
  19476. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19477. "type": "integer"
  19478. },
  19479. "marketid": {
  19480. "description": "所属市场ID",
  19481. "type": "integer"
  19482. },
  19483. "modifierid": {
  19484. "description": "修改人",
  19485. "type": "integer"
  19486. },
  19487. "modifytime": {
  19488. "description": "修改时间",
  19489. "type": "string"
  19490. },
  19491. "outerdealmode": {
  19492. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19493. "type": "integer"
  19494. },
  19495. "outergroupcode": {
  19496. "description": "外部商品组代码[通道交易]",
  19497. "type": "string"
  19498. },
  19499. "premiumdecimalplace": {
  19500. "description": "权利金小数位[场外期权]",
  19501. "type": "integer"
  19502. },
  19503. "premiumspreadalgorithm": {
  19504. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19505. "type": "integer"
  19506. },
  19507. "premiumspreadvalue": {
  19508. "description": "权利金点差值[场外期权]",
  19509. "type": "number"
  19510. },
  19511. "qtydecimalplace": {
  19512. "description": "成交量小数位",
  19513. "type": "integer"
  19514. },
  19515. "quotegear": {
  19516. "description": "行情档位(1-10)",
  19517. "type": "integer"
  19518. },
  19519. "quoteminunit": {
  19520. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19521. "type": "integer"
  19522. },
  19523. "quoterid": {
  19524. "description": "报价商ID[场外期权]",
  19525. "type": "integer"
  19526. },
  19527. "quotesourcegroupid": {
  19528. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19529. "type": "integer"
  19530. },
  19531. "syncgoodsqty": {
  19532. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19533. "type": "integer"
  19534. }
  19535. }
  19536. },
  19537. "models.Goodssortbypreposition": {
  19538. "type": "object",
  19539. "required": [
  19540. "goodscode",
  19541. "tradedate"
  19542. ],
  19543. "properties": {
  19544. "goodscode": {
  19545. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19546. "type": "string"
  19547. },
  19548. "goodsgroupcode": {
  19549. "description": "品种代码",
  19550. "type": "string"
  19551. },
  19552. "prepositionqty": {
  19553. "description": "昨持仓量",
  19554. "type": "integer"
  19555. },
  19556. "sortindex": {
  19557. "description": "排序",
  19558. "type": "integer"
  19559. },
  19560. "tradedate": {
  19561. "description": "交易日",
  19562. "type": "string"
  19563. },
  19564. "updatetime": {
  19565. "description": "更新时间",
  19566. "type": "string"
  19567. }
  19568. }
  19569. },
  19570. "models.Hedgeinnerholderdetail": {
  19571. "type": "object",
  19572. "required": [
  19573. "buyorsell",
  19574. "tradeid"
  19575. ],
  19576. "properties": {
  19577. "accountid": {
  19578. "description": "账号ID",
  19579. "type": "integer"
  19580. },
  19581. "buyorsell": {
  19582. "description": "方向 - 0:买 1:卖",
  19583. "type": "integer"
  19584. },
  19585. "freezeqty": {
  19586. "description": "冻结数量 - 按单平使用",
  19587. "type": "integer"
  19588. },
  19589. "goodsid": {
  19590. "description": "商品ID",
  19591. "type": "integer"
  19592. },
  19593. "holderamount": {
  19594. "description": "持仓金额 [商品币种]",
  19595. "type": "number"
  19596. },
  19597. "holderdays": {
  19598. "description": "剩余冻结天数",
  19599. "type": "integer"
  19600. },
  19601. "holderprice": {
  19602. "description": "持仓价格",
  19603. "type": "number"
  19604. },
  19605. "holderqty": {
  19606. "description": "持仓数量",
  19607. "type": "integer"
  19608. },
  19609. "marketid": {
  19610. "description": "市场ID",
  19611. "type": "integer"
  19612. },
  19613. "openprice": {
  19614. "description": "建仓价格",
  19615. "type": "number"
  19616. },
  19617. "openqty": {
  19618. "description": "建仓数量",
  19619. "type": "integer"
  19620. },
  19621. "parentaccountid": {
  19622. "description": "所属母账户",
  19623. "type": "integer"
  19624. },
  19625. "releaseamount": {
  19626. "description": "释放持仓金额[商品币种]",
  19627. "type": "number"
  19628. },
  19629. "tradeamount": {
  19630. "description": "成交金额[账户]",
  19631. "type": "number"
  19632. },
  19633. "tradedate": {
  19634. "description": "交易日(yyyyMMdd)",
  19635. "type": "string"
  19636. },
  19637. "tradeid": {
  19638. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19639. "type": "string"
  19640. },
  19641. "tradetime": {
  19642. "description": "交易时间",
  19643. "type": "string"
  19644. }
  19645. }
  19646. },
  19647. "models.Hedgemarketopenlog": {
  19648. "type": "object",
  19649. "required": [
  19650. "accountid"
  19651. ],
  19652. "properties": {
  19653. "accountid": {
  19654. "description": "资金账号[外部母账户]",
  19655. "type": "integer"
  19656. },
  19657. "fcname": {
  19658. "description": "期货公司名称",
  19659. "type": "string"
  19660. },
  19661. "handlestatus": {
  19662. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  19663. "type": "integer"
  19664. },
  19665. "marketid": {
  19666. "description": "市场ID",
  19667. "type": "integer"
  19668. },
  19669. "status": {
  19670. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  19671. "type": "integer"
  19672. },
  19673. "tradedate": {
  19674. "description": "交易日(yyyyMMdd)",
  19675. "type": "string"
  19676. },
  19677. "updatetime": {
  19678. "description": "更新时间",
  19679. "type": "string"
  19680. }
  19681. }
  19682. },
  19683. "models.HsbyBuyMyPayOrder": {
  19684. "type": "object",
  19685. "required": [
  19686. "goodscode",
  19687. "goodsname",
  19688. "tradeid",
  19689. "trademode"
  19690. ],
  19691. "properties": {
  19692. "agreeunit": {
  19693. "description": "合约单位",
  19694. "type": "number"
  19695. },
  19696. "buyaccountid": {
  19697. "description": "买方账号ID[报价币种]",
  19698. "type": "integer"
  19699. },
  19700. "buyorderid": {
  19701. "description": "买方委托单号",
  19702. "type": "string"
  19703. },
  19704. "createtime": {
  19705. "description": "创建时间",
  19706. "type": "string"
  19707. },
  19708. "currencysign": {
  19709. "description": "货币符号",
  19710. "type": "string"
  19711. },
  19712. "decimalplace": {
  19713. "description": "报价小数位",
  19714. "type": "integer"
  19715. },
  19716. "goodscode": {
  19717. "description": "商品代码(内部)",
  19718. "type": "string"
  19719. },
  19720. "goodsid": {
  19721. "description": "商品ID",
  19722. "type": "integer"
  19723. },
  19724. "goodsname": {
  19725. "description": "商品名称",
  19726. "type": "string"
  19727. },
  19728. "marketid": {
  19729. "description": "市场ID",
  19730. "type": "integer"
  19731. },
  19732. "offamount": {
  19733. "description": "优惠金额",
  19734. "type": "number"
  19735. },
  19736. "originalamount": {
  19737. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  19738. "type": "number"
  19739. },
  19740. "payamount": {
  19741. "description": "支付金额 = TradeAmount + TradeCharge",
  19742. "type": "number"
  19743. },
  19744. "payflag": {
  19745. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19746. "type": "integer"
  19747. },
  19748. "paylimitedtime": {
  19749. "description": "支付期限",
  19750. "type": "string"
  19751. },
  19752. "paytime": {
  19753. "description": "付款时间",
  19754. "type": "string"
  19755. },
  19756. "picurls1": {
  19757. "description": "预售商品介绍图片[多张用逗号分隔]",
  19758. "type": "string"
  19759. },
  19760. "picurls2": {
  19761. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19762. "type": "string"
  19763. },
  19764. "sellaccountid": {
  19765. "description": "卖方账号ID[报价币种]",
  19766. "type": "integer"
  19767. },
  19768. "sellorderid": {
  19769. "description": "卖方委托单号",
  19770. "type": "string"
  19771. },
  19772. "tradeamount": {
  19773. "description": "成交金额",
  19774. "type": "number"
  19775. },
  19776. "tradecharge": {
  19777. "description": "成交手续费(买方)",
  19778. "type": "number"
  19779. },
  19780. "tradedate": {
  19781. "description": "交易日(yyyyMMdd)",
  19782. "type": "string"
  19783. },
  19784. "tradeid": {
  19785. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19786. "type": "string"
  19787. },
  19788. "trademode": {
  19789. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19790. "type": "integer"
  19791. },
  19792. "tradeprice": {
  19793. "description": "成交价格",
  19794. "type": "number"
  19795. },
  19796. "tradeqty": {
  19797. "description": "成交数量",
  19798. "type": "integer"
  19799. },
  19800. "vendorname1": {
  19801. "description": "预售商品供应商名称",
  19802. "type": "string"
  19803. },
  19804. "vendorname2": {
  19805. "description": "挂牌商品供应商名称",
  19806. "type": "string"
  19807. }
  19808. }
  19809. },
  19810. "models.HsbyBuyMyTradeDetail": {
  19811. "type": "object",
  19812. "required": [
  19813. "accountid",
  19814. "buyorsell",
  19815. "goodscode",
  19816. "goodsid",
  19817. "goodsname",
  19818. "marketid",
  19819. "orderid",
  19820. "qty",
  19821. "time",
  19822. "trademode"
  19823. ],
  19824. "properties": {
  19825. "accountid": {
  19826. "description": "账户ID[报价币种]",
  19827. "type": "integer"
  19828. },
  19829. "agreeunit": {
  19830. "description": "合约单位",
  19831. "type": "number"
  19832. },
  19833. "amount": {
  19834. "description": "金额 = 价格 * 数量 * 合约单位",
  19835. "type": "number"
  19836. },
  19837. "buyorsell": {
  19838. "description": "买卖 - 0:买 1:卖",
  19839. "type": "integer"
  19840. },
  19841. "currencysign": {
  19842. "description": "货币符号",
  19843. "type": "string"
  19844. },
  19845. "decimalplace": {
  19846. "description": "报价小数位",
  19847. "type": "integer"
  19848. },
  19849. "goodscode": {
  19850. "description": "商品代码(内部)",
  19851. "type": "string"
  19852. },
  19853. "goodsid": {
  19854. "description": "商品ID",
  19855. "type": "integer"
  19856. },
  19857. "goodsname": {
  19858. "description": "商品名称",
  19859. "type": "string"
  19860. },
  19861. "marketid": {
  19862. "description": "市场ID",
  19863. "type": "integer"
  19864. },
  19865. "orderamount": {
  19866. "description": "委托金额",
  19867. "type": "number"
  19868. },
  19869. "orderid": {
  19870. "description": "单号(成交单号)",
  19871. "type": "string"
  19872. },
  19873. "picurls1": {
  19874. "description": "预售商品介绍图片[多张用逗号分隔]",
  19875. "type": "string"
  19876. },
  19877. "picurls2": {
  19878. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19879. "type": "string"
  19880. },
  19881. "price": {
  19882. "description": "价格",
  19883. "type": "number"
  19884. },
  19885. "qty": {
  19886. "description": "数量",
  19887. "type": "integer"
  19888. },
  19889. "time": {
  19890. "description": "时间",
  19891. "type": "string"
  19892. },
  19893. "trademode": {
  19894. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19895. "type": "integer"
  19896. },
  19897. "vendorname1": {
  19898. "description": "预售商品供应商名称",
  19899. "type": "string"
  19900. },
  19901. "vendorname2": {
  19902. "description": "挂牌商品供应商名称",
  19903. "type": "string"
  19904. }
  19905. }
  19906. },
  19907. "models.HsbyGoodsOrderDetail": {
  19908. "type": "object",
  19909. "required": [
  19910. "buyorsell",
  19911. "orderid",
  19912. "ordertime"
  19913. ],
  19914. "properties": {
  19915. "buyorsell": {
  19916. "description": "买卖 - 0:买 1:卖",
  19917. "type": "integer"
  19918. },
  19919. "currencysign": {
  19920. "description": "货币符号",
  19921. "type": "string"
  19922. },
  19923. "customername": {
  19924. "description": "客户名称(企业名称),已脱敏",
  19925. "type": "string"
  19926. },
  19927. "enableqty": {
  19928. "description": "可用数量",
  19929. "type": "integer"
  19930. },
  19931. "goodunit": {
  19932. "description": "报价单位",
  19933. "type": "string"
  19934. },
  19935. "orderid": {
  19936. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19937. "type": "string"
  19938. },
  19939. "orderprice": {
  19940. "description": "委托价格",
  19941. "type": "number"
  19942. },
  19943. "ordertime": {
  19944. "description": "委托时间",
  19945. "type": "string"
  19946. }
  19947. }
  19948. },
  19949. "models.HsbyListingGoodsDetail": {
  19950. "type": "object",
  19951. "required": [
  19952. "goodscode",
  19953. "goodsid",
  19954. "goodsname",
  19955. "marketid",
  19956. "trademode"
  19957. ],
  19958. "properties": {
  19959. "agreeunit": {
  19960. "description": "合约单位",
  19961. "type": "number"
  19962. },
  19963. "buymaxqty": {
  19964. "description": "购买上限 [71] - 0为不限",
  19965. "type": "integer"
  19966. },
  19967. "currency": {
  19968. "description": "货币",
  19969. "type": "string"
  19970. },
  19971. "currencysign": {
  19972. "description": "货币符号",
  19973. "type": "string"
  19974. },
  19975. "decimalplace": {
  19976. "description": "报价小数位",
  19977. "type": "integer"
  19978. },
  19979. "desccityid": {
  19980. "description": "目的地(市)ID",
  19981. "type": "integer"
  19982. },
  19983. "descprovinceid": {
  19984. "description": "目的地(省)ID",
  19985. "type": "integer"
  19986. },
  19987. "goodscode": {
  19988. "description": "商品代码(内部)",
  19989. "type": "string"
  19990. },
  19991. "goodsdesc": {
  19992. "description": "商品详情",
  19993. "type": "string"
  19994. },
  19995. "goodsid": {
  19996. "description": "商品ID(自增ID SEQ_GOODS)",
  19997. "type": "integer"
  19998. },
  19999. "goodsname": {
  20000. "description": "商品名称",
  20001. "type": "string"
  20002. },
  20003. "goodsprice": {
  20004. "description": "商品价格",
  20005. "type": "number"
  20006. },
  20007. "hotindex": {
  20008. "description": "景点热度",
  20009. "type": "integer"
  20010. },
  20011. "last": {
  20012. "description": "现价",
  20013. "type": "number"
  20014. },
  20015. "limitdown": {
  20016. "description": "跌停价",
  20017. "type": "number"
  20018. },
  20019. "limitup": {
  20020. "description": "涨停价",
  20021. "type": "number"
  20022. },
  20023. "lotsize": {
  20024. "description": "手数最小变动单位",
  20025. "type": "integer"
  20026. },
  20027. "marketid": {
  20028. "description": "所属市场ID",
  20029. "type": "integer"
  20030. },
  20031. "picurls": {
  20032. "description": "介绍图片[多张用逗号分隔]",
  20033. "type": "string"
  20034. },
  20035. "quoteminunit": {
  20036. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20037. "type": "integer"
  20038. },
  20039. "stepvalue": {
  20040. "description": "价格最小变动单位",
  20041. "type": "number"
  20042. },
  20043. "trademode": {
  20044. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20045. "type": "integer"
  20046. },
  20047. "vendorattr": {
  20048. "description": "供应商附件(多张,逗号分隔)",
  20049. "type": "string"
  20050. },
  20051. "vendorname": {
  20052. "description": "供应商名称",
  20053. "type": "string"
  20054. },
  20055. "vendorphone": {
  20056. "description": "供应商客服电话",
  20057. "type": "string"
  20058. },
  20059. "videourls": {
  20060. "description": "介绍视频[多张用逗号分隔]",
  20061. "type": "string"
  20062. }
  20063. }
  20064. },
  20065. "models.HsbyMarketGoods": {
  20066. "type": "object",
  20067. "required": [
  20068. "accountid",
  20069. "buyorsell",
  20070. "goodscode",
  20071. "goodsid",
  20072. "goodsname",
  20073. "marketid",
  20074. "orderid",
  20075. "trademode"
  20076. ],
  20077. "properties": {
  20078. "accountid": {
  20079. "description": "账户ID[报价币种]",
  20080. "type": "integer"
  20081. },
  20082. "agreeunit": {
  20083. "description": "合约单位",
  20084. "type": "number"
  20085. },
  20086. "buyorsell": {
  20087. "description": "买卖 - 0:买 1:卖",
  20088. "type": "integer"
  20089. },
  20090. "categoryid": {
  20091. "description": "类别ID(WRCATEGORY)",
  20092. "type": "integer"
  20093. },
  20094. "currency": {
  20095. "description": "货币",
  20096. "type": "string"
  20097. },
  20098. "currencysign": {
  20099. "description": "货币符号",
  20100. "type": "string"
  20101. },
  20102. "customername": {
  20103. "description": "卖家名称",
  20104. "type": "string"
  20105. },
  20106. "decimalplace": {
  20107. "description": "报价小数位",
  20108. "type": "integer"
  20109. },
  20110. "goodscode": {
  20111. "description": "商品代码(内部)",
  20112. "type": "string"
  20113. },
  20114. "goodsid": {
  20115. "description": "商品ID",
  20116. "type": "integer"
  20117. },
  20118. "goodsname": {
  20119. "description": "商品名称",
  20120. "type": "string"
  20121. },
  20122. "goodsprice": {
  20123. "description": "商品价格",
  20124. "type": "number"
  20125. },
  20126. "hascoupon": {
  20127. "description": "是否可用优惠卷",
  20128. "type": "boolean"
  20129. },
  20130. "hotindex": {
  20131. "description": "景点热度",
  20132. "type": "integer"
  20133. },
  20134. "marketid": {
  20135. "description": "市场ID",
  20136. "type": "integer"
  20137. },
  20138. "orderid": {
  20139. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20140. "type": "string"
  20141. },
  20142. "orderprice": {
  20143. "description": "委托价格",
  20144. "type": "number"
  20145. },
  20146. "orderstatus": {
  20147. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20148. "type": "integer"
  20149. },
  20150. "picurls": {
  20151. "description": "介绍图片[多张用逗号分隔]",
  20152. "type": "string"
  20153. },
  20154. "quoteminunit": {
  20155. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20156. "type": "integer"
  20157. },
  20158. "sellUserID": {
  20159. "description": "卖方UserID",
  20160. "type": "integer"
  20161. },
  20162. "trademode": {
  20163. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20164. "type": "integer"
  20165. },
  20166. "videourls": {
  20167. "description": "介绍视频[多张用逗号分隔]",
  20168. "type": "string"
  20169. }
  20170. }
  20171. },
  20172. "models.HsbyMarketGoodsDetail": {
  20173. "type": "object",
  20174. "required": [
  20175. "accountid",
  20176. "buyorsell",
  20177. "goodscode",
  20178. "goodsid",
  20179. "goodsname",
  20180. "marketid",
  20181. "orderid",
  20182. "orderqty",
  20183. "trademode"
  20184. ],
  20185. "properties": {
  20186. "accountid": {
  20187. "description": "账户ID[报价币种]",
  20188. "type": "integer"
  20189. },
  20190. "agreeunit": {
  20191. "description": "合约单位",
  20192. "type": "number"
  20193. },
  20194. "buymaxqty": {
  20195. "description": "购买上限 [71] - 0为不限",
  20196. "type": "integer"
  20197. },
  20198. "buyorsell": {
  20199. "description": "买卖 - 0:买 1:卖",
  20200. "type": "integer"
  20201. },
  20202. "cancelqty": {
  20203. "description": "撤单数量",
  20204. "type": "integer"
  20205. },
  20206. "categoryid": {
  20207. "description": "类别ID(WRCATEGORY)",
  20208. "type": "integer"
  20209. },
  20210. "currency": {
  20211. "description": "货币",
  20212. "type": "string"
  20213. },
  20214. "currencysign": {
  20215. "description": "货币符号",
  20216. "type": "string"
  20217. },
  20218. "customername": {
  20219. "description": "卖家名称",
  20220. "type": "string"
  20221. },
  20222. "decimalplace": {
  20223. "description": "报价小数位",
  20224. "type": "integer"
  20225. },
  20226. "goodscode": {
  20227. "description": "商品代码(内部)",
  20228. "type": "string"
  20229. },
  20230. "goodsdesc": {
  20231. "description": "商品详情",
  20232. "type": "string"
  20233. },
  20234. "goodsid": {
  20235. "description": "商品ID",
  20236. "type": "integer"
  20237. },
  20238. "goodsname": {
  20239. "description": "商品名称",
  20240. "type": "string"
  20241. },
  20242. "goodsprice": {
  20243. "description": "商品价格",
  20244. "type": "number"
  20245. },
  20246. "hotindex": {
  20247. "description": "景点热度",
  20248. "type": "integer"
  20249. },
  20250. "lotsize": {
  20251. "description": "手数最小变动单位",
  20252. "type": "integer"
  20253. },
  20254. "marketid": {
  20255. "description": "市场ID",
  20256. "type": "integer"
  20257. },
  20258. "orderid": {
  20259. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20260. "type": "string"
  20261. },
  20262. "orderprice": {
  20263. "description": "委托价格",
  20264. "type": "number"
  20265. },
  20266. "orderqty": {
  20267. "description": "委托数量",
  20268. "type": "integer"
  20269. },
  20270. "orderstatus": {
  20271. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20272. "type": "integer"
  20273. },
  20274. "picurls": {
  20275. "description": "介绍图片[多张用逗号分隔]",
  20276. "type": "string"
  20277. },
  20278. "quoteminunit": {
  20279. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20280. "type": "integer"
  20281. },
  20282. "sellUserID": {
  20283. "description": "卖方UserID",
  20284. "type": "integer"
  20285. },
  20286. "trademode": {
  20287. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20288. "type": "integer"
  20289. },
  20290. "tradeqty": {
  20291. "description": "成交数量",
  20292. "type": "integer"
  20293. },
  20294. "vendorattr": {
  20295. "description": "供应商附件(多张,逗号分隔)",
  20296. "type": "string"
  20297. },
  20298. "vendorname": {
  20299. "description": "供应商名称",
  20300. "type": "string"
  20301. },
  20302. "vendorphone": {
  20303. "description": "供应商客服电话",
  20304. "type": "string"
  20305. },
  20306. "videourls": {
  20307. "description": "介绍视频[多张用逗号分隔]",
  20308. "type": "string"
  20309. }
  20310. }
  20311. },
  20312. "models.HsbyMarketInfo": {
  20313. "type": "object",
  20314. "required": [
  20315. "marketid",
  20316. "marketstatus",
  20317. "trademode"
  20318. ],
  20319. "properties": {
  20320. "marketid": {
  20321. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20322. "type": "integer"
  20323. },
  20324. "marketname": {
  20325. "description": "市场名称",
  20326. "type": "string"
  20327. },
  20328. "marketstatus": {
  20329. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20330. "type": "integer"
  20331. },
  20332. "trademode": {
  20333. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20334. "type": "integer"
  20335. }
  20336. }
  20337. },
  20338. "models.HsbyMyGoods": {
  20339. "type": "object",
  20340. "required": [
  20341. "accountid",
  20342. "goodscode",
  20343. "goodsid",
  20344. "goodsname",
  20345. "marketid",
  20346. "trademode"
  20347. ],
  20348. "properties": {
  20349. "accountid": {
  20350. "description": "账号Id",
  20351. "type": "integer"
  20352. },
  20353. "agreeunit": {
  20354. "description": "合约单位",
  20355. "type": "number"
  20356. },
  20357. "buyaverageprice": {
  20358. "description": "持仓均价",
  20359. "type": "number"
  20360. },
  20361. "buycurholderamount": {
  20362. "description": "买当前持仓总金额[商品币种]",
  20363. "type": "number"
  20364. },
  20365. "buycurpositionqty": {
  20366. "description": "买当前持仓总数量",
  20367. "type": "integer"
  20368. },
  20369. "buymaxqty": {
  20370. "description": "购买上限 [71] - 0为不限",
  20371. "type": "integer"
  20372. },
  20373. "currencysign": {
  20374. "description": "货币符号",
  20375. "type": "string"
  20376. },
  20377. "decimalplace": {
  20378. "description": "报价小数位",
  20379. "type": "integer"
  20380. },
  20381. "enableqty": {
  20382. "description": "可用数量",
  20383. "type": "integer"
  20384. },
  20385. "goodscode": {
  20386. "description": "商品代码(内部)",
  20387. "type": "string"
  20388. },
  20389. "goodsid": {
  20390. "description": "商品Id",
  20391. "type": "integer"
  20392. },
  20393. "goodsname": {
  20394. "description": "商品名称",
  20395. "type": "string"
  20396. },
  20397. "goodsprice": {
  20398. "description": "商品价格",
  20399. "type": "number"
  20400. },
  20401. "goodsstatus": {
  20402. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20403. "type": "integer"
  20404. },
  20405. "last": {
  20406. "description": "现价(仅使用于挂牌点选)",
  20407. "type": "number"
  20408. },
  20409. "limitdown": {
  20410. "description": "跌停价(仅使用于挂牌点选)",
  20411. "type": "number"
  20412. },
  20413. "limitup": {
  20414. "description": "涨停价(仅使用于挂牌点选)",
  20415. "type": "number"
  20416. },
  20417. "lotsize": {
  20418. "description": "手数最小变动单位",
  20419. "type": "integer"
  20420. },
  20421. "marketid": {
  20422. "description": "所属市场ID",
  20423. "type": "integer"
  20424. },
  20425. "picurls": {
  20426. "description": "介绍图片[多张用逗号分隔]",
  20427. "type": "string"
  20428. },
  20429. "quoteminunit": {
  20430. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20431. "type": "integer"
  20432. },
  20433. "stepvalue": {
  20434. "description": "价格最小变动单位",
  20435. "type": "number"
  20436. },
  20437. "trademode": {
  20438. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20439. "type": "integer"
  20440. }
  20441. }
  20442. },
  20443. "models.HsbyMyPackage": {
  20444. "type": "object",
  20445. "required": [
  20446. "goodscode",
  20447. "goodsname",
  20448. "takeorderid",
  20449. "trademode"
  20450. ],
  20451. "properties": {
  20452. "accountid": {
  20453. "description": "账户ID",
  20454. "type": "integer"
  20455. },
  20456. "address": {
  20457. "description": "提货人详细地址",
  20458. "type": "string"
  20459. },
  20460. "agreeunit": {
  20461. "description": "合约单位",
  20462. "type": "number"
  20463. },
  20464. "amount": {
  20465. "description": "提货金额",
  20466. "type": "number"
  20467. },
  20468. "auditer": {
  20469. "description": "审核人",
  20470. "type": "integer"
  20471. },
  20472. "audittime": {
  20473. "description": "审核时间",
  20474. "type": "string"
  20475. },
  20476. "averageprice": {
  20477. "description": "均价",
  20478. "type": "number"
  20479. },
  20480. "cardnum": {
  20481. "description": "提货人证件号码",
  20482. "type": "string"
  20483. },
  20484. "cardtypeid": {
  20485. "description": "提货人证件类型",
  20486. "type": "integer"
  20487. },
  20488. "checkremark": {
  20489. "description": "审核备注",
  20490. "type": "string"
  20491. },
  20492. "currencysign": {
  20493. "description": "货币符号",
  20494. "type": "string"
  20495. },
  20496. "decimalplace": {
  20497. "description": "报价小数位",
  20498. "type": "integer"
  20499. },
  20500. "goodscode": {
  20501. "description": "商品代码(内部)",
  20502. "type": "string"
  20503. },
  20504. "goodsid": {
  20505. "description": "商品ID",
  20506. "type": "integer"
  20507. },
  20508. "goodsname": {
  20509. "description": "商品名称",
  20510. "type": "string"
  20511. },
  20512. "handlestatus": {
  20513. "description": "处理状态",
  20514. "type": "integer"
  20515. },
  20516. "marketid": {
  20517. "description": "市场ID",
  20518. "type": "integer"
  20519. },
  20520. "phonenum": {
  20521. "description": "提货人联系方式",
  20522. "type": "string"
  20523. },
  20524. "picurls": {
  20525. "description": "介绍图片[多张用逗号分隔]",
  20526. "type": "string"
  20527. },
  20528. "qty": {
  20529. "description": "提货数量",
  20530. "type": "number"
  20531. },
  20532. "recivername": {
  20533. "description": "提货人姓名",
  20534. "type": "string"
  20535. },
  20536. "reqtime": {
  20537. "description": "更新时间",
  20538. "type": "string"
  20539. },
  20540. "takemode": {
  20541. "description": "提货方式 - 2:自提 3:配送",
  20542. "type": "integer"
  20543. },
  20544. "takeorderid": {
  20545. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20546. "type": "string"
  20547. },
  20548. "takeorderstatus": {
  20549. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20550. "type": "integer"
  20551. },
  20552. "takeremark": {
  20553. "description": "提货备注",
  20554. "type": "string"
  20555. },
  20556. "tradedate": {
  20557. "description": "交易日(yyyyMMdd)",
  20558. "type": "string"
  20559. },
  20560. "trademode": {
  20561. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20562. "type": "integer"
  20563. },
  20564. "userid": {
  20565. "description": "用户ID",
  20566. "type": "integer"
  20567. },
  20568. "vendorname": {
  20569. "description": "供应商名称",
  20570. "type": "string"
  20571. }
  20572. }
  20573. },
  20574. "models.HsbyPreGoods": {
  20575. "type": "object",
  20576. "required": [
  20577. "goodscode",
  20578. "goodsid",
  20579. "goodsname",
  20580. "marketid",
  20581. "trademode"
  20582. ],
  20583. "properties": {
  20584. "agreeunit": {
  20585. "description": "合约单位",
  20586. "type": "number"
  20587. },
  20588. "currency": {
  20589. "description": "货币",
  20590. "type": "string"
  20591. },
  20592. "currencysign": {
  20593. "description": "货币符号",
  20594. "type": "string"
  20595. },
  20596. "decimalplace": {
  20597. "description": "报价小数位",
  20598. "type": "integer"
  20599. },
  20600. "desccityid": {
  20601. "description": "目的地(市)",
  20602. "type": "integer"
  20603. },
  20604. "descprovinceid": {
  20605. "description": "目的地(省)",
  20606. "type": "integer"
  20607. },
  20608. "enableqty": {
  20609. "description": "剩余数量",
  20610. "type": "integer"
  20611. },
  20612. "goodscode": {
  20613. "description": "商品代码(内部)",
  20614. "type": "string"
  20615. },
  20616. "goodsid": {
  20617. "description": "商品ID(自增ID SEQ_GOODS)",
  20618. "type": "integer"
  20619. },
  20620. "goodsname": {
  20621. "description": "商品名称",
  20622. "type": "string"
  20623. },
  20624. "goodsstatus": {
  20625. "description": "商品状态- 2:未上市 3:上市",
  20626. "type": "integer"
  20627. },
  20628. "lasttradedate": {
  20629. "description": "最后交易日期(状态:待退市)",
  20630. "type": "string"
  20631. },
  20632. "listingdate": {
  20633. "description": "交易开始日期",
  20634. "type": "string"
  20635. },
  20636. "marketid": {
  20637. "description": "所属市场ID",
  20638. "type": "integer"
  20639. },
  20640. "picurls": {
  20641. "description": "介绍图片[多张用逗号分隔]",
  20642. "type": "string"
  20643. },
  20644. "presaledqty": {
  20645. "description": "已预售量(预售结束时更新)",
  20646. "type": "integer"
  20647. },
  20648. "presaleqty": {
  20649. "description": "预售数量",
  20650. "type": "integer"
  20651. },
  20652. "quoteminunit": {
  20653. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20654. "type": "integer"
  20655. },
  20656. "refprice": {
  20657. "description": "参考价格[一口价]",
  20658. "type": "number"
  20659. },
  20660. "relatedgoodsid": {
  20661. "description": "关联交易合约ID",
  20662. "type": "integer"
  20663. },
  20664. "trademode": {
  20665. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20666. "type": "integer"
  20667. },
  20668. "videourls": {
  20669. "description": "介绍视频[多张用逗号分隔]",
  20670. "type": "string"
  20671. }
  20672. }
  20673. },
  20674. "models.HsbyPreGoodsDetail": {
  20675. "type": "object",
  20676. "required": [
  20677. "goodscode",
  20678. "goodsid",
  20679. "goodsname",
  20680. "marketid",
  20681. "trademode"
  20682. ],
  20683. "properties": {
  20684. "agreeunit": {
  20685. "description": "合约单位",
  20686. "type": "number"
  20687. },
  20688. "buymaxqty": {
  20689. "description": "购买上限 [71] - 0为不限",
  20690. "type": "integer"
  20691. },
  20692. "currency": {
  20693. "description": "货币",
  20694. "type": "string"
  20695. },
  20696. "currencysign": {
  20697. "description": "货币符号",
  20698. "type": "string"
  20699. },
  20700. "customername": {
  20701. "description": "发行单位",
  20702. "type": "string"
  20703. },
  20704. "decimalplace": {
  20705. "description": "报价小数位",
  20706. "type": "integer"
  20707. },
  20708. "desccityid": {
  20709. "description": "目的地(市)ID",
  20710. "type": "integer"
  20711. },
  20712. "descprovinceid": {
  20713. "description": "目的地(省)ID",
  20714. "type": "integer"
  20715. },
  20716. "enableqty": {
  20717. "description": "剩余数量",
  20718. "type": "integer"
  20719. },
  20720. "goodscode": {
  20721. "description": "商品代码(内部)",
  20722. "type": "string"
  20723. },
  20724. "goodsdesc": {
  20725. "description": "商品详情",
  20726. "type": "string"
  20727. },
  20728. "goodsid": {
  20729. "description": "商品ID(自增ID SEQ_GOODS)",
  20730. "type": "integer"
  20731. },
  20732. "goodsname": {
  20733. "description": "商品名称",
  20734. "type": "string"
  20735. },
  20736. "goodsstatus": {
  20737. "description": "商品状态- 2:未上市 3:上市",
  20738. "type": "integer"
  20739. },
  20740. "goodunit": {
  20741. "description": "报价单位",
  20742. "type": "string"
  20743. },
  20744. "lasttradedate": {
  20745. "description": "最后交易日期(状态:待退市)",
  20746. "type": "string"
  20747. },
  20748. "listingdate": {
  20749. "description": "交易开始日期",
  20750. "type": "string"
  20751. },
  20752. "lotsize": {
  20753. "description": "手数最小变动单位",
  20754. "type": "integer"
  20755. },
  20756. "marketid": {
  20757. "description": "所属市场ID",
  20758. "type": "integer"
  20759. },
  20760. "picurls": {
  20761. "description": "介绍图片[多张用逗号分隔]",
  20762. "type": "string"
  20763. },
  20764. "presaledqty": {
  20765. "description": "已预售量(预售结束时更新)",
  20766. "type": "integer"
  20767. },
  20768. "presaleqty": {
  20769. "description": "预售数量",
  20770. "type": "integer"
  20771. },
  20772. "quoteminunit": {
  20773. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20774. "type": "integer"
  20775. },
  20776. "refprice": {
  20777. "description": "参考价格[一口价]",
  20778. "type": "number"
  20779. },
  20780. "relatedgoodsid": {
  20781. "description": "关联交易合约ID",
  20782. "type": "integer"
  20783. },
  20784. "stepvalue": {
  20785. "description": "价格最小变动单位",
  20786. "type": "number"
  20787. },
  20788. "trademode": {
  20789. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20790. "type": "integer"
  20791. },
  20792. "vendorattr": {
  20793. "description": "供应商附件(多张,逗号分隔)",
  20794. "type": "string"
  20795. },
  20796. "vendorname": {
  20797. "description": "供应商名称",
  20798. "type": "string"
  20799. },
  20800. "vendorphone": {
  20801. "description": "供应商客服电话",
  20802. "type": "string"
  20803. },
  20804. "videourls": {
  20805. "description": "介绍视频[多张用逗号分隔]",
  20806. "type": "string"
  20807. }
  20808. }
  20809. },
  20810. "models.HsbySellCollectionOrder": {
  20811. "type": "object",
  20812. "required": [
  20813. "goodscode",
  20814. "goodsname",
  20815. "tradeid",
  20816. "trademode"
  20817. ],
  20818. "properties": {
  20819. "agreeunit": {
  20820. "description": "合约单位",
  20821. "type": "number"
  20822. },
  20823. "buyaccountid": {
  20824. "description": "买方账号ID[报价币种]",
  20825. "type": "integer"
  20826. },
  20827. "buyorderid": {
  20828. "description": "买方委托单号",
  20829. "type": "string"
  20830. },
  20831. "createtime": {
  20832. "description": "创建时间",
  20833. "type": "string"
  20834. },
  20835. "currencysign": {
  20836. "description": "货币符号",
  20837. "type": "string"
  20838. },
  20839. "decimalplace": {
  20840. "description": "报价小数位",
  20841. "type": "integer"
  20842. },
  20843. "goodscode": {
  20844. "description": "商品代码(内部)",
  20845. "type": "string"
  20846. },
  20847. "goodsid": {
  20848. "description": "商品ID",
  20849. "type": "integer"
  20850. },
  20851. "goodsname": {
  20852. "description": "商品名称",
  20853. "type": "string"
  20854. },
  20855. "marketid": {
  20856. "description": "市场ID",
  20857. "type": "integer"
  20858. },
  20859. "offamount": {
  20860. "description": "优惠金额",
  20861. "type": "number"
  20862. },
  20863. "payamount": {
  20864. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  20865. "type": "number"
  20866. },
  20867. "payflag": {
  20868. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20869. "type": "integer"
  20870. },
  20871. "paylimitedtime": {
  20872. "description": "支付期限",
  20873. "type": "string"
  20874. },
  20875. "paytime": {
  20876. "description": "付款时间",
  20877. "type": "string"
  20878. },
  20879. "picurls": {
  20880. "description": "商品介绍图片[多张用逗号分隔]",
  20881. "type": "string"
  20882. },
  20883. "sellaccountid": {
  20884. "description": "卖方账号ID[报价币种]",
  20885. "type": "integer"
  20886. },
  20887. "sellorderid": {
  20888. "description": "卖方委托单号",
  20889. "type": "string"
  20890. },
  20891. "tradeamount": {
  20892. "description": "成交金额",
  20893. "type": "number"
  20894. },
  20895. "tradecharge": {
  20896. "description": "成交手续费(买方)",
  20897. "type": "number"
  20898. },
  20899. "tradedate": {
  20900. "description": "交易日(yyyyMMdd)",
  20901. "type": "string"
  20902. },
  20903. "tradeid": {
  20904. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20905. "type": "string"
  20906. },
  20907. "trademode": {
  20908. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20909. "type": "integer"
  20910. },
  20911. "tradeprice": {
  20912. "description": "成交价格",
  20913. "type": "number"
  20914. },
  20915. "tradeqty": {
  20916. "description": "成交数量",
  20917. "type": "integer"
  20918. }
  20919. }
  20920. },
  20921. "models.HsbySellMyDetail": {
  20922. "type": "object",
  20923. "required": [
  20924. "accountid",
  20925. "buyorsell",
  20926. "goodscode",
  20927. "goodsid",
  20928. "goodsname",
  20929. "marketid",
  20930. "orderid",
  20931. "time",
  20932. "trademode"
  20933. ],
  20934. "properties": {
  20935. "accountid": {
  20936. "description": "账户ID[报价币种]",
  20937. "type": "integer"
  20938. },
  20939. "agreeunit": {
  20940. "description": "合约单位",
  20941. "type": "number"
  20942. },
  20943. "buyorsell": {
  20944. "description": "买卖 - 0:买 1:卖",
  20945. "type": "integer"
  20946. },
  20947. "currencysign": {
  20948. "description": "货币符号",
  20949. "type": "string"
  20950. },
  20951. "decimalplace": {
  20952. "description": "报价小数位",
  20953. "type": "integer"
  20954. },
  20955. "goodscode": {
  20956. "description": "商品代码(内部)",
  20957. "type": "string"
  20958. },
  20959. "goodsid": {
  20960. "description": "商品ID",
  20961. "type": "integer"
  20962. },
  20963. "goodsname": {
  20964. "description": "商品名称",
  20965. "type": "string"
  20966. },
  20967. "marketid": {
  20968. "description": "市场ID",
  20969. "type": "integer"
  20970. },
  20971. "orderid": {
  20972. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  20973. "type": "string"
  20974. },
  20975. "ordertype": {
  20976. "description": "单据类型:0 - 发布中, 1 - 已完成",
  20977. "type": "integer"
  20978. },
  20979. "picurls": {
  20980. "description": "介绍图片[多张用逗号分隔]",
  20981. "type": "string"
  20982. },
  20983. "price": {
  20984. "description": "价格",
  20985. "type": "number"
  20986. },
  20987. "qty": {
  20988. "description": "数量",
  20989. "type": "integer"
  20990. },
  20991. "time": {
  20992. "description": "时间",
  20993. "type": "string"
  20994. },
  20995. "trademode": {
  20996. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20997. "type": "integer"
  20998. },
  20999. "vendorname": {
  21000. "description": "供应商名称",
  21001. "type": "string"
  21002. }
  21003. }
  21004. },
  21005. "models.HsbyTopGoods": {
  21006. "type": "object",
  21007. "required": [
  21008. "goodscode",
  21009. "goodsid",
  21010. "goodsname",
  21011. "marketid",
  21012. "trademode"
  21013. ],
  21014. "properties": {
  21015. "agreeunit": {
  21016. "description": "合约单位",
  21017. "type": "number"
  21018. },
  21019. "currency": {
  21020. "description": "货币",
  21021. "type": "string"
  21022. },
  21023. "currencysign": {
  21024. "description": "货币符号",
  21025. "type": "string"
  21026. },
  21027. "decimalplace": {
  21028. "description": "报价小数位",
  21029. "type": "integer"
  21030. },
  21031. "desccityid": {
  21032. "description": "目的地(市)",
  21033. "type": "integer"
  21034. },
  21035. "descprovinceid": {
  21036. "description": "目的地(省)",
  21037. "type": "integer"
  21038. },
  21039. "goodscode": {
  21040. "description": "商品代码(内部)",
  21041. "type": "string"
  21042. },
  21043. "goodsid": {
  21044. "description": "商品ID(自增ID SEQ_GOODS)",
  21045. "type": "integer"
  21046. },
  21047. "goodsname": {
  21048. "description": "商品名称",
  21049. "type": "string"
  21050. },
  21051. "hotindex": {
  21052. "description": "景点热度",
  21053. "type": "integer"
  21054. },
  21055. "last": {
  21056. "description": "现价",
  21057. "type": "number"
  21058. },
  21059. "marketid": {
  21060. "description": "所属市场ID",
  21061. "type": "integer"
  21062. },
  21063. "picurls": {
  21064. "description": "介绍图片[多张用逗号分隔]",
  21065. "type": "string"
  21066. },
  21067. "quoteminunit": {
  21068. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21069. "type": "integer"
  21070. },
  21071. "trademode": {
  21072. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21073. "type": "integer"
  21074. },
  21075. "videourls": {
  21076. "description": "介绍视频[多张用逗号分隔]",
  21077. "type": "string"
  21078. }
  21079. }
  21080. },
  21081. "models.HybsMyBuyOrderDetail": {
  21082. "type": "object",
  21083. "required": [
  21084. "accountid",
  21085. "buyorsell",
  21086. "goodscode",
  21087. "goodsid",
  21088. "goodsname",
  21089. "marketid",
  21090. "orderid",
  21091. "orderqty",
  21092. "ordertime",
  21093. "trademode"
  21094. ],
  21095. "properties": {
  21096. "accountid": {
  21097. "description": "账户ID[报价币种]",
  21098. "type": "integer"
  21099. },
  21100. "agreeunit": {
  21101. "description": "合约单位",
  21102. "type": "number"
  21103. },
  21104. "buyorsell": {
  21105. "description": "买卖 - 0:买 1:卖",
  21106. "type": "integer"
  21107. },
  21108. "cancelqty": {
  21109. "description": "撤单数量",
  21110. "type": "integer"
  21111. },
  21112. "currencysign": {
  21113. "description": "货币符号",
  21114. "type": "string"
  21115. },
  21116. "decimalplace": {
  21117. "description": "报价小数位",
  21118. "type": "integer"
  21119. },
  21120. "goodscode": {
  21121. "description": "商品代码(内部)",
  21122. "type": "string"
  21123. },
  21124. "goodsid": {
  21125. "description": "商品ID",
  21126. "type": "integer"
  21127. },
  21128. "goodsname": {
  21129. "description": "商品名称",
  21130. "type": "string"
  21131. },
  21132. "listingselecttype": {
  21133. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21134. "type": "integer"
  21135. },
  21136. "marketid": {
  21137. "description": "市场ID",
  21138. "type": "integer"
  21139. },
  21140. "mybuystatus": {
  21141. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  21142. "type": "integer"
  21143. },
  21144. "orderamount": {
  21145. "description": "委托金额",
  21146. "type": "number"
  21147. },
  21148. "orderid": {
  21149. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21150. "type": "string"
  21151. },
  21152. "orderprice": {
  21153. "description": "委托价格",
  21154. "type": "number"
  21155. },
  21156. "orderqty": {
  21157. "description": "委托数量",
  21158. "type": "integer"
  21159. },
  21160. "orderstatus": {
  21161. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21162. "type": "integer"
  21163. },
  21164. "ordertime": {
  21165. "description": "委托时间",
  21166. "type": "string"
  21167. },
  21168. "picurls1": {
  21169. "description": "预售商品介绍图片[多张用逗号分隔]",
  21170. "type": "string"
  21171. },
  21172. "picurls2": {
  21173. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21174. "type": "string"
  21175. },
  21176. "trademode": {
  21177. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21178. "type": "integer"
  21179. },
  21180. "tradeqty": {
  21181. "description": "成交数量",
  21182. "type": "integer"
  21183. },
  21184. "vendorname1": {
  21185. "description": "预售商品供应商名称",
  21186. "type": "string"
  21187. },
  21188. "vendorname2": {
  21189. "description": "挂牌商品供应商名称",
  21190. "type": "string"
  21191. }
  21192. }
  21193. },
  21194. "models.Loginaccount": {
  21195. "type": "object",
  21196. "required": [
  21197. "loginid"
  21198. ],
  21199. "properties": {
  21200. "canoutin": {
  21201. "description": "是否可出入金 - 0:不可 1:可",
  21202. "type": "integer"
  21203. },
  21204. "clientroleid": {
  21205. "description": "终端角色ID",
  21206. "type": "integer"
  21207. },
  21208. "haslogined": {
  21209. "description": "是否已登录 - 0:未登录 1:已登录",
  21210. "type": "integer"
  21211. },
  21212. "hasupdatedpwd": {
  21213. "description": "是否已更改密码 - 0:未修改 1:已修改",
  21214. "type": "integer"
  21215. },
  21216. "lastloginip": {
  21217. "description": "最新登录地址",
  21218. "type": "string"
  21219. },
  21220. "lastloginmode": {
  21221. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21222. "type": "integer"
  21223. },
  21224. "lastloginremark": {
  21225. "description": "最新登录描述",
  21226. "type": "string"
  21227. },
  21228. "lastlogintime": {
  21229. "description": "最新登录时间",
  21230. "type": "string"
  21231. },
  21232. "logincode": {
  21233. "description": "登录代码",
  21234. "type": "string"
  21235. },
  21236. "loginfailnum": {
  21237. "description": "连续登录失败次数(登录成功时清零)",
  21238. "type": "integer"
  21239. },
  21240. "loginid": {
  21241. "description": "登陆账号",
  21242. "type": "integer"
  21243. },
  21244. "loginport": {
  21245. "description": "最新登录端口",
  21246. "type": "integer"
  21247. },
  21248. "loginstatus": {
  21249. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  21250. "type": "integer"
  21251. },
  21252. "loginusertype": {
  21253. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  21254. "type": "integer"
  21255. },
  21256. "modifierid": {
  21257. "description": "修改人",
  21258. "type": "integer"
  21259. },
  21260. "modifytime": {
  21261. "description": "修改时间",
  21262. "type": "string"
  21263. },
  21264. "pwdwrongcount": {
  21265. "description": "密码错误次数",
  21266. "type": "integer"
  21267. },
  21268. "taaccountrighttype": {
  21269. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  21270. "type": "integer"
  21271. },
  21272. "unfreezetime": {
  21273. "description": "账户解冻时间",
  21274. "type": "string"
  21275. },
  21276. "userid": {
  21277. "description": "用户ID",
  21278. "type": "integer"
  21279. }
  21280. }
  21281. },
  21282. "models.MainAccountInfo": {
  21283. "type": "object",
  21284. "properties": {
  21285. "accountid": {
  21286. "description": "账号id",
  21287. "type": "integer"
  21288. },
  21289. "accountname": {
  21290. "description": "账号名称(taaccount表中的名称)",
  21291. "type": "string"
  21292. },
  21293. "appid": {
  21294. "description": "AppID",
  21295. "type": "string"
  21296. },
  21297. "authcode": {
  21298. "description": "授权码",
  21299. "type": "string"
  21300. },
  21301. "brokerid": {
  21302. "description": "经纪商id",
  21303. "type": "string"
  21304. },
  21305. "fcid": {
  21306. "description": "期货公司id",
  21307. "type": "integer"
  21308. },
  21309. "fcname": {
  21310. "description": "期货公司代码",
  21311. "type": "string"
  21312. },
  21313. "hedgeaccountcode": {
  21314. "description": "外部账号代码(主账号登录代码)",
  21315. "type": "string"
  21316. },
  21317. "hedgeaccountpwd": {
  21318. "description": "密码",
  21319. "type": "string"
  21320. },
  21321. "ismain": {
  21322. "description": "是否主账号",
  21323. "type": "integer"
  21324. },
  21325. "relateduserid": {
  21326. "description": "关联用户id",
  21327. "type": "integer"
  21328. },
  21329. "userid": {
  21330. "description": "关联用户id",
  21331. "type": "integer"
  21332. }
  21333. }
  21334. },
  21335. "models.Market": {
  21336. "type": "object",
  21337. "required": [
  21338. "marketid",
  21339. "marketstatus",
  21340. "openmethod",
  21341. "reckonpricealgorithm",
  21342. "trademode",
  21343. "tradeproperty"
  21344. ],
  21345. "properties": {
  21346. "auctionwrtype": {
  21347. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  21348. "type": "integer"
  21349. },
  21350. "canacceptquote": {
  21351. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  21352. "type": "integer"
  21353. },
  21354. "cangoodsexercise": {
  21355. "description": "[期权]是否可现货行权- 0:否 1:是",
  21356. "type": "integer"
  21357. },
  21358. "cangoodsexercisetype": {
  21359. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  21360. "type": "integer"
  21361. },
  21362. "canmanualquotestrike": {
  21363. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  21364. "type": "integer"
  21365. },
  21366. "canmutistage": {
  21367. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  21368. "type": "integer"
  21369. },
  21370. "canpreexercise": {
  21371. "description": "[期权]是否可预申报- 0:否 1:是",
  21372. "type": "integer"
  21373. },
  21374. "clearinterval": {
  21375. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  21376. "type": "integer"
  21377. },
  21378. "contracttmp": {
  21379. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  21380. "type": "string"
  21381. },
  21382. "exchareaid": {
  21383. "description": "所属交易所,可以没有",
  21384. "type": "integer"
  21385. },
  21386. "goodstype": {
  21387. "description": "商品类型 - 1:交易商品 2:仓单商品",
  21388. "type": "integer"
  21389. },
  21390. "hasrebate": {
  21391. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  21392. "type": "integer"
  21393. },
  21394. "hastradecredit": {
  21395. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  21396. "type": "integer"
  21397. },
  21398. "haswr": {
  21399. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  21400. "type": "integer"
  21401. },
  21402. "isdeductmargin": {
  21403. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  21404. "type": "integer"
  21405. },
  21406. "isrecordsource": {
  21407. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  21408. "type": "integer"
  21409. },
  21410. "isreleasemargin": {
  21411. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21412. "type": "integer"
  21413. },
  21414. "marginformula": {
  21415. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21416. "type": "integer"
  21417. },
  21418. "marginformula2": {
  21419. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21420. "type": "integer"
  21421. },
  21422. "marketid": {
  21423. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21424. "type": "integer"
  21425. },
  21426. "marketname": {
  21427. "description": "市场名称",
  21428. "type": "string"
  21429. },
  21430. "marketserviceid": {
  21431. "description": "市场服务ID",
  21432. "type": "integer"
  21433. },
  21434. "marketstatus": {
  21435. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21436. "type": "integer"
  21437. },
  21438. "markettype": {
  21439. "description": "市场类型- 1:非交易服务 2:交易服务",
  21440. "type": "integer"
  21441. },
  21442. "matchermode": {
  21443. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21444. "type": "integer"
  21445. },
  21446. "openmethod": {
  21447. "description": "开盘模式 - 0 自动 1手动",
  21448. "type": "integer"
  21449. },
  21450. "otcuserid": {
  21451. "description": "场外期权做市商[场外期权]",
  21452. "type": "integer"
  21453. },
  21454. "outersynctime": {
  21455. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21456. "type": "string"
  21457. },
  21458. "pendingflag": {
  21459. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21460. "type": "integer"
  21461. },
  21462. "pendingtime": {
  21463. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21464. "type": "string"
  21465. },
  21466. "performancetempid": {
  21467. "description": "履约计划模板ID - 作废",
  21468. "type": "integer"
  21469. },
  21470. "premiumquotemode": {
  21471. "description": "权利金报价方式 - 1:自动 2:手动",
  21472. "type": "integer"
  21473. },
  21474. "rebateratio": {
  21475. "description": "返利比率[竞价式]",
  21476. "type": "number"
  21477. },
  21478. "reckonorder": {
  21479. "description": "结算顺序",
  21480. "type": "integer"
  21481. },
  21482. "reckonpricealgorithm": {
  21483. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21484. "type": "integer"
  21485. },
  21486. "reckonpriceparam": {
  21487. "description": "结算价参数",
  21488. "type": "integer"
  21489. },
  21490. "reckontime": {
  21491. "description": "结算时间[通道交易-对冲](HH:mm)",
  21492. "type": "string"
  21493. },
  21494. "roleprioritytype": {
  21495. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21496. "type": "integer"
  21497. },
  21498. "selllistingauditflag": {
  21499. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21500. "type": "integer"
  21501. },
  21502. "trademarkettype": {
  21503. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21504. "type": "integer"
  21505. },
  21506. "trademode": {
  21507. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21508. "type": "integer"
  21509. },
  21510. "tradeproperty": {
  21511. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21512. "type": "integer"
  21513. },
  21514. "tradetype": {
  21515. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21516. "type": "integer"
  21517. }
  21518. }
  21519. },
  21520. "models.Marketrun": {
  21521. "type": "object",
  21522. "required": [
  21523. "marketid",
  21524. "nexttradedate",
  21525. "reckonflag",
  21526. "runstatus",
  21527. "tradedate",
  21528. "tradedate2"
  21529. ],
  21530. "properties": {
  21531. "afternexttradedate": {
  21532. "description": "下下交易日",
  21533. "type": "string"
  21534. },
  21535. "clearquoteflag": {
  21536. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21537. "type": "integer"
  21538. },
  21539. "lastreckondate": {
  21540. "description": "最新交易日(结算成功)",
  21541. "type": "string"
  21542. },
  21543. "machinedate": {
  21544. "description": "机器时间",
  21545. "type": "string"
  21546. },
  21547. "manualflag": {
  21548. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21549. "type": "integer"
  21550. },
  21551. "marketid": {
  21552. "description": "市场ID",
  21553. "type": "integer"
  21554. },
  21555. "nexttradedate": {
  21556. "description": "下一交易日",
  21557. "type": "string"
  21558. },
  21559. "pretradedate": {
  21560. "description": "上一交易日",
  21561. "type": "string"
  21562. },
  21563. "reckonflag": {
  21564. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21565. "type": "integer"
  21566. },
  21567. "runstatus": {
  21568. "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.今日免清算",
  21569. "type": "integer"
  21570. },
  21571. "sectionid": {
  21572. "description": "时间段号[多时段时用]",
  21573. "type": "integer"
  21574. },
  21575. "tradedate": {
  21576. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21577. "type": "string"
  21578. },
  21579. "tradedate2": {
  21580. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21581. "type": "string"
  21582. },
  21583. "updatetime": {
  21584. "description": "更新时间",
  21585. "type": "string"
  21586. }
  21587. }
  21588. },
  21589. "models.Messageboard": {
  21590. "type": "object",
  21591. "required": [
  21592. "messageboardid"
  21593. ],
  21594. "properties": {
  21595. "contactnum": {
  21596. "description": "联系电话",
  21597. "type": "string"
  21598. },
  21599. "createtime": {
  21600. "description": "创建时间",
  21601. "type": "string"
  21602. },
  21603. "message": {
  21604. "description": "留言信息",
  21605. "type": "string"
  21606. },
  21607. "messageboardid": {
  21608. "description": "留言簿ID(SEQ_MessageBoard)",
  21609. "type": "integer"
  21610. },
  21611. "userid": {
  21612. "description": "用户ID",
  21613. "type": "integer"
  21614. }
  21615. }
  21616. },
  21617. "models.MyCoupon": {
  21618. "type": "object",
  21619. "required": [
  21620. "accountid",
  21621. "coupontypeid"
  21622. ],
  21623. "properties": {
  21624. "accountid": {
  21625. "description": "资金账户ID",
  21626. "type": "integer"
  21627. },
  21628. "areauserid": {
  21629. "description": "所属机构",
  21630. "type": "integer"
  21631. },
  21632. "conditionvalue": {
  21633. "description": "条件阈值(可为0)",
  21634. "type": "number"
  21635. },
  21636. "couponcategroy": {
  21637. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  21638. "type": "integer"
  21639. },
  21640. "couponname": {
  21641. "description": "优惠券名称",
  21642. "type": "string"
  21643. },
  21644. "coupontypeid": {
  21645. "description": "优惠券类型ID",
  21646. "type": "string"
  21647. },
  21648. "couponvalue": {
  21649. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21650. "type": "number"
  21651. },
  21652. "curfreezeqty": {
  21653. "description": "期末冻结数量",
  21654. "type": "integer"
  21655. },
  21656. "curqty": {
  21657. "description": "期末数量",
  21658. "type": "integer"
  21659. },
  21660. "isgeneral": {
  21661. "description": "是否通用券 - 0:否 1:是",
  21662. "type": "integer"
  21663. },
  21664. "isunusable": {
  21665. "description": "是否不可用",
  21666. "type": "boolean"
  21667. },
  21668. "limitedflag": {
  21669. "description": "是否指定商品 - 0:不限 1:限制",
  21670. "type": "integer"
  21671. },
  21672. "limitedgoodsids": {
  21673. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  21674. "type": "string"
  21675. },
  21676. "orifreezeqty": {
  21677. "description": "期初冻结数量",
  21678. "type": "integer"
  21679. },
  21680. "oriqty": {
  21681. "description": "期初数量",
  21682. "type": "integer"
  21683. },
  21684. "reasontype": {
  21685. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  21686. "type": "integer"
  21687. },
  21688. "todaydecrease": {
  21689. "description": "今日减少",
  21690. "type": "integer"
  21691. },
  21692. "todayincrease": {
  21693. "description": "今日增加",
  21694. "type": "integer"
  21695. },
  21696. "userid": {
  21697. "description": "用户ID",
  21698. "type": "integer"
  21699. },
  21700. "userscope": {
  21701. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  21702. "type": "string"
  21703. }
  21704. }
  21705. },
  21706. "models.MyCouponHold": {
  21707. "type": "object",
  21708. "required": [
  21709. "couponholdid"
  21710. ],
  21711. "properties": {
  21712. "accountid": {
  21713. "description": "资金账户ID",
  21714. "type": "integer"
  21715. },
  21716. "conditionvalue": {
  21717. "description": "条件阈值(可为0)",
  21718. "type": "number"
  21719. },
  21720. "couponcategroy": {
  21721. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  21722. "type": "integer"
  21723. },
  21724. "couponholdid": {
  21725. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  21726. "type": "string"
  21727. },
  21728. "couponname": {
  21729. "description": "优惠券名称",
  21730. "type": "string"
  21731. },
  21732. "coupontypeid": {
  21733. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  21734. "type": "string"
  21735. },
  21736. "couponvalue": {
  21737. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21738. "type": "number"
  21739. },
  21740. "createtime": {
  21741. "description": "创建时间",
  21742. "type": "string"
  21743. },
  21744. "enddate": {
  21745. "description": "结束日期",
  21746. "type": "string"
  21747. },
  21748. "giveapplyid": {
  21749. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  21750. "type": "integer"
  21751. },
  21752. "holdstatus": {
  21753. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  21754. "type": "integer"
  21755. },
  21756. "isgeneral": {
  21757. "description": "是否通用券 - 0:否 1:是",
  21758. "type": "integer"
  21759. },
  21760. "limitedflag": {
  21761. "description": "是否指定商品 - 0:不限 1:限制",
  21762. "type": "integer"
  21763. },
  21764. "limitedgoodsids": {
  21765. "description": "指定商品IDs[逗号分隔]",
  21766. "type": "string"
  21767. },
  21768. "qty": {
  21769. "description": "数量(按1平铺)",
  21770. "type": "integer"
  21771. },
  21772. "startdate": {
  21773. "description": "开始日期",
  21774. "type": "string"
  21775. },
  21776. "userid": {
  21777. "description": "用户ID",
  21778. "type": "integer"
  21779. },
  21780. "userscope": {
  21781. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  21782. "type": "string"
  21783. }
  21784. }
  21785. },
  21786. "models.MyUsedCoupon": {
  21787. "type": "object",
  21788. "required": [
  21789. "coupontypeid",
  21790. "orderid"
  21791. ],
  21792. "properties": {
  21793. "accountid": {
  21794. "description": "资金账户ID(买方)",
  21795. "type": "integer"
  21796. },
  21797. "conditionvalue": {
  21798. "description": "条件阈值(可为0)",
  21799. "type": "number"
  21800. },
  21801. "couponcategroy": {
  21802. "description": "种类 - 1:现金券 2:折扣券",
  21803. "type": "integer"
  21804. },
  21805. "couponname": {
  21806. "description": "优惠券名称",
  21807. "type": "string"
  21808. },
  21809. "coupontypeid": {
  21810. "description": "优惠券类型ID(买方)",
  21811. "type": "string"
  21812. },
  21813. "couponvalue": {
  21814. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  21815. "type": "number"
  21816. },
  21817. "createtime": {
  21818. "description": "创建时间",
  21819. "type": "string"
  21820. },
  21821. "goodsid": {
  21822. "description": "商品ID",
  21823. "type": "integer"
  21824. },
  21825. "handlestatus": {
  21826. "description": "处理状态",
  21827. "type": "integer"
  21828. },
  21829. "marketid": {
  21830. "description": "市场ID",
  21831. "type": "integer"
  21832. },
  21833. "offamount": {
  21834. "description": "优惠金额",
  21835. "type": "number"
  21836. },
  21837. "orderid": {
  21838. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21839. "type": "string"
  21840. },
  21841. "sellaccountid": {
  21842. "description": "资金账户ID(卖方)",
  21843. "type": "integer"
  21844. },
  21845. "tradeamount": {
  21846. "description": "成交金额",
  21847. "type": "number"
  21848. },
  21849. "tradeid": {
  21850. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21851. "type": "string"
  21852. },
  21853. "usedqty": {
  21854. "description": "使用数量",
  21855. "type": "integer"
  21856. }
  21857. }
  21858. },
  21859. "models.OperationPrimaryMenu": {
  21860. "type": "object",
  21861. "properties": {
  21862. "Children": {
  21863. "description": "二级功能菜单",
  21864. "type": "array",
  21865. "items": {
  21866. "$ref": "#/definitions/models.OperationSecondaryMenu"
  21867. }
  21868. },
  21869. "Key": {
  21870. "description": "菜单KEY",
  21871. "type": "string"
  21872. },
  21873. "Label": {
  21874. "description": "菜单标题",
  21875. "type": "string"
  21876. }
  21877. }
  21878. },
  21879. "models.OperationSecondaryMenu": {
  21880. "type": "object",
  21881. "properties": {
  21882. "Key": {
  21883. "description": "菜单KEY",
  21884. "type": "string"
  21885. },
  21886. "Label": {
  21887. "description": "菜单标题",
  21888. "type": "string"
  21889. },
  21890. "TabList": {
  21891. "description": "三级功能菜单",
  21892. "type": "array",
  21893. "items": {
  21894. "$ref": "#/definitions/models.OperationTabMenu"
  21895. }
  21896. }
  21897. }
  21898. },
  21899. "models.OperationTabMenu": {
  21900. "type": "object",
  21901. "properties": {
  21902. "Key": {
  21903. "description": "菜单KEY",
  21904. "type": "string"
  21905. },
  21906. "Label": {
  21907. "description": "菜单标题",
  21908. "type": "string"
  21909. }
  21910. }
  21911. },
  21912. "models.PendingAuditBizModel": {
  21913. "type": "object",
  21914. "properties": {
  21915. "accountid": {
  21916. "description": "现货账户",
  21917. "type": "string"
  21918. },
  21919. "areaname": {
  21920. "description": "所属部门",
  21921. "type": "string"
  21922. },
  21923. "bizid": {
  21924. "description": "业务ID",
  21925. "type": "string"
  21926. },
  21927. "bizname": {
  21928. "description": "业务名称",
  21929. "type": "string"
  21930. },
  21931. "status": {
  21932. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21933. "type": "integer"
  21934. },
  21935. "type": {
  21936. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21937. "type": "integer"
  21938. }
  21939. }
  21940. },
  21941. "models.QhjAccountOutInApply": {
  21942. "type": "object",
  21943. "properties": {
  21944. "accountcode": {
  21945. "description": "资金账号",
  21946. "type": "string"
  21947. },
  21948. "accountname": {
  21949. "description": "用户名称(名称)",
  21950. "type": "string"
  21951. },
  21952. "accountpwd": {
  21953. "description": "资金密码",
  21954. "type": "string"
  21955. },
  21956. "accountticket": {
  21957. "description": "最新账户服务流水号",
  21958. "type": "string"
  21959. },
  21960. "amount": {
  21961. "description": "金额",
  21962. "type": "number"
  21963. },
  21964. "applyremark": {
  21965. "description": "申请备注",
  21966. "type": "string"
  21967. },
  21968. "applystatus": {
  21969. "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: 复审通过,账户冻结金额检查中;",
  21970. "type": "integer"
  21971. },
  21972. "auditid": {
  21973. "description": "审核人",
  21974. "type": "integer"
  21975. },
  21976. "audittime": {
  21977. "description": "审核时间",
  21978. "type": "string"
  21979. },
  21980. "bank_apply_ticket": {
  21981. "description": "银行申请流水",
  21982. "type": "string"
  21983. },
  21984. "bankaccountname": {
  21985. "description": "银行账户名",
  21986. "type": "string"
  21987. },
  21988. "bankaccountno": {
  21989. "description": "银行卡号",
  21990. "type": "string"
  21991. },
  21992. "bankid": {
  21993. "description": "银行编号",
  21994. "type": "string"
  21995. },
  21996. "bankticket": {
  21997. "description": "银行流水",
  21998. "type": "string"
  21999. },
  22000. "branchbankid": {
  22001. "description": "银行支行号",
  22002. "type": "string"
  22003. },
  22004. "branchbankname": {
  22005. "description": "银行支行名称",
  22006. "type": "string"
  22007. },
  22008. "capamountout": {
  22009. "description": "出金(劣后本金) - 外部子账户",
  22010. "type": "number"
  22011. },
  22012. "certificatephotourl": {
  22013. "description": "凭证地址",
  22014. "type": "string"
  22015. },
  22016. "charge": {
  22017. "description": "手续费",
  22018. "type": "number"
  22019. },
  22020. "checkerrorflag": {
  22021. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  22022. "type": "integer"
  22023. },
  22024. "currency": {
  22025. "description": "币种",
  22026. "type": "string"
  22027. },
  22028. "cusbankid": {
  22029. "description": "托管银行编号",
  22030. "type": "string"
  22031. },
  22032. "exchticket": {
  22033. "description": "银行服务流水号",
  22034. "type": "string"
  22035. },
  22036. "executetype": {
  22037. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  22038. "type": "integer"
  22039. },
  22040. "extendinfo": {
  22041. "description": "扩展信息",
  22042. "type": "string"
  22043. },
  22044. "extoperateid": {
  22045. "description": "交易服务流水号",
  22046. "type": "integer"
  22047. },
  22048. "infamount": {
  22049. "description": "劣后金额(自有)",
  22050. "type": "number"
  22051. },
  22052. "logincode": {
  22053. "description": "登录账号(账号)",
  22054. "type": "string"
  22055. },
  22056. "netaddr": {
  22057. "description": "调转网址",
  22058. "type": "string"
  22059. },
  22060. "priamount": {
  22061. "description": "优先金额(授信)",
  22062. "type": "number"
  22063. },
  22064. "reauditid": {
  22065. "description": "复审人",
  22066. "type": "integer"
  22067. },
  22068. "reauditremark": {
  22069. "description": "复审备注",
  22070. "type": "string"
  22071. },
  22072. "reaudittime": {
  22073. "description": "复审时间",
  22074. "type": "string"
  22075. },
  22076. "relatedorderid": {
  22077. "description": "三方关联ID",
  22078. "type": "string"
  22079. },
  22080. "remark": {
  22081. "description": "备注",
  22082. "type": "string"
  22083. },
  22084. "remark2": {
  22085. "description": "备注(失败原因)",
  22086. "type": "string"
  22087. },
  22088. "soucreamount": {
  22089. "description": "原始出入金金额",
  22090. "type": "number"
  22091. },
  22092. "soucrecurrencyid": {
  22093. "description": "原始出入金币种",
  22094. "type": "integer"
  22095. },
  22096. "tradedate": {
  22097. "description": "交易日(yyyyMMdd)",
  22098. "type": "string"
  22099. },
  22100. "updatetime": {
  22101. "description": "更新时间(申请时间)",
  22102. "type": "string"
  22103. },
  22104. "userid": {
  22105. "description": "用户id",
  22106. "type": "integer"
  22107. },
  22108. "userinfotype": {
  22109. "description": "账户类型 1-个人 2-企业",
  22110. "type": "integer"
  22111. }
  22112. }
  22113. },
  22114. "models.QhjBankAccountSign": {
  22115. "type": "object",
  22116. "properties": {
  22117. "accountcode": {
  22118. "description": "资金账号",
  22119. "type": "string"
  22120. },
  22121. "accountname": {
  22122. "description": "资金账号对应的账号名(UserName)",
  22123. "type": "string"
  22124. },
  22125. "accountname2": {
  22126. "description": "资金账号对应的账号名(UserName) - 密文",
  22127. "type": "string"
  22128. },
  22129. "accounttype": {
  22130. "description": "账户类型(UserType)",
  22131. "type": "integer"
  22132. },
  22133. "applicationtime": {
  22134. "description": "最后一次更新的时间",
  22135. "type": "string"
  22136. },
  22137. "applyexchticket": {
  22138. "description": "申请流水",
  22139. "type": "string"
  22140. },
  22141. "auditid": {
  22142. "description": "审核人",
  22143. "type": "integer"
  22144. },
  22145. "audittime": {
  22146. "description": "审核时间",
  22147. "type": "string"
  22148. },
  22149. "bankaccountname": {
  22150. "description": "签约银行卡账号名",
  22151. "type": "string"
  22152. },
  22153. "bankaccountname2": {
  22154. "description": "签约银行卡账号名 - 密文",
  22155. "type": "string"
  22156. },
  22157. "bankaccountno": {
  22158. "description": "银行卡号",
  22159. "type": "string"
  22160. },
  22161. "bankaccountno2": {
  22162. "description": "银行卡号 - 密文",
  22163. "type": "string"
  22164. },
  22165. "bankaccounttype": {
  22166. "description": "银行账户类型 - 1-对私; 2-对公",
  22167. "type": "integer"
  22168. },
  22169. "bankcardtype": {
  22170. "description": "银行卡类型",
  22171. "type": "integer"
  22172. },
  22173. "bankchildaccount": {
  22174. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  22175. "type": "string"
  22176. },
  22177. "bankcity": {
  22178. "description": "开户行城市",
  22179. "type": "string"
  22180. },
  22181. "bankid": {
  22182. "description": "签约银行ID",
  22183. "type": "string"
  22184. },
  22185. "bankname": {
  22186. "description": "签约银行名称",
  22187. "type": "string"
  22188. },
  22189. "bankprovince": {
  22190. "description": "开户行省份",
  22191. "type": "string"
  22192. },
  22193. "branchbankid": {
  22194. "description": "签约银行支行号",
  22195. "type": "string"
  22196. },
  22197. "branchbankname": {
  22198. "description": "签约银行支行名称",
  22199. "type": "string"
  22200. },
  22201. "cardno": {
  22202. "description": "证件号码",
  22203. "type": "string"
  22204. },
  22205. "cardno2": {
  22206. "description": "证件号码 - 密文",
  22207. "type": "string"
  22208. },
  22209. "cardtype": {
  22210. "description": "证件类型",
  22211. "type": "string"
  22212. },
  22213. "currency": {
  22214. "description": "币种",
  22215. "type": "string"
  22216. },
  22217. "cusbankid": {
  22218. "description": "托管银行编号",
  22219. "type": "string"
  22220. },
  22221. "direct": {
  22222. "description": "方向(可以判断那方先发起的签约)",
  22223. "type": "integer"
  22224. },
  22225. "exchticket": {
  22226. "description": "最后一次签约成功的流水号",
  22227. "type": "string"
  22228. },
  22229. "extendinfo": {
  22230. "description": "扩展信息(JSON字符串)",
  22231. "type": "string"
  22232. },
  22233. "mobilephone": {
  22234. "description": "手机号",
  22235. "type": "string"
  22236. },
  22237. "mobilephone2": {
  22238. "description": "手机号 - 密文",
  22239. "type": "string"
  22240. },
  22241. "netaddr": {
  22242. "description": "调转网址",
  22243. "type": "string"
  22244. },
  22245. "relateduserid": {
  22246. "description": "关联使用者userid",
  22247. "type": "integer"
  22248. },
  22249. "signstatus": {
  22250. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  22251. "type": "integer"
  22252. },
  22253. "updatetime": {
  22254. "description": "更新时间(签解约更新时间)",
  22255. "type": "string"
  22256. }
  22257. }
  22258. },
  22259. "models.QhjBankInfo": {
  22260. "type": "object",
  22261. "properties": {
  22262. "bankid": {
  22263. "description": "银行ID",
  22264. "type": "string"
  22265. },
  22266. "bankname": {
  22267. "description": "银行名称",
  22268. "type": "string"
  22269. },
  22270. "clearbankno": {
  22271. "description": "清算系统银行编号",
  22272. "type": "string"
  22273. },
  22274. "orderindex": {
  22275. "description": "排序顺序",
  22276. "type": "integer"
  22277. },
  22278. "status": {
  22279. "description": "状态 - 0:正常 1:注销",
  22280. "type": "integer"
  22281. }
  22282. }
  22283. },
  22284. "models.QhjContract": {
  22285. "type": "object",
  22286. "properties": {
  22287. "contractconfirmtime": {
  22288. "description": "合同确认时间(时间)",
  22289. "type": "string"
  22290. },
  22291. "currisklevel": {
  22292. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  22293. "type": "integer"
  22294. },
  22295. "decimalplace": {
  22296. "description": "商品报价小数位",
  22297. "type": "integer"
  22298. },
  22299. "enumdicname": {
  22300. "description": "单位名称",
  22301. "type": "string"
  22302. },
  22303. "goodscode": {
  22304. "description": "商品代码",
  22305. "type": "string"
  22306. },
  22307. "goodsid": {
  22308. "description": "商品ID [5:融资单]",
  22309. "type": "integer"
  22310. },
  22311. "goodsname": {
  22312. "description": "商品名称",
  22313. "type": "string"
  22314. },
  22315. "goodunitid": {
  22316. "description": "商品单位id",
  22317. "type": "integer"
  22318. },
  22319. "initmargin": {
  22320. "description": "初始保证金(首付款)",
  22321. "type": "number"
  22322. },
  22323. "lenderamount": {
  22324. "description": "贷款金额(总额|订单总额)",
  22325. "type": "number"
  22326. },
  22327. "marginratio": {
  22328. "description": "保证金比率(首付比例)",
  22329. "type": "number"
  22330. },
  22331. "payamount": {
  22332. "description": "已付(已付货款)",
  22333. "type": "number"
  22334. },
  22335. "reckonrecovermargin": {
  22336. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  22337. "type": "number"
  22338. },
  22339. "recoveredmargin": {
  22340. "description": "已追缴保证金",
  22341. "type": "number"
  22342. },
  22343. "remainamount": {
  22344. "description": "合同剩余金额(融资额)",
  22345. "type": "number"
  22346. },
  22347. "scfcontractid": {
  22348. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  22349. "type": "string"
  22350. },
  22351. "scfcontractstatus": {
  22352. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  22353. "type": "integer"
  22354. },
  22355. "scfcontracttype": {
  22356. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  22357. "type": "integer"
  22358. },
  22359. "totalinterest": {
  22360. "description": "已计总利息(利息)",
  22361. "type": "number"
  22362. },
  22363. "tradeprice": {
  22364. "description": "成交价格(成本价格)",
  22365. "type": "number"
  22366. },
  22367. "userid": {
  22368. "description": "用户ID",
  22369. "type": "integer"
  22370. },
  22371. "username": {
  22372. "description": "用户名称",
  22373. "type": "string"
  22374. },
  22375. "wrqty": {
  22376. "description": "仓单数量(数量)",
  22377. "type": "number"
  22378. }
  22379. }
  22380. },
  22381. "models.QhjContractLog": {
  22382. "type": "object",
  22383. "properties": {
  22384. "amount": {
  22385. "description": "支付金额",
  22386. "type": "number"
  22387. },
  22388. "amounttype": {
  22389. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  22390. "type": "integer"
  22391. },
  22392. "logid": {
  22393. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22394. "type": "string"
  22395. },
  22396. "remainamount": {
  22397. "description": "剩余货款",
  22398. "type": "number"
  22399. },
  22400. "scfcontractid": {
  22401. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  22402. "type": "integer"
  22403. },
  22404. "updatetime": {
  22405. "description": "更新时间",
  22406. "type": "string"
  22407. }
  22408. }
  22409. },
  22410. "models.QhjCusBankSignBankEx": {
  22411. "type": "object",
  22412. "properties": {
  22413. "banklst": {
  22414. "description": "银行列表",
  22415. "type": "array",
  22416. "items": {
  22417. "$ref": "#/definitions/models.QhjBankInfo"
  22418. }
  22419. },
  22420. "canallot": {
  22421. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  22422. "type": "integer"
  22423. },
  22424. "canallotquery": {
  22425. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  22426. "type": "integer"
  22427. },
  22428. "canbindcard": {
  22429. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  22430. "type": "integer"
  22431. },
  22432. "caninamount": {
  22433. "description": "是否可入金 - 0:不可 1:可以",
  22434. "type": "integer"
  22435. },
  22436. "caninamount2": {
  22437. "description": "是否可入金(网银端) - 0:不可 1:可以",
  22438. "type": "integer"
  22439. },
  22440. "canmodifybankcard": {
  22441. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  22442. "type": "integer"
  22443. },
  22444. "canmodifyphone": {
  22445. "description": "是否可修改手机号 - 0:不可 1:可以",
  22446. "type": "integer"
  22447. },
  22448. "canmodifysigninfo": {
  22449. "description": "是否可修改签约信息 - 0:不可 1:可以",
  22450. "type": "integer"
  22451. },
  22452. "canoutamount": {
  22453. "description": "是否可出金 - 0:不可 1:可以",
  22454. "type": "integer"
  22455. },
  22456. "canoutamount2": {
  22457. "description": "是否可出金(网银端) - 0:不可 1:可以",
  22458. "type": "integer"
  22459. },
  22460. "canrelease": {
  22461. "description": "是否可解约 - 0:不可 1:可以",
  22462. "type": "integer"
  22463. },
  22464. "canrelease2": {
  22465. "description": "是否可解约(网银端) - 0:不可 1:可以",
  22466. "type": "integer"
  22467. },
  22468. "cansign": {
  22469. "description": "是否可签约 - 0:不可 1:可以",
  22470. "type": "integer"
  22471. },
  22472. "cansign2": {
  22473. "description": "是否可签约(网银端) - 0:不可 1:可以",
  22474. "type": "integer"
  22475. },
  22476. "currency": {
  22477. "description": "币种",
  22478. "type": "string"
  22479. },
  22480. "cusbankid": {
  22481. "description": "托管银行编号(对应清算中心TRAN_NO)",
  22482. "type": "string"
  22483. },
  22484. "cusbankname": {
  22485. "description": "银行业务名称",
  22486. "type": "string"
  22487. },
  22488. "cusbankshortname": {
  22489. "description": "银行业务简称",
  22490. "type": "string"
  22491. },
  22492. "exchbankid": {
  22493. "description": "交易所开户银行ID",
  22494. "type": "string"
  22495. },
  22496. "exchpaybankaccname": {
  22497. "description": "交易所支出结算账户户名",
  22498. "type": "string"
  22499. },
  22500. "exchpaybankaccno": {
  22501. "description": "交易所支出结算账户",
  22502. "type": "string"
  22503. },
  22504. "isneedcheck": {
  22505. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  22506. "type": "integer"
  22507. },
  22508. "isneedclear": {
  22509. "description": "是否需要清算 - 0:不需要 1:需要",
  22510. "type": "integer"
  22511. },
  22512. "lastcheckstatus": {
  22513. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  22514. "type": "integer"
  22515. },
  22516. "lastchecktime": {
  22517. "description": "最后对账时间",
  22518. "type": "string"
  22519. },
  22520. "lastclearstatus": {
  22521. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  22522. "type": "integer"
  22523. },
  22524. "lastcleartime": {
  22525. "description": "最后清算时间",
  22526. "type": "string"
  22527. },
  22528. "lastsignintime": {
  22529. "description": "最后签到时间",
  22530. "type": "string"
  22531. },
  22532. "lastsignouttime": {
  22533. "description": "最后签退时间",
  22534. "type": "string"
  22535. },
  22536. "riskinfo": {
  22537. "description": "签约风险提示书",
  22538. "type": "string"
  22539. },
  22540. "signstatus": {
  22541. "description": "当前签到/签退状态 - 1:签到 2:签退",
  22542. "type": "integer"
  22543. },
  22544. "tradedate": {
  22545. "description": "交易日(yyyyMMdd)",
  22546. "type": "string"
  22547. },
  22548. "updatetime": {
  22549. "description": "当前签到/签退更新时间",
  22550. "type": "string"
  22551. }
  22552. }
  22553. },
  22554. "models.QhjCustomer": {
  22555. "type": "object",
  22556. "properties": {
  22557. "address": {
  22558. "description": "通讯地址",
  22559. "type": "string"
  22560. },
  22561. "attachment1": {
  22562. "description": "附件1",
  22563. "type": "string"
  22564. },
  22565. "audittime": {
  22566. "description": "审核时间",
  22567. "type": "string"
  22568. },
  22569. "cardbackphotourl": {
  22570. "description": "证件反面图片地址",
  22571. "type": "string"
  22572. },
  22573. "cardfrontphotourl": {
  22574. "description": "证件正面图片地址",
  22575. "type": "string"
  22576. },
  22577. "cardnum": {
  22578. "description": "证件号码",
  22579. "type": "string"
  22580. },
  22581. "cardtype": {
  22582. "description": "证件类型",
  22583. "type": "integer"
  22584. },
  22585. "cardtypename": {
  22586. "description": "证件类型名称",
  22587. "type": "string"
  22588. },
  22589. "cityid": {
  22590. "description": "市",
  22591. "type": "integer"
  22592. },
  22593. "cityname": {
  22594. "description": "城市名称",
  22595. "type": "string"
  22596. },
  22597. "contactname": {
  22598. "description": "联系人",
  22599. "type": "string"
  22600. },
  22601. "countryid": {
  22602. "description": "国家",
  22603. "type": "integer"
  22604. },
  22605. "countryname": {
  22606. "description": "国家名称",
  22607. "type": "string"
  22608. },
  22609. "createtime": {
  22610. "description": "创建时间",
  22611. "type": "string"
  22612. },
  22613. "customername": {
  22614. "description": "客户名称",
  22615. "type": "string"
  22616. },
  22617. "districtid": {
  22618. "description": "区域",
  22619. "type": "integer"
  22620. },
  22621. "districtname": {
  22622. "description": "地区名称",
  22623. "type": "string"
  22624. },
  22625. "email": {
  22626. "description": "邮件",
  22627. "type": "string"
  22628. },
  22629. "legalpersonname": {
  22630. "description": "法人姓名(企业)",
  22631. "type": "string"
  22632. },
  22633. "logincode": {
  22634. "description": "登录账号(代码)",
  22635. "type": "string"
  22636. },
  22637. "memberuserid": {
  22638. "description": "所属机构ID(所属会员)",
  22639. "type": "integer"
  22640. },
  22641. "memberusername": {
  22642. "description": "所属会员名称",
  22643. "type": "string"
  22644. },
  22645. "mobile": {
  22646. "description": "手机号码",
  22647. "type": "string"
  22648. },
  22649. "modifytime": {
  22650. "description": "修改时间",
  22651. "type": "string"
  22652. },
  22653. "nickname": {
  22654. "description": "昵称",
  22655. "type": "string"
  22656. },
  22657. "parentuserid": {
  22658. "description": "上级机构(所属机构)",
  22659. "type": "integer"
  22660. },
  22661. "parentusername": {
  22662. "description": "所属机构名称",
  22663. "type": "string"
  22664. },
  22665. "provinceid": {
  22666. "description": "省",
  22667. "type": "integer"
  22668. },
  22669. "provincename": {
  22670. "description": "省名称",
  22671. "type": "string"
  22672. },
  22673. "remark": {
  22674. "description": "备注",
  22675. "type": "string"
  22676. },
  22677. "status": {
  22678. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22679. "type": "integer"
  22680. },
  22681. "statusdesc": {
  22682. "description": "账户状态中文描述",
  22683. "type": "string"
  22684. },
  22685. "taxpayernum": {
  22686. "description": "纳税人识别号",
  22687. "type": "string"
  22688. },
  22689. "telphone": {
  22690. "description": "联系电话",
  22691. "type": "string"
  22692. },
  22693. "userid": {
  22694. "description": "用户ID",
  22695. "type": "integer"
  22696. },
  22697. "userinfotype": {
  22698. "description": "客户类型 1-个人 2-企业",
  22699. "type": "integer"
  22700. },
  22701. "username": {
  22702. "description": "用户名称",
  22703. "type": "string"
  22704. }
  22705. }
  22706. },
  22707. "models.QhjMgrPosition": {
  22708. "type": "object",
  22709. "properties": {
  22710. "accountid": {
  22711. "description": "账号Id",
  22712. "type": "integer"
  22713. },
  22714. "accountname": {
  22715. "description": "用户名称",
  22716. "type": "string"
  22717. },
  22718. "agreeunit": {
  22719. "description": "合约乘数",
  22720. "type": "number"
  22721. },
  22722. "averageprice": {
  22723. "description": "均价",
  22724. "type": "number"
  22725. },
  22726. "avialqty": {
  22727. "description": "可用数量",
  22728. "type": "number"
  22729. },
  22730. "decimalplace": {
  22731. "description": "报价小数位",
  22732. "type": "integer"
  22733. },
  22734. "enumdicname": {
  22735. "description": "单位名称(商品)",
  22736. "type": "string"
  22737. },
  22738. "frozenqty": {
  22739. "description": "冻结数量",
  22740. "type": "number"
  22741. },
  22742. "goodscode": {
  22743. "description": "商品代码(内部)",
  22744. "type": "string"
  22745. },
  22746. "goodsid": {
  22747. "description": "商品Id",
  22748. "type": "integer"
  22749. },
  22750. "goodsname": {
  22751. "description": "商品名称",
  22752. "type": "string"
  22753. },
  22754. "goodunitid": {
  22755. "description": "报价单位ID",
  22756. "type": "integer"
  22757. },
  22758. "holderamount": {
  22759. "description": "金额",
  22760. "type": "number"
  22761. },
  22762. "holderqty": {
  22763. "description": "持有数量",
  22764. "type": "number"
  22765. },
  22766. "holdertype": {
  22767. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  22768. "type": "integer"
  22769. },
  22770. "logincode": {
  22771. "description": "登录代码(账户)",
  22772. "type": "string"
  22773. },
  22774. "qtydecimalplace": {
  22775. "description": "成交量小数位",
  22776. "type": "integer"
  22777. },
  22778. "userid": {
  22779. "description": "用户id",
  22780. "type": "integer"
  22781. },
  22782. "userinfotype": {
  22783. "description": "账户类型 1-个人 2-企业",
  22784. "type": "integer"
  22785. }
  22786. }
  22787. },
  22788. "models.QhjMgrSubArea": {
  22789. "type": "object",
  22790. "properties": {
  22791. "accountname": {
  22792. "description": "账户名称(机构名称)",
  22793. "type": "string"
  22794. },
  22795. "memberuserid": {
  22796. "description": "所属会员ID",
  22797. "type": "integer"
  22798. },
  22799. "parenttopuser": {
  22800. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22801. "type": "string"
  22802. },
  22803. "parentuserid": {
  22804. "description": "所属机构ID",
  22805. "type": "integer"
  22806. },
  22807. "rootuserid": {
  22808. "description": "根用户ID",
  22809. "type": "string"
  22810. },
  22811. "subaccountlevel": {
  22812. "description": "子账户层数",
  22813. "type": "integer"
  22814. },
  22815. "subarealevelpath": {
  22816. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22817. "type": "string"
  22818. },
  22819. "userid": {
  22820. "description": "用户ID",
  22821. "type": "integer"
  22822. },
  22823. "usertype": {
  22824. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22825. "type": "integer"
  22826. }
  22827. }
  22828. },
  22829. "models.QhjParentAreaList": {
  22830. "type": "object",
  22831. "properties": {
  22832. "accountname": {
  22833. "description": "账户名称(机构名称)",
  22834. "type": "string"
  22835. },
  22836. "userid": {
  22837. "description": "用户ID",
  22838. "type": "integer"
  22839. },
  22840. "usertype": {
  22841. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22842. "type": "integer"
  22843. }
  22844. }
  22845. },
  22846. "models.QhjPayOrder": {
  22847. "type": "object",
  22848. "properties": {
  22849. "buyaccountid": {
  22850. "description": "买方账号ID[报价币种]",
  22851. "type": "integer"
  22852. },
  22853. "buyorderid": {
  22854. "description": "买方委托单号",
  22855. "type": "string"
  22856. },
  22857. "createtime": {
  22858. "description": "创建时间",
  22859. "type": "string"
  22860. },
  22861. "decimalplace": {
  22862. "description": "商品报价小数位",
  22863. "type": "integer"
  22864. },
  22865. "enumdicname": {
  22866. "description": "单位名称",
  22867. "type": "string"
  22868. },
  22869. "goodscode": {
  22870. "description": "商品代码",
  22871. "type": "string"
  22872. },
  22873. "goodsid": {
  22874. "description": "商品ID",
  22875. "type": "integer"
  22876. },
  22877. "goodsname": {
  22878. "description": "商品名称",
  22879. "type": "string"
  22880. },
  22881. "goodunitid": {
  22882. "description": "商品单位id",
  22883. "type": "integer"
  22884. },
  22885. "marketid": {
  22886. "description": "市场ID",
  22887. "type": "integer"
  22888. },
  22889. "offamount": {
  22890. "description": "优惠金额",
  22891. "type": "number"
  22892. },
  22893. "operatetype": {
  22894. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  22895. "type": "integer"
  22896. },
  22897. "payamount": {
  22898. "description": "支付金额=TradeAmount + TradeCharge",
  22899. "type": "number"
  22900. },
  22901. "payflag": {
  22902. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22903. "type": "integer"
  22904. },
  22905. "paylimitedtime": {
  22906. "description": "支付期限",
  22907. "type": "string"
  22908. },
  22909. "paytime": {
  22910. "description": "付款时间",
  22911. "type": "string"
  22912. },
  22913. "sellaccountid": {
  22914. "description": "卖方账号ID[报价币种]",
  22915. "type": "integer"
  22916. },
  22917. "sellorderid": {
  22918. "description": "卖方委托单号",
  22919. "type": "string"
  22920. },
  22921. "tradeamount": {
  22922. "description": "成交金额(优惠后金额)",
  22923. "type": "number"
  22924. },
  22925. "tradecharge": {
  22926. "description": "成交手续费(买方)",
  22927. "type": "number"
  22928. },
  22929. "tradedate": {
  22930. "description": "交易日(yyyyMMdd)",
  22931. "type": "string"
  22932. },
  22933. "tradeid": {
  22934. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22935. "type": "string"
  22936. },
  22937. "tradeprice": {
  22938. "description": "成交价格",
  22939. "type": "number"
  22940. },
  22941. "tradeqty": {
  22942. "description": "成交数量",
  22943. "type": "integer"
  22944. }
  22945. }
  22946. },
  22947. "models.QhjPickArea": {
  22948. "type": "object",
  22949. "properties": {
  22950. "address": {
  22951. "description": "详细地址",
  22952. "type": "string"
  22953. },
  22954. "cityid": {
  22955. "description": "市",
  22956. "type": "integer"
  22957. },
  22958. "cityname": {
  22959. "description": "城市名称",
  22960. "type": "string"
  22961. },
  22962. "countryid": {
  22963. "description": "国家",
  22964. "type": "integer"
  22965. },
  22966. "countryname": {
  22967. "description": "国家名称",
  22968. "type": "string"
  22969. },
  22970. "districtid": {
  22971. "description": "地区",
  22972. "type": "integer"
  22973. },
  22974. "districtname": {
  22975. "description": "地区名称",
  22976. "type": "string"
  22977. },
  22978. "fromuserid": {
  22979. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  22980. "type": "integer"
  22981. },
  22982. "fromusername": {
  22983. "description": "所属机构名称",
  22984. "type": "string"
  22985. },
  22986. "provinceid": {
  22987. "description": "省",
  22988. "type": "integer"
  22989. },
  22990. "provincename": {
  22991. "description": "省名称",
  22992. "type": "string"
  22993. },
  22994. "suborgtype": {
  22995. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  22996. "type": "integer"
  22997. },
  22998. "userid": {
  22999. "description": "机构用户ID 其他做市关系,都设置为 1",
  23000. "type": "integer"
  23001. },
  23002. "username": {
  23003. "description": "机构用户名称(门店门称)",
  23004. "type": "string"
  23005. }
  23006. }
  23007. },
  23008. "models.QhjPickGoods": {
  23009. "type": "object",
  23010. "properties": {
  23011. "enumdicname": {
  23012. "description": "单位名称(提货商品)",
  23013. "type": "string"
  23014. },
  23015. "goodsid": {
  23016. "description": "商品id",
  23017. "type": "integer"
  23018. },
  23019. "imageaddress": {
  23020. "description": "图片",
  23021. "type": "string"
  23022. },
  23023. "modifierid": {
  23024. "description": "修改人",
  23025. "type": "integer"
  23026. },
  23027. "modifiername": {
  23028. "description": "修改人名称",
  23029. "type": "string"
  23030. },
  23031. "modifysrc": {
  23032. "description": "修改来源 - 1:管理端 2:终端",
  23033. "type": "integer"
  23034. },
  23035. "pickupgoodsagreeunit": {
  23036. "description": "合约乘数",
  23037. "type": "number"
  23038. },
  23039. "pickupgoodsdesc": {
  23040. "description": "描述",
  23041. "type": "string"
  23042. },
  23043. "pickupgoodsid": {
  23044. "description": "提货商品ID",
  23045. "type": "string"
  23046. },
  23047. "pickupgoodsname": {
  23048. "description": "提货商品名称",
  23049. "type": "string"
  23050. },
  23051. "pickupgoodsstatus": {
  23052. "description": "状态 - 1:正常 2:停用 3:注销",
  23053. "type": "integer"
  23054. },
  23055. "pickupgoodsunitid": {
  23056. "description": "单位ID",
  23057. "type": "integer"
  23058. },
  23059. "pickupratio": {
  23060. "description": "提货系数",
  23061. "type": "number"
  23062. },
  23063. "preparedays": {
  23064. "description": "备货期(天)",
  23065. "type": "integer"
  23066. },
  23067. "remark": {
  23068. "description": "备注",
  23069. "type": "string"
  23070. },
  23071. "updatetime": {
  23072. "description": "更新时间",
  23073. "type": "string"
  23074. }
  23075. }
  23076. },
  23077. "models.QhjRSTriggerLog": {
  23078. "type": "object",
  23079. "properties": {
  23080. "accountid": {
  23081. "description": "用户资金账户",
  23082. "type": "integer"
  23083. },
  23084. "accountname": {
  23085. "description": "账号名称(ACCOUNTID对应的名称)",
  23086. "type": "string"
  23087. },
  23088. "currencyid": {
  23089. "description": "币种id",
  23090. "type": "integer"
  23091. },
  23092. "currencyname": {
  23093. "description": "币种名称",
  23094. "type": "string"
  23095. },
  23096. "decimalplace": {
  23097. "description": "商品报价小数位",
  23098. "type": "integer"
  23099. },
  23100. "enumdicname": {
  23101. "description": "单位名称",
  23102. "type": "string"
  23103. },
  23104. "goodscode": {
  23105. "description": "定投商品代码",
  23106. "type": "string"
  23107. },
  23108. "goodsid": {
  23109. "description": "定投商品ID",
  23110. "type": "string"
  23111. },
  23112. "goodsname": {
  23113. "description": "定投商品名称",
  23114. "type": "string"
  23115. },
  23116. "goodunitid": {
  23117. "description": "定投商品单位id",
  23118. "type": "integer"
  23119. },
  23120. "logid": {
  23121. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  23122. "type": "string"
  23123. },
  23124. "regularlycycle": {
  23125. "description": "定投频率 - 1:每周 2:每月",
  23126. "type": "integer"
  23127. },
  23128. "regularlycyclevalue": {
  23129. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  23130. "type": "string"
  23131. },
  23132. "regularlymode": {
  23133. "description": "定投方式 - 1:按数量 2:按金额",
  23134. "type": "integer"
  23135. },
  23136. "regularlymodevalue": {
  23137. "description": "定投方式值 - 数量或金额",
  23138. "type": "number"
  23139. },
  23140. "regularlystrategyid": {
  23141. "description": "定投策略ID",
  23142. "type": "integer"
  23143. },
  23144. "retcode": {
  23145. "description": "错误码",
  23146. "type": "string"
  23147. },
  23148. "tradeid": {
  23149. "description": "成交单ID",
  23150. "type": "string"
  23151. },
  23152. "triggeramount": {
  23153. "description": "触发金额",
  23154. "type": "number"
  23155. },
  23156. "triggerqty": {
  23157. "description": "触发数量",
  23158. "type": "number"
  23159. },
  23160. "triggerstatus": {
  23161. "description": "触发状态 - 1:成功 2:失败",
  23162. "type": "integer"
  23163. },
  23164. "triggertime": {
  23165. "description": "触发时间",
  23166. "type": "string"
  23167. },
  23168. "triggertradedate": {
  23169. "description": "触发交易日",
  23170. "type": "string"
  23171. },
  23172. "userid": {
  23173. "description": "所属用户ID",
  23174. "type": "integer"
  23175. },
  23176. "username": {
  23177. "description": "用户名称(userid对应的名称)",
  23178. "type": "string"
  23179. }
  23180. }
  23181. },
  23182. "models.QhjRStrategy": {
  23183. "type": "object",
  23184. "properties": {
  23185. "accountid": {
  23186. "description": "用户资金账户",
  23187. "type": "integer"
  23188. },
  23189. "accountname": {
  23190. "description": "账号名称(ACCOUNTID对应的名称)",
  23191. "type": "string"
  23192. },
  23193. "currencyid": {
  23194. "description": "币种id",
  23195. "type": "integer"
  23196. },
  23197. "currencyname": {
  23198. "description": "币种名称",
  23199. "type": "string"
  23200. },
  23201. "decimalplace": {
  23202. "description": "商品报价小数位",
  23203. "type": "integer"
  23204. },
  23205. "enumdicname": {
  23206. "description": "单位名称",
  23207. "type": "string"
  23208. },
  23209. "goodscode": {
  23210. "description": "定投商品代码",
  23211. "type": "string"
  23212. },
  23213. "goodsid": {
  23214. "description": "定投商品ID",
  23215. "type": "string"
  23216. },
  23217. "goodsname": {
  23218. "description": "定投商品名称",
  23219. "type": "string"
  23220. },
  23221. "goodunitid": {
  23222. "description": "定投商品单位id",
  23223. "type": "integer"
  23224. },
  23225. "lasteffecttradedate": {
  23226. "description": "最新生效交易日",
  23227. "type": "string"
  23228. },
  23229. "laststoptradedate": {
  23230. "description": "最新暂停交易日",
  23231. "type": "string"
  23232. },
  23233. "lasttriggertradedate": {
  23234. "description": "最新触发交易日",
  23235. "type": "string"
  23236. },
  23237. "nexttriggeramount": {
  23238. "description": "下次触发金额",
  23239. "type": "number"
  23240. },
  23241. "nexttriggerdate": {
  23242. "description": "下次触发日期",
  23243. "type": "string"
  23244. },
  23245. "nexttriggerqty": {
  23246. "description": "下次触发数量 [按小数位放大值]",
  23247. "type": "number"
  23248. },
  23249. "regularlycycle": {
  23250. "description": "定投频率 - 1:每周 2:每月",
  23251. "type": "integer"
  23252. },
  23253. "regularlycyclevalue": {
  23254. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  23255. "type": "string"
  23256. },
  23257. "regularlymode": {
  23258. "description": "定投方式 - 1:按数量 2:按金额",
  23259. "type": "integer"
  23260. },
  23261. "regularlymodevalue": {
  23262. "description": "定投方式值 - 数量或金额",
  23263. "type": "number"
  23264. },
  23265. "regularlystrategyid": {
  23266. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  23267. "type": "integer"
  23268. },
  23269. "regularlystrategystatus": {
  23270. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  23271. "type": "integer"
  23272. },
  23273. "remark": {
  23274. "description": "备注",
  23275. "type": "string"
  23276. },
  23277. "triggersuccesstimes": {
  23278. "description": "累计定投成功次数",
  23279. "type": "string"
  23280. },
  23281. "triggertotalamount": {
  23282. "description": "累计定投金额(成功)",
  23283. "type": "number"
  23284. },
  23285. "triggertotalqty": {
  23286. "description": "累计定投数量(成功) [按小数位放大值]",
  23287. "type": "number"
  23288. },
  23289. "triggertotaltimes": {
  23290. "description": "累计定投总次数",
  23291. "type": "string"
  23292. },
  23293. "updatesrc": {
  23294. "description": "更新来源 - 1:管理端 2:终端",
  23295. "type": "integer"
  23296. },
  23297. "updatetime": {
  23298. "description": "更新时间",
  23299. "type": "string"
  23300. },
  23301. "updatorid": {
  23302. "description": "更新人",
  23303. "type": "string"
  23304. },
  23305. "userid": {
  23306. "description": "所属用户ID",
  23307. "type": "integer"
  23308. },
  23309. "username": {
  23310. "description": "用户名称(userid对应的名称)",
  23311. "type": "string"
  23312. }
  23313. }
  23314. },
  23315. "models.QhjReckonPriceLog": {
  23316. "type": "object",
  23317. "properties": {
  23318. "decimalplace": {
  23319. "description": "商品报价小数位",
  23320. "type": "integer"
  23321. },
  23322. "goodscode": {
  23323. "description": "商品代码",
  23324. "type": "string"
  23325. },
  23326. "goodsid": {
  23327. "description": "商品ID",
  23328. "type": "integer"
  23329. },
  23330. "goodsname": {
  23331. "description": "商品名称",
  23332. "type": "string"
  23333. },
  23334. "lastreckonprice": {
  23335. "description": "上日结算价",
  23336. "type": "number"
  23337. },
  23338. "nextdnlimitprice": {
  23339. "description": "下个交易日跌停价",
  23340. "type": "number"
  23341. },
  23342. "nexttrade": {
  23343. "description": "下个交易日",
  23344. "type": "string"
  23345. },
  23346. "nextuplimitprice": {
  23347. "description": "下个交易日涨停价",
  23348. "type": "number"
  23349. },
  23350. "reckonprice": {
  23351. "description": "今日结算价(定投价)",
  23352. "type": "number"
  23353. },
  23354. "reckontime": {
  23355. "description": "结算时间",
  23356. "type": "string"
  23357. },
  23358. "totalholderqty": {
  23359. "description": "总持仓数",
  23360. "type": "integer"
  23361. },
  23362. "totalstock": {
  23363. "description": "总库存",
  23364. "type": "integer"
  23365. },
  23366. "tradedate": {
  23367. "description": "交易日",
  23368. "type": "string"
  23369. },
  23370. "updowncount": {
  23371. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  23372. "type": "integer"
  23373. },
  23374. "updownflag": {
  23375. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  23376. "type": "integer"
  23377. },
  23378. "updownrate": {
  23379. "description": "今日涨跌幅",
  23380. "type": "number"
  23381. },
  23382. "updownrate_2d": {
  23383. "description": "连续两日涨跌幅",
  23384. "type": "number"
  23385. },
  23386. "updownrate_3d": {
  23387. "description": "连续三日涨跌幅",
  23388. "type": "number"
  23389. }
  23390. }
  23391. },
  23392. "models.QhjSiteColumnDetail": {
  23393. "type": "object",
  23394. "properties": {
  23395. "author": {
  23396. "description": "作者",
  23397. "type": "string"
  23398. },
  23399. "brief": {
  23400. "description": "简介",
  23401. "type": "string"
  23402. },
  23403. "columnid": {
  23404. "description": "所属栏目",
  23405. "type": "integer"
  23406. },
  23407. "context": {
  23408. "description": "内容",
  23409. "type": "string"
  23410. },
  23411. "coverimage": {
  23412. "description": "封面图片",
  23413. "type": "string"
  23414. },
  23415. "creaedate": {
  23416. "description": "创建时间",
  23417. "type": "string"
  23418. },
  23419. "creatorid": {
  23420. "description": "创建人",
  23421. "type": "integer"
  23422. },
  23423. "hits": {
  23424. "description": "点击数",
  23425. "type": "integer"
  23426. },
  23427. "id": {
  23428. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  23429. "type": "integer"
  23430. },
  23431. "isshow": {
  23432. "description": "是否展示 - 0:不展示 1:展示",
  23433. "type": "integer"
  23434. },
  23435. "istop": {
  23436. "description": "是否置顶 - 0:不置 1:置顶",
  23437. "type": "integer"
  23438. },
  23439. "modifierid": {
  23440. "description": "操作人",
  23441. "type": "integer"
  23442. },
  23443. "publishdate": {
  23444. "description": "发布日期",
  23445. "type": "string"
  23446. },
  23447. "status": {
  23448. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  23449. "type": "integer"
  23450. },
  23451. "title": {
  23452. "description": "标题",
  23453. "type": "string"
  23454. },
  23455. "updatedate": {
  23456. "description": "修改时间",
  23457. "type": "string"
  23458. },
  23459. "userid": {
  23460. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  23461. "type": "integer"
  23462. },
  23463. "username": {
  23464. "description": "用户名称",
  23465. "type": "string"
  23466. }
  23467. }
  23468. },
  23469. "models.QhjTradeGoodsPickup": {
  23470. "type": "object",
  23471. "properties": {
  23472. "accountid": {
  23473. "description": "账户ID",
  23474. "type": "integer"
  23475. },
  23476. "address": {
  23477. "description": "提货人详细地址",
  23478. "type": "string"
  23479. },
  23480. "amount": {
  23481. "description": "提货金额",
  23482. "type": "number"
  23483. },
  23484. "artradedate": {
  23485. "description": "自动收货交易日(yyyyMMdd)",
  23486. "type": "string"
  23487. },
  23488. "auditer": {
  23489. "description": "审核人",
  23490. "type": "integer"
  23491. },
  23492. "auditsrc": {
  23493. "description": "更新来源 - 1:管理端 2:终端",
  23494. "type": "integer"
  23495. },
  23496. "audittime": {
  23497. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  23498. "type": "string"
  23499. },
  23500. "audittradedate": {
  23501. "description": "审核交易日(yyyyMMdd)",
  23502. "type": "string"
  23503. },
  23504. "cardnum": {
  23505. "description": "提货人证件号码",
  23506. "type": "string"
  23507. },
  23508. "cardtypeid": {
  23509. "description": "提货人证件类型",
  23510. "type": "integer"
  23511. },
  23512. "checkremark": {
  23513. "description": "审核备注",
  23514. "type": "string"
  23515. },
  23516. "cityid": {
  23517. "description": "市",
  23518. "type": "integer"
  23519. },
  23520. "cityname": {
  23521. "description": "城市名称",
  23522. "type": "string"
  23523. },
  23524. "confirmtime": {
  23525. "description": "取货时间 或 收货时间",
  23526. "type": "string"
  23527. },
  23528. "countryid": {
  23529. "description": "国家",
  23530. "type": "integer"
  23531. },
  23532. "countryname": {
  23533. "description": "国家名称",
  23534. "type": "string"
  23535. },
  23536. "decimalplace": {
  23537. "description": "商品报价小数位",
  23538. "type": "integer"
  23539. },
  23540. "districtid": {
  23541. "description": "地区",
  23542. "type": "integer"
  23543. },
  23544. "districtname": {
  23545. "description": "地区名称",
  23546. "type": "string"
  23547. },
  23548. "enumdicname": {
  23549. "description": "单位名称(提货商品)",
  23550. "type": "string"
  23551. },
  23552. "expresscompany": {
  23553. "description": "物流公司",
  23554. "type": "string"
  23555. },
  23556. "expressnum": {
  23557. "description": "物流单号",
  23558. "type": "string"
  23559. },
  23560. "goodsagreeunit": {
  23561. "description": "交易商品乘数",
  23562. "type": "number"
  23563. },
  23564. "goodscode": {
  23565. "description": "商品代码",
  23566. "type": "string"
  23567. },
  23568. "goodsid": {
  23569. "description": "商品ID",
  23570. "type": "integer"
  23571. },
  23572. "goodsname": {
  23573. "description": "商品名称",
  23574. "type": "string"
  23575. },
  23576. "goodsqty": {
  23577. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  23578. "type": "number"
  23579. },
  23580. "handlestatus": {
  23581. "description": "处理状态",
  23582. "type": "integer"
  23583. },
  23584. "marketid": {
  23585. "description": "市场ID",
  23586. "type": "integer"
  23587. },
  23588. "phonenum": {
  23589. "description": "提货人联系方式",
  23590. "type": "string"
  23591. },
  23592. "pickupgoodsagreeunit": {
  23593. "description": "提货商品合约乘数",
  23594. "type": "number"
  23595. },
  23596. "pickupgoodsid": {
  23597. "description": "提货商品ID",
  23598. "type": "string"
  23599. },
  23600. "pickupgoodsname": {
  23601. "description": "提货商品名称",
  23602. "type": "string"
  23603. },
  23604. "pickupgoodsqty": {
  23605. "description": "提货商品手数(数量)",
  23606. "type": "number"
  23607. },
  23608. "pickupgoodsunitid": {
  23609. "description": "单位ID(提货商品)",
  23610. "type": "integer"
  23611. },
  23612. "pickupratio": {
  23613. "description": "提货系数",
  23614. "type": "number"
  23615. },
  23616. "preparedays": {
  23617. "description": "备货期(天)-提货单明细表",
  23618. "type": "integer"
  23619. },
  23620. "provinceid": {
  23621. "description": "省",
  23622. "type": "integer"
  23623. },
  23624. "provincename": {
  23625. "description": "省名称",
  23626. "type": "string"
  23627. },
  23628. "qty": {
  23629. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  23630. "type": "number"
  23631. },
  23632. "recivername": {
  23633. "description": "提货人姓名",
  23634. "type": "string"
  23635. },
  23636. "reqtime": {
  23637. "description": "提货申请时间",
  23638. "type": "string"
  23639. },
  23640. "storeuserid": {
  23641. "description": "门店用户ID (千海金)",
  23642. "type": "integer"
  23643. },
  23644. "storeusername": {
  23645. "description": "门店用户名称",
  23646. "type": "string"
  23647. },
  23648. "takemode": {
  23649. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  23650. "type": "integer"
  23651. },
  23652. "takeorderid": {
  23653. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23654. "type": "string"
  23655. },
  23656. "takeorderstatus": {
  23657. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  23658. "type": "integer"
  23659. },
  23660. "takeremark": {
  23661. "description": "提货备注",
  23662. "type": "string"
  23663. },
  23664. "tradedate": {
  23665. "description": "交易日(yyyyMMdd)",
  23666. "type": "string"
  23667. },
  23668. "updatetime": {
  23669. "description": "更新时间",
  23670. "type": "string"
  23671. },
  23672. "userid": {
  23673. "description": "用户ID",
  23674. "type": "integer"
  23675. },
  23676. "username": {
  23677. "description": "用户名称",
  23678. "type": "string"
  23679. }
  23680. }
  23681. },
  23682. "models.Qhjgoodsex": {
  23683. "type": "object",
  23684. "properties": {
  23685. "canfinance": {
  23686. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  23687. "type": "integer"
  23688. },
  23689. "canregularlybuy": {
  23690. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  23691. "type": "integer"
  23692. },
  23693. "defaulttradeuserid": {
  23694. "description": "默认交易用户ID",
  23695. "type": "integer"
  23696. },
  23697. "deliverygoodsid": {
  23698. "description": "现货品种ID",
  23699. "type": "integer"
  23700. },
  23701. "goodsid": {
  23702. "description": "商品ID(自增ID SEQ_GOODS)",
  23703. "type": "integer"
  23704. },
  23705. "minamount": {
  23706. "description": "最小购买金额",
  23707. "type": "number"
  23708. },
  23709. "regularlybuyminamount": {
  23710. "description": "定投最小金额",
  23711. "type": "number"
  23712. },
  23713. "regularlybuyminqty": {
  23714. "description": "定投最小数量",
  23715. "type": "number"
  23716. },
  23717. "spotgoodsbrandid": {
  23718. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  23719. "type": "integer"
  23720. },
  23721. "wrstandardid": {
  23722. "description": "现货商品ID",
  23723. "type": "integer"
  23724. }
  23725. }
  23726. },
  23727. "models.QueryErrorInfosRsp": {
  23728. "type": "object",
  23729. "required": [
  23730. "errorid"
  23731. ],
  23732. "properties": {
  23733. "description": {
  23734. "description": "异常描述",
  23735. "type": "string"
  23736. },
  23737. "errorcode": {
  23738. "description": "异常代码",
  23739. "type": "string"
  23740. },
  23741. "errorid": {
  23742. "description": "异常ID",
  23743. "type": "integer"
  23744. },
  23745. "modulecode": {
  23746. "description": "所属模块",
  23747. "type": "string"
  23748. },
  23749. "operatecode": {
  23750. "description": "所属操作",
  23751. "type": "string"
  23752. },
  23753. "rownumber": {
  23754. "description": "行号",
  23755. "type": "string"
  23756. }
  23757. }
  23758. },
  23759. "models.QueryHedgeOrderDetailRsp": {
  23760. "type": "object",
  23761. "properties": {
  23762. "accountid": {
  23763. "description": "账户ID",
  23764. "type": "integer"
  23765. },
  23766. "buyorsell": {
  23767. "description": "买卖 - 0:买 1:卖",
  23768. "type": "integer"
  23769. },
  23770. "cancellogincode": {
  23771. "description": "撤单人",
  23772. "type": "string"
  23773. },
  23774. "channelbuildtype": {
  23775. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  23776. "type": "integer"
  23777. },
  23778. "channelinnerorderstatus": {
  23779. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  23780. "type": "integer"
  23781. },
  23782. "channeloperatetype": {
  23783. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  23784. "type": "integer"
  23785. },
  23786. "closetype": {
  23787. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  23788. "type": "integer"
  23789. },
  23790. "curexchangerate": {
  23791. "description": "当前汇率",
  23792. "type": "number"
  23793. },
  23794. "exchangefullname": {
  23795. "description": "外部交易所全称",
  23796. "type": "string"
  23797. },
  23798. "goodscode": {
  23799. "description": "商品代码(内部)",
  23800. "type": "string"
  23801. },
  23802. "goodsid": {
  23803. "description": "商品ID",
  23804. "type": "integer"
  23805. },
  23806. "goodsname": {
  23807. "description": "商品名称",
  23808. "type": "string"
  23809. },
  23810. "marketid": {
  23811. "description": "市场ID",
  23812. "type": "integer"
  23813. },
  23814. "openfreezemargin": {
  23815. "description": "冻结保证金(冻结交易金额)",
  23816. "type": "number"
  23817. },
  23818. "orderid": {
  23819. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23820. "type": "string"
  23821. },
  23822. "orderlogincode": {
  23823. "description": "委托人",
  23824. "type": "string"
  23825. },
  23826. "orderprice": {
  23827. "description": "委托价格(账户)",
  23828. "type": "number"
  23829. },
  23830. "orderqty": {
  23831. "description": "委托数量",
  23832. "type": "integer"
  23833. },
  23834. "ordertime": {
  23835. "description": "委托时间",
  23836. "type": "string"
  23837. },
  23838. "pricemode": {
  23839. "description": "取价方式 - 1:市价 2: 限价",
  23840. "type": "integer"
  23841. },
  23842. "tradedate": {
  23843. "description": "交易日(yyyyMMdd)",
  23844. "type": "string"
  23845. },
  23846. "tradeqty": {
  23847. "description": "成交数量",
  23848. "type": "integer"
  23849. }
  23850. }
  23851. },
  23852. "models.QueryHedgeTradeDetailRsp": {
  23853. "type": "object",
  23854. "properties": {
  23855. "accountid": {
  23856. "description": "账号ID",
  23857. "type": "integer"
  23858. },
  23859. "buyorsell": {
  23860. "description": "方向 - 0:买 1:卖",
  23861. "type": "integer"
  23862. },
  23863. "channelbuildtype": {
  23864. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23865. "type": "integer"
  23866. },
  23867. "closecharge": {
  23868. "description": "平仓手续费(账户)",
  23869. "type": "number"
  23870. },
  23871. "closecharge2": {
  23872. "description": "平仓手续费(商品)",
  23873. "type": "number"
  23874. },
  23875. "closepl": {
  23876. "description": "平仓盈亏(账户)",
  23877. "type": "number"
  23878. },
  23879. "closepl2": {
  23880. "description": "平仓盈亏(商品)",
  23881. "type": "number"
  23882. },
  23883. "closepl3": {
  23884. "description": "平仓盈亏(账户)(逐笔)",
  23885. "type": "number"
  23886. },
  23887. "closepl4": {
  23888. "description": "平仓盈亏(商品)(逐笔)",
  23889. "type": "number"
  23890. },
  23891. "closetype": {
  23892. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  23893. "type": "integer"
  23894. },
  23895. "curexchangerate": {
  23896. "description": "当前汇率",
  23897. "type": "number"
  23898. },
  23899. "exchangefullname": {
  23900. "description": "外部交易所全称",
  23901. "type": "string"
  23902. },
  23903. "goodscode": {
  23904. "description": "商品代码(内部)",
  23905. "type": "string"
  23906. },
  23907. "goodsid": {
  23908. "description": "商品ID",
  23909. "type": "integer"
  23910. },
  23911. "goodsname": {
  23912. "description": "商品名称",
  23913. "type": "string"
  23914. },
  23915. "marketid": {
  23916. "description": "市场ID",
  23917. "type": "integer"
  23918. },
  23919. "opencharge": {
  23920. "description": "建仓手续费(账户)",
  23921. "type": "number"
  23922. },
  23923. "opencharge2": {
  23924. "description": "建仓手续费(商品)",
  23925. "type": "number"
  23926. },
  23927. "orderid": {
  23928. "description": "委托单号",
  23929. "type": "string"
  23930. },
  23931. "orderlogincode": {
  23932. "description": "委托人",
  23933. "type": "string"
  23934. },
  23935. "tradeamount": {
  23936. "description": "成交金额(账户)",
  23937. "type": "number"
  23938. },
  23939. "tradedate": {
  23940. "description": "交易日(yyyyMMdd)",
  23941. "type": "string"
  23942. },
  23943. "tradeid": {
  23944. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23945. "type": "string"
  23946. },
  23947. "tradeprice": {
  23948. "description": "成交价格",
  23949. "type": "number"
  23950. },
  23951. "tradeqty": {
  23952. "description": "成交数量",
  23953. "type": "integer"
  23954. },
  23955. "tradetime": {
  23956. "description": "成交时间",
  23957. "type": "string"
  23958. },
  23959. "tradetype": {
  23960. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  23961. "type": "integer"
  23962. }
  23963. }
  23964. },
  23965. "models.QuotePrimaryMenu": {
  23966. "type": "object",
  23967. "properties": {
  23968. "Index": {
  23969. "description": "序号",
  23970. "type": "integer"
  23971. },
  23972. "Key": {
  23973. "description": "键名",
  23974. "type": "string"
  23975. },
  23976. "Name": {
  23977. "description": "菜单名称",
  23978. "type": "string"
  23979. },
  23980. "SubMenus": {
  23981. "description": "子菜单",
  23982. "type": "array",
  23983. "items": {
  23984. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  23985. }
  23986. },
  23987. "SubTitleType": {
  23988. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  23989. "type": "integer"
  23990. },
  23991. "TradeModes": {
  23992. "description": "包含市场交易类型",
  23993. "type": "string"
  23994. }
  23995. }
  23996. },
  23997. "models.QuoteSecondaryMenu": {
  23998. "type": "object",
  23999. "properties": {
  24000. "ExExchangeCode": {
  24001. "description": "外部交易所代码",
  24002. "type": "string"
  24003. },
  24004. "ExExchangeID": {
  24005. "description": "外部交易所ID",
  24006. "type": "integer"
  24007. },
  24008. "GoodsGroupIDs": {
  24009. "description": "商品组ID列表",
  24010. "type": "array",
  24011. "items": {
  24012. "type": "integer"
  24013. }
  24014. },
  24015. "Index": {
  24016. "description": "序号",
  24017. "type": "integer"
  24018. },
  24019. "MarketID": {
  24020. "description": "市场ID",
  24021. "type": "integer"
  24022. },
  24023. "MenuTitle": {
  24024. "description": "菜单标题(市场名称或外部交易所名称)",
  24025. "type": "string"
  24026. },
  24027. "TradeMode": {
  24028. "description": "交易模式",
  24029. "type": "integer"
  24030. }
  24031. }
  24032. },
  24033. "models.SearchGoods": {
  24034. "type": "object",
  24035. "required": [
  24036. "goodscode",
  24037. "goodsid",
  24038. "goodsname",
  24039. "marketid",
  24040. "trademode"
  24041. ],
  24042. "properties": {
  24043. "goodscode": {
  24044. "description": "商品代码(内部)",
  24045. "type": "string"
  24046. },
  24047. "goodsid": {
  24048. "description": "商品ID(自增ID SEQ_GOODS)",
  24049. "type": "integer"
  24050. },
  24051. "goodsname": {
  24052. "description": "商品名称",
  24053. "type": "string"
  24054. },
  24055. "marketid": {
  24056. "description": "所属市场ID",
  24057. "type": "integer"
  24058. },
  24059. "marketname": {
  24060. "description": "市场名称",
  24061. "type": "string"
  24062. },
  24063. "trademode": {
  24064. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24065. "type": "integer"
  24066. }
  24067. }
  24068. },
  24069. "models.Systemparam": {
  24070. "type": "object",
  24071. "required": [
  24072. "paramcode"
  24073. ],
  24074. "properties": {
  24075. "loginid": {
  24076. "description": "更新用户账号,登录账号",
  24077. "type": "string"
  24078. },
  24079. "modifyflag": {
  24080. "description": "修改标志0 不允许修改 1 允许修改",
  24081. "type": "integer"
  24082. },
  24083. "paramcode": {
  24084. "description": "参数代码",
  24085. "type": "string"
  24086. },
  24087. "paramname": {
  24088. "description": "参数名",
  24089. "type": "string"
  24090. },
  24091. "paramtype": {
  24092. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  24093. "type": "integer"
  24094. },
  24095. "paramvalue": {
  24096. "description": "参数值",
  24097. "type": "string"
  24098. },
  24099. "paramvalue2": {
  24100. "description": "参数值(CLOB)",
  24101. "type": "string"
  24102. },
  24103. "regexpress": {
  24104. "description": "正则表达式",
  24105. "type": "string"
  24106. },
  24107. "remark": {
  24108. "description": "备注",
  24109. "type": "string"
  24110. },
  24111. "serverip": {
  24112. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  24113. "type": "string"
  24114. },
  24115. "showflag": {
  24116. "description": "是否显示0 不显示 1 显示",
  24117. "type": "integer"
  24118. },
  24119. "updatetime": {
  24120. "description": "更新时间",
  24121. "type": "string"
  24122. },
  24123. "userid": {
  24124. "description": "更新用户ID",
  24125. "type": "integer"
  24126. }
  24127. }
  24128. },
  24129. "models.Szdz3convertconfig": {
  24130. "type": "object",
  24131. "required": [
  24132. "converttype",
  24133. "innergoodsid",
  24134. "outergoodscode"
  24135. ],
  24136. "properties": {
  24137. "canin": {
  24138. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  24139. "type": "integer"
  24140. },
  24141. "canout": {
  24142. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  24143. "type": "integer"
  24144. },
  24145. "converttype": {
  24146. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  24147. "type": "integer"
  24148. },
  24149. "createtime": {
  24150. "description": "创建时间",
  24151. "type": "string"
  24152. },
  24153. "creatorid": {
  24154. "description": "创建人",
  24155. "type": "integer"
  24156. },
  24157. "daymaxvalue": {
  24158. "description": "当日最大转入限制",
  24159. "type": "number"
  24160. },
  24161. "freezedays": {
  24162. "description": "冻结天数 [5:花生米转交易]",
  24163. "type": "integer"
  24164. },
  24165. "innergoodsid": {
  24166. "description": "内部商品ID[交易]",
  24167. "type": "integer"
  24168. },
  24169. "inratio": {
  24170. "description": "目标值",
  24171. "type": "integer"
  24172. },
  24173. "modifierid": {
  24174. "description": "修改人",
  24175. "type": "integer"
  24176. },
  24177. "modifytime": {
  24178. "description": "修改时间",
  24179. "type": "string"
  24180. },
  24181. "outergoodscode": {
  24182. "description": "外部商品代码[JD\\PD]",
  24183. "type": "string"
  24184. },
  24185. "outratio": {
  24186. "description": "源值",
  24187. "type": "integer"
  24188. },
  24189. "pddecimalplace": {
  24190. "description": "PD小数位",
  24191. "type": "integer"
  24192. },
  24193. "timemaxvalue": {
  24194. "description": "单次最大转入限制",
  24195. "type": "number"
  24196. },
  24197. "timeminvalue": {
  24198. "description": "单次最小转入限制",
  24199. "type": "number"
  24200. }
  24201. }
  24202. },
  24203. "models.Szdz3searchwhitelist": {
  24204. "type": "object",
  24205. "required": [
  24206. "userid"
  24207. ],
  24208. "properties": {
  24209. "createtime": {
  24210. "description": "创建时间",
  24211. "type": "string"
  24212. },
  24213. "creatorid": {
  24214. "description": "创建人",
  24215. "type": "integer"
  24216. },
  24217. "modifierid": {
  24218. "description": "修改人",
  24219. "type": "integer"
  24220. },
  24221. "modifytime": {
  24222. "description": "修改时间",
  24223. "type": "string"
  24224. },
  24225. "userid": {
  24226. "description": "用户ID",
  24227. "type": "integer"
  24228. }
  24229. }
  24230. },
  24231. "models.Taaccount": {
  24232. "type": "object",
  24233. "required": [
  24234. "accountid",
  24235. "userid"
  24236. ],
  24237. "properties": {
  24238. "accountflag": {
  24239. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  24240. "type": "integer"
  24241. },
  24242. "accountid": {
  24243. "description": "资金账户ID",
  24244. "type": "integer"
  24245. },
  24246. "accountname": {
  24247. "description": "账户名称",
  24248. "type": "string"
  24249. },
  24250. "balance": {
  24251. "description": "期初余额",
  24252. "type": "number"
  24253. },
  24254. "capitalbalance": {
  24255. "description": "本金余额[外部子账户实际出入金余额]",
  24256. "type": "number"
  24257. },
  24258. "changeflag": {
  24259. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  24260. "type": "integer"
  24261. },
  24262. "changetime": {
  24263. "description": "账户状态变更时间",
  24264. "type": "string"
  24265. },
  24266. "closepl": {
  24267. "description": "今日平仓盈亏",
  24268. "type": "number"
  24269. },
  24270. "creditdecrease": {
  24271. "description": "今日授信减少",
  24272. "type": "number"
  24273. },
  24274. "creditincrease": {
  24275. "description": "今日授信增加",
  24276. "type": "number"
  24277. },
  24278. "currencyid": {
  24279. "description": "货币ID",
  24280. "type": "integer"
  24281. },
  24282. "currentbalance": {
  24283. "description": "期末余额",
  24284. "type": "number"
  24285. },
  24286. "freezecharge": {
  24287. "description": "手续费冻结",
  24288. "type": "number"
  24289. },
  24290. "freezemargin": {
  24291. "description": "冻结保证金",
  24292. "type": "number"
  24293. },
  24294. "fromaccountid": {
  24295. "description": "所属上级账户",
  24296. "type": "integer"
  24297. },
  24298. "inamount": {
  24299. "description": "今日入金金额(包括三方入金)",
  24300. "type": "number"
  24301. },
  24302. "ismain": {
  24303. "description": "是否母账号 0:不是母账户 1:是母账户",
  24304. "type": "integer"
  24305. },
  24306. "ismarketaccount": {
  24307. "description": "是否机构接单账号 0:不是 1:是",
  24308. "type": "integer"
  24309. },
  24310. "isreckonaccount": {
  24311. "description": "是否机构分润账号 0:不是 1:是",
  24312. "type": "integer"
  24313. },
  24314. "mortgagecredit": {
  24315. "description": "授信金额",
  24316. "type": "number"
  24317. },
  24318. "orifreezecharge": {
  24319. "description": "期初手续费冻结",
  24320. "type": "number"
  24321. },
  24322. "orifreezemargin": {
  24323. "description": "期初冻结保证金",
  24324. "type": "number"
  24325. },
  24326. "orimortgagecredit": {
  24327. "description": "期初授信金额",
  24328. "type": "number"
  24329. },
  24330. "oriothercredit": {
  24331. "description": "期初其它授信金额",
  24332. "type": "number"
  24333. },
  24334. "oriotherfreezemargin": {
  24335. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24336. "type": "number"
  24337. },
  24338. "orioutamountfreeze": {
  24339. "description": "期初出金冻结",
  24340. "type": "number"
  24341. },
  24342. "oriusedmargin": {
  24343. "description": "期初占用保证金",
  24344. "type": "number"
  24345. },
  24346. "othercredit": {
  24347. "description": "其它授信金额",
  24348. "type": "number"
  24349. },
  24350. "othercreditdecrease": {
  24351. "description": "今日其它授信减少",
  24352. "type": "number"
  24353. },
  24354. "othercreditincrease": {
  24355. "description": "今日其它授信增加",
  24356. "type": "number"
  24357. },
  24358. "otherfreezemargin": {
  24359. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24360. "type": "number"
  24361. },
  24362. "otherincome": {
  24363. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  24364. "type": "number"
  24365. },
  24366. "otherpay": {
  24367. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  24368. "type": "number"
  24369. },
  24370. "outamount": {
  24371. "description": "今日出金金额(包括三方出金)",
  24372. "type": "number"
  24373. },
  24374. "outamountfreeze": {
  24375. "description": "出金冻结",
  24376. "type": "number"
  24377. },
  24378. "outthreshold": {
  24379. "description": "出金阈值",
  24380. "type": "number"
  24381. },
  24382. "parentaccountid": {
  24383. "description": "所属根账号",
  24384. "type": "integer"
  24385. },
  24386. "paycharge": {
  24387. "description": "今日手续费支出",
  24388. "type": "number"
  24389. },
  24390. "relatedaccountstatus": {
  24391. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  24392. "type": "integer"
  24393. },
  24394. "relateduserid": {
  24395. "description": "关联用户",
  24396. "type": "integer"
  24397. },
  24398. "serivcegroup": {
  24399. "description": "服务分组",
  24400. "type": "integer"
  24401. },
  24402. "signstatus": {
  24403. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24404. "type": "integer"
  24405. },
  24406. "sublevelpath": {
  24407. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24408. "type": "string"
  24409. },
  24410. "taaccounttype": {
  24411. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24412. "type": "integer"
  24413. },
  24414. "thirdinamount": {
  24415. "description": "今日三方入金",
  24416. "type": "number"
  24417. },
  24418. "thirdoutamount": {
  24419. "description": "今日三方出金",
  24420. "type": "number"
  24421. },
  24422. "tradestatus": {
  24423. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24424. "type": "integer"
  24425. },
  24426. "tradestatuschangetime": {
  24427. "description": "激活时间",
  24428. "type": "string"
  24429. },
  24430. "transferamount": {
  24431. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24432. "type": "number"
  24433. },
  24434. "usedmargin": {
  24435. "description": "占用保证金",
  24436. "type": "number"
  24437. },
  24438. "userid": {
  24439. "description": "用户ID",
  24440. "type": "integer"
  24441. }
  24442. }
  24443. },
  24444. "models.Tablecolumnconfig": {
  24445. "type": "object",
  24446. "required": [
  24447. "autoid"
  24448. ],
  24449. "properties": {
  24450. "aligntype": {
  24451. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  24452. "type": "integer"
  24453. },
  24454. "autoid": {
  24455. "description": "AutoID",
  24456. "type": "integer"
  24457. },
  24458. "columnfield": {
  24459. "description": "列字段",
  24460. "type": "string"
  24461. },
  24462. "columntitle": {
  24463. "description": "列Title",
  24464. "type": "string"
  24465. },
  24466. "columnwidth": {
  24467. "description": "列宽",
  24468. "type": "string"
  24469. },
  24470. "formatterstring": {
  24471. "description": "格式化字符",
  24472. "type": "string"
  24473. },
  24474. "formattertype": {
  24475. "description": "格式化类型",
  24476. "type": "string"
  24477. },
  24478. "groupname": {
  24479. "description": "表头分组名称",
  24480. "type": "string"
  24481. },
  24482. "isshow": {
  24483. "description": "是否显示 - 0:不显示 1:显示",
  24484. "type": "integer"
  24485. },
  24486. "needsummary": {
  24487. "description": "是否需要汇总 - 0:不需要 1:需要",
  24488. "type": "integer"
  24489. },
  24490. "orderindex": {
  24491. "description": "顺序",
  24492. "type": "integer"
  24493. },
  24494. "remark": {
  24495. "description": "备注",
  24496. "type": "string"
  24497. },
  24498. "summarytype": {
  24499. "description": "汇总类型 - 1:加总 2:最后一个",
  24500. "type": "integer"
  24501. },
  24502. "tablekey": {
  24503. "description": "列表Key",
  24504. "type": "string"
  24505. }
  24506. }
  24507. },
  24508. "models.UserCollectConfig": {
  24509. "type": "object",
  24510. "properties": {
  24511. "accountstatus": {
  24512. "description": "账户状态 - 1:正常 2:停用 3:注销",
  24513. "type": "integer"
  24514. },
  24515. "collectaccountname": {
  24516. "description": "收款人账户名称",
  24517. "type": "string"
  24518. },
  24519. "collectaccountno": {
  24520. "description": "收款人账户",
  24521. "type": "string"
  24522. },
  24523. "collectbankname": {
  24524. "description": "收款人开户行",
  24525. "type": "string"
  24526. },
  24527. "collectbranchbankname": {
  24528. "description": "收款人开户支行",
  24529. "type": "string"
  24530. },
  24531. "collectconfigid": {
  24532. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  24533. "type": "string"
  24534. },
  24535. "remark": {
  24536. "description": "备注",
  24537. "type": "string"
  24538. },
  24539. "userid": {
  24540. "description": "收款人用户ID",
  24541. "type": "integer"
  24542. }
  24543. }
  24544. },
  24545. "models.UserReceiveInfo": {
  24546. "type": "object",
  24547. "properties": {
  24548. "address": {
  24549. "description": "提货人详细地址",
  24550. "type": "string"
  24551. },
  24552. "autoid": {
  24553. "description": "AutoID",
  24554. "type": "integer"
  24555. },
  24556. "cardnum": {
  24557. "description": "证件号码(加密存储)",
  24558. "type": "string"
  24559. },
  24560. "cardtypeid": {
  24561. "description": "证件类型",
  24562. "type": "integer"
  24563. },
  24564. "cityid": {
  24565. "description": "市",
  24566. "type": "integer"
  24567. },
  24568. "cityname": {
  24569. "description": "城市名称",
  24570. "type": "string"
  24571. },
  24572. "countryid": {
  24573. "description": "国家",
  24574. "type": "integer"
  24575. },
  24576. "countryname": {
  24577. "description": "国家名称",
  24578. "type": "string"
  24579. },
  24580. "districtid": {
  24581. "description": "地区",
  24582. "type": "integer"
  24583. },
  24584. "districtname": {
  24585. "description": "地区名称",
  24586. "type": "string"
  24587. },
  24588. "hasencrypt": {
  24589. "description": "数据是否已加密 - 0:未加密 1:已加密",
  24590. "type": "integer"
  24591. },
  24592. "isdefault": {
  24593. "description": "是否默认地址 - 0:否 1:是",
  24594. "type": "integer"
  24595. },
  24596. "phonenum": {
  24597. "description": "提货人联系方式(加密存储)",
  24598. "type": "string"
  24599. },
  24600. "provinceid": {
  24601. "description": "省",
  24602. "type": "integer"
  24603. },
  24604. "provincename": {
  24605. "description": "省名称",
  24606. "type": "string"
  24607. },
  24608. "receivername": {
  24609. "description": "提货人姓名",
  24610. "type": "string"
  24611. },
  24612. "takeremark": {
  24613. "description": "提货备注",
  24614. "type": "string"
  24615. },
  24616. "userid": {
  24617. "description": "用户ID",
  24618. "type": "integer"
  24619. }
  24620. }
  24621. },
  24622. "models.Useraccount": {
  24623. "type": "object",
  24624. "required": [
  24625. "userid"
  24626. ],
  24627. "properties": {
  24628. "accountname": {
  24629. "description": "账户名称(机构名称)",
  24630. "type": "string"
  24631. },
  24632. "accountstatus": {
  24633. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24634. "type": "integer"
  24635. },
  24636. "applysrc": {
  24637. "description": "申请来源 - 1:管理端 2:终端",
  24638. "type": "integer"
  24639. },
  24640. "auditremark": {
  24641. "description": "审核备注",
  24642. "type": "string"
  24643. },
  24644. "auditsrc": {
  24645. "description": "审核来源 - 1:管理端 2:终端",
  24646. "type": "integer"
  24647. },
  24648. "audittime": {
  24649. "description": "审核时间",
  24650. "type": "string"
  24651. },
  24652. "audituserid": {
  24653. "description": "审核人",
  24654. "type": "integer"
  24655. },
  24656. "broker": {
  24657. "description": "所属经纪人ID",
  24658. "type": "integer"
  24659. },
  24660. "canceltime": {
  24661. "description": "销户时间",
  24662. "type": "string"
  24663. },
  24664. "canceluserid": {
  24665. "description": "销户人",
  24666. "type": "integer"
  24667. },
  24668. "canrecommend": {
  24669. "description": "是否可推荐 - 0:不可 1;可",
  24670. "type": "integer"
  24671. },
  24672. "createtime": {
  24673. "description": "创建时间",
  24674. "type": "string"
  24675. },
  24676. "creatorid": {
  24677. "description": "创建人",
  24678. "type": "integer"
  24679. },
  24680. "hasauth": {
  24681. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  24682. "type": "integer"
  24683. },
  24684. "isanonymous": {
  24685. "description": "是否匿名下单 - 0:否 1:是",
  24686. "type": "integer"
  24687. },
  24688. "maxinvestornum": {
  24689. "description": "最大用户数(经纪会员下投资者个数)",
  24690. "type": "integer"
  24691. },
  24692. "memberuserid": {
  24693. "description": "所属会员ID",
  24694. "type": "integer"
  24695. },
  24696. "modifierid": {
  24697. "description": "修改人",
  24698. "type": "integer"
  24699. },
  24700. "modifyremark": {
  24701. "description": "变更备注",
  24702. "type": "string"
  24703. },
  24704. "modifystatus": {
  24705. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  24706. "type": "integer"
  24707. },
  24708. "modifytime": {
  24709. "description": "修改时间",
  24710. "type": "string"
  24711. },
  24712. "parenttopuser": {
  24713. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  24714. "type": "string"
  24715. },
  24716. "parentuserid": {
  24717. "description": "所属机构ID",
  24718. "type": "integer"
  24719. },
  24720. "reckonaccountid": {
  24721. "description": "默认结算资金账号ID(机构分润使用) 作废",
  24722. "type": "integer"
  24723. },
  24724. "refercount": {
  24725. "description": "推荐总人数",
  24726. "type": "integer"
  24727. },
  24728. "refereeuserid": {
  24729. "description": "推荐人ID",
  24730. "type": "integer"
  24731. },
  24732. "refernum": {
  24733. "description": "推荐码",
  24734. "type": "string"
  24735. },
  24736. "rootuserid": {
  24737. "description": "根用户ID",
  24738. "type": "integer"
  24739. },
  24740. "subaccountlevel": {
  24741. "description": "子账户层数",
  24742. "type": "integer"
  24743. },
  24744. "subarealevelpath": {
  24745. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  24746. "type": "string"
  24747. },
  24748. "userid": {
  24749. "description": "用户ID",
  24750. "type": "integer"
  24751. },
  24752. "usertype": {
  24753. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24754. "type": "integer"
  24755. }
  24756. }
  24757. },
  24758. "models.Userfavoritegoods": {
  24759. "type": "object",
  24760. "required": [
  24761. "goodsid"
  24762. ],
  24763. "properties": {
  24764. "goodsid": {
  24765. "description": "商品ID",
  24766. "type": "integer"
  24767. }
  24768. }
  24769. },
  24770. "models.Userinfo": {
  24771. "type": "object",
  24772. "required": [
  24773. "userid"
  24774. ],
  24775. "properties": {
  24776. "address": {
  24777. "description": "地址",
  24778. "type": "string"
  24779. },
  24780. "attachment1": {
  24781. "description": "附件1",
  24782. "type": "string"
  24783. },
  24784. "attachment2": {
  24785. "description": "附件2",
  24786. "type": "string"
  24787. },
  24788. "bankaccount": {
  24789. "description": "银行帐号 (加密存储)",
  24790. "type": "string"
  24791. },
  24792. "bankaccountname": {
  24793. "description": "收款人名称",
  24794. "type": "string"
  24795. },
  24796. "bankcardfrontphotourl": {
  24797. "description": "银行卡正面照地址",
  24798. "type": "string"
  24799. },
  24800. "bankid": {
  24801. "description": "银行编码",
  24802. "type": "string"
  24803. },
  24804. "bankname": {
  24805. "description": "银行名称",
  24806. "type": "string"
  24807. },
  24808. "biznature": {
  24809. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  24810. "type": "integer"
  24811. },
  24812. "bizscope": {
  24813. "description": "企业经营范围(企业)",
  24814. "type": "string"
  24815. },
  24816. "cardbackphotourl": {
  24817. "description": "证件背面图片地址",
  24818. "type": "string"
  24819. },
  24820. "cardfrontphotourl": {
  24821. "description": "证件正面图片地址",
  24822. "type": "string"
  24823. },
  24824. "cardnum": {
  24825. "description": "证件号码(加密存储)",
  24826. "type": "string"
  24827. },
  24828. "cardtypeid": {
  24829. "description": "证件类型ID",
  24830. "type": "integer"
  24831. },
  24832. "cityid": {
  24833. "description": "市",
  24834. "type": "integer"
  24835. },
  24836. "company": {
  24837. "description": "公司(个人)",
  24838. "type": "string"
  24839. },
  24840. "contactname": {
  24841. "description": "联系人",
  24842. "type": "string"
  24843. },
  24844. "countryid": {
  24845. "description": "国家",
  24846. "type": "integer"
  24847. },
  24848. "createtime": {
  24849. "description": "创建时间",
  24850. "type": "string"
  24851. },
  24852. "creatorid": {
  24853. "description": "创建人",
  24854. "type": "integer"
  24855. },
  24856. "customername": {
  24857. "description": "客户名称(企业名称)",
  24858. "type": "string"
  24859. },
  24860. "districtid": {
  24861. "description": "地区",
  24862. "type": "integer"
  24863. },
  24864. "email": {
  24865. "description": "邮件(加密存储)",
  24866. "type": "string"
  24867. },
  24868. "fax": {
  24869. "description": "传真(加密存储)",
  24870. "type": "string"
  24871. },
  24872. "halfbodyphotourl": {
  24873. "description": "半身照地址",
  24874. "type": "string"
  24875. },
  24876. "hasencrypt": {
  24877. "description": "数据是否已加密 - 0:未加密 1:已加密",
  24878. "type": "integer"
  24879. },
  24880. "headurl": {
  24881. "description": "头像地址",
  24882. "type": "string"
  24883. },
  24884. "legalcardbackphotourl": {
  24885. "description": "法人身份证背面照地址",
  24886. "type": "string"
  24887. },
  24888. "legalcardfrontphotourl": {
  24889. "description": "法人身份证正面照地址",
  24890. "type": "string"
  24891. },
  24892. "legalpersonname": {
  24893. "description": "法人姓名(企业)",
  24894. "type": "string"
  24895. },
  24896. "mobile": {
  24897. "description": "手机号码(加密存储)",
  24898. "type": "string"
  24899. },
  24900. "mobile2": {
  24901. "description": "手机号码[明文-尚志]",
  24902. "type": "string"
  24903. },
  24904. "modifierid": {
  24905. "description": "修改人",
  24906. "type": "integer"
  24907. },
  24908. "modifiertime": {
  24909. "description": "修改时间",
  24910. "type": "string"
  24911. },
  24912. "needinvoice": {
  24913. "description": "是否需要发票 - 0:不需要 1:需要",
  24914. "type": "integer"
  24915. },
  24916. "nickname": {
  24917. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  24918. "type": "string"
  24919. },
  24920. "openmode": {
  24921. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  24922. "type": "integer"
  24923. },
  24924. "otherurl": {
  24925. "description": "其它图片地址[使用分号分隔]",
  24926. "type": "string"
  24927. },
  24928. "postalcode": {
  24929. "description": "邮政编码",
  24930. "type": "string"
  24931. },
  24932. "provinceid": {
  24933. "description": "省",
  24934. "type": "integer"
  24935. },
  24936. "qq": {
  24937. "description": "QQ(加密存储",
  24938. "type": "string"
  24939. },
  24940. "remark": {
  24941. "description": "备注",
  24942. "type": "string"
  24943. },
  24944. "sex": {
  24945. "description": "用户性别 0: 女 1: 男",
  24946. "type": "integer"
  24947. },
  24948. "signpdfurl": {
  24949. "description": "签约pdf文件",
  24950. "type": "string"
  24951. },
  24952. "telphone": {
  24953. "description": "联系电话(加密存储)",
  24954. "type": "string"
  24955. },
  24956. "userid": {
  24957. "description": "用户ID",
  24958. "type": "integer"
  24959. },
  24960. "userinfotype": {
  24961. "description": "用户信息类型 - 1:个人 2:企业",
  24962. "type": "integer"
  24963. },
  24964. "userstatus": {
  24965. "description": "用户状态 - 1:正常 2:注销",
  24966. "type": "integer"
  24967. },
  24968. "usertype": {
  24969. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  24970. "type": "integer"
  24971. },
  24972. "wechat": {
  24973. "description": "微信(加密存储)",
  24974. "type": "string"
  24975. },
  24976. "wskhinfo": {
  24977. "description": "开户申请信息(JSON)",
  24978. "type": "string"
  24979. }
  24980. }
  24981. },
  24982. "models.WRSConverTDetail": {
  24983. "type": "object",
  24984. "properties": {
  24985. "convertratio": {
  24986. "description": "套保系数",
  24987. "type": "number"
  24988. },
  24989. "deliverygoodscode": {
  24990. "description": "现货商品代码",
  24991. "type": "string"
  24992. },
  24993. "deliverygoodsid": {
  24994. "description": "现货品种ID",
  24995. "type": "integer"
  24996. },
  24997. "deliverygoodsname": {
  24998. "description": "现货商品名称",
  24999. "type": "string"
  25000. },
  25001. "enumdicname": {
  25002. "description": "单位名称",
  25003. "type": "string"
  25004. },
  25005. "goodsunitid": {
  25006. "description": "套保品种单位id",
  25007. "type": "integer"
  25008. },
  25009. "middlegoodscode": {
  25010. "description": "套保品种代码",
  25011. "type": "string"
  25012. },
  25013. "middlegoodsid": {
  25014. "description": "套保品种ID",
  25015. "type": "integer"
  25016. },
  25017. "middlegoodsname": {
  25018. "description": "套保品种名称",
  25019. "type": "string"
  25020. },
  25021. "modifytime": {
  25022. "description": "修改时间",
  25023. "type": "string"
  25024. },
  25025. "wrstandardid": {
  25026. "description": "品类ID",
  25027. "type": "integer"
  25028. }
  25029. }
  25030. },
  25031. "models.WRStandardInfo": {
  25032. "type": "object",
  25033. "required": [
  25034. "wrstandardid"
  25035. ],
  25036. "properties": {
  25037. "areauserid": {
  25038. "description": "所属机构",
  25039. "type": "integer"
  25040. },
  25041. "convertfactor": {
  25042. "description": "标仓系数",
  25043. "type": "number"
  25044. },
  25045. "createtime": {
  25046. "description": "创建时间",
  25047. "type": "string"
  25048. },
  25049. "creatorid": {
  25050. "description": "创建人",
  25051. "type": "integer"
  25052. },
  25053. "deliverygoodsid": {
  25054. "description": "品种ID",
  25055. "type": "integer"
  25056. },
  25057. "deliverygoodsname": {
  25058. "description": "交割商品名称",
  25059. "type": "string"
  25060. },
  25061. "factoryitemjson": {
  25062. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  25063. "type": "string"
  25064. },
  25065. "isvalid": {
  25066. "description": "是否有效 - 0:无效 1:有效",
  25067. "type": "integer"
  25068. },
  25069. "minivalue": {
  25070. "description": "最小变动值",
  25071. "type": "integer"
  25072. },
  25073. "minivaluedp": {
  25074. "description": "最小变动值小数位",
  25075. "type": "integer"
  25076. },
  25077. "realminivalue": {
  25078. "description": "实际最小变动值",
  25079. "type": "integer"
  25080. },
  25081. "realminivaluedp": {
  25082. "description": "实际最小变动值小数位",
  25083. "type": "integer"
  25084. },
  25085. "remark": {
  25086. "description": "备注",
  25087. "type": "string"
  25088. },
  25089. "unitid": {
  25090. "description": "单位ID",
  25091. "type": "integer"
  25092. },
  25093. "unitname": {
  25094. "description": "单位",
  25095. "type": "string"
  25096. },
  25097. "updatetime": {
  25098. "description": "更新时间",
  25099. "type": "string"
  25100. },
  25101. "updatorid": {
  25102. "description": "更新人",
  25103. "type": "integer"
  25104. },
  25105. "wrsstatus": {
  25106. "description": "状态 - 作废 - 0:未激活 1:正常",
  25107. "type": "integer"
  25108. },
  25109. "wrstandardcode": {
  25110. "description": "现货品类代码",
  25111. "type": "string"
  25112. },
  25113. "wrstandardid": {
  25114. "description": "现货品类ID(SEQ_WRSTANDARD)",
  25115. "type": "integer"
  25116. },
  25117. "wrstandardname": {
  25118. "description": "现货品类名称",
  25119. "type": "string"
  25120. }
  25121. }
  25122. },
  25123. "models.Warehouseinfo": {
  25124. "type": "object",
  25125. "required": [
  25126. "autoid",
  25127. "warehousecode"
  25128. ],
  25129. "properties": {
  25130. "address": {
  25131. "description": "详细地址",
  25132. "type": "string"
  25133. },
  25134. "areauserid": {
  25135. "description": "所属机构",
  25136. "type": "integer"
  25137. },
  25138. "autoid": {
  25139. "description": "自增ID",
  25140. "type": "integer"
  25141. },
  25142. "cityid": {
  25143. "description": "市",
  25144. "type": "integer"
  25145. },
  25146. "contactname": {
  25147. "description": "联系人",
  25148. "type": "string"
  25149. },
  25150. "contactnum": {
  25151. "description": "联系电话",
  25152. "type": "string"
  25153. },
  25154. "countryid": {
  25155. "description": "国家",
  25156. "type": "integer"
  25157. },
  25158. "createtime": {
  25159. "description": "创建时间",
  25160. "type": "string"
  25161. },
  25162. "districtid": {
  25163. "description": "区",
  25164. "type": "integer"
  25165. },
  25166. "hasvideo": {
  25167. "description": "是否有视频 - 0:无 1:有",
  25168. "type": "integer"
  25169. },
  25170. "provinceid": {
  25171. "description": "省",
  25172. "type": "integer"
  25173. },
  25174. "remark": {
  25175. "description": "审核备注",
  25176. "type": "string"
  25177. },
  25178. "videourl": {
  25179. "description": "视频地址",
  25180. "type": "string"
  25181. },
  25182. "warehousecode": {
  25183. "description": "仓库代码",
  25184. "type": "string"
  25185. },
  25186. "warehousename": {
  25187. "description": "仓库名称",
  25188. "type": "string"
  25189. },
  25190. "warehousestatus": {
  25191. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  25192. "type": "integer"
  25193. },
  25194. "warehousetype": {
  25195. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  25196. "type": "integer"
  25197. }
  25198. }
  25199. },
  25200. "order.QueryHisTradeDetailRsp": {
  25201. "type": "object",
  25202. "required": [
  25203. "accountid",
  25204. "buyorsell",
  25205. "goodsid",
  25206. "histradedate",
  25207. "marketid",
  25208. "memberuserid",
  25209. "orderid",
  25210. "tradeamount",
  25211. "tradedate",
  25212. "tradeid",
  25213. "tradeprice",
  25214. "tradeqty",
  25215. "tradetime"
  25216. ],
  25217. "properties": {
  25218. "accountid": {
  25219. "description": "账户ID[报价币种]",
  25220. "type": "integer"
  25221. },
  25222. "buildtype": {
  25223. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  25224. "type": "integer"
  25225. },
  25226. "buyorsell": {
  25227. "description": "方向 - 0:买 1:卖",
  25228. "type": "integer"
  25229. },
  25230. "charge": {
  25231. "description": "手续费",
  25232. "type": "number"
  25233. },
  25234. "closecharge": {
  25235. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  25236. "type": "number"
  25237. },
  25238. "closeexchagechargevalue": {
  25239. "description": "平仓交易所手续费设置值",
  25240. "type": "number"
  25241. },
  25242. "closefeealgorithm": {
  25243. "description": "平仓手续费收取方式 1:比率 2:固定",
  25244. "type": "integer"
  25245. },
  25246. "closememberchargevalue": {
  25247. "description": "平仓会员手续费设置值",
  25248. "type": "number"
  25249. },
  25250. "closepl": {
  25251. "description": "平仓盈亏",
  25252. "type": "number"
  25253. },
  25254. "closepl2": {
  25255. "description": "平仓盈亏[逐笔]",
  25256. "type": "number"
  25257. },
  25258. "closeqty": {
  25259. "description": "平仓数量(先建后平操作 需要记录)",
  25260. "type": "number"
  25261. },
  25262. "creditamount": {
  25263. "description": "授信金额",
  25264. "type": "number"
  25265. },
  25266. "decimalplace": {
  25267. "description": "商品报价小数位",
  25268. "type": "integer"
  25269. },
  25270. "enumdicname": {
  25271. "description": "单位名称",
  25272. "type": "string"
  25273. },
  25274. "gcaccountid": {
  25275. "description": "账户ID[合约币种]",
  25276. "type": "integer"
  25277. },
  25278. "goodscode": {
  25279. "description": "商品代码",
  25280. "type": "string"
  25281. },
  25282. "goodsid": {
  25283. "description": "商品ID",
  25284. "type": "integer"
  25285. },
  25286. "goodsname": {
  25287. "description": "商品名称",
  25288. "type": "string"
  25289. },
  25290. "goodunitid": {
  25291. "description": "商品单位id",
  25292. "type": "integer"
  25293. },
  25294. "histradedate": {
  25295. "description": "历史交易日",
  25296. "type": "string"
  25297. },
  25298. "intclosepl": {
  25299. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  25300. "type": "integer"
  25301. },
  25302. "isconfirmexercise": {
  25303. "description": "是否确认行权- 0:否 1:是",
  25304. "type": "integer"
  25305. },
  25306. "ismain": {
  25307. "description": "是否主单 - 0:不是 1:是",
  25308. "type": "integer"
  25309. },
  25310. "ispreexercise": {
  25311. "description": "是否预申报- 0:否 1:是",
  25312. "type": "integer"
  25313. },
  25314. "isreckoned": {
  25315. "description": "是否结算 - 0:未结算 1:已结算",
  25316. "type": "integer"
  25317. },
  25318. "isvaliddata": {
  25319. "description": "是否有效 - 0:无效 1:有效",
  25320. "type": "integer"
  25321. },
  25322. "listingselecttype": {
  25323. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  25324. "type": "integer"
  25325. },
  25326. "marketid": {
  25327. "description": "市场ID",
  25328. "type": "integer"
  25329. },
  25330. "marketname": {
  25331. "description": "市场名称",
  25332. "type": "string"
  25333. },
  25334. "matchaccountid": {
  25335. "description": "对手账号id",
  25336. "type": "integer"
  25337. },
  25338. "memberuserid": {
  25339. "description": "会员id 个人投资者 需要填写",
  25340. "type": "integer"
  25341. },
  25342. "opencharge": {
  25343. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  25344. "type": "number"
  25345. },
  25346. "openexchagechargevalue": {
  25347. "description": "建仓交易所手续费设置值",
  25348. "type": "number"
  25349. },
  25350. "openfeealgorithm": {
  25351. "description": "建仓手续费收取方式 1:比率 2:固定",
  25352. "type": "integer"
  25353. },
  25354. "openmemberchargevalue": {
  25355. "description": "建仓会员手续费设置值",
  25356. "type": "number"
  25357. },
  25358. "openqty": {
  25359. "description": "开仓数量(先建后平操作 需要记录)",
  25360. "type": "number"
  25361. },
  25362. "optiontype": {
  25363. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  25364. "type": "integer"
  25365. },
  25366. "orderid": {
  25367. "description": "委托单号",
  25368. "type": "string"
  25369. },
  25370. "performanceplanid": {
  25371. "description": "履约计划ID[期权]",
  25372. "type": "integer"
  25373. },
  25374. "performancestatus": {
  25375. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  25376. "type": "integer"
  25377. },
  25378. "preexerciseprice": {
  25379. "description": "预申报价格",
  25380. "type": "number"
  25381. },
  25382. "premium": {
  25383. "description": "权利金 - [持仓单的权利金]",
  25384. "type": "number"
  25385. },
  25386. "qtydecimalplace": {
  25387. "description": "商品报价小数位",
  25388. "type": "integer"
  25389. },
  25390. "relatedouttradeid": {
  25391. "description": "关联外部成交单ID",
  25392. "type": "integer"
  25393. },
  25394. "status": {
  25395. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  25396. "type": "integer"
  25397. },
  25398. "tradeamount": {
  25399. "description": "成交金额[账户币种,用于所有权]",
  25400. "type": "number"
  25401. },
  25402. "tradedate": {
  25403. "description": "交易日(yyyyMMdd)",
  25404. "type": "string"
  25405. },
  25406. "tradeid": {
  25407. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25408. "type": "string"
  25409. },
  25410. "trademode": {
  25411. "description": "交易模式",
  25412. "type": "integer"
  25413. },
  25414. "tradeprice": {
  25415. "description": "成交价格",
  25416. "type": "number"
  25417. },
  25418. "tradeproperty": {
  25419. "description": "交易属性",
  25420. "type": "integer"
  25421. },
  25422. "tradeqty": {
  25423. "description": "成交数量",
  25424. "type": "number"
  25425. },
  25426. "tradetime": {
  25427. "description": "成交时间",
  25428. "type": "string"
  25429. },
  25430. "tradetype": {
  25431. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  25432. "type": "integer"
  25433. }
  25434. }
  25435. },
  25436. "order.QueryHisTradeOrderDetailRsp": {
  25437. "type": "object",
  25438. "required": [
  25439. "accountid",
  25440. "buildtype",
  25441. "buyorsell",
  25442. "goodsid",
  25443. "histradedate",
  25444. "marketid",
  25445. "memberuserid",
  25446. "operatetype",
  25447. "orderid",
  25448. "orderqty",
  25449. "ordertime",
  25450. "pricemode",
  25451. "tradedate",
  25452. "validtype"
  25453. ],
  25454. "properties": {
  25455. "accountid": {
  25456. "description": "账户ID[报价币种]",
  25457. "type": "integer"
  25458. },
  25459. "buildtype": {
  25460. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  25461. "type": "integer"
  25462. },
  25463. "buyorsell": {
  25464. "description": "买卖 - 0:买 1:卖",
  25465. "type": "integer"
  25466. },
  25467. "cancelorderid": {
  25468. "description": "撤单单号(撤单时填写)",
  25469. "type": "string"
  25470. },
  25471. "cancelqty": {
  25472. "description": "撤单数量",
  25473. "type": "number"
  25474. },
  25475. "clientordertime": {
  25476. "description": "客户端委托时间",
  25477. "type": "string"
  25478. },
  25479. "clientticket": {
  25480. "description": "客户端流水号",
  25481. "type": "string"
  25482. },
  25483. "clienttype": {
  25484. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  25485. "type": "integer"
  25486. },
  25487. "closeexchagechargevalue": {
  25488. "description": "平仓交易所手续费设置值",
  25489. "type": "number"
  25490. },
  25491. "closefeealgorithm": {
  25492. "description": "平仓手续费收取方式 1:比率 2:固定",
  25493. "type": "integer"
  25494. },
  25495. "closefreezecharge": {
  25496. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  25497. "type": "number"
  25498. },
  25499. "closememberchargevalue": {
  25500. "description": "平仓会员手续费设置值",
  25501. "type": "number"
  25502. },
  25503. "closeqty": {
  25504. "description": "平仓数量(先建后平操作 需要记录)",
  25505. "type": "number"
  25506. },
  25507. "closetradeqty": {
  25508. "description": "平仓成交数量(先建后平操作,需要记录)",
  25509. "type": "number"
  25510. },
  25511. "closeunfreezecharge": {
  25512. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  25513. "type": "number"
  25514. },
  25515. "decimalplace": {
  25516. "description": "商品报价小数位",
  25517. "type": "integer"
  25518. },
  25519. "delistingtype": {
  25520. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  25521. "type": "integer"
  25522. },
  25523. "enumdicname": {
  25524. "description": "单位名称",
  25525. "type": "string"
  25526. },
  25527. "freezecharge": {
  25528. "description": "冻结手续费",
  25529. "type": "number"
  25530. },
  25531. "freezemargin": {
  25532. "description": "冻结保证金(冻结交易金额)",
  25533. "type": "number"
  25534. },
  25535. "gcaccountid": {
  25536. "description": "账户ID[合约币种]",
  25537. "type": "integer"
  25538. },
  25539. "goodscode": {
  25540. "description": "商品代码",
  25541. "type": "string"
  25542. },
  25543. "goodsid": {
  25544. "description": "商品ID",
  25545. "type": "integer"
  25546. },
  25547. "goodsname": {
  25548. "description": "商品名称",
  25549. "type": "string"
  25550. },
  25551. "goodunitid": {
  25552. "description": "商品单位id",
  25553. "type": "integer"
  25554. },
  25555. "histradedate": {
  25556. "description": "历史交易日",
  25557. "type": "string"
  25558. },
  25559. "isconfirmexercise": {
  25560. "description": "是否确认行权- 0:否 1:是",
  25561. "type": "integer"
  25562. },
  25563. "ispreexercise": {
  25564. "description": "是否预申报- 0:否 1:是",
  25565. "type": "integer"
  25566. },
  25567. "isvaliddata": {
  25568. "description": "是否有效 - 0:无效 1:有效",
  25569. "type": "integer"
  25570. },
  25571. "listingselecttype": {
  25572. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  25573. "type": "integer"
  25574. },
  25575. "marginalgorithm": {
  25576. "description": "保证金收取方式 1:比率 2:固定",
  25577. "type": "integer"
  25578. },
  25579. "marginvalue": {
  25580. "description": "即市保证金设置值",
  25581. "type": "number"
  25582. },
  25583. "marketid": {
  25584. "description": "市场ID",
  25585. "type": "integer"
  25586. },
  25587. "marketmaxsub": {
  25588. "description": "市价最大偏移范围",
  25589. "type": "number"
  25590. },
  25591. "marketname": {
  25592. "description": "市场名称",
  25593. "type": "string"
  25594. },
  25595. "memberuserid": {
  25596. "description": "所属会员UserID",
  25597. "type": "integer"
  25598. },
  25599. "openexchagechargevalue": {
  25600. "description": "建仓交易所手续费设置值",
  25601. "type": "number"
  25602. },
  25603. "openfeealgorithm": {
  25604. "description": "建仓手续费收取方式 1:比率 2:固定",
  25605. "type": "integer"
  25606. },
  25607. "openfreezecharge": {
  25608. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  25609. "type": "number"
  25610. },
  25611. "openmemberchargevalue": {
  25612. "description": "建仓会员手续费设置值",
  25613. "type": "number"
  25614. },
  25615. "openqty": {
  25616. "description": "开仓数量(先建后平操作,需要记录)",
  25617. "type": "number"
  25618. },
  25619. "opentradeqty": {
  25620. "description": "开仓成交数量(先建后平操作,需要记录)",
  25621. "type": "number"
  25622. },
  25623. "openunfreezecharge": {
  25624. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  25625. "type": "number"
  25626. },
  25627. "operatetype": {
  25628. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  25629. "type": "integer"
  25630. },
  25631. "operatorid": {
  25632. "description": "登录账号(LoginID)",
  25633. "type": "integer"
  25634. },
  25635. "optiontype": {
  25636. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  25637. "type": "integer"
  25638. },
  25639. "orderid": {
  25640. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25641. "type": "string"
  25642. },
  25643. "orderprice": {
  25644. "description": "委托价格",
  25645. "type": "number"
  25646. },
  25647. "orderqty": {
  25648. "description": "委托数量",
  25649. "type": "number"
  25650. },
  25651. "ordersrc": {
  25652. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  25653. "type": "integer"
  25654. },
  25655. "orderstatus": {
  25656. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25657. "type": "integer"
  25658. },
  25659. "ordertime": {
  25660. "description": "委托时间",
  25661. "type": "string"
  25662. },
  25663. "preexerciseprice": {
  25664. "description": "预申报价格",
  25665. "type": "number"
  25666. },
  25667. "premium": {
  25668. "description": "权利金",
  25669. "type": "number"
  25670. },
  25671. "preorderid": {
  25672. "description": "关联预埋单号(止盈止损单时填写)",
  25673. "type": "string"
  25674. },
  25675. "pricemode": {
  25676. "description": "取价方式 - 1:市价 2: 限价",
  25677. "type": "integer"
  25678. },
  25679. "qtydecimalplace": {
  25680. "description": "成交量小数位",
  25681. "type": "integer"
  25682. },
  25683. "quoteid": {
  25684. "description": "报价单ID",
  25685. "type": "integer"
  25686. },
  25687. "relatedid": {
  25688. "description": "关联单号(交割单)",
  25689. "type": "string"
  25690. },
  25691. "retcode": {
  25692. "description": "错误代码",
  25693. "type": "integer"
  25694. },
  25695. "sessionid": {
  25696. "description": "会话ID",
  25697. "type": "integer"
  25698. },
  25699. "tradedate": {
  25700. "description": "交易日(yyyyMMdd)",
  25701. "type": "string"
  25702. },
  25703. "trademode": {
  25704. "description": "交易模式",
  25705. "type": "integer"
  25706. },
  25707. "tradeproperty": {
  25708. "description": "交易属性",
  25709. "type": "integer"
  25710. },
  25711. "tradeqty": {
  25712. "description": "成交数量",
  25713. "type": "number"
  25714. },
  25715. "unfreezecharge": {
  25716. "description": "解冻手续费",
  25717. "type": "number"
  25718. },
  25719. "unfreezemargin": {
  25720. "description": "解冻保证金",
  25721. "type": "number"
  25722. },
  25723. "updatetime": {
  25724. "description": "更新时间",
  25725. "type": "string"
  25726. },
  25727. "uuid": {
  25728. "description": "发起端唯一id",
  25729. "type": "string"
  25730. },
  25731. "validtime": {
  25732. "description": "有效期限",
  25733. "type": "string"
  25734. },
  25735. "validtype": {
  25736. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  25737. "type": "integer"
  25738. },
  25739. "volumetype": {
  25740. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  25741. "type": "integer"
  25742. }
  25743. }
  25744. },
  25745. "order.QueryTradeDetailRsp": {
  25746. "type": "object",
  25747. "required": [
  25748. "accountid",
  25749. "buyorsell",
  25750. "goodsid",
  25751. "marketid",
  25752. "memberuserid",
  25753. "orderid",
  25754. "tradeamount",
  25755. "tradedate",
  25756. "tradeid",
  25757. "tradeprice",
  25758. "tradeqty",
  25759. "tradetime"
  25760. ],
  25761. "properties": {
  25762. "accountid": {
  25763. "description": "账户ID[报价币种]",
  25764. "type": "integer"
  25765. },
  25766. "buildtype": {
  25767. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  25768. "type": "integer"
  25769. },
  25770. "buyorsell": {
  25771. "description": "方向 - 0:买 1:卖",
  25772. "type": "integer"
  25773. },
  25774. "charge": {
  25775. "description": "手续费",
  25776. "type": "number"
  25777. },
  25778. "closecharge": {
  25779. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  25780. "type": "number"
  25781. },
  25782. "closeexchagechargevalue": {
  25783. "description": "平仓交易所手续费设置值",
  25784. "type": "number"
  25785. },
  25786. "closefeealgorithm": {
  25787. "description": "平仓手续费收取方式 1:比率 2:固定",
  25788. "type": "integer"
  25789. },
  25790. "closememberchargevalue": {
  25791. "description": "平仓会员手续费设置值",
  25792. "type": "number"
  25793. },
  25794. "closepl": {
  25795. "description": "平仓盈亏",
  25796. "type": "number"
  25797. },
  25798. "closepl2": {
  25799. "description": "平仓盈亏[逐笔]",
  25800. "type": "number"
  25801. },
  25802. "closeqty": {
  25803. "description": "平仓数量(先建后平操作 需要记录)",
  25804. "type": "number"
  25805. },
  25806. "creditamount": {
  25807. "description": "授信金额",
  25808. "type": "number"
  25809. },
  25810. "decimalplace": {
  25811. "description": "商品报价小数位",
  25812. "type": "integer"
  25813. },
  25814. "enumdicname": {
  25815. "description": "单位名称",
  25816. "type": "string"
  25817. },
  25818. "gcaccountid": {
  25819. "description": "账户ID[合约币种]",
  25820. "type": "integer"
  25821. },
  25822. "goodscode": {
  25823. "description": "商品代码",
  25824. "type": "string"
  25825. },
  25826. "goodsid": {
  25827. "description": "商品ID",
  25828. "type": "integer"
  25829. },
  25830. "goodsname": {
  25831. "description": "商品名称",
  25832. "type": "string"
  25833. },
  25834. "goodunitid": {
  25835. "description": "商品单位id",
  25836. "type": "integer"
  25837. },
  25838. "intclosepl": {
  25839. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  25840. "type": "integer"
  25841. },
  25842. "isconfirmexercise": {
  25843. "description": "是否确认行权- 0:否 1:是",
  25844. "type": "integer"
  25845. },
  25846. "ismain": {
  25847. "description": "是否主单 - 0:不是 1:是",
  25848. "type": "integer"
  25849. },
  25850. "ispreexercise": {
  25851. "description": "是否预申报- 0:否 1:是",
  25852. "type": "integer"
  25853. },
  25854. "isreckoned": {
  25855. "description": "是否结算 - 0:未结算 1:已结算",
  25856. "type": "integer"
  25857. },
  25858. "listingselecttype": {
  25859. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  25860. "type": "integer"
  25861. },
  25862. "marketid": {
  25863. "description": "市场ID",
  25864. "type": "integer"
  25865. },
  25866. "marketname": {
  25867. "description": "市场名称",
  25868. "type": "string"
  25869. },
  25870. "matchaccountid": {
  25871. "description": "对手账号id",
  25872. "type": "integer"
  25873. },
  25874. "memberuserid": {
  25875. "description": "会员id 个人投资者 需要填写",
  25876. "type": "integer"
  25877. },
  25878. "opencharge": {
  25879. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  25880. "type": "number"
  25881. },
  25882. "openexchagechargevalue": {
  25883. "description": "建仓交易所手续费设置值",
  25884. "type": "number"
  25885. },
  25886. "openfeealgorithm": {
  25887. "description": "建仓手续费收取方式 1:比率 2:固定",
  25888. "type": "integer"
  25889. },
  25890. "openmemberchargevalue": {
  25891. "description": "建仓会员手续费设置值",
  25892. "type": "number"
  25893. },
  25894. "openqty": {
  25895. "description": "开仓数量(先建后平操作 需要记录)",
  25896. "type": "number"
  25897. },
  25898. "optiontype": {
  25899. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  25900. "type": "integer"
  25901. },
  25902. "orderid": {
  25903. "description": "委托单号",
  25904. "type": "string"
  25905. },
  25906. "performanceplanid": {
  25907. "description": "履约计划ID[期权]",
  25908. "type": "integer"
  25909. },
  25910. "performancestatus": {
  25911. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  25912. "type": "integer"
  25913. },
  25914. "preexerciseprice": {
  25915. "description": "预申报价格",
  25916. "type": "number"
  25917. },
  25918. "premium": {
  25919. "description": "权利金 - [持仓单的权利金]",
  25920. "type": "number"
  25921. },
  25922. "qtydecimalplace": {
  25923. "description": "商品报价小数位",
  25924. "type": "integer"
  25925. },
  25926. "relatedouttradeid": {
  25927. "description": "关联外部成交单ID",
  25928. "type": "integer"
  25929. },
  25930. "status": {
  25931. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  25932. "type": "integer"
  25933. },
  25934. "tradeamount": {
  25935. "description": "成交金额[账户币种,用于所有权]",
  25936. "type": "number"
  25937. },
  25938. "tradedate": {
  25939. "description": "交易日(yyyyMMdd)",
  25940. "type": "string"
  25941. },
  25942. "tradeid": {
  25943. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25944. "type": "string"
  25945. },
  25946. "trademode": {
  25947. "description": "交易模式",
  25948. "type": "integer"
  25949. },
  25950. "tradeprice": {
  25951. "description": "成交价格",
  25952. "type": "number"
  25953. },
  25954. "tradeproperty": {
  25955. "description": "交易属性",
  25956. "type": "integer"
  25957. },
  25958. "tradeqty": {
  25959. "description": "成交数量",
  25960. "type": "number"
  25961. },
  25962. "tradetime": {
  25963. "description": "成交时间",
  25964. "type": "string"
  25965. },
  25966. "tradetype": {
  25967. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  25968. "type": "integer"
  25969. }
  25970. }
  25971. },
  25972. "order.QueryTradeOrderDetailRsp": {
  25973. "type": "object",
  25974. "required": [
  25975. "accountid",
  25976. "buildtype",
  25977. "buyorsell",
  25978. "goodsid",
  25979. "marketid",
  25980. "operatetype",
  25981. "orderqty",
  25982. "ordertime",
  25983. "pricemode",
  25984. "tradedate",
  25985. "validtype"
  25986. ],
  25987. "properties": {
  25988. "accountid": {
  25989. "description": "账户ID[报价币种]",
  25990. "type": "integer"
  25991. },
  25992. "buildtype": {
  25993. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  25994. "type": "integer"
  25995. },
  25996. "buyorsell": {
  25997. "description": "买卖 - 0:买 1:卖",
  25998. "type": "integer"
  25999. },
  26000. "cancelorderid": {
  26001. "description": "撤单单号(撤单时填写)",
  26002. "type": "string"
  26003. },
  26004. "cancelqty": {
  26005. "description": "撤单数量",
  26006. "type": "number"
  26007. },
  26008. "clienttype": {
  26009. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26010. "type": "integer"
  26011. },
  26012. "closefreezecharge": {
  26013. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  26014. "type": "number"
  26015. },
  26016. "closeqty": {
  26017. "description": "平仓数量(先建后平操作 需要记录)",
  26018. "type": "number"
  26019. },
  26020. "closetradeqty": {
  26021. "description": "平仓成交数量(先建后平操作,需要记录)",
  26022. "type": "number"
  26023. },
  26024. "closeunfreezecharge": {
  26025. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  26026. "type": "number"
  26027. },
  26028. "decimalplace": {
  26029. "description": "商品报价小数位",
  26030. "type": "integer"
  26031. },
  26032. "delistingtype": {
  26033. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  26034. "type": "integer"
  26035. },
  26036. "enableqty": {
  26037. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  26038. "type": "number"
  26039. },
  26040. "enumdicname": {
  26041. "description": "单位名称",
  26042. "type": "string"
  26043. },
  26044. "freezecharge": {
  26045. "description": "冻结手续费",
  26046. "type": "number"
  26047. },
  26048. "freezemargin": {
  26049. "description": "冻结保证金(冻结交易金额)",
  26050. "type": "number"
  26051. },
  26052. "goodscode": {
  26053. "description": "商品代码",
  26054. "type": "string"
  26055. },
  26056. "goodsid": {
  26057. "description": "商品ID",
  26058. "type": "integer"
  26059. },
  26060. "goodsname": {
  26061. "description": "商品名称",
  26062. "type": "string"
  26063. },
  26064. "goodunitid": {
  26065. "description": "商品单位id",
  26066. "type": "integer"
  26067. },
  26068. "listingselecttype": {
  26069. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26070. "type": "integer"
  26071. },
  26072. "marketid": {
  26073. "description": "市场ID",
  26074. "type": "integer"
  26075. },
  26076. "marketname": {
  26077. "description": "市场名称",
  26078. "type": "string"
  26079. },
  26080. "openfreezecharge": {
  26081. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  26082. "type": "number"
  26083. },
  26084. "openqty": {
  26085. "description": "开仓数量(先建后平操作,需要记录)",
  26086. "type": "number"
  26087. },
  26088. "opentradeqty": {
  26089. "description": "开仓成交数量(先建后平操作,需要记录)",
  26090. "type": "number"
  26091. },
  26092. "openunfreezecharge": {
  26093. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  26094. "type": "number"
  26095. },
  26096. "operatetype": {
  26097. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  26098. "type": "integer"
  26099. },
  26100. "operatorid": {
  26101. "description": "登录账号(LoginID)",
  26102. "type": "integer"
  26103. },
  26104. "orderid": {
  26105. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26106. "type": "string"
  26107. },
  26108. "orderprice": {
  26109. "description": "委托价格",
  26110. "type": "number"
  26111. },
  26112. "orderqty": {
  26113. "description": "委托数量",
  26114. "type": "number"
  26115. },
  26116. "ordersrc": {
  26117. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  26118. "type": "integer"
  26119. },
  26120. "orderstatus": {
  26121. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26122. "type": "integer"
  26123. },
  26124. "ordertime": {
  26125. "description": "委托时间",
  26126. "type": "string"
  26127. },
  26128. "preorderid": {
  26129. "description": "关联预埋单号(止盈止损单时填写)",
  26130. "type": "string"
  26131. },
  26132. "pricemode": {
  26133. "description": "取价方式 - 1:市价 2: 限价",
  26134. "type": "integer"
  26135. },
  26136. "qtydecimalplace": {
  26137. "description": "商品报价小数位",
  26138. "type": "integer"
  26139. },
  26140. "relatedid": {
  26141. "description": "关联单号(交割单)",
  26142. "type": "string"
  26143. },
  26144. "tradedate": {
  26145. "description": "交易日(yyyyMMdd)",
  26146. "type": "string"
  26147. },
  26148. "trademode": {
  26149. "description": "交易模式",
  26150. "type": "integer"
  26151. },
  26152. "tradeqty": {
  26153. "description": "成交数量",
  26154. "type": "number"
  26155. },
  26156. "unfreezecharge": {
  26157. "description": "解冻手续费",
  26158. "type": "number"
  26159. },
  26160. "unfreezemargin": {
  26161. "description": "解冻保证金",
  26162. "type": "number"
  26163. },
  26164. "validtime": {
  26165. "description": "有效期限",
  26166. "type": "string"
  26167. },
  26168. "validtype": {
  26169. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  26170. "type": "integer"
  26171. },
  26172. "volumetype": {
  26173. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  26174. "type": "integer"
  26175. }
  26176. }
  26177. },
  26178. "order.QueryTradePositionRsp": {
  26179. "type": "object",
  26180. "required": [
  26181. "goodsid"
  26182. ],
  26183. "properties": {
  26184. "accountid": {
  26185. "description": "资金账户",
  26186. "type": "integer"
  26187. },
  26188. "agreeunit": {
  26189. "description": "合约单位",
  26190. "type": "number"
  26191. },
  26192. "averageprice": {
  26193. "description": "持仓均价",
  26194. "type": "number"
  26195. },
  26196. "buyorsell": {
  26197. "description": "方向 - 0:买 1:卖",
  26198. "type": "integer"
  26199. },
  26200. "closetotalqty": {
  26201. "description": "平仓总数量",
  26202. "type": "number"
  26203. },
  26204. "curholderamount": {
  26205. "description": "当前持仓总金额[商品币种]",
  26206. "type": "number"
  26207. },
  26208. "curpositionqty": {
  26209. "description": "当前持仓总数量",
  26210. "type": "number"
  26211. },
  26212. "currencyid": {
  26213. "description": "报价货币ID",
  26214. "type": "integer"
  26215. },
  26216. "curtdposition": {
  26217. "description": "期末今日头寸",
  26218. "type": "number"
  26219. },
  26220. "decimalplace": {
  26221. "description": "报价小数位",
  26222. "type": "integer"
  26223. },
  26224. "enableqty": {
  26225. "description": "可用量",
  26226. "type": "number"
  26227. },
  26228. "fretdposition": {
  26229. "description": "冻结今日头寸",
  26230. "type": "number"
  26231. },
  26232. "frozenqty": {
  26233. "description": "持仓冻结数量",
  26234. "type": "number"
  26235. },
  26236. "goodscode": {
  26237. "description": "商品代码",
  26238. "type": "string"
  26239. },
  26240. "goodsid": {
  26241. "description": "商品Id",
  26242. "type": "integer"
  26243. },
  26244. "goodsname": {
  26245. "description": "商品名称",
  26246. "type": "string"
  26247. },
  26248. "goodunit": {
  26249. "description": "报价单位",
  26250. "type": "string"
  26251. },
  26252. "goodunitid": {
  26253. "description": "报价单位ID",
  26254. "type": "integer"
  26255. },
  26256. "holderamount": {
  26257. "description": "期初持仓总金额[商品币种]",
  26258. "type": "number"
  26259. },
  26260. "marketid": {
  26261. "description": "所属市场ID",
  26262. "type": "integer"
  26263. },
  26264. "openreqqty": {
  26265. "description": "开仓申请数量(用于比较最大持仓数量)",
  26266. "type": "number"
  26267. },
  26268. "opentotalqty": {
  26269. "description": "开仓总数量",
  26270. "type": "number"
  26271. },
  26272. "otherfrozenqty": {
  26273. "description": "持仓其他冻结数量(交割冻结)",
  26274. "type": "number"
  26275. },
  26276. "positionqty": {
  26277. "description": "期初持仓数量",
  26278. "type": "number"
  26279. },
  26280. "qtydecimalplace": {
  26281. "description": "成交量小数位",
  26282. "type": "integer"
  26283. },
  26284. "tnqty": {
  26285. "description": "T+N冻结总量",
  26286. "type": "number"
  26287. },
  26288. "tnusedqty": {
  26289. "description": "T+N使用量(可以使用T+N的冻结数量)",
  26290. "type": "number"
  26291. },
  26292. "trademode": {
  26293. "description": "交易模式",
  26294. "type": "integer"
  26295. },
  26296. "usedmargin": {
  26297. "description": "占用保证金[商品币种]",
  26298. "type": "number"
  26299. }
  26300. }
  26301. },
  26302. "quote.HistoryData": {
  26303. "type": "object",
  26304. "properties": {
  26305. "c": {
  26306. "description": "收盘价",
  26307. "type": "number"
  26308. },
  26309. "f": {
  26310. "description": "是否补充数据",
  26311. "type": "boolean"
  26312. },
  26313. "h": {
  26314. "description": "最高价",
  26315. "type": "number"
  26316. },
  26317. "hv": {
  26318. "description": "持仓量",
  26319. "type": "integer"
  26320. },
  26321. "l": {
  26322. "description": "最低价",
  26323. "type": "number"
  26324. },
  26325. "o": {
  26326. "description": "开盘价",
  26327. "type": "number"
  26328. },
  26329. "s": {
  26330. "description": "结算价,日线周期(包括)以上才有",
  26331. "type": "number"
  26332. },
  26333. "ts": {
  26334. "description": "时间",
  26335. "type": "string"
  26336. },
  26337. "tt": {
  26338. "description": "总金额",
  26339. "type": "number"
  26340. },
  26341. "tv": {
  26342. "description": "总量",
  26343. "type": "integer"
  26344. }
  26345. }
  26346. },
  26347. "quote.HistoryTikData": {
  26348. "type": "object",
  26349. "properties": {
  26350. "AV": {
  26351. "description": "卖量",
  26352. "type": "integer"
  26353. },
  26354. "Ask": {
  26355. "description": "卖价",
  26356. "type": "number"
  26357. },
  26358. "BV": {
  26359. "description": "买量",
  26360. "type": "integer"
  26361. },
  26362. "Bid": {
  26363. "description": "买价",
  26364. "type": "number"
  26365. },
  26366. "HI": {
  26367. "description": "单笔持仓",
  26368. "type": "integer"
  26369. },
  26370. "HV": {
  26371. "description": "持仓量",
  26372. "type": "integer"
  26373. },
  26374. "PE": {
  26375. "description": "现价",
  26376. "type": "number"
  26377. },
  26378. "TDR": {
  26379. "description": "交易方向,0:买 1:卖",
  26380. "type": "integer"
  26381. },
  26382. "TK": {
  26383. "description": "交易类型",
  26384. "type": "integer"
  26385. },
  26386. "TS": {
  26387. "description": "行情时间文本",
  26388. "type": "string"
  26389. },
  26390. "TT": {
  26391. "description": "现金额",
  26392. "type": "number"
  26393. },
  26394. "Vol": {
  26395. "description": "现量",
  26396. "type": "integer"
  26397. }
  26398. }
  26399. },
  26400. "quote.QueryQuoteDayRsp": {
  26401. "type": "object",
  26402. "properties": {
  26403. "ask": {
  26404. "description": "卖1",
  26405. "type": "number"
  26406. },
  26407. "ask10": {
  26408. "description": "卖10",
  26409. "type": "number"
  26410. },
  26411. "ask2": {
  26412. "description": "卖2",
  26413. "type": "number"
  26414. },
  26415. "ask3": {
  26416. "description": "卖3",
  26417. "type": "number"
  26418. },
  26419. "ask4": {
  26420. "description": "卖4",
  26421. "type": "number"
  26422. },
  26423. "ask5": {
  26424. "description": "卖5",
  26425. "type": "number"
  26426. },
  26427. "ask6": {
  26428. "description": "卖6",
  26429. "type": "number"
  26430. },
  26431. "ask7": {
  26432. "description": "卖7",
  26433. "type": "number"
  26434. },
  26435. "ask8": {
  26436. "description": "卖8",
  26437. "type": "number"
  26438. },
  26439. "ask9": {
  26440. "description": "卖9",
  26441. "type": "number"
  26442. },
  26443. "askorderid": {
  26444. "description": "卖单号1",
  26445. "type": "integer"
  26446. },
  26447. "askorderid2": {
  26448. "description": "卖单号2",
  26449. "type": "integer"
  26450. },
  26451. "askorderid3": {
  26452. "description": "卖单号3",
  26453. "type": "integer"
  26454. },
  26455. "askorderid4": {
  26456. "description": "卖单号4",
  26457. "type": "integer"
  26458. },
  26459. "askorderid5": {
  26460. "description": "卖单号5",
  26461. "type": "integer"
  26462. },
  26463. "askordervolume": {
  26464. "description": "卖单量1",
  26465. "type": "integer"
  26466. },
  26467. "askordervolume10": {
  26468. "description": "卖单量10",
  26469. "type": "integer"
  26470. },
  26471. "askordervolume2": {
  26472. "description": "卖单量2",
  26473. "type": "integer"
  26474. },
  26475. "askordervolume3": {
  26476. "description": "卖单量3",
  26477. "type": "integer"
  26478. },
  26479. "askordervolume4": {
  26480. "description": "卖单量4",
  26481. "type": "integer"
  26482. },
  26483. "askordervolume5": {
  26484. "description": "卖单量5",
  26485. "type": "integer"
  26486. },
  26487. "askordervolume6": {
  26488. "description": "卖单量6",
  26489. "type": "integer"
  26490. },
  26491. "askordervolume7": {
  26492. "description": "卖单量7",
  26493. "type": "integer"
  26494. },
  26495. "askordervolume8": {
  26496. "description": "卖单量8",
  26497. "type": "integer"
  26498. },
  26499. "askordervolume9": {
  26500. "description": "卖单量9",
  26501. "type": "integer"
  26502. },
  26503. "askqueueinfo": {
  26504. "description": "大利市卖港股用",
  26505. "type": "string"
  26506. },
  26507. "askvolume": {
  26508. "description": "卖量1",
  26509. "type": "integer"
  26510. },
  26511. "askvolume10": {
  26512. "description": "卖量10",
  26513. "type": "integer"
  26514. },
  26515. "askvolume2": {
  26516. "description": "卖量2",
  26517. "type": "integer"
  26518. },
  26519. "askvolume3": {
  26520. "description": "卖量3",
  26521. "type": "integer"
  26522. },
  26523. "askvolume4": {
  26524. "description": "卖量4",
  26525. "type": "integer"
  26526. },
  26527. "askvolume5": {
  26528. "description": "卖量5",
  26529. "type": "integer"
  26530. },
  26531. "askvolume6": {
  26532. "description": "卖量6",
  26533. "type": "integer"
  26534. },
  26535. "askvolume7": {
  26536. "description": "卖量7",
  26537. "type": "integer"
  26538. },
  26539. "askvolume8": {
  26540. "description": "卖量8",
  26541. "type": "integer"
  26542. },
  26543. "askvolume9": {
  26544. "description": "卖量9",
  26545. "type": "integer"
  26546. },
  26547. "averageprice": {
  26548. "description": "均价",
  26549. "type": "number"
  26550. },
  26551. "bid": {
  26552. "description": "买1",
  26553. "type": "number"
  26554. },
  26555. "bid10": {
  26556. "description": "买10",
  26557. "type": "number"
  26558. },
  26559. "bid2": {
  26560. "description": "买2",
  26561. "type": "number"
  26562. },
  26563. "bid3": {
  26564. "description": "买3",
  26565. "type": "number"
  26566. },
  26567. "bid4": {
  26568. "description": "买4",
  26569. "type": "number"
  26570. },
  26571. "bid5": {
  26572. "description": "买5",
  26573. "type": "number"
  26574. },
  26575. "bid6": {
  26576. "description": "买6",
  26577. "type": "number"
  26578. },
  26579. "bid7": {
  26580. "description": "买7",
  26581. "type": "number"
  26582. },
  26583. "bid8": {
  26584. "description": "买8",
  26585. "type": "number"
  26586. },
  26587. "bid9": {
  26588. "description": "买9",
  26589. "type": "number"
  26590. },
  26591. "bidorderid": {
  26592. "description": "买单号1",
  26593. "type": "integer"
  26594. },
  26595. "bidorderid2": {
  26596. "description": "买单号2",
  26597. "type": "integer"
  26598. },
  26599. "bidorderid3": {
  26600. "description": "买单号3",
  26601. "type": "integer"
  26602. },
  26603. "bidorderid4": {
  26604. "description": "买单号4",
  26605. "type": "integer"
  26606. },
  26607. "bidorderid5": {
  26608. "description": "买单号5",
  26609. "type": "integer"
  26610. },
  26611. "bidordervolume": {
  26612. "description": "买单量1",
  26613. "type": "integer"
  26614. },
  26615. "bidordervolume10": {
  26616. "description": "买单量10",
  26617. "type": "integer"
  26618. },
  26619. "bidordervolume2": {
  26620. "description": "买单量2",
  26621. "type": "integer"
  26622. },
  26623. "bidordervolume3": {
  26624. "description": "买单量3",
  26625. "type": "integer"
  26626. },
  26627. "bidordervolume4": {
  26628. "description": "买单量4",
  26629. "type": "integer"
  26630. },
  26631. "bidordervolume5": {
  26632. "description": "买单量5",
  26633. "type": "integer"
  26634. },
  26635. "bidordervolume6": {
  26636. "description": "买单量6",
  26637. "type": "integer"
  26638. },
  26639. "bidordervolume7": {
  26640. "description": "买单量7",
  26641. "type": "integer"
  26642. },
  26643. "bidordervolume8": {
  26644. "description": "买单量8",
  26645. "type": "integer"
  26646. },
  26647. "bidordervolume9": {
  26648. "description": "买单量9",
  26649. "type": "integer"
  26650. },
  26651. "bidqueueinfo": {
  26652. "description": "大利市买港股用",
  26653. "type": "string"
  26654. },
  26655. "bidvolume": {
  26656. "description": "买量1",
  26657. "type": "integer"
  26658. },
  26659. "bidvolume10": {
  26660. "description": "买量10",
  26661. "type": "integer"
  26662. },
  26663. "bidvolume2": {
  26664. "description": "买量2",
  26665. "type": "integer"
  26666. },
  26667. "bidvolume3": {
  26668. "description": "买量3",
  26669. "type": "integer"
  26670. },
  26671. "bidvolume4": {
  26672. "description": "买量4",
  26673. "type": "integer"
  26674. },
  26675. "bidvolume5": {
  26676. "description": "买量5",
  26677. "type": "integer"
  26678. },
  26679. "bidvolume6": {
  26680. "description": "买量6",
  26681. "type": "integer"
  26682. },
  26683. "bidvolume7": {
  26684. "description": "买量7",
  26685. "type": "integer"
  26686. },
  26687. "bidvolume8": {
  26688. "description": "买量8",
  26689. "type": "integer"
  26690. },
  26691. "bidvolume9": {
  26692. "description": "买量9",
  26693. "type": "integer"
  26694. },
  26695. "calloptionpremiums": {
  26696. "description": "认购期权1",
  26697. "type": "integer"
  26698. },
  26699. "calloptionpremiums2": {
  26700. "description": "认购期权2",
  26701. "type": "integer"
  26702. },
  26703. "calloptionpremiums3": {
  26704. "description": "认购期权3",
  26705. "type": "integer"
  26706. },
  26707. "calloptionpremiums4": {
  26708. "description": "认购期权4",
  26709. "type": "integer"
  26710. },
  26711. "calloptionpremiums5": {
  26712. "description": "认购期权5",
  26713. "type": "integer"
  26714. },
  26715. "cleartime": {
  26716. "description": "清盘时间",
  26717. "type": "integer"
  26718. },
  26719. "exchangecode": {
  26720. "description": "交易所代码",
  26721. "type": "integer"
  26722. },
  26723. "exchangedate": {
  26724. "description": "交易日",
  26725. "type": "integer"
  26726. },
  26727. "goodscode": {
  26728. "description": "商品代码",
  26729. "type": "string"
  26730. },
  26731. "grepmarketprice": {
  26732. "description": "暗盘价 港股专用",
  26733. "type": "number"
  26734. },
  26735. "highest": {
  26736. "description": "最高价",
  26737. "type": "number"
  26738. },
  26739. "holdincrement": {
  26740. "description": "单笔持仓",
  26741. "type": "integer"
  26742. },
  26743. "holdvolume": {
  26744. "description": "持仓",
  26745. "type": "integer"
  26746. },
  26747. "iep": {
  26748. "description": "平衡价 港股专用",
  26749. "type": "number"
  26750. },
  26751. "iev": {
  26752. "description": "平衡量 港股专用",
  26753. "type": "number"
  26754. },
  26755. "inventory": {
  26756. "description": "库存",
  26757. "type": "integer"
  26758. },
  26759. "iscleared": {
  26760. "description": "是否清盘标志",
  26761. "type": "integer"
  26762. },
  26763. "issettled": {
  26764. "description": "是否结算标志",
  26765. "type": "integer"
  26766. },
  26767. "last": {
  26768. "description": "最新价",
  26769. "type": "number"
  26770. },
  26771. "lastlot": {
  26772. "description": "最新成交手数",
  26773. "type": "integer"
  26774. },
  26775. "lasttime": {
  26776. "description": "行情时间(只有现价变化行情时间才变化)",
  26777. "type": "string"
  26778. },
  26779. "lastturnover": {
  26780. "description": "最新成交金额",
  26781. "type": "number"
  26782. },
  26783. "lastvolume": {
  26784. "description": "最新成交量",
  26785. "type": "integer"
  26786. },
  26787. "limitdown": {
  26788. "description": "跌停价",
  26789. "type": "number"
  26790. },
  26791. "limitup": {
  26792. "description": "涨停价",
  26793. "type": "number"
  26794. },
  26795. "lowest": {
  26796. "description": "最低价",
  26797. "type": "number"
  26798. },
  26799. "nontotalholdervolume": {
  26800. "description": "非交易持仓量",
  26801. "type": "integer"
  26802. },
  26803. "nontotallot": {
  26804. "description": "非交易总手数",
  26805. "type": "integer"
  26806. },
  26807. "nontotalturnover": {
  26808. "description": "非交易总金额",
  26809. "type": "integer"
  26810. },
  26811. "nontotalvolume": {
  26812. "description": "非交易总量",
  26813. "type": "integer"
  26814. },
  26815. "opened": {
  26816. "description": "开盘价",
  26817. "type": "number"
  26818. },
  26819. "opentime": {
  26820. "description": "开盘时间",
  26821. "type": "string"
  26822. },
  26823. "orderid": {
  26824. "description": "序号",
  26825. "type": "integer"
  26826. },
  26827. "preclose": {
  26828. "description": "昨收",
  26829. "type": "number"
  26830. },
  26831. "preholdvolume": {
  26832. "description": "昨持仓",
  26833. "type": "integer"
  26834. },
  26835. "presettle": {
  26836. "description": "昨结价",
  26837. "type": "number"
  26838. },
  26839. "publictradetype": {
  26840. "description": "公共交易标志类型 港股专用",
  26841. "type": "string"
  26842. },
  26843. "putoptionpremiums": {
  26844. "description": "认沽期权1",
  26845. "type": "integer"
  26846. },
  26847. "putoptionpremiums2": {
  26848. "description": "认沽期权2",
  26849. "type": "integer"
  26850. },
  26851. "putoptionpremiums3": {
  26852. "description": "认沽期权3",
  26853. "type": "integer"
  26854. },
  26855. "putoptionpremiums4": {
  26856. "description": "认沽期权4",
  26857. "type": "integer"
  26858. },
  26859. "putoptionpremiums5": {
  26860. "description": "认沽期权5",
  26861. "type": "integer"
  26862. },
  26863. "settle": {
  26864. "description": "结算价",
  26865. "type": "number"
  26866. },
  26867. "strikeprice": {
  26868. "description": "发行价",
  26869. "type": "number"
  26870. },
  26871. "totalaskvolume": {
  26872. "description": "内盘",
  26873. "type": "integer"
  26874. },
  26875. "totalbidvolume": {
  26876. "description": "外盘",
  26877. "type": "integer"
  26878. },
  26879. "totallot": {
  26880. "description": "总手数",
  26881. "type": "integer"
  26882. },
  26883. "totalturnover": {
  26884. "description": "总金额",
  26885. "type": "number"
  26886. },
  26887. "totalvolume": {
  26888. "description": "总量",
  26889. "type": "integer"
  26890. },
  26891. "utclasttime": {
  26892. "description": "utc的行情时间",
  26893. "type": "string"
  26894. }
  26895. }
  26896. },
  26897. "quote.QueryTSDataRsp": {
  26898. "type": "object",
  26899. "properties": {
  26900. "Count": {
  26901. "description": "交易日应有数据个数",
  26902. "type": "integer"
  26903. },
  26904. "decimalPlace": {
  26905. "description": "小数位",
  26906. "type": "integer"
  26907. },
  26908. "endTime": {
  26909. "description": "结束时间",
  26910. "type": "string"
  26911. },
  26912. "goodsCode": {
  26913. "description": "商品代码",
  26914. "type": "string"
  26915. },
  26916. "historyDatas": {
  26917. "description": "历史数据",
  26918. "type": "array",
  26919. "items": {
  26920. "$ref": "#/definitions/quote.HistoryData"
  26921. }
  26922. },
  26923. "outGoodsCode": {
  26924. "description": "外部商品代码",
  26925. "type": "string"
  26926. },
  26927. "preSettle": {
  26928. "description": "昨结价",
  26929. "type": "number"
  26930. },
  26931. "runSteps": {
  26932. "description": "交易日开休市计划",
  26933. "type": "array",
  26934. "items": {
  26935. "$ref": "#/definitions/quote.TSDataRunStep"
  26936. }
  26937. },
  26938. "startTime": {
  26939. "description": "开始时间",
  26940. "type": "string"
  26941. },
  26942. "tradeDate": {
  26943. "description": "交易日",
  26944. "type": "string"
  26945. }
  26946. }
  26947. },
  26948. "quote.TSDataRunStep": {
  26949. "type": "object",
  26950. "properties": {
  26951. "end": {
  26952. "description": "真实结束时间",
  26953. "type": "string"
  26954. },
  26955. "endflag": {
  26956. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  26957. "type": "integer"
  26958. },
  26959. "endtime": {
  26960. "description": "结束时间(HH:mm)",
  26961. "type": "string"
  26962. },
  26963. "endweekday": {
  26964. "description": "结束周几",
  26965. "type": "integer"
  26966. },
  26967. "groupid": {
  26968. "description": "分组ID",
  26969. "type": "integer"
  26970. },
  26971. "runstep": {
  26972. "description": "运行阶段 - 2:连续交易",
  26973. "type": "integer"
  26974. },
  26975. "sectionid": {
  26976. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  26977. "type": "integer"
  26978. },
  26979. "start": {
  26980. "description": "真实开始时间",
  26981. "type": "string"
  26982. },
  26983. "startflag": {
  26984. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  26985. "type": "integer"
  26986. },
  26987. "starttime": {
  26988. "description": "起始时间(HH:mm)",
  26989. "type": "string"
  26990. },
  26991. "startweekday": {
  26992. "description": "起始周几",
  26993. "type": "integer"
  26994. },
  26995. "tradeweekday": {
  26996. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  26997. "type": "integer"
  26998. }
  26999. }
  27000. },
  27001. "szdz.QueryConvertLogRsp": {
  27002. "type": "object",
  27003. "required": [
  27004. "logid"
  27005. ],
  27006. "properties": {
  27007. "accountid": {
  27008. "description": "资金账户ID",
  27009. "type": "integer"
  27010. },
  27011. "clientticket": {
  27012. "description": "客户端流水号",
  27013. "type": "string"
  27014. },
  27015. "converttype": {
  27016. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  27017. "type": "integer"
  27018. },
  27019. "createtime": {
  27020. "description": "记账时间",
  27021. "type": "string"
  27022. },
  27023. "daymaxvalue": {
  27024. "description": "配置当日最大转入限制",
  27025. "type": "number"
  27026. },
  27027. "daymaxvalue2": {
  27028. "description": "配置当日最大转入限制(转入)",
  27029. "type": "number"
  27030. },
  27031. "goodscode": {
  27032. "description": "商品代码",
  27033. "type": "string"
  27034. },
  27035. "goodsname": {
  27036. "description": "商品名称",
  27037. "type": "string"
  27038. },
  27039. "handlestatus": {
  27040. "description": "处理状态",
  27041. "type": "integer"
  27042. },
  27043. "innergoodsid": {
  27044. "description": "内部商品ID",
  27045. "type": "integer"
  27046. },
  27047. "inratio": {
  27048. "description": "配置转入比值",
  27049. "type": "integer"
  27050. },
  27051. "invalue": {
  27052. "description": "目标值",
  27053. "type": "number"
  27054. },
  27055. "logid": {
  27056. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27057. "type": "integer"
  27058. },
  27059. "mobile": {
  27060. "description": "手机号码(加密存储)",
  27061. "type": "string"
  27062. },
  27063. "outergoodscode": {
  27064. "description": "外部商品代码[JD\\PD]",
  27065. "type": "string"
  27066. },
  27067. "outratio": {
  27068. "description": "配置转出比值",
  27069. "type": "integer"
  27070. },
  27071. "outvalue": {
  27072. "description": "源值",
  27073. "type": "number"
  27074. },
  27075. "pddecimalplace": {
  27076. "description": "PD小数位",
  27077. "type": "integer"
  27078. },
  27079. "qty": {
  27080. "description": "数量",
  27081. "type": "string"
  27082. },
  27083. "remark": {
  27084. "description": "备注",
  27085. "type": "string"
  27086. },
  27087. "sessionid": {
  27088. "description": "会话ID",
  27089. "type": "integer"
  27090. },
  27091. "timemaxvalue": {
  27092. "description": "配置单次最大转入限制",
  27093. "type": "number"
  27094. },
  27095. "timemaxvalue2": {
  27096. "description": "配置单次最大转入限制(转入)",
  27097. "type": "number"
  27098. },
  27099. "timeminvalue": {
  27100. "description": "配置单次最小数量限制",
  27101. "type": "number"
  27102. },
  27103. "timeminvalue2": {
  27104. "description": "配置单次最小数量限制(转入)",
  27105. "type": "number"
  27106. },
  27107. "tradedate": {
  27108. "description": "交易日(yyyyMMdd)",
  27109. "type": "string"
  27110. },
  27111. "userid": {
  27112. "description": "用户ID",
  27113. "type": "integer"
  27114. }
  27115. }
  27116. },
  27117. "szdz.QueryGoodsPickupRsp": {
  27118. "type": "object",
  27119. "required": [
  27120. "takeorderid"
  27121. ],
  27122. "properties": {
  27123. "accountid": {
  27124. "description": "账户ID",
  27125. "type": "integer"
  27126. },
  27127. "address": {
  27128. "description": "提货人详细地址",
  27129. "type": "string"
  27130. },
  27131. "auditer": {
  27132. "description": "审核人",
  27133. "type": "integer"
  27134. },
  27135. "audittime": {
  27136. "description": "审核时间",
  27137. "type": "string"
  27138. },
  27139. "cardnum": {
  27140. "description": "提货人证件号码",
  27141. "type": "string"
  27142. },
  27143. "cardtypeid": {
  27144. "description": "提货人证件类型",
  27145. "type": "integer"
  27146. },
  27147. "checkremark": {
  27148. "description": "审核备注",
  27149. "type": "string"
  27150. },
  27151. "goodscode": {
  27152. "description": "商品代码",
  27153. "type": "string"
  27154. },
  27155. "goodsid": {
  27156. "description": "商品ID",
  27157. "type": "integer"
  27158. },
  27159. "goodsname": {
  27160. "description": "商品名称",
  27161. "type": "string"
  27162. },
  27163. "handlestatus": {
  27164. "description": "处理状态",
  27165. "type": "integer"
  27166. },
  27167. "marketid": {
  27168. "description": "市场ID",
  27169. "type": "integer"
  27170. },
  27171. "phonenum": {
  27172. "description": "提货人联系方式",
  27173. "type": "string"
  27174. },
  27175. "qty": {
  27176. "description": "提货数量",
  27177. "type": "number"
  27178. },
  27179. "recivername": {
  27180. "description": "提货人姓名",
  27181. "type": "string"
  27182. },
  27183. "reqtime": {
  27184. "description": "更新时间",
  27185. "type": "string"
  27186. },
  27187. "takemode": {
  27188. "description": "提货方式 - 2:自提 3:配送",
  27189. "type": "integer"
  27190. },
  27191. "takeorderid": {
  27192. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  27193. "type": "string"
  27194. },
  27195. "takeorderstatus": {
  27196. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  27197. "type": "integer"
  27198. },
  27199. "takeremark": {
  27200. "description": "提货备注",
  27201. "type": "string"
  27202. },
  27203. "tradedate": {
  27204. "description": "交易日(yyyyMMdd)",
  27205. "type": "string"
  27206. },
  27207. "userid": {
  27208. "description": "用户ID",
  27209. "type": "integer"
  27210. }
  27211. }
  27212. },
  27213. "szdz.QueryRecieptOrderRsp": {
  27214. "type": "object",
  27215. "required": [
  27216. "ordertime"
  27217. ],
  27218. "properties": {
  27219. "accountName": {
  27220. "description": "所属账号名称(已脱敏)",
  27221. "type": "string"
  27222. },
  27223. "accountid": {
  27224. "description": "资金账号",
  27225. "type": "integer"
  27226. },
  27227. "buyorsell": {
  27228. "description": "方向 - 0:买 1:卖",
  27229. "type": "integer"
  27230. },
  27231. "enableqty": {
  27232. "description": "可摘数量",
  27233. "type": "integer"
  27234. },
  27235. "goodscode": {
  27236. "description": "商品代码",
  27237. "type": "string"
  27238. },
  27239. "goodsid": {
  27240. "description": "商品ID",
  27241. "type": "integer"
  27242. },
  27243. "goodsname": {
  27244. "description": "商品名称",
  27245. "type": "string"
  27246. },
  27247. "orderid": {
  27248. "description": "委托单号",
  27249. "type": "string"
  27250. },
  27251. "orderprice": {
  27252. "description": "委托价格",
  27253. "type": "number"
  27254. },
  27255. "ordertime": {
  27256. "description": "委托时间",
  27257. "type": "string"
  27258. },
  27259. "tradedate": {
  27260. "description": "交易日(yyyyMMdd)",
  27261. "type": "string"
  27262. }
  27263. }
  27264. },
  27265. "szdz.QuerySZDZTradePositionRsp": {
  27266. "type": "object",
  27267. "properties": {
  27268. "accountid": {
  27269. "description": "账号Id",
  27270. "type": "integer"
  27271. },
  27272. "agreeunit": {
  27273. "description": "合约单位",
  27274. "type": "number"
  27275. },
  27276. "averageprice": {
  27277. "description": "持仓均价",
  27278. "type": "number"
  27279. },
  27280. "buyorsell": {
  27281. "description": "方向 - 0:买 1:卖",
  27282. "type": "integer"
  27283. },
  27284. "closetotalqty": {
  27285. "description": "平仓总数量",
  27286. "type": "integer"
  27287. },
  27288. "curholderamount": {
  27289. "description": "当前持仓总金额",
  27290. "type": "number"
  27291. },
  27292. "curpositionqty": {
  27293. "description": "当前持仓总数量",
  27294. "type": "integer"
  27295. },
  27296. "currencyid": {
  27297. "description": "报价货币ID",
  27298. "type": "integer"
  27299. },
  27300. "curtdposition": {
  27301. "description": "期末今日头寸",
  27302. "type": "integer"
  27303. },
  27304. "decimalplace": {
  27305. "description": "报价小数位",
  27306. "type": "integer"
  27307. },
  27308. "enableqty": {
  27309. "description": "可用量",
  27310. "type": "integer"
  27311. },
  27312. "fretdposition": {
  27313. "description": "冻结今日头寸",
  27314. "type": "integer"
  27315. },
  27316. "frozenqty": {
  27317. "description": "持仓冻结数量",
  27318. "type": "integer"
  27319. },
  27320. "goodscode": {
  27321. "description": "商品代码(内部)",
  27322. "type": "string"
  27323. },
  27324. "goodsid": {
  27325. "description": "商品Id",
  27326. "type": "integer"
  27327. },
  27328. "goodsname": {
  27329. "description": "商品名称",
  27330. "type": "string"
  27331. },
  27332. "goodunit": {
  27333. "description": "报价单位",
  27334. "type": "string"
  27335. },
  27336. "goodunitid": {
  27337. "description": "报价单位ID",
  27338. "type": "integer"
  27339. },
  27340. "holderamount": {
  27341. "description": "期初持仓总金额",
  27342. "type": "number"
  27343. },
  27344. "marketid": {
  27345. "description": "市场ID",
  27346. "type": "integer"
  27347. },
  27348. "openreqqty": {
  27349. "description": "开仓申请数量",
  27350. "type": "integer"
  27351. },
  27352. "opentotalqty": {
  27353. "description": "开仓总数量",
  27354. "type": "integer"
  27355. },
  27356. "otherfrozenqty": {
  27357. "description": "持仓其他冻结数量(交割冻结)",
  27358. "type": "integer"
  27359. },
  27360. "positionqty": {
  27361. "description": "期初持仓数量",
  27362. "type": "integer"
  27363. },
  27364. "szdz3freezqty": {
  27365. "description": "尚志大宗转换冻结总数量",
  27366. "type": "integer"
  27367. },
  27368. "tnqty": {
  27369. "description": "T+N冻结总量",
  27370. "type": "integer"
  27371. },
  27372. "tnusedqty": {
  27373. "description": "T+N使用量",
  27374. "type": "integer"
  27375. },
  27376. "trademode": {
  27377. "description": "交易模式",
  27378. "type": "integer"
  27379. },
  27380. "usedmargin": {
  27381. "description": "占用保证金",
  27382. "type": "number"
  27383. }
  27384. }
  27385. },
  27386. "taaccount.QueryAmountLogRsp": {
  27387. "type": "object",
  27388. "required": [
  27389. "accountid",
  27390. "amount",
  27391. "amountadjusttype",
  27392. "autoid",
  27393. "balance",
  27394. "createtime",
  27395. "currentbalance",
  27396. "operatetype"
  27397. ],
  27398. "properties": {
  27399. "OPERATETYPENAME": {
  27400. "description": "资金操作类型名称",
  27401. "type": "string"
  27402. },
  27403. "accountid": {
  27404. "description": "资金账户ID",
  27405. "type": "integer"
  27406. },
  27407. "agoodscode": {
  27408. "description": "竞拍商品代码",
  27409. "type": "string"
  27410. },
  27411. "agoodsname": {
  27412. "description": "竞拍商品名称",
  27413. "type": "string"
  27414. },
  27415. "amount": {
  27416. "description": "资金金额",
  27417. "type": "number"
  27418. },
  27419. "amountadjusttype": {
  27420. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  27421. "type": "integer"
  27422. },
  27423. "autoid": {
  27424. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  27425. "type": "integer"
  27426. },
  27427. "balance": {
  27428. "description": "期初余额",
  27429. "type": "number"
  27430. },
  27431. "businesscode": {
  27432. "description": "业务编号",
  27433. "type": "integer"
  27434. },
  27435. "createtime": {
  27436. "description": "发生时间",
  27437. "type": "string"
  27438. },
  27439. "currencyid": {
  27440. "description": "币种ID",
  27441. "type": "integer"
  27442. },
  27443. "currentbalance": {
  27444. "description": "期末余额(变动后金额)",
  27445. "type": "number"
  27446. },
  27447. "dgoodscode": {
  27448. "description": "交割商品代码",
  27449. "type": "string"
  27450. },
  27451. "dgoodsname": {
  27452. "description": "交割商品名称",
  27453. "type": "string"
  27454. },
  27455. "goodscode": {
  27456. "description": "商品代码",
  27457. "type": "string"
  27458. },
  27459. "goodsid": {
  27460. "description": "商品ID",
  27461. "type": "integer"
  27462. },
  27463. "goodsname": {
  27464. "description": "商品名称",
  27465. "type": "string"
  27466. },
  27467. "marketid": {
  27468. "description": "市场ID",
  27469. "type": "integer"
  27470. },
  27471. "marketname": {
  27472. "description": "市场名称",
  27473. "type": "string"
  27474. },
  27475. "moneyticket": {
  27476. "description": "资金流水号:银行端流水号",
  27477. "type": "integer"
  27478. },
  27479. "operatetype": {
  27480. "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:营销收款",
  27481. "type": "integer"
  27482. },
  27483. "relationorderid": {
  27484. "description": "关联单号",
  27485. "type": "string"
  27486. },
  27487. "remark": {
  27488. "description": "备注",
  27489. "type": "string"
  27490. },
  27491. "trademode": {
  27492. "description": "交易模式",
  27493. "type": "integer"
  27494. }
  27495. }
  27496. },
  27497. "taaccount.QueryHisAmountLogRsp": {
  27498. "type": "object",
  27499. "required": [
  27500. "accountid",
  27501. "amount",
  27502. "amountadjusttype",
  27503. "autoid",
  27504. "balance",
  27505. "createtime",
  27506. "currentbalance",
  27507. "histradedate",
  27508. "operatetype"
  27509. ],
  27510. "properties": {
  27511. "OPERATETYPENAME": {
  27512. "description": "资金操作类型名称",
  27513. "type": "string"
  27514. },
  27515. "accountid": {
  27516. "description": "资金账户ID",
  27517. "type": "integer"
  27518. },
  27519. "agoodscode": {
  27520. "description": "竞拍商品代码",
  27521. "type": "string"
  27522. },
  27523. "agoodsname": {
  27524. "description": "竞拍商品名称",
  27525. "type": "string"
  27526. },
  27527. "amount": {
  27528. "description": "资金金额",
  27529. "type": "number"
  27530. },
  27531. "amountadjusttype": {
  27532. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  27533. "type": "integer"
  27534. },
  27535. "autoid": {
  27536. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  27537. "type": "integer"
  27538. },
  27539. "balance": {
  27540. "description": "期初余额",
  27541. "type": "number"
  27542. },
  27543. "businesscode": {
  27544. "description": "业务编号",
  27545. "type": "integer"
  27546. },
  27547. "createtime": {
  27548. "description": "发生时间",
  27549. "type": "string"
  27550. },
  27551. "currencyid": {
  27552. "description": "币种ID",
  27553. "type": "integer"
  27554. },
  27555. "currentbalance": {
  27556. "description": "期末余额(变动后金额)",
  27557. "type": "number"
  27558. },
  27559. "dgoodscode": {
  27560. "description": "交割商品代码",
  27561. "type": "string"
  27562. },
  27563. "dgoodsname": {
  27564. "description": "交割商品名称",
  27565. "type": "string"
  27566. },
  27567. "goodscode": {
  27568. "description": "商品代码",
  27569. "type": "string"
  27570. },
  27571. "goodsid": {
  27572. "description": "商品ID",
  27573. "type": "integer"
  27574. },
  27575. "goodsname": {
  27576. "description": "商品名称",
  27577. "type": "string"
  27578. },
  27579. "histradedate": {
  27580. "description": "历史交易日",
  27581. "type": "string"
  27582. },
  27583. "isvaliddata": {
  27584. "description": "是否有效 - 0:无效 1:有效",
  27585. "type": "integer"
  27586. },
  27587. "marketid": {
  27588. "description": "市场ID",
  27589. "type": "integer"
  27590. },
  27591. "marketname": {
  27592. "description": "市场名称",
  27593. "type": "string"
  27594. },
  27595. "moneyticket": {
  27596. "description": "资金流水号:银行端流水号",
  27597. "type": "integer"
  27598. },
  27599. "operatetype": {
  27600. "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:营销收款",
  27601. "type": "integer"
  27602. },
  27603. "relationorderid": {
  27604. "description": "关联单号",
  27605. "type": "string"
  27606. },
  27607. "remark": {
  27608. "description": "备注",
  27609. "type": "string"
  27610. },
  27611. "trademode": {
  27612. "description": "交易模式",
  27613. "type": "integer"
  27614. }
  27615. }
  27616. },
  27617. "trade.QueryRecieptOrderRsp": {
  27618. "type": "object",
  27619. "required": [
  27620. "ordertime"
  27621. ],
  27622. "properties": {
  27623. "accountName": {
  27624. "description": "所属账号名称(已脱敏)",
  27625. "type": "string"
  27626. },
  27627. "accountid": {
  27628. "description": "资金账号",
  27629. "type": "integer"
  27630. },
  27631. "buyorsell": {
  27632. "description": "方向 - 0:买 1:卖",
  27633. "type": "integer"
  27634. },
  27635. "enableqty": {
  27636. "description": "可摘数量",
  27637. "type": "integer"
  27638. },
  27639. "goodscode": {
  27640. "description": "商品代码",
  27641. "type": "string"
  27642. },
  27643. "goodsid": {
  27644. "description": "商品ID",
  27645. "type": "integer"
  27646. },
  27647. "goodsname": {
  27648. "description": "商品名称",
  27649. "type": "string"
  27650. },
  27651. "orderid": {
  27652. "description": "委托单号",
  27653. "type": "string"
  27654. },
  27655. "orderprice": {
  27656. "description": "委托价格",
  27657. "type": "number"
  27658. },
  27659. "ordertime": {
  27660. "description": "委托时间",
  27661. "type": "string"
  27662. },
  27663. "tradedate": {
  27664. "description": "交易日(yyyyMMdd)",
  27665. "type": "string"
  27666. }
  27667. }
  27668. },
  27669. "user.LoginQueryRsp": {
  27670. "type": "object",
  27671. "properties": {
  27672. "areaRoles": {
  27673. "description": "所属角色信息",
  27674. "type": "array",
  27675. "items": {
  27676. "$ref": "#/definitions/models.Arearole"
  27677. }
  27678. },
  27679. "externalExchanges": {
  27680. "description": "外部交易所",
  27681. "type": "array",
  27682. "items": {
  27683. "$ref": "#/definitions/models.Externalexchange"
  27684. }
  27685. },
  27686. "goodsgroups": {
  27687. "description": "商品组",
  27688. "type": "array",
  27689. "items": {
  27690. "$ref": "#/definitions/models.Goodsgroup"
  27691. }
  27692. },
  27693. "loginAccount": {
  27694. "description": "登录账号",
  27695. "type": "object",
  27696. "$ref": "#/definitions/models.Loginaccount"
  27697. },
  27698. "markets": {
  27699. "description": "市场",
  27700. "type": "array",
  27701. "items": {
  27702. "$ref": "#/definitions/models.Market"
  27703. }
  27704. },
  27705. "systemParams": {
  27706. "description": "系统参数",
  27707. "type": "array",
  27708. "items": {
  27709. "$ref": "#/definitions/models.Systemparam"
  27710. }
  27711. },
  27712. "userAccount": {
  27713. "description": "用户账号",
  27714. "type": "object",
  27715. "$ref": "#/definitions/models.Useraccount"
  27716. },
  27717. "userInfo": {
  27718. "description": "用户信息",
  27719. "type": "object",
  27720. "$ref": "#/definitions/models.Userinfo"
  27721. },
  27722. "username": {
  27723. "description": "用户姓名",
  27724. "type": "string"
  27725. }
  27726. }
  27727. }
  27728. },
  27729. "securityDefinitions": {
  27730. "ApiKeyAuth": {
  27731. "type": "apiKey",
  27732. "name": "Authorization",
  27733. "in": "header"
  27734. }
  27735. }
  27736. }`
  27737. type swaggerInfo struct {
  27738. Version string
  27739. Host string
  27740. BasePath string
  27741. Schemes []string
  27742. Title string
  27743. Description string
  27744. }
  27745. // SwaggerInfo holds exported Swagger Info so clients can modify it
  27746. var SwaggerInfo = swaggerInfo{
  27747. Version: "1.0",
  27748. Host: "",
  27749. BasePath: "/api",
  27750. Schemes: []string{},
  27751. Title: "MTP2.0 查询服务 API",
  27752. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  27753. }
  27754. type s struct{}
  27755. func (s *s) ReadDoc() string {
  27756. sInfo := SwaggerInfo
  27757. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  27758. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  27759. "marshal": func(v interface{}) string {
  27760. a, _ := json.Marshal(v)
  27761. return string(a)
  27762. },
  27763. }).Parse(doc)
  27764. if err != nil {
  27765. return doc
  27766. }
  27767. var tpl bytes.Buffer
  27768. if err := t.Execute(&tpl, sInfo); err != nil {
  27769. return doc
  27770. }
  27771. return tpl.String()
  27772. }
  27773. func init() {
  27774. swag.Register(swag.Name, &s{})
  27775. }