docs.go 1023 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401
  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": "integer",
  7070. "description": "用户ID",
  7071. "name": "userid",
  7072. "in": "query",
  7073. "required": true
  7074. },
  7075. {
  7076. "type": "string",
  7077. "description": "申请起始日期(格式yyyymmdd)",
  7078. "name": "begindate",
  7079. "in": "query"
  7080. },
  7081. {
  7082. "type": "string",
  7083. "description": "申请截止日期(格式yyyymmdd)",
  7084. "name": "enddate",
  7085. "in": "query"
  7086. },
  7087. {
  7088. "type": "string",
  7089. "description": "模糊搜索名称",
  7090. "name": "likename",
  7091. "in": "query"
  7092. }
  7093. ],
  7094. "responses": {
  7095. "200": {
  7096. "description": "OK",
  7097. "schema": {
  7098. "type": "array",
  7099. "items": {
  7100. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7101. }
  7102. }
  7103. },
  7104. "500": {
  7105. "description": "Internal Server Error",
  7106. "schema": {
  7107. "$ref": "#/definitions/app.Response"
  7108. }
  7109. }
  7110. }
  7111. }
  7112. },
  7113. "/Qhj/QueryBankAccountSign": {
  7114. "get": {
  7115. "security": [
  7116. {
  7117. "ApiKeyAuth": []
  7118. }
  7119. ],
  7120. "produces": [
  7121. "application/json"
  7122. ],
  7123. "tags": [
  7124. "大连千海金"
  7125. ],
  7126. "summary": "查询签约银行信息(提现账户管理)",
  7127. "parameters": [
  7128. {
  7129. "type": "integer",
  7130. "description": "用户ID",
  7131. "name": "userid",
  7132. "in": "query",
  7133. "required": true
  7134. }
  7135. ],
  7136. "responses": {
  7137. "200": {
  7138. "description": "OK",
  7139. "schema": {
  7140. "type": "array",
  7141. "items": {
  7142. "$ref": "#/definitions/models.QhjBankAccountSign"
  7143. }
  7144. }
  7145. },
  7146. "500": {
  7147. "description": "Internal Server Error",
  7148. "schema": {
  7149. "$ref": "#/definitions/app.Response"
  7150. }
  7151. }
  7152. }
  7153. }
  7154. },
  7155. "/Qhj/QueryBankInfo": {
  7156. "get": {
  7157. "security": [
  7158. {
  7159. "ApiKeyAuth": []
  7160. }
  7161. ],
  7162. "produces": [
  7163. "application/json"
  7164. ],
  7165. "tags": [
  7166. "大连千海金"
  7167. ],
  7168. "summary": "查询开户行",
  7169. "responses": {
  7170. "200": {
  7171. "description": "OK",
  7172. "schema": {
  7173. "type": "array",
  7174. "items": {
  7175. "$ref": "#/definitions/models.QhjBankInfo"
  7176. }
  7177. }
  7178. },
  7179. "500": {
  7180. "description": "Internal Server Error",
  7181. "schema": {
  7182. "$ref": "#/definitions/app.Response"
  7183. }
  7184. }
  7185. }
  7186. }
  7187. },
  7188. "/Qhj/QueryContract": {
  7189. "get": {
  7190. "security": [
  7191. {
  7192. "ApiKeyAuth": []
  7193. }
  7194. ],
  7195. "produces": [
  7196. "application/json"
  7197. ],
  7198. "tags": [
  7199. "大连千海金"
  7200. ],
  7201. "summary": "查询融资明细(合同)",
  7202. "parameters": [
  7203. {
  7204. "type": "integer",
  7205. "description": "用户ID",
  7206. "name": "userid",
  7207. "in": "query"
  7208. },
  7209. {
  7210. "type": "integer",
  7211. "description": "scf合同id",
  7212. "name": "scfcontractid",
  7213. "in": "query"
  7214. }
  7215. ],
  7216. "responses": {
  7217. "200": {
  7218. "description": "OK",
  7219. "schema": {
  7220. "type": "array",
  7221. "items": {
  7222. "$ref": "#/definitions/models.QhjContract"
  7223. }
  7224. }
  7225. },
  7226. "500": {
  7227. "description": "Internal Server Error",
  7228. "schema": {
  7229. "$ref": "#/definitions/app.Response"
  7230. }
  7231. }
  7232. }
  7233. }
  7234. },
  7235. "/Qhj/QueryContractLog": {
  7236. "get": {
  7237. "security": [
  7238. {
  7239. "ApiKeyAuth": []
  7240. }
  7241. ],
  7242. "produces": [
  7243. "application/json"
  7244. ],
  7245. "tags": [
  7246. "大连千海金"
  7247. ],
  7248. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7249. "parameters": [
  7250. {
  7251. "type": "integer",
  7252. "description": "scf合同id",
  7253. "name": "scfcontractid",
  7254. "in": "query",
  7255. "required": true
  7256. },
  7257. {
  7258. "type": "string",
  7259. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7260. "name": "amounttype",
  7261. "in": "query"
  7262. }
  7263. ],
  7264. "responses": {
  7265. "200": {
  7266. "description": "OK",
  7267. "schema": {
  7268. "type": "array",
  7269. "items": {
  7270. "$ref": "#/definitions/models.QhjContractLog"
  7271. }
  7272. }
  7273. },
  7274. "500": {
  7275. "description": "Internal Server Error",
  7276. "schema": {
  7277. "$ref": "#/definitions/app.Response"
  7278. }
  7279. }
  7280. }
  7281. }
  7282. },
  7283. "/Qhj/QueryCusBankSignBank": {
  7284. "get": {
  7285. "security": [
  7286. {
  7287. "ApiKeyAuth": []
  7288. }
  7289. ],
  7290. "produces": [
  7291. "application/json"
  7292. ],
  7293. "tags": [
  7294. "大连千海金"
  7295. ],
  7296. "summary": "查询托管银行",
  7297. "responses": {
  7298. "200": {
  7299. "description": "OK",
  7300. "schema": {
  7301. "type": "array",
  7302. "items": {
  7303. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7304. }
  7305. }
  7306. },
  7307. "500": {
  7308. "description": "Internal Server Error",
  7309. "schema": {
  7310. "$ref": "#/definitions/app.Response"
  7311. }
  7312. }
  7313. }
  7314. }
  7315. },
  7316. "/Qhj/QueryCustomerInfo": {
  7317. "get": {
  7318. "security": [
  7319. {
  7320. "ApiKeyAuth": []
  7321. }
  7322. ],
  7323. "produces": [
  7324. "application/json"
  7325. ],
  7326. "tags": [
  7327. "大连千海金"
  7328. ],
  7329. "summary": "查询客户资料",
  7330. "parameters": [
  7331. {
  7332. "type": "integer",
  7333. "description": "用户ID",
  7334. "name": "userid",
  7335. "in": "query",
  7336. "required": true
  7337. },
  7338. {
  7339. "type": "integer",
  7340. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7341. "name": "querytype",
  7342. "in": "query",
  7343. "required": true
  7344. },
  7345. {
  7346. "type": "integer",
  7347. "description": "客户类型 1-个人 2-企业",
  7348. "name": "userinfotype",
  7349. "in": "query"
  7350. },
  7351. {
  7352. "type": "string",
  7353. "description": "客户名称(模糊匹配)",
  7354. "name": "customername",
  7355. "in": "query"
  7356. },
  7357. {
  7358. "type": "string",
  7359. "description": "昵称(模糊匹配)",
  7360. "name": "nickname",
  7361. "in": "query"
  7362. },
  7363. {
  7364. "type": "integer",
  7365. "description": "是否包含子级 1-包含",
  7366. "name": "includesub",
  7367. "in": "query"
  7368. }
  7369. ],
  7370. "responses": {
  7371. "200": {
  7372. "description": "OK",
  7373. "schema": {
  7374. "type": "array",
  7375. "items": {
  7376. "$ref": "#/definitions/models.QhjCustomer"
  7377. }
  7378. }
  7379. },
  7380. "500": {
  7381. "description": "Internal Server Error",
  7382. "schema": {
  7383. "$ref": "#/definitions/app.Response"
  7384. }
  7385. }
  7386. }
  7387. }
  7388. },
  7389. "/Qhj/QueryGoodsEx": {
  7390. "get": {
  7391. "security": [
  7392. {
  7393. "ApiKeyAuth": []
  7394. }
  7395. ],
  7396. "produces": [
  7397. "application/json"
  7398. ],
  7399. "tags": [
  7400. "大连千海金"
  7401. ],
  7402. "summary": "交易商品扩展表",
  7403. "parameters": [
  7404. {
  7405. "type": "integer",
  7406. "description": "商品id",
  7407. "name": "goodsid",
  7408. "in": "query"
  7409. }
  7410. ],
  7411. "responses": {
  7412. "200": {
  7413. "description": "OK",
  7414. "schema": {
  7415. "type": "array",
  7416. "items": {
  7417. "$ref": "#/definitions/models.Qhjgoodsex"
  7418. }
  7419. }
  7420. },
  7421. "500": {
  7422. "description": "Internal Server Error",
  7423. "schema": {
  7424. "$ref": "#/definitions/app.Response"
  7425. }
  7426. }
  7427. }
  7428. }
  7429. },
  7430. "/Qhj/QueryParentAreaList": {
  7431. "get": {
  7432. "security": [
  7433. {
  7434. "ApiKeyAuth": []
  7435. }
  7436. ],
  7437. "produces": [
  7438. "application/json"
  7439. ],
  7440. "tags": [
  7441. "大连千海金"
  7442. ],
  7443. "summary": "查询所属机构列表",
  7444. "parameters": [
  7445. {
  7446. "type": "integer",
  7447. "description": "用户ID",
  7448. "name": "userid",
  7449. "in": "query",
  7450. "required": true
  7451. }
  7452. ],
  7453. "responses": {
  7454. "200": {
  7455. "description": "OK",
  7456. "schema": {
  7457. "type": "array",
  7458. "items": {
  7459. "$ref": "#/definitions/models.QhjParentAreaList"
  7460. }
  7461. }
  7462. },
  7463. "500": {
  7464. "description": "Internal Server Error",
  7465. "schema": {
  7466. "$ref": "#/definitions/app.Response"
  7467. }
  7468. }
  7469. }
  7470. }
  7471. },
  7472. "/Qhj/QueryPayOrder": {
  7473. "get": {
  7474. "security": [
  7475. {
  7476. "ApiKeyAuth": []
  7477. }
  7478. ],
  7479. "produces": [
  7480. "application/json"
  7481. ],
  7482. "tags": [
  7483. "大连千海金"
  7484. ],
  7485. "summary": "查询待付款单据",
  7486. "parameters": [
  7487. {
  7488. "type": "integer",
  7489. "description": "资金账号id",
  7490. "name": "accountid",
  7491. "in": "query",
  7492. "required": true
  7493. },
  7494. {
  7495. "type": "integer",
  7496. "description": "成交单号",
  7497. "name": "tradeid",
  7498. "in": "query"
  7499. },
  7500. {
  7501. "type": "integer",
  7502. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7503. "name": "payflag",
  7504. "in": "query"
  7505. }
  7506. ],
  7507. "responses": {
  7508. "200": {
  7509. "description": "OK",
  7510. "schema": {
  7511. "type": "array",
  7512. "items": {
  7513. "$ref": "#/definitions/models.QhjPayOrder"
  7514. }
  7515. }
  7516. },
  7517. "500": {
  7518. "description": "Internal Server Error",
  7519. "schema": {
  7520. "$ref": "#/definitions/app.Response"
  7521. }
  7522. }
  7523. }
  7524. }
  7525. },
  7526. "/Qhj/QueryPickArea": {
  7527. "get": {
  7528. "security": [
  7529. {
  7530. "ApiKeyAuth": []
  7531. }
  7532. ],
  7533. "produces": [
  7534. "application/json"
  7535. ],
  7536. "tags": [
  7537. "大连千海金"
  7538. ],
  7539. "summary": "查询提货门店",
  7540. "parameters": [
  7541. {
  7542. "type": "integer",
  7543. "description": "用户ID",
  7544. "name": "userid",
  7545. "in": "query"
  7546. }
  7547. ],
  7548. "responses": {
  7549. "200": {
  7550. "description": "OK",
  7551. "schema": {
  7552. "type": "array",
  7553. "items": {
  7554. "$ref": "#/definitions/models.QhjPickArea"
  7555. }
  7556. }
  7557. },
  7558. "500": {
  7559. "description": "Internal Server Error",
  7560. "schema": {
  7561. "$ref": "#/definitions/app.Response"
  7562. }
  7563. }
  7564. }
  7565. }
  7566. },
  7567. "/Qhj/QueryPickGoods": {
  7568. "get": {
  7569. "security": [
  7570. {
  7571. "ApiKeyAuth": []
  7572. }
  7573. ],
  7574. "produces": [
  7575. "application/json"
  7576. ],
  7577. "tags": [
  7578. "大连千海金"
  7579. ],
  7580. "summary": "查询提货商品",
  7581. "parameters": [
  7582. {
  7583. "type": "integer",
  7584. "description": "交易商品id",
  7585. "name": "goodsid",
  7586. "in": "query",
  7587. "required": true
  7588. },
  7589. {
  7590. "type": "string",
  7591. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7592. "name": "status",
  7593. "in": "query"
  7594. }
  7595. ],
  7596. "responses": {
  7597. "200": {
  7598. "description": "OK",
  7599. "schema": {
  7600. "type": "array",
  7601. "items": {
  7602. "$ref": "#/definitions/models.QhjPickGoods"
  7603. }
  7604. }
  7605. },
  7606. "500": {
  7607. "description": "Internal Server Error",
  7608. "schema": {
  7609. "$ref": "#/definitions/app.Response"
  7610. }
  7611. }
  7612. }
  7613. }
  7614. },
  7615. "/Qhj/QueryRSTriggerLog": {
  7616. "get": {
  7617. "security": [
  7618. {
  7619. "ApiKeyAuth": []
  7620. }
  7621. ],
  7622. "produces": [
  7623. "application/json"
  7624. ],
  7625. "tags": [
  7626. "大连千海金"
  7627. ],
  7628. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7629. "parameters": [
  7630. {
  7631. "type": "integer",
  7632. "description": "用户ID",
  7633. "name": "userid",
  7634. "in": "query"
  7635. },
  7636. {
  7637. "type": "integer",
  7638. "description": "定投策略id",
  7639. "name": "regularlystrategyid",
  7640. "in": "query"
  7641. }
  7642. ],
  7643. "responses": {
  7644. "200": {
  7645. "description": "OK",
  7646. "schema": {
  7647. "type": "array",
  7648. "items": {
  7649. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7650. }
  7651. }
  7652. },
  7653. "500": {
  7654. "description": "Internal Server Error",
  7655. "schema": {
  7656. "$ref": "#/definitions/app.Response"
  7657. }
  7658. }
  7659. }
  7660. }
  7661. },
  7662. "/Qhj/QueryRStrategy": {
  7663. "get": {
  7664. "security": [
  7665. {
  7666. "ApiKeyAuth": []
  7667. }
  7668. ],
  7669. "produces": [
  7670. "application/json"
  7671. ],
  7672. "tags": [
  7673. "大连千海金"
  7674. ],
  7675. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7676. "parameters": [
  7677. {
  7678. "type": "integer",
  7679. "description": "用户ID",
  7680. "name": "userid",
  7681. "in": "query"
  7682. },
  7683. {
  7684. "type": "string",
  7685. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7686. "name": "status",
  7687. "in": "query"
  7688. }
  7689. ],
  7690. "responses": {
  7691. "200": {
  7692. "description": "OK",
  7693. "schema": {
  7694. "type": "array",
  7695. "items": {
  7696. "$ref": "#/definitions/models.QhjRStrategy"
  7697. }
  7698. }
  7699. },
  7700. "500": {
  7701. "description": "Internal Server Error",
  7702. "schema": {
  7703. "$ref": "#/definitions/app.Response"
  7704. }
  7705. }
  7706. }
  7707. }
  7708. },
  7709. "/Qhj/QueryReckonPriceLog": {
  7710. "get": {
  7711. "security": [
  7712. {
  7713. "ApiKeyAuth": []
  7714. }
  7715. ],
  7716. "produces": [
  7717. "application/json"
  7718. ],
  7719. "tags": [
  7720. "大连千海金"
  7721. ],
  7722. "summary": "查询定投价(结算价)",
  7723. "parameters": [
  7724. {
  7725. "type": "integer",
  7726. "description": "商品ID",
  7727. "name": "goodsid",
  7728. "in": "query"
  7729. },
  7730. {
  7731. "type": "string",
  7732. "description": "交易日 格式(yyyymmdd)",
  7733. "name": "tradedate",
  7734. "in": "query"
  7735. }
  7736. ],
  7737. "responses": {
  7738. "200": {
  7739. "description": "OK",
  7740. "schema": {
  7741. "type": "array",
  7742. "items": {
  7743. "$ref": "#/definitions/models.QhjReckonPriceLog"
  7744. }
  7745. }
  7746. },
  7747. "500": {
  7748. "description": "Internal Server Error",
  7749. "schema": {
  7750. "$ref": "#/definitions/app.Response"
  7751. }
  7752. }
  7753. }
  7754. }
  7755. },
  7756. "/Qhj/QuerySiteColumnDetail": {
  7757. "get": {
  7758. "security": [
  7759. {
  7760. "ApiKeyAuth": []
  7761. }
  7762. ],
  7763. "produces": [
  7764. "application/json"
  7765. ],
  7766. "tags": [
  7767. "大连千海金"
  7768. ],
  7769. "summary": "查询资讯",
  7770. "parameters": [
  7771. {
  7772. "type": "integer",
  7773. "description": "用户ID",
  7774. "name": "userid",
  7775. "in": "query",
  7776. "required": true
  7777. }
  7778. ],
  7779. "responses": {
  7780. "200": {
  7781. "description": "OK",
  7782. "schema": {
  7783. "type": "array",
  7784. "items": {
  7785. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  7786. }
  7787. }
  7788. },
  7789. "500": {
  7790. "description": "Internal Server Error",
  7791. "schema": {
  7792. "$ref": "#/definitions/app.Response"
  7793. }
  7794. }
  7795. }
  7796. }
  7797. },
  7798. "/Qhj/QueryTradeGoodsPickup": {
  7799. "get": {
  7800. "security": [
  7801. {
  7802. "ApiKeyAuth": []
  7803. }
  7804. ],
  7805. "produces": [
  7806. "application/json"
  7807. ],
  7808. "tags": [
  7809. "大连千海金"
  7810. ],
  7811. "summary": "查询提货",
  7812. "parameters": [
  7813. {
  7814. "type": "integer",
  7815. "description": "用户ID",
  7816. "name": "userid",
  7817. "in": "query",
  7818. "required": true
  7819. },
  7820. {
  7821. "type": "integer",
  7822. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  7823. "name": "takeorderstatus",
  7824. "in": "query"
  7825. }
  7826. ],
  7827. "responses": {
  7828. "200": {
  7829. "description": "OK",
  7830. "schema": {
  7831. "type": "array",
  7832. "items": {
  7833. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7834. }
  7835. }
  7836. },
  7837. "500": {
  7838. "description": "Internal Server Error",
  7839. "schema": {
  7840. "$ref": "#/definitions/app.Response"
  7841. }
  7842. }
  7843. }
  7844. }
  7845. },
  7846. "/Qhj/QueryUserCollectConfig": {
  7847. "get": {
  7848. "security": [
  7849. {
  7850. "ApiKeyAuth": []
  7851. }
  7852. ],
  7853. "produces": [
  7854. "application/json"
  7855. ],
  7856. "tags": [
  7857. "大连千海金"
  7858. ],
  7859. "summary": "查询提现账户设置",
  7860. "parameters": [
  7861. {
  7862. "type": "integer",
  7863. "description": "用户ID",
  7864. "name": "userid",
  7865. "in": "query",
  7866. "required": true
  7867. }
  7868. ],
  7869. "responses": {
  7870. "200": {
  7871. "description": "OK",
  7872. "schema": {
  7873. "type": "array",
  7874. "items": {
  7875. "$ref": "#/definitions/models.UserCollectConfig"
  7876. }
  7877. }
  7878. },
  7879. "500": {
  7880. "description": "Internal Server Error",
  7881. "schema": {
  7882. "$ref": "#/definitions/app.Response"
  7883. }
  7884. }
  7885. }
  7886. }
  7887. },
  7888. "/Qhj/QueryUserReceiveInfo": {
  7889. "get": {
  7890. "security": [
  7891. {
  7892. "ApiKeyAuth": []
  7893. }
  7894. ],
  7895. "produces": [
  7896. "application/json"
  7897. ],
  7898. "tags": [
  7899. "大连千海金"
  7900. ],
  7901. "summary": "查询收货地址信息",
  7902. "parameters": [
  7903. {
  7904. "type": "integer",
  7905. "description": "用户ID",
  7906. "name": "userid",
  7907. "in": "query",
  7908. "required": true
  7909. }
  7910. ],
  7911. "responses": {
  7912. "200": {
  7913. "description": "OK",
  7914. "schema": {
  7915. "type": "array",
  7916. "items": {
  7917. "$ref": "#/definitions/models.UserReceiveInfo"
  7918. }
  7919. }
  7920. },
  7921. "500": {
  7922. "description": "Internal Server Error",
  7923. "schema": {
  7924. "$ref": "#/definitions/app.Response"
  7925. }
  7926. }
  7927. }
  7928. }
  7929. },
  7930. "/QhjMgr/QueryAccountInOutApply": {
  7931. "get": {
  7932. "security": [
  7933. {
  7934. "ApiKeyAuth": []
  7935. }
  7936. ],
  7937. "produces": [
  7938. "application/json"
  7939. ],
  7940. "tags": [
  7941. "大连千海金(PCWeb)"
  7942. ],
  7943. "summary": "查询充值提现",
  7944. "parameters": [
  7945. {
  7946. "type": "integer",
  7947. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  7948. "name": "querytype",
  7949. "in": "query",
  7950. "required": true
  7951. },
  7952. {
  7953. "type": "integer",
  7954. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  7955. "name": "applystatus",
  7956. "in": "query"
  7957. },
  7958. {
  7959. "type": "string",
  7960. "description": "申请起始日期(格式yyyymmdd)",
  7961. "name": "begindate",
  7962. "in": "query"
  7963. },
  7964. {
  7965. "type": "string",
  7966. "description": "申请截止日期(格式yyyymmdd)",
  7967. "name": "enddate",
  7968. "in": "query"
  7969. },
  7970. {
  7971. "type": "string",
  7972. "description": "模糊搜索名称",
  7973. "name": "likename",
  7974. "in": "query"
  7975. }
  7976. ],
  7977. "responses": {
  7978. "200": {
  7979. "description": "OK",
  7980. "schema": {
  7981. "type": "array",
  7982. "items": {
  7983. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7984. }
  7985. }
  7986. },
  7987. "500": {
  7988. "description": "Internal Server Error",
  7989. "schema": {
  7990. "$ref": "#/definitions/app.Response"
  7991. }
  7992. }
  7993. }
  7994. }
  7995. },
  7996. "/QhjMgr/QueryCustomerInfo": {
  7997. "get": {
  7998. "security": [
  7999. {
  8000. "ApiKeyAuth": []
  8001. }
  8002. ],
  8003. "produces": [
  8004. "application/json"
  8005. ],
  8006. "tags": [
  8007. "大连千海金(PCWeb)"
  8008. ],
  8009. "summary": "查询客户资料",
  8010. "parameters": [
  8011. {
  8012. "type": "integer",
  8013. "description": "用户ID",
  8014. "name": "userid",
  8015. "in": "query",
  8016. "required": true
  8017. },
  8018. {
  8019. "type": "integer",
  8020. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8021. "name": "querytype",
  8022. "in": "query",
  8023. "required": true
  8024. },
  8025. {
  8026. "type": "integer",
  8027. "description": "客户类型 1-个人 2-企业",
  8028. "name": "userinfotype",
  8029. "in": "query"
  8030. },
  8031. {
  8032. "type": "string",
  8033. "description": "客户名称(模糊匹配)",
  8034. "name": "customername",
  8035. "in": "query"
  8036. },
  8037. {
  8038. "type": "string",
  8039. "description": "昵称(模糊匹配)",
  8040. "name": "nickname",
  8041. "in": "query"
  8042. },
  8043. {
  8044. "type": "integer",
  8045. "description": "是否包含子级 1-包含",
  8046. "name": "includesub",
  8047. "in": "query"
  8048. }
  8049. ],
  8050. "responses": {
  8051. "200": {
  8052. "description": "OK",
  8053. "schema": {
  8054. "type": "array",
  8055. "items": {
  8056. "$ref": "#/definitions/models.QhjCustomer"
  8057. }
  8058. }
  8059. },
  8060. "500": {
  8061. "description": "Internal Server Error",
  8062. "schema": {
  8063. "$ref": "#/definitions/app.Response"
  8064. }
  8065. }
  8066. }
  8067. }
  8068. },
  8069. "/QhjMgr/QuerySubArea": {
  8070. "get": {
  8071. "security": [
  8072. {
  8073. "ApiKeyAuth": []
  8074. }
  8075. ],
  8076. "produces": [
  8077. "application/json"
  8078. ],
  8079. "tags": [
  8080. "大连千海金(PCWeb)"
  8081. ],
  8082. "summary": "查询子机构列表",
  8083. "parameters": [
  8084. {
  8085. "type": "integer",
  8086. "description": "用户ID",
  8087. "name": "userid",
  8088. "in": "query",
  8089. "required": true
  8090. }
  8091. ],
  8092. "responses": {
  8093. "200": {
  8094. "description": "OK",
  8095. "schema": {
  8096. "type": "array",
  8097. "items": {
  8098. "$ref": "#/definitions/models.QhjMgrSubArea"
  8099. }
  8100. }
  8101. },
  8102. "500": {
  8103. "description": "Internal Server Error",
  8104. "schema": {
  8105. "$ref": "#/definitions/app.Response"
  8106. }
  8107. }
  8108. }
  8109. }
  8110. },
  8111. "/QhjMgr/QueryTradeDetail": {
  8112. "get": {
  8113. "security": [
  8114. {
  8115. "ApiKeyAuth": []
  8116. }
  8117. ],
  8118. "produces": [
  8119. "application/json"
  8120. ],
  8121. "tags": [
  8122. "大连千海金(PCWeb)"
  8123. ],
  8124. "summary": "查询成交明细",
  8125. "parameters": [
  8126. {
  8127. "type": "integer",
  8128. "description": "用户ID",
  8129. "name": "userid",
  8130. "in": "query",
  8131. "required": true
  8132. },
  8133. {
  8134. "type": "integer",
  8135. "description": "用户类型 1-个人 2-企业",
  8136. "name": "userinfotype",
  8137. "in": "query"
  8138. },
  8139. {
  8140. "type": "integer",
  8141. "description": "交易模式",
  8142. "name": "trademode",
  8143. "in": "query"
  8144. },
  8145. {
  8146. "type": "integer",
  8147. "description": "商品id",
  8148. "name": "goodsid",
  8149. "in": "query"
  8150. },
  8151. {
  8152. "type": "string",
  8153. "description": "名称(模糊搜索账户)",
  8154. "name": "filtername",
  8155. "in": "query"
  8156. },
  8157. {
  8158. "type": "string",
  8159. "description": "开始交易日(yyyymmdd)",
  8160. "name": "begindate",
  8161. "in": "query"
  8162. },
  8163. {
  8164. "type": "string",
  8165. "description": "结束交易日(yyyymmdd)",
  8166. "name": "enddate",
  8167. "in": "query"
  8168. },
  8169. {
  8170. "type": "integer",
  8171. "description": "是否包含子级 1-包含",
  8172. "name": "includesub",
  8173. "in": "query"
  8174. }
  8175. ],
  8176. "responses": {
  8177. "200": {
  8178. "description": "OK",
  8179. "schema": {
  8180. "type": "array",
  8181. "items": {
  8182. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8183. }
  8184. }
  8185. },
  8186. "500": {
  8187. "description": "Internal Server Error",
  8188. "schema": {
  8189. "$ref": "#/definitions/app.Response"
  8190. }
  8191. }
  8192. }
  8193. }
  8194. },
  8195. "/QhjMgr/QueryTradeOrderDetail": {
  8196. "get": {
  8197. "security": [
  8198. {
  8199. "ApiKeyAuth": []
  8200. }
  8201. ],
  8202. "produces": [
  8203. "application/json"
  8204. ],
  8205. "tags": [
  8206. "大连千海金(PCWeb)"
  8207. ],
  8208. "summary": "查询委托明细",
  8209. "parameters": [
  8210. {
  8211. "type": "integer",
  8212. "description": "用户ID",
  8213. "name": "userid",
  8214. "in": "query",
  8215. "required": true
  8216. },
  8217. {
  8218. "type": "integer",
  8219. "description": "用户类型 1-个人 2-企业",
  8220. "name": "userinfotype",
  8221. "in": "query"
  8222. },
  8223. {
  8224. "type": "integer",
  8225. "description": "交易模式",
  8226. "name": "trademode",
  8227. "in": "query"
  8228. },
  8229. {
  8230. "type": "integer",
  8231. "description": "商品id",
  8232. "name": "goodsid",
  8233. "in": "query"
  8234. },
  8235. {
  8236. "type": "string",
  8237. "description": "名称(模糊搜索账户)",
  8238. "name": "filtername",
  8239. "in": "query"
  8240. },
  8241. {
  8242. "type": "string",
  8243. "description": "开始交易日(yyyymmdd)",
  8244. "name": "begindate",
  8245. "in": "query"
  8246. },
  8247. {
  8248. "type": "string",
  8249. "description": "结束交易日(yyyymmdd)",
  8250. "name": "enddate",
  8251. "in": "query"
  8252. },
  8253. {
  8254. "type": "integer",
  8255. "description": "是否包含子级 1-包含",
  8256. "name": "includesub",
  8257. "in": "query"
  8258. }
  8259. ],
  8260. "responses": {
  8261. "200": {
  8262. "description": "OK",
  8263. "schema": {
  8264. "type": "array",
  8265. "items": {
  8266. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8267. }
  8268. }
  8269. },
  8270. "500": {
  8271. "description": "Internal Server Error",
  8272. "schema": {
  8273. "$ref": "#/definitions/app.Response"
  8274. }
  8275. }
  8276. }
  8277. }
  8278. },
  8279. "/QhjMgr/QueryTradePayOrder": {
  8280. "get": {
  8281. "security": [
  8282. {
  8283. "ApiKeyAuth": []
  8284. }
  8285. ],
  8286. "produces": [
  8287. "application/json"
  8288. ],
  8289. "tags": [
  8290. "大连千海金(PCWeb)"
  8291. ],
  8292. "summary": "查询待付款单",
  8293. "parameters": [
  8294. {
  8295. "type": "integer",
  8296. "description": "用户ID",
  8297. "name": "userid",
  8298. "in": "query",
  8299. "required": true
  8300. },
  8301. {
  8302. "type": "string",
  8303. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8304. "name": "payflag",
  8305. "in": "query"
  8306. },
  8307. {
  8308. "type": "integer",
  8309. "description": "用户类型 1-个人 2-企业",
  8310. "name": "userinfotype",
  8311. "in": "query"
  8312. },
  8313. {
  8314. "type": "integer",
  8315. "description": "交易模式",
  8316. "name": "trademode",
  8317. "in": "query"
  8318. },
  8319. {
  8320. "type": "integer",
  8321. "description": "商品id",
  8322. "name": "goodsid",
  8323. "in": "query"
  8324. },
  8325. {
  8326. "type": "string",
  8327. "description": "名称(模糊搜索账户)",
  8328. "name": "filtername",
  8329. "in": "query"
  8330. },
  8331. {
  8332. "type": "string",
  8333. "description": "开始交易日(yyyymmdd)",
  8334. "name": "begindate",
  8335. "in": "query"
  8336. },
  8337. {
  8338. "type": "string",
  8339. "description": "结束交易日(yyyymmdd)",
  8340. "name": "enddate",
  8341. "in": "query"
  8342. },
  8343. {
  8344. "type": "integer",
  8345. "description": "是否包含子级 1-包含",
  8346. "name": "includesub",
  8347. "in": "query"
  8348. }
  8349. ],
  8350. "responses": {
  8351. "200": {
  8352. "description": "OK",
  8353. "schema": {
  8354. "type": "array",
  8355. "items": {
  8356. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  8357. }
  8358. }
  8359. },
  8360. "500": {
  8361. "description": "Internal Server Error",
  8362. "schema": {
  8363. "$ref": "#/definitions/app.Response"
  8364. }
  8365. }
  8366. }
  8367. }
  8368. },
  8369. "/QhjMgr/QueryTradePosition": {
  8370. "get": {
  8371. "security": [
  8372. {
  8373. "ApiKeyAuth": []
  8374. }
  8375. ],
  8376. "produces": [
  8377. "application/json"
  8378. ],
  8379. "tags": [
  8380. "大连千海金(PCWeb)"
  8381. ],
  8382. "summary": "查询持仓汇总",
  8383. "parameters": [
  8384. {
  8385. "type": "integer",
  8386. "description": "用户ID",
  8387. "name": "userid",
  8388. "in": "query",
  8389. "required": true
  8390. },
  8391. {
  8392. "type": "integer",
  8393. "description": "用户类型 1-个人 2-企业",
  8394. "name": "userinfotype",
  8395. "in": "query"
  8396. },
  8397. {
  8398. "type": "integer",
  8399. "description": "交易模式",
  8400. "name": "trademode",
  8401. "in": "query"
  8402. },
  8403. {
  8404. "type": "integer",
  8405. "description": "商品id",
  8406. "name": "goodsid",
  8407. "in": "query"
  8408. },
  8409. {
  8410. "type": "string",
  8411. "description": "名称(模糊搜索账户)",
  8412. "name": "filtername",
  8413. "in": "query"
  8414. },
  8415. {
  8416. "type": "integer",
  8417. "description": "是否包含子级 1-包含",
  8418. "name": "includesub",
  8419. "in": "query"
  8420. }
  8421. ],
  8422. "responses": {
  8423. "200": {
  8424. "description": "OK",
  8425. "schema": {
  8426. "type": "array",
  8427. "items": {
  8428. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  8429. }
  8430. }
  8431. },
  8432. "500": {
  8433. "description": "Internal Server Error",
  8434. "schema": {
  8435. "$ref": "#/definitions/app.Response"
  8436. }
  8437. }
  8438. }
  8439. }
  8440. },
  8441. "/Quote/QueryHistoryDatas": {
  8442. "get": {
  8443. "security": [
  8444. {
  8445. "ApiKeyAuth": []
  8446. }
  8447. ],
  8448. "produces": [
  8449. "application/json"
  8450. ],
  8451. "tags": [
  8452. "行情服务"
  8453. ],
  8454. "summary": "查询行情历史数据",
  8455. "parameters": [
  8456. {
  8457. "type": "integer",
  8458. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  8459. "name": "cycleType",
  8460. "in": "query",
  8461. "required": true
  8462. },
  8463. {
  8464. "type": "string",
  8465. "description": "商品代码",
  8466. "name": "goodsCode",
  8467. "in": "query",
  8468. "required": true
  8469. },
  8470. {
  8471. "type": "string",
  8472. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8473. "name": "startTime",
  8474. "in": "query"
  8475. },
  8476. {
  8477. "type": "string",
  8478. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8479. "name": "endTime",
  8480. "in": "query"
  8481. },
  8482. {
  8483. "type": "integer",
  8484. "description": "条数",
  8485. "name": "count",
  8486. "in": "query"
  8487. },
  8488. {
  8489. "type": "boolean",
  8490. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8491. "name": "isAsc",
  8492. "in": "query"
  8493. }
  8494. ],
  8495. "responses": {
  8496. "200": {
  8497. "description": "OK",
  8498. "schema": {
  8499. "$ref": "#/definitions/quote.HistoryData"
  8500. }
  8501. },
  8502. "500": {
  8503. "description": "Internal Server Error",
  8504. "schema": {
  8505. "$ref": "#/definitions/app.Response"
  8506. }
  8507. }
  8508. }
  8509. }
  8510. },
  8511. "/Quote/QueryHistoryTikDatas": {
  8512. "get": {
  8513. "security": [
  8514. {
  8515. "ApiKeyAuth": []
  8516. }
  8517. ],
  8518. "produces": [
  8519. "application/json"
  8520. ],
  8521. "tags": [
  8522. "行情服务"
  8523. ],
  8524. "summary": "查询行情Tik数据",
  8525. "parameters": [
  8526. {
  8527. "type": "string",
  8528. "description": "商品代码",
  8529. "name": "goodsCode",
  8530. "in": "query",
  8531. "required": true
  8532. },
  8533. {
  8534. "type": "string",
  8535. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8536. "name": "startTime",
  8537. "in": "query"
  8538. },
  8539. {
  8540. "type": "string",
  8541. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8542. "name": "endTime",
  8543. "in": "query"
  8544. },
  8545. {
  8546. "type": "integer",
  8547. "description": "条数",
  8548. "name": "count",
  8549. "in": "query"
  8550. },
  8551. {
  8552. "type": "boolean",
  8553. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8554. "name": "isAsc",
  8555. "in": "query"
  8556. }
  8557. ],
  8558. "responses": {
  8559. "200": {
  8560. "description": "OK",
  8561. "schema": {
  8562. "$ref": "#/definitions/quote.HistoryTikData"
  8563. }
  8564. },
  8565. "500": {
  8566. "description": "Internal Server Error",
  8567. "schema": {
  8568. "$ref": "#/definitions/app.Response"
  8569. }
  8570. }
  8571. }
  8572. }
  8573. },
  8574. "/Quote/QueryQuoteDay": {
  8575. "get": {
  8576. "security": [
  8577. {
  8578. "ApiKeyAuth": []
  8579. }
  8580. ],
  8581. "produces": [
  8582. "application/json"
  8583. ],
  8584. "tags": [
  8585. "行情服务"
  8586. ],
  8587. "summary": "获取商品盘面信息",
  8588. "parameters": [
  8589. {
  8590. "type": "string",
  8591. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  8592. "name": "goodsCodes",
  8593. "in": "query",
  8594. "required": true
  8595. }
  8596. ],
  8597. "responses": {
  8598. "200": {
  8599. "description": "OK",
  8600. "schema": {
  8601. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  8602. }
  8603. },
  8604. "500": {
  8605. "description": "Internal Server Error",
  8606. "schema": {
  8607. "$ref": "#/definitions/app.Response"
  8608. }
  8609. }
  8610. }
  8611. }
  8612. },
  8613. "/Quote/QueryTSData": {
  8614. "get": {
  8615. "security": [
  8616. {
  8617. "ApiKeyAuth": []
  8618. }
  8619. ],
  8620. "produces": [
  8621. "application/json"
  8622. ],
  8623. "tags": [
  8624. "行情服务"
  8625. ],
  8626. "summary": "分时图数据查询",
  8627. "parameters": [
  8628. {
  8629. "type": "string",
  8630. "description": "商品代码",
  8631. "name": "goodsCode",
  8632. "in": "query",
  8633. "required": true
  8634. }
  8635. ],
  8636. "responses": {
  8637. "200": {
  8638. "description": "OK",
  8639. "schema": {
  8640. "$ref": "#/definitions/quote.QueryTSDataRsp"
  8641. }
  8642. },
  8643. "500": {
  8644. "description": "Internal Server Error",
  8645. "schema": {
  8646. "$ref": "#/definitions/app.Response"
  8647. }
  8648. }
  8649. }
  8650. }
  8651. },
  8652. "/SZDZ/QueryConvertConfig": {
  8653. "get": {
  8654. "security": [
  8655. {
  8656. "ApiKeyAuth": []
  8657. }
  8658. ],
  8659. "produces": [
  8660. "application/json"
  8661. ],
  8662. "tags": [
  8663. "定制【尚志大宗】"
  8664. ],
  8665. "summary": "查询交易系统转换设置",
  8666. "parameters": [
  8667. {
  8668. "type": "integer",
  8669. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8670. "name": "convertType",
  8671. "in": "query"
  8672. },
  8673. {
  8674. "type": "string",
  8675. "description": "外部商品代码[JD\\PD]",
  8676. "name": "outerGoodsCode",
  8677. "in": "query"
  8678. },
  8679. {
  8680. "type": "string",
  8681. "description": "内部商品ID列表[交易],格式:1,2,3",
  8682. "name": "innerGoodsIDs",
  8683. "in": "query"
  8684. }
  8685. ],
  8686. "responses": {
  8687. "200": {
  8688. "description": "OK",
  8689. "schema": {
  8690. "$ref": "#/definitions/models.Szdz3convertconfig"
  8691. }
  8692. },
  8693. "500": {
  8694. "description": "Internal Server Error",
  8695. "schema": {
  8696. "$ref": "#/definitions/app.Response"
  8697. }
  8698. }
  8699. }
  8700. }
  8701. },
  8702. "/SZDZ/QueryConvertLog": {
  8703. "get": {
  8704. "security": [
  8705. {
  8706. "ApiKeyAuth": []
  8707. }
  8708. ],
  8709. "produces": [
  8710. "application/json"
  8711. ],
  8712. "tags": [
  8713. "定制【尚志大宗】"
  8714. ],
  8715. "summary": "交易系统转换流水查询",
  8716. "parameters": [
  8717. {
  8718. "type": "string",
  8719. "description": "资金账户 - 格式:1,2,3",
  8720. "name": "accountID",
  8721. "in": "query",
  8722. "required": true
  8723. },
  8724. {
  8725. "type": "string",
  8726. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8727. "name": "startDate",
  8728. "in": "query"
  8729. },
  8730. {
  8731. "type": "string",
  8732. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8733. "name": "endDate",
  8734. "in": "query"
  8735. }
  8736. ],
  8737. "responses": {
  8738. "200": {
  8739. "description": "OK",
  8740. "schema": {
  8741. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8742. }
  8743. },
  8744. "500": {
  8745. "description": "Internal Server Error",
  8746. "schema": {
  8747. "$ref": "#/definitions/app.Response"
  8748. }
  8749. }
  8750. }
  8751. }
  8752. },
  8753. "/SZDZ/QueryGoodsPickup": {
  8754. "get": {
  8755. "security": [
  8756. {
  8757. "ApiKeyAuth": []
  8758. }
  8759. ],
  8760. "produces": [
  8761. "application/json"
  8762. ],
  8763. "tags": [
  8764. "定制【尚志大宗】"
  8765. ],
  8766. "summary": "商品提货单查询",
  8767. "parameters": [
  8768. {
  8769. "type": "string",
  8770. "description": "资金账户 - 格式:1,2,3",
  8771. "name": "accountID",
  8772. "in": "query",
  8773. "required": true
  8774. },
  8775. {
  8776. "type": "integer",
  8777. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8778. "name": "takeOrderStatus",
  8779. "in": "query"
  8780. }
  8781. ],
  8782. "responses": {
  8783. "200": {
  8784. "description": "OK",
  8785. "schema": {
  8786. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8787. }
  8788. },
  8789. "500": {
  8790. "description": "Internal Server Error",
  8791. "schema": {
  8792. "$ref": "#/definitions/app.Response"
  8793. }
  8794. }
  8795. }
  8796. }
  8797. },
  8798. "/SZDZ/QueryRecieptOrder": {
  8799. "get": {
  8800. "security": [
  8801. {
  8802. "ApiKeyAuth": []
  8803. }
  8804. ],
  8805. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8806. "produces": [
  8807. "application/json"
  8808. ],
  8809. "tags": [
  8810. "定制【尚志大宗】"
  8811. ],
  8812. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8813. "parameters": [
  8814. {
  8815. "type": "integer",
  8816. "description": "页码",
  8817. "name": "page",
  8818. "in": "query"
  8819. },
  8820. {
  8821. "type": "integer",
  8822. "description": "每页条数",
  8823. "name": "pagesize",
  8824. "in": "query"
  8825. },
  8826. {
  8827. "type": "integer",
  8828. "description": "商品ID",
  8829. "name": "goodsID",
  8830. "in": "query",
  8831. "required": true
  8832. },
  8833. {
  8834. "type": "string",
  8835. "description": "所属账户名称",
  8836. "name": "accountName",
  8837. "in": "query"
  8838. },
  8839. {
  8840. "type": "integer",
  8841. "description": "市场ID",
  8842. "name": "marketID",
  8843. "in": "query"
  8844. },
  8845. {
  8846. "type": "integer",
  8847. "description": "方向 - 0:买 1:卖",
  8848. "name": "buyorsell",
  8849. "in": "query",
  8850. "required": true
  8851. }
  8852. ],
  8853. "responses": {
  8854. "200": {
  8855. "description": "OK",
  8856. "schema": {
  8857. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8858. }
  8859. },
  8860. "500": {
  8861. "description": "Internal Server Error",
  8862. "schema": {
  8863. "$ref": "#/definitions/app.Response"
  8864. }
  8865. }
  8866. }
  8867. }
  8868. },
  8869. "/SZDZ/QuerySZDZTradePosition": {
  8870. "get": {
  8871. "security": [
  8872. {
  8873. "ApiKeyAuth": []
  8874. }
  8875. ],
  8876. "produces": [
  8877. "application/json"
  8878. ],
  8879. "tags": [
  8880. "定制【尚志大宗】"
  8881. ],
  8882. "summary": "持仓汇总查询(尚志大宗)",
  8883. "parameters": [
  8884. {
  8885. "type": "integer",
  8886. "description": "资金账户",
  8887. "name": "accountID",
  8888. "in": "query",
  8889. "required": true
  8890. }
  8891. ],
  8892. "responses": {
  8893. "200": {
  8894. "description": "OK",
  8895. "schema": {
  8896. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8897. }
  8898. },
  8899. "500": {
  8900. "description": "Internal Server Error",
  8901. "schema": {
  8902. "$ref": "#/definitions/app.Response"
  8903. }
  8904. }
  8905. }
  8906. }
  8907. },
  8908. "/SZDZ/SearchWhite": {
  8909. "get": {
  8910. "security": [
  8911. {
  8912. "ApiKeyAuth": []
  8913. }
  8914. ],
  8915. "produces": [
  8916. "application/json"
  8917. ],
  8918. "tags": [
  8919. "定制【尚志大宗】"
  8920. ],
  8921. "summary": "搜索白名单",
  8922. "parameters": [
  8923. {
  8924. "type": "integer",
  8925. "description": "用户ID",
  8926. "name": "userID",
  8927. "in": "query",
  8928. "required": true
  8929. }
  8930. ],
  8931. "responses": {
  8932. "200": {
  8933. "description": "OK",
  8934. "schema": {
  8935. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8936. }
  8937. },
  8938. "500": {
  8939. "description": "Internal Server Error",
  8940. "schema": {
  8941. "$ref": "#/definitions/app.Response"
  8942. }
  8943. }
  8944. }
  8945. }
  8946. },
  8947. "/Search/SearchGoodses": {
  8948. "get": {
  8949. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8950. "produces": [
  8951. "application/json"
  8952. ],
  8953. "tags": [
  8954. "检索服务"
  8955. ],
  8956. "summary": "检索商品信息",
  8957. "parameters": [
  8958. {
  8959. "type": "string",
  8960. "description": "检索内容",
  8961. "name": "content",
  8962. "in": "query",
  8963. "required": true
  8964. },
  8965. {
  8966. "type": "string",
  8967. "description": "交易模式,格式:1,2,3",
  8968. "name": "tradeModes",
  8969. "in": "query"
  8970. }
  8971. ],
  8972. "responses": {
  8973. "200": {
  8974. "description": "OK",
  8975. "schema": {
  8976. "$ref": "#/definitions/models.SearchGoods"
  8977. }
  8978. },
  8979. "500": {
  8980. "description": "Internal Server Error",
  8981. "schema": {
  8982. "$ref": "#/definitions/app.Response"
  8983. }
  8984. }
  8985. }
  8986. }
  8987. },
  8988. "/TaAccount/GetTaAccounts": {
  8989. "get": {
  8990. "security": [
  8991. {
  8992. "ApiKeyAuth": []
  8993. }
  8994. ],
  8995. "produces": [
  8996. "application/json"
  8997. ],
  8998. "tags": [
  8999. "资金账户"
  9000. ],
  9001. "summary": "获取资金账户信息",
  9002. "parameters": [
  9003. {
  9004. "type": "integer",
  9005. "description": "登录账户",
  9006. "name": "loginID",
  9007. "in": "query",
  9008. "required": true
  9009. },
  9010. {
  9011. "type": "integer",
  9012. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  9013. "name": "taAccountType",
  9014. "in": "query"
  9015. }
  9016. ],
  9017. "responses": {
  9018. "200": {
  9019. "description": "OK",
  9020. "schema": {
  9021. "$ref": "#/definitions/models.Taaccount"
  9022. }
  9023. },
  9024. "500": {
  9025. "description": "Internal Server Error",
  9026. "schema": {
  9027. "$ref": "#/definitions/app.Response"
  9028. }
  9029. }
  9030. }
  9031. }
  9032. },
  9033. "/TaAccount/QueryAmountLog": {
  9034. "get": {
  9035. "security": [
  9036. {
  9037. "ApiKeyAuth": []
  9038. }
  9039. ],
  9040. "produces": [
  9041. "application/json"
  9042. ],
  9043. "tags": [
  9044. "资金账户"
  9045. ],
  9046. "summary": "资金流水查询(当前)",
  9047. "parameters": [
  9048. {
  9049. "type": "integer",
  9050. "description": "页码",
  9051. "name": "page",
  9052. "in": "query"
  9053. },
  9054. {
  9055. "type": "integer",
  9056. "description": "每页条数",
  9057. "name": "pagesize",
  9058. "in": "query"
  9059. },
  9060. {
  9061. "type": "string",
  9062. "description": "资金账户 - 格式:1,2,3",
  9063. "name": "accountID",
  9064. "in": "query",
  9065. "required": true
  9066. },
  9067. {
  9068. "type": "string",
  9069. "description": "资金操作类型 - 格式:1,2,3",
  9070. "name": "OperateType",
  9071. "in": "query"
  9072. }
  9073. ],
  9074. "responses": {
  9075. "200": {
  9076. "description": "OK",
  9077. "schema": {
  9078. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  9079. }
  9080. },
  9081. "500": {
  9082. "description": "Internal Server Error",
  9083. "schema": {
  9084. "$ref": "#/definitions/app.Response"
  9085. }
  9086. }
  9087. }
  9088. }
  9089. },
  9090. "/TaAccount/QueryHisAmountLog": {
  9091. "get": {
  9092. "security": [
  9093. {
  9094. "ApiKeyAuth": []
  9095. }
  9096. ],
  9097. "produces": [
  9098. "application/json"
  9099. ],
  9100. "tags": [
  9101. "资金账户"
  9102. ],
  9103. "summary": "资金流水查询(历史)",
  9104. "parameters": [
  9105. {
  9106. "type": "integer",
  9107. "description": "页码",
  9108. "name": "page",
  9109. "in": "query"
  9110. },
  9111. {
  9112. "type": "integer",
  9113. "description": "每页条数",
  9114. "name": "pagesize",
  9115. "in": "query"
  9116. },
  9117. {
  9118. "type": "string",
  9119. "description": "资金账户 - 格式:1,2,3",
  9120. "name": "accountID",
  9121. "in": "query",
  9122. "required": true
  9123. },
  9124. {
  9125. "type": "string",
  9126. "description": "资金操作类型 - 格式:1,2,3",
  9127. "name": "OperateType",
  9128. "in": "query"
  9129. },
  9130. {
  9131. "type": "string",
  9132. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9133. "name": "startDate",
  9134. "in": "query"
  9135. },
  9136. {
  9137. "type": "string",
  9138. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9139. "name": "endDate",
  9140. "in": "query"
  9141. }
  9142. ],
  9143. "responses": {
  9144. "200": {
  9145. "description": "OK",
  9146. "schema": {
  9147. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  9148. }
  9149. },
  9150. "500": {
  9151. "description": "Internal Server Error",
  9152. "schema": {
  9153. "$ref": "#/definitions/app.Response"
  9154. }
  9155. }
  9156. }
  9157. }
  9158. },
  9159. "/Trade/QueryRecieptOrder": {
  9160. "get": {
  9161. "security": [
  9162. {
  9163. "ApiKeyAuth": []
  9164. }
  9165. ],
  9166. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9167. "produces": [
  9168. "application/json"
  9169. ],
  9170. "tags": [
  9171. "通用交易"
  9172. ],
  9173. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  9174. "parameters": [
  9175. {
  9176. "type": "integer",
  9177. "description": "页码",
  9178. "name": "page",
  9179. "in": "query"
  9180. },
  9181. {
  9182. "type": "integer",
  9183. "description": "每页条数",
  9184. "name": "pagesize",
  9185. "in": "query"
  9186. },
  9187. {
  9188. "type": "integer",
  9189. "description": "商品ID",
  9190. "name": "goodsID",
  9191. "in": "query",
  9192. "required": true
  9193. },
  9194. {
  9195. "type": "string",
  9196. "description": "所属账户名称",
  9197. "name": "accountName",
  9198. "in": "query"
  9199. },
  9200. {
  9201. "type": "integer",
  9202. "description": "市场ID",
  9203. "name": "marketID",
  9204. "in": "query"
  9205. },
  9206. {
  9207. "type": "integer",
  9208. "description": "方向 - 0:买 1:卖",
  9209. "name": "buyorsell",
  9210. "in": "query",
  9211. "required": true
  9212. }
  9213. ],
  9214. "responses": {
  9215. "200": {
  9216. "description": "OK",
  9217. "schema": {
  9218. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  9219. }
  9220. },
  9221. "500": {
  9222. "description": "Internal Server Error",
  9223. "schema": {
  9224. "$ref": "#/definitions/app.Response"
  9225. }
  9226. }
  9227. }
  9228. }
  9229. },
  9230. "/User/AddMessageBoard": {
  9231. "post": {
  9232. "security": [
  9233. {
  9234. "ApiKeyAuth": []
  9235. }
  9236. ],
  9237. "produces": [
  9238. "application/json"
  9239. ],
  9240. "tags": [
  9241. "用户信息"
  9242. ],
  9243. "summary": "添加用户留言板信息",
  9244. "parameters": [
  9245. {
  9246. "type": "integer",
  9247. "description": "用户ID",
  9248. "name": "userID",
  9249. "in": "query",
  9250. "required": true
  9251. },
  9252. {
  9253. "type": "string",
  9254. "description": "留言信息",
  9255. "name": "message",
  9256. "in": "query",
  9257. "required": true
  9258. },
  9259. {
  9260. "type": "string",
  9261. "description": "联系电话",
  9262. "name": "contactNum",
  9263. "in": "query",
  9264. "required": true
  9265. }
  9266. ],
  9267. "responses": {
  9268. "200": {
  9269. "description": "OK",
  9270. "schema": {
  9271. "$ref": "#/definitions/app.Response"
  9272. }
  9273. },
  9274. "500": {
  9275. "description": "Internal Server Error",
  9276. "schema": {
  9277. "$ref": "#/definitions/app.Response"
  9278. }
  9279. }
  9280. }
  9281. }
  9282. },
  9283. "/User/AddUserFavoriteGoods": {
  9284. "post": {
  9285. "security": [
  9286. {
  9287. "ApiKeyAuth": []
  9288. }
  9289. ],
  9290. "produces": [
  9291. "application/json"
  9292. ],
  9293. "tags": [
  9294. "用户信息"
  9295. ],
  9296. "summary": "添加用户商品收藏信息",
  9297. "parameters": [
  9298. {
  9299. "type": "integer",
  9300. "description": "用户ID",
  9301. "name": "userID",
  9302. "in": "query",
  9303. "required": true
  9304. },
  9305. {
  9306. "type": "integer",
  9307. "description": "商品ID",
  9308. "name": "goodsID",
  9309. "in": "query",
  9310. "required": true
  9311. }
  9312. ],
  9313. "responses": {
  9314. "200": {
  9315. "description": "OK",
  9316. "schema": {
  9317. "$ref": "#/definitions/app.Response"
  9318. }
  9319. },
  9320. "500": {
  9321. "description": "Internal Server Error",
  9322. "schema": {
  9323. "$ref": "#/definitions/app.Response"
  9324. }
  9325. }
  9326. }
  9327. }
  9328. },
  9329. "/User/GetLoginID": {
  9330. "get": {
  9331. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  9332. "produces": [
  9333. "application/json"
  9334. ],
  9335. "tags": [
  9336. "用户信息"
  9337. ],
  9338. "summary": "获取登录ID",
  9339. "parameters": [
  9340. {
  9341. "type": "string",
  9342. "description": "登录代码",
  9343. "name": "username",
  9344. "in": "query",
  9345. "required": true
  9346. }
  9347. ],
  9348. "responses": {
  9349. "200": {
  9350. "description": "OK",
  9351. "schema": {
  9352. "$ref": "#/definitions/app.Response"
  9353. }
  9354. },
  9355. "500": {
  9356. "description": "Internal Server Error",
  9357. "schema": {
  9358. "$ref": "#/definitions/app.Response"
  9359. }
  9360. }
  9361. }
  9362. }
  9363. },
  9364. "/User/GetUserAccount": {
  9365. "get": {
  9366. "security": [
  9367. {
  9368. "ApiKeyAuth": []
  9369. }
  9370. ],
  9371. "produces": [
  9372. "application/json"
  9373. ],
  9374. "tags": [
  9375. "用户信息"
  9376. ],
  9377. "summary": "获取用户账号信息",
  9378. "parameters": [
  9379. {
  9380. "type": "integer",
  9381. "description": "用户ID",
  9382. "name": "userID",
  9383. "in": "query",
  9384. "required": true
  9385. }
  9386. ],
  9387. "responses": {
  9388. "200": {
  9389. "description": "OK",
  9390. "schema": {
  9391. "$ref": "#/definitions/models.Useraccount"
  9392. }
  9393. },
  9394. "500": {
  9395. "description": "Internal Server Error",
  9396. "schema": {
  9397. "$ref": "#/definitions/app.Response"
  9398. }
  9399. }
  9400. }
  9401. }
  9402. },
  9403. "/User/GetUserAuthStatus": {
  9404. "get": {
  9405. "security": [
  9406. {
  9407. "ApiKeyAuth": []
  9408. }
  9409. ],
  9410. "produces": [
  9411. "application/json"
  9412. ],
  9413. "tags": [
  9414. "用户信息"
  9415. ],
  9416. "summary": "获取用户实名认证状态",
  9417. "parameters": [
  9418. {
  9419. "type": "integer",
  9420. "description": "用户ID",
  9421. "name": "userID",
  9422. "in": "query",
  9423. "required": true
  9424. }
  9425. ],
  9426. "responses": {
  9427. "200": {
  9428. "description": "OK",
  9429. "schema": {
  9430. "$ref": "#/definitions/app.Response"
  9431. }
  9432. },
  9433. "500": {
  9434. "description": "Internal Server Error",
  9435. "schema": {
  9436. "$ref": "#/definitions/app.Response"
  9437. }
  9438. }
  9439. }
  9440. }
  9441. },
  9442. "/User/LoginQuery": {
  9443. "get": {
  9444. "security": [
  9445. {
  9446. "ApiKeyAuth": []
  9447. }
  9448. ],
  9449. "produces": [
  9450. "application/json"
  9451. ],
  9452. "tags": [
  9453. "用户信息"
  9454. ],
  9455. "summary": "账户登录后信息查询",
  9456. "parameters": [
  9457. {
  9458. "type": "integer",
  9459. "description": "登录账号",
  9460. "name": "loginID",
  9461. "in": "query",
  9462. "required": true
  9463. }
  9464. ],
  9465. "responses": {
  9466. "200": {
  9467. "description": "OK",
  9468. "schema": {
  9469. "$ref": "#/definitions/user.LoginQueryRsp"
  9470. }
  9471. },
  9472. "500": {
  9473. "description": "Internal Server Error",
  9474. "schema": {
  9475. "$ref": "#/definitions/app.Response"
  9476. }
  9477. }
  9478. }
  9479. }
  9480. },
  9481. "/User/QueryMessageBoard": {
  9482. "get": {
  9483. "security": [
  9484. {
  9485. "ApiKeyAuth": []
  9486. }
  9487. ],
  9488. "produces": [
  9489. "application/json"
  9490. ],
  9491. "tags": [
  9492. "用户信息"
  9493. ],
  9494. "summary": "获取用户留言板信息",
  9495. "parameters": [
  9496. {
  9497. "type": "integer",
  9498. "description": "用户ID",
  9499. "name": "userID",
  9500. "in": "query",
  9501. "required": true
  9502. }
  9503. ],
  9504. "responses": {
  9505. "200": {
  9506. "description": "OK",
  9507. "schema": {
  9508. "$ref": "#/definitions/models.Messageboard"
  9509. }
  9510. },
  9511. "500": {
  9512. "description": "Internal Server Error",
  9513. "schema": {
  9514. "$ref": "#/definitions/app.Response"
  9515. }
  9516. }
  9517. }
  9518. }
  9519. },
  9520. "/User/QueryUserFavoriteGoodses": {
  9521. "get": {
  9522. "security": [
  9523. {
  9524. "ApiKeyAuth": []
  9525. }
  9526. ],
  9527. "produces": [
  9528. "application/json"
  9529. ],
  9530. "tags": [
  9531. "用户信息"
  9532. ],
  9533. "summary": "获取用户商品收藏信息",
  9534. "parameters": [
  9535. {
  9536. "type": "integer",
  9537. "description": "用户ID",
  9538. "name": "userID",
  9539. "in": "query",
  9540. "required": true
  9541. }
  9542. ],
  9543. "responses": {
  9544. "200": {
  9545. "description": "OK",
  9546. "schema": {
  9547. "$ref": "#/definitions/models.Userfavoritegoods"
  9548. }
  9549. },
  9550. "500": {
  9551. "description": "Internal Server Error",
  9552. "schema": {
  9553. "$ref": "#/definitions/app.Response"
  9554. }
  9555. }
  9556. }
  9557. }
  9558. },
  9559. "/User/QueryUserInfo": {
  9560. "get": {
  9561. "security": [
  9562. {
  9563. "ApiKeyAuth": []
  9564. }
  9565. ],
  9566. "produces": [
  9567. "application/json"
  9568. ],
  9569. "tags": [
  9570. "用户信息"
  9571. ],
  9572. "summary": "获取用户信息",
  9573. "parameters": [
  9574. {
  9575. "type": "integer",
  9576. "description": "用户ID",
  9577. "name": "userID",
  9578. "in": "query",
  9579. "required": true
  9580. },
  9581. {
  9582. "type": "boolean",
  9583. "description": "是否解密",
  9584. "name": "isDecrypt",
  9585. "in": "query"
  9586. }
  9587. ],
  9588. "responses": {
  9589. "200": {
  9590. "description": "OK",
  9591. "schema": {
  9592. "$ref": "#/definitions/models.Userinfo"
  9593. }
  9594. },
  9595. "500": {
  9596. "description": "Internal Server Error",
  9597. "schema": {
  9598. "$ref": "#/definitions/app.Response"
  9599. }
  9600. }
  9601. }
  9602. }
  9603. },
  9604. "/User/QueryUserReferNum": {
  9605. "get": {
  9606. "produces": [
  9607. "application/json"
  9608. ],
  9609. "tags": [
  9610. "用户信息"
  9611. ],
  9612. "summary": "获取用户邀请码",
  9613. "parameters": [
  9614. {
  9615. "type": "integer",
  9616. "description": "用户ID",
  9617. "name": "userID",
  9618. "in": "query",
  9619. "required": true
  9620. }
  9621. ],
  9622. "responses": {
  9623. "200": {
  9624. "description": "OK",
  9625. "schema": {
  9626. "$ref": "#/definitions/app.Response"
  9627. }
  9628. },
  9629. "500": {
  9630. "description": "Internal Server Error",
  9631. "schema": {
  9632. "$ref": "#/definitions/app.Response"
  9633. }
  9634. }
  9635. }
  9636. }
  9637. },
  9638. "/User/RemoveUserFavoriteGoods": {
  9639. "post": {
  9640. "security": [
  9641. {
  9642. "ApiKeyAuth": []
  9643. }
  9644. ],
  9645. "produces": [
  9646. "application/json"
  9647. ],
  9648. "tags": [
  9649. "用户信息"
  9650. ],
  9651. "summary": "移除用户商品收藏信息",
  9652. "parameters": [
  9653. {
  9654. "type": "integer",
  9655. "description": "用户ID",
  9656. "name": "userID",
  9657. "in": "query",
  9658. "required": true
  9659. },
  9660. {
  9661. "type": "integer",
  9662. "description": "商品ID",
  9663. "name": "goodsID",
  9664. "in": "query",
  9665. "required": true
  9666. }
  9667. ],
  9668. "responses": {
  9669. "200": {
  9670. "description": "OK",
  9671. "schema": {
  9672. "$ref": "#/definitions/app.Response"
  9673. }
  9674. },
  9675. "500": {
  9676. "description": "Internal Server Error",
  9677. "schema": {
  9678. "$ref": "#/definitions/app.Response"
  9679. }
  9680. }
  9681. }
  9682. }
  9683. },
  9684. "/User/UpdateUserAccountStatus": {
  9685. "post": {
  9686. "security": [
  9687. {
  9688. "ApiKeyAuth": []
  9689. }
  9690. ],
  9691. "produces": [
  9692. "application/json"
  9693. ],
  9694. "tags": [
  9695. "用户信息"
  9696. ],
  9697. "summary": "更新用户状态",
  9698. "parameters": [
  9699. {
  9700. "type": "integer",
  9701. "description": "用户ID",
  9702. "name": "userID",
  9703. "in": "query",
  9704. "required": true
  9705. },
  9706. {
  9707. "type": "integer",
  9708. "description": "账户状态 - 4:正常 6:注销(停用)",
  9709. "name": "accountStatus",
  9710. "in": "query",
  9711. "required": true
  9712. }
  9713. ],
  9714. "responses": {
  9715. "200": {
  9716. "description": "OK",
  9717. "schema": {
  9718. "$ref": "#/definitions/app.Response"
  9719. }
  9720. },
  9721. "500": {
  9722. "description": "Internal Server Error",
  9723. "schema": {
  9724. "$ref": "#/definitions/app.Response"
  9725. }
  9726. }
  9727. }
  9728. }
  9729. },
  9730. "/WRTrade/GetAllDeliveryGoods": {
  9731. "get": {
  9732. "security": [
  9733. {
  9734. "ApiKeyAuth": []
  9735. },
  9736. {
  9737. "ApiKeyAuth": []
  9738. }
  9739. ],
  9740. "produces": [
  9741. "application/json",
  9742. "application/json"
  9743. ],
  9744. "tags": [
  9745. "仓单贸易",
  9746. "仓单贸易"
  9747. ],
  9748. "summary": "获取带仓单分类的种类信息",
  9749. "responses": {
  9750. "200": {
  9751. "description": "OK",
  9752. "schema": {
  9753. "$ref": "#/definitions/app.Response"
  9754. }
  9755. },
  9756. "500": {
  9757. "description": "Internal Server Error",
  9758. "schema": {
  9759. "$ref": "#/definitions/app.Response"
  9760. }
  9761. }
  9762. }
  9763. }
  9764. }
  9765. },
  9766. "definitions": {
  9767. "app.Response": {
  9768. "type": "object",
  9769. "properties": {
  9770. "code": {
  9771. "type": "integer"
  9772. },
  9773. "data": {
  9774. "type": "object"
  9775. },
  9776. "msg": {
  9777. "type": "string"
  9778. },
  9779. "page": {
  9780. "description": "页码",
  9781. "type": "integer"
  9782. },
  9783. "pagesize": {
  9784. "description": "每页条数",
  9785. "type": "integer"
  9786. },
  9787. "total": {
  9788. "description": "总条数",
  9789. "type": "integer"
  9790. }
  9791. }
  9792. },
  9793. "common.ClientMenu": {
  9794. "type": "object",
  9795. "properties": {
  9796. "children": {
  9797. "description": "子菜单列表",
  9798. "type": "array",
  9799. "items": {
  9800. "$ref": "#/definitions/common.ClientMenu"
  9801. }
  9802. },
  9803. "code": {
  9804. "description": "ID",
  9805. "type": "string"
  9806. },
  9807. "isshow": {
  9808. "description": "是否显示",
  9809. "type": "boolean"
  9810. },
  9811. "rulekey": {
  9812. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9813. "type": "string"
  9814. },
  9815. "sort": {
  9816. "description": "排序",
  9817. "type": "integer"
  9818. },
  9819. "title": {
  9820. "description": "标题",
  9821. "type": "string"
  9822. },
  9823. "type": {
  9824. "description": "类型,1:菜单 2:按钮",
  9825. "type": "integer"
  9826. }
  9827. }
  9828. },
  9829. "common.QueryImageConfigsRsp": {
  9830. "type": "object",
  9831. "required": [
  9832. "configid"
  9833. ],
  9834. "properties": {
  9835. "areauserid": {
  9836. "description": "所属机构ID",
  9837. "type": "integer"
  9838. },
  9839. "configid": {
  9840. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9841. "type": "integer"
  9842. },
  9843. "createdate": {
  9844. "description": "创建时间",
  9845. "type": "string"
  9846. },
  9847. "creatorid": {
  9848. "description": "创建人",
  9849. "type": "integer"
  9850. },
  9851. "imagepath": {
  9852. "description": "图片",
  9853. "type": "string"
  9854. },
  9855. "imagetype": {
  9856. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9857. "type": "integer"
  9858. },
  9859. "isshow": {
  9860. "description": "是否展示 - 0:不展示 1:展示",
  9861. "type": "integer"
  9862. },
  9863. "marketid": {
  9864. "description": "市场ID",
  9865. "type": "integer"
  9866. },
  9867. "modifierid": {
  9868. "description": "操作人",
  9869. "type": "integer"
  9870. },
  9871. "sort": {
  9872. "description": "排序",
  9873. "type": "integer"
  9874. },
  9875. "title": {
  9876. "description": "标题",
  9877. "type": "string"
  9878. },
  9879. "trademode": {
  9880. "description": "交易模式",
  9881. "type": "integer"
  9882. },
  9883. "updatedate": {
  9884. "description": "修改时间",
  9885. "type": "string"
  9886. },
  9887. "url": {
  9888. "description": "链接(地址或商品ID)",
  9889. "type": "string"
  9890. },
  9891. "urltype": {
  9892. "description": "链接类型 - 1:直接地址 2:商品ID",
  9893. "type": "integer"
  9894. }
  9895. }
  9896. },
  9897. "common.QueryNoticeRsp": {
  9898. "type": "object",
  9899. "required": [
  9900. "autoid"
  9901. ],
  9902. "properties": {
  9903. "auditoruserid": {
  9904. "description": "审核人",
  9905. "type": "integer"
  9906. },
  9907. "auditremark": {
  9908. "description": "审核备注",
  9909. "type": "string"
  9910. },
  9911. "audittime": {
  9912. "description": "审核日期",
  9913. "type": "string"
  9914. },
  9915. "autoid": {
  9916. "description": "自增ID",
  9917. "type": "integer"
  9918. },
  9919. "content": {
  9920. "description": "内容",
  9921. "type": "string"
  9922. },
  9923. "createtime": {
  9924. "description": "创建时间",
  9925. "type": "string"
  9926. },
  9927. "creatorid": {
  9928. "description": "建仓人",
  9929. "type": "integer"
  9930. },
  9931. "endtime": {
  9932. "description": "结束时间",
  9933. "type": "string"
  9934. },
  9935. "istop": {
  9936. "description": "是否置顶 - 0:不置顶 1:置顶",
  9937. "type": "integer"
  9938. },
  9939. "msgiconurl": {
  9940. "description": "消息图标Url",
  9941. "type": "string"
  9942. },
  9943. "msgtype": {
  9944. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9945. "type": "integer"
  9946. },
  9947. "publisher": {
  9948. "description": "消息发布者",
  9949. "type": "string"
  9950. },
  9951. "readed": {
  9952. "description": "是否已读",
  9953. "type": "boolean"
  9954. },
  9955. "scheduletime": {
  9956. "description": "计划发送时间",
  9957. "type": "string"
  9958. },
  9959. "sendtype": {
  9960. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9961. "type": "integer"
  9962. },
  9963. "sentstatus": {
  9964. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9965. "type": "integer"
  9966. },
  9967. "title": {
  9968. "description": "标题",
  9969. "type": "string"
  9970. },
  9971. "userid": {
  9972. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9973. "type": "integer"
  9974. }
  9975. }
  9976. },
  9977. "common.QueryProvincesAndCitiesRsp": {
  9978. "type": "object",
  9979. "properties": {
  9980. "cities": {
  9981. "description": "市",
  9982. "type": "array",
  9983. "items": {
  9984. "$ref": "#/definitions/models.Division"
  9985. }
  9986. },
  9987. "province": {
  9988. "description": "省",
  9989. "type": "object",
  9990. "$ref": "#/definitions/models.Division"
  9991. }
  9992. }
  9993. },
  9994. "common.QueryTableDefineRsp": {
  9995. "type": "object",
  9996. "required": [
  9997. "tablekey"
  9998. ],
  9999. "properties": {
  10000. "columns": {
  10001. "description": "列头信息数组",
  10002. "type": "array",
  10003. "items": {
  10004. "$ref": "#/definitions/models.Tablecolumnconfig"
  10005. }
  10006. },
  10007. "remark": {
  10008. "description": "Remark",
  10009. "type": "string"
  10010. },
  10011. "tabelmenu": {
  10012. "description": "列表菜单",
  10013. "type": "string"
  10014. },
  10015. "tablekey": {
  10016. "description": "列表Key",
  10017. "type": "string"
  10018. },
  10019. "tablename": {
  10020. "description": "列表名称",
  10021. "type": "string"
  10022. },
  10023. "tabletype": {
  10024. "description": "列表类型 - 1:管理端 2:终端",
  10025. "type": "integer"
  10026. }
  10027. }
  10028. },
  10029. "common.QueryTraderMenuRsp": {
  10030. "type": "object",
  10031. "properties": {
  10032. "OperationMenu": {
  10033. "description": "功能菜单",
  10034. "type": "array",
  10035. "items": {
  10036. "$ref": "#/definitions/models.OperationPrimaryMenu"
  10037. }
  10038. },
  10039. "QuoteMenu": {
  10040. "description": "报价牌分类菜单",
  10041. "type": "array",
  10042. "items": {
  10043. "$ref": "#/definitions/models.QuotePrimaryMenu"
  10044. }
  10045. }
  10046. }
  10047. },
  10048. "cptrade.Cptradepositioncancel": {
  10049. "type": "object",
  10050. "required": [
  10051. "cancelid"
  10052. ],
  10053. "properties": {
  10054. "accountid": {
  10055. "description": "申请人账户ID",
  10056. "type": "integer"
  10057. },
  10058. "applystatus": {
  10059. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10060. "type": "integer"
  10061. },
  10062. "applytime": {
  10063. "description": "申请时间",
  10064. "type": "string"
  10065. },
  10066. "cancelid": {
  10067. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  10068. "type": "integer"
  10069. },
  10070. "cancelqty": {
  10071. "description": "注销数量",
  10072. "type": "integer"
  10073. },
  10074. "createtime": {
  10075. "description": "创建时间",
  10076. "type": "string"
  10077. },
  10078. "creatorid": {
  10079. "description": "创建人ID",
  10080. "type": "integer"
  10081. },
  10082. "creatorname": {
  10083. "description": "创建人",
  10084. "type": "string"
  10085. },
  10086. "goodscode": {
  10087. "description": "订单商品代码",
  10088. "type": "string"
  10089. },
  10090. "goodsid": {
  10091. "description": "商品ID",
  10092. "type": "integer"
  10093. },
  10094. "goodsname": {
  10095. "description": "订单商品名称",
  10096. "type": "string"
  10097. },
  10098. "goodunit": {
  10099. "description": "报价单位",
  10100. "type": "string"
  10101. },
  10102. "handlestatus": {
  10103. "description": "处理状态",
  10104. "type": "integer"
  10105. },
  10106. "marketid": {
  10107. "description": "市场ID",
  10108. "type": "integer"
  10109. },
  10110. "marketname": {
  10111. "description": "市场名称",
  10112. "type": "string"
  10113. },
  10114. "tradedate": {
  10115. "description": "交易日(yyyyMMdd)",
  10116. "type": "string"
  10117. },
  10118. "userid": {
  10119. "description": "申请人ID",
  10120. "type": "integer"
  10121. }
  10122. }
  10123. },
  10124. "cptrade.Cptradepresaleapply": {
  10125. "type": "object",
  10126. "required": [
  10127. "applyid"
  10128. ],
  10129. "properties": {
  10130. "accountid": {
  10131. "description": "申请人账户ID",
  10132. "type": "integer"
  10133. },
  10134. "applyid": {
  10135. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  10136. "type": "integer"
  10137. },
  10138. "applyremark": {
  10139. "description": "申请备注",
  10140. "type": "string"
  10141. },
  10142. "applystatus": {
  10143. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10144. "type": "integer"
  10145. },
  10146. "applytime": {
  10147. "description": "申请时间",
  10148. "type": "string"
  10149. },
  10150. "attachmenturl": {
  10151. "description": "附件地址",
  10152. "type": "string"
  10153. },
  10154. "endtime": {
  10155. "description": "预售结束时间",
  10156. "type": "string"
  10157. },
  10158. "goodscode": {
  10159. "description": "商品代码",
  10160. "type": "string"
  10161. },
  10162. "goodsid": {
  10163. "description": "商品ID",
  10164. "type": "integer"
  10165. },
  10166. "goodsname": {
  10167. "description": "商品名称",
  10168. "type": "string"
  10169. },
  10170. "goodunit": {
  10171. "description": "报价单位",
  10172. "type": "string"
  10173. },
  10174. "handlestatus": {
  10175. "description": "处理状态",
  10176. "type": "integer"
  10177. },
  10178. "marketid": {
  10179. "description": "预售市场ID",
  10180. "type": "integer"
  10181. },
  10182. "marketname": {
  10183. "description": "预售市场名称",
  10184. "type": "string"
  10185. },
  10186. "presaleqty": {
  10187. "description": "预售数量",
  10188. "type": "integer"
  10189. },
  10190. "relatedgoodscode": {
  10191. "description": "关联交易合约代码",
  10192. "type": "string"
  10193. },
  10194. "relatedgoodsid": {
  10195. "description": "关联交易合约ID",
  10196. "type": "integer"
  10197. },
  10198. "relatedgoodsname": {
  10199. "description": "关联交易合约名称",
  10200. "type": "string"
  10201. },
  10202. "starttime": {
  10203. "description": "预售开始时间",
  10204. "type": "string"
  10205. },
  10206. "tradedate": {
  10207. "description": "交易日(yyyyMMdd)",
  10208. "type": "string"
  10209. },
  10210. "trademode": {
  10211. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  10212. "type": "integer"
  10213. },
  10214. "userid": {
  10215. "description": "申请人ID",
  10216. "type": "integer"
  10217. }
  10218. }
  10219. },
  10220. "cptrade.Cptradeusergoodsdata": {
  10221. "type": "object",
  10222. "required": [
  10223. "accountid",
  10224. "goodsid"
  10225. ],
  10226. "properties": {
  10227. "EnabledQty": {
  10228. "description": "可用量",
  10229. "type": "integer"
  10230. },
  10231. "GoodsCode": {
  10232. "description": "订单商品代码",
  10233. "type": "string"
  10234. },
  10235. "GoodsName": {
  10236. "description": "订单商品名称",
  10237. "type": "string"
  10238. },
  10239. "WRStandardCode": {
  10240. "description": "仓单标准代码",
  10241. "type": "string"
  10242. },
  10243. "WRStandardName": {
  10244. "description": "仓单标准名称",
  10245. "type": "string"
  10246. },
  10247. "accountid": {
  10248. "description": "账户ID",
  10249. "type": "integer"
  10250. },
  10251. "cancelqty": {
  10252. "description": "注销量",
  10253. "type": "integer"
  10254. },
  10255. "curpresaleqty": {
  10256. "description": "当前预售量",
  10257. "type": "integer"
  10258. },
  10259. "deliveryqty": {
  10260. "description": "交割量",
  10261. "type": "integer"
  10262. },
  10263. "freezeamount": {
  10264. "description": "冻结金额",
  10265. "type": "number"
  10266. },
  10267. "goodsid": {
  10268. "description": "商品ID",
  10269. "type": "integer"
  10270. },
  10271. "goodunit": {
  10272. "description": "报价单位",
  10273. "type": "string"
  10274. },
  10275. "hasspotfreeze": {
  10276. "description": "是否有现货冻结 - 0:否 1:有",
  10277. "type": "integer"
  10278. },
  10279. "inqty": {
  10280. "description": "转入量(总数量)",
  10281. "type": "integer"
  10282. },
  10283. "marketid": {
  10284. "description": "市场ID",
  10285. "type": "integer"
  10286. },
  10287. "presaledamount": {
  10288. "description": "已预售总金额",
  10289. "type": "integer"
  10290. },
  10291. "presaledqty": {
  10292. "description": "已预售量",
  10293. "type": "integer"
  10294. },
  10295. "userid": {
  10296. "description": "用户ID",
  10297. "type": "integer"
  10298. },
  10299. "wrstandardid": {
  10300. "description": "仓单标准ID",
  10301. "type": "integer"
  10302. }
  10303. }
  10304. },
  10305. "cptrade.QueryCPTradeMyBidRsp": {
  10306. "type": "object",
  10307. "required": [
  10308. "accountid",
  10309. "goodsid",
  10310. "marketid",
  10311. "orderid",
  10312. "orderqty",
  10313. "ordertime",
  10314. "tradeprice",
  10315. "tradeqty"
  10316. ],
  10317. "properties": {
  10318. "accountid": {
  10319. "description": "账户ID[报价币种]",
  10320. "type": "integer"
  10321. },
  10322. "goodsid": {
  10323. "description": "商品ID",
  10324. "type": "integer"
  10325. },
  10326. "goodunit": {
  10327. "description": "报价单位",
  10328. "type": "string"
  10329. },
  10330. "marketid": {
  10331. "description": "市场ID",
  10332. "type": "integer"
  10333. },
  10334. "orderid": {
  10335. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10336. "type": "integer"
  10337. },
  10338. "orderprice": {
  10339. "description": "委托价格",
  10340. "type": "number"
  10341. },
  10342. "orderqty": {
  10343. "description": "委托数量",
  10344. "type": "integer"
  10345. },
  10346. "ordertime": {
  10347. "description": "委托时间",
  10348. "type": "string"
  10349. },
  10350. "ordertotalprice": {
  10351. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  10352. "type": "number"
  10353. },
  10354. "ordertotalweight": {
  10355. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  10356. "type": "integer"
  10357. },
  10358. "totaltotalprice": {
  10359. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  10360. "type": "number"
  10361. },
  10362. "tradeprice": {
  10363. "description": "成交价格",
  10364. "type": "number"
  10365. },
  10366. "tradeqty": {
  10367. "description": "成交数量",
  10368. "type": "integer"
  10369. }
  10370. }
  10371. },
  10372. "cptrade.QueryCPTradeOrderDetailRsq": {
  10373. "type": "object",
  10374. "required": [
  10375. "accountid",
  10376. "buildtype",
  10377. "buyorsell",
  10378. "goodsid",
  10379. "marketid",
  10380. "memberuserid",
  10381. "operatetype",
  10382. "orderqty",
  10383. "ordertime",
  10384. "pricemode",
  10385. "strorderid",
  10386. "tradedate",
  10387. "validtype"
  10388. ],
  10389. "properties": {
  10390. "accountid": {
  10391. "description": "账户ID[报价币种]",
  10392. "type": "integer"
  10393. },
  10394. "buildtype": {
  10395. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10396. "type": "integer"
  10397. },
  10398. "buyorsell": {
  10399. "description": "买卖 - 0:买 1:卖",
  10400. "type": "integer"
  10401. },
  10402. "cancelorderid": {
  10403. "description": "撤单单号(撤单时填写)",
  10404. "type": "integer"
  10405. },
  10406. "cancelqty": {
  10407. "description": "撤单数量",
  10408. "type": "integer"
  10409. },
  10410. "clientordertime": {
  10411. "description": "客户端委托时间",
  10412. "type": "string"
  10413. },
  10414. "clientticket": {
  10415. "description": "客户端流水号",
  10416. "type": "string"
  10417. },
  10418. "clienttype": {
  10419. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10420. "type": "integer"
  10421. },
  10422. "closeexchagechargevalue": {
  10423. "description": "平仓交易所手续费设置值",
  10424. "type": "number"
  10425. },
  10426. "closefeealgorithm": {
  10427. "description": "平仓手续费收取方式 1:比率 2:固定",
  10428. "type": "integer"
  10429. },
  10430. "closefreezecharge": {
  10431. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10432. "type": "number"
  10433. },
  10434. "closememberchargevalue": {
  10435. "description": "平仓会员手续费设置值",
  10436. "type": "number"
  10437. },
  10438. "closeqty": {
  10439. "description": "平仓数量(先建后平操作 需要记录)",
  10440. "type": "integer"
  10441. },
  10442. "closetradeqty": {
  10443. "description": "平仓成交数量(先建后平操作,需要记录)",
  10444. "type": "integer"
  10445. },
  10446. "closeunfreezecharge": {
  10447. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10448. "type": "number"
  10449. },
  10450. "delistingtype": {
  10451. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10452. "type": "integer"
  10453. },
  10454. "freezecharge": {
  10455. "description": "冻结手续费",
  10456. "type": "number"
  10457. },
  10458. "freezemargin": {
  10459. "description": "冻结保证金(冻结交易金额)",
  10460. "type": "number"
  10461. },
  10462. "gcaccountid": {
  10463. "description": "账户ID[合约币种]",
  10464. "type": "integer"
  10465. },
  10466. "goodsid": {
  10467. "description": "商品ID",
  10468. "type": "integer"
  10469. },
  10470. "isconfirmexercise": {
  10471. "description": "是否确认行权- 0:否 1:是",
  10472. "type": "integer"
  10473. },
  10474. "ispreexercise": {
  10475. "description": "是否预申报- 0:否 1:是",
  10476. "type": "integer"
  10477. },
  10478. "listingselecttype": {
  10479. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10480. "type": "integer"
  10481. },
  10482. "marginalgorithm": {
  10483. "description": "保证金收取方式 1:比率 2:固定",
  10484. "type": "integer"
  10485. },
  10486. "marginvalue": {
  10487. "description": "即市保证金设置值",
  10488. "type": "number"
  10489. },
  10490. "marketid": {
  10491. "description": "市场ID",
  10492. "type": "integer"
  10493. },
  10494. "marketmaxsub": {
  10495. "description": "市价最大偏移范围",
  10496. "type": "number"
  10497. },
  10498. "memberuserid": {
  10499. "description": "所属会员UserID",
  10500. "type": "integer"
  10501. },
  10502. "openexchagechargevalue": {
  10503. "description": "建仓交易所手续费设置值",
  10504. "type": "number"
  10505. },
  10506. "openfeealgorithm": {
  10507. "description": "建仓手续费收取方式 1:比率 2:固定",
  10508. "type": "integer"
  10509. },
  10510. "openfreezecharge": {
  10511. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10512. "type": "number"
  10513. },
  10514. "openmemberchargevalue": {
  10515. "description": "建仓会员手续费设置值",
  10516. "type": "number"
  10517. },
  10518. "openqty": {
  10519. "description": "开仓数量(先建后平操作,需要记录)",
  10520. "type": "integer"
  10521. },
  10522. "opentradeqty": {
  10523. "description": "开仓成交数量(先建后平操作,需要记录)",
  10524. "type": "integer"
  10525. },
  10526. "openunfreezecharge": {
  10527. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10528. "type": "number"
  10529. },
  10530. "operatetype": {
  10531. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10532. "type": "integer"
  10533. },
  10534. "operatorid": {
  10535. "description": "登录账号(LoginID)",
  10536. "type": "integer"
  10537. },
  10538. "optiontype": {
  10539. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10540. "type": "integer"
  10541. },
  10542. "orderprice": {
  10543. "description": "委托价格",
  10544. "type": "number"
  10545. },
  10546. "orderqty": {
  10547. "description": "委托数量",
  10548. "type": "integer"
  10549. },
  10550. "ordersrc": {
  10551. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10552. "type": "integer"
  10553. },
  10554. "orderstatus": {
  10555. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10556. "type": "integer"
  10557. },
  10558. "ordertime": {
  10559. "description": "委托时间",
  10560. "type": "string"
  10561. },
  10562. "preexerciseprice": {
  10563. "description": "预申报价格",
  10564. "type": "number"
  10565. },
  10566. "premium": {
  10567. "description": "权利金",
  10568. "type": "number"
  10569. },
  10570. "preorderid": {
  10571. "description": "关联预埋单号(止盈止损单时填写)",
  10572. "type": "integer"
  10573. },
  10574. "pricemode": {
  10575. "description": "取价方式 - 1:市价 2: 限价",
  10576. "type": "integer"
  10577. },
  10578. "quoteid": {
  10579. "description": "报价单ID",
  10580. "type": "integer"
  10581. },
  10582. "relatedid": {
  10583. "description": "关联单号(交割单)",
  10584. "type": "integer"
  10585. },
  10586. "retcode": {
  10587. "description": "错误代码",
  10588. "type": "integer"
  10589. },
  10590. "sessionid": {
  10591. "description": "会话ID",
  10592. "type": "integer"
  10593. },
  10594. "strorderid": {
  10595. "description": "委托单号",
  10596. "type": "string"
  10597. },
  10598. "tradedate": {
  10599. "description": "交易日(yyyyMMdd)",
  10600. "type": "string"
  10601. },
  10602. "tradeproperty": {
  10603. "description": "交易属性",
  10604. "type": "integer"
  10605. },
  10606. "tradeqty": {
  10607. "description": "成交数量",
  10608. "type": "integer"
  10609. },
  10610. "unfreezecharge": {
  10611. "description": "解冻手续费",
  10612. "type": "number"
  10613. },
  10614. "unfreezemargin": {
  10615. "description": "解冻保证金",
  10616. "type": "number"
  10617. },
  10618. "updatetime": {
  10619. "description": "更新时间",
  10620. "type": "string"
  10621. },
  10622. "uuid": {
  10623. "description": "发起端唯一id",
  10624. "type": "string"
  10625. },
  10626. "validtime": {
  10627. "description": "有效期限",
  10628. "type": "string"
  10629. },
  10630. "validtype": {
  10631. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10632. "type": "integer"
  10633. },
  10634. "volumetype": {
  10635. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10636. "type": "integer"
  10637. }
  10638. }
  10639. },
  10640. "cptrade.QueryMyCPTradeGoodsRsp": {
  10641. "type": "object",
  10642. "required": [
  10643. "goodscode",
  10644. "goodsid",
  10645. "goodsname",
  10646. "marketid",
  10647. "relatedgoodscode",
  10648. "relatedgoodsname"
  10649. ],
  10650. "properties": {
  10651. "accountid": {
  10652. "description": "卖方账户ID",
  10653. "type": "integer"
  10654. },
  10655. "agreeunit": {
  10656. "description": "合约单位",
  10657. "type": "number"
  10658. },
  10659. "applyid": {
  10660. "description": "关联申请ID",
  10661. "type": "integer"
  10662. },
  10663. "attachmenturl": {
  10664. "description": "附件地址",
  10665. "type": "string"
  10666. },
  10667. "createtime": {
  10668. "description": "创建时间",
  10669. "type": "string"
  10670. },
  10671. "currencyid": {
  10672. "description": "报价货币ID",
  10673. "type": "integer"
  10674. },
  10675. "decimalplace": {
  10676. "description": "报价小数位",
  10677. "type": "integer"
  10678. },
  10679. "endtime": {
  10680. "description": "预售结束时间",
  10681. "type": "string"
  10682. },
  10683. "floorprice": {
  10684. "description": "底价[大宗式竞拍]",
  10685. "type": "number"
  10686. },
  10687. "goodscode": {
  10688. "description": "商品代码(预售)",
  10689. "type": "string"
  10690. },
  10691. "goodsdetail": {
  10692. "description": "详情[大宗]",
  10693. "type": "string"
  10694. },
  10695. "goodsid": {
  10696. "description": "商品ID(自增ID SEQ_GOODS)",
  10697. "type": "integer"
  10698. },
  10699. "goodsname": {
  10700. "description": "商品名称(预售)",
  10701. "type": "string"
  10702. },
  10703. "goodunit": {
  10704. "description": "报价单位",
  10705. "type": "string"
  10706. },
  10707. "goodunitid": {
  10708. "description": "报价单位ID",
  10709. "type": "integer"
  10710. },
  10711. "marketid": {
  10712. "description": "所属市场ID",
  10713. "type": "integer"
  10714. },
  10715. "marketname": {
  10716. "description": "预售市场名称",
  10717. "type": "string"
  10718. },
  10719. "presaledamount": {
  10720. "description": "已预售总金额(预售结束时更新)",
  10721. "type": "number"
  10722. },
  10723. "presaledqty": {
  10724. "description": "已预售量(预售结束时更新)",
  10725. "type": "integer"
  10726. },
  10727. "presalemode": {
  10728. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10729. "type": "integer"
  10730. },
  10731. "presaleqty": {
  10732. "description": "预售数量",
  10733. "type": "integer"
  10734. },
  10735. "refprice": {
  10736. "description": "参考价格[一口价]",
  10737. "type": "number"
  10738. },
  10739. "relatedgoodscode": {
  10740. "description": "商品代码(订单)",
  10741. "type": "string"
  10742. },
  10743. "relatedgoodsid": {
  10744. "description": "关联交易合约ID",
  10745. "type": "integer"
  10746. },
  10747. "relatedgoodsname": {
  10748. "description": "商品名称(订单)",
  10749. "type": "string"
  10750. },
  10751. "relatedmarketid": {
  10752. "description": "关联交易合约市场ID",
  10753. "type": "integer"
  10754. },
  10755. "sellstatus": {
  10756. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10757. "type": "integer"
  10758. },
  10759. "startprice": {
  10760. "description": "起拍价[大宗式竞拍]",
  10761. "type": "number"
  10762. },
  10763. "starttime": {
  10764. "description": "预售开始时间",
  10765. "type": "string"
  10766. },
  10767. "tradedate": {
  10768. "description": "交易日(yyyyMMdd)",
  10769. "type": "string"
  10770. },
  10771. "tradeprice": {
  10772. "description": "成交价[大宗]",
  10773. "type": "number"
  10774. },
  10775. "userid": {
  10776. "description": "卖方用户ID",
  10777. "type": "integer"
  10778. }
  10779. }
  10780. },
  10781. "cptrade.QueryPresaleGoodsExRsp": {
  10782. "type": "object",
  10783. "required": [
  10784. "goodsid"
  10785. ],
  10786. "properties": {
  10787. "attachmenturl": {
  10788. "description": "附件地址",
  10789. "type": "string"
  10790. },
  10791. "createtime": {
  10792. "description": "创建时间",
  10793. "type": "string"
  10794. },
  10795. "endtime": {
  10796. "description": "预售结束时间",
  10797. "type": "string"
  10798. },
  10799. "floorprice": {
  10800. "description": "底价[大宗式竞拍]",
  10801. "type": "number"
  10802. },
  10803. "goodsdetail": {
  10804. "description": "详情[大宗]",
  10805. "type": "string"
  10806. },
  10807. "goodsid": {
  10808. "description": "商品ID(预售)",
  10809. "type": "integer"
  10810. },
  10811. "goodunit": {
  10812. "description": "报价单位",
  10813. "type": "string"
  10814. },
  10815. "marketid": {
  10816. "description": "预售市场ID - 根据预售模式选择市场",
  10817. "type": "integer"
  10818. },
  10819. "presaledamount": {
  10820. "description": "已预售总金额(预售结束时更新)",
  10821. "type": "number"
  10822. },
  10823. "presaledqty": {
  10824. "description": "已预售量(预售结束时更新)",
  10825. "type": "integer"
  10826. },
  10827. "presalemode": {
  10828. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10829. "type": "integer"
  10830. },
  10831. "presaleqty": {
  10832. "description": "预售数量",
  10833. "type": "integer"
  10834. },
  10835. "refprice": {
  10836. "description": "参考价格[一口价]",
  10837. "type": "number"
  10838. },
  10839. "relatedgoodsid": {
  10840. "description": "关联交易合约ID",
  10841. "type": "integer"
  10842. },
  10843. "relatedmarketid": {
  10844. "description": "关联交易合约市场ID",
  10845. "type": "integer"
  10846. },
  10847. "sellstatus": {
  10848. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10849. "type": "integer"
  10850. },
  10851. "startprice": {
  10852. "description": "起拍价[大宗式竞拍]",
  10853. "type": "number"
  10854. },
  10855. "starttime": {
  10856. "description": "预售开始时间",
  10857. "type": "string"
  10858. },
  10859. "tradedate": {
  10860. "description": "交易日(yyyyMMdd)",
  10861. "type": "string"
  10862. },
  10863. "tradeprice": {
  10864. "description": "成交价[大宗]",
  10865. "type": "number"
  10866. }
  10867. }
  10868. },
  10869. "delivery.QueryDeliveryRelationRsp": {
  10870. "type": "object",
  10871. "required": [
  10872. "begindate",
  10873. "enddate",
  10874. "goodsid",
  10875. "mindeliveryqty",
  10876. "xdeliveryratio"
  10877. ],
  10878. "properties": {
  10879. "begindate": {
  10880. "description": "起始日期(yyyyMMdd)",
  10881. "type": "string"
  10882. },
  10883. "buytemplateid": {
  10884. "description": "买履约计划模板ID",
  10885. "type": "integer"
  10886. },
  10887. "deliverygoodscode": {
  10888. "description": "品种代码",
  10889. "type": "string"
  10890. },
  10891. "deliverygoodsid": {
  10892. "description": "交割商品",
  10893. "type": "integer"
  10894. },
  10895. "deliverygoodsname": {
  10896. "description": "品种名称",
  10897. "type": "string"
  10898. },
  10899. "deliverymode": {
  10900. "description": "交割方式 - 1:点选式 2:申报式",
  10901. "type": "integer"
  10902. },
  10903. "deliverypricerule": {
  10904. "description": "交割价规则- 1:行情价 2:建仓价",
  10905. "type": "integer"
  10906. },
  10907. "deliverytype": {
  10908. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10909. "type": "integer"
  10910. },
  10911. "enddate": {
  10912. "description": "结束日期(yyyyMMdd)",
  10913. "type": "string"
  10914. },
  10915. "goodscode": {
  10916. "description": "商品代码",
  10917. "type": "string"
  10918. },
  10919. "goodsid": {
  10920. "description": "交易合约ID",
  10921. "type": "integer"
  10922. },
  10923. "goodsname": {
  10924. "description": "商品名称",
  10925. "type": "string"
  10926. },
  10927. "marketid": {
  10928. "description": "市场ID",
  10929. "type": "integer"
  10930. },
  10931. "mindeliveryqty": {
  10932. "description": "最小交割系数(K)",
  10933. "type": "integer"
  10934. },
  10935. "p2deliveryprice": {
  10936. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10937. "type": "number"
  10938. },
  10939. "p2deliveryratio": {
  10940. "description": "P2合约系数(p)",
  10941. "type": "integer"
  10942. },
  10943. "p2goodsid": {
  10944. "description": "P2合约ID",
  10945. "type": "integer"
  10946. },
  10947. "p2pricemode": {
  10948. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10949. "type": "integer"
  10950. },
  10951. "pdeliveryprice": {
  10952. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10953. "type": "number"
  10954. },
  10955. "pdeliveryratio": {
  10956. "description": "P合约系数(n)",
  10957. "type": "integer"
  10958. },
  10959. "pgoodsid": {
  10960. "description": "P合约ID",
  10961. "type": "integer"
  10962. },
  10963. "ppricemode": {
  10964. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10965. "type": "integer"
  10966. },
  10967. "rratio": {
  10968. "description": "兑换系数(R)",
  10969. "type": "integer"
  10970. },
  10971. "rratio1": {
  10972. "description": "兑换系数(交易合约)(R1)",
  10973. "type": "integer"
  10974. },
  10975. "rratio2": {
  10976. "description": "兑换系数(仓单标准)(R2)",
  10977. "type": "integer"
  10978. },
  10979. "selltemplateid": {
  10980. "description": "卖履约计划模板ID",
  10981. "type": "integer"
  10982. },
  10983. "wrstandardid": {
  10984. "description": "仓单标准ID",
  10985. "type": "integer"
  10986. },
  10987. "xdeliveryratio": {
  10988. "description": "交易合约系数(m)",
  10989. "type": "integer"
  10990. }
  10991. }
  10992. },
  10993. "ermcp.ExposureDetailRsp": {
  10994. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  10995. },
  10996. "ermcp.ExposureHedgePosDetailRsp": {
  10997. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  10998. },
  10999. "ermcp.ExposureHedgePositionRsp": {
  11000. "$ref": "#/definitions/models.ErmcpHedgePosition"
  11001. },
  11002. "ermcp.ExposureSpotDetailRsp": {
  11003. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  11004. },
  11005. "ermcp.ExposureSpotRsp": {
  11006. "$ref": "#/definitions/models.AreaSpotModel"
  11007. },
  11008. "ermcp.HisExposureRsp": {
  11009. "$ref": "#/definitions/models.ErmcpHisExposureS"
  11010. },
  11011. "ermcp.PendingAuditCntRsp": {
  11012. "$ref": "#/definitions/models.ErmcpPendingAudit"
  11013. },
  11014. "ermcp.QryAvalidGPRsp": {
  11015. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  11016. },
  11017. "ermcp.QryBusinessDjRsp": {
  11018. "type": "object",
  11019. "properties": {
  11020. "amount": {
  11021. "description": "点价金额=(点价价格+升贴水)*点价数量",
  11022. "type": "number"
  11023. },
  11024. "applyid": {
  11025. "description": "申请人",
  11026. "type": "string"
  11027. },
  11028. "applyname": {
  11029. "description": "申请人名称",
  11030. "type": "string"
  11031. },
  11032. "applystatus": {
  11033. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11034. "type": "integer"
  11035. },
  11036. "applytime": {
  11037. "description": "申请时间",
  11038. "type": "string"
  11039. },
  11040. "attachurl": {
  11041. "description": "附件",
  11042. "type": "string"
  11043. },
  11044. "auditid": {
  11045. "description": "审核人ID",
  11046. "type": "string"
  11047. },
  11048. "auditname": {
  11049. "description": "审核人名称",
  11050. "type": "string"
  11051. },
  11052. "audittime": {
  11053. "description": "审核时间",
  11054. "type": "string"
  11055. },
  11056. "buyusername": {
  11057. "description": "采购方名称",
  11058. "type": "string"
  11059. },
  11060. "contractno": {
  11061. "description": "合同编号",
  11062. "type": "string"
  11063. },
  11064. "contractstatus": {
  11065. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11066. "type": "integer"
  11067. },
  11068. "contracttype": {
  11069. "description": "现货合同类型 - 1:采购 -1:销售",
  11070. "type": "integer"
  11071. },
  11072. "deliverygoodscode": {
  11073. "description": "现货品种代码",
  11074. "type": "string"
  11075. },
  11076. "deliverygoodsid": {
  11077. "description": "现货商品ID",
  11078. "type": "integer"
  11079. },
  11080. "deliverygoodsname": {
  11081. "description": "现货品种名称",
  11082. "type": "string"
  11083. },
  11084. "enumdicname": {
  11085. "description": "单位名称",
  11086. "type": "string"
  11087. },
  11088. "goodscode": {
  11089. "description": "点价合约",
  11090. "type": "string"
  11091. },
  11092. "goodsname": {
  11093. "description": "商品名称",
  11094. "type": "string"
  11095. },
  11096. "operateapplyid": {
  11097. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11098. "type": "string"
  11099. },
  11100. "operateapplytype": {
  11101. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11102. "type": "integer"
  11103. },
  11104. "pricedPrice": {
  11105. "description": "点价价格(非必填)",
  11106. "type": "number"
  11107. },
  11108. "pricedQty": {
  11109. "description": "点价数量(非必填)",
  11110. "type": "number"
  11111. },
  11112. "pricemove": {
  11113. "description": "升贴水",
  11114. "type": "number"
  11115. },
  11116. "pricetype": {
  11117. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11118. "type": "integer"
  11119. },
  11120. "relatedid": {
  11121. "description": "现货合同ID",
  11122. "type": "string"
  11123. },
  11124. "sellusername": {
  11125. "description": "销售方名字",
  11126. "type": "string"
  11127. },
  11128. "userid": {
  11129. "description": "用户ID",
  11130. "type": "integer"
  11131. },
  11132. "wrstandardcode": {
  11133. "description": "品类代码",
  11134. "type": "string"
  11135. },
  11136. "wrstandardid": {
  11137. "description": "品类id",
  11138. "type": "integer"
  11139. },
  11140. "wrstandardname": {
  11141. "description": "品类名称",
  11142. "type": "string"
  11143. }
  11144. }
  11145. },
  11146. "ermcp.QryBussinessFpRsp": {
  11147. "type": "object",
  11148. "properties": {
  11149. "applyid": {
  11150. "description": "申请人",
  11151. "type": "string"
  11152. },
  11153. "applyname": {
  11154. "description": "申请人名称",
  11155. "type": "string"
  11156. },
  11157. "applystatus": {
  11158. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11159. "type": "integer"
  11160. },
  11161. "applytime": {
  11162. "description": "申请时间",
  11163. "type": "string"
  11164. },
  11165. "attachurl": {
  11166. "description": "附件",
  11167. "type": "string"
  11168. },
  11169. "auditid": {
  11170. "description": "审核人ID",
  11171. "type": "string"
  11172. },
  11173. "auditname": {
  11174. "description": "审核人名称",
  11175. "type": "string"
  11176. },
  11177. "audittime": {
  11178. "description": "审核时间",
  11179. "type": "string"
  11180. },
  11181. "buyusername": {
  11182. "description": "采购方名称",
  11183. "type": "string"
  11184. },
  11185. "contractno": {
  11186. "description": "合同编号",
  11187. "type": "string"
  11188. },
  11189. "contractstatus": {
  11190. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11191. "type": "integer"
  11192. },
  11193. "contracttype": {
  11194. "description": "现货合同类型 - 1:采购 -1:销售",
  11195. "type": "integer"
  11196. },
  11197. "deliverygoodscode": {
  11198. "description": "现货品种代码",
  11199. "type": "string"
  11200. },
  11201. "deliverygoodsid": {
  11202. "description": "现货商品ID",
  11203. "type": "integer"
  11204. },
  11205. "deliverygoodsname": {
  11206. "description": "现货品种名称",
  11207. "type": "string"
  11208. },
  11209. "enumdicname": {
  11210. "description": "单位名称",
  11211. "type": "string"
  11212. },
  11213. "goodscode": {
  11214. "description": "点价合约",
  11215. "type": "string"
  11216. },
  11217. "goodsname": {
  11218. "description": "商品名称",
  11219. "type": "string"
  11220. },
  11221. "invoiceAmount": {
  11222. "description": "已开收票金额(销售为开票,采购为收票)",
  11223. "type": "number"
  11224. },
  11225. "operateapplyid": {
  11226. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11227. "type": "string"
  11228. },
  11229. "operateapplytype": {
  11230. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11231. "type": "integer"
  11232. },
  11233. "pricemove": {
  11234. "description": "升贴水",
  11235. "type": "number"
  11236. },
  11237. "pricetype": {
  11238. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11239. "type": "integer"
  11240. },
  11241. "relatedid": {
  11242. "description": "现货合同ID",
  11243. "type": "string"
  11244. },
  11245. "sellusername": {
  11246. "description": "销售方名字",
  11247. "type": "string"
  11248. },
  11249. "userid": {
  11250. "description": "用户ID",
  11251. "type": "integer"
  11252. },
  11253. "wrstandardcode": {
  11254. "description": "品类代码",
  11255. "type": "string"
  11256. },
  11257. "wrstandardid": {
  11258. "description": "品类id",
  11259. "type": "integer"
  11260. },
  11261. "wrstandardname": {
  11262. "description": "品类名称",
  11263. "type": "string"
  11264. }
  11265. }
  11266. },
  11267. "ermcp.QryBussinessJsExRsp": {
  11268. "type": "object",
  11269. "properties": {
  11270. "applyid": {
  11271. "description": "申请人",
  11272. "type": "string"
  11273. },
  11274. "applyname": {
  11275. "description": "申请人名称",
  11276. "type": "string"
  11277. },
  11278. "applystatus": {
  11279. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11280. "type": "integer"
  11281. },
  11282. "applytime": {
  11283. "description": "申请时间",
  11284. "type": "string"
  11285. },
  11286. "attachurl": {
  11287. "description": "附件",
  11288. "type": "string"
  11289. },
  11290. "auditid": {
  11291. "description": "审核人ID",
  11292. "type": "string"
  11293. },
  11294. "auditname": {
  11295. "description": "审核人名称",
  11296. "type": "string"
  11297. },
  11298. "audittime": {
  11299. "description": "审核时间",
  11300. "type": "string"
  11301. },
  11302. "buyusername": {
  11303. "description": "采购方名称",
  11304. "type": "string"
  11305. },
  11306. "contractno": {
  11307. "description": "合同编号",
  11308. "type": "string"
  11309. },
  11310. "contractstatus": {
  11311. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11312. "type": "integer"
  11313. },
  11314. "contracttype": {
  11315. "description": "现货合同类型 - 1:采购 -1:销售",
  11316. "type": "integer"
  11317. },
  11318. "deliverygoodscode": {
  11319. "description": "现货品种代码",
  11320. "type": "string"
  11321. },
  11322. "deliverygoodsid": {
  11323. "description": "现货商品ID",
  11324. "type": "integer"
  11325. },
  11326. "deliverygoodsname": {
  11327. "description": "现货品种名称",
  11328. "type": "string"
  11329. },
  11330. "enumdicname": {
  11331. "description": "单位名称",
  11332. "type": "string"
  11333. },
  11334. "goodscode": {
  11335. "description": "点价合约",
  11336. "type": "string"
  11337. },
  11338. "goodsname": {
  11339. "description": "商品名称",
  11340. "type": "string"
  11341. },
  11342. "operateapplyid": {
  11343. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11344. "type": "string"
  11345. },
  11346. "operateapplytype": {
  11347. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11348. "type": "integer"
  11349. },
  11350. "pricemove": {
  11351. "description": "升贴水",
  11352. "type": "number"
  11353. },
  11354. "pricetype": {
  11355. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11356. "type": "integer"
  11357. },
  11358. "reckontype": {
  11359. "description": "结算类型",
  11360. "type": "string"
  11361. },
  11362. "reckonvalue": {
  11363. "description": "值",
  11364. "type": "number"
  11365. },
  11366. "relatedid": {
  11367. "description": "现货合同ID",
  11368. "type": "string"
  11369. },
  11370. "sellusername": {
  11371. "description": "销售方名字",
  11372. "type": "string"
  11373. },
  11374. "userid": {
  11375. "description": "用户ID",
  11376. "type": "integer"
  11377. },
  11378. "wrstandardcode": {
  11379. "description": "品类代码",
  11380. "type": "string"
  11381. },
  11382. "wrstandardid": {
  11383. "description": "品类id",
  11384. "type": "integer"
  11385. },
  11386. "wrstandardname": {
  11387. "description": "品类名称",
  11388. "type": "string"
  11389. }
  11390. }
  11391. },
  11392. "ermcp.QryBussinessJsRsp": {
  11393. "type": "object",
  11394. "properties": {
  11395. "addmargin": {
  11396. "description": "追加保证金(非必填)",
  11397. "type": "number"
  11398. },
  11399. "applyid": {
  11400. "description": "申请人",
  11401. "type": "string"
  11402. },
  11403. "applyname": {
  11404. "description": "申请人名称",
  11405. "type": "string"
  11406. },
  11407. "applystatus": {
  11408. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11409. "type": "integer"
  11410. },
  11411. "applytime": {
  11412. "description": "申请时间",
  11413. "type": "string"
  11414. },
  11415. "attachurl": {
  11416. "description": "附件",
  11417. "type": "string"
  11418. },
  11419. "auditid": {
  11420. "description": "审核人ID",
  11421. "type": "string"
  11422. },
  11423. "auditname": {
  11424. "description": "审核人名称",
  11425. "type": "string"
  11426. },
  11427. "audittime": {
  11428. "description": "审核时间",
  11429. "type": "string"
  11430. },
  11431. "buyusername": {
  11432. "description": "采购方名称",
  11433. "type": "string"
  11434. },
  11435. "contractno": {
  11436. "description": "合同编号",
  11437. "type": "string"
  11438. },
  11439. "contractstatus": {
  11440. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11441. "type": "integer"
  11442. },
  11443. "contracttype": {
  11444. "description": "现货合同类型 - 1:采购 -1:销售",
  11445. "type": "integer"
  11446. },
  11447. "decmargin": {
  11448. "description": "减少保证金(非必填)",
  11449. "type": "number"
  11450. },
  11451. "deliverygoodscode": {
  11452. "description": "现货品种代码",
  11453. "type": "string"
  11454. },
  11455. "deliverygoodsid": {
  11456. "description": "现货商品ID",
  11457. "type": "integer"
  11458. },
  11459. "deliverygoodsname": {
  11460. "description": "现货品种名称",
  11461. "type": "string"
  11462. },
  11463. "enumdicname": {
  11464. "description": "单位名称",
  11465. "type": "string"
  11466. },
  11467. "goodscode": {
  11468. "description": "点价合约",
  11469. "type": "string"
  11470. },
  11471. "goodsname": {
  11472. "description": "商品名称",
  11473. "type": "string"
  11474. },
  11475. "operateapplyid": {
  11476. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11477. "type": "string"
  11478. },
  11479. "operateapplytype": {
  11480. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11481. "type": "integer"
  11482. },
  11483. "pricemove": {
  11484. "description": "升贴水",
  11485. "type": "number"
  11486. },
  11487. "pricetype": {
  11488. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11489. "type": "integer"
  11490. },
  11491. "reckonadjustamount": {
  11492. "description": "结算调整金额(非必填)",
  11493. "type": "number"
  11494. },
  11495. "reckonosamount": {
  11496. "description": "结算溢短金额(非必填)",
  11497. "type": "number"
  11498. },
  11499. "reckonotheramount": {
  11500. "description": "结算其他费用(非必填)",
  11501. "type": "number"
  11502. },
  11503. "reckonrealqty": {
  11504. "description": "结算实际数量(非必填)",
  11505. "type": "number"
  11506. },
  11507. "relatedid": {
  11508. "description": "现货合同ID",
  11509. "type": "string"
  11510. },
  11511. "sellusername": {
  11512. "description": "销售方名字",
  11513. "type": "string"
  11514. },
  11515. "userid": {
  11516. "description": "用户ID",
  11517. "type": "integer"
  11518. },
  11519. "wrstandardcode": {
  11520. "description": "品类代码",
  11521. "type": "string"
  11522. },
  11523. "wrstandardid": {
  11524. "description": "品类id",
  11525. "type": "integer"
  11526. },
  11527. "wrstandardname": {
  11528. "description": "品类名称",
  11529. "type": "string"
  11530. }
  11531. }
  11532. },
  11533. "ermcp.QryBussinessKxRsp": {
  11534. "type": "object",
  11535. "properties": {
  11536. "applyid": {
  11537. "description": "申请人",
  11538. "type": "string"
  11539. },
  11540. "applyname": {
  11541. "description": "申请人名称",
  11542. "type": "string"
  11543. },
  11544. "applystatus": {
  11545. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11546. "type": "integer"
  11547. },
  11548. "applytime": {
  11549. "description": "申请时间",
  11550. "type": "string"
  11551. },
  11552. "attachurl": {
  11553. "description": "附件",
  11554. "type": "string"
  11555. },
  11556. "auditid": {
  11557. "description": "审核人ID",
  11558. "type": "string"
  11559. },
  11560. "auditname": {
  11561. "description": "审核人名称",
  11562. "type": "string"
  11563. },
  11564. "audittime": {
  11565. "description": "审核时间",
  11566. "type": "string"
  11567. },
  11568. "buyusername": {
  11569. "description": "采购方名称",
  11570. "type": "string"
  11571. },
  11572. "contractno": {
  11573. "description": "合同编号",
  11574. "type": "string"
  11575. },
  11576. "contractstatus": {
  11577. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11578. "type": "integer"
  11579. },
  11580. "contracttype": {
  11581. "description": "现货合同类型 - 1:采购 -1:销售",
  11582. "type": "integer"
  11583. },
  11584. "deductamount": {
  11585. "description": "退款(非必填)",
  11586. "type": "number"
  11587. },
  11588. "deliverygoodscode": {
  11589. "description": "现货品种代码",
  11590. "type": "string"
  11591. },
  11592. "deliverygoodsid": {
  11593. "description": "现货商品ID",
  11594. "type": "integer"
  11595. },
  11596. "deliverygoodsname": {
  11597. "description": "现货品种名称",
  11598. "type": "string"
  11599. },
  11600. "enumdicname": {
  11601. "description": "单位名称",
  11602. "type": "string"
  11603. },
  11604. "goodscode": {
  11605. "description": "点价合约",
  11606. "type": "string"
  11607. },
  11608. "goodsname": {
  11609. "description": "商品名称",
  11610. "type": "string"
  11611. },
  11612. "kxtype": {
  11613. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  11614. "type": "integer"
  11615. },
  11616. "operateapplyid": {
  11617. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11618. "type": "string"
  11619. },
  11620. "operateapplytype": {
  11621. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11622. "type": "integer"
  11623. },
  11624. "payamount": {
  11625. "description": "收付款(非必填)",
  11626. "type": "number"
  11627. },
  11628. "pricemove": {
  11629. "description": "升贴水",
  11630. "type": "number"
  11631. },
  11632. "pricetype": {
  11633. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11634. "type": "integer"
  11635. },
  11636. "relatedid": {
  11637. "description": "现货合同ID",
  11638. "type": "string"
  11639. },
  11640. "sellusername": {
  11641. "description": "销售方名字",
  11642. "type": "string"
  11643. },
  11644. "userid": {
  11645. "description": "用户ID",
  11646. "type": "integer"
  11647. },
  11648. "wrstandardcode": {
  11649. "description": "品类代码",
  11650. "type": "string"
  11651. },
  11652. "wrstandardid": {
  11653. "description": "品类id",
  11654. "type": "integer"
  11655. },
  11656. "wrstandardname": {
  11657. "description": "品类名称",
  11658. "type": "string"
  11659. }
  11660. }
  11661. },
  11662. "ermcp.QryGGCovertCfgRsp": {
  11663. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11664. },
  11665. "ermcp.QryMGChangeLogRsp": {
  11666. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  11667. },
  11668. "ermcp.QryMiddleGoodsDetailRsp": {
  11669. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  11670. },
  11671. "ermcp.QryMiddleGoodsRsp": {
  11672. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11673. },
  11674. "ermcp.QryOPLogRsp": {
  11675. "$ref": "#/definitions/models.ErmcpOPLogModel"
  11676. },
  11677. "ermcp.QryUserInfoRsp": {
  11678. "$ref": "#/definitions/models.ErmcpUserModel"
  11679. },
  11680. "ermcp.QryWarehouseRsp": {
  11681. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  11682. },
  11683. "ermcp.QueryErmcpTradePositionRsp": {
  11684. "type": "object",
  11685. "properties": {
  11686. "agreeunit": {
  11687. "description": "合约单位",
  11688. "type": "number"
  11689. },
  11690. "buyorsell": {
  11691. "description": "方向 - 0:买 1:卖",
  11692. "type": "integer"
  11693. },
  11694. "curpositionqty": {
  11695. "description": "持仓(总仓数量, 期末头寸)",
  11696. "type": "integer"
  11697. },
  11698. "curtdposition": {
  11699. "description": "今仓数量(期末今日头寸)",
  11700. "type": "integer"
  11701. },
  11702. "curtdpositionenabled": {
  11703. "description": "今仓可用",
  11704. "type": "integer"
  11705. },
  11706. "decimalplace": {
  11707. "description": "报价小数位",
  11708. "type": "integer"
  11709. },
  11710. "enableqty": {
  11711. "description": "可用(总仓可用)",
  11712. "type": "integer"
  11713. },
  11714. "exexchangename": {
  11715. "description": "外部交易所名称",
  11716. "type": "string"
  11717. },
  11718. "goodscode": {
  11719. "description": "商品代码(内部)",
  11720. "type": "string"
  11721. },
  11722. "goodsid": {
  11723. "description": "商品ID(自增ID SEQ_GOODS)",
  11724. "type": "integer"
  11725. },
  11726. "goodsname": {
  11727. "description": "商品名称",
  11728. "type": "string"
  11729. },
  11730. "last": {
  11731. "description": "现价",
  11732. "type": "number"
  11733. },
  11734. "marketid": {
  11735. "description": "所属市场ID",
  11736. "type": "integer"
  11737. },
  11738. "openaverageprice": {
  11739. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11740. "type": "number"
  11741. },
  11742. "opencost": {
  11743. "description": "开仓成本",
  11744. "type": "number"
  11745. },
  11746. "openpl": {
  11747. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11748. "type": "number"
  11749. },
  11750. "outgoodscode": {
  11751. "description": "商品代码(外部)",
  11752. "type": "string"
  11753. },
  11754. "positionaverageprice": {
  11755. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11756. "type": "number"
  11757. },
  11758. "positioncost": {
  11759. "description": "持仓成本",
  11760. "type": "number"
  11761. },
  11762. "positionpl": {
  11763. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11764. "type": "number"
  11765. },
  11766. "positionplrate": {
  11767. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11768. "type": "number"
  11769. },
  11770. "usedmargin": {
  11771. "description": "占用保证金",
  11772. "type": "number"
  11773. }
  11774. }
  11775. },
  11776. "ermcp.RealtimeExposurePositionRsp": {
  11777. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11778. },
  11779. "ermcp.RealtimeExposureRsp": {
  11780. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11781. },
  11782. "erms2.QueryArbitrageStrategyRsp": {
  11783. "type": "object",
  11784. "required": [
  11785. "asapplyid"
  11786. ],
  11787. "properties": {
  11788. "applybasis": {
  11789. "description": "申请基差",
  11790. "type": "number"
  11791. },
  11792. "asapplyid": {
  11793. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11794. "type": "string"
  11795. },
  11796. "asname": {
  11797. "description": "策略名称",
  11798. "type": "string"
  11799. },
  11800. "asno": {
  11801. "description": "策略编号",
  11802. "type": "string"
  11803. },
  11804. "basischangepl": {
  11805. "description": "基差变动损益[结算更新]",
  11806. "type": "number"
  11807. },
  11808. "biztype": {
  11809. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11810. "type": "integer"
  11811. },
  11812. "closetradedate": {
  11813. "description": "完结交易日(yyyyMMdd)",
  11814. "type": "string"
  11815. },
  11816. "curbasis": {
  11817. "description": "当前基差[结算更新]",
  11818. "type": "number"
  11819. },
  11820. "deliverygoodsid": {
  11821. "description": "现货品种ID",
  11822. "type": "integer"
  11823. },
  11824. "futureavgprice": {
  11825. "description": "期货建仓均价",
  11826. "type": "number"
  11827. },
  11828. "futurecloseamount": {
  11829. "description": "期货平仓金额",
  11830. "type": "number"
  11831. },
  11832. "futurecloseqty": {
  11833. "description": "期货平仓数量",
  11834. "type": "number"
  11835. },
  11836. "futureopenamount": {
  11837. "description": "期货开仓金额",
  11838. "type": "number"
  11839. },
  11840. "futureopenqty": {
  11841. "description": "期货开仓数量",
  11842. "type": "number"
  11843. },
  11844. "futurepl": {
  11845. "description": "期货总盈亏[结算更新]",
  11846. "type": "number"
  11847. },
  11848. "futureqty": {
  11849. "description": "期货持仓数量",
  11850. "type": "number"
  11851. },
  11852. "futurequote": {
  11853. "description": "期货额度",
  11854. "type": "number"
  11855. },
  11856. "goodsgroupid": {
  11857. "description": "期货品种ID",
  11858. "type": "integer"
  11859. },
  11860. "marketid": {
  11861. "description": "市场ID",
  11862. "type": "integer"
  11863. },
  11864. "netexposure": {
  11865. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11866. "type": "number"
  11867. },
  11868. "netexposurepl": {
  11869. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11870. "type": "number"
  11871. },
  11872. "netexposurerate": {
  11873. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11874. "type": "number"
  11875. },
  11876. "openbasis": {
  11877. "description": "建仓基差",
  11878. "type": "number"
  11879. },
  11880. "pricedspotqty": {
  11881. "description": "已定价现货数量",
  11882. "type": "number"
  11883. },
  11884. "pricedspotqtynotax": {
  11885. "description": "已定价现货不含税数量",
  11886. "type": "number"
  11887. },
  11888. "remark": {
  11889. "description": "备注",
  11890. "type": "string"
  11891. },
  11892. "spotavgprice": {
  11893. "description": "现货均价",
  11894. "type": "number"
  11895. },
  11896. "spotbuyamount": {
  11897. "description": "现货采购金额",
  11898. "type": "number"
  11899. },
  11900. "spotbuyqty": {
  11901. "description": "现货采购数量",
  11902. "type": "number"
  11903. },
  11904. "spotpl": {
  11905. "description": "现货总盈亏[结算更新]",
  11906. "type": "number"
  11907. },
  11908. "spotquota": {
  11909. "description": "现货额度",
  11910. "type": "number"
  11911. },
  11912. "spotsellamount": {
  11913. "description": "现货销售金额",
  11914. "type": "number"
  11915. },
  11916. "spotsellqty": {
  11917. "description": "现货销售数量",
  11918. "type": "number"
  11919. },
  11920. "spotusedquota": {
  11921. "description": "现货占用资金",
  11922. "type": "number"
  11923. },
  11924. "strategystatus": {
  11925. "description": "策略状态 - 0:未结束 1:已结束",
  11926. "type": "integer"
  11927. },
  11928. "totalpl": {
  11929. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11930. "type": "number"
  11931. },
  11932. "tradedate": {
  11933. "description": "交易日(yyyyMMdd)",
  11934. "type": "string"
  11935. },
  11936. "updatetime": {
  11937. "description": "更新时间",
  11938. "type": "string"
  11939. },
  11940. "usedquota": {
  11941. "description": "已占用资金",
  11942. "type": "number"
  11943. },
  11944. "userid": {
  11945. "description": "所属机构",
  11946. "type": "integer"
  11947. }
  11948. }
  11949. },
  11950. "erms2.QueryInnerTradeDetailRsp": {
  11951. "type": "object",
  11952. "required": [
  11953. "asapplyid",
  11954. "buyorsell",
  11955. "goodscode",
  11956. "goodsgroupid",
  11957. "goodsgroupname",
  11958. "goodsname",
  11959. "tradeid"
  11960. ],
  11961. "properties": {
  11962. "accountid": {
  11963. "description": "账号ID",
  11964. "type": "integer"
  11965. },
  11966. "agreeunit": {
  11967. "description": "合约单位",
  11968. "type": "number"
  11969. },
  11970. "asapplyid": {
  11971. "description": "策略申请ID",
  11972. "type": "integer"
  11973. },
  11974. "asname": {
  11975. "description": "策略名称",
  11976. "type": "string"
  11977. },
  11978. "asno": {
  11979. "description": "策略编号",
  11980. "type": "string"
  11981. },
  11982. "buyorsell": {
  11983. "description": "方向 - 0:买 1:卖",
  11984. "type": "integer"
  11985. },
  11986. "channelbuildtype": {
  11987. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11988. "type": "integer"
  11989. },
  11990. "closetype": {
  11991. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11992. "type": "integer"
  11993. },
  11994. "decimalplace": {
  11995. "description": "报价小数位",
  11996. "type": "integer"
  11997. },
  11998. "detailtype": {
  11999. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  12000. "type": "integer"
  12001. },
  12002. "exexchangecode": {
  12003. "description": "外部交易所代码",
  12004. "type": "string"
  12005. },
  12006. "exexchangename": {
  12007. "description": "外部交易所名称",
  12008. "type": "string"
  12009. },
  12010. "goodscode": {
  12011. "description": "商品代码(合约)",
  12012. "type": "string"
  12013. },
  12014. "goodsgroupid": {
  12015. "description": "商品组ID(品种ID)",
  12016. "type": "integer"
  12017. },
  12018. "goodsgroupname": {
  12019. "description": "商品组名称(品种)",
  12020. "type": "string"
  12021. },
  12022. "goodsid": {
  12023. "description": "商品ID",
  12024. "type": "integer"
  12025. },
  12026. "goodsname": {
  12027. "description": "商品名称(合约)",
  12028. "type": "string"
  12029. },
  12030. "goodunit": {
  12031. "description": "报价单位",
  12032. "type": "string"
  12033. },
  12034. "marketid": {
  12035. "description": "市场ID",
  12036. "type": "integer"
  12037. },
  12038. "orderid": {
  12039. "description": "委托单号",
  12040. "type": "string"
  12041. },
  12042. "outgoodscode": {
  12043. "description": "商品代码(外部)",
  12044. "type": "string"
  12045. },
  12046. "relatedouttradeid": {
  12047. "description": "关联外部成交单ID",
  12048. "type": "string"
  12049. },
  12050. "remark": {
  12051. "description": "备注",
  12052. "type": "string"
  12053. },
  12054. "spotcontractid": {
  12055. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  12056. "type": "integer"
  12057. },
  12058. "spotcontractno": {
  12059. "description": "现货合同编号",
  12060. "type": "string"
  12061. },
  12062. "tradeid": {
  12063. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12064. "type": "string"
  12065. },
  12066. "tradeprice": {
  12067. "description": "成交价格",
  12068. "type": "number"
  12069. },
  12070. "tradeqty": {
  12071. "description": "成交数量",
  12072. "type": "integer"
  12073. },
  12074. "tradetime": {
  12075. "description": "成交时间",
  12076. "type": "string"
  12077. },
  12078. "updatetime": {
  12079. "description": "更新时间",
  12080. "type": "string"
  12081. }
  12082. }
  12083. },
  12084. "erms2.QuerySpotContractRsp": {
  12085. "type": "object",
  12086. "required": [
  12087. "spotcontractid"
  12088. ],
  12089. "properties": {
  12090. "accountid": {
  12091. "description": "资金账户ID",
  12092. "type": "integer"
  12093. },
  12094. "areauserid": {
  12095. "description": "所属机构",
  12096. "type": "integer"
  12097. },
  12098. "closedate": {
  12099. "description": "终止日期",
  12100. "type": "string"
  12101. },
  12102. "closeremark": {
  12103. "description": "结束备注",
  12104. "type": "string"
  12105. },
  12106. "closetradedate": {
  12107. "description": "完结交易日(yyyyMMdd)",
  12108. "type": "string"
  12109. },
  12110. "closetype": {
  12111. "description": "终止类型 - 1:违约 2:提前终止",
  12112. "type": "integer"
  12113. },
  12114. "contractamount": {
  12115. "description": "合同金额",
  12116. "type": "number"
  12117. },
  12118. "contractattachment": {
  12119. "description": "合同附件",
  12120. "type": "string"
  12121. },
  12122. "contractno": {
  12123. "description": "现货合同编号",
  12124. "type": "string"
  12125. },
  12126. "contractqty": {
  12127. "description": "合同数量(数值) (用于计算)",
  12128. "type": "number"
  12129. },
  12130. "contractqtychar": {
  12131. "description": "合同数量\\已订价数量 (用于显示)",
  12132. "type": "string"
  12133. },
  12134. "contractstatus": {
  12135. "description": "合同状态 - 0:未结束 1:已结束",
  12136. "type": "integer"
  12137. },
  12138. "contracttype": {
  12139. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  12140. "type": "integer"
  12141. },
  12142. "customeraccountid": {
  12143. "description": "客户资金账户ID",
  12144. "type": "integer"
  12145. },
  12146. "customeruserid": {
  12147. "description": "客户ID",
  12148. "type": "integer"
  12149. },
  12150. "deliverygoodsdesc": {
  12151. "description": "品种说明",
  12152. "type": "string"
  12153. },
  12154. "deliverygoodsid": {
  12155. "description": "现货品种ID",
  12156. "type": "integer"
  12157. },
  12158. "handlestatus": {
  12159. "description": "处理状态",
  12160. "type": "integer"
  12161. },
  12162. "invoiceatt": {
  12163. "description": "发票附件",
  12164. "type": "string"
  12165. },
  12166. "invoicedatetime": {
  12167. "description": "开收票更新时间",
  12168. "type": "string"
  12169. },
  12170. "invoiceopentime": {
  12171. "description": "开票时间",
  12172. "type": "string"
  12173. },
  12174. "invoiceremark": {
  12175. "description": "发票备注",
  12176. "type": "string"
  12177. },
  12178. "invoicestatus": {
  12179. "description": "开收票状态 - 0:未开票 1:已开票",
  12180. "type": "integer"
  12181. },
  12182. "lastdate": {
  12183. "description": "交货时间",
  12184. "type": "string"
  12185. },
  12186. "marketid": {
  12187. "description": "市场ID",
  12188. "type": "integer"
  12189. },
  12190. "paydatetime": {
  12191. "description": "收付款更新时间",
  12192. "type": "string"
  12193. },
  12194. "payremark": {
  12195. "description": "收付款备注",
  12196. "type": "string"
  12197. },
  12198. "paystatus": {
  12199. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  12200. "type": "integer"
  12201. },
  12202. "positionqty": {
  12203. "description": "头寸数量 - 合同数量去小数部分",
  12204. "type": "integer"
  12205. },
  12206. "producttype": {
  12207. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12208. "type": "integer"
  12209. },
  12210. "relatedqty": {
  12211. "description": "已关联数量",
  12212. "type": "number"
  12213. },
  12214. "relatedstatus": {
  12215. "description": "关联完结状态 - 0:未结束 1:已结束",
  12216. "type": "integer"
  12217. },
  12218. "remark": {
  12219. "description": "备注",
  12220. "type": "string"
  12221. },
  12222. "signdate": {
  12223. "description": "签订日期",
  12224. "type": "string"
  12225. },
  12226. "spotcontractid": {
  12227. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  12228. "type": "string"
  12229. },
  12230. "spotdatetime": {
  12231. "description": "收发货更新时间",
  12232. "type": "string"
  12233. },
  12234. "spotprice": {
  12235. "description": "价格",
  12236. "type": "number"
  12237. },
  12238. "spotremark": {
  12239. "description": "收发货备注",
  12240. "type": "string"
  12241. },
  12242. "spotstatus": {
  12243. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  12244. "type": "integer"
  12245. },
  12246. "tradedate": {
  12247. "description": "交易日(yyyyMMdd)",
  12248. "type": "string"
  12249. },
  12250. "userid": {
  12251. "description": "业务员用户ID",
  12252. "type": "integer"
  12253. },
  12254. "warehouseid": {
  12255. "description": "仓库ID",
  12256. "type": "integer"
  12257. },
  12258. "wrfactortypeid": {
  12259. "description": "仓单要素类型ID",
  12260. "type": "integer"
  12261. },
  12262. "wrstandardid": {
  12263. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12264. "type": "integer"
  12265. }
  12266. }
  12267. },
  12268. "erms3.AddErms2ASApplyReq": {
  12269. "type": "object",
  12270. "required": [
  12271. "asapplyid"
  12272. ],
  12273. "properties": {
  12274. "applybasis": {
  12275. "description": "申请基差",
  12276. "type": "number"
  12277. },
  12278. "applystatus": {
  12279. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12280. "type": "integer"
  12281. },
  12282. "asapplyid": {
  12283. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  12284. "type": "integer"
  12285. },
  12286. "asname": {
  12287. "description": "策略名称",
  12288. "type": "string"
  12289. },
  12290. "asno": {
  12291. "description": "策略编号",
  12292. "type": "string"
  12293. },
  12294. "auditid": {
  12295. "description": "审核人",
  12296. "type": "integer"
  12297. },
  12298. "auditremark": {
  12299. "description": "审核备注",
  12300. "type": "string"
  12301. },
  12302. "audittime": {
  12303. "description": "审核时间",
  12304. "type": "string"
  12305. },
  12306. "biztype": {
  12307. "description": "业务类型 - 1:正向套利 2:反向套利",
  12308. "type": "integer"
  12309. },
  12310. "createtime": {
  12311. "description": "创建时间",
  12312. "type": "string"
  12313. },
  12314. "creatorid": {
  12315. "description": "创建人",
  12316. "type": "integer"
  12317. },
  12318. "deliverygoodsid": {
  12319. "description": "现货品种ID",
  12320. "type": "integer"
  12321. },
  12322. "futurequote": {
  12323. "description": "期货额度",
  12324. "type": "number"
  12325. },
  12326. "goodsgroupid": {
  12327. "description": "期货品种ID",
  12328. "type": "integer"
  12329. },
  12330. "marketid": {
  12331. "description": "市场ID",
  12332. "type": "integer"
  12333. },
  12334. "remark": {
  12335. "description": "备注",
  12336. "type": "string"
  12337. },
  12338. "spotquota": {
  12339. "description": "现货额度",
  12340. "type": "number"
  12341. },
  12342. "tradedate": {
  12343. "description": "交易日(yyyyMMdd)",
  12344. "type": "string"
  12345. },
  12346. "userid": {
  12347. "description": "所属机构",
  12348. "type": "integer"
  12349. }
  12350. }
  12351. },
  12352. "erms3.AddErms2SpotTradeApplyReq": {
  12353. "type": "object",
  12354. "required": [
  12355. "spottradeid"
  12356. ],
  12357. "properties": {
  12358. "applyjsondetail": {
  12359. "description": "申请明细(JSON)",
  12360. "type": "string"
  12361. },
  12362. "applystatus": {
  12363. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12364. "type": "integer"
  12365. },
  12366. "areauserid": {
  12367. "description": "所属机构",
  12368. "type": "integer"
  12369. },
  12370. "auditid": {
  12371. "description": "审核人",
  12372. "type": "integer"
  12373. },
  12374. "auditremark": {
  12375. "description": "审核备注",
  12376. "type": "string"
  12377. },
  12378. "audittime": {
  12379. "description": "审核时间",
  12380. "type": "string"
  12381. },
  12382. "createtime": {
  12383. "description": "创建时间",
  12384. "type": "string"
  12385. },
  12386. "creatorid": {
  12387. "description": "创建人",
  12388. "type": "integer"
  12389. },
  12390. "deliverygoodsid": {
  12391. "description": "现货品种ID",
  12392. "type": "integer"
  12393. },
  12394. "futureaccountid": {
  12395. "description": "期货资金账户",
  12396. "type": "integer"
  12397. },
  12398. "goodsgroupid": {
  12399. "description": "期货品种",
  12400. "type": "integer"
  12401. },
  12402. "marketid": {
  12403. "description": "市场ID",
  12404. "type": "integer"
  12405. },
  12406. "remark": {
  12407. "description": "备注",
  12408. "type": "string"
  12409. },
  12410. "spotaccountid": {
  12411. "description": "现货资金账户",
  12412. "type": "integer"
  12413. },
  12414. "spottradeid": {
  12415. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  12416. "type": "integer"
  12417. },
  12418. "spottradename": {
  12419. "description": "业务名称",
  12420. "type": "string"
  12421. },
  12422. "spottradeno": {
  12423. "description": "业务编号",
  12424. "type": "string"
  12425. },
  12426. "tradedate": {
  12427. "description": "交易日(yyyyMMdd)",
  12428. "type": "string"
  12429. },
  12430. "wrstandardid": {
  12431. "description": "仓单标准ID",
  12432. "type": "integer"
  12433. }
  12434. }
  12435. },
  12436. "erms3.AddSpotContractApplyReq": {
  12437. "type": "object",
  12438. "required": [
  12439. "accountid",
  12440. "areauserid",
  12441. "contractno",
  12442. "contracttype",
  12443. "customeraccountid",
  12444. "customeruserid",
  12445. "details",
  12446. "orimargin",
  12447. "signdate"
  12448. ],
  12449. "properties": {
  12450. "accountid": {
  12451. "description": "资金账户ID",
  12452. "type": "integer"
  12453. },
  12454. "areauserid": {
  12455. "description": "所属机构",
  12456. "type": "integer"
  12457. },
  12458. "contractattachment": {
  12459. "description": "合同附件",
  12460. "type": "string"
  12461. },
  12462. "contractno": {
  12463. "description": "现货合同编号",
  12464. "type": "string"
  12465. },
  12466. "contracttype": {
  12467. "description": "现货合同类型 - 1:采购 -1:销售",
  12468. "type": "integer"
  12469. },
  12470. "creatorid": {
  12471. "description": "申请人",
  12472. "type": "integer"
  12473. },
  12474. "customeraccountid": {
  12475. "description": "客户资金账户ID",
  12476. "type": "integer"
  12477. },
  12478. "customeruserid": {
  12479. "description": "客户ID",
  12480. "type": "integer"
  12481. },
  12482. "details": {
  12483. "description": "明细",
  12484. "type": "array",
  12485. "items": {
  12486. "$ref": "#/definitions/erms3.SoptContractDetail"
  12487. }
  12488. },
  12489. "orimargin": {
  12490. "description": "初始保证金",
  12491. "type": "number"
  12492. },
  12493. "remark": {
  12494. "description": "备注",
  12495. "type": "string"
  12496. },
  12497. "signdate": {
  12498. "description": "签订日期",
  12499. "type": "string"
  12500. }
  12501. }
  12502. },
  12503. "erms3.AddSpotContractApplyRsp": {
  12504. "type": "object",
  12505. "required": [
  12506. "contractno"
  12507. ],
  12508. "properties": {
  12509. "contractno": {
  12510. "description": "现货合同编号",
  12511. "type": "string"
  12512. },
  12513. "spotcontractid": {
  12514. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  12515. "type": "integer"
  12516. }
  12517. }
  12518. },
  12519. "erms3.AddUserInfoApplyReq": {
  12520. "type": "object",
  12521. "required": [
  12522. "userid"
  12523. ],
  12524. "properties": {
  12525. "accountid": {
  12526. "description": "交易系统帐号Id (加密存储)",
  12527. "type": "integer"
  12528. },
  12529. "areacode": {
  12530. "description": "机构代码",
  12531. "type": "string"
  12532. },
  12533. "areaid": {
  12534. "description": "机构Id",
  12535. "type": "integer"
  12536. },
  12537. "attachment1": {
  12538. "description": "附件1",
  12539. "type": "string"
  12540. },
  12541. "attachment2": {
  12542. "description": "附件2",
  12543. "type": "string"
  12544. },
  12545. "attachment3": {
  12546. "description": "附件3",
  12547. "type": "string"
  12548. },
  12549. "attachment4": {
  12550. "description": "附件4",
  12551. "type": "string"
  12552. },
  12553. "attachment5": {
  12554. "description": "附件5",
  12555. "type": "string"
  12556. },
  12557. "auditedby": {
  12558. "description": "审核人",
  12559. "type": "string"
  12560. },
  12561. "auditime": {
  12562. "description": "审核时间",
  12563. "type": "string"
  12564. },
  12565. "auditsrc": {
  12566. "description": "审核来源 - 1:管理端 2:终端",
  12567. "type": "integer"
  12568. },
  12569. "bankaccount": {
  12570. "description": "银行帐号 (加密存储)",
  12571. "type": "string"
  12572. },
  12573. "bankaccountname": {
  12574. "description": "收款人名称",
  12575. "type": "string"
  12576. },
  12577. "bankcardbackphotourl": {
  12578. "description": "银行卡背面照地址",
  12579. "type": "string"
  12580. },
  12581. "bankcardfrontphotourl": {
  12582. "description": "银行卡正面照地址",
  12583. "type": "string"
  12584. },
  12585. "bankid": {
  12586. "description": "银行编码",
  12587. "type": "string"
  12588. },
  12589. "bankname": {
  12590. "description": "银行名称",
  12591. "type": "string"
  12592. },
  12593. "bankpictureurl": {
  12594. "description": "银行卡正面地址",
  12595. "type": "string"
  12596. },
  12597. "biznature": {
  12598. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12599. "type": "integer"
  12600. },
  12601. "bizscope": {
  12602. "description": "企业经营范围(企业)",
  12603. "type": "string"
  12604. },
  12605. "biztype": {
  12606. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12607. "type": "integer"
  12608. },
  12609. "brokerid": {
  12610. "description": "经纪人ID(加密存储)",
  12611. "type": "string"
  12612. },
  12613. "cardaddress": {
  12614. "description": "证件地址 (加密存储)",
  12615. "type": "string"
  12616. },
  12617. "cardbackphotourl": {
  12618. "description": "背面证件照地址",
  12619. "type": "string"
  12620. },
  12621. "cardfrontphotourl": {
  12622. "description": "正面证件照地址",
  12623. "type": "string"
  12624. },
  12625. "cardnum": {
  12626. "description": "证件号码 (加密存储)",
  12627. "type": "string"
  12628. },
  12629. "cardtype": {
  12630. "description": "证件类型",
  12631. "type": "integer"
  12632. },
  12633. "cityid": {
  12634. "description": "市",
  12635. "type": "integer"
  12636. },
  12637. "company": {
  12638. "description": "公司(个人)",
  12639. "type": "string"
  12640. },
  12641. "contactcardbackphotourl": {
  12642. "description": "联系人证件背面图片地址",
  12643. "type": "string"
  12644. },
  12645. "contactcardfrontphotourl": {
  12646. "description": "联系人证件正面图片地址",
  12647. "type": "string"
  12648. },
  12649. "contactname": {
  12650. "description": "联系人",
  12651. "type": "string"
  12652. },
  12653. "countryid": {
  12654. "description": "国家",
  12655. "type": "integer"
  12656. },
  12657. "createtime": {
  12658. "description": "开户申请时间",
  12659. "type": "string"
  12660. },
  12661. "cusbankid": {
  12662. "description": "签约类型",
  12663. "type": "string"
  12664. },
  12665. "cusbankname": {
  12666. "description": "签约类型名称",
  12667. "type": "string"
  12668. },
  12669. "customername": {
  12670. "description": "客户名称(企业名称)",
  12671. "type": "string"
  12672. },
  12673. "districtid": {
  12674. "description": "地区",
  12675. "type": "integer"
  12676. },
  12677. "email": {
  12678. "description": "Email地址(加密存储)",
  12679. "type": "string"
  12680. },
  12681. "halfbodyphotourl": {
  12682. "description": "半身照地址",
  12683. "type": "string"
  12684. },
  12685. "headurl": {
  12686. "description": "头像地址",
  12687. "type": "string"
  12688. },
  12689. "ipaddress": {
  12690. "description": "IP地址",
  12691. "type": "string"
  12692. },
  12693. "isvalidate": {
  12694. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12695. "type": "string"
  12696. },
  12697. "legalcardbackphotourl": {
  12698. "description": "法人身份证背面照地址",
  12699. "type": "string"
  12700. },
  12701. "legalcardfrontphotourl": {
  12702. "description": "法人身份证正面照地址",
  12703. "type": "string"
  12704. },
  12705. "legalpersonname": {
  12706. "description": "法人姓名(企业)",
  12707. "type": "string"
  12708. },
  12709. "logincode": {
  12710. "description": "登录帐号 (加密存储)",
  12711. "type": "string"
  12712. },
  12713. "memberareaid": {
  12714. "description": "所属会员ID",
  12715. "type": "integer"
  12716. },
  12717. "mobile2": {
  12718. "description": "手机号码[明文-尚志]",
  12719. "type": "string"
  12720. },
  12721. "mobilephone": {
  12722. "description": "手机号码 (加密存储)",
  12723. "type": "string"
  12724. },
  12725. "modifiedby": {
  12726. "description": "修改人帐号",
  12727. "type": "integer"
  12728. },
  12729. "modifiedtime": {
  12730. "description": "修改时间",
  12731. "type": "string"
  12732. },
  12733. "nickname": {
  12734. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12735. "type": "string"
  12736. },
  12737. "openmode": {
  12738. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12739. "type": "integer"
  12740. },
  12741. "otherurl": {
  12742. "description": "其它图片地址[使用分号分隔]",
  12743. "type": "string"
  12744. },
  12745. "postalcode": {
  12746. "description": "邮政编码",
  12747. "type": "string"
  12748. },
  12749. "provinceid": {
  12750. "description": "省",
  12751. "type": "integer"
  12752. },
  12753. "proxystatementurl": {
  12754. "description": "授权委托书",
  12755. "type": "string"
  12756. },
  12757. "qq": {
  12758. "description": "QQ(加密存储",
  12759. "type": "string"
  12760. },
  12761. "referral": {
  12762. "description": "推荐人编码",
  12763. "type": "string"
  12764. },
  12765. "remark": {
  12766. "description": "备注",
  12767. "type": "string"
  12768. },
  12769. "removebeforestatus": {
  12770. "description": "REMOVEBEFORESTATUS",
  12771. "type": "integer"
  12772. },
  12773. "sex": {
  12774. "description": "性别 - 0:女 1:男",
  12775. "type": "integer"
  12776. },
  12777. "signedstatus": {
  12778. "description": "账户一号签签约状态",
  12779. "type": "integer"
  12780. },
  12781. "signpdfurl": {
  12782. "description": "签约pdf文件",
  12783. "type": "string"
  12784. },
  12785. "subbranch": {
  12786. "description": "开户支行",
  12787. "type": "string"
  12788. },
  12789. "taxpayernum": {
  12790. "description": "纳税人识别号",
  12791. "type": "string"
  12792. },
  12793. "telphone": {
  12794. "description": "联系电话(加密存储)",
  12795. "type": "string"
  12796. },
  12797. "userid": {
  12798. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12799. "type": "integer"
  12800. },
  12801. "userinfotype": {
  12802. "description": "用户信息类型 - 1:个人 2:企业",
  12803. "type": "integer"
  12804. },
  12805. "username": {
  12806. "description": "用户姓名",
  12807. "type": "string"
  12808. },
  12809. "userstate": {
  12810. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12811. "type": "integer"
  12812. },
  12813. "usertype": {
  12814. "description": "用户类型 - 1:投资者 2:机构",
  12815. "type": "integer"
  12816. },
  12817. "videourl": {
  12818. "description": "视频地址",
  12819. "type": "string"
  12820. },
  12821. "wechat": {
  12822. "description": "微信号 (加密存储)",
  12823. "type": "string"
  12824. }
  12825. }
  12826. },
  12827. "erms3.CustomerInfo": {
  12828. "type": "object",
  12829. "required": [
  12830. "userid"
  12831. ],
  12832. "properties": {
  12833. "accountids": {
  12834. "description": "资金账户ID列表",
  12835. "type": "array",
  12836. "items": {
  12837. "type": "integer"
  12838. }
  12839. },
  12840. "customername": {
  12841. "description": "名称(企业名称)",
  12842. "type": "string"
  12843. },
  12844. "mobile": {
  12845. "description": "手机号码",
  12846. "type": "string"
  12847. },
  12848. "userid": {
  12849. "description": "用户ID",
  12850. "type": "integer"
  12851. }
  12852. }
  12853. },
  12854. "erms3.ModifyUserInfoApplyReq": {
  12855. "type": "object",
  12856. "required": [
  12857. "userid"
  12858. ],
  12859. "properties": {
  12860. "accountid": {
  12861. "description": "交易系统帐号Id (加密存储)",
  12862. "type": "integer"
  12863. },
  12864. "areacode": {
  12865. "description": "机构代码",
  12866. "type": "string"
  12867. },
  12868. "areaid": {
  12869. "description": "机构Id",
  12870. "type": "integer"
  12871. },
  12872. "attachment1": {
  12873. "description": "附件1",
  12874. "type": "string"
  12875. },
  12876. "attachment2": {
  12877. "description": "附件2",
  12878. "type": "string"
  12879. },
  12880. "attachment3": {
  12881. "description": "附件3",
  12882. "type": "string"
  12883. },
  12884. "attachment4": {
  12885. "description": "附件4",
  12886. "type": "string"
  12887. },
  12888. "attachment5": {
  12889. "description": "附件5",
  12890. "type": "string"
  12891. },
  12892. "auditedby": {
  12893. "description": "审核人",
  12894. "type": "string"
  12895. },
  12896. "auditime": {
  12897. "description": "审核时间",
  12898. "type": "string"
  12899. },
  12900. "auditsrc": {
  12901. "description": "审核来源 - 1:管理端 2:终端",
  12902. "type": "integer"
  12903. },
  12904. "bankaccount": {
  12905. "description": "银行帐号 (加密存储)",
  12906. "type": "string"
  12907. },
  12908. "bankaccountname": {
  12909. "description": "收款人名称",
  12910. "type": "string"
  12911. },
  12912. "bankcardbackphotourl": {
  12913. "description": "银行卡背面照地址",
  12914. "type": "string"
  12915. },
  12916. "bankcardfrontphotourl": {
  12917. "description": "银行卡正面照地址",
  12918. "type": "string"
  12919. },
  12920. "bankid": {
  12921. "description": "银行编码",
  12922. "type": "string"
  12923. },
  12924. "bankname": {
  12925. "description": "银行名称",
  12926. "type": "string"
  12927. },
  12928. "bankpictureurl": {
  12929. "description": "银行卡正面地址",
  12930. "type": "string"
  12931. },
  12932. "biznature": {
  12933. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12934. "type": "integer"
  12935. },
  12936. "bizscope": {
  12937. "description": "企业经营范围(企业)",
  12938. "type": "string"
  12939. },
  12940. "biztype": {
  12941. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12942. "type": "integer"
  12943. },
  12944. "brokerid": {
  12945. "description": "经纪人ID(加密存储)",
  12946. "type": "string"
  12947. },
  12948. "cardaddress": {
  12949. "description": "证件地址 (加密存储)",
  12950. "type": "string"
  12951. },
  12952. "cardbackphotourl": {
  12953. "description": "背面证件照地址",
  12954. "type": "string"
  12955. },
  12956. "cardfrontphotourl": {
  12957. "description": "正面证件照地址",
  12958. "type": "string"
  12959. },
  12960. "cardnum": {
  12961. "description": "证件号码 (加密存储)",
  12962. "type": "string"
  12963. },
  12964. "cardtype": {
  12965. "description": "证件类型",
  12966. "type": "integer"
  12967. },
  12968. "cityid": {
  12969. "description": "市",
  12970. "type": "integer"
  12971. },
  12972. "company": {
  12973. "description": "公司(个人)",
  12974. "type": "string"
  12975. },
  12976. "contactcardbackphotourl": {
  12977. "description": "联系人证件背面图片地址",
  12978. "type": "string"
  12979. },
  12980. "contactcardfrontphotourl": {
  12981. "description": "联系人证件正面图片地址",
  12982. "type": "string"
  12983. },
  12984. "contactname": {
  12985. "description": "联系人",
  12986. "type": "string"
  12987. },
  12988. "countryid": {
  12989. "description": "国家",
  12990. "type": "integer"
  12991. },
  12992. "createtime": {
  12993. "description": "开户申请时间",
  12994. "type": "string"
  12995. },
  12996. "cusbankid": {
  12997. "description": "签约类型",
  12998. "type": "string"
  12999. },
  13000. "cusbankname": {
  13001. "description": "签约类型名称",
  13002. "type": "string"
  13003. },
  13004. "customername": {
  13005. "description": "客户名称(企业名称)",
  13006. "type": "string"
  13007. },
  13008. "districtid": {
  13009. "description": "地区",
  13010. "type": "integer"
  13011. },
  13012. "email": {
  13013. "description": "Email地址(加密存储)",
  13014. "type": "string"
  13015. },
  13016. "halfbodyphotourl": {
  13017. "description": "半身照地址",
  13018. "type": "string"
  13019. },
  13020. "headurl": {
  13021. "description": "头像地址",
  13022. "type": "string"
  13023. },
  13024. "ipaddress": {
  13025. "description": "IP地址",
  13026. "type": "string"
  13027. },
  13028. "isvalidate": {
  13029. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13030. "type": "string"
  13031. },
  13032. "legalcardbackphotourl": {
  13033. "description": "法人身份证背面照地址",
  13034. "type": "string"
  13035. },
  13036. "legalcardfrontphotourl": {
  13037. "description": "法人身份证正面照地址",
  13038. "type": "string"
  13039. },
  13040. "legalpersonname": {
  13041. "description": "法人姓名(企业)",
  13042. "type": "string"
  13043. },
  13044. "logincode": {
  13045. "description": "登录帐号 (加密存储)",
  13046. "type": "string"
  13047. },
  13048. "memberareaid": {
  13049. "description": "所属会员ID",
  13050. "type": "integer"
  13051. },
  13052. "mobile2": {
  13053. "description": "手机号码[明文-尚志]",
  13054. "type": "string"
  13055. },
  13056. "mobilephone": {
  13057. "description": "手机号码 (加密存储)",
  13058. "type": "string"
  13059. },
  13060. "modifiedby": {
  13061. "description": "修改人帐号",
  13062. "type": "integer"
  13063. },
  13064. "modifiedtime": {
  13065. "description": "修改时间",
  13066. "type": "string"
  13067. },
  13068. "nickname": {
  13069. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13070. "type": "string"
  13071. },
  13072. "openmode": {
  13073. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13074. "type": "integer"
  13075. },
  13076. "otherurl": {
  13077. "description": "其它图片地址[使用分号分隔]",
  13078. "type": "string"
  13079. },
  13080. "postalcode": {
  13081. "description": "邮政编码",
  13082. "type": "string"
  13083. },
  13084. "provinceid": {
  13085. "description": "省",
  13086. "type": "integer"
  13087. },
  13088. "proxystatementurl": {
  13089. "description": "授权委托书",
  13090. "type": "string"
  13091. },
  13092. "qq": {
  13093. "description": "QQ(加密存储",
  13094. "type": "string"
  13095. },
  13096. "referral": {
  13097. "description": "推荐人编码",
  13098. "type": "string"
  13099. },
  13100. "remark": {
  13101. "description": "备注",
  13102. "type": "string"
  13103. },
  13104. "removebeforestatus": {
  13105. "description": "REMOVEBEFORESTATUS",
  13106. "type": "integer"
  13107. },
  13108. "sex": {
  13109. "description": "性别 - 0:女 1:男",
  13110. "type": "integer"
  13111. },
  13112. "signedstatus": {
  13113. "description": "账户一号签签约状态",
  13114. "type": "integer"
  13115. },
  13116. "signpdfurl": {
  13117. "description": "签约pdf文件",
  13118. "type": "string"
  13119. },
  13120. "subbranch": {
  13121. "description": "开户支行",
  13122. "type": "string"
  13123. },
  13124. "taxpayernum": {
  13125. "description": "纳税人识别号",
  13126. "type": "string"
  13127. },
  13128. "telphone": {
  13129. "description": "联系电话(加密存储)",
  13130. "type": "string"
  13131. },
  13132. "userid": {
  13133. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13134. "type": "integer"
  13135. },
  13136. "userinfotype": {
  13137. "description": "用户信息类型 - 1:个人 2:企业",
  13138. "type": "integer"
  13139. },
  13140. "username": {
  13141. "description": "用户姓名",
  13142. "type": "string"
  13143. },
  13144. "userstate": {
  13145. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13146. "type": "integer"
  13147. },
  13148. "usertype": {
  13149. "description": "用户类型 - 1:投资者 2:机构",
  13150. "type": "integer"
  13151. },
  13152. "videourl": {
  13153. "description": "视频地址",
  13154. "type": "string"
  13155. },
  13156. "wechat": {
  13157. "description": "微信号 (加密存储)",
  13158. "type": "string"
  13159. }
  13160. }
  13161. },
  13162. "erms3.QryAuditContractRsp": {
  13163. "type": "object",
  13164. "required": [
  13165. "matchcustomername",
  13166. "spotcontractid"
  13167. ],
  13168. "properties": {
  13169. "accountid": {
  13170. "description": "交易员ID",
  13171. "type": "string"
  13172. },
  13173. "applystatus": {
  13174. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13175. "type": "integer"
  13176. },
  13177. "curdeliveryqty": {
  13178. "description": "未交收量",
  13179. "type": "integer"
  13180. },
  13181. "customername": {
  13182. "description": "采购方ID",
  13183. "type": "string"
  13184. },
  13185. "deliverygoodsid": {
  13186. "description": "品种ID",
  13187. "type": "string"
  13188. },
  13189. "deliveryqty": {
  13190. "description": "交收量",
  13191. "type": "integer"
  13192. },
  13193. "enumdicname": {
  13194. "description": "单位名称",
  13195. "type": "string"
  13196. },
  13197. "matchaccountid": {
  13198. "description": "业务员ID",
  13199. "type": "string"
  13200. },
  13201. "matchcustomername": {
  13202. "description": "销售方ID",
  13203. "type": "string"
  13204. },
  13205. "pricedqty": {
  13206. "description": "定价量",
  13207. "type": "number"
  13208. },
  13209. "signdate": {
  13210. "description": "签订日期",
  13211. "type": "string"
  13212. },
  13213. "spotcontractid": {
  13214. "description": "合同ID",
  13215. "type": "string"
  13216. },
  13217. "totaldqty": {
  13218. "description": "合同量",
  13219. "type": "number"
  13220. },
  13221. "unpricedqty": {
  13222. "description": "未定价量",
  13223. "type": "number"
  13224. },
  13225. "wrstandardname": {
  13226. "description": "商品名称",
  13227. "type": "string"
  13228. }
  13229. }
  13230. },
  13231. "erms3.QryPendingBizRsp": {
  13232. "$ref": "#/definitions/models.PendingAuditBizModel"
  13233. },
  13234. "erms3.QueryBusinessInfoRsp": {
  13235. "type": "object",
  13236. "properties": {
  13237. "businessid": {
  13238. "description": "业务ID.",
  13239. "type": "integer"
  13240. },
  13241. "buyamount": {
  13242. "description": "采购额.",
  13243. "type": "number"
  13244. },
  13245. "buyqty": {
  13246. "description": "采购量.",
  13247. "type": "string"
  13248. },
  13249. "futurepl": {
  13250. "description": "期货盈亏.",
  13251. "type": "number"
  13252. },
  13253. "futureqty": {
  13254. "description": "期货敞口.",
  13255. "type": "string"
  13256. },
  13257. "goodsid": {
  13258. "description": "商品名称/商品代码.",
  13259. "type": "string"
  13260. },
  13261. "hedgingqty": {
  13262. "description": "套保量.",
  13263. "type": "string"
  13264. },
  13265. "sellamount": {
  13266. "description": "销售额.",
  13267. "type": "number"
  13268. },
  13269. "sellqty": {
  13270. "description": "销售量.",
  13271. "type": "string"
  13272. },
  13273. "spotmarketvalue": {
  13274. "description": "现货市值.",
  13275. "type": "number"
  13276. },
  13277. "spotpl": {
  13278. "description": "浮动权益.",
  13279. "type": "number"
  13280. },
  13281. "spotqty": {
  13282. "description": "现货量.",
  13283. "type": "string"
  13284. },
  13285. "statu": {
  13286. "description": "状态,0-未结束 1-已结束.",
  13287. "type": "integer"
  13288. },
  13289. "totalpl": {
  13290. "description": "总盈亏.",
  13291. "type": "number"
  13292. },
  13293. "totalqty": {
  13294. "description": "总敞口.",
  13295. "type": "string"
  13296. },
  13297. "type": {
  13298. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  13299. "type": "integer"
  13300. }
  13301. }
  13302. },
  13303. "erms3.QuerySpotContractAppleFormRsp": {
  13304. "type": "object",
  13305. "properties": {
  13306. "goodses": {
  13307. "description": "合约列表",
  13308. "type": "array",
  13309. "items": {
  13310. "$ref": "#/definitions/models.GoodsIDAndName"
  13311. }
  13312. },
  13313. "oppositeusers": {
  13314. "description": "对方账号列表",
  13315. "type": "array",
  13316. "items": {
  13317. "$ref": "#/definitions/erms3.CustomerInfo"
  13318. }
  13319. },
  13320. "ouruser": {
  13321. "description": "我方账号",
  13322. "type": "object",
  13323. "$ref": "#/definitions/erms3.CustomerInfo"
  13324. },
  13325. "warehouseinfos": {
  13326. "description": "仓库信息列表",
  13327. "type": "array",
  13328. "items": {
  13329. "$ref": "#/definitions/models.Warehouseinfo"
  13330. }
  13331. },
  13332. "wrstandards": {
  13333. "description": "仓单标准列表",
  13334. "type": "array",
  13335. "items": {
  13336. "$ref": "#/definitions/models.WRStandardInfo"
  13337. }
  13338. }
  13339. }
  13340. },
  13341. "erms3.QuerySpotContractInfoRsp": {
  13342. "type": "object",
  13343. "properties": {
  13344. "accountid": {
  13345. "description": "表示交易员ID.",
  13346. "type": "integer"
  13347. },
  13348. "curdeliveryqty": {
  13349. "description": "表示未交收量.",
  13350. "type": "number"
  13351. },
  13352. "customername": {
  13353. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  13354. "type": "string"
  13355. },
  13356. "deliverygoodsid": {
  13357. "description": "表示品种ID.",
  13358. "type": "string"
  13359. },
  13360. "deliveryqty": {
  13361. "description": "表示交收量.",
  13362. "type": "number"
  13363. },
  13364. "matchaccountid": {
  13365. "description": "表示业务员ID.",
  13366. "type": "integer"
  13367. },
  13368. "matchcustomername": {
  13369. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  13370. "type": "string"
  13371. },
  13372. "priceqty": {
  13373. "description": "表示定价量.",
  13374. "type": "number"
  13375. },
  13376. "relatedbizid": {
  13377. "description": "表示业务ID.",
  13378. "type": "string"
  13379. },
  13380. "signdate": {
  13381. "description": "表示签订日期.",
  13382. "type": "string"
  13383. },
  13384. "spotcontractid": {
  13385. "description": "合同ID",
  13386. "type": "string"
  13387. },
  13388. "status": {
  13389. "description": "表示状态,0-履约中 1-已完成.",
  13390. "type": "integer"
  13391. },
  13392. "totalqty": {
  13393. "description": "表示合同量.",
  13394. "type": "number"
  13395. },
  13396. "unpricedqty": {
  13397. "description": "表示未定价量.",
  13398. "type": "number"
  13399. },
  13400. "wrstandardname": {
  13401. "description": "表示商品ID.",
  13402. "type": "string"
  13403. }
  13404. }
  13405. },
  13406. "erms3.QueryUserInfoAppliesRsp": {
  13407. "type": "object",
  13408. "required": [
  13409. "userid"
  13410. ],
  13411. "properties": {
  13412. "biznature": {
  13413. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13414. "type": "integer"
  13415. },
  13416. "contactname": {
  13417. "description": "联系人",
  13418. "type": "string"
  13419. },
  13420. "createtime": {
  13421. "description": "开户申请时间",
  13422. "type": "string"
  13423. },
  13424. "userid": {
  13425. "description": "用户ID(自增ID)",
  13426. "type": "integer"
  13427. },
  13428. "userinfotype": {
  13429. "description": "用户信息类型 - 1:个人 2:企业",
  13430. "type": "integer"
  13431. },
  13432. "username": {
  13433. "description": "用户姓名",
  13434. "type": "string"
  13435. },
  13436. "userstate": {
  13437. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13438. "type": "integer"
  13439. }
  13440. }
  13441. },
  13442. "erms3.QueryUserInfosRsp": {
  13443. "type": "object",
  13444. "required": [
  13445. "userid"
  13446. ],
  13447. "properties": {
  13448. "biznature": {
  13449. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13450. "type": "integer"
  13451. },
  13452. "contactname": {
  13453. "description": "联系人",
  13454. "type": "string"
  13455. },
  13456. "customername": {
  13457. "description": "客户名称(企业名称)",
  13458. "type": "string"
  13459. },
  13460. "userid": {
  13461. "description": "用户ID",
  13462. "type": "integer"
  13463. },
  13464. "userinfotype": {
  13465. "description": "用户信息类型 - 1:个人 2:企业",
  13466. "type": "integer"
  13467. },
  13468. "userstatus": {
  13469. "description": "用户状态 - 1:正常 2:注销",
  13470. "type": "integer"
  13471. }
  13472. }
  13473. },
  13474. "erms3.SoptContractDetail": {
  13475. "type": "object",
  13476. "required": [
  13477. "deliverygoodsid",
  13478. "producttype",
  13479. "unitname",
  13480. "warehouseid",
  13481. "wrstandardid",
  13482. "wrstandardname"
  13483. ],
  13484. "properties": {
  13485. "deliverygoodsdesc": {
  13486. "description": "现货品种说明",
  13487. "type": "string"
  13488. },
  13489. "deliverygoodsid": {
  13490. "description": "现货品种ID",
  13491. "type": "integer"
  13492. },
  13493. "deliverygoodsname": {
  13494. "description": "现货品种名称",
  13495. "type": "string"
  13496. },
  13497. "pointdesc": {
  13498. "description": "点价描述",
  13499. "type": "string"
  13500. },
  13501. "producttype": {
  13502. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  13503. "type": "integer"
  13504. },
  13505. "producttypename": {
  13506. "description": "产品类型名称",
  13507. "type": "string"
  13508. },
  13509. "spotPointOrderVoList": {
  13510. "description": "点价列表",
  13511. "type": "array",
  13512. "items": {
  13513. "$ref": "#/definitions/erms3.SpotPointOrder"
  13514. }
  13515. },
  13516. "spotPriceOrderList": {
  13517. "description": "定价列表",
  13518. "type": "array",
  13519. "items": {
  13520. "$ref": "#/definitions/erms3.SpotPriceOrder"
  13521. }
  13522. },
  13523. "unitname": {
  13524. "description": "单位名称",
  13525. "type": "string"
  13526. },
  13527. "warehouseid": {
  13528. "description": "仓库ID",
  13529. "type": "integer"
  13530. },
  13531. "warehousename": {
  13532. "description": "仓库名称",
  13533. "type": "string"
  13534. },
  13535. "wrstandardid": {
  13536. "description": "交易标的ID",
  13537. "type": "integer"
  13538. },
  13539. "wrstandardname": {
  13540. "description": "交易标的名称",
  13541. "type": "string"
  13542. }
  13543. }
  13544. },
  13545. "erms3.SpotPointOrder": {
  13546. "type": "object",
  13547. "required": [
  13548. "basic",
  13549. "goodsid",
  13550. "qty"
  13551. ],
  13552. "properties": {
  13553. "basic": {
  13554. "description": "基差",
  13555. "type": "number"
  13556. },
  13557. "deliveryenddate": {
  13558. "description": "交收结束日期",
  13559. "type": "string"
  13560. },
  13561. "deliverystartdate": {
  13562. "description": "交收开始日期",
  13563. "type": "string"
  13564. },
  13565. "enddate": {
  13566. "description": "点价结束日期",
  13567. "type": "string"
  13568. },
  13569. "goodsid": {
  13570. "description": "商品ID",
  13571. "type": "integer"
  13572. },
  13573. "goodsname": {
  13574. "description": "商品名称",
  13575. "type": "string"
  13576. },
  13577. "qty": {
  13578. "description": "数量",
  13579. "type": "number"
  13580. },
  13581. "startdate": {
  13582. "description": "点价开始日期",
  13583. "type": "string"
  13584. }
  13585. }
  13586. },
  13587. "erms3.SpotPriceOrder": {
  13588. "type": "object",
  13589. "required": [
  13590. "amount",
  13591. "price",
  13592. "qty"
  13593. ],
  13594. "properties": {
  13595. "amount": {
  13596. "description": "金额",
  13597. "type": "number"
  13598. },
  13599. "deliveryenddate": {
  13600. "description": "交收结束日期",
  13601. "type": "string"
  13602. },
  13603. "deliverystartdate": {
  13604. "description": "交收开始日期",
  13605. "type": "string"
  13606. },
  13607. "price": {
  13608. "description": "价格",
  13609. "type": "number"
  13610. },
  13611. "qty": {
  13612. "description": "数量",
  13613. "type": "number"
  13614. }
  13615. }
  13616. },
  13617. "hsby.GetHsbyMyCountRsp": {
  13618. "type": "object",
  13619. "properties": {
  13620. "myCouponCount": {
  13621. "description": "我的优惠卷数量",
  13622. "type": "integer"
  13623. },
  13624. "myOrderDetailListingCount": {
  13625. "description": "我的订单求购中数量",
  13626. "type": "integer"
  13627. },
  13628. "myOrderDetailPreCount": {
  13629. "description": "我的订单抢购中数量",
  13630. "type": "integer"
  13631. },
  13632. "myPackageUnReceiveCount": {
  13633. "description": "我的包裹待收货数量",
  13634. "type": "integer"
  13635. },
  13636. "myPackageUnSendCount": {
  13637. "description": "我的包裹待发货数量",
  13638. "type": "integer"
  13639. },
  13640. "myPayOrderCount": {
  13641. "description": "我的订单待付款数量",
  13642. "type": "integer"
  13643. }
  13644. }
  13645. },
  13646. "hsby.QueryProvincesAndCitiesRsp": {
  13647. "type": "object",
  13648. "properties": {
  13649. "cities": {
  13650. "description": "市",
  13651. "type": "array",
  13652. "items": {
  13653. "$ref": "#/definitions/models.Division"
  13654. }
  13655. },
  13656. "province": {
  13657. "description": "省",
  13658. "type": "object",
  13659. "$ref": "#/definitions/models.Division"
  13660. }
  13661. }
  13662. },
  13663. "models.AreaSpotModel": {
  13664. "type": "object",
  13665. "properties": {
  13666. "areauserid": {
  13667. "description": "所属机构",
  13668. "type": "integer"
  13669. },
  13670. "decreaseqty": {
  13671. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13672. "type": "number"
  13673. },
  13674. "increaseqty": {
  13675. "description": "增加数量=销售计划数量+采购已定价数量",
  13676. "type": "number"
  13677. },
  13678. "oritoalspotqty": {
  13679. "description": "昨日数量",
  13680. "type": "number"
  13681. },
  13682. "totalspotqty": {
  13683. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13684. "type": "number"
  13685. },
  13686. "updatetime": {
  13687. "description": "更新时间",
  13688. "type": "string"
  13689. },
  13690. "wrstandardcode": {
  13691. "description": "现货品种代码",
  13692. "type": "string"
  13693. },
  13694. "wrstandardid": {
  13695. "description": "现货商品ID",
  13696. "type": "integer"
  13697. },
  13698. "wrstandardname": {
  13699. "description": "现货品种",
  13700. "type": "string"
  13701. }
  13702. }
  13703. },
  13704. "models.Arearole": {
  13705. "type": "object",
  13706. "required": [
  13707. "roletype",
  13708. "userid"
  13709. ],
  13710. "properties": {
  13711. "createtime": {
  13712. "description": "创建时间",
  13713. "type": "string"
  13714. },
  13715. "creatorid": {
  13716. "description": "创建人ID",
  13717. "type": "integer"
  13718. },
  13719. "fromuserid": {
  13720. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  13721. "type": "integer"
  13722. },
  13723. "isreturnscore": {
  13724. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  13725. "type": "integer"
  13726. },
  13727. "modifierid": {
  13728. "description": "修改人ID",
  13729. "type": "integer"
  13730. },
  13731. "modifytime": {
  13732. "description": "修改时间",
  13733. "type": "string"
  13734. },
  13735. "orgtype": {
  13736. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  13737. "type": "integer"
  13738. },
  13739. "outuserid": {
  13740. "description": "外部账户[场外期权做市商]",
  13741. "type": "string"
  13742. },
  13743. "parentuserid": {
  13744. "description": "上级组织机构(组织机构)",
  13745. "type": "integer"
  13746. },
  13747. "roletype": {
  13748. "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:门店",
  13749. "type": "integer"
  13750. },
  13751. "rootuserid": {
  13752. "description": "顶级组织机构用户ID(组织机构)",
  13753. "type": "integer"
  13754. },
  13755. "shoppassword": {
  13756. "description": "商城店铺登陆密码(商城店铺角色使用)",
  13757. "type": "string"
  13758. },
  13759. "sublevelpath": {
  13760. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  13761. "type": "string"
  13762. },
  13763. "suborgtype": {
  13764. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  13765. "type": "integer"
  13766. },
  13767. "tradeaccountid": {
  13768. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  13769. "type": "integer"
  13770. },
  13771. "transurl": {
  13772. "description": "物流地址(物流机构)",
  13773. "type": "string"
  13774. },
  13775. "userid": {
  13776. "description": "机构用户ID其他做市关系,都设置为 1",
  13777. "type": "integer"
  13778. }
  13779. }
  13780. },
  13781. "models.Clientfixedadconfig": {
  13782. "type": "object",
  13783. "required": [
  13784. "adsort",
  13785. "adtype"
  13786. ],
  13787. "properties": {
  13788. "adsort": {
  13789. "description": "排序",
  13790. "type": "integer"
  13791. },
  13792. "adtype": {
  13793. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13794. "type": "integer"
  13795. },
  13796. "areauserid": {
  13797. "description": "所属机构ID",
  13798. "type": "integer"
  13799. },
  13800. "createdate": {
  13801. "description": "创建时间",
  13802. "type": "string"
  13803. },
  13804. "creatorid": {
  13805. "description": "创建人",
  13806. "type": "integer"
  13807. },
  13808. "imagepath": {
  13809. "description": "图片",
  13810. "type": "string"
  13811. },
  13812. "isshow": {
  13813. "description": "是否展示 - 0:不展示 1:展示",
  13814. "type": "integer"
  13815. },
  13816. "modifierid": {
  13817. "description": "操作人",
  13818. "type": "integer"
  13819. },
  13820. "recsize": {
  13821. "description": "推荐尺寸",
  13822. "type": "string"
  13823. },
  13824. "title": {
  13825. "description": "标题",
  13826. "type": "string"
  13827. },
  13828. "updatedate": {
  13829. "description": "更新时间",
  13830. "type": "string"
  13831. },
  13832. "urlcontent": {
  13833. "description": "链接(地址或商品ID)",
  13834. "type": "string"
  13835. },
  13836. "urltype": {
  13837. "description": "链接类型 - 1:直接地址 2:商品ID",
  13838. "type": "integer"
  13839. }
  13840. }
  13841. },
  13842. "models.Division": {
  13843. "type": "object",
  13844. "required": [
  13845. "autoid",
  13846. "divisioncode"
  13847. ],
  13848. "properties": {
  13849. "autoid": {
  13850. "description": "自增ID",
  13851. "type": "integer"
  13852. },
  13853. "divisioncode": {
  13854. "description": "行政代码",
  13855. "type": "string"
  13856. },
  13857. "divisionlevel": {
  13858. "description": "行政级别",
  13859. "type": "string"
  13860. },
  13861. "divisionname": {
  13862. "description": "行政名称",
  13863. "type": "string"
  13864. },
  13865. "modifierid": {
  13866. "description": "修改人",
  13867. "type": "integer"
  13868. },
  13869. "modifytime": {
  13870. "description": "修改时间",
  13871. "type": "string"
  13872. },
  13873. "parentcode": {
  13874. "description": "上级行政代码",
  13875. "type": "string"
  13876. },
  13877. "pathname": {
  13878. "description": "路径名称",
  13879. "type": "string"
  13880. },
  13881. "postcode": {
  13882. "description": "邮政编码",
  13883. "type": "string"
  13884. },
  13885. "separablename": {
  13886. "description": "可拆分的全称",
  13887. "type": "string"
  13888. },
  13889. "shortcode": {
  13890. "description": "地区简码",
  13891. "type": "string"
  13892. }
  13893. }
  13894. },
  13895. "models.Enumdicitem": {
  13896. "type": "object",
  13897. "required": [
  13898. "autoid",
  13899. "enumdiccode",
  13900. "enumdicid",
  13901. "enumitemname"
  13902. ],
  13903. "properties": {
  13904. "autoid": {
  13905. "description": "自增ID",
  13906. "type": "integer"
  13907. },
  13908. "bankmappedvalue": {
  13909. "description": "银行服务对应值",
  13910. "type": "string"
  13911. },
  13912. "enumdiccode": {
  13913. "description": "所属枚举代码",
  13914. "type": "string"
  13915. },
  13916. "enumdicid": {
  13917. "description": "所属枚举ID",
  13918. "type": "integer"
  13919. },
  13920. "enumdicname": {
  13921. "description": "枚举项名称",
  13922. "type": "string"
  13923. },
  13924. "enumitemname": {
  13925. "description": "枚举项值",
  13926. "type": "integer"
  13927. },
  13928. "enumitemstatus": {
  13929. "description": "枚举项状态 - 1.启用 2.不启用",
  13930. "type": "integer"
  13931. },
  13932. "enumitemvalue": {
  13933. "description": "通用值 - [币种通用简写]",
  13934. "type": "string"
  13935. },
  13936. "param1": {
  13937. "description": "参数1[币种:币种小数位]",
  13938. "type": "string"
  13939. },
  13940. "param2": {
  13941. "description": "参数1[币种:币种显示单位]",
  13942. "type": "string"
  13943. },
  13944. "remark": {
  13945. "description": "备注",
  13946. "type": "string"
  13947. }
  13948. }
  13949. },
  13950. "models.Ermcp3AreaSpot": {
  13951. "type": "object",
  13952. "properties": {
  13953. "areauserid": {
  13954. "description": "所属机构",
  13955. "type": "integer"
  13956. },
  13957. "decreaseqty": {
  13958. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13959. "type": "number"
  13960. },
  13961. "deliverygoodscode": {
  13962. "description": "现货品种代码",
  13963. "type": "string"
  13964. },
  13965. "deliverygoodsid": {
  13966. "description": "现货品种id",
  13967. "type": "integer"
  13968. },
  13969. "deliverygoodsname": {
  13970. "description": "现货品种名称",
  13971. "type": "string"
  13972. },
  13973. "enumdicname": {
  13974. "description": "单位名称",
  13975. "type": "string"
  13976. },
  13977. "goodsunitid": {
  13978. "description": "现货品种单位id",
  13979. "type": "integer"
  13980. },
  13981. "increaseqty": {
  13982. "description": "增加数量=销售计划数量+采购已定价数量",
  13983. "type": "number"
  13984. },
  13985. "oritoalspotqty": {
  13986. "description": "昨日数量",
  13987. "type": "number"
  13988. },
  13989. "totalspotqty": {
  13990. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13991. "type": "number"
  13992. },
  13993. "updatetime": {
  13994. "description": "更新时间",
  13995. "type": "string"
  13996. }
  13997. }
  13998. },
  13999. "models.Ermcp3AreaSpotDetail": {
  14000. "type": "object",
  14001. "properties": {
  14002. "contracttype": {
  14003. "description": "合同类型 1-采购 -1-销售",
  14004. "type": "integer"
  14005. },
  14006. "createtime": {
  14007. "description": "创建时间",
  14008. "type": "string"
  14009. },
  14010. "deliverygoodscode": {
  14011. "description": "现货品种代码",
  14012. "type": "string"
  14013. },
  14014. "deliverygoodsid": {
  14015. "description": "现货品种id",
  14016. "type": "integer"
  14017. },
  14018. "deliverygoodsname": {
  14019. "description": "现货品种名称",
  14020. "type": "string"
  14021. },
  14022. "enumdicname": {
  14023. "description": "现货商品单位名称",
  14024. "type": "string"
  14025. },
  14026. "logtype": {
  14027. "description": "记录类型 1-套保 2-现货合同",
  14028. "type": "integer"
  14029. },
  14030. "qty": {
  14031. "description": "数量",
  14032. "type": "number"
  14033. },
  14034. "recordname": {
  14035. "description": "类型名称",
  14036. "type": "string"
  14037. },
  14038. "relatedid": {
  14039. "description": "套保计划ID/现货合同ID",
  14040. "type": "string"
  14041. },
  14042. "relatedno": {
  14043. "description": "编号",
  14044. "type": "string"
  14045. },
  14046. "strtime": {
  14047. "description": "时间",
  14048. "type": "string"
  14049. }
  14050. }
  14051. },
  14052. "models.Ermcp3AreaSpotPLReport": {
  14053. "type": "object",
  14054. "properties": {
  14055. "accountid": {
  14056. "description": "期货账户ID (作废, 默认为0)",
  14057. "type": "integer"
  14058. },
  14059. "accountname": {
  14060. "description": "机构名称",
  14061. "type": "string"
  14062. },
  14063. "actualpl": {
  14064. "description": "现货损益",
  14065. "type": "number"
  14066. },
  14067. "areauserid": {
  14068. "description": "所属机构\\交易用户ID",
  14069. "type": "integer"
  14070. },
  14071. "begindate": {
  14072. "description": "开始交易日",
  14073. "type": "string"
  14074. },
  14075. "biztype": {
  14076. "description": "业务类型 - 1:套保 2:套利",
  14077. "type": "integer"
  14078. },
  14079. "brandname": {
  14080. "description": "品牌名称",
  14081. "type": "string"
  14082. },
  14083. "curamount": {
  14084. "description": "期末额",
  14085. "type": "number"
  14086. },
  14087. "curaverageprice": {
  14088. "description": "期末均价",
  14089. "type": "number"
  14090. },
  14091. "curbuyamount": {
  14092. "description": "期末采购总额",
  14093. "type": "number"
  14094. },
  14095. "curbuyqty": {
  14096. "description": "期末采购总量",
  14097. "type": "number"
  14098. },
  14099. "curmarketvalue": {
  14100. "description": "参考市值(期末市值)",
  14101. "type": "number"
  14102. },
  14103. "curqty": {
  14104. "description": "期末量",
  14105. "type": "number"
  14106. },
  14107. "currencyid": {
  14108. "description": "结算币种ID【原值】",
  14109. "type": "integer"
  14110. },
  14111. "currencyname": {
  14112. "description": "币种名称",
  14113. "type": "string"
  14114. },
  14115. "cursellamount": {
  14116. "description": "期末销售总额",
  14117. "type": "number"
  14118. },
  14119. "cursellqty": {
  14120. "description": "期末销售总量",
  14121. "type": "number"
  14122. },
  14123. "curspotprice": {
  14124. "description": "参考市价(最新价)",
  14125. "type": "number"
  14126. },
  14127. "cycletime": {
  14128. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14129. "type": "string"
  14130. },
  14131. "cycletype": {
  14132. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14133. "type": "integer"
  14134. },
  14135. "deliverygoodscode": {
  14136. "description": "现货商品代码",
  14137. "type": "string"
  14138. },
  14139. "deliverygoodsid": {
  14140. "description": "现货品种ID",
  14141. "type": "integer"
  14142. },
  14143. "deliverygoodsname": {
  14144. "description": "现货商品名称",
  14145. "type": "string"
  14146. },
  14147. "enddate": {
  14148. "description": "结束交易日",
  14149. "type": "string"
  14150. },
  14151. "enumdicname": {
  14152. "description": "现货商品单位名称",
  14153. "type": "string"
  14154. },
  14155. "floatpl": {
  14156. "description": "浮动损益",
  14157. "type": "number"
  14158. },
  14159. "goodsunitid": {
  14160. "description": "现货商品单位id",
  14161. "type": "integer"
  14162. },
  14163. "oriamount": {
  14164. "description": "期初额",
  14165. "type": "number"
  14166. },
  14167. "oriaverageprice": {
  14168. "description": "期初均价",
  14169. "type": "number"
  14170. },
  14171. "oribuyamount": {
  14172. "description": "期初采购总额",
  14173. "type": "number"
  14174. },
  14175. "oribuyqty": {
  14176. "description": "期初采购总量",
  14177. "type": "number"
  14178. },
  14179. "oriqty": {
  14180. "description": "期初量",
  14181. "type": "number"
  14182. },
  14183. "orisellamount": {
  14184. "description": "期初销售总额",
  14185. "type": "number"
  14186. },
  14187. "orisellqty": {
  14188. "description": "期初销售总量",
  14189. "type": "number"
  14190. },
  14191. "reckondate": {
  14192. "description": "日照时期(yyyyMMdd)",
  14193. "type": "string"
  14194. },
  14195. "spotgoodsbrandid": {
  14196. "description": "现货品牌ID",
  14197. "type": "integer"
  14198. },
  14199. "todaybuyamount": {
  14200. "description": "今日采购额(今采购额)",
  14201. "type": "number"
  14202. },
  14203. "todaybuyaverageprice": {
  14204. "description": "今日采购均价",
  14205. "type": "number"
  14206. },
  14207. "todaybuyqty": {
  14208. "description": "今日采购量(今采购量)",
  14209. "type": "number"
  14210. },
  14211. "todayinqty": {
  14212. "description": "今日入库量(今入库量)",
  14213. "type": "number"
  14214. },
  14215. "todayoutqty": {
  14216. "description": "今日出库量(今出库量)",
  14217. "type": "number"
  14218. },
  14219. "todaysellamount": {
  14220. "description": "今日销售额(今销售额)",
  14221. "type": "number"
  14222. },
  14223. "todaysellaverageprice": {
  14224. "description": "今日销售均价",
  14225. "type": "number"
  14226. },
  14227. "todaysellqty": {
  14228. "description": "今日销售量(今销售量)",
  14229. "type": "number"
  14230. },
  14231. "unitid": {
  14232. "description": "品类单位id",
  14233. "type": "integer"
  14234. },
  14235. "unitidname": {
  14236. "description": "品类单位名称",
  14237. "type": "string"
  14238. },
  14239. "updatetime": {
  14240. "description": "更新时间",
  14241. "type": "string"
  14242. },
  14243. "wrfactortypeid": {
  14244. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14245. "type": "integer"
  14246. },
  14247. "wrstandardcode": {
  14248. "description": "品类代码",
  14249. "type": "string"
  14250. },
  14251. "wrstandardid": {
  14252. "description": "现货品类ID",
  14253. "type": "integer"
  14254. },
  14255. "wrstandardname": {
  14256. "description": "品类名称",
  14257. "type": "string"
  14258. }
  14259. }
  14260. },
  14261. "models.Ermcp3AreaStock": {
  14262. "type": "object",
  14263. "required": [
  14264. "userid"
  14265. ],
  14266. "properties": {
  14267. "brandname": {
  14268. "description": "品牌名称",
  14269. "type": "string"
  14270. },
  14271. "curstock": {
  14272. "description": "期末库存量(今日量)",
  14273. "type": "number"
  14274. },
  14275. "deliverygoodscode": {
  14276. "description": "现货品种代码",
  14277. "type": "string"
  14278. },
  14279. "deliverygoodsid": {
  14280. "description": "现货品种id",
  14281. "type": "integer"
  14282. },
  14283. "deliverygoodsname": {
  14284. "description": "现货品种名称",
  14285. "type": "string"
  14286. },
  14287. "enumdicname": {
  14288. "description": "单位名称",
  14289. "type": "string"
  14290. },
  14291. "goodsunitid": {
  14292. "description": "现货商品单位id",
  14293. "type": "integer"
  14294. },
  14295. "oristock": {
  14296. "description": "期初库存量(昨日量)",
  14297. "type": "number"
  14298. },
  14299. "spotgoodsbrandid": {
  14300. "description": "现货品牌ID",
  14301. "type": "integer"
  14302. },
  14303. "todaybuyinqty": {
  14304. "description": "今日采购入库量",
  14305. "type": "number"
  14306. },
  14307. "todayproduceinqty": {
  14308. "description": "今日生产入库量",
  14309. "type": "number"
  14310. },
  14311. "todayproduceoutqty": {
  14312. "description": "今日生产出库量",
  14313. "type": "number"
  14314. },
  14315. "todayselloutqty": {
  14316. "description": "今日销售出库量",
  14317. "type": "number"
  14318. },
  14319. "unitid": {
  14320. "description": "单位id",
  14321. "type": "integer"
  14322. },
  14323. "updatetime": {
  14324. "description": "更新时间",
  14325. "type": "string"
  14326. },
  14327. "userid": {
  14328. "description": "机构ID",
  14329. "type": "integer"
  14330. },
  14331. "username": {
  14332. "description": "机构名称",
  14333. "type": "string"
  14334. },
  14335. "warehousecode": {
  14336. "description": "仓库代码",
  14337. "type": "string"
  14338. },
  14339. "warehouseinfoid": {
  14340. "description": "仓库ID",
  14341. "type": "string"
  14342. },
  14343. "warehousename": {
  14344. "description": "仓库名称",
  14345. "type": "string"
  14346. },
  14347. "warehousetype": {
  14348. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14349. "type": "integer"
  14350. },
  14351. "wrstandardcode": {
  14352. "description": "品类代码",
  14353. "type": "string"
  14354. },
  14355. "wrstandardid": {
  14356. "description": "品类ID",
  14357. "type": "string"
  14358. },
  14359. "wrstandardname": {
  14360. "description": "品类名称",
  14361. "type": "string"
  14362. }
  14363. }
  14364. },
  14365. "models.Ermcp3AreaStockApply": {
  14366. "type": "object",
  14367. "properties": {
  14368. "applyid": {
  14369. "description": "申请人",
  14370. "type": "integer"
  14371. },
  14372. "applyname": {
  14373. "description": "申请人名称",
  14374. "type": "string"
  14375. },
  14376. "applyremark": {
  14377. "description": "申请备注",
  14378. "type": "string"
  14379. },
  14380. "applysrc": {
  14381. "description": "申请来源 - 1:管理端 2:终端",
  14382. "type": "integer"
  14383. },
  14384. "applystatus": {
  14385. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14386. "type": "integer"
  14387. },
  14388. "applytime": {
  14389. "description": "申请时间",
  14390. "type": "string"
  14391. },
  14392. "auditid": {
  14393. "description": "审核人",
  14394. "type": "integer"
  14395. },
  14396. "auditname": {
  14397. "description": "审核人名称",
  14398. "type": "string"
  14399. },
  14400. "auditremark": {
  14401. "description": "审核备注",
  14402. "type": "string"
  14403. },
  14404. "auditsrc": {
  14405. "description": "审核来源 - 1:管理端 2:终端",
  14406. "type": "integer"
  14407. },
  14408. "audittime": {
  14409. "description": "审核时间",
  14410. "type": "string"
  14411. },
  14412. "audittradedate": {
  14413. "description": "审核交易日(yyyyMMdd)",
  14414. "type": "string"
  14415. },
  14416. "brandname": {
  14417. "description": "品牌名称",
  14418. "type": "string"
  14419. },
  14420. "buynickname": {
  14421. "description": "采购方昵称",
  14422. "type": "string"
  14423. },
  14424. "buyuserid": {
  14425. "description": "采购方userid",
  14426. "type": "integer"
  14427. },
  14428. "buyusername": {
  14429. "description": "采购方名称",
  14430. "type": "string"
  14431. },
  14432. "contractno": {
  14433. "description": "合同编号",
  14434. "type": "string"
  14435. },
  14436. "contractqty": {
  14437. "description": "合同量",
  14438. "type": "number"
  14439. },
  14440. "contracttype": {
  14441. "description": "现货合同类型 - 1:采购 -1:销售",
  14442. "type": "integer"
  14443. },
  14444. "deliverygoodscode": {
  14445. "description": "现货品种代码",
  14446. "type": "string"
  14447. },
  14448. "deliverygoodsid": {
  14449. "description": "现货品种id",
  14450. "type": "integer"
  14451. },
  14452. "deliverygoodsname": {
  14453. "description": "现货品种名称",
  14454. "type": "string"
  14455. },
  14456. "detailjson": {
  14457. "description": "明细数据",
  14458. "type": "string"
  14459. },
  14460. "enumdicname": {
  14461. "description": "现货商品单位名称",
  14462. "type": "string"
  14463. },
  14464. "inoutapplyid": {
  14465. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  14466. "type": "string"
  14467. },
  14468. "inouttype": {
  14469. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  14470. "type": "integer"
  14471. },
  14472. "pricetype": {
  14473. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14474. "type": "integer"
  14475. },
  14476. "qty": {
  14477. "description": "数量",
  14478. "type": "number"
  14479. },
  14480. "sellnickname": {
  14481. "description": "销售方昵称",
  14482. "type": "string"
  14483. },
  14484. "selluserid": {
  14485. "description": "销售方userid",
  14486. "type": "integer"
  14487. },
  14488. "sellusername": {
  14489. "description": "销售方名称",
  14490. "type": "string"
  14491. },
  14492. "spotcontractid": {
  14493. "description": "关联现货合同ID",
  14494. "type": "string"
  14495. },
  14496. "spotgoodsbrandid": {
  14497. "description": "现货品牌ID",
  14498. "type": "integer"
  14499. },
  14500. "unitid": {
  14501. "description": "单位id",
  14502. "type": "integer"
  14503. },
  14504. "userid": {
  14505. "description": "机构ID",
  14506. "type": "integer"
  14507. },
  14508. "warehousecode": {
  14509. "description": "仓库代码",
  14510. "type": "string"
  14511. },
  14512. "warehouseinfoid": {
  14513. "description": "现货仓库ID",
  14514. "type": "string"
  14515. },
  14516. "warehousename": {
  14517. "description": "仓库名称",
  14518. "type": "string"
  14519. },
  14520. "warehousetype": {
  14521. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14522. "type": "integer"
  14523. },
  14524. "wrstandardcode": {
  14525. "description": "品类代码",
  14526. "type": "string"
  14527. },
  14528. "wrstandardid": {
  14529. "description": "品类ID",
  14530. "type": "integer"
  14531. },
  14532. "wrstandardname": {
  14533. "description": "品类名称",
  14534. "type": "string"
  14535. }
  14536. }
  14537. },
  14538. "models.Ermcp3AreaStockApplySum": {
  14539. "type": "object",
  14540. "properties": {
  14541. "brandname": {
  14542. "description": "品牌名称",
  14543. "type": "string"
  14544. },
  14545. "inouttype": {
  14546. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  14547. "type": "integer"
  14548. },
  14549. "spotcontractid": {
  14550. "description": "关联现货合同ID",
  14551. "type": "string"
  14552. },
  14553. "spotgoodsbrandid": {
  14554. "description": "品牌id",
  14555. "type": "integer"
  14556. },
  14557. "totalqty": {
  14558. "description": "总数量",
  14559. "type": "number"
  14560. },
  14561. "wrstandardid": {
  14562. "description": "品类id",
  14563. "type": "integer"
  14564. },
  14565. "wrstandardname": {
  14566. "description": "品类名称",
  14567. "type": "string"
  14568. }
  14569. }
  14570. },
  14571. "models.Ermcp3AreaStockReportEx": {
  14572. "type": "object",
  14573. "properties": {
  14574. "begindate": {
  14575. "description": "开始交易日",
  14576. "type": "string"
  14577. },
  14578. "brandname": {
  14579. "description": "品牌名称",
  14580. "type": "string"
  14581. },
  14582. "curstock": {
  14583. "description": "期末库存量",
  14584. "type": "number"
  14585. },
  14586. "cycletime": {
  14587. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14588. "type": "string"
  14589. },
  14590. "cycletype": {
  14591. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14592. "type": "integer"
  14593. },
  14594. "deliverygoodscode": {
  14595. "description": "现货品种代码",
  14596. "type": "string"
  14597. },
  14598. "deliverygoodsid": {
  14599. "description": "现货品种id",
  14600. "type": "integer"
  14601. },
  14602. "deliverygoodsname": {
  14603. "description": "现货品种名称",
  14604. "type": "string"
  14605. },
  14606. "diffqty": {
  14607. "description": "库存变化量 = 期末 - 期初",
  14608. "type": "number"
  14609. },
  14610. "enddate": {
  14611. "description": "结束交易日",
  14612. "type": "string"
  14613. },
  14614. "enumdicname": {
  14615. "description": "单位名称",
  14616. "type": "string"
  14617. },
  14618. "goodsunitid": {
  14619. "description": "现货单位id",
  14620. "type": "integer"
  14621. },
  14622. "oristock": {
  14623. "description": "期初库存量",
  14624. "type": "number"
  14625. },
  14626. "reckondate": {
  14627. "description": "日照时期(yyyyMMdd)",
  14628. "type": "string"
  14629. },
  14630. "spotgoodsbrandid": {
  14631. "description": "现货品牌ID",
  14632. "type": "integer"
  14633. },
  14634. "todaybuyinqty": {
  14635. "description": "今采购入库量",
  14636. "type": "number"
  14637. },
  14638. "todayproduceinqty": {
  14639. "description": "今内部入库量",
  14640. "type": "number"
  14641. },
  14642. "todayproduceoutqty": {
  14643. "description": "今内部出库量",
  14644. "type": "number"
  14645. },
  14646. "todayselloutqty": {
  14647. "description": "今销售出库量",
  14648. "type": "number"
  14649. },
  14650. "unbuyinqty": {
  14651. "description": "采购未入库量(数据库未找到相关字段?)",
  14652. "type": "number"
  14653. },
  14654. "unitid": {
  14655. "description": "品类单位id",
  14656. "type": "integer"
  14657. },
  14658. "unselloutqty": {
  14659. "description": "销售未出库量(数据库未找到相关字段?)",
  14660. "type": "number"
  14661. },
  14662. "updatetime": {
  14663. "description": "更新时间",
  14664. "type": "string"
  14665. },
  14666. "userid": {
  14667. "description": "机构ID",
  14668. "type": "integer"
  14669. },
  14670. "username": {
  14671. "description": "机构名称",
  14672. "type": "string"
  14673. },
  14674. "warehousecode": {
  14675. "description": "仓库代码",
  14676. "type": "string"
  14677. },
  14678. "warehouseinfoid": {
  14679. "description": "仓库ID",
  14680. "type": "string"
  14681. },
  14682. "warehousename": {
  14683. "description": "仓库名称",
  14684. "type": "string"
  14685. },
  14686. "warehousetype": {
  14687. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14688. "type": "integer"
  14689. },
  14690. "wrstandardcode": {
  14691. "description": "品类代码",
  14692. "type": "string"
  14693. },
  14694. "wrstandardid": {
  14695. "description": "品类ID",
  14696. "type": "integer"
  14697. },
  14698. "wrstandardname": {
  14699. "description": "品类名称",
  14700. "type": "string"
  14701. }
  14702. }
  14703. },
  14704. "models.Ermcp3ArealSumPL": {
  14705. "type": "object",
  14706. "properties": {
  14707. "accountname": {
  14708. "description": "机构名称",
  14709. "type": "string"
  14710. },
  14711. "areauserid": {
  14712. "description": "所属机构\\交易用户ID",
  14713. "type": "integer"
  14714. },
  14715. "begindate": {
  14716. "description": "开始交易日",
  14717. "type": "string"
  14718. },
  14719. "currencyid": {
  14720. "description": "结算币种ID",
  14721. "type": "integer"
  14722. },
  14723. "currencyname": {
  14724. "description": "币种名称",
  14725. "type": "string"
  14726. },
  14727. "cycletime": {
  14728. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14729. "type": "string"
  14730. },
  14731. "cycletype": {
  14732. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14733. "type": "integer"
  14734. },
  14735. "enddate": {
  14736. "description": "结束交易日",
  14737. "type": "string"
  14738. },
  14739. "enumdicname": {
  14740. "description": "单位名称(套保品种)",
  14741. "type": "string"
  14742. },
  14743. "futureactualpl": {
  14744. "description": "期货损益",
  14745. "type": "number"
  14746. },
  14747. "futurefloatpl": {
  14748. "description": "期货浮动损益",
  14749. "type": "number"
  14750. },
  14751. "goodsunitid": {
  14752. "description": "套保品种单位id",
  14753. "type": "integer"
  14754. },
  14755. "middlegoodscode": {
  14756. "description": "套保品种代码",
  14757. "type": "string"
  14758. },
  14759. "middlegoodsid": {
  14760. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  14761. "type": "integer"
  14762. },
  14763. "middlegoodsname": {
  14764. "description": "套保品种名称",
  14765. "type": "string"
  14766. },
  14767. "reckondate": {
  14768. "description": "日照时期(yyyyMMdd)",
  14769. "type": "string"
  14770. },
  14771. "spotactualpl": {
  14772. "description": "现货损益",
  14773. "type": "number"
  14774. },
  14775. "spotfloatpl": {
  14776. "description": "现货浮动损益",
  14777. "type": "number"
  14778. },
  14779. "sumactualpl": {
  14780. "description": "实际损益 = (ActualPL + FutureActualPL)",
  14781. "type": "number"
  14782. },
  14783. "sumpl": {
  14784. "description": "汇总损益",
  14785. "type": "number"
  14786. },
  14787. "updatetime": {
  14788. "description": "更新时间",
  14789. "type": "string"
  14790. }
  14791. }
  14792. },
  14793. "models.Ermcp3Brand": {
  14794. "type": "object",
  14795. "properties": {
  14796. "areauserid": {
  14797. "description": "用户id",
  14798. "type": "integer"
  14799. },
  14800. "brandid": {
  14801. "description": "品牌id",
  14802. "type": "integer"
  14803. },
  14804. "brandname": {
  14805. "description": "品牌名称",
  14806. "type": "string"
  14807. },
  14808. "deliverygoodsid": {
  14809. "description": "品种ID",
  14810. "type": "integer"
  14811. }
  14812. }
  14813. },
  14814. "models.Ermcp3Contract": {
  14815. "type": "object",
  14816. "properties": {
  14817. "accountid": {
  14818. "description": "期货账户id",
  14819. "type": "string"
  14820. },
  14821. "amount": {
  14822. "description": "金额 [1:一口价、3:暂定价]",
  14823. "type": "number"
  14824. },
  14825. "attachment": {
  14826. "description": "附件",
  14827. "type": "string"
  14828. },
  14829. "auditremark": {
  14830. "description": "审核意见",
  14831. "type": "string"
  14832. },
  14833. "audittime": {
  14834. "description": "审核时间",
  14835. "type": "string"
  14836. },
  14837. "biztype": {
  14838. "description": "业务类型 1-套保 2-套利",
  14839. "type": "integer"
  14840. },
  14841. "brandname": {
  14842. "description": "品牌名称",
  14843. "type": "string"
  14844. },
  14845. "buynickname": {
  14846. "description": "销售方昵称",
  14847. "type": "string"
  14848. },
  14849. "buyuserid": {
  14850. "description": "采购方ID",
  14851. "type": "integer"
  14852. },
  14853. "buyusername": {
  14854. "description": "采购方名称",
  14855. "type": "string"
  14856. },
  14857. "contracctstatus": {
  14858. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14859. "type": "integer"
  14860. },
  14861. "contractmargin": {
  14862. "description": "合同保证金",
  14863. "type": "number"
  14864. },
  14865. "contractno": {
  14866. "description": "现货合同编号",
  14867. "type": "string"
  14868. },
  14869. "contracttype": {
  14870. "description": "现货合同类型 - 1:采购 -1:销售",
  14871. "type": "integer"
  14872. },
  14873. "convertfactor": {
  14874. "description": "标仓系数(品类)",
  14875. "type": "number"
  14876. },
  14877. "createtime": {
  14878. "description": "创建时间",
  14879. "type": "string"
  14880. },
  14881. "currencyid": {
  14882. "description": "币种id",
  14883. "type": "integer"
  14884. },
  14885. "currencyname": {
  14886. "description": "币种名称",
  14887. "type": "string"
  14888. },
  14889. "deliveryenddate": {
  14890. "description": "交收期(结束)",
  14891. "type": "string"
  14892. },
  14893. "deliverygoodscode": {
  14894. "description": "现货品种代码",
  14895. "type": "string"
  14896. },
  14897. "deliverygoodsid": {
  14898. "description": "现货品种ID",
  14899. "type": "integer"
  14900. },
  14901. "deliverygoodsname": {
  14902. "description": "现货品种名称",
  14903. "type": "string"
  14904. },
  14905. "deliverystartdate": {
  14906. "description": "交收期(开始)",
  14907. "type": "string"
  14908. },
  14909. "enddate": {
  14910. "description": "点价结束日期 [2:点价 3:暂定价]",
  14911. "type": "string"
  14912. },
  14913. "enumdicname": {
  14914. "description": "单位名称",
  14915. "type": "string"
  14916. },
  14917. "goodscode": {
  14918. "description": "点价合约代码",
  14919. "type": "string"
  14920. },
  14921. "goodsid": {
  14922. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14923. "type": "integer"
  14924. },
  14925. "goodsname": {
  14926. "description": "点价商品名称",
  14927. "type": "string"
  14928. },
  14929. "margin": {
  14930. "description": "当前保证金",
  14931. "type": "number"
  14932. },
  14933. "meruserid": {
  14934. "description": "跟单员id",
  14935. "type": "integer"
  14936. },
  14937. "meruserlogincode": {
  14938. "description": "跟单员登录代码",
  14939. "type": "string"
  14940. },
  14941. "price": {
  14942. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14943. "type": "number"
  14944. },
  14945. "pricemove": {
  14946. "description": "升贴水 [2:点价 3:暂定价]",
  14947. "type": "number"
  14948. },
  14949. "pricetype": {
  14950. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14951. "type": "integer"
  14952. },
  14953. "producttype": {
  14954. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14955. "type": "integer"
  14956. },
  14957. "qty": {
  14958. "description": "数量",
  14959. "type": "number"
  14960. },
  14961. "remark": {
  14962. "description": "备注",
  14963. "type": "string"
  14964. },
  14965. "saleuserid": {
  14966. "description": "业务员id",
  14967. "type": "integer"
  14968. },
  14969. "saleuserlogincode": {
  14970. "description": "业务员登录代码",
  14971. "type": "string"
  14972. },
  14973. "sellnickname": {
  14974. "description": "采购方昵称",
  14975. "type": "string"
  14976. },
  14977. "selluserid": {
  14978. "description": "销售方ID",
  14979. "type": "integer"
  14980. },
  14981. "sellusername": {
  14982. "description": "销售方名称",
  14983. "type": "string"
  14984. },
  14985. "spotcontractid": {
  14986. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14987. "type": "string"
  14988. },
  14989. "spotgoodsbrandid": {
  14990. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14991. "type": "integer"
  14992. },
  14993. "spotgoodsdesc": {
  14994. "description": "商品型号",
  14995. "type": "string"
  14996. },
  14997. "startdate": {
  14998. "description": "点价开始日期 [2:点价 3:暂定价]",
  14999. "type": "string"
  15000. },
  15001. "tradeuserid": {
  15002. "description": "交易员id",
  15003. "type": "integer"
  15004. },
  15005. "tradeuserlogincode": {
  15006. "description": "交易员登录代码",
  15007. "type": "string"
  15008. },
  15009. "tradeusername": {
  15010. "description": "交易员名称",
  15011. "type": "string"
  15012. },
  15013. "unitid": {
  15014. "description": "单位id(取品类上的单位id)",
  15015. "type": "integer"
  15016. },
  15017. "updatetime": {
  15018. "description": "更新时间",
  15019. "type": "string"
  15020. },
  15021. "userid": {
  15022. "description": "所属机构ID",
  15023. "type": "integer"
  15024. },
  15025. "wrstandardcode": {
  15026. "description": "品类代码",
  15027. "type": "string"
  15028. },
  15029. "wrstandardid": {
  15030. "description": "品类ID",
  15031. "type": "integer"
  15032. },
  15033. "wrstandardname": {
  15034. "description": "品类名称",
  15035. "type": "string"
  15036. }
  15037. }
  15038. },
  15039. "models.Ermcp3ExposureContractDetail": {
  15040. "type": "object",
  15041. "properties": {
  15042. "biztype": {
  15043. "description": "业务类型 1-套保 2-套利",
  15044. "type": "integer"
  15045. },
  15046. "brandname": {
  15047. "description": "品牌名称",
  15048. "type": "string"
  15049. },
  15050. "buyuserid": {
  15051. "description": "采购方id",
  15052. "type": "integer"
  15053. },
  15054. "buyusername": {
  15055. "description": "采购方名称",
  15056. "type": "string"
  15057. },
  15058. "contractno": {
  15059. "description": "合同编号",
  15060. "type": "string"
  15061. },
  15062. "contracttype": {
  15063. "description": "现货合同类型 - 1:采购 -1:销售",
  15064. "type": "integer"
  15065. },
  15066. "convertfactor": {
  15067. "description": "标仓系数",
  15068. "type": "number"
  15069. },
  15070. "convertratio": {
  15071. "description": "折算系数(套保品种)",
  15072. "type": "number"
  15073. },
  15074. "curqty": {
  15075. "description": "今定价量",
  15076. "type": "number"
  15077. },
  15078. "deliverygoodscode": {
  15079. "description": "现货商品代码",
  15080. "type": "string"
  15081. },
  15082. "deliverygoodsid": {
  15083. "description": "现货商品id",
  15084. "type": "integer"
  15085. },
  15086. "deliverygoodsname": {
  15087. "description": "现货商品名称",
  15088. "type": "string"
  15089. },
  15090. "diffhedgeqty": {
  15091. "description": "套保变动量",
  15092. "type": "number"
  15093. },
  15094. "diffneedhedgeqty": {
  15095. "description": "应套保变动量",
  15096. "type": "number"
  15097. },
  15098. "diffqty": {
  15099. "description": "套保品种今变动量",
  15100. "type": "number"
  15101. },
  15102. "enumdicname": {
  15103. "description": "单位名称",
  15104. "type": "string"
  15105. },
  15106. "middlegoodscode": {
  15107. "description": "套保品种代码",
  15108. "type": "string"
  15109. },
  15110. "middlegoodsid": {
  15111. "description": "套保品种id",
  15112. "type": "integer"
  15113. },
  15114. "middlegoodsname": {
  15115. "description": "套保品种名称",
  15116. "type": "string"
  15117. },
  15118. "needarbitrageratio": {
  15119. "description": "应套利比例",
  15120. "type": "number"
  15121. },
  15122. "needhedgeratio": {
  15123. "description": "应套保比例",
  15124. "type": "number"
  15125. },
  15126. "pricedqty": {
  15127. "description": "已定价量",
  15128. "type": "number"
  15129. },
  15130. "qty": {
  15131. "description": "合同量",
  15132. "type": "number"
  15133. },
  15134. "selluserid": {
  15135. "description": "销售方id",
  15136. "type": "integer"
  15137. },
  15138. "sellusername": {
  15139. "description": "销售方名称",
  15140. "type": "string"
  15141. },
  15142. "spotcontractid": {
  15143. "description": "合同id",
  15144. "type": "string"
  15145. },
  15146. "todaypricedqty": {
  15147. "description": "今定价量",
  15148. "type": "number"
  15149. },
  15150. "tradedate": {
  15151. "description": "交易日",
  15152. "type": "string"
  15153. },
  15154. "unitid": {
  15155. "description": "品类单位id",
  15156. "type": "integer"
  15157. },
  15158. "userid": {
  15159. "description": "机构id",
  15160. "type": "integer"
  15161. },
  15162. "wrstandardcode": {
  15163. "description": "品类代码",
  15164. "type": "string"
  15165. },
  15166. "wrstandardid": {
  15167. "description": "品类id",
  15168. "type": "integer"
  15169. },
  15170. "wrstandardname": {
  15171. "description": "品类名称",
  15172. "type": "string"
  15173. }
  15174. }
  15175. },
  15176. "models.Ermcp3ExposureDetail": {
  15177. "type": "object",
  15178. "properties": {
  15179. "areauserid": {
  15180. "description": "机构ID",
  15181. "type": "integer"
  15182. },
  15183. "changeQty": {
  15184. "description": "套保变动量",
  15185. "type": "number"
  15186. },
  15187. "contracttype": {
  15188. "description": "现货合同类型 - 1:采购 -1:销售",
  15189. "type": "integer"
  15190. },
  15191. "convertfactor": {
  15192. "description": "标仓系数",
  15193. "type": "number"
  15194. },
  15195. "convertratio": {
  15196. "description": "套保系数",
  15197. "type": "number"
  15198. },
  15199. "createtime": {
  15200. "description": "时间",
  15201. "type": "string"
  15202. },
  15203. "deliverygoodscode": {
  15204. "description": "现货品种代码",
  15205. "type": "string"
  15206. },
  15207. "deliverygoodsid": {
  15208. "description": "现货品种id",
  15209. "type": "integer"
  15210. },
  15211. "deliverygoodsname": {
  15212. "description": "现货品种名称",
  15213. "type": "string"
  15214. },
  15215. "enumdicname": {
  15216. "description": "现货商品单位名称",
  15217. "type": "string"
  15218. },
  15219. "logtype": {
  15220. "description": "类型 - 1:套保计划 2:现货合同",
  15221. "type": "integer"
  15222. },
  15223. "mgunitid": {
  15224. "description": "套保品种单位id",
  15225. "type": "integer"
  15226. },
  15227. "mgunitidname": {
  15228. "description": "套保品种单位名称",
  15229. "type": "string"
  15230. },
  15231. "middlegoodsId": {
  15232. "description": "套保商品id",
  15233. "type": "integer"
  15234. },
  15235. "middlegoodscode": {
  15236. "description": "套保商品代码",
  15237. "type": "string"
  15238. },
  15239. "middlegoodsname": {
  15240. "description": "套保商品名称",
  15241. "type": "string"
  15242. },
  15243. "qty": {
  15244. "description": "数量",
  15245. "type": "number"
  15246. },
  15247. "relateNo": {
  15248. "description": "现货合同/套保计划编号",
  15249. "type": "string"
  15250. }
  15251. }
  15252. },
  15253. "models.Ermcp3ExposureFutuDetail": {
  15254. "type": "object",
  15255. "properties": {
  15256. "accountid": {
  15257. "description": "交易账户id",
  15258. "type": "integer"
  15259. },
  15260. "accountname": {
  15261. "description": "交易账户",
  15262. "type": "string"
  15263. },
  15264. "begindate": {
  15265. "description": "开始交易日",
  15266. "type": "string"
  15267. },
  15268. "buyorsell": {
  15269. "description": "方向 0-买 1-卖",
  15270. "type": "integer"
  15271. },
  15272. "diffmgqty": {
  15273. "description": "套保品种今变化量",
  15274. "type": "number"
  15275. },
  15276. "diffneedqty": {
  15277. "description": "应套保总量变化量",
  15278. "type": "number"
  15279. },
  15280. "difftradeqty": {
  15281. "description": "交易品种今变化量",
  15282. "type": "number"
  15283. },
  15284. "enddate": {
  15285. "description": "结束交易日",
  15286. "type": "string"
  15287. },
  15288. "enumdicname": {
  15289. "description": "单位名称",
  15290. "type": "string"
  15291. },
  15292. "goodscode": {
  15293. "description": "商品代码",
  15294. "type": "string"
  15295. },
  15296. "goodsid": {
  15297. "description": "商品id",
  15298. "type": "integer"
  15299. },
  15300. "goodsname": {
  15301. "description": "商品名称",
  15302. "type": "string"
  15303. },
  15304. "holdqty": {
  15305. "description": "期末持仓量",
  15306. "type": "number"
  15307. },
  15308. "middlegoodscode": {
  15309. "description": "套保商品代码",
  15310. "type": "string"
  15311. },
  15312. "middlegoodsid": {
  15313. "description": "套保商品id",
  15314. "type": "integer"
  15315. },
  15316. "middlegoodsname": {
  15317. "description": "套保商品名称",
  15318. "type": "string"
  15319. },
  15320. "oriholdqty": {
  15321. "description": "期初持仓量",
  15322. "type": "number"
  15323. },
  15324. "todaycloseqty": {
  15325. "description": "今平仓量",
  15326. "type": "number"
  15327. },
  15328. "todayopenqty": {
  15329. "description": "今开仓量",
  15330. "type": "number"
  15331. },
  15332. "tradedate": {
  15333. "description": "交易日",
  15334. "type": "string"
  15335. }
  15336. }
  15337. },
  15338. "models.Ermcp3ExposureHedgeplanDetail": {
  15339. "type": "object",
  15340. "properties": {
  15341. "biztype": {
  15342. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  15343. "type": "integer"
  15344. },
  15345. "changqty": {
  15346. "description": "应套保总量变化量",
  15347. "type": "number"
  15348. },
  15349. "contracttype": {
  15350. "description": "计划类型 - 1:采购 -1:销售",
  15351. "type": "integer"
  15352. },
  15353. "convertratio": {
  15354. "description": "折算系数(套保品种)",
  15355. "type": "number"
  15356. },
  15357. "deliverygoodscode": {
  15358. "description": "现货商品代码",
  15359. "type": "string"
  15360. },
  15361. "deliverygoodsid": {
  15362. "description": "现货商品id",
  15363. "type": "integer"
  15364. },
  15365. "deliverygoodsname": {
  15366. "description": "现货商吕名称",
  15367. "type": "string"
  15368. },
  15369. "dgunitid": {
  15370. "description": "现货商品单位id",
  15371. "type": "integer"
  15372. },
  15373. "dgunitidname": {
  15374. "description": "单位名称(现货商品)",
  15375. "type": "string"
  15376. },
  15377. "diffqty": {
  15378. "description": "套保品种今变动量",
  15379. "type": "number"
  15380. },
  15381. "enumdicname": {
  15382. "description": "单位名称(品类)",
  15383. "type": "string"
  15384. },
  15385. "hedgeplanid": {
  15386. "description": "套保计划id",
  15387. "type": "string"
  15388. },
  15389. "hedgeplanno": {
  15390. "description": "套保计划名称",
  15391. "type": "string"
  15392. },
  15393. "hedgeplanstatus": {
  15394. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15395. "type": "integer"
  15396. },
  15397. "mgunitidname": {
  15398. "description": "单位名称(套保商品)",
  15399. "type": "string"
  15400. },
  15401. "middlegoodscode": {
  15402. "description": "套保品种代码",
  15403. "type": "string"
  15404. },
  15405. "middlegoodsid": {
  15406. "description": "套保品种id",
  15407. "type": "integer"
  15408. },
  15409. "middlegoodsname": {
  15410. "description": "套保品种名称",
  15411. "type": "string"
  15412. },
  15413. "needarbitrageratio": {
  15414. "description": "应套利比例",
  15415. "type": "number"
  15416. },
  15417. "needhedgeratio": {
  15418. "description": "应套保比例",
  15419. "type": "number"
  15420. },
  15421. "pricedqty": {
  15422. "description": "已定价量",
  15423. "type": "number"
  15424. },
  15425. "qty": {
  15426. "description": "合同量",
  15427. "type": "number"
  15428. },
  15429. "tradedate": {
  15430. "description": "交易日(登记日)",
  15431. "type": "string"
  15432. },
  15433. "unitid": {
  15434. "description": "品类单位id",
  15435. "type": "integer"
  15436. },
  15437. "userid": {
  15438. "description": "机构id",
  15439. "type": "integer"
  15440. },
  15441. "wrstandardcode": {
  15442. "description": "品类代码",
  15443. "type": "string"
  15444. },
  15445. "wrstandardid": {
  15446. "description": "品类id",
  15447. "type": "integer"
  15448. },
  15449. "wrstandardname": {
  15450. "description": "品类名称",
  15451. "type": "string"
  15452. }
  15453. }
  15454. },
  15455. "models.Ermcp3ExpourseReport": {
  15456. "type": "object",
  15457. "properties": {
  15458. "accountid": {
  15459. "description": "期货账户ID (作废, 默认为0)",
  15460. "type": "integer"
  15461. },
  15462. "accountname": {
  15463. "description": "机构名称",
  15464. "type": "string"
  15465. },
  15466. "arbitrageqty": {
  15467. "description": "套利量",
  15468. "type": "number"
  15469. },
  15470. "areauserid": {
  15471. "description": "所属机构\\交易用户ID",
  15472. "type": "integer"
  15473. },
  15474. "begindate": {
  15475. "description": "开始交易日",
  15476. "type": "string"
  15477. },
  15478. "buyfutureqty": {
  15479. "description": "买入期货数量",
  15480. "type": "number"
  15481. },
  15482. "buyplanqty": {
  15483. "description": "采购计划数量",
  15484. "type": "number"
  15485. },
  15486. "buypricedqty": {
  15487. "description": "采购合同已定价数量",
  15488. "type": "number"
  15489. },
  15490. "cycletime": {
  15491. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15492. "type": "string"
  15493. },
  15494. "cycletype": {
  15495. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15496. "type": "integer"
  15497. },
  15498. "diffexposure": {
  15499. "description": "变动量(套保敞口)",
  15500. "type": "number"
  15501. },
  15502. "difffutuqty": {
  15503. "description": "变动量(期货)",
  15504. "type": "number"
  15505. },
  15506. "diffhedgeqty": {
  15507. "description": "变动量(现货应套保总量)",
  15508. "type": "number"
  15509. },
  15510. "diffmgqtya": {
  15511. "description": "套保变动量",
  15512. "type": "number"
  15513. },
  15514. "diffmgqtyb": {
  15515. "description": "套利变动量",
  15516. "type": "number"
  15517. },
  15518. "diffqty": {
  15519. "description": "变动量(总敞口)",
  15520. "type": "number"
  15521. },
  15522. "diffspotqty": {
  15523. "description": "变动量(现货)",
  15524. "type": "number"
  15525. },
  15526. "enddate": {
  15527. "description": "结束交易日",
  15528. "type": "string"
  15529. },
  15530. "enumdicname": {
  15531. "description": "单位名称",
  15532. "type": "string"
  15533. },
  15534. "hedgeqty": {
  15535. "description": "套保量",
  15536. "type": "number"
  15537. },
  15538. "mgneedhedgeratio": {
  15539. "description": "套保比例(套保品的)",
  15540. "type": "number"
  15541. },
  15542. "middlegoodsid": {
  15543. "description": "套保品种ID",
  15544. "type": "integer"
  15545. },
  15546. "middlegoodsname": {
  15547. "description": "套保商品名称",
  15548. "type": "string"
  15549. },
  15550. "middlgoodscode": {
  15551. "description": "套保商品代码",
  15552. "type": "string"
  15553. },
  15554. "needarbitrageqty": {
  15555. "description": "应套利量",
  15556. "type": "number"
  15557. },
  15558. "needarbitrageratio": {
  15559. "description": "套利比例(套保品的)",
  15560. "type": "number"
  15561. },
  15562. "needhedgeexposoure": {
  15563. "description": "应套保敞口(套保敞口)",
  15564. "type": "number"
  15565. },
  15566. "needhedgeqty": {
  15567. "description": "应套保量",
  15568. "type": "number"
  15569. },
  15570. "needhedgeratio": {
  15571. "description": "应套保敞口比例",
  15572. "type": "number"
  15573. },
  15574. "oriarbitrageqty": {
  15575. "description": "期初套利量",
  15576. "type": "number"
  15577. },
  15578. "oribuyfutureqty": {
  15579. "description": "期初买入期货数量",
  15580. "type": "number"
  15581. },
  15582. "oribuyplanqty": {
  15583. "description": "期初采购计划数量",
  15584. "type": "number"
  15585. },
  15586. "oribuypricedqty": {
  15587. "description": "期初采购合同已定价数量",
  15588. "type": "number"
  15589. },
  15590. "orihedgeqty": {
  15591. "description": "期初套保量",
  15592. "type": "number"
  15593. },
  15594. "orineedarbitrageqty": {
  15595. "description": "期初应套利量",
  15596. "type": "number"
  15597. },
  15598. "orineedhedgeexposoure": {
  15599. "description": "期初应套保敞口",
  15600. "type": "number"
  15601. },
  15602. "orineedhedgeqty": {
  15603. "description": "期初应套保量",
  15604. "type": "number"
  15605. },
  15606. "orisellfutureqty": {
  15607. "description": "期初卖出期货数量",
  15608. "type": "number"
  15609. },
  15610. "orisellplanqty": {
  15611. "description": "期初销售计划数量",
  15612. "type": "number"
  15613. },
  15614. "orisellpricedqty": {
  15615. "description": "期初销售合同已定价数量",
  15616. "type": "number"
  15617. },
  15618. "oritotalexposure": {
  15619. "description": "期初实时总敞口",
  15620. "type": "number"
  15621. },
  15622. "oritotalfutureqty": {
  15623. "description": "期初期货头寸总量",
  15624. "type": "number"
  15625. },
  15626. "oritotalneedhedgeqty": {
  15627. "description": "期初应套保总量",
  15628. "type": "number"
  15629. },
  15630. "oritotalspotqty": {
  15631. "description": "期初现货头寸总量",
  15632. "type": "number"
  15633. },
  15634. "reckondate": {
  15635. "description": "日照时期(yyyyMMdd)",
  15636. "type": "string"
  15637. },
  15638. "sellfutureqty": {
  15639. "description": "卖出期货数量",
  15640. "type": "number"
  15641. },
  15642. "sellplanqty": {
  15643. "description": "销售计划数量",
  15644. "type": "number"
  15645. },
  15646. "sellpricedqty": {
  15647. "description": "销售合同已定价数量",
  15648. "type": "number"
  15649. },
  15650. "totalexposure": {
  15651. "description": "实时总敞口(总敞口)",
  15652. "type": "number"
  15653. },
  15654. "totalfutureqty": {
  15655. "description": "期货头寸总量(期货总量)",
  15656. "type": "number"
  15657. },
  15658. "totalhedgeratio": {
  15659. "description": "敞口比例",
  15660. "type": "number"
  15661. },
  15662. "totalneedhedgeqty": {
  15663. "description": "应套保总量(现货应套保总量)",
  15664. "type": "number"
  15665. },
  15666. "totalspotqty": {
  15667. "description": "现货头寸总量",
  15668. "type": "number"
  15669. },
  15670. "unitid": {
  15671. "description": "单位id",
  15672. "type": "integer"
  15673. },
  15674. "updatetime": {
  15675. "description": "更新时间",
  15676. "type": "string"
  15677. }
  15678. }
  15679. },
  15680. "models.Ermcp3FinanceReport": {
  15681. "type": "object",
  15682. "properties": {
  15683. "accountname": {
  15684. "description": "机构名称",
  15685. "type": "string"
  15686. },
  15687. "areauserid": {
  15688. "description": "所属机构\\交易用户ID",
  15689. "type": "integer"
  15690. },
  15691. "begindate": {
  15692. "description": "开始交易日",
  15693. "type": "string"
  15694. },
  15695. "biztype": {
  15696. "description": "业务类型 - 1:套保 2:套利",
  15697. "type": "integer"
  15698. },
  15699. "brandname": {
  15700. "description": "品牌名称",
  15701. "type": "string"
  15702. },
  15703. "buypreinvoicedamount": {
  15704. "description": "采购预收票额(预收票额)",
  15705. "type": "number"
  15706. },
  15707. "buyprepaidamount": {
  15708. "description": "采购预付款额(预付货款额)",
  15709. "type": "number"
  15710. },
  15711. "buytodayinvoiceamount": {
  15712. "description": "采购今收票额(今收票额)",
  15713. "type": "number"
  15714. },
  15715. "buytodayrefundamount": {
  15716. "description": "采购今收退款额(今收退款额)",
  15717. "type": "number"
  15718. },
  15719. "buytodaysettleamount": {
  15720. "description": "采购今付款额(今付货款额)",
  15721. "type": "number"
  15722. },
  15723. "buyuninvoicedamount": {
  15724. "description": "采购应收票额(应收票额)",
  15725. "type": "number"
  15726. },
  15727. "buyunpaidamount": {
  15728. "description": "采购应付款额(应付货款额)",
  15729. "type": "number"
  15730. },
  15731. "currencyid": {
  15732. "description": "结算币种ID",
  15733. "type": "integer"
  15734. },
  15735. "currencyname": {
  15736. "description": "币种名称",
  15737. "type": "string"
  15738. },
  15739. "cycletime": {
  15740. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15741. "type": "string"
  15742. },
  15743. "cycletype": {
  15744. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15745. "type": "integer"
  15746. },
  15747. "deliverygoodscode": {
  15748. "description": "现货品种代码",
  15749. "type": "string"
  15750. },
  15751. "deliverygoodsid": {
  15752. "description": "现货品种ID",
  15753. "type": "integer"
  15754. },
  15755. "deliverygoodsname": {
  15756. "description": "现货品种名称",
  15757. "type": "string"
  15758. },
  15759. "enddate": {
  15760. "description": "结束交易日",
  15761. "type": "string"
  15762. },
  15763. "reckondate": {
  15764. "description": "日照时期(yyyyMMdd)",
  15765. "type": "string"
  15766. },
  15767. "sellpreinvoicedamount": {
  15768. "description": "销售预开票额(预开票额)",
  15769. "type": "number"
  15770. },
  15771. "sellprepaidamount": {
  15772. "description": "销售预收款额(预收货款额)",
  15773. "type": "number"
  15774. },
  15775. "selltodayinvoiceamount": {
  15776. "description": "销售今开票额(今开票额)",
  15777. "type": "number"
  15778. },
  15779. "selltodayrefundamount": {
  15780. "description": "销售今付退款额(今付退款额)",
  15781. "type": "number"
  15782. },
  15783. "selltodaysettleamount": {
  15784. "description": "销售今收款额(今收货款额)",
  15785. "type": "number"
  15786. },
  15787. "selluninvoicedamount": {
  15788. "description": "销售应开票额(应开票额)",
  15789. "type": "number"
  15790. },
  15791. "sellunpaidamount": {
  15792. "description": "销售应收款额(应收货款额)",
  15793. "type": "number"
  15794. },
  15795. "spotgoodsbrandid": {
  15796. "description": "现货品牌ID",
  15797. "type": "integer"
  15798. },
  15799. "todaypaysum": {
  15800. "description": "今付款合计",
  15801. "type": "number"
  15802. },
  15803. "todayreceivesum": {
  15804. "description": "今收款合计",
  15805. "type": "number"
  15806. },
  15807. "updatetime": {
  15808. "description": "更新时间",
  15809. "type": "string"
  15810. },
  15811. "wrfactortypeid": {
  15812. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15813. "type": "integer"
  15814. },
  15815. "wrstandardcode": {
  15816. "description": "品类代码",
  15817. "type": "string"
  15818. },
  15819. "wrstandardid": {
  15820. "description": "现货商品ID",
  15821. "type": "integer"
  15822. },
  15823. "wrstandardname": {
  15824. "description": "品类名称",
  15825. "type": "string"
  15826. }
  15827. }
  15828. },
  15829. "models.Ermcp3Goods": {
  15830. "type": "object",
  15831. "properties": {
  15832. "agreeunit": {
  15833. "description": "合约单位(合约乘数)",
  15834. "type": "number"
  15835. },
  15836. "enumdicname": {
  15837. "description": "单位名称",
  15838. "type": "string"
  15839. },
  15840. "exexchangecode": {
  15841. "description": "交易所代码",
  15842. "type": "string"
  15843. },
  15844. "goodscode": {
  15845. "description": "期货商品代码",
  15846. "type": "string"
  15847. },
  15848. "goodsid": {
  15849. "description": "期货商品id",
  15850. "type": "integer"
  15851. },
  15852. "goodsname": {
  15853. "description": "期货商品名称",
  15854. "type": "string"
  15855. }
  15856. }
  15857. },
  15858. "models.Ermcp3GoodsGroup": {
  15859. "type": "object",
  15860. "required": [
  15861. "areauserid"
  15862. ],
  15863. "properties": {
  15864. "agreeunit": {
  15865. "description": "合约单位",
  15866. "type": "number"
  15867. },
  15868. "areauserid": {
  15869. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  15870. "type": "integer"
  15871. },
  15872. "canshort": {
  15873. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15874. "type": "integer"
  15875. },
  15876. "closepricemode": {
  15877. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15878. "type": "integer"
  15879. },
  15880. "createtime": {
  15881. "description": "创建时间",
  15882. "type": "string"
  15883. },
  15884. "creatorid": {
  15885. "description": "创建人",
  15886. "type": "integer"
  15887. },
  15888. "currencyid": {
  15889. "description": "报价货币ID",
  15890. "type": "integer"
  15891. },
  15892. "decimalplace": {
  15893. "description": "报价小数位",
  15894. "type": "integer"
  15895. },
  15896. "enumdicname": {
  15897. "description": "单位名称",
  15898. "type": "string"
  15899. },
  15900. "exchangefullname": {
  15901. "description": "交易所全称",
  15902. "type": "string"
  15903. },
  15904. "excludecfg": {
  15905. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  15906. "type": "integer"
  15907. },
  15908. "exexchangecode": {
  15909. "description": "交易所代码",
  15910. "type": "string"
  15911. },
  15912. "exexchangeid": {
  15913. "description": "外部交易所ID[通道交易]",
  15914. "type": "integer"
  15915. },
  15916. "exexchangename": {
  15917. "description": "交易所名称",
  15918. "type": "string"
  15919. },
  15920. "goodsgroupid": {
  15921. "description": "商品组ID(自增ID)",
  15922. "type": "integer"
  15923. },
  15924. "goodsgroupname": {
  15925. "description": "商品组名称",
  15926. "type": "string"
  15927. },
  15928. "goodsgroupstatus": {
  15929. "description": "商品组状态 - 1:正常 2:注销",
  15930. "type": "integer"
  15931. },
  15932. "goodunitid": {
  15933. "description": "报价单位ID",
  15934. "type": "integer"
  15935. },
  15936. "groupcategroyid": {
  15937. "description": "品种分类ID",
  15938. "type": "integer"
  15939. },
  15940. "innerdealmode": {
  15941. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15942. "type": "integer"
  15943. },
  15944. "marketid": {
  15945. "description": "所属市场ID",
  15946. "type": "integer"
  15947. },
  15948. "modifierid": {
  15949. "description": "修改人",
  15950. "type": "integer"
  15951. },
  15952. "modifytime": {
  15953. "description": "修改时间",
  15954. "type": "string"
  15955. },
  15956. "outerdealmode": {
  15957. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15958. "type": "integer"
  15959. },
  15960. "outergroupcode": {
  15961. "description": "外部商品组代码[通道交易]",
  15962. "type": "string"
  15963. },
  15964. "quoteminunit": {
  15965. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15966. "type": "integer"
  15967. },
  15968. "quotesourcegroupid": {
  15969. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  15970. "type": "integer"
  15971. },
  15972. "syncgoodsqty": {
  15973. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  15974. "type": "integer"
  15975. }
  15976. }
  15977. },
  15978. "models.Ermcp3GoodsGroupEx": {
  15979. "type": "object",
  15980. "properties": {
  15981. "convertratio": {
  15982. "description": "折算系数(品种系数)",
  15983. "type": "number"
  15984. },
  15985. "enumdicname": {
  15986. "description": "单位名称",
  15987. "type": "string"
  15988. },
  15989. "exexchangecode": {
  15990. "description": "交易所代码",
  15991. "type": "string"
  15992. },
  15993. "glist": {
  15994. "description": "合约列表",
  15995. "type": "array",
  15996. "items": {
  15997. "$ref": "#/definitions/models.Ermcp3Goods"
  15998. }
  15999. },
  16000. "goodsgroupid": {
  16001. "description": "商品组id",
  16002. "type": "integer"
  16003. },
  16004. "goodsgroupname": {
  16005. "description": "商品组名称",
  16006. "type": "string"
  16007. },
  16008. "goodsunitid": {
  16009. "description": "单位id",
  16010. "type": "integer"
  16011. },
  16012. "middlegoodsid": {
  16013. "description": "套保商品id",
  16014. "type": "integer"
  16015. }
  16016. }
  16017. },
  16018. "models.Ermcp3HedgePlan": {
  16019. "type": "object",
  16020. "properties": {
  16021. "accountid": {
  16022. "description": "资金账号",
  16023. "type": "integer"
  16024. },
  16025. "areauserid": {
  16026. "description": "用户ID",
  16027. "type": "integer"
  16028. },
  16029. "audittime": {
  16030. "description": "审核时间",
  16031. "type": "string"
  16032. },
  16033. "contracttype": {
  16034. "description": "计划类型 - 1:采购 -1:销售",
  16035. "type": "integer"
  16036. },
  16037. "convertfactor": {
  16038. "description": "标仓系数",
  16039. "type": "number"
  16040. },
  16041. "createtime": {
  16042. "description": "创建时间",
  16043. "type": "string"
  16044. },
  16045. "currencyid": {
  16046. "description": "币种id",
  16047. "type": "integer"
  16048. },
  16049. "currencyname": {
  16050. "description": "币种名称",
  16051. "type": "string"
  16052. },
  16053. "deliverygoodscode": {
  16054. "description": "现货品种代码",
  16055. "type": "string"
  16056. },
  16057. "deliverygoodsid": {
  16058. "description": "现货品种ID",
  16059. "type": "integer"
  16060. },
  16061. "deliverygoodsname": {
  16062. "description": "现货品种名称",
  16063. "type": "string"
  16064. },
  16065. "enumdicname": {
  16066. "description": "单位名称(现货商品)",
  16067. "type": "string"
  16068. },
  16069. "hedgeplanid": {
  16070. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16071. "type": "string"
  16072. },
  16073. "hedgeplanno": {
  16074. "description": "套保计划编号(名称)",
  16075. "type": "string"
  16076. },
  16077. "hedgeplanstatus": {
  16078. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16079. "type": "integer"
  16080. },
  16081. "planqty": {
  16082. "description": "计划数量",
  16083. "type": "number"
  16084. },
  16085. "plantime": {
  16086. "description": "计划时间",
  16087. "type": "string"
  16088. },
  16089. "producttype": {
  16090. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16091. "type": "integer"
  16092. },
  16093. "remark": {
  16094. "description": "备注",
  16095. "type": "string"
  16096. },
  16097. "spotgoodsdesc": {
  16098. "description": "商品型号",
  16099. "type": "string"
  16100. },
  16101. "taaccountname": {
  16102. "description": "资金账号名称",
  16103. "type": "string"
  16104. },
  16105. "tradeuserid": {
  16106. "description": "交易用户id",
  16107. "type": "integer"
  16108. },
  16109. "tradeusername": {
  16110. "description": "交易用户名称",
  16111. "type": "string"
  16112. },
  16113. "unitid": {
  16114. "description": "单位id(现货商品)",
  16115. "type": "integer"
  16116. },
  16117. "updatetime": {
  16118. "description": "更新时间",
  16119. "type": "string"
  16120. },
  16121. "wrstandardcode": {
  16122. "description": "品类代码",
  16123. "type": "string"
  16124. },
  16125. "wrstandardid": {
  16126. "description": "品类id",
  16127. "type": "integer"
  16128. },
  16129. "wrstandardname": {
  16130. "description": "品类名称",
  16131. "type": "string"
  16132. },
  16133. "wrunitid": {
  16134. "description": "品类单位id",
  16135. "type": "integer"
  16136. },
  16137. "wrunitidame": {
  16138. "description": "品类单位名称",
  16139. "type": "string"
  16140. }
  16141. }
  16142. },
  16143. "models.Ermcp3MiddleGoodsDetail2": {
  16144. "type": "object",
  16145. "properties": {
  16146. "convertratio": {
  16147. "description": "套保系数(折算系数)",
  16148. "type": "number"
  16149. },
  16150. "gplist": {
  16151. "description": "关联商品组列表",
  16152. "type": "array",
  16153. "items": {
  16154. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16155. }
  16156. },
  16157. "mg": {
  16158. "description": "套保商品信息",
  16159. "type": "object",
  16160. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16161. }
  16162. }
  16163. },
  16164. "models.Ermcp3MiddleGoodsDetailEx": {
  16165. "type": "object",
  16166. "properties": {
  16167. "dglist": {
  16168. "description": "关联的现货品种列表",
  16169. "type": "array",
  16170. "items": {
  16171. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  16172. }
  16173. },
  16174. "gplist": {
  16175. "description": "关联商品组列表",
  16176. "type": "array",
  16177. "items": {
  16178. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16179. }
  16180. },
  16181. "mg": {
  16182. "description": "套保商品信息",
  16183. "type": "object",
  16184. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16185. }
  16186. }
  16187. },
  16188. "models.Ermcp3RootUserAccount": {
  16189. "type": "object",
  16190. "properties": {
  16191. "accountname": {
  16192. "description": "账户名称(机构名称)",
  16193. "type": "string"
  16194. },
  16195. "accountstatus": {
  16196. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  16197. "type": "integer"
  16198. },
  16199. "applysrc": {
  16200. "description": "申请来源 - 1:管理端 2:终端",
  16201. "type": "integer"
  16202. },
  16203. "auditremark": {
  16204. "description": "审核备注",
  16205. "type": "string"
  16206. },
  16207. "auditsrc": {
  16208. "description": "审核来源 - 1:管理端 2:终端",
  16209. "type": "integer"
  16210. },
  16211. "audittime": {
  16212. "description": "审核时间",
  16213. "type": "string"
  16214. },
  16215. "audituserid": {
  16216. "description": "审核人",
  16217. "type": "integer"
  16218. },
  16219. "broker": {
  16220. "description": "所属经纪人ID",
  16221. "type": "integer"
  16222. },
  16223. "canceltime": {
  16224. "description": "销户时间",
  16225. "type": "string"
  16226. },
  16227. "canceluserid": {
  16228. "description": "销户人",
  16229. "type": "integer"
  16230. },
  16231. "canrecommend": {
  16232. "description": "是否可推荐 - 0:不可 1;可",
  16233. "type": "integer"
  16234. },
  16235. "createtime": {
  16236. "description": "创建时间",
  16237. "type": "string"
  16238. },
  16239. "creatorid": {
  16240. "description": "创建人",
  16241. "type": "integer"
  16242. },
  16243. "hasauth": {
  16244. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  16245. "type": "integer"
  16246. },
  16247. "isanonymous": {
  16248. "description": "是否匿名下单 - 0:否 1:是",
  16249. "type": "integer"
  16250. },
  16251. "maxinvestornum": {
  16252. "description": "最大用户数(经纪会员下投资者个数)",
  16253. "type": "integer"
  16254. },
  16255. "memberuserid": {
  16256. "description": "所属会员ID",
  16257. "type": "integer"
  16258. },
  16259. "modifierid": {
  16260. "description": "修改人",
  16261. "type": "integer"
  16262. },
  16263. "modifyremark": {
  16264. "description": "变更备注",
  16265. "type": "string"
  16266. },
  16267. "modifystatus": {
  16268. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  16269. "type": "integer"
  16270. },
  16271. "modifytime": {
  16272. "description": "修改时间",
  16273. "type": "string"
  16274. },
  16275. "parenttopuser": {
  16276. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  16277. "type": "string"
  16278. },
  16279. "parentuserid": {
  16280. "description": "所属机构ID",
  16281. "type": "integer"
  16282. },
  16283. "reckonaccountid": {
  16284. "description": "默认结算资金账号ID(机构分润使用) 作废",
  16285. "type": "integer"
  16286. },
  16287. "refercount": {
  16288. "description": "推荐总人数",
  16289. "type": "integer"
  16290. },
  16291. "refereeuserid": {
  16292. "description": "推荐人ID",
  16293. "type": "integer"
  16294. },
  16295. "refernum": {
  16296. "description": "推荐码",
  16297. "type": "string"
  16298. },
  16299. "rootuserid": {
  16300. "description": "根用户ID",
  16301. "type": "integer"
  16302. },
  16303. "subaccountlevel": {
  16304. "description": "子账户层数",
  16305. "type": "integer"
  16306. },
  16307. "subarealevelpath": {
  16308. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  16309. "type": "string"
  16310. },
  16311. "userid": {
  16312. "description": "用户ID",
  16313. "type": "integer"
  16314. },
  16315. "usertype": {
  16316. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16317. "type": "integer"
  16318. }
  16319. }
  16320. },
  16321. "models.Ermcp3SellBuyContract": {
  16322. "type": "object",
  16323. "properties": {
  16324. "accountid": {
  16325. "description": "期货账户id",
  16326. "type": "string"
  16327. },
  16328. "accountname": {
  16329. "description": "账户名称",
  16330. "type": "string"
  16331. },
  16332. "attachment": {
  16333. "description": "附件",
  16334. "type": "string"
  16335. },
  16336. "audittime": {
  16337. "description": "审核时间",
  16338. "type": "string"
  16339. },
  16340. "biztype": {
  16341. "description": "业务类型 1-套保 2-套利",
  16342. "type": "integer"
  16343. },
  16344. "brandname": {
  16345. "description": "品牌名称",
  16346. "type": "string"
  16347. },
  16348. "contracctstatus": {
  16349. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16350. "type": "integer"
  16351. },
  16352. "contractmargin": {
  16353. "description": "合同保证金",
  16354. "type": "number"
  16355. },
  16356. "contractno": {
  16357. "description": "合同编号",
  16358. "type": "string"
  16359. },
  16360. "contracttype": {
  16361. "description": "合同类型 1-采购, -1-销售",
  16362. "type": "integer"
  16363. },
  16364. "convertfactor": {
  16365. "description": "标仓系数(品类)",
  16366. "type": "number"
  16367. },
  16368. "createtime": {
  16369. "description": "创建时间",
  16370. "type": "string"
  16371. },
  16372. "currencyid": {
  16373. "description": "币种id",
  16374. "type": "integer"
  16375. },
  16376. "currencyname": {
  16377. "description": "币种名称",
  16378. "type": "string"
  16379. },
  16380. "daikaiamount": {
  16381. "description": "应收(开)票额",
  16382. "type": "number"
  16383. },
  16384. "deliveryenddate": {
  16385. "description": "交割结束日",
  16386. "type": "string"
  16387. },
  16388. "deliverygoodscode": {
  16389. "description": "现货品种代码",
  16390. "type": "string"
  16391. },
  16392. "deliverygoodsid": {
  16393. "description": "现货商品ID",
  16394. "type": "integer"
  16395. },
  16396. "deliverygoodsname": {
  16397. "description": "现货品种名称",
  16398. "type": "string"
  16399. },
  16400. "deliverystartdate": {
  16401. "description": "交割开始日",
  16402. "type": "string"
  16403. },
  16404. "enddate": {
  16405. "description": "点价结束日",
  16406. "type": "string"
  16407. },
  16408. "enumdicname": {
  16409. "description": "单位名称",
  16410. "type": "string"
  16411. },
  16412. "goodscode": {
  16413. "description": "点价商品代码",
  16414. "type": "string"
  16415. },
  16416. "goodsid": {
  16417. "description": "点价商品ID",
  16418. "type": "integer"
  16419. },
  16420. "goodsname": {
  16421. "description": "点价商品名称",
  16422. "type": "string"
  16423. },
  16424. "invoiceamount": {
  16425. "description": "已开票额",
  16426. "type": "number"
  16427. },
  16428. "loanamount": {
  16429. "description": "贷款总额=已定价额+调整金额",
  16430. "type": "number"
  16431. },
  16432. "margin": {
  16433. "description": "保证金",
  16434. "type": "number"
  16435. },
  16436. "meruserid": {
  16437. "description": "跟单员id",
  16438. "type": "integer"
  16439. },
  16440. "meruserlogincode": {
  16441. "description": "跟单员登录代码",
  16442. "type": "string"
  16443. },
  16444. "nickname": {
  16445. "description": "账户昵称",
  16446. "type": "string"
  16447. },
  16448. "payamount": {
  16449. "description": "已收付额(收款或付款)",
  16450. "type": "number"
  16451. },
  16452. "preinvoiceamount": {
  16453. "description": "预收(开)票额",
  16454. "type": "number"
  16455. },
  16456. "prepayamount": {
  16457. "description": "预收付额",
  16458. "type": "number"
  16459. },
  16460. "price": {
  16461. "description": "价格",
  16462. "type": "number"
  16463. },
  16464. "pricedamount": {
  16465. "description": "已定价额",
  16466. "type": "number"
  16467. },
  16468. "pricedavg": {
  16469. "description": "已点均价",
  16470. "type": "number"
  16471. },
  16472. "pricedqty": {
  16473. "description": "已定价量",
  16474. "type": "number"
  16475. },
  16476. "pricemove": {
  16477. "description": "升贴水",
  16478. "type": "number"
  16479. },
  16480. "pricetype": {
  16481. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16482. "type": "integer"
  16483. },
  16484. "producttype": {
  16485. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16486. "type": "integer"
  16487. },
  16488. "qty": {
  16489. "description": "合同量",
  16490. "type": "number"
  16491. },
  16492. "reckonadjustamount": {
  16493. "description": "调整金额",
  16494. "type": "number"
  16495. },
  16496. "reckonedamount": {
  16497. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  16498. "type": "number"
  16499. },
  16500. "reckonotheramount": {
  16501. "description": "其它费用",
  16502. "type": "number"
  16503. },
  16504. "reckonrealqty": {
  16505. "description": "已确定量",
  16506. "type": "number"
  16507. },
  16508. "remark": {
  16509. "description": "备注",
  16510. "type": "string"
  16511. },
  16512. "saleuserid": {
  16513. "description": "业务员id",
  16514. "type": "integer"
  16515. },
  16516. "saleuserlogincode": {
  16517. "description": "业务员登录代码",
  16518. "type": "string"
  16519. },
  16520. "spotcontractid": {
  16521. "description": "合同ID",
  16522. "type": "string"
  16523. },
  16524. "spotgoodsbrandid": {
  16525. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16526. "type": "integer"
  16527. },
  16528. "spotgoodsdesc": {
  16529. "description": "商品型号(商品规格)",
  16530. "type": "string"
  16531. },
  16532. "startdate": {
  16533. "description": "点价开始日",
  16534. "type": "string"
  16535. },
  16536. "totalamount": {
  16537. "description": "合计总额",
  16538. "type": "number"
  16539. },
  16540. "tradeuserid": {
  16541. "description": "交易员id",
  16542. "type": "integer"
  16543. },
  16544. "tradeuserlogincode": {
  16545. "description": "交易员登录代码",
  16546. "type": "string"
  16547. },
  16548. "tradeusername": {
  16549. "description": "交易员名称",
  16550. "type": "string"
  16551. },
  16552. "unpayamount": {
  16553. "description": "应收付款额(应支付或应收款)",
  16554. "type": "number"
  16555. },
  16556. "unpricedqty": {
  16557. "description": "未定价量",
  16558. "type": "number"
  16559. },
  16560. "unsureqty": {
  16561. "description": "未确定量",
  16562. "type": "number"
  16563. },
  16564. "userid": {
  16565. "description": "机构ID",
  16566. "type": "integer"
  16567. },
  16568. "wrstandardcode": {
  16569. "description": "品类代码",
  16570. "type": "string"
  16571. },
  16572. "wrstandardid": {
  16573. "description": "品类ID",
  16574. "type": "integer"
  16575. },
  16576. "wrstandardname": {
  16577. "description": "品类名称",
  16578. "type": "string"
  16579. }
  16580. }
  16581. },
  16582. "models.Ermcp3SpotGoodsPrice": {
  16583. "type": "object",
  16584. "properties": {
  16585. "areauserid": {
  16586. "description": "所属机构id",
  16587. "type": "integer"
  16588. },
  16589. "brandname": {
  16590. "description": "品牌名称",
  16591. "type": "string"
  16592. },
  16593. "currencyid": {
  16594. "description": "报价货币ID",
  16595. "type": "integer"
  16596. },
  16597. "currencyname": {
  16598. "description": "币种名称",
  16599. "type": "string"
  16600. },
  16601. "deliverygoodscode": {
  16602. "description": "现货商品代码",
  16603. "type": "string"
  16604. },
  16605. "deliverygoodsid": {
  16606. "description": "现货商品id",
  16607. "type": "integer"
  16608. },
  16609. "deliverygoodsname": {
  16610. "description": "现货商品名称",
  16611. "type": "string"
  16612. },
  16613. "enumdicname": {
  16614. "description": "现货商品单位名称",
  16615. "type": "string"
  16616. },
  16617. "gbenumdicname": {
  16618. "description": "品类单位名称",
  16619. "type": "string"
  16620. },
  16621. "gmunitid": {
  16622. "description": "品类单位id",
  16623. "type": "integer"
  16624. },
  16625. "isvalid": {
  16626. "description": "是否有效 - 0:无效 1:有效",
  16627. "type": "integer"
  16628. },
  16629. "operateid": {
  16630. "description": "最后操作人",
  16631. "type": "integer"
  16632. },
  16633. "operatesrc": {
  16634. "description": "最后操作来源 - 1:管理端 2:终端",
  16635. "type": "integer"
  16636. },
  16637. "operatetime": {
  16638. "description": "最后操作时间",
  16639. "type": "string"
  16640. },
  16641. "operatorname": {
  16642. "description": "操作人名称",
  16643. "type": "string"
  16644. },
  16645. "spotgoodsbrandid": {
  16646. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16647. "type": "integer"
  16648. },
  16649. "spotgoodsprice": {
  16650. "description": "现货价格",
  16651. "type": "number"
  16652. },
  16653. "tradedate": {
  16654. "description": "交易日(yyyyMMdd)",
  16655. "type": "string"
  16656. },
  16657. "unitid": {
  16658. "description": "现货商品单位id",
  16659. "type": "integer"
  16660. },
  16661. "wrstandardcode": {
  16662. "description": "品类代码",
  16663. "type": "string"
  16664. },
  16665. "wrstandardid": {
  16666. "description": "现货品类ID(通用则为0)",
  16667. "type": "integer"
  16668. },
  16669. "wrstandardname": {
  16670. "description": "品类名称",
  16671. "type": "string"
  16672. }
  16673. }
  16674. },
  16675. "models.Ermcp3SpotGoodsPriceLog": {
  16676. "type": "object",
  16677. "properties": {
  16678. "areauserid": {
  16679. "description": "所属机构id",
  16680. "type": "integer"
  16681. },
  16682. "brandname": {
  16683. "description": "品牌名称",
  16684. "type": "string"
  16685. },
  16686. "currencyid": {
  16687. "description": "报价货币ID",
  16688. "type": "integer"
  16689. },
  16690. "deliverygoodscode": {
  16691. "description": "现货商品代码",
  16692. "type": "string"
  16693. },
  16694. "deliverygoodsid": {
  16695. "description": "现货商品id",
  16696. "type": "integer"
  16697. },
  16698. "deliverygoodsname": {
  16699. "description": "现货商品名称",
  16700. "type": "string"
  16701. },
  16702. "enumdicname": {
  16703. "description": "现货商品单位名称",
  16704. "type": "string"
  16705. },
  16706. "gbenumdicname": {
  16707. "description": "品类单位名称",
  16708. "type": "string"
  16709. },
  16710. "gmunitid": {
  16711. "description": "品类单位id",
  16712. "type": "integer"
  16713. },
  16714. "logid": {
  16715. "description": "日志id",
  16716. "type": "integer"
  16717. },
  16718. "operateid": {
  16719. "description": "最后操作人",
  16720. "type": "integer"
  16721. },
  16722. "operatesrc": {
  16723. "description": "最后操作来源 - 1:管理端 2:终端",
  16724. "type": "integer"
  16725. },
  16726. "operatetime": {
  16727. "description": "最后操作时间",
  16728. "type": "string"
  16729. },
  16730. "operatorname": {
  16731. "description": "操作人名称",
  16732. "type": "string"
  16733. },
  16734. "spotgoodsbrandid": {
  16735. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16736. "type": "integer"
  16737. },
  16738. "spotgoodsprice": {
  16739. "description": "现货价格",
  16740. "type": "number"
  16741. },
  16742. "tradedate": {
  16743. "description": "交易日(yyyyMMdd)",
  16744. "type": "string"
  16745. },
  16746. "unitid": {
  16747. "description": "现货商品单位id",
  16748. "type": "integer"
  16749. },
  16750. "wrstandardcode": {
  16751. "description": "品类代码",
  16752. "type": "string"
  16753. },
  16754. "wrstandardid": {
  16755. "description": "现货品类ID(通用则为0)",
  16756. "type": "integer"
  16757. },
  16758. "wrstandardname": {
  16759. "description": "品类名称",
  16760. "type": "string"
  16761. }
  16762. }
  16763. },
  16764. "models.Ermcp3TaFutuReDataReport": {
  16765. "type": "object",
  16766. "properties": {
  16767. "accountid": {
  16768. "description": "交易账户",
  16769. "type": "integer"
  16770. },
  16771. "accountname": {
  16772. "description": "交易账号名称",
  16773. "type": "string"
  16774. },
  16775. "begindate": {
  16776. "description": "开始交易日",
  16777. "type": "string"
  16778. },
  16779. "buyorsell": {
  16780. "description": "持仓方向",
  16781. "type": "integer"
  16782. },
  16783. "charge": {
  16784. "description": "手续费",
  16785. "type": "number"
  16786. },
  16787. "closeavgprice": {
  16788. "description": "平仓均价",
  16789. "type": "number"
  16790. },
  16791. "closepl": {
  16792. "description": "平仓损益",
  16793. "type": "number"
  16794. },
  16795. "currencyid": {
  16796. "description": "结算币种ID",
  16797. "type": "integer"
  16798. },
  16799. "cycletime": {
  16800. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16801. "type": "string"
  16802. },
  16803. "cycletype": {
  16804. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16805. "type": "integer"
  16806. },
  16807. "enddate": {
  16808. "description": "结束交易日",
  16809. "type": "string"
  16810. },
  16811. "enumdicname": {
  16812. "description": "单位名称(现货商品)",
  16813. "type": "string"
  16814. },
  16815. "floatpl": {
  16816. "description": "浮动损益",
  16817. "type": "number"
  16818. },
  16819. "goodscode": {
  16820. "description": "交易合约代码",
  16821. "type": "string"
  16822. },
  16823. "goodsgroupid": {
  16824. "description": "交易品种",
  16825. "type": "integer"
  16826. },
  16827. "goodsgroupname": {
  16828. "description": "交易品种名称",
  16829. "type": "string"
  16830. },
  16831. "goodsgroupspotqty": {
  16832. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  16833. "type": "number"
  16834. },
  16835. "goodsid": {
  16836. "description": "交易合约",
  16837. "type": "integer"
  16838. },
  16839. "goodsname": {
  16840. "description": "交易合约名称",
  16841. "type": "string"
  16842. },
  16843. "goodunitid": {
  16844. "description": "交易合约单位id",
  16845. "type": "integer"
  16846. },
  16847. "holdamount": {
  16848. "description": "期末持仓额",
  16849. "type": "number"
  16850. },
  16851. "holdqty": {
  16852. "description": "期末持仓量",
  16853. "type": "number"
  16854. },
  16855. "lastholdamount": {
  16856. "description": "当前持仓额",
  16857. "type": "number"
  16858. },
  16859. "lastprice": {
  16860. "description": "最新价",
  16861. "type": "number"
  16862. },
  16863. "middlegoodsqty": {
  16864. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  16865. "type": "number"
  16866. },
  16867. "openamount": {
  16868. "description": "期末开仓额",
  16869. "type": "number"
  16870. },
  16871. "openavgprice": {
  16872. "description": "开仓均价",
  16873. "type": "number"
  16874. },
  16875. "oriholdamount": {
  16876. "description": "期初持仓额",
  16877. "type": "number"
  16878. },
  16879. "oriholdqty": {
  16880. "description": "期初持仓量",
  16881. "type": "number"
  16882. },
  16883. "oriopenamount": {
  16884. "description": "期初开仓额",
  16885. "type": "number"
  16886. },
  16887. "outergroupcode": {
  16888. "description": "交易品种代码",
  16889. "type": "string"
  16890. },
  16891. "reckondate": {
  16892. "description": "日照时期(yyyyMMdd)",
  16893. "type": "string"
  16894. },
  16895. "reckonholdamount": {
  16896. "description": "结算持仓额",
  16897. "type": "number"
  16898. },
  16899. "reckonpl": {
  16900. "description": "结算损益",
  16901. "type": "number"
  16902. },
  16903. "reckonpl2": {
  16904. "description": "结算逐笔盈亏",
  16905. "type": "number"
  16906. },
  16907. "reckonprice": {
  16908. "description": "结算价",
  16909. "type": "number"
  16910. },
  16911. "relateduserid": {
  16912. "description": "账户关联用户ID",
  16913. "type": "integer"
  16914. },
  16915. "todaycloseamount": {
  16916. "description": "今平仓额",
  16917. "type": "number"
  16918. },
  16919. "todaycloseqty": {
  16920. "description": "今平仓量",
  16921. "type": "number"
  16922. },
  16923. "todaygoodsgroupspotqty": {
  16924. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  16925. "type": "number"
  16926. },
  16927. "todaymiddlegoodsqty": {
  16928. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  16929. "type": "number"
  16930. },
  16931. "todayopenamount": {
  16932. "description": "今开仓额",
  16933. "type": "number"
  16934. },
  16935. "todayopenqty": {
  16936. "description": "今开仓量",
  16937. "type": "number"
  16938. },
  16939. "userid": {
  16940. "description": "账户所属用户ID",
  16941. "type": "integer"
  16942. }
  16943. }
  16944. },
  16945. "models.Ermcp3Wrstandard": {
  16946. "type": "object",
  16947. "properties": {
  16948. "areauserid": {
  16949. "description": "所属机构",
  16950. "type": "integer"
  16951. },
  16952. "convertfactor": {
  16953. "description": "标仓系数",
  16954. "type": "number"
  16955. },
  16956. "createtime": {
  16957. "description": "创建时间",
  16958. "type": "string"
  16959. },
  16960. "creatorid": {
  16961. "description": "创建人",
  16962. "type": "integer"
  16963. },
  16964. "deliverygoodsid": {
  16965. "description": "现货品种ID",
  16966. "type": "integer"
  16967. },
  16968. "enumdicname": {
  16969. "description": "品类单位名称",
  16970. "type": "string"
  16971. },
  16972. "isvalid": {
  16973. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  16974. "type": "integer"
  16975. },
  16976. "minivalue": {
  16977. "description": "最小变动值",
  16978. "type": "integer"
  16979. },
  16980. "minivaluedp": {
  16981. "description": "最小变动值小数位",
  16982. "type": "integer"
  16983. },
  16984. "realminivalue": {
  16985. "description": "实际最小变动值",
  16986. "type": "integer"
  16987. },
  16988. "realminivaluedp": {
  16989. "description": "实际最小变动值小数位",
  16990. "type": "integer"
  16991. },
  16992. "remark": {
  16993. "description": "备注",
  16994. "type": "string"
  16995. },
  16996. "unitid": {
  16997. "description": "品类单位ID",
  16998. "type": "integer"
  16999. },
  17000. "updatetime": {
  17001. "description": "更新时间",
  17002. "type": "string"
  17003. },
  17004. "wrstandardcode": {
  17005. "description": "品类代码",
  17006. "type": "string"
  17007. },
  17008. "wrstandardid": {
  17009. "description": "品类ID(SEQ_WRSTANDARD)",
  17010. "type": "integer"
  17011. },
  17012. "wrstandardname": {
  17013. "description": "品类名称",
  17014. "type": "string"
  17015. }
  17016. }
  17017. },
  17018. "models.ErmcpAreaSpotDetailModel": {
  17019. "type": "object",
  17020. "properties": {
  17021. "contracttype": {
  17022. "description": "合同类型 1-采购 -1-销售",
  17023. "type": "integer"
  17024. },
  17025. "createtime": {
  17026. "description": "创建时间",
  17027. "type": "string"
  17028. },
  17029. "enumdicname": {
  17030. "description": "现货商品单位名称",
  17031. "type": "string"
  17032. },
  17033. "logtype": {
  17034. "description": "记录类型 1-套保 2-现货合同",
  17035. "type": "integer"
  17036. },
  17037. "qty": {
  17038. "description": "数量",
  17039. "type": "number"
  17040. },
  17041. "recordname": {
  17042. "description": "类型名称",
  17043. "type": "string"
  17044. },
  17045. "relatedid": {
  17046. "description": "套保计划ID/现货合同ID",
  17047. "type": "string"
  17048. },
  17049. "relatedno": {
  17050. "description": "编号",
  17051. "type": "string"
  17052. },
  17053. "strtime": {
  17054. "description": "时间",
  17055. "type": "string"
  17056. },
  17057. "wrstandardcode": {
  17058. "description": "现货商品代码",
  17059. "type": "string"
  17060. },
  17061. "wrstandardname": {
  17062. "description": "现货商品名称",
  17063. "type": "string"
  17064. }
  17065. }
  17066. },
  17067. "models.ErmcpAvalidGoodsGroupModel": {
  17068. "type": "object",
  17069. "properties": {
  17070. "goodsgroupid": {
  17071. "description": "期货品种id",
  17072. "type": "integer"
  17073. },
  17074. "goodsgroupname": {
  17075. "description": "期货品种名称",
  17076. "type": "string"
  17077. },
  17078. "goodunitid": {
  17079. "description": "品种单位id",
  17080. "type": "integer"
  17081. },
  17082. "goodunitname": {
  17083. "description": "品种单位名称",
  17084. "type": "string"
  17085. },
  17086. "outergroupcode": {
  17087. "description": "期货品种代码",
  17088. "type": "string"
  17089. }
  17090. }
  17091. },
  17092. "models.ErmcpBizGroupEx": {
  17093. "type": "object",
  17094. "properties": {
  17095. "acclist": {
  17096. "description": "账号列表",
  17097. "type": "array",
  17098. "items": {
  17099. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  17100. }
  17101. },
  17102. "bizgroupid": {
  17103. "description": "业务分组id",
  17104. "type": "integer"
  17105. },
  17106. "biztype": {
  17107. "description": "业务类型 1-套保 2-套利",
  17108. "type": "integer"
  17109. },
  17110. "wrlist": {
  17111. "description": "现货商品表",
  17112. "type": "array",
  17113. "items": {
  17114. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  17115. }
  17116. }
  17117. }
  17118. },
  17119. "models.ErmcpBizGroupSpotGoods": {
  17120. "type": "object",
  17121. "properties": {
  17122. "areauserid": {
  17123. "description": "所属机构id",
  17124. "type": "integer"
  17125. },
  17126. "bizgroupid": {
  17127. "description": "分组id",
  17128. "type": "integer"
  17129. },
  17130. "biztype": {
  17131. "description": "业务类型 1-套保 2-套利",
  17132. "type": "integer"
  17133. },
  17134. "deliverygoodscode": {
  17135. "description": "现货商品代码",
  17136. "type": "string"
  17137. },
  17138. "deliverygoodsid": {
  17139. "description": "现货商品id",
  17140. "type": "integer"
  17141. },
  17142. "deliverygoodsname": {
  17143. "description": "现货商品名称",
  17144. "type": "string"
  17145. },
  17146. "unitid": {
  17147. "description": "现货商品单位id",
  17148. "type": "integer"
  17149. }
  17150. }
  17151. },
  17152. "models.ErmcpBizGroupTaAccount": {
  17153. "type": "object",
  17154. "properties": {
  17155. "accountid": {
  17156. "description": "账号id",
  17157. "type": "integer"
  17158. },
  17159. "accountname": {
  17160. "description": "账号名称",
  17161. "type": "string"
  17162. },
  17163. "areauserid": {
  17164. "description": "所属机构id",
  17165. "type": "integer"
  17166. },
  17167. "bizgroupid": {
  17168. "description": "业务分组id",
  17169. "type": "integer"
  17170. },
  17171. "ismain": {
  17172. "description": "是否主账号 1-是 0-否",
  17173. "type": "integer"
  17174. }
  17175. }
  17176. },
  17177. "models.ErmcpDGFactoryItem": {
  17178. "type": "object",
  17179. "properties": {
  17180. "areauserid": {
  17181. "description": "用户id",
  17182. "type": "integer"
  17183. },
  17184. "deliverygoodsid": {
  17185. "description": "现货品种ID",
  17186. "type": "integer"
  17187. },
  17188. "dgfactoryitemid": {
  17189. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  17190. "type": "integer"
  17191. },
  17192. "dgfactoryitemtypeid": {
  17193. "description": "要素项类型",
  17194. "type": "integer"
  17195. },
  17196. "dgfactoryitemvalue": {
  17197. "description": "要素项值(类型为仓库时填写仓库名称)",
  17198. "type": "string"
  17199. },
  17200. "isvalid": {
  17201. "description": "是否有效 - 0:无效 1:有效",
  17202. "type": "integer"
  17203. },
  17204. "orderindex": {
  17205. "description": "顺序",
  17206. "type": "integer"
  17207. },
  17208. "warehouseid": {
  17209. "description": "仓库ID(类型为仓库时填写)",
  17210. "type": "integer"
  17211. }
  17212. }
  17213. },
  17214. "models.ErmcpDeliveryGoods": {
  17215. "type": "object",
  17216. "properties": {
  17217. "agreeunit": {
  17218. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  17219. "type": "integer"
  17220. },
  17221. "areauserid": {
  17222. "description": "所属机构",
  17223. "type": "integer"
  17224. },
  17225. "auditflag": {
  17226. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  17227. "type": "integer"
  17228. },
  17229. "categoryid": {
  17230. "description": "类别ID(SEQ_WRCATEGORY)",
  17231. "type": "integer"
  17232. },
  17233. "deliverygoodscode": {
  17234. "description": "现货品种代码",
  17235. "type": "string"
  17236. },
  17237. "deliverygoodsid": {
  17238. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  17239. "type": "integer"
  17240. },
  17241. "deliverygoodsname": {
  17242. "description": "现货品种名称",
  17243. "type": "string"
  17244. },
  17245. "deliverygoodstype": {
  17246. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  17247. "type": "integer"
  17248. },
  17249. "dgstatus": {
  17250. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  17251. "type": "integer"
  17252. },
  17253. "enumdicname": {
  17254. "description": "现货品种单位名称",
  17255. "type": "string"
  17256. },
  17257. "goodsunitid": {
  17258. "description": "现货品种单位ID",
  17259. "type": "integer"
  17260. },
  17261. "isvalid": {
  17262. "description": "是否有效 - 0:无效 1:有效",
  17263. "type": "integer"
  17264. },
  17265. "qtydecimalplace": {
  17266. "description": "成交量小数位",
  17267. "type": "integer"
  17268. },
  17269. "remark": {
  17270. "description": "备注",
  17271. "type": "string"
  17272. },
  17273. "standardqty": {
  17274. "description": "标准数量(库位数量) [标准品特有]",
  17275. "type": "integer"
  17276. },
  17277. "standardqtyrange": {
  17278. "description": "标准数量偏差范围 [标准品特有]",
  17279. "type": "integer"
  17280. }
  17281. }
  17282. },
  17283. "models.ErmcpDeliveryGoodsDetail2": {
  17284. "type": "object",
  17285. "properties": {
  17286. "convertratio": {
  17287. "description": "套保系数(折算系数)",
  17288. "type": "number"
  17289. },
  17290. "data": {
  17291. "description": "现货商品基本信息(交割品种)",
  17292. "type": "object",
  17293. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17294. },
  17295. "gblist": {
  17296. "description": "品牌列表",
  17297. "type": "array",
  17298. "items": {
  17299. "$ref": "#/definitions/models.Ermcp3Brand"
  17300. }
  17301. },
  17302. "gmlist": {
  17303. "description": "品类列表(仓单标准)",
  17304. "type": "array",
  17305. "items": {
  17306. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17307. }
  17308. }
  17309. }
  17310. },
  17311. "models.ErmcpDeliveryGoodsDetailEx": {
  17312. "type": "object",
  17313. "properties": {
  17314. "data": {
  17315. "description": "现货商品基本信息(交割品种)",
  17316. "type": "object",
  17317. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17318. },
  17319. "gblist": {
  17320. "description": "品牌列表",
  17321. "type": "array",
  17322. "items": {
  17323. "$ref": "#/definitions/models.Ermcp3Brand"
  17324. }
  17325. },
  17326. "gmlist": {
  17327. "description": "品类列表(仓单标准)",
  17328. "type": "array",
  17329. "items": {
  17330. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17331. }
  17332. },
  17333. "mgList": {
  17334. "description": "套保列表",
  17335. "type": "array",
  17336. "items": {
  17337. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  17338. }
  17339. }
  17340. }
  17341. },
  17342. "models.ErmcpExposureDetailModel": {
  17343. "type": "object",
  17344. "properties": {
  17345. "areauserid": {
  17346. "description": "机构ID",
  17347. "type": "integer"
  17348. },
  17349. "changeQty": {
  17350. "description": "套保变动量",
  17351. "type": "number"
  17352. },
  17353. "contracttype": {
  17354. "description": "现货合同类型 - 1:采购 -1:销售",
  17355. "type": "integer"
  17356. },
  17357. "convertfactor": {
  17358. "description": "标仓系数",
  17359. "type": "number"
  17360. },
  17361. "convertratio": {
  17362. "description": "套保系数",
  17363. "type": "number"
  17364. },
  17365. "createtime": {
  17366. "description": "时间",
  17367. "type": "string"
  17368. },
  17369. "enumdicname": {
  17370. "description": "现货商品单位名称",
  17371. "type": "string"
  17372. },
  17373. "logtype": {
  17374. "description": "类型 - 1:套保计划 2:现货合同",
  17375. "type": "integer"
  17376. },
  17377. "middlegoodsId": {
  17378. "description": "套保商品id",
  17379. "type": "integer"
  17380. },
  17381. "middlegoodscode": {
  17382. "description": "套保商品代码",
  17383. "type": "string"
  17384. },
  17385. "middlegoodsname": {
  17386. "description": "套保商品名称",
  17387. "type": "string"
  17388. },
  17389. "qty": {
  17390. "description": "数量",
  17391. "type": "number"
  17392. },
  17393. "relateNo": {
  17394. "description": "现货合同/套保计划编号",
  17395. "type": "string"
  17396. },
  17397. "wrstandardcode": {
  17398. "description": "现货商品代码",
  17399. "type": "string"
  17400. },
  17401. "wrstandardid": {
  17402. "description": "现货商品ID",
  17403. "type": "integer"
  17404. },
  17405. "wrstandardname": {
  17406. "description": "现货商品名称",
  17407. "type": "string"
  17408. }
  17409. }
  17410. },
  17411. "models.ErmcpExposurePostion": {
  17412. "type": "object",
  17413. "properties": {
  17414. "agreeunit": {
  17415. "description": "合约单位",
  17416. "type": "string"
  17417. },
  17418. "areauserid": {
  17419. "description": "所属机构id",
  17420. "type": "integer"
  17421. },
  17422. "convertratio": {
  17423. "description": "期货品种系数(折算系数)",
  17424. "type": "number"
  17425. },
  17426. "curqty": {
  17427. "description": "当前持仓",
  17428. "type": "integer"
  17429. },
  17430. "diffhedgeqty": {
  17431. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17432. "type": "number"
  17433. },
  17434. "diffqty": {
  17435. "description": "持仓变动量=当前持仓-昨日持仓",
  17436. "type": "integer"
  17437. },
  17438. "goodscode": {
  17439. "description": "商品代码",
  17440. "type": "string"
  17441. },
  17442. "goodsid": {
  17443. "description": "商品id",
  17444. "type": "integer"
  17445. },
  17446. "goodsname": {
  17447. "description": "商品名称",
  17448. "type": "string"
  17449. },
  17450. "middlegoodsid": {
  17451. "description": "套保商品id",
  17452. "type": "integer"
  17453. },
  17454. "ydqty": {
  17455. "description": "昨日持仓",
  17456. "type": "integer"
  17457. }
  17458. }
  17459. },
  17460. "models.ErmcpFuturesCompany": {
  17461. "type": "object",
  17462. "properties": {
  17463. "brokerid": {
  17464. "description": "经纪公司代码",
  17465. "type": "string"
  17466. },
  17467. "channeladdress": {
  17468. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  17469. "type": "string"
  17470. },
  17471. "channelid": {
  17472. "description": "对冲渠道ID",
  17473. "type": "string"
  17474. },
  17475. "createtime": {
  17476. "description": "创建时间",
  17477. "type": "string"
  17478. },
  17479. "creatorid": {
  17480. "description": "创建人",
  17481. "type": "string"
  17482. },
  17483. "fcid": {
  17484. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  17485. "type": "integer"
  17486. },
  17487. "fcname": {
  17488. "description": "期货公司名称",
  17489. "type": "string"
  17490. },
  17491. "isvalid": {
  17492. "description": "是否有效 - 0:无效 1:有效",
  17493. "type": "integer"
  17494. },
  17495. "mhpaddress": {
  17496. "description": "MHP服务地址(IP:Port)",
  17497. "type": "string"
  17498. },
  17499. "riskrulegroupid": {
  17500. "description": "风控规则组ID",
  17501. "type": "string"
  17502. },
  17503. "tradefeetmpid": {
  17504. "description": "手续费模板ID[TradeConfigTmpType为2]",
  17505. "type": "string"
  17506. },
  17507. "trademargintmpid": {
  17508. "description": "保证金模板ID [TradeConfigTmpType为1]",
  17509. "type": "string"
  17510. },
  17511. "traderatetmpid": {
  17512. "description": "汇率模板ID[TradeConfigTmpType为3]",
  17513. "type": "string"
  17514. },
  17515. "updatetime": {
  17516. "description": "更新时间",
  17517. "type": "string"
  17518. },
  17519. "updatorid": {
  17520. "description": "更新人",
  17521. "type": "string"
  17522. }
  17523. }
  17524. },
  17525. "models.ErmcpGGConvertCfg": {
  17526. "type": "object",
  17527. "properties": {
  17528. "convertratio": {
  17529. "description": "折算系数",
  17530. "type": "number"
  17531. },
  17532. "destgoodsgroupid": {
  17533. "description": "目标品种ID",
  17534. "type": "integer"
  17535. },
  17536. "dstcode": {
  17537. "description": "目录品种代码",
  17538. "type": "string"
  17539. },
  17540. "dstexchangecode": {
  17541. "description": "目标期货交易所",
  17542. "type": "string"
  17543. },
  17544. "dstname": {
  17545. "description": "目标品种名称",
  17546. "type": "string"
  17547. },
  17548. "dstunitid": {
  17549. "description": "目标品种单位ID",
  17550. "type": "integer"
  17551. },
  17552. "dstunitidname": {
  17553. "description": "目标品种单位名称",
  17554. "type": "string"
  17555. },
  17556. "modifytime": {
  17557. "description": "修改时间",
  17558. "type": "string"
  17559. },
  17560. "srccode": {
  17561. "description": "源品种代码",
  17562. "type": "string"
  17563. },
  17564. "srcexchangecode": {
  17565. "description": "源期货交易所",
  17566. "type": "string"
  17567. },
  17568. "srcgoodsgroupid": {
  17569. "description": "源品种ID",
  17570. "type": "integer"
  17571. },
  17572. "srcname": {
  17573. "description": "源品种名称",
  17574. "type": "string"
  17575. },
  17576. "srcunitid": {
  17577. "description": "源品种单位ID",
  17578. "type": "integer"
  17579. },
  17580. "srcunitidname": {
  17581. "description": "源品种单位名称",
  17582. "type": "string"
  17583. }
  17584. }
  17585. },
  17586. "models.ErmcpGoods": {
  17587. "type": "object",
  17588. "required": [
  17589. "goodscode",
  17590. "goodsid",
  17591. "goodsname",
  17592. "marketid"
  17593. ],
  17594. "properties": {
  17595. "agreeunit": {
  17596. "description": "合约单位",
  17597. "type": "number"
  17598. },
  17599. "areauserid": {
  17600. "description": "所属机构",
  17601. "type": "integer"
  17602. },
  17603. "auditaccountid": {
  17604. "description": "审核操作员账号",
  17605. "type": "integer"
  17606. },
  17607. "audittime": {
  17608. "description": "审核时间",
  17609. "type": "string"
  17610. },
  17611. "cancelaccountid": {
  17612. "description": "注销操作员账号",
  17613. "type": "integer"
  17614. },
  17615. "canceltime": {
  17616. "description": "注销时间",
  17617. "type": "string"
  17618. },
  17619. "closepricemode": {
  17620. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17621. "type": "integer"
  17622. },
  17623. "closepriceparam": {
  17624. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17625. "type": "number"
  17626. },
  17627. "createtime": {
  17628. "description": "创建时间",
  17629. "type": "string"
  17630. },
  17631. "creatorid": {
  17632. "description": "创建人",
  17633. "type": "integer"
  17634. },
  17635. "currencyid": {
  17636. "description": "报价货币ID",
  17637. "type": "integer"
  17638. },
  17639. "cutmode": {
  17640. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17641. "type": "integer"
  17642. },
  17643. "decimalplace": {
  17644. "description": "报价小数位",
  17645. "type": "integer"
  17646. },
  17647. "delistingdate": {
  17648. "description": "商品退市时间(状态:退市) -- 已作废",
  17649. "type": "string"
  17650. },
  17651. "delistingmode": {
  17652. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17653. "type": "integer"
  17654. },
  17655. "deliveryflag": {
  17656. "description": "交割标志 - 0:不可交割 1:可交割",
  17657. "type": "integer"
  17658. },
  17659. "enumdicname": {
  17660. "description": "单位名称",
  17661. "type": "string"
  17662. },
  17663. "forceclosemode": {
  17664. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17665. "type": "integer"
  17666. },
  17667. "forceclosevalue": {
  17668. "description": "定期强平参数 [收益权]",
  17669. "type": "integer"
  17670. },
  17671. "goodscode": {
  17672. "description": "商品代码(内部)",
  17673. "type": "string"
  17674. },
  17675. "goodscurrencyid": {
  17676. "description": "合约货币ID",
  17677. "type": "integer"
  17678. },
  17679. "goodsgroupid": {
  17680. "description": "所属商品组ID",
  17681. "type": "integer"
  17682. },
  17683. "goodsid": {
  17684. "description": "商品ID(自增ID SEQ_GOODS)",
  17685. "type": "integer"
  17686. },
  17687. "goodsname": {
  17688. "description": "商品名称",
  17689. "type": "string"
  17690. },
  17691. "goodsquotetype": {
  17692. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17693. "type": "integer"
  17694. },
  17695. "goodsstatus": {
  17696. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17697. "type": "integer"
  17698. },
  17699. "goodstradetype": {
  17700. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17701. "type": "integer"
  17702. },
  17703. "goodunitid": {
  17704. "description": "报价单位ID",
  17705. "type": "integer"
  17706. },
  17707. "hasquoter": {
  17708. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17709. "type": "integer"
  17710. },
  17711. "hqprotecttime": {
  17712. "description": "行情保护时间(秒)",
  17713. "type": "integer"
  17714. },
  17715. "innerdealmode": {
  17716. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17717. "type": "integer"
  17718. },
  17719. "isbuylimited": {
  17720. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17721. "type": "integer"
  17722. },
  17723. "isvisible": {
  17724. "description": "游客是否可见 - 0:不可见 1:可见",
  17725. "type": "integer"
  17726. },
  17727. "lasttradedate": {
  17728. "description": "最后交易日期(状态:待退市)",
  17729. "type": "string"
  17730. },
  17731. "listingdate": {
  17732. "description": "交易开始日期",
  17733. "type": "string"
  17734. },
  17735. "marketid": {
  17736. "description": "所属市场ID",
  17737. "type": "integer"
  17738. },
  17739. "modifierid": {
  17740. "description": "修改人",
  17741. "type": "integer"
  17742. },
  17743. "modifystatus": {
  17744. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17745. "type": "integer"
  17746. },
  17747. "modifytime": {
  17748. "description": "修改时间",
  17749. "type": "string"
  17750. },
  17751. "outerdealmode": {
  17752. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17753. "type": "integer"
  17754. },
  17755. "outgoodscode": {
  17756. "description": "商品代码(外部)",
  17757. "type": "string"
  17758. },
  17759. "pictureurl": {
  17760. "description": "商品图片",
  17761. "type": "string"
  17762. },
  17763. "qtydecimalplace": {
  17764. "description": "成交量小数位",
  17765. "type": "integer"
  17766. },
  17767. "quotegear": {
  17768. "description": "行情档位(1-10)",
  17769. "type": "integer"
  17770. },
  17771. "quoteminunit": {
  17772. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17773. "type": "integer"
  17774. },
  17775. "quoteshowtype": {
  17776. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17777. "type": "integer"
  17778. },
  17779. "quoteshowtypeinterval": {
  17780. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17781. "type": "integer"
  17782. },
  17783. "relatedgoodsid": {
  17784. "description": "关联参考商品ID",
  17785. "type": "integer"
  17786. },
  17787. "remark": {
  17788. "description": "备注",
  17789. "type": "string"
  17790. },
  17791. "trademode": {
  17792. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17793. "type": "integer"
  17794. }
  17795. }
  17796. },
  17797. "models.ErmcpGoodsBrand": {
  17798. "type": "object",
  17799. "properties": {
  17800. "areauserid": {
  17801. "description": "所属机构",
  17802. "type": "integer"
  17803. },
  17804. "brandid": {
  17805. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  17806. "type": "integer"
  17807. },
  17808. "brandname": {
  17809. "description": "品牌名称",
  17810. "type": "string"
  17811. },
  17812. "createtime": {
  17813. "description": "创建时间",
  17814. "type": "string"
  17815. },
  17816. "creatorid": {
  17817. "description": "创建人",
  17818. "type": "integer"
  17819. },
  17820. "creatorsrc": {
  17821. "description": "创建人来源 - 1:管理端 2:终端",
  17822. "type": "integer"
  17823. },
  17824. "deliverygoodsid": {
  17825. "description": "现货品种ID",
  17826. "type": "integer"
  17827. },
  17828. "isvalid": {
  17829. "description": "是否有效 - 0:无效 1:有效",
  17830. "type": "integer"
  17831. },
  17832. "updatetime": {
  17833. "description": "更新时间",
  17834. "type": "string"
  17835. },
  17836. "updatorid": {
  17837. "description": "更新人",
  17838. "type": "integer"
  17839. },
  17840. "updatorsrc": {
  17841. "description": "更新人来源 - 1:管理端 2:终端",
  17842. "type": "integer"
  17843. },
  17844. "wrstandardid": {
  17845. "description": "现货商品ID",
  17846. "type": "integer"
  17847. }
  17848. }
  17849. },
  17850. "models.ErmcpGoodsModel": {
  17851. "type": "object",
  17852. "properties": {
  17853. "areauserid": {
  17854. "description": "所属机构",
  17855. "type": "integer"
  17856. },
  17857. "convertfactor": {
  17858. "description": "标仓系数",
  17859. "type": "number"
  17860. },
  17861. "createtime": {
  17862. "description": "创建时间",
  17863. "type": "string"
  17864. },
  17865. "creatorid": {
  17866. "description": "创建人",
  17867. "type": "integer"
  17868. },
  17869. "creatorsrc": {
  17870. "description": "创建人来源 - 1:管理端 2:终端",
  17871. "type": "integer"
  17872. },
  17873. "deliverygoodsid": {
  17874. "description": "现货品种ID",
  17875. "type": "integer"
  17876. },
  17877. "isvalid": {
  17878. "description": "是否有效 - 0:无效 1:有效",
  17879. "type": "integer"
  17880. },
  17881. "modelid": {
  17882. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  17883. "type": "integer"
  17884. },
  17885. "modelname": {
  17886. "description": "型号名称",
  17887. "type": "string"
  17888. },
  17889. "updatetime": {
  17890. "description": "更新时间",
  17891. "type": "string"
  17892. },
  17893. "updatorid": {
  17894. "description": "更新人",
  17895. "type": "integer"
  17896. },
  17897. "updatorsrc": {
  17898. "description": "更新人来源 - 1:管理端 2:终端",
  17899. "type": "integer"
  17900. },
  17901. "wrstandardid": {
  17902. "description": "现货商品ID",
  17903. "type": "integer"
  17904. }
  17905. }
  17906. },
  17907. "models.ErmcpHedgePosition": {
  17908. "type": "object",
  17909. "properties": {
  17910. "accountid": {
  17911. "description": "资金账号[外部母账户]",
  17912. "type": "integer"
  17913. },
  17914. "curbuyposition": {
  17915. "description": "期末买头寸",
  17916. "type": "integer"
  17917. },
  17918. "cursellposition": {
  17919. "description": "期末卖头寸",
  17920. "type": "integer"
  17921. },
  17922. "curtdbuyposition": {
  17923. "description": "期末今日买头寸",
  17924. "type": "integer"
  17925. },
  17926. "curtdsellposition": {
  17927. "description": "期末今日卖头寸",
  17928. "type": "integer"
  17929. },
  17930. "curydbuyposition": {
  17931. "description": "期末上日买头寸",
  17932. "type": "integer"
  17933. },
  17934. "curydsellposition": {
  17935. "description": "期末上日卖头寸",
  17936. "type": "integer"
  17937. },
  17938. "decreaseqty": {
  17939. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17940. "type": "integer"
  17941. },
  17942. "fretdbuyposition": {
  17943. "description": "冻结今日买头寸",
  17944. "type": "integer"
  17945. },
  17946. "fretdsellposition": {
  17947. "description": "冻结今日卖头寸",
  17948. "type": "integer"
  17949. },
  17950. "freydbuyposition": {
  17951. "description": "冻结上日买头寸",
  17952. "type": "integer"
  17953. },
  17954. "freydsellposition": {
  17955. "description": "冻结上日卖头寸",
  17956. "type": "integer"
  17957. },
  17958. "goodscode": {
  17959. "description": "商品代码",
  17960. "type": "string"
  17961. },
  17962. "goodsid": {
  17963. "description": "商品id",
  17964. "type": "integer"
  17965. },
  17966. "goodsname": {
  17967. "description": "商品名称",
  17968. "type": "string"
  17969. },
  17970. "hedgeaccountcode": {
  17971. "description": "对冲账号",
  17972. "type": "string"
  17973. },
  17974. "hedgegoodsid": {
  17975. "description": "对冲合约ID",
  17976. "type": "integer"
  17977. },
  17978. "increaseqty": {
  17979. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17980. "type": "integer"
  17981. },
  17982. "marketid": {
  17983. "description": "市场ID",
  17984. "type": "integer"
  17985. },
  17986. "relateduserid": {
  17987. "description": "关联用户id",
  17988. "type": "integer"
  17989. },
  17990. "totalcurqty": {
  17991. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17992. "type": "integer"
  17993. },
  17994. "totalydqty": {
  17995. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17996. "type": "integer"
  17997. },
  17998. "tradedate": {
  17999. "description": "交易日(yyyyMMdd)",
  18000. "type": "string"
  18001. },
  18002. "ydbuyposition": {
  18003. "description": "期初买头寸",
  18004. "type": "integer"
  18005. },
  18006. "ydsellposition": {
  18007. "description": "期初卖头寸",
  18008. "type": "integer"
  18009. }
  18010. }
  18011. },
  18012. "models.ErmcpHedgePositionDetail": {
  18013. "type": "object",
  18014. "properties": {
  18015. "buyorsell": {
  18016. "description": "买卖方向 0-买 1-卖",
  18017. "type": "integer"
  18018. },
  18019. "channelbuildtype": {
  18020. "description": "开平方向 1-建仓 2-平仓",
  18021. "type": "integer"
  18022. },
  18023. "goodscode": {
  18024. "description": "商品代码",
  18025. "type": "string"
  18026. },
  18027. "goodsname": {
  18028. "description": "商品名称",
  18029. "type": "string"
  18030. },
  18031. "hedgegoodsid": {
  18032. "description": "商品id",
  18033. "type": "integer"
  18034. },
  18035. "tradeqty": {
  18036. "description": "数量(成交数量)",
  18037. "type": "integer"
  18038. },
  18039. "tradetime": {
  18040. "description": "时间(成交时间)",
  18041. "type": "string"
  18042. }
  18043. }
  18044. },
  18045. "models.ErmcpHisExposure": {
  18046. "type": "object",
  18047. "properties": {
  18048. "needhedgeexposoure": {
  18049. "description": "应套保敞口",
  18050. "type": "number"
  18051. },
  18052. "reckondate": {
  18053. "description": "日照时期(yyyyMMdd)",
  18054. "type": "string"
  18055. },
  18056. "totalexposure": {
  18057. "description": "总敞口",
  18058. "type": "number"
  18059. }
  18060. }
  18061. },
  18062. "models.ErmcpHisExposureS": {
  18063. "type": "object",
  18064. "properties": {
  18065. "data": {
  18066. "description": "历史敞口",
  18067. "type": "array",
  18068. "items": {
  18069. "$ref": "#/definitions/models.ErmcpHisExposure"
  18070. }
  18071. },
  18072. "enumdicname": {
  18073. "description": "单位名称",
  18074. "type": "string"
  18075. },
  18076. "middlegoodscode": {
  18077. "description": "套保品种代码",
  18078. "type": "string"
  18079. },
  18080. "middlegoodsid": {
  18081. "description": "套保品种ID",
  18082. "type": "integer"
  18083. },
  18084. "middlegoodsname": {
  18085. "description": "套保品种名称",
  18086. "type": "string"
  18087. }
  18088. }
  18089. },
  18090. "models.ErmcpLoginTaAccount": {
  18091. "type": "object",
  18092. "properties": {
  18093. "accountid": {
  18094. "description": "账号id",
  18095. "type": "integer"
  18096. },
  18097. "accountname": {
  18098. "description": "账号名称",
  18099. "type": "string"
  18100. }
  18101. }
  18102. },
  18103. "models.ErmcpLoginUser": {
  18104. "type": "object",
  18105. "properties": {
  18106. "acclist": {
  18107. "description": "关联资金账号",
  18108. "type": "array",
  18109. "items": {
  18110. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  18111. }
  18112. },
  18113. "accountname": {
  18114. "description": "用户名称",
  18115. "type": "string"
  18116. },
  18117. "clientroleid": {
  18118. "description": "角色id(usertype=2)",
  18119. "type": "integer"
  18120. },
  18121. "createtime": {
  18122. "description": "创建时间",
  18123. "type": "string"
  18124. },
  18125. "logincode": {
  18126. "description": "登录代码",
  18127. "type": "string"
  18128. },
  18129. "loginid": {
  18130. "description": "登录id(LOGINID)",
  18131. "type": "integer"
  18132. },
  18133. "loginname": {
  18134. "description": "登录名称(loginaccount表中的accountname字段)",
  18135. "type": "string"
  18136. },
  18137. "loginstatus": {
  18138. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  18139. "type": "integer"
  18140. },
  18141. "memberuserid": {
  18142. "description": "所属会员id",
  18143. "type": "integer"
  18144. },
  18145. "mobile": {
  18146. "description": "手机号",
  18147. "type": "string"
  18148. },
  18149. "modifytime": {
  18150. "description": "修改时间",
  18151. "type": "string"
  18152. },
  18153. "password": {
  18154. "description": "密码(不可解密)",
  18155. "type": "string"
  18156. },
  18157. "rolename": {
  18158. "description": "角色名称",
  18159. "type": "string"
  18160. },
  18161. "rolestatus": {
  18162. "description": "角色状态 1-启用 2-停用",
  18163. "type": "integer"
  18164. },
  18165. "roletype": {
  18166. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  18167. "type": "string"
  18168. },
  18169. "userid": {
  18170. "description": "用户id",
  18171. "type": "integer"
  18172. },
  18173. "usertype": {
  18174. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18175. "type": "integer"
  18176. }
  18177. }
  18178. },
  18179. "models.ErmcpLoginUserEx": {
  18180. "type": "object",
  18181. "properties": {
  18182. "accountstatus": {
  18183. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18184. "type": "integer"
  18185. },
  18186. "mobile": {
  18187. "description": "手机号",
  18188. "type": "string"
  18189. },
  18190. "querytype": {
  18191. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  18192. "type": "integer"
  18193. },
  18194. "roleid": {
  18195. "description": "角色id(交易账户-\u003e用户id)",
  18196. "type": "integer"
  18197. },
  18198. "rolename": {
  18199. "description": "角色名称(交易账户-\u003e用户名称)",
  18200. "type": "string"
  18201. },
  18202. "userlist": {
  18203. "description": "用户列表",
  18204. "type": "array",
  18205. "items": {
  18206. "$ref": "#/definitions/models.ErmcpLoginUser"
  18207. }
  18208. },
  18209. "usertype": {
  18210. "description": "用户类型 2-机构 7-企业成员(云平台)",
  18211. "type": "integer"
  18212. }
  18213. }
  18214. },
  18215. "models.ErmcpMiddleGoodsChangeLog": {
  18216. "type": "object",
  18217. "properties": {
  18218. "aftervalue": {
  18219. "description": "变更后",
  18220. "type": "number"
  18221. },
  18222. "applyid": {
  18223. "description": "操作人",
  18224. "type": "integer"
  18225. },
  18226. "applyname": {
  18227. "description": "操作人名称",
  18228. "type": "string"
  18229. },
  18230. "applysrc": {
  18231. "description": "操作来源 - 1:管理端 2:终端",
  18232. "type": "integer"
  18233. },
  18234. "beforevalue": {
  18235. "description": "变更前",
  18236. "type": "number"
  18237. },
  18238. "changelogtype": {
  18239. "description": "变更流水类型 - 1:套保比率变更",
  18240. "type": "integer"
  18241. },
  18242. "handlestatus": {
  18243. "description": "处理状态",
  18244. "type": "integer"
  18245. },
  18246. "logdatetime": {
  18247. "description": "流水日期",
  18248. "type": "string"
  18249. },
  18250. "logid": {
  18251. "description": "流水ID",
  18252. "type": "integer"
  18253. },
  18254. "logremark": {
  18255. "description": "流水备注",
  18256. "type": "string"
  18257. },
  18258. "middlegoodsid": {
  18259. "description": "套保品种ID",
  18260. "type": "integer"
  18261. },
  18262. "tradedate": {
  18263. "description": "交易日(yyyyMMdd)",
  18264. "type": "string"
  18265. },
  18266. "updatetime": {
  18267. "description": "更新时间",
  18268. "type": "string"
  18269. }
  18270. }
  18271. },
  18272. "models.ErmcpMiddleGoodsDetail": {
  18273. "type": "object",
  18274. "properties": {
  18275. "cvList": {
  18276. "description": "期货品种折算列表",
  18277. "type": "array",
  18278. "items": {
  18279. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18280. }
  18281. },
  18282. "mg": {
  18283. "description": "套保品种基本信息",
  18284. "type": "object",
  18285. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18286. },
  18287. "wrcList": {
  18288. "description": "现货品种列表(现货商品折算配置)",
  18289. "type": "array",
  18290. "items": {
  18291. "$ref": "#/definitions/models.WRSConverTDetail"
  18292. }
  18293. }
  18294. }
  18295. },
  18296. "models.ErmcpMiddleGoodsModel": {
  18297. "type": "object",
  18298. "properties": {
  18299. "areauserid": {
  18300. "description": "机构用户ID",
  18301. "type": "integer"
  18302. },
  18303. "createtime": {
  18304. "description": "修改时间",
  18305. "type": "string"
  18306. },
  18307. "enumdicname": {
  18308. "description": "单位名称",
  18309. "type": "string"
  18310. },
  18311. "evaluateratio": {
  18312. "description": "估价系数",
  18313. "type": "number"
  18314. },
  18315. "goodsgroupid": {
  18316. "description": "关联期货品种ID",
  18317. "type": "integer"
  18318. },
  18319. "goodsunitid": {
  18320. "description": "单位ID",
  18321. "type": "integer"
  18322. },
  18323. "isvalid": {
  18324. "description": "状态 0-无效(停用) 1-有效(正常)",
  18325. "type": "integer"
  18326. },
  18327. "middlegoodscode": {
  18328. "description": "套保品种代码",
  18329. "type": "string"
  18330. },
  18331. "middlegoodsid": {
  18332. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18333. "type": "integer"
  18334. },
  18335. "middlegoodsname": {
  18336. "description": "套保品种名称",
  18337. "type": "string"
  18338. },
  18339. "modifytime": {
  18340. "description": "修改时间",
  18341. "type": "string"
  18342. },
  18343. "needarbitrageratio": {
  18344. "description": "套利比例",
  18345. "type": "number"
  18346. },
  18347. "needhedgeratio": {
  18348. "description": "套保比率",
  18349. "type": "number"
  18350. },
  18351. "qtydecimalplace": {
  18352. "description": "数量小数位",
  18353. "type": "integer"
  18354. },
  18355. "relatedgoodsid": {
  18356. "description": "关联交易商品ID",
  18357. "type": "integer"
  18358. },
  18359. "relatedgoodstype": {
  18360. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18361. "type": "integer"
  18362. },
  18363. "remark": {
  18364. "description": "备注",
  18365. "type": "string"
  18366. }
  18367. }
  18368. },
  18369. "models.ErmcpMiddlegoodsRelateGoods": {
  18370. "type": "object",
  18371. "properties": {
  18372. "agreeunit": {
  18373. "description": "合约乘数",
  18374. "type": "number"
  18375. },
  18376. "convertratio": {
  18377. "description": "折算系数",
  18378. "type": "number"
  18379. },
  18380. "enumdicname": {
  18381. "description": "单位名称(交易商品)",
  18382. "type": "string"
  18383. },
  18384. "goodscode": {
  18385. "description": "交易商品代码",
  18386. "type": "string"
  18387. },
  18388. "goodsgroupid": {
  18389. "description": "交易品种id",
  18390. "type": "integer"
  18391. },
  18392. "goodsid": {
  18393. "description": "商品Id",
  18394. "type": "integer"
  18395. },
  18396. "goodsname": {
  18397. "description": "交易商品名称",
  18398. "type": "string"
  18399. },
  18400. "goodunitid": {
  18401. "description": "交易商品单位id",
  18402. "type": "integer"
  18403. },
  18404. "middlegoodsid": {
  18405. "description": "套保商品id",
  18406. "type": "integer"
  18407. },
  18408. "middlegoodsname": {
  18409. "description": "套保商品名称",
  18410. "type": "string"
  18411. },
  18412. "middlegoodsswcode": {
  18413. "description": "套保商品代码",
  18414. "type": "string"
  18415. },
  18416. "needarbitrageratio": {
  18417. "description": "应套利比例",
  18418. "type": "number"
  18419. },
  18420. "needhedgeratio": {
  18421. "description": "应套保比例",
  18422. "type": "number"
  18423. }
  18424. }
  18425. },
  18426. "models.ErmcpOPLogModel": {
  18427. "type": "object",
  18428. "properties": {
  18429. "aftervalue": {
  18430. "description": "变更后",
  18431. "type": "number"
  18432. },
  18433. "applyid": {
  18434. "description": "操作人ID",
  18435. "type": "string"
  18436. },
  18437. "applyname": {
  18438. "description": "操作人名称",
  18439. "type": "string"
  18440. },
  18441. "beforevalue": {
  18442. "description": "变更前",
  18443. "type": "number"
  18444. },
  18445. "biztype": {
  18446. "description": "业务类型 - 1:套保计划 2:现货合同",
  18447. "type": "integer"
  18448. },
  18449. "contracttype": {
  18450. "description": "现货合同类型 - 1:采购 -1:销售",
  18451. "type": "integer"
  18452. },
  18453. "logvalue": {
  18454. "description": "数值",
  18455. "type": "number"
  18456. },
  18457. "operatelogtype": {
  18458. "description": "操作流水类型",
  18459. "type": "integer"
  18460. },
  18461. "operatelogtypedesc": {
  18462. "description": "操作流水类型名称",
  18463. "type": "string"
  18464. },
  18465. "relatedid": {
  18466. "description": "现货合同ID\\套保计划",
  18467. "type": "string"
  18468. },
  18469. "updatetime": {
  18470. "description": "更新时间",
  18471. "type": "string"
  18472. }
  18473. }
  18474. },
  18475. "models.ErmcpPendingAudit": {
  18476. "type": "object",
  18477. "properties": {
  18478. "areastockqty": {
  18479. "description": "待审核数量: 库存申请",
  18480. "type": "integer"
  18481. },
  18482. "businessdjqty": {
  18483. "description": "待审核数量: 点价",
  18484. "type": "integer"
  18485. },
  18486. "businessfpqty": {
  18487. "description": "待审核数量: 发票",
  18488. "type": "integer"
  18489. },
  18490. "businessjsqty": {
  18491. "description": "待审核数量: 结算",
  18492. "type": "integer"
  18493. },
  18494. "businesskxqty": {
  18495. "description": "待审核数量: 款项",
  18496. "type": "integer"
  18497. },
  18498. "hedgeplanqty": {
  18499. "description": "待审核数量: 套保计划",
  18500. "type": "integer"
  18501. },
  18502. "spotcontractqty": {
  18503. "description": "待审核数量: 现货合同",
  18504. "type": "integer"
  18505. },
  18506. "userqty": {
  18507. "description": "待审核数量: 用户",
  18508. "type": "integer"
  18509. }
  18510. }
  18511. },
  18512. "models.ErmcpRealExposureModel": {
  18513. "type": "object",
  18514. "properties": {
  18515. "AreaUserID": {
  18516. "description": "所属机构",
  18517. "type": "integer"
  18518. },
  18519. "BuyFutureQty": {
  18520. "description": "买入期货数量",
  18521. "type": "number"
  18522. },
  18523. "BuyPlanQty": {
  18524. "description": "采购计划数量",
  18525. "type": "number"
  18526. },
  18527. "BuyPricedQty": {
  18528. "description": "采购合同已定价数量",
  18529. "type": "number"
  18530. },
  18531. "MiddleGoodsCode": {
  18532. "description": "套保品种代码",
  18533. "type": "string"
  18534. },
  18535. "MiddleGoodsHedgeRatio": {
  18536. "description": "套保比例",
  18537. "type": "number"
  18538. },
  18539. "MiddleGoodsID": {
  18540. "description": "套保品种",
  18541. "type": "integer"
  18542. },
  18543. "MiddleGoodsName": {
  18544. "description": "套保品种名称",
  18545. "type": "string"
  18546. },
  18547. "NeedHedgeExposoure": {
  18548. "description": "应套保敞口(套保敞口)",
  18549. "type": "number"
  18550. },
  18551. "NeedHedgeRatio": {
  18552. "description": "应套保敞口比例",
  18553. "type": "number"
  18554. },
  18555. "OriBuyFutureQty": {
  18556. "description": "期初买入期货数量",
  18557. "type": "number"
  18558. },
  18559. "OriBuyPlanQty": {
  18560. "description": "期初采购计划数量",
  18561. "type": "number"
  18562. },
  18563. "OriBuyPricedQty": {
  18564. "description": "期初采购合同已定价数量",
  18565. "type": "number"
  18566. },
  18567. "OriSellFutureQty": {
  18568. "description": "期初卖出期货数量",
  18569. "type": "number"
  18570. },
  18571. "OriSellPlanQty": {
  18572. "description": "期初销售计划数量",
  18573. "type": "number"
  18574. },
  18575. "OriSellPricedQty": {
  18576. "description": "期初销售合同已定价数量",
  18577. "type": "number"
  18578. },
  18579. "SellFutureQty": {
  18580. "description": "卖出期货数量",
  18581. "type": "number"
  18582. },
  18583. "SellPlanQty": {
  18584. "description": "销售计划数量",
  18585. "type": "number"
  18586. },
  18587. "SellPricedQty": {
  18588. "description": "销售合同已定价数量",
  18589. "type": "number"
  18590. },
  18591. "TotalExposure": {
  18592. "description": "总敞口",
  18593. "type": "number"
  18594. },
  18595. "TotalFutureQty": {
  18596. "description": "期货总量",
  18597. "type": "number"
  18598. },
  18599. "TotalHedgeRatio": {
  18600. "description": "敞口比例",
  18601. "type": "number"
  18602. },
  18603. "TotalNeedHedgeQty": {
  18604. "description": "应套保总量(现货应套保总量)",
  18605. "type": "number"
  18606. },
  18607. "TotalSpotQty": {
  18608. "description": "现货总量",
  18609. "type": "number"
  18610. },
  18611. "arbitrageqty": {
  18612. "description": "套利量",
  18613. "type": "number"
  18614. },
  18615. "diffArbitrageQty": {
  18616. "description": "套利变动量",
  18617. "type": "number"
  18618. },
  18619. "diffExposoureQty": {
  18620. "description": "变动量(套保敞口)",
  18621. "type": "number"
  18622. },
  18623. "diffFutuQty": {
  18624. "description": "变动量(期货总量)",
  18625. "type": "number"
  18626. },
  18627. "diffHedgeQty": {
  18628. "description": "套保变动量",
  18629. "type": "number"
  18630. },
  18631. "diffQty": {
  18632. "description": "变动量(总敞口)",
  18633. "type": "number"
  18634. },
  18635. "diffSpotHedgeQty": {
  18636. "description": "变动量(现货应套保总量)",
  18637. "type": "number"
  18638. },
  18639. "diffSpotQty": {
  18640. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  18641. "type": "number"
  18642. },
  18643. "enumdicname": {
  18644. "description": "单位名称",
  18645. "type": "string"
  18646. },
  18647. "hedgeqty": {
  18648. "description": "套保量",
  18649. "type": "number"
  18650. },
  18651. "needarbitrageqty": {
  18652. "description": "应套利量",
  18653. "type": "number"
  18654. },
  18655. "needarbitrageratio": {
  18656. "description": "套利比例",
  18657. "type": "number"
  18658. },
  18659. "needhedgeqty": {
  18660. "description": "应套保量",
  18661. "type": "number"
  18662. },
  18663. "oriTotalFutuQty": {
  18664. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  18665. "type": "number"
  18666. },
  18667. "oriTotalSpotQty": {
  18668. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  18669. "type": "number"
  18670. },
  18671. "oriarbitrageqty": {
  18672. "description": "期初套利量",
  18673. "type": "number"
  18674. },
  18675. "orihedgeqty": {
  18676. "description": "期初套保量",
  18677. "type": "number"
  18678. },
  18679. "orineedhedgeexposoure": {
  18680. "description": "期初套保敞口",
  18681. "type": "number"
  18682. },
  18683. "oritotalexposure": {
  18684. "description": "期初总敞口",
  18685. "type": "number"
  18686. },
  18687. "oritotalfutureqty": {
  18688. "description": "期初期货总量",
  18689. "type": "number"
  18690. },
  18691. "oritotalneedhedgeqty": {
  18692. "description": "期初现货应套保量",
  18693. "type": "number"
  18694. }
  18695. }
  18696. },
  18697. "models.ErmcpRole": {
  18698. "type": "object",
  18699. "properties": {
  18700. "areauserid": {
  18701. "description": "所属机构",
  18702. "type": "integer"
  18703. },
  18704. "autoid": {
  18705. "description": "角色ID(自增ID)",
  18706. "type": "integer"
  18707. },
  18708. "modifierid": {
  18709. "description": "修改人(创建人)",
  18710. "type": "integer"
  18711. },
  18712. "modifiername": {
  18713. "description": "修改人名称",
  18714. "type": "string"
  18715. },
  18716. "modifytime": {
  18717. "description": "修改时间(创建时间)",
  18718. "type": "string"
  18719. },
  18720. "rolename": {
  18721. "description": "角色名称",
  18722. "type": "string"
  18723. },
  18724. "rolestatus": {
  18725. "description": "角色状态 - 1:启用 2:停用",
  18726. "type": "integer"
  18727. },
  18728. "roletype": {
  18729. "description": "角色类型 - 1- 管理端 2- 交易端",
  18730. "type": "integer"
  18731. }
  18732. }
  18733. },
  18734. "models.ErmcpRoleMenu": {
  18735. "type": "object",
  18736. "properties": {
  18737. "iconame": {
  18738. "description": "菜单图标",
  18739. "type": "string"
  18740. },
  18741. "ishadrole": {
  18742. "description": "是否有权限",
  18743. "type": "boolean"
  18744. },
  18745. "menutype": {
  18746. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  18747. "type": "integer"
  18748. },
  18749. "parentcode": {
  18750. "description": "上级资源代码",
  18751. "type": "string"
  18752. },
  18753. "remark": {
  18754. "description": "菜单备注",
  18755. "type": "string"
  18756. },
  18757. "resourcecode": {
  18758. "description": "菜单代码",
  18759. "type": "string"
  18760. },
  18761. "resourcelevel": {
  18762. "description": "级别",
  18763. "type": "integer"
  18764. },
  18765. "resourcename": {
  18766. "description": "菜单名称",
  18767. "type": "string"
  18768. },
  18769. "roleid": {
  18770. "description": "角色id",
  18771. "type": "integer"
  18772. },
  18773. "sort": {
  18774. "description": "排序",
  18775. "type": "integer"
  18776. },
  18777. "url": {
  18778. "description": "URL",
  18779. "type": "string"
  18780. },
  18781. "userid": {
  18782. "description": "用户id",
  18783. "type": "integer"
  18784. }
  18785. }
  18786. },
  18787. "models.ErmcpRoleMenuEx": {
  18788. "type": "object",
  18789. "properties": {
  18790. "menu": {
  18791. "description": "父级菜单",
  18792. "type": "object",
  18793. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18794. },
  18795. "subMenu": {
  18796. "description": "子级菜单",
  18797. "type": "array",
  18798. "items": {
  18799. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  18800. }
  18801. }
  18802. }
  18803. },
  18804. "models.ErmcpTaAccount": {
  18805. "type": "object",
  18806. "properties": {
  18807. "accountid": {
  18808. "description": "账户id",
  18809. "type": "integer"
  18810. },
  18811. "accountname": {
  18812. "description": "账户名称",
  18813. "type": "string"
  18814. },
  18815. "currencyid": {
  18816. "description": "币种id",
  18817. "type": "integer"
  18818. },
  18819. "hedgeaccountcode": {
  18820. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18821. "type": "string"
  18822. },
  18823. "ismain": {
  18824. "description": "是否主账户 0-否 1-是",
  18825. "type": "integer"
  18826. },
  18827. "parentaccountid": {
  18828. "description": "父账户id",
  18829. "type": "integer"
  18830. },
  18831. "relateduserid": {
  18832. "description": "关联userid",
  18833. "type": "integer"
  18834. },
  18835. "tradefeetmpid": {
  18836. "description": "手续费模板id",
  18837. "type": "integer"
  18838. },
  18839. "tradefeetmpname": {
  18840. "description": "手续费模板名称",
  18841. "type": "string"
  18842. },
  18843. "trademargintmpid": {
  18844. "description": "保证金模板id",
  18845. "type": "integer"
  18846. },
  18847. "trademargintmpname": {
  18848. "description": "保证金模板名称",
  18849. "type": "string"
  18850. },
  18851. "traderatetmpid": {
  18852. "description": "汇率模板id",
  18853. "type": "integer"
  18854. },
  18855. "traderatetmpname": {
  18856. "description": "汇率模板名称",
  18857. "type": "string"
  18858. },
  18859. "tradestatus": {
  18860. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18861. "type": "integer"
  18862. },
  18863. "userid": {
  18864. "description": "用户id",
  18865. "type": "integer"
  18866. }
  18867. }
  18868. },
  18869. "models.ErmcpTaAccountEx": {
  18870. "type": "object",
  18871. "properties": {
  18872. "mainAcc": {
  18873. "description": "主账号",
  18874. "type": "object",
  18875. "$ref": "#/definitions/models.ErmcpTaAccountM"
  18876. },
  18877. "subacclist": {
  18878. "description": "子账号列表",
  18879. "type": "array",
  18880. "items": {
  18881. "$ref": "#/definitions/models.ErmcpTaAccount"
  18882. }
  18883. }
  18884. }
  18885. },
  18886. "models.ErmcpTaAccountInfo": {
  18887. "type": "object",
  18888. "properties": {
  18889. "accountid": {
  18890. "description": "资金账户ID",
  18891. "type": "integer"
  18892. },
  18893. "accountname": {
  18894. "description": "账户名称",
  18895. "type": "string"
  18896. },
  18897. "balance": {
  18898. "description": "期初余额",
  18899. "type": "number"
  18900. },
  18901. "capitalbalance": {
  18902. "description": "本金余额[外部子账户实际出入金余额]",
  18903. "type": "number"
  18904. },
  18905. "closepl": {
  18906. "description": "今日平仓盈亏",
  18907. "type": "number"
  18908. },
  18909. "creditdecrease": {
  18910. "description": "今日授信减少",
  18911. "type": "number"
  18912. },
  18913. "creditincrease": {
  18914. "description": "今日授信增加",
  18915. "type": "number"
  18916. },
  18917. "curdebt": {
  18918. "description": "期末欠款",
  18919. "type": "number"
  18920. },
  18921. "currencyid": {
  18922. "description": "货币ID",
  18923. "type": "integer"
  18924. },
  18925. "currentbalance": {
  18926. "description": "期末余额",
  18927. "type": "number"
  18928. },
  18929. "freezecharge": {
  18930. "description": "手续费冻结",
  18931. "type": "number"
  18932. },
  18933. "freezemargin": {
  18934. "description": "冻结保证金",
  18935. "type": "number"
  18936. },
  18937. "fromaccountid": {
  18938. "description": "所属上级账户",
  18939. "type": "integer"
  18940. },
  18941. "inamount": {
  18942. "description": "今日入金金额(包括三方入金)",
  18943. "type": "number"
  18944. },
  18945. "ismain": {
  18946. "description": "是否母账号 0:不是母账户 1:是母账户",
  18947. "type": "integer"
  18948. },
  18949. "mortgagecredit": {
  18950. "description": "授信金额",
  18951. "type": "number"
  18952. },
  18953. "oridebt": {
  18954. "description": "期初欠款",
  18955. "type": "number"
  18956. },
  18957. "orifreezecharge": {
  18958. "description": "期初手续费冻结",
  18959. "type": "number"
  18960. },
  18961. "orifreezemargin": {
  18962. "description": "期初冻结保证金",
  18963. "type": "number"
  18964. },
  18965. "orimortgagecredit": {
  18966. "description": "期初授信金额",
  18967. "type": "number"
  18968. },
  18969. "oriothercredit": {
  18970. "description": "期初其它授信金额",
  18971. "type": "number"
  18972. },
  18973. "oriotherfreezemargin": {
  18974. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18975. "type": "number"
  18976. },
  18977. "orioutamountfreeze": {
  18978. "description": "期初出金冻结",
  18979. "type": "number"
  18980. },
  18981. "oriusedmargin": {
  18982. "description": "期初占用保证金",
  18983. "type": "number"
  18984. },
  18985. "othercredit": {
  18986. "description": "其它授信金额",
  18987. "type": "number"
  18988. },
  18989. "othercreditdecrease": {
  18990. "description": "今日其它授信减少",
  18991. "type": "number"
  18992. },
  18993. "othercreditincrease": {
  18994. "description": "今日其它授信增加",
  18995. "type": "number"
  18996. },
  18997. "otherfreezemargin": {
  18998. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18999. "type": "number"
  19000. },
  19001. "outamount": {
  19002. "description": "今日出金金额(包括三方出金)",
  19003. "type": "number"
  19004. },
  19005. "outamountfreeze": {
  19006. "description": "出金冻结",
  19007. "type": "number"
  19008. },
  19009. "outthreshold": {
  19010. "description": "出金阈值",
  19011. "type": "number"
  19012. },
  19013. "parentaccountid": {
  19014. "description": "所属根账号",
  19015. "type": "integer"
  19016. },
  19017. "paycharge": {
  19018. "description": "今日手续费支出",
  19019. "type": "number"
  19020. },
  19021. "relateduserid": {
  19022. "description": "关联用户",
  19023. "type": "integer"
  19024. },
  19025. "signstatus": {
  19026. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19027. "type": "integer"
  19028. },
  19029. "sublevelpath": {
  19030. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19031. "type": "string"
  19032. },
  19033. "taaccounttype": {
  19034. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19035. "type": "integer"
  19036. },
  19037. "thirdinamount": {
  19038. "description": "今日三方入金",
  19039. "type": "number"
  19040. },
  19041. "thirdoutamount": {
  19042. "description": "今日三方出金",
  19043. "type": "number"
  19044. },
  19045. "tradestatus": {
  19046. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19047. "type": "integer"
  19048. },
  19049. "transferamount": {
  19050. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19051. "type": "number"
  19052. },
  19053. "usedmargin": {
  19054. "description": "占用保证金",
  19055. "type": "number"
  19056. },
  19057. "userid": {
  19058. "description": "用户ID",
  19059. "type": "integer"
  19060. }
  19061. }
  19062. },
  19063. "models.ErmcpTaAccountM": {
  19064. "type": "object",
  19065. "properties": {
  19066. "accountid": {
  19067. "description": "账户id",
  19068. "type": "integer"
  19069. },
  19070. "accountname": {
  19071. "description": "账户名称",
  19072. "type": "string"
  19073. },
  19074. "currencyid": {
  19075. "description": "币种id",
  19076. "type": "integer"
  19077. },
  19078. "fcid": {
  19079. "description": "期货公司id",
  19080. "type": "integer"
  19081. },
  19082. "fcname": {
  19083. "description": "期货公司代码",
  19084. "type": "string"
  19085. },
  19086. "hedgeaccountcode": {
  19087. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19088. "type": "string"
  19089. },
  19090. "ismain": {
  19091. "description": "是否主账户 0-否 1-是",
  19092. "type": "integer"
  19093. },
  19094. "parentaccountid": {
  19095. "description": "父账户id",
  19096. "type": "integer"
  19097. },
  19098. "relateduserid": {
  19099. "description": "关联userid",
  19100. "type": "integer"
  19101. },
  19102. "tradefeetmpid": {
  19103. "description": "手续费模板id",
  19104. "type": "integer"
  19105. },
  19106. "tradefeetmpname": {
  19107. "description": "手续费模板名称",
  19108. "type": "string"
  19109. },
  19110. "trademargintmpid": {
  19111. "description": "保证金模板id",
  19112. "type": "integer"
  19113. },
  19114. "trademargintmpname": {
  19115. "description": "保证金模板名称",
  19116. "type": "string"
  19117. },
  19118. "traderatetmpid": {
  19119. "description": "汇率模板id",
  19120. "type": "integer"
  19121. },
  19122. "traderatetmpname": {
  19123. "description": "汇率模板名称",
  19124. "type": "string"
  19125. },
  19126. "tradestatus": {
  19127. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19128. "type": "integer"
  19129. },
  19130. "userid": {
  19131. "description": "用户id",
  19132. "type": "integer"
  19133. }
  19134. }
  19135. },
  19136. "models.ErmcpTradeConfigTMP": {
  19137. "type": "object",
  19138. "properties": {
  19139. "areauserid": {
  19140. "description": "所属机构",
  19141. "type": "integer"
  19142. },
  19143. "basiccurrencyid": {
  19144. "description": "基本币种ID[汇率] - 目标币种",
  19145. "type": "integer"
  19146. },
  19147. "mainaccountid": {
  19148. "description": "主账户ID",
  19149. "type": "integer"
  19150. },
  19151. "modifierid": {
  19152. "description": "修改人",
  19153. "type": "integer"
  19154. },
  19155. "remark": {
  19156. "description": "备注",
  19157. "type": "string"
  19158. },
  19159. "tradeconfigtmpid": {
  19160. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  19161. "type": "integer"
  19162. },
  19163. "tradeconfigtmpname": {
  19164. "description": "交易配置模板名称",
  19165. "type": "string"
  19166. },
  19167. "tradeconfigtmptype": {
  19168. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  19169. "type": "integer"
  19170. },
  19171. "updatetime": {
  19172. "description": "更新时间",
  19173. "type": "string"
  19174. }
  19175. }
  19176. },
  19177. "models.ErmcpUserModel": {
  19178. "type": "object",
  19179. "properties": {
  19180. "address": {
  19181. "description": "通讯地址",
  19182. "type": "string"
  19183. },
  19184. "attachment1": {
  19185. "description": "附件1",
  19186. "type": "string"
  19187. },
  19188. "audittime": {
  19189. "description": "审核时间",
  19190. "type": "string"
  19191. },
  19192. "cardbackphotourl": {
  19193. "description": "证件反面图片地址",
  19194. "type": "string"
  19195. },
  19196. "cardfrontphotourl": {
  19197. "description": "证件正面图片地址",
  19198. "type": "string"
  19199. },
  19200. "cardnum": {
  19201. "description": "证件号码",
  19202. "type": "string"
  19203. },
  19204. "cardtype": {
  19205. "description": "证件类型",
  19206. "type": "integer"
  19207. },
  19208. "cardtypename": {
  19209. "description": "证件类型名称",
  19210. "type": "string"
  19211. },
  19212. "cityid": {
  19213. "description": "市",
  19214. "type": "integer"
  19215. },
  19216. "contactname": {
  19217. "description": "联系人",
  19218. "type": "string"
  19219. },
  19220. "countryid": {
  19221. "description": "国家",
  19222. "type": "integer"
  19223. },
  19224. "createtime": {
  19225. "description": "创建时间",
  19226. "type": "string"
  19227. },
  19228. "customername": {
  19229. "description": "企业名称",
  19230. "type": "string"
  19231. },
  19232. "districtid": {
  19233. "description": "区域",
  19234. "type": "integer"
  19235. },
  19236. "email": {
  19237. "description": "邮件",
  19238. "type": "string"
  19239. },
  19240. "legalpersonname": {
  19241. "description": "法人姓名(企业)",
  19242. "type": "string"
  19243. },
  19244. "memberuserid": {
  19245. "description": "所属机构ID",
  19246. "type": "integer"
  19247. },
  19248. "mobile": {
  19249. "description": "手机号码",
  19250. "type": "string"
  19251. },
  19252. "modifytime": {
  19253. "description": "修改时间",
  19254. "type": "string"
  19255. },
  19256. "nickname": {
  19257. "description": "昵称",
  19258. "type": "string"
  19259. },
  19260. "provinceid": {
  19261. "description": "省",
  19262. "type": "integer"
  19263. },
  19264. "remark": {
  19265. "description": "备注",
  19266. "type": "string"
  19267. },
  19268. "status": {
  19269. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19270. "type": "integer"
  19271. },
  19272. "statusdesc": {
  19273. "description": "账户状态中文描述",
  19274. "type": "string"
  19275. },
  19276. "taxpayernum": {
  19277. "description": "纳税人识别号",
  19278. "type": "string"
  19279. },
  19280. "telphone": {
  19281. "description": "联系电话",
  19282. "type": "string"
  19283. },
  19284. "userid": {
  19285. "description": "用户ID",
  19286. "type": "integer"
  19287. },
  19288. "userinfotype": {
  19289. "description": "客户类型",
  19290. "type": "string"
  19291. }
  19292. }
  19293. },
  19294. "models.ErmcpWareHouseInfo": {
  19295. "type": "object",
  19296. "properties": {
  19297. "address": {
  19298. "description": "详细地址",
  19299. "type": "string"
  19300. },
  19301. "areauserid": {
  19302. "description": "所属机构",
  19303. "type": "integer"
  19304. },
  19305. "autoid": {
  19306. "description": "自增ID(仓库ID)",
  19307. "type": "integer"
  19308. },
  19309. "cityid": {
  19310. "description": "市",
  19311. "type": "integer"
  19312. },
  19313. "contactname": {
  19314. "description": "联系人",
  19315. "type": "string"
  19316. },
  19317. "contactnum": {
  19318. "description": "联系电话",
  19319. "type": "string"
  19320. },
  19321. "countryid": {
  19322. "description": "国家",
  19323. "type": "integer"
  19324. },
  19325. "createtime": {
  19326. "description": "创建时间",
  19327. "type": "string"
  19328. },
  19329. "districtid": {
  19330. "description": "区",
  19331. "type": "integer"
  19332. },
  19333. "hasvideo": {
  19334. "description": "是否有视频 - 0:无 1:有",
  19335. "type": "integer"
  19336. },
  19337. "provinceid": {
  19338. "description": "省",
  19339. "type": "integer"
  19340. },
  19341. "remark": {
  19342. "description": "审核备注",
  19343. "type": "string"
  19344. },
  19345. "videourl": {
  19346. "description": "视频地址",
  19347. "type": "string"
  19348. },
  19349. "warehousecode": {
  19350. "description": "仓库代码",
  19351. "type": "string"
  19352. },
  19353. "warehousename": {
  19354. "description": "仓库名称",
  19355. "type": "string"
  19356. },
  19357. "warehousestatus": {
  19358. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19359. "type": "integer"
  19360. },
  19361. "warehousetype": {
  19362. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19363. "type": "integer"
  19364. }
  19365. }
  19366. },
  19367. "models.Externalexchange": {
  19368. "type": "object",
  19369. "required": [
  19370. "autoid"
  19371. ],
  19372. "properties": {
  19373. "autoid": {
  19374. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  19375. "type": "integer"
  19376. },
  19377. "exchangefullname": {
  19378. "description": "外部交易所全称",
  19379. "type": "string"
  19380. },
  19381. "exexchangecode": {
  19382. "description": "外部交易所代码",
  19383. "type": "string"
  19384. },
  19385. "exexchangename": {
  19386. "description": "外部交易所名称(简称)",
  19387. "type": "string"
  19388. },
  19389. "ismarketprice": {
  19390. "description": "是否支持市价 - 0:不支持 1:支持",
  19391. "type": "integer"
  19392. },
  19393. "quotegear": {
  19394. "description": "行情档位(1-10)",
  19395. "type": "integer"
  19396. },
  19397. "showbrokerflag": {
  19398. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  19399. "type": "integer"
  19400. },
  19401. "updatetime": {
  19402. "description": "更新时间",
  19403. "type": "string"
  19404. }
  19405. }
  19406. },
  19407. "models.Funcmenulist": {
  19408. "type": "object",
  19409. "required": [
  19410. "resourcecode"
  19411. ],
  19412. "properties": {
  19413. "iconame": {
  19414. "description": "菜单图标",
  19415. "type": "string"
  19416. },
  19417. "menutype": {
  19418. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  19419. "type": "integer"
  19420. },
  19421. "parentcode": {
  19422. "description": "上级资源代码",
  19423. "type": "string"
  19424. },
  19425. "remark": {
  19426. "description": "备注",
  19427. "type": "string"
  19428. },
  19429. "resourcecode": {
  19430. "description": "资源代码",
  19431. "type": "string"
  19432. },
  19433. "resourcelevel": {
  19434. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  19435. "type": "integer"
  19436. },
  19437. "resourcename": {
  19438. "description": "资源名",
  19439. "type": "string"
  19440. },
  19441. "sort": {
  19442. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  19443. "type": "integer"
  19444. },
  19445. "url": {
  19446. "description": "URL",
  19447. "type": "string"
  19448. }
  19449. }
  19450. },
  19451. "models.Goods": {
  19452. "type": "object",
  19453. "required": [
  19454. "goodscode",
  19455. "goodsid",
  19456. "goodsname",
  19457. "marketid"
  19458. ],
  19459. "properties": {
  19460. "agreeunit": {
  19461. "description": "合约单位",
  19462. "type": "number"
  19463. },
  19464. "areauserid": {
  19465. "description": "所属机构",
  19466. "type": "integer"
  19467. },
  19468. "auditaccountid": {
  19469. "description": "审核操作员账号",
  19470. "type": "integer"
  19471. },
  19472. "audittime": {
  19473. "description": "审核时间",
  19474. "type": "string"
  19475. },
  19476. "cancelaccountid": {
  19477. "description": "注销操作员账号",
  19478. "type": "integer"
  19479. },
  19480. "canceltime": {
  19481. "description": "注销时间",
  19482. "type": "string"
  19483. },
  19484. "closepricemode": {
  19485. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19486. "type": "integer"
  19487. },
  19488. "closepriceparam": {
  19489. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19490. "type": "number"
  19491. },
  19492. "createtime": {
  19493. "description": "创建时间",
  19494. "type": "string"
  19495. },
  19496. "creatorid": {
  19497. "description": "创建人",
  19498. "type": "integer"
  19499. },
  19500. "currencyid": {
  19501. "description": "报价货币ID",
  19502. "type": "integer"
  19503. },
  19504. "cutmode": {
  19505. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19506. "type": "integer"
  19507. },
  19508. "decimalplace": {
  19509. "description": "报价小数位",
  19510. "type": "integer"
  19511. },
  19512. "delistingdate": {
  19513. "description": "商品退市时间(状态:退市) -- 已作废",
  19514. "type": "string"
  19515. },
  19516. "delistingmode": {
  19517. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19518. "type": "integer"
  19519. },
  19520. "deliveryflag": {
  19521. "description": "交割标志 - 0:不可交割 1:可交割",
  19522. "type": "integer"
  19523. },
  19524. "forceclosemode": {
  19525. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19526. "type": "integer"
  19527. },
  19528. "forceclosevalue": {
  19529. "description": "定期强平参数 [收益权]",
  19530. "type": "integer"
  19531. },
  19532. "goodscode": {
  19533. "description": "商品代码(内部)",
  19534. "type": "string"
  19535. },
  19536. "goodscurrencyid": {
  19537. "description": "合约货币ID",
  19538. "type": "integer"
  19539. },
  19540. "goodsgroupid": {
  19541. "description": "所属商品组ID",
  19542. "type": "integer"
  19543. },
  19544. "goodsid": {
  19545. "description": "商品ID(自增ID SEQ_GOODS)",
  19546. "type": "integer"
  19547. },
  19548. "goodsname": {
  19549. "description": "商品名称",
  19550. "type": "string"
  19551. },
  19552. "goodsquotetype": {
  19553. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19554. "type": "integer"
  19555. },
  19556. "goodsstatus": {
  19557. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19558. "type": "integer"
  19559. },
  19560. "goodstradetype": {
  19561. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19562. "type": "integer"
  19563. },
  19564. "goodunitid": {
  19565. "description": "报价单位ID",
  19566. "type": "integer"
  19567. },
  19568. "hasquoter": {
  19569. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19570. "type": "integer"
  19571. },
  19572. "hqprotecttime": {
  19573. "description": "行情保护时间(秒)",
  19574. "type": "integer"
  19575. },
  19576. "innerdealmode": {
  19577. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19578. "type": "integer"
  19579. },
  19580. "isbuylimited": {
  19581. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19582. "type": "integer"
  19583. },
  19584. "isvisible": {
  19585. "description": "游客是否可见 - 0:不可见 1:可见",
  19586. "type": "integer"
  19587. },
  19588. "lasttradedate": {
  19589. "description": "最后交易日期(状态:待退市)",
  19590. "type": "string"
  19591. },
  19592. "listingdate": {
  19593. "description": "交易开始日期",
  19594. "type": "string"
  19595. },
  19596. "marketid": {
  19597. "description": "所属市场ID",
  19598. "type": "integer"
  19599. },
  19600. "modifierid": {
  19601. "description": "修改人",
  19602. "type": "integer"
  19603. },
  19604. "modifystatus": {
  19605. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19606. "type": "integer"
  19607. },
  19608. "modifytime": {
  19609. "description": "修改时间",
  19610. "type": "string"
  19611. },
  19612. "outerdealmode": {
  19613. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19614. "type": "integer"
  19615. },
  19616. "outgoodscode": {
  19617. "description": "商品代码(外部)",
  19618. "type": "string"
  19619. },
  19620. "pictureurl": {
  19621. "description": "商品图片",
  19622. "type": "string"
  19623. },
  19624. "qtydecimalplace": {
  19625. "description": "成交量小数位",
  19626. "type": "integer"
  19627. },
  19628. "quotegear": {
  19629. "description": "行情档位(1-10)",
  19630. "type": "integer"
  19631. },
  19632. "quoteminunit": {
  19633. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19634. "type": "integer"
  19635. },
  19636. "quoteshowtype": {
  19637. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19638. "type": "integer"
  19639. },
  19640. "quoteshowtypeinterval": {
  19641. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19642. "type": "integer"
  19643. },
  19644. "remark": {
  19645. "description": "备注",
  19646. "type": "string"
  19647. }
  19648. }
  19649. },
  19650. "models.GoodsIDAndName": {
  19651. "type": "object",
  19652. "required": [
  19653. "goodscode",
  19654. "goodsid",
  19655. "goodsname",
  19656. "marketid"
  19657. ],
  19658. "properties": {
  19659. "goodscode": {
  19660. "description": "商品代码(内部)",
  19661. "type": "string"
  19662. },
  19663. "goodsid": {
  19664. "description": "商品ID(自增ID SEQ_GOODS)",
  19665. "type": "integer"
  19666. },
  19667. "goodsname": {
  19668. "description": "商品名称",
  19669. "type": "string"
  19670. },
  19671. "marketid": {
  19672. "description": "所属市场ID",
  19673. "type": "integer"
  19674. }
  19675. }
  19676. },
  19677. "models.Goodsgroup": {
  19678. "type": "object",
  19679. "required": [
  19680. "goodsgroupid",
  19681. "goodsgroupname",
  19682. "goodsgroupstatus",
  19683. "marketid"
  19684. ],
  19685. "properties": {
  19686. "agreeunit": {
  19687. "description": "合约单位",
  19688. "type": "number"
  19689. },
  19690. "canshort": {
  19691. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19692. "type": "integer"
  19693. },
  19694. "closepricemode": {
  19695. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19696. "type": "integer"
  19697. },
  19698. "closepriceparam": {
  19699. "description": "强平最新价浮动比例 - 方式为2时使用",
  19700. "type": "number"
  19701. },
  19702. "createtime": {
  19703. "description": "创建时间",
  19704. "type": "string"
  19705. },
  19706. "creatorid": {
  19707. "description": "创建人",
  19708. "type": "integer"
  19709. },
  19710. "currencyid": {
  19711. "description": "报价货币ID",
  19712. "type": "integer"
  19713. },
  19714. "decimalplace": {
  19715. "description": "报价小数位",
  19716. "type": "integer"
  19717. },
  19718. "exercisetype": {
  19719. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19720. "type": "integer"
  19721. },
  19722. "exexchangeid": {
  19723. "description": "外部交易所ID[通道交易]",
  19724. "type": "integer"
  19725. },
  19726. "goodsgroupid": {
  19727. "description": "商品组ID(自增ID)",
  19728. "type": "integer"
  19729. },
  19730. "goodsgroupname": {
  19731. "description": "商品组名称",
  19732. "type": "string"
  19733. },
  19734. "goodsgroupstatus": {
  19735. "description": "商品组状态 - 1:正常 2:注销",
  19736. "type": "integer"
  19737. },
  19738. "goodunitid": {
  19739. "description": "报价单位ID",
  19740. "type": "integer"
  19741. },
  19742. "innerdealmode": {
  19743. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19744. "type": "integer"
  19745. },
  19746. "isbuylimited": {
  19747. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19748. "type": "integer"
  19749. },
  19750. "marketid": {
  19751. "description": "所属市场ID",
  19752. "type": "integer"
  19753. },
  19754. "modifierid": {
  19755. "description": "修改人",
  19756. "type": "integer"
  19757. },
  19758. "modifytime": {
  19759. "description": "修改时间",
  19760. "type": "string"
  19761. },
  19762. "outerdealmode": {
  19763. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19764. "type": "integer"
  19765. },
  19766. "outergroupcode": {
  19767. "description": "外部商品组代码[通道交易]",
  19768. "type": "string"
  19769. },
  19770. "premiumdecimalplace": {
  19771. "description": "权利金小数位[场外期权]",
  19772. "type": "integer"
  19773. },
  19774. "premiumspreadalgorithm": {
  19775. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19776. "type": "integer"
  19777. },
  19778. "premiumspreadvalue": {
  19779. "description": "权利金点差值[场外期权]",
  19780. "type": "number"
  19781. },
  19782. "qtydecimalplace": {
  19783. "description": "成交量小数位",
  19784. "type": "integer"
  19785. },
  19786. "quotegear": {
  19787. "description": "行情档位(1-10)",
  19788. "type": "integer"
  19789. },
  19790. "quoteminunit": {
  19791. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19792. "type": "integer"
  19793. },
  19794. "quoterid": {
  19795. "description": "报价商ID[场外期权]",
  19796. "type": "integer"
  19797. },
  19798. "quotesourcegroupid": {
  19799. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19800. "type": "integer"
  19801. },
  19802. "syncgoodsqty": {
  19803. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19804. "type": "integer"
  19805. }
  19806. }
  19807. },
  19808. "models.Goodssortbypreposition": {
  19809. "type": "object",
  19810. "required": [
  19811. "goodscode",
  19812. "tradedate"
  19813. ],
  19814. "properties": {
  19815. "goodscode": {
  19816. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19817. "type": "string"
  19818. },
  19819. "goodsgroupcode": {
  19820. "description": "品种代码",
  19821. "type": "string"
  19822. },
  19823. "prepositionqty": {
  19824. "description": "昨持仓量",
  19825. "type": "integer"
  19826. },
  19827. "sortindex": {
  19828. "description": "排序",
  19829. "type": "integer"
  19830. },
  19831. "tradedate": {
  19832. "description": "交易日",
  19833. "type": "string"
  19834. },
  19835. "updatetime": {
  19836. "description": "更新时间",
  19837. "type": "string"
  19838. }
  19839. }
  19840. },
  19841. "models.Hedgeinnerholderdetail": {
  19842. "type": "object",
  19843. "required": [
  19844. "buyorsell",
  19845. "tradeid"
  19846. ],
  19847. "properties": {
  19848. "accountid": {
  19849. "description": "账号ID",
  19850. "type": "integer"
  19851. },
  19852. "buyorsell": {
  19853. "description": "方向 - 0:买 1:卖",
  19854. "type": "integer"
  19855. },
  19856. "freezeqty": {
  19857. "description": "冻结数量 - 按单平使用",
  19858. "type": "integer"
  19859. },
  19860. "goodsid": {
  19861. "description": "商品ID",
  19862. "type": "integer"
  19863. },
  19864. "holderamount": {
  19865. "description": "持仓金额 [商品币种]",
  19866. "type": "number"
  19867. },
  19868. "holderdays": {
  19869. "description": "剩余冻结天数",
  19870. "type": "integer"
  19871. },
  19872. "holderprice": {
  19873. "description": "持仓价格",
  19874. "type": "number"
  19875. },
  19876. "holderqty": {
  19877. "description": "持仓数量",
  19878. "type": "integer"
  19879. },
  19880. "marketid": {
  19881. "description": "市场ID",
  19882. "type": "integer"
  19883. },
  19884. "openprice": {
  19885. "description": "建仓价格",
  19886. "type": "number"
  19887. },
  19888. "openqty": {
  19889. "description": "建仓数量",
  19890. "type": "integer"
  19891. },
  19892. "parentaccountid": {
  19893. "description": "所属母账户",
  19894. "type": "integer"
  19895. },
  19896. "releaseamount": {
  19897. "description": "释放持仓金额[商品币种]",
  19898. "type": "number"
  19899. },
  19900. "tradeamount": {
  19901. "description": "成交金额[账户]",
  19902. "type": "number"
  19903. },
  19904. "tradedate": {
  19905. "description": "交易日(yyyyMMdd)",
  19906. "type": "string"
  19907. },
  19908. "tradeid": {
  19909. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19910. "type": "string"
  19911. },
  19912. "tradetime": {
  19913. "description": "交易时间",
  19914. "type": "string"
  19915. }
  19916. }
  19917. },
  19918. "models.Hedgemarketopenlog": {
  19919. "type": "object",
  19920. "required": [
  19921. "accountid"
  19922. ],
  19923. "properties": {
  19924. "accountid": {
  19925. "description": "资金账号[外部母账户]",
  19926. "type": "integer"
  19927. },
  19928. "fcname": {
  19929. "description": "期货公司名称",
  19930. "type": "string"
  19931. },
  19932. "handlestatus": {
  19933. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  19934. "type": "integer"
  19935. },
  19936. "marketid": {
  19937. "description": "市场ID",
  19938. "type": "integer"
  19939. },
  19940. "status": {
  19941. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  19942. "type": "integer"
  19943. },
  19944. "tradedate": {
  19945. "description": "交易日(yyyyMMdd)",
  19946. "type": "string"
  19947. },
  19948. "updatetime": {
  19949. "description": "更新时间",
  19950. "type": "string"
  19951. }
  19952. }
  19953. },
  19954. "models.HsbyBuyMyPayOrder": {
  19955. "type": "object",
  19956. "required": [
  19957. "goodscode",
  19958. "goodsname",
  19959. "tradeid",
  19960. "trademode"
  19961. ],
  19962. "properties": {
  19963. "agreeunit": {
  19964. "description": "合约单位",
  19965. "type": "number"
  19966. },
  19967. "buyaccountid": {
  19968. "description": "买方账号ID[报价币种]",
  19969. "type": "integer"
  19970. },
  19971. "buyorderid": {
  19972. "description": "买方委托单号",
  19973. "type": "string"
  19974. },
  19975. "createtime": {
  19976. "description": "创建时间",
  19977. "type": "string"
  19978. },
  19979. "currencysign": {
  19980. "description": "货币符号",
  19981. "type": "string"
  19982. },
  19983. "decimalplace": {
  19984. "description": "报价小数位",
  19985. "type": "integer"
  19986. },
  19987. "goodscode": {
  19988. "description": "商品代码(内部)",
  19989. "type": "string"
  19990. },
  19991. "goodsid": {
  19992. "description": "商品ID",
  19993. "type": "integer"
  19994. },
  19995. "goodsname": {
  19996. "description": "商品名称",
  19997. "type": "string"
  19998. },
  19999. "marketid": {
  20000. "description": "市场ID",
  20001. "type": "integer"
  20002. },
  20003. "offamount": {
  20004. "description": "优惠金额",
  20005. "type": "number"
  20006. },
  20007. "originalamount": {
  20008. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  20009. "type": "number"
  20010. },
  20011. "payamount": {
  20012. "description": "支付金额 = TradeAmount + TradeCharge",
  20013. "type": "number"
  20014. },
  20015. "payflag": {
  20016. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20017. "type": "integer"
  20018. },
  20019. "paylimitedtime": {
  20020. "description": "支付期限",
  20021. "type": "string"
  20022. },
  20023. "paytime": {
  20024. "description": "付款时间",
  20025. "type": "string"
  20026. },
  20027. "picurls1": {
  20028. "description": "预售商品介绍图片[多张用逗号分隔]",
  20029. "type": "string"
  20030. },
  20031. "picurls2": {
  20032. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20033. "type": "string"
  20034. },
  20035. "sellaccountid": {
  20036. "description": "卖方账号ID[报价币种]",
  20037. "type": "integer"
  20038. },
  20039. "sellorderid": {
  20040. "description": "卖方委托单号",
  20041. "type": "string"
  20042. },
  20043. "tradeamount": {
  20044. "description": "成交金额",
  20045. "type": "number"
  20046. },
  20047. "tradecharge": {
  20048. "description": "成交手续费(买方)",
  20049. "type": "number"
  20050. },
  20051. "tradedate": {
  20052. "description": "交易日(yyyyMMdd)",
  20053. "type": "string"
  20054. },
  20055. "tradeid": {
  20056. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20057. "type": "string"
  20058. },
  20059. "trademode": {
  20060. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20061. "type": "integer"
  20062. },
  20063. "tradeprice": {
  20064. "description": "成交价格",
  20065. "type": "number"
  20066. },
  20067. "tradeqty": {
  20068. "description": "成交数量",
  20069. "type": "integer"
  20070. },
  20071. "vendorname1": {
  20072. "description": "预售商品供应商名称",
  20073. "type": "string"
  20074. },
  20075. "vendorname2": {
  20076. "description": "挂牌商品供应商名称",
  20077. "type": "string"
  20078. }
  20079. }
  20080. },
  20081. "models.HsbyBuyMyTradeDetail": {
  20082. "type": "object",
  20083. "required": [
  20084. "accountid",
  20085. "buyorsell",
  20086. "goodscode",
  20087. "goodsid",
  20088. "goodsname",
  20089. "marketid",
  20090. "orderid",
  20091. "qty",
  20092. "time",
  20093. "trademode"
  20094. ],
  20095. "properties": {
  20096. "accountid": {
  20097. "description": "账户ID[报价币种]",
  20098. "type": "integer"
  20099. },
  20100. "agreeunit": {
  20101. "description": "合约单位",
  20102. "type": "number"
  20103. },
  20104. "amount": {
  20105. "description": "金额 = 价格 * 数量 * 合约单位",
  20106. "type": "number"
  20107. },
  20108. "buyorsell": {
  20109. "description": "买卖 - 0:买 1:卖",
  20110. "type": "integer"
  20111. },
  20112. "currencysign": {
  20113. "description": "货币符号",
  20114. "type": "string"
  20115. },
  20116. "decimalplace": {
  20117. "description": "报价小数位",
  20118. "type": "integer"
  20119. },
  20120. "goodscode": {
  20121. "description": "商品代码(内部)",
  20122. "type": "string"
  20123. },
  20124. "goodsid": {
  20125. "description": "商品ID",
  20126. "type": "integer"
  20127. },
  20128. "goodsname": {
  20129. "description": "商品名称",
  20130. "type": "string"
  20131. },
  20132. "marketid": {
  20133. "description": "市场ID",
  20134. "type": "integer"
  20135. },
  20136. "orderamount": {
  20137. "description": "委托金额",
  20138. "type": "number"
  20139. },
  20140. "orderid": {
  20141. "description": "单号(成交单号)",
  20142. "type": "string"
  20143. },
  20144. "picurls1": {
  20145. "description": "预售商品介绍图片[多张用逗号分隔]",
  20146. "type": "string"
  20147. },
  20148. "picurls2": {
  20149. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20150. "type": "string"
  20151. },
  20152. "price": {
  20153. "description": "价格",
  20154. "type": "number"
  20155. },
  20156. "qty": {
  20157. "description": "数量",
  20158. "type": "integer"
  20159. },
  20160. "time": {
  20161. "description": "时间",
  20162. "type": "string"
  20163. },
  20164. "trademode": {
  20165. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20166. "type": "integer"
  20167. },
  20168. "vendorname1": {
  20169. "description": "预售商品供应商名称",
  20170. "type": "string"
  20171. },
  20172. "vendorname2": {
  20173. "description": "挂牌商品供应商名称",
  20174. "type": "string"
  20175. }
  20176. }
  20177. },
  20178. "models.HsbyGoodsOrderDetail": {
  20179. "type": "object",
  20180. "required": [
  20181. "buyorsell",
  20182. "orderid",
  20183. "ordertime"
  20184. ],
  20185. "properties": {
  20186. "buyorsell": {
  20187. "description": "买卖 - 0:买 1:卖",
  20188. "type": "integer"
  20189. },
  20190. "currencysign": {
  20191. "description": "货币符号",
  20192. "type": "string"
  20193. },
  20194. "customername": {
  20195. "description": "客户名称(企业名称),已脱敏",
  20196. "type": "string"
  20197. },
  20198. "enableqty": {
  20199. "description": "可用数量",
  20200. "type": "integer"
  20201. },
  20202. "goodunit": {
  20203. "description": "报价单位",
  20204. "type": "string"
  20205. },
  20206. "orderid": {
  20207. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20208. "type": "string"
  20209. },
  20210. "orderprice": {
  20211. "description": "委托价格",
  20212. "type": "number"
  20213. },
  20214. "ordertime": {
  20215. "description": "委托时间",
  20216. "type": "string"
  20217. }
  20218. }
  20219. },
  20220. "models.HsbyListingGoodsDetail": {
  20221. "type": "object",
  20222. "required": [
  20223. "goodscode",
  20224. "goodsid",
  20225. "goodsname",
  20226. "marketid",
  20227. "trademode"
  20228. ],
  20229. "properties": {
  20230. "agreeunit": {
  20231. "description": "合约单位",
  20232. "type": "number"
  20233. },
  20234. "buymaxqty": {
  20235. "description": "购买上限 [71] - 0为不限",
  20236. "type": "integer"
  20237. },
  20238. "currency": {
  20239. "description": "货币",
  20240. "type": "string"
  20241. },
  20242. "currencysign": {
  20243. "description": "货币符号",
  20244. "type": "string"
  20245. },
  20246. "decimalplace": {
  20247. "description": "报价小数位",
  20248. "type": "integer"
  20249. },
  20250. "desccityid": {
  20251. "description": "目的地(市)ID",
  20252. "type": "integer"
  20253. },
  20254. "descprovinceid": {
  20255. "description": "目的地(省)ID",
  20256. "type": "integer"
  20257. },
  20258. "goodscode": {
  20259. "description": "商品代码(内部)",
  20260. "type": "string"
  20261. },
  20262. "goodsdesc": {
  20263. "description": "商品详情",
  20264. "type": "string"
  20265. },
  20266. "goodsid": {
  20267. "description": "商品ID(自增ID SEQ_GOODS)",
  20268. "type": "integer"
  20269. },
  20270. "goodsname": {
  20271. "description": "商品名称",
  20272. "type": "string"
  20273. },
  20274. "goodsprice": {
  20275. "description": "商品价格",
  20276. "type": "number"
  20277. },
  20278. "hotindex": {
  20279. "description": "景点热度",
  20280. "type": "integer"
  20281. },
  20282. "last": {
  20283. "description": "现价",
  20284. "type": "number"
  20285. },
  20286. "limitdown": {
  20287. "description": "跌停价",
  20288. "type": "number"
  20289. },
  20290. "limitup": {
  20291. "description": "涨停价",
  20292. "type": "number"
  20293. },
  20294. "lotsize": {
  20295. "description": "手数最小变动单位",
  20296. "type": "integer"
  20297. },
  20298. "marketid": {
  20299. "description": "所属市场ID",
  20300. "type": "integer"
  20301. },
  20302. "picurls": {
  20303. "description": "介绍图片[多张用逗号分隔]",
  20304. "type": "string"
  20305. },
  20306. "quoteminunit": {
  20307. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20308. "type": "integer"
  20309. },
  20310. "stepvalue": {
  20311. "description": "价格最小变动单位",
  20312. "type": "number"
  20313. },
  20314. "trademode": {
  20315. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20316. "type": "integer"
  20317. },
  20318. "vendorattr": {
  20319. "description": "供应商附件(多张,逗号分隔)",
  20320. "type": "string"
  20321. },
  20322. "vendorname": {
  20323. "description": "供应商名称",
  20324. "type": "string"
  20325. },
  20326. "vendorphone": {
  20327. "description": "供应商客服电话",
  20328. "type": "string"
  20329. },
  20330. "videourls": {
  20331. "description": "介绍视频[多张用逗号分隔]",
  20332. "type": "string"
  20333. }
  20334. }
  20335. },
  20336. "models.HsbyMarketGoods": {
  20337. "type": "object",
  20338. "required": [
  20339. "accountid",
  20340. "buyorsell",
  20341. "goodscode",
  20342. "goodsid",
  20343. "goodsname",
  20344. "marketid",
  20345. "orderid",
  20346. "trademode"
  20347. ],
  20348. "properties": {
  20349. "accountid": {
  20350. "description": "账户ID[报价币种]",
  20351. "type": "integer"
  20352. },
  20353. "agreeunit": {
  20354. "description": "合约单位",
  20355. "type": "number"
  20356. },
  20357. "buyorsell": {
  20358. "description": "买卖 - 0:买 1:卖",
  20359. "type": "integer"
  20360. },
  20361. "categoryid": {
  20362. "description": "类别ID(WRCATEGORY)",
  20363. "type": "integer"
  20364. },
  20365. "currency": {
  20366. "description": "货币",
  20367. "type": "string"
  20368. },
  20369. "currencysign": {
  20370. "description": "货币符号",
  20371. "type": "string"
  20372. },
  20373. "customername": {
  20374. "description": "卖家名称",
  20375. "type": "string"
  20376. },
  20377. "decimalplace": {
  20378. "description": "报价小数位",
  20379. "type": "integer"
  20380. },
  20381. "goodscode": {
  20382. "description": "商品代码(内部)",
  20383. "type": "string"
  20384. },
  20385. "goodsid": {
  20386. "description": "商品ID",
  20387. "type": "integer"
  20388. },
  20389. "goodsname": {
  20390. "description": "商品名称",
  20391. "type": "string"
  20392. },
  20393. "goodsprice": {
  20394. "description": "商品价格",
  20395. "type": "number"
  20396. },
  20397. "hascoupon": {
  20398. "description": "是否可用优惠卷",
  20399. "type": "boolean"
  20400. },
  20401. "hotindex": {
  20402. "description": "景点热度",
  20403. "type": "integer"
  20404. },
  20405. "marketid": {
  20406. "description": "市场ID",
  20407. "type": "integer"
  20408. },
  20409. "orderid": {
  20410. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20411. "type": "string"
  20412. },
  20413. "orderprice": {
  20414. "description": "委托价格",
  20415. "type": "number"
  20416. },
  20417. "orderstatus": {
  20418. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20419. "type": "integer"
  20420. },
  20421. "picurls": {
  20422. "description": "介绍图片[多张用逗号分隔]",
  20423. "type": "string"
  20424. },
  20425. "quoteminunit": {
  20426. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20427. "type": "integer"
  20428. },
  20429. "sellUserID": {
  20430. "description": "卖方UserID",
  20431. "type": "integer"
  20432. },
  20433. "trademode": {
  20434. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20435. "type": "integer"
  20436. },
  20437. "videourls": {
  20438. "description": "介绍视频[多张用逗号分隔]",
  20439. "type": "string"
  20440. }
  20441. }
  20442. },
  20443. "models.HsbyMarketGoodsDetail": {
  20444. "type": "object",
  20445. "required": [
  20446. "accountid",
  20447. "buyorsell",
  20448. "goodscode",
  20449. "goodsid",
  20450. "goodsname",
  20451. "marketid",
  20452. "orderid",
  20453. "orderqty",
  20454. "trademode"
  20455. ],
  20456. "properties": {
  20457. "accountid": {
  20458. "description": "账户ID[报价币种]",
  20459. "type": "integer"
  20460. },
  20461. "agreeunit": {
  20462. "description": "合约单位",
  20463. "type": "number"
  20464. },
  20465. "buymaxqty": {
  20466. "description": "购买上限 [71] - 0为不限",
  20467. "type": "integer"
  20468. },
  20469. "buyorsell": {
  20470. "description": "买卖 - 0:买 1:卖",
  20471. "type": "integer"
  20472. },
  20473. "cancelqty": {
  20474. "description": "撤单数量",
  20475. "type": "integer"
  20476. },
  20477. "categoryid": {
  20478. "description": "类别ID(WRCATEGORY)",
  20479. "type": "integer"
  20480. },
  20481. "currency": {
  20482. "description": "货币",
  20483. "type": "string"
  20484. },
  20485. "currencysign": {
  20486. "description": "货币符号",
  20487. "type": "string"
  20488. },
  20489. "customername": {
  20490. "description": "卖家名称",
  20491. "type": "string"
  20492. },
  20493. "decimalplace": {
  20494. "description": "报价小数位",
  20495. "type": "integer"
  20496. },
  20497. "goodscode": {
  20498. "description": "商品代码(内部)",
  20499. "type": "string"
  20500. },
  20501. "goodsdesc": {
  20502. "description": "商品详情",
  20503. "type": "string"
  20504. },
  20505. "goodsid": {
  20506. "description": "商品ID",
  20507. "type": "integer"
  20508. },
  20509. "goodsname": {
  20510. "description": "商品名称",
  20511. "type": "string"
  20512. },
  20513. "goodsprice": {
  20514. "description": "商品价格",
  20515. "type": "number"
  20516. },
  20517. "hotindex": {
  20518. "description": "景点热度",
  20519. "type": "integer"
  20520. },
  20521. "lotsize": {
  20522. "description": "手数最小变动单位",
  20523. "type": "integer"
  20524. },
  20525. "marketid": {
  20526. "description": "市场ID",
  20527. "type": "integer"
  20528. },
  20529. "orderid": {
  20530. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20531. "type": "string"
  20532. },
  20533. "orderprice": {
  20534. "description": "委托价格",
  20535. "type": "number"
  20536. },
  20537. "orderqty": {
  20538. "description": "委托数量",
  20539. "type": "integer"
  20540. },
  20541. "orderstatus": {
  20542. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20543. "type": "integer"
  20544. },
  20545. "picurls": {
  20546. "description": "介绍图片[多张用逗号分隔]",
  20547. "type": "string"
  20548. },
  20549. "quoteminunit": {
  20550. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20551. "type": "integer"
  20552. },
  20553. "sellUserID": {
  20554. "description": "卖方UserID",
  20555. "type": "integer"
  20556. },
  20557. "trademode": {
  20558. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20559. "type": "integer"
  20560. },
  20561. "tradeqty": {
  20562. "description": "成交数量",
  20563. "type": "integer"
  20564. },
  20565. "vendorattr": {
  20566. "description": "供应商附件(多张,逗号分隔)",
  20567. "type": "string"
  20568. },
  20569. "vendorname": {
  20570. "description": "供应商名称",
  20571. "type": "string"
  20572. },
  20573. "vendorphone": {
  20574. "description": "供应商客服电话",
  20575. "type": "string"
  20576. },
  20577. "videourls": {
  20578. "description": "介绍视频[多张用逗号分隔]",
  20579. "type": "string"
  20580. }
  20581. }
  20582. },
  20583. "models.HsbyMarketInfo": {
  20584. "type": "object",
  20585. "required": [
  20586. "marketid",
  20587. "marketstatus",
  20588. "trademode"
  20589. ],
  20590. "properties": {
  20591. "marketid": {
  20592. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20593. "type": "integer"
  20594. },
  20595. "marketname": {
  20596. "description": "市场名称",
  20597. "type": "string"
  20598. },
  20599. "marketstatus": {
  20600. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20601. "type": "integer"
  20602. },
  20603. "trademode": {
  20604. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20605. "type": "integer"
  20606. }
  20607. }
  20608. },
  20609. "models.HsbyMyGoods": {
  20610. "type": "object",
  20611. "required": [
  20612. "accountid",
  20613. "goodscode",
  20614. "goodsid",
  20615. "goodsname",
  20616. "marketid",
  20617. "trademode"
  20618. ],
  20619. "properties": {
  20620. "accountid": {
  20621. "description": "账号Id",
  20622. "type": "integer"
  20623. },
  20624. "agreeunit": {
  20625. "description": "合约单位",
  20626. "type": "number"
  20627. },
  20628. "buyaverageprice": {
  20629. "description": "持仓均价",
  20630. "type": "number"
  20631. },
  20632. "buycurholderamount": {
  20633. "description": "买当前持仓总金额[商品币种]",
  20634. "type": "number"
  20635. },
  20636. "buycurpositionqty": {
  20637. "description": "买当前持仓总数量",
  20638. "type": "integer"
  20639. },
  20640. "buymaxqty": {
  20641. "description": "购买上限 [71] - 0为不限",
  20642. "type": "integer"
  20643. },
  20644. "currencysign": {
  20645. "description": "货币符号",
  20646. "type": "string"
  20647. },
  20648. "decimalplace": {
  20649. "description": "报价小数位",
  20650. "type": "integer"
  20651. },
  20652. "enableqty": {
  20653. "description": "可用数量",
  20654. "type": "integer"
  20655. },
  20656. "goodscode": {
  20657. "description": "商品代码(内部)",
  20658. "type": "string"
  20659. },
  20660. "goodsid": {
  20661. "description": "商品Id",
  20662. "type": "integer"
  20663. },
  20664. "goodsname": {
  20665. "description": "商品名称",
  20666. "type": "string"
  20667. },
  20668. "goodsprice": {
  20669. "description": "商品价格",
  20670. "type": "number"
  20671. },
  20672. "goodsstatus": {
  20673. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20674. "type": "integer"
  20675. },
  20676. "last": {
  20677. "description": "现价(仅使用于挂牌点选)",
  20678. "type": "number"
  20679. },
  20680. "limitdown": {
  20681. "description": "跌停价(仅使用于挂牌点选)",
  20682. "type": "number"
  20683. },
  20684. "limitup": {
  20685. "description": "涨停价(仅使用于挂牌点选)",
  20686. "type": "number"
  20687. },
  20688. "lotsize": {
  20689. "description": "手数最小变动单位",
  20690. "type": "integer"
  20691. },
  20692. "marketid": {
  20693. "description": "所属市场ID",
  20694. "type": "integer"
  20695. },
  20696. "picurls": {
  20697. "description": "介绍图片[多张用逗号分隔]",
  20698. "type": "string"
  20699. },
  20700. "quoteminunit": {
  20701. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20702. "type": "integer"
  20703. },
  20704. "stepvalue": {
  20705. "description": "价格最小变动单位",
  20706. "type": "number"
  20707. },
  20708. "trademode": {
  20709. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20710. "type": "integer"
  20711. }
  20712. }
  20713. },
  20714. "models.HsbyMyPackage": {
  20715. "type": "object",
  20716. "required": [
  20717. "goodscode",
  20718. "goodsname",
  20719. "takeorderid",
  20720. "trademode"
  20721. ],
  20722. "properties": {
  20723. "accountid": {
  20724. "description": "账户ID",
  20725. "type": "integer"
  20726. },
  20727. "address": {
  20728. "description": "提货人详细地址",
  20729. "type": "string"
  20730. },
  20731. "agreeunit": {
  20732. "description": "合约单位",
  20733. "type": "number"
  20734. },
  20735. "amount": {
  20736. "description": "提货金额",
  20737. "type": "number"
  20738. },
  20739. "auditer": {
  20740. "description": "审核人",
  20741. "type": "integer"
  20742. },
  20743. "audittime": {
  20744. "description": "审核时间",
  20745. "type": "string"
  20746. },
  20747. "averageprice": {
  20748. "description": "均价",
  20749. "type": "number"
  20750. },
  20751. "cardnum": {
  20752. "description": "提货人证件号码",
  20753. "type": "string"
  20754. },
  20755. "cardtypeid": {
  20756. "description": "提货人证件类型",
  20757. "type": "integer"
  20758. },
  20759. "checkremark": {
  20760. "description": "审核备注",
  20761. "type": "string"
  20762. },
  20763. "currencysign": {
  20764. "description": "货币符号",
  20765. "type": "string"
  20766. },
  20767. "decimalplace": {
  20768. "description": "报价小数位",
  20769. "type": "integer"
  20770. },
  20771. "goodscode": {
  20772. "description": "商品代码(内部)",
  20773. "type": "string"
  20774. },
  20775. "goodsid": {
  20776. "description": "商品ID",
  20777. "type": "integer"
  20778. },
  20779. "goodsname": {
  20780. "description": "商品名称",
  20781. "type": "string"
  20782. },
  20783. "handlestatus": {
  20784. "description": "处理状态",
  20785. "type": "integer"
  20786. },
  20787. "marketid": {
  20788. "description": "市场ID",
  20789. "type": "integer"
  20790. },
  20791. "phonenum": {
  20792. "description": "提货人联系方式",
  20793. "type": "string"
  20794. },
  20795. "picurls": {
  20796. "description": "介绍图片[多张用逗号分隔]",
  20797. "type": "string"
  20798. },
  20799. "qty": {
  20800. "description": "提货数量",
  20801. "type": "number"
  20802. },
  20803. "recivername": {
  20804. "description": "提货人姓名",
  20805. "type": "string"
  20806. },
  20807. "reqtime": {
  20808. "description": "更新时间",
  20809. "type": "string"
  20810. },
  20811. "takemode": {
  20812. "description": "提货方式 - 2:自提 3:配送",
  20813. "type": "integer"
  20814. },
  20815. "takeorderid": {
  20816. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20817. "type": "string"
  20818. },
  20819. "takeorderstatus": {
  20820. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20821. "type": "integer"
  20822. },
  20823. "takeremark": {
  20824. "description": "提货备注",
  20825. "type": "string"
  20826. },
  20827. "tradedate": {
  20828. "description": "交易日(yyyyMMdd)",
  20829. "type": "string"
  20830. },
  20831. "trademode": {
  20832. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20833. "type": "integer"
  20834. },
  20835. "userid": {
  20836. "description": "用户ID",
  20837. "type": "integer"
  20838. },
  20839. "vendorname": {
  20840. "description": "供应商名称",
  20841. "type": "string"
  20842. }
  20843. }
  20844. },
  20845. "models.HsbyPreGoods": {
  20846. "type": "object",
  20847. "required": [
  20848. "goodscode",
  20849. "goodsid",
  20850. "goodsname",
  20851. "marketid",
  20852. "trademode"
  20853. ],
  20854. "properties": {
  20855. "agreeunit": {
  20856. "description": "合约单位",
  20857. "type": "number"
  20858. },
  20859. "currency": {
  20860. "description": "货币",
  20861. "type": "string"
  20862. },
  20863. "currencysign": {
  20864. "description": "货币符号",
  20865. "type": "string"
  20866. },
  20867. "decimalplace": {
  20868. "description": "报价小数位",
  20869. "type": "integer"
  20870. },
  20871. "desccityid": {
  20872. "description": "目的地(市)",
  20873. "type": "integer"
  20874. },
  20875. "descprovinceid": {
  20876. "description": "目的地(省)",
  20877. "type": "integer"
  20878. },
  20879. "enableqty": {
  20880. "description": "剩余数量",
  20881. "type": "integer"
  20882. },
  20883. "goodscode": {
  20884. "description": "商品代码(内部)",
  20885. "type": "string"
  20886. },
  20887. "goodsid": {
  20888. "description": "商品ID(自增ID SEQ_GOODS)",
  20889. "type": "integer"
  20890. },
  20891. "goodsname": {
  20892. "description": "商品名称",
  20893. "type": "string"
  20894. },
  20895. "goodsstatus": {
  20896. "description": "商品状态- 2:未上市 3:上市",
  20897. "type": "integer"
  20898. },
  20899. "lasttradedate": {
  20900. "description": "最后交易日期(状态:待退市)",
  20901. "type": "string"
  20902. },
  20903. "listingdate": {
  20904. "description": "交易开始日期",
  20905. "type": "string"
  20906. },
  20907. "marketid": {
  20908. "description": "所属市场ID",
  20909. "type": "integer"
  20910. },
  20911. "picurls": {
  20912. "description": "介绍图片[多张用逗号分隔]",
  20913. "type": "string"
  20914. },
  20915. "presaledqty": {
  20916. "description": "已预售量(预售结束时更新)",
  20917. "type": "integer"
  20918. },
  20919. "presaleqty": {
  20920. "description": "预售数量",
  20921. "type": "integer"
  20922. },
  20923. "quoteminunit": {
  20924. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20925. "type": "integer"
  20926. },
  20927. "refprice": {
  20928. "description": "参考价格[一口价]",
  20929. "type": "number"
  20930. },
  20931. "relatedgoodsid": {
  20932. "description": "关联交易合约ID",
  20933. "type": "integer"
  20934. },
  20935. "trademode": {
  20936. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20937. "type": "integer"
  20938. },
  20939. "videourls": {
  20940. "description": "介绍视频[多张用逗号分隔]",
  20941. "type": "string"
  20942. }
  20943. }
  20944. },
  20945. "models.HsbyPreGoodsDetail": {
  20946. "type": "object",
  20947. "required": [
  20948. "goodscode",
  20949. "goodsid",
  20950. "goodsname",
  20951. "marketid",
  20952. "trademode"
  20953. ],
  20954. "properties": {
  20955. "agreeunit": {
  20956. "description": "合约单位",
  20957. "type": "number"
  20958. },
  20959. "buymaxqty": {
  20960. "description": "购买上限 [71] - 0为不限",
  20961. "type": "integer"
  20962. },
  20963. "currency": {
  20964. "description": "货币",
  20965. "type": "string"
  20966. },
  20967. "currencysign": {
  20968. "description": "货币符号",
  20969. "type": "string"
  20970. },
  20971. "customername": {
  20972. "description": "发行单位",
  20973. "type": "string"
  20974. },
  20975. "decimalplace": {
  20976. "description": "报价小数位",
  20977. "type": "integer"
  20978. },
  20979. "desccityid": {
  20980. "description": "目的地(市)ID",
  20981. "type": "integer"
  20982. },
  20983. "descprovinceid": {
  20984. "description": "目的地(省)ID",
  20985. "type": "integer"
  20986. },
  20987. "enableqty": {
  20988. "description": "剩余数量",
  20989. "type": "integer"
  20990. },
  20991. "goodscode": {
  20992. "description": "商品代码(内部)",
  20993. "type": "string"
  20994. },
  20995. "goodsdesc": {
  20996. "description": "商品详情",
  20997. "type": "string"
  20998. },
  20999. "goodsid": {
  21000. "description": "商品ID(自增ID SEQ_GOODS)",
  21001. "type": "integer"
  21002. },
  21003. "goodsname": {
  21004. "description": "商品名称",
  21005. "type": "string"
  21006. },
  21007. "goodsstatus": {
  21008. "description": "商品状态- 2:未上市 3:上市",
  21009. "type": "integer"
  21010. },
  21011. "goodunit": {
  21012. "description": "报价单位",
  21013. "type": "string"
  21014. },
  21015. "lasttradedate": {
  21016. "description": "最后交易日期(状态:待退市)",
  21017. "type": "string"
  21018. },
  21019. "listingdate": {
  21020. "description": "交易开始日期",
  21021. "type": "string"
  21022. },
  21023. "lotsize": {
  21024. "description": "手数最小变动单位",
  21025. "type": "integer"
  21026. },
  21027. "marketid": {
  21028. "description": "所属市场ID",
  21029. "type": "integer"
  21030. },
  21031. "picurls": {
  21032. "description": "介绍图片[多张用逗号分隔]",
  21033. "type": "string"
  21034. },
  21035. "presaledqty": {
  21036. "description": "已预售量(预售结束时更新)",
  21037. "type": "integer"
  21038. },
  21039. "presaleqty": {
  21040. "description": "预售数量",
  21041. "type": "integer"
  21042. },
  21043. "quoteminunit": {
  21044. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21045. "type": "integer"
  21046. },
  21047. "refprice": {
  21048. "description": "参考价格[一口价]",
  21049. "type": "number"
  21050. },
  21051. "relatedgoodsid": {
  21052. "description": "关联交易合约ID",
  21053. "type": "integer"
  21054. },
  21055. "stepvalue": {
  21056. "description": "价格最小变动单位",
  21057. "type": "number"
  21058. },
  21059. "trademode": {
  21060. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21061. "type": "integer"
  21062. },
  21063. "vendorattr": {
  21064. "description": "供应商附件(多张,逗号分隔)",
  21065. "type": "string"
  21066. },
  21067. "vendorname": {
  21068. "description": "供应商名称",
  21069. "type": "string"
  21070. },
  21071. "vendorphone": {
  21072. "description": "供应商客服电话",
  21073. "type": "string"
  21074. },
  21075. "videourls": {
  21076. "description": "介绍视频[多张用逗号分隔]",
  21077. "type": "string"
  21078. }
  21079. }
  21080. },
  21081. "models.HsbySellCollectionOrder": {
  21082. "type": "object",
  21083. "required": [
  21084. "goodscode",
  21085. "goodsname",
  21086. "tradeid",
  21087. "trademode"
  21088. ],
  21089. "properties": {
  21090. "agreeunit": {
  21091. "description": "合约单位",
  21092. "type": "number"
  21093. },
  21094. "buyaccountid": {
  21095. "description": "买方账号ID[报价币种]",
  21096. "type": "integer"
  21097. },
  21098. "buyorderid": {
  21099. "description": "买方委托单号",
  21100. "type": "string"
  21101. },
  21102. "createtime": {
  21103. "description": "创建时间",
  21104. "type": "string"
  21105. },
  21106. "currencysign": {
  21107. "description": "货币符号",
  21108. "type": "string"
  21109. },
  21110. "decimalplace": {
  21111. "description": "报价小数位",
  21112. "type": "integer"
  21113. },
  21114. "goodscode": {
  21115. "description": "商品代码(内部)",
  21116. "type": "string"
  21117. },
  21118. "goodsid": {
  21119. "description": "商品ID",
  21120. "type": "integer"
  21121. },
  21122. "goodsname": {
  21123. "description": "商品名称",
  21124. "type": "string"
  21125. },
  21126. "marketid": {
  21127. "description": "市场ID",
  21128. "type": "integer"
  21129. },
  21130. "offamount": {
  21131. "description": "优惠金额",
  21132. "type": "number"
  21133. },
  21134. "payamount": {
  21135. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  21136. "type": "number"
  21137. },
  21138. "payflag": {
  21139. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21140. "type": "integer"
  21141. },
  21142. "paylimitedtime": {
  21143. "description": "支付期限",
  21144. "type": "string"
  21145. },
  21146. "paytime": {
  21147. "description": "付款时间",
  21148. "type": "string"
  21149. },
  21150. "picurls": {
  21151. "description": "商品介绍图片[多张用逗号分隔]",
  21152. "type": "string"
  21153. },
  21154. "sellaccountid": {
  21155. "description": "卖方账号ID[报价币种]",
  21156. "type": "integer"
  21157. },
  21158. "sellorderid": {
  21159. "description": "卖方委托单号",
  21160. "type": "string"
  21161. },
  21162. "tradeamount": {
  21163. "description": "成交金额",
  21164. "type": "number"
  21165. },
  21166. "tradecharge": {
  21167. "description": "成交手续费(买方)",
  21168. "type": "number"
  21169. },
  21170. "tradedate": {
  21171. "description": "交易日(yyyyMMdd)",
  21172. "type": "string"
  21173. },
  21174. "tradeid": {
  21175. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21176. "type": "string"
  21177. },
  21178. "trademode": {
  21179. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21180. "type": "integer"
  21181. },
  21182. "tradeprice": {
  21183. "description": "成交价格",
  21184. "type": "number"
  21185. },
  21186. "tradeqty": {
  21187. "description": "成交数量",
  21188. "type": "integer"
  21189. }
  21190. }
  21191. },
  21192. "models.HsbySellMyDetail": {
  21193. "type": "object",
  21194. "required": [
  21195. "accountid",
  21196. "buyorsell",
  21197. "goodscode",
  21198. "goodsid",
  21199. "goodsname",
  21200. "marketid",
  21201. "orderid",
  21202. "time",
  21203. "trademode"
  21204. ],
  21205. "properties": {
  21206. "accountid": {
  21207. "description": "账户ID[报价币种]",
  21208. "type": "integer"
  21209. },
  21210. "agreeunit": {
  21211. "description": "合约单位",
  21212. "type": "number"
  21213. },
  21214. "buyorsell": {
  21215. "description": "买卖 - 0:买 1:卖",
  21216. "type": "integer"
  21217. },
  21218. "currencysign": {
  21219. "description": "货币符号",
  21220. "type": "string"
  21221. },
  21222. "decimalplace": {
  21223. "description": "报价小数位",
  21224. "type": "integer"
  21225. },
  21226. "goodscode": {
  21227. "description": "商品代码(内部)",
  21228. "type": "string"
  21229. },
  21230. "goodsid": {
  21231. "description": "商品ID",
  21232. "type": "integer"
  21233. },
  21234. "goodsname": {
  21235. "description": "商品名称",
  21236. "type": "string"
  21237. },
  21238. "marketid": {
  21239. "description": "市场ID",
  21240. "type": "integer"
  21241. },
  21242. "orderid": {
  21243. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  21244. "type": "string"
  21245. },
  21246. "ordertype": {
  21247. "description": "单据类型:0 - 发布中, 1 - 已完成",
  21248. "type": "integer"
  21249. },
  21250. "picurls": {
  21251. "description": "介绍图片[多张用逗号分隔]",
  21252. "type": "string"
  21253. },
  21254. "price": {
  21255. "description": "价格",
  21256. "type": "number"
  21257. },
  21258. "qty": {
  21259. "description": "数量",
  21260. "type": "integer"
  21261. },
  21262. "time": {
  21263. "description": "时间",
  21264. "type": "string"
  21265. },
  21266. "trademode": {
  21267. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21268. "type": "integer"
  21269. },
  21270. "vendorname": {
  21271. "description": "供应商名称",
  21272. "type": "string"
  21273. }
  21274. }
  21275. },
  21276. "models.HsbyTopGoods": {
  21277. "type": "object",
  21278. "required": [
  21279. "goodscode",
  21280. "goodsid",
  21281. "goodsname",
  21282. "marketid",
  21283. "trademode"
  21284. ],
  21285. "properties": {
  21286. "agreeunit": {
  21287. "description": "合约单位",
  21288. "type": "number"
  21289. },
  21290. "currency": {
  21291. "description": "货币",
  21292. "type": "string"
  21293. },
  21294. "currencysign": {
  21295. "description": "货币符号",
  21296. "type": "string"
  21297. },
  21298. "decimalplace": {
  21299. "description": "报价小数位",
  21300. "type": "integer"
  21301. },
  21302. "desccityid": {
  21303. "description": "目的地(市)",
  21304. "type": "integer"
  21305. },
  21306. "descprovinceid": {
  21307. "description": "目的地(省)",
  21308. "type": "integer"
  21309. },
  21310. "goodscode": {
  21311. "description": "商品代码(内部)",
  21312. "type": "string"
  21313. },
  21314. "goodsid": {
  21315. "description": "商品ID(自增ID SEQ_GOODS)",
  21316. "type": "integer"
  21317. },
  21318. "goodsname": {
  21319. "description": "商品名称",
  21320. "type": "string"
  21321. },
  21322. "hotindex": {
  21323. "description": "景点热度",
  21324. "type": "integer"
  21325. },
  21326. "last": {
  21327. "description": "现价",
  21328. "type": "number"
  21329. },
  21330. "marketid": {
  21331. "description": "所属市场ID",
  21332. "type": "integer"
  21333. },
  21334. "picurls": {
  21335. "description": "介绍图片[多张用逗号分隔]",
  21336. "type": "string"
  21337. },
  21338. "quoteminunit": {
  21339. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21340. "type": "integer"
  21341. },
  21342. "trademode": {
  21343. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21344. "type": "integer"
  21345. },
  21346. "videourls": {
  21347. "description": "介绍视频[多张用逗号分隔]",
  21348. "type": "string"
  21349. }
  21350. }
  21351. },
  21352. "models.HybsMyBuyOrderDetail": {
  21353. "type": "object",
  21354. "required": [
  21355. "accountid",
  21356. "buyorsell",
  21357. "goodscode",
  21358. "goodsid",
  21359. "goodsname",
  21360. "marketid",
  21361. "orderid",
  21362. "orderqty",
  21363. "ordertime",
  21364. "trademode"
  21365. ],
  21366. "properties": {
  21367. "accountid": {
  21368. "description": "账户ID[报价币种]",
  21369. "type": "integer"
  21370. },
  21371. "agreeunit": {
  21372. "description": "合约单位",
  21373. "type": "number"
  21374. },
  21375. "buyorsell": {
  21376. "description": "买卖 - 0:买 1:卖",
  21377. "type": "integer"
  21378. },
  21379. "cancelqty": {
  21380. "description": "撤单数量",
  21381. "type": "integer"
  21382. },
  21383. "currencysign": {
  21384. "description": "货币符号",
  21385. "type": "string"
  21386. },
  21387. "decimalplace": {
  21388. "description": "报价小数位",
  21389. "type": "integer"
  21390. },
  21391. "goodscode": {
  21392. "description": "商品代码(内部)",
  21393. "type": "string"
  21394. },
  21395. "goodsid": {
  21396. "description": "商品ID",
  21397. "type": "integer"
  21398. },
  21399. "goodsname": {
  21400. "description": "商品名称",
  21401. "type": "string"
  21402. },
  21403. "listingselecttype": {
  21404. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21405. "type": "integer"
  21406. },
  21407. "marketid": {
  21408. "description": "市场ID",
  21409. "type": "integer"
  21410. },
  21411. "mybuystatus": {
  21412. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  21413. "type": "integer"
  21414. },
  21415. "orderamount": {
  21416. "description": "委托金额",
  21417. "type": "number"
  21418. },
  21419. "orderid": {
  21420. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21421. "type": "string"
  21422. },
  21423. "orderprice": {
  21424. "description": "委托价格",
  21425. "type": "number"
  21426. },
  21427. "orderqty": {
  21428. "description": "委托数量",
  21429. "type": "integer"
  21430. },
  21431. "orderstatus": {
  21432. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21433. "type": "integer"
  21434. },
  21435. "ordertime": {
  21436. "description": "委托时间",
  21437. "type": "string"
  21438. },
  21439. "picurls1": {
  21440. "description": "预售商品介绍图片[多张用逗号分隔]",
  21441. "type": "string"
  21442. },
  21443. "picurls2": {
  21444. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21445. "type": "string"
  21446. },
  21447. "trademode": {
  21448. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21449. "type": "integer"
  21450. },
  21451. "tradeqty": {
  21452. "description": "成交数量",
  21453. "type": "integer"
  21454. },
  21455. "vendorname1": {
  21456. "description": "预售商品供应商名称",
  21457. "type": "string"
  21458. },
  21459. "vendorname2": {
  21460. "description": "挂牌商品供应商名称",
  21461. "type": "string"
  21462. }
  21463. }
  21464. },
  21465. "models.Loginaccount": {
  21466. "type": "object",
  21467. "required": [
  21468. "loginid"
  21469. ],
  21470. "properties": {
  21471. "canoutin": {
  21472. "description": "是否可出入金 - 0:不可 1:可",
  21473. "type": "integer"
  21474. },
  21475. "clientroleid": {
  21476. "description": "终端角色ID",
  21477. "type": "integer"
  21478. },
  21479. "haslogined": {
  21480. "description": "是否已登录 - 0:未登录 1:已登录",
  21481. "type": "integer"
  21482. },
  21483. "hasupdatedpwd": {
  21484. "description": "是否已更改密码 - 0:未修改 1:已修改",
  21485. "type": "integer"
  21486. },
  21487. "lastloginip": {
  21488. "description": "最新登录地址",
  21489. "type": "string"
  21490. },
  21491. "lastloginmode": {
  21492. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21493. "type": "integer"
  21494. },
  21495. "lastloginremark": {
  21496. "description": "最新登录描述",
  21497. "type": "string"
  21498. },
  21499. "lastlogintime": {
  21500. "description": "最新登录时间",
  21501. "type": "string"
  21502. },
  21503. "logincode": {
  21504. "description": "登录代码",
  21505. "type": "string"
  21506. },
  21507. "loginfailnum": {
  21508. "description": "连续登录失败次数(登录成功时清零)",
  21509. "type": "integer"
  21510. },
  21511. "loginid": {
  21512. "description": "登陆账号",
  21513. "type": "integer"
  21514. },
  21515. "loginport": {
  21516. "description": "最新登录端口",
  21517. "type": "integer"
  21518. },
  21519. "loginstatus": {
  21520. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  21521. "type": "integer"
  21522. },
  21523. "loginusertype": {
  21524. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  21525. "type": "integer"
  21526. },
  21527. "modifierid": {
  21528. "description": "修改人",
  21529. "type": "integer"
  21530. },
  21531. "modifytime": {
  21532. "description": "修改时间",
  21533. "type": "string"
  21534. },
  21535. "pwdwrongcount": {
  21536. "description": "密码错误次数",
  21537. "type": "integer"
  21538. },
  21539. "taaccountrighttype": {
  21540. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  21541. "type": "integer"
  21542. },
  21543. "unfreezetime": {
  21544. "description": "账户解冻时间",
  21545. "type": "string"
  21546. },
  21547. "userid": {
  21548. "description": "用户ID",
  21549. "type": "integer"
  21550. }
  21551. }
  21552. },
  21553. "models.MainAccountInfo": {
  21554. "type": "object",
  21555. "properties": {
  21556. "accountid": {
  21557. "description": "账号id",
  21558. "type": "integer"
  21559. },
  21560. "accountname": {
  21561. "description": "账号名称(taaccount表中的名称)",
  21562. "type": "string"
  21563. },
  21564. "appid": {
  21565. "description": "AppID",
  21566. "type": "string"
  21567. },
  21568. "authcode": {
  21569. "description": "授权码",
  21570. "type": "string"
  21571. },
  21572. "brokerid": {
  21573. "description": "经纪商id",
  21574. "type": "string"
  21575. },
  21576. "fcid": {
  21577. "description": "期货公司id",
  21578. "type": "integer"
  21579. },
  21580. "fcname": {
  21581. "description": "期货公司代码",
  21582. "type": "string"
  21583. },
  21584. "hedgeaccountcode": {
  21585. "description": "外部账号代码(主账号登录代码)",
  21586. "type": "string"
  21587. },
  21588. "hedgeaccountpwd": {
  21589. "description": "密码",
  21590. "type": "string"
  21591. },
  21592. "ismain": {
  21593. "description": "是否主账号",
  21594. "type": "integer"
  21595. },
  21596. "relateduserid": {
  21597. "description": "关联用户id",
  21598. "type": "integer"
  21599. },
  21600. "userid": {
  21601. "description": "关联用户id",
  21602. "type": "integer"
  21603. }
  21604. }
  21605. },
  21606. "models.Market": {
  21607. "type": "object",
  21608. "required": [
  21609. "marketid",
  21610. "marketstatus",
  21611. "openmethod",
  21612. "reckonpricealgorithm",
  21613. "trademode",
  21614. "tradeproperty"
  21615. ],
  21616. "properties": {
  21617. "auctionwrtype": {
  21618. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  21619. "type": "integer"
  21620. },
  21621. "canacceptquote": {
  21622. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  21623. "type": "integer"
  21624. },
  21625. "cangoodsexercise": {
  21626. "description": "[期权]是否可现货行权- 0:否 1:是",
  21627. "type": "integer"
  21628. },
  21629. "cangoodsexercisetype": {
  21630. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  21631. "type": "integer"
  21632. },
  21633. "canmanualquotestrike": {
  21634. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  21635. "type": "integer"
  21636. },
  21637. "canmutistage": {
  21638. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  21639. "type": "integer"
  21640. },
  21641. "canpreexercise": {
  21642. "description": "[期权]是否可预申报- 0:否 1:是",
  21643. "type": "integer"
  21644. },
  21645. "clearinterval": {
  21646. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  21647. "type": "integer"
  21648. },
  21649. "contracttmp": {
  21650. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  21651. "type": "string"
  21652. },
  21653. "exchareaid": {
  21654. "description": "所属交易所,可以没有",
  21655. "type": "integer"
  21656. },
  21657. "goodstype": {
  21658. "description": "商品类型 - 1:交易商品 2:仓单商品",
  21659. "type": "integer"
  21660. },
  21661. "hasrebate": {
  21662. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  21663. "type": "integer"
  21664. },
  21665. "hastradecredit": {
  21666. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  21667. "type": "integer"
  21668. },
  21669. "haswr": {
  21670. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  21671. "type": "integer"
  21672. },
  21673. "isdeductmargin": {
  21674. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  21675. "type": "integer"
  21676. },
  21677. "isrecordsource": {
  21678. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  21679. "type": "integer"
  21680. },
  21681. "isreleasemargin": {
  21682. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21683. "type": "integer"
  21684. },
  21685. "marginformula": {
  21686. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21687. "type": "integer"
  21688. },
  21689. "marginformula2": {
  21690. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21691. "type": "integer"
  21692. },
  21693. "marketid": {
  21694. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21695. "type": "integer"
  21696. },
  21697. "marketname": {
  21698. "description": "市场名称",
  21699. "type": "string"
  21700. },
  21701. "marketserviceid": {
  21702. "description": "市场服务ID",
  21703. "type": "integer"
  21704. },
  21705. "marketstatus": {
  21706. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21707. "type": "integer"
  21708. },
  21709. "markettype": {
  21710. "description": "市场类型- 1:非交易服务 2:交易服务",
  21711. "type": "integer"
  21712. },
  21713. "matchermode": {
  21714. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21715. "type": "integer"
  21716. },
  21717. "openmethod": {
  21718. "description": "开盘模式 - 0 自动 1手动",
  21719. "type": "integer"
  21720. },
  21721. "otcuserid": {
  21722. "description": "场外期权做市商[场外期权]",
  21723. "type": "integer"
  21724. },
  21725. "outersynctime": {
  21726. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21727. "type": "string"
  21728. },
  21729. "pendingflag": {
  21730. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21731. "type": "integer"
  21732. },
  21733. "pendingtime": {
  21734. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21735. "type": "string"
  21736. },
  21737. "performancetempid": {
  21738. "description": "履约计划模板ID - 作废",
  21739. "type": "integer"
  21740. },
  21741. "premiumquotemode": {
  21742. "description": "权利金报价方式 - 1:自动 2:手动",
  21743. "type": "integer"
  21744. },
  21745. "rebateratio": {
  21746. "description": "返利比率[竞价式]",
  21747. "type": "number"
  21748. },
  21749. "reckonorder": {
  21750. "description": "结算顺序",
  21751. "type": "integer"
  21752. },
  21753. "reckonpricealgorithm": {
  21754. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21755. "type": "integer"
  21756. },
  21757. "reckonpriceparam": {
  21758. "description": "结算价参数",
  21759. "type": "integer"
  21760. },
  21761. "reckontime": {
  21762. "description": "结算时间[通道交易-对冲](HH:mm)",
  21763. "type": "string"
  21764. },
  21765. "roleprioritytype": {
  21766. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21767. "type": "integer"
  21768. },
  21769. "selllistingauditflag": {
  21770. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21771. "type": "integer"
  21772. },
  21773. "trademarkettype": {
  21774. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21775. "type": "integer"
  21776. },
  21777. "trademode": {
  21778. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21779. "type": "integer"
  21780. },
  21781. "tradeproperty": {
  21782. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21783. "type": "integer"
  21784. },
  21785. "tradetype": {
  21786. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21787. "type": "integer"
  21788. }
  21789. }
  21790. },
  21791. "models.Marketrun": {
  21792. "type": "object",
  21793. "required": [
  21794. "marketid",
  21795. "nexttradedate",
  21796. "reckonflag",
  21797. "runstatus",
  21798. "tradedate",
  21799. "tradedate2"
  21800. ],
  21801. "properties": {
  21802. "afternexttradedate": {
  21803. "description": "下下交易日",
  21804. "type": "string"
  21805. },
  21806. "clearquoteflag": {
  21807. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21808. "type": "integer"
  21809. },
  21810. "lastreckondate": {
  21811. "description": "最新交易日(结算成功)",
  21812. "type": "string"
  21813. },
  21814. "machinedate": {
  21815. "description": "机器时间",
  21816. "type": "string"
  21817. },
  21818. "manualflag": {
  21819. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21820. "type": "integer"
  21821. },
  21822. "marketid": {
  21823. "description": "市场ID",
  21824. "type": "integer"
  21825. },
  21826. "nexttradedate": {
  21827. "description": "下一交易日",
  21828. "type": "string"
  21829. },
  21830. "pretradedate": {
  21831. "description": "上一交易日",
  21832. "type": "string"
  21833. },
  21834. "reckonflag": {
  21835. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21836. "type": "integer"
  21837. },
  21838. "runstatus": {
  21839. "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.今日免清算",
  21840. "type": "integer"
  21841. },
  21842. "sectionid": {
  21843. "description": "时间段号[多时段时用]",
  21844. "type": "integer"
  21845. },
  21846. "tradedate": {
  21847. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21848. "type": "string"
  21849. },
  21850. "tradedate2": {
  21851. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21852. "type": "string"
  21853. },
  21854. "updatetime": {
  21855. "description": "更新时间",
  21856. "type": "string"
  21857. }
  21858. }
  21859. },
  21860. "models.Messageboard": {
  21861. "type": "object",
  21862. "required": [
  21863. "messageboardid"
  21864. ],
  21865. "properties": {
  21866. "contactnum": {
  21867. "description": "联系电话",
  21868. "type": "string"
  21869. },
  21870. "createtime": {
  21871. "description": "创建时间",
  21872. "type": "string"
  21873. },
  21874. "message": {
  21875. "description": "留言信息",
  21876. "type": "string"
  21877. },
  21878. "messageboardid": {
  21879. "description": "留言簿ID(SEQ_MessageBoard)",
  21880. "type": "integer"
  21881. },
  21882. "userid": {
  21883. "description": "用户ID",
  21884. "type": "integer"
  21885. }
  21886. }
  21887. },
  21888. "models.MyCoupon": {
  21889. "type": "object",
  21890. "required": [
  21891. "accountid",
  21892. "coupontypeid"
  21893. ],
  21894. "properties": {
  21895. "accountid": {
  21896. "description": "资金账户ID",
  21897. "type": "integer"
  21898. },
  21899. "areauserid": {
  21900. "description": "所属机构",
  21901. "type": "integer"
  21902. },
  21903. "conditionvalue": {
  21904. "description": "条件阈值(可为0)",
  21905. "type": "number"
  21906. },
  21907. "couponcategroy": {
  21908. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  21909. "type": "integer"
  21910. },
  21911. "couponname": {
  21912. "description": "优惠券名称",
  21913. "type": "string"
  21914. },
  21915. "coupontypeid": {
  21916. "description": "优惠券类型ID",
  21917. "type": "string"
  21918. },
  21919. "couponvalue": {
  21920. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21921. "type": "number"
  21922. },
  21923. "curfreezeqty": {
  21924. "description": "期末冻结数量",
  21925. "type": "integer"
  21926. },
  21927. "curqty": {
  21928. "description": "期末数量",
  21929. "type": "integer"
  21930. },
  21931. "isgeneral": {
  21932. "description": "是否通用券 - 0:否 1:是",
  21933. "type": "integer"
  21934. },
  21935. "isunusable": {
  21936. "description": "是否不可用",
  21937. "type": "boolean"
  21938. },
  21939. "limitedflag": {
  21940. "description": "是否指定商品 - 0:不限 1:限制",
  21941. "type": "integer"
  21942. },
  21943. "limitedgoodsids": {
  21944. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  21945. "type": "string"
  21946. },
  21947. "orifreezeqty": {
  21948. "description": "期初冻结数量",
  21949. "type": "integer"
  21950. },
  21951. "oriqty": {
  21952. "description": "期初数量",
  21953. "type": "integer"
  21954. },
  21955. "reasontype": {
  21956. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  21957. "type": "integer"
  21958. },
  21959. "todaydecrease": {
  21960. "description": "今日减少",
  21961. "type": "integer"
  21962. },
  21963. "todayincrease": {
  21964. "description": "今日增加",
  21965. "type": "integer"
  21966. },
  21967. "userid": {
  21968. "description": "用户ID",
  21969. "type": "integer"
  21970. },
  21971. "userscope": {
  21972. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  21973. "type": "string"
  21974. }
  21975. }
  21976. },
  21977. "models.MyCouponHold": {
  21978. "type": "object",
  21979. "required": [
  21980. "couponholdid"
  21981. ],
  21982. "properties": {
  21983. "accountid": {
  21984. "description": "资金账户ID",
  21985. "type": "integer"
  21986. },
  21987. "conditionvalue": {
  21988. "description": "条件阈值(可为0)",
  21989. "type": "number"
  21990. },
  21991. "couponcategroy": {
  21992. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  21993. "type": "integer"
  21994. },
  21995. "couponholdid": {
  21996. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  21997. "type": "string"
  21998. },
  21999. "couponname": {
  22000. "description": "优惠券名称",
  22001. "type": "string"
  22002. },
  22003. "coupontypeid": {
  22004. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  22005. "type": "string"
  22006. },
  22007. "couponvalue": {
  22008. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22009. "type": "number"
  22010. },
  22011. "createtime": {
  22012. "description": "创建时间",
  22013. "type": "string"
  22014. },
  22015. "enddate": {
  22016. "description": "结束日期",
  22017. "type": "string"
  22018. },
  22019. "giveapplyid": {
  22020. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  22021. "type": "integer"
  22022. },
  22023. "holdstatus": {
  22024. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  22025. "type": "integer"
  22026. },
  22027. "isgeneral": {
  22028. "description": "是否通用券 - 0:否 1:是",
  22029. "type": "integer"
  22030. },
  22031. "limitedflag": {
  22032. "description": "是否指定商品 - 0:不限 1:限制",
  22033. "type": "integer"
  22034. },
  22035. "limitedgoodsids": {
  22036. "description": "指定商品IDs[逗号分隔]",
  22037. "type": "string"
  22038. },
  22039. "qty": {
  22040. "description": "数量(按1平铺)",
  22041. "type": "integer"
  22042. },
  22043. "startdate": {
  22044. "description": "开始日期",
  22045. "type": "string"
  22046. },
  22047. "userid": {
  22048. "description": "用户ID",
  22049. "type": "integer"
  22050. },
  22051. "userscope": {
  22052. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  22053. "type": "string"
  22054. }
  22055. }
  22056. },
  22057. "models.MyUsedCoupon": {
  22058. "type": "object",
  22059. "required": [
  22060. "coupontypeid",
  22061. "orderid"
  22062. ],
  22063. "properties": {
  22064. "accountid": {
  22065. "description": "资金账户ID(买方)",
  22066. "type": "integer"
  22067. },
  22068. "conditionvalue": {
  22069. "description": "条件阈值(可为0)",
  22070. "type": "number"
  22071. },
  22072. "couponcategroy": {
  22073. "description": "种类 - 1:现金券 2:折扣券",
  22074. "type": "integer"
  22075. },
  22076. "couponname": {
  22077. "description": "优惠券名称",
  22078. "type": "string"
  22079. },
  22080. "coupontypeid": {
  22081. "description": "优惠券类型ID(买方)",
  22082. "type": "string"
  22083. },
  22084. "couponvalue": {
  22085. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  22086. "type": "number"
  22087. },
  22088. "createtime": {
  22089. "description": "创建时间",
  22090. "type": "string"
  22091. },
  22092. "goodsid": {
  22093. "description": "商品ID",
  22094. "type": "integer"
  22095. },
  22096. "handlestatus": {
  22097. "description": "处理状态",
  22098. "type": "integer"
  22099. },
  22100. "marketid": {
  22101. "description": "市场ID",
  22102. "type": "integer"
  22103. },
  22104. "offamount": {
  22105. "description": "优惠金额",
  22106. "type": "number"
  22107. },
  22108. "orderid": {
  22109. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22110. "type": "string"
  22111. },
  22112. "sellaccountid": {
  22113. "description": "资金账户ID(卖方)",
  22114. "type": "integer"
  22115. },
  22116. "tradeamount": {
  22117. "description": "成交金额",
  22118. "type": "number"
  22119. },
  22120. "tradeid": {
  22121. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22122. "type": "string"
  22123. },
  22124. "usedqty": {
  22125. "description": "使用数量",
  22126. "type": "integer"
  22127. }
  22128. }
  22129. },
  22130. "models.OperationPrimaryMenu": {
  22131. "type": "object",
  22132. "properties": {
  22133. "Children": {
  22134. "description": "二级功能菜单",
  22135. "type": "array",
  22136. "items": {
  22137. "$ref": "#/definitions/models.OperationSecondaryMenu"
  22138. }
  22139. },
  22140. "Key": {
  22141. "description": "菜单KEY",
  22142. "type": "string"
  22143. },
  22144. "Label": {
  22145. "description": "菜单标题",
  22146. "type": "string"
  22147. }
  22148. }
  22149. },
  22150. "models.OperationSecondaryMenu": {
  22151. "type": "object",
  22152. "properties": {
  22153. "Key": {
  22154. "description": "菜单KEY",
  22155. "type": "string"
  22156. },
  22157. "Label": {
  22158. "description": "菜单标题",
  22159. "type": "string"
  22160. },
  22161. "TabList": {
  22162. "description": "三级功能菜单",
  22163. "type": "array",
  22164. "items": {
  22165. "$ref": "#/definitions/models.OperationTabMenu"
  22166. }
  22167. }
  22168. }
  22169. },
  22170. "models.OperationTabMenu": {
  22171. "type": "object",
  22172. "properties": {
  22173. "Key": {
  22174. "description": "菜单KEY",
  22175. "type": "string"
  22176. },
  22177. "Label": {
  22178. "description": "菜单标题",
  22179. "type": "string"
  22180. }
  22181. }
  22182. },
  22183. "models.PendingAuditBizModel": {
  22184. "type": "object",
  22185. "properties": {
  22186. "accountid": {
  22187. "description": "现货账户",
  22188. "type": "string"
  22189. },
  22190. "areaname": {
  22191. "description": "所属部门",
  22192. "type": "string"
  22193. },
  22194. "bizid": {
  22195. "description": "业务ID",
  22196. "type": "string"
  22197. },
  22198. "bizname": {
  22199. "description": "业务名称",
  22200. "type": "string"
  22201. },
  22202. "status": {
  22203. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22204. "type": "integer"
  22205. },
  22206. "type": {
  22207. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  22208. "type": "integer"
  22209. }
  22210. }
  22211. },
  22212. "models.QhjAccountOutInApply": {
  22213. "type": "object",
  22214. "properties": {
  22215. "accountcode": {
  22216. "description": "资金账号",
  22217. "type": "string"
  22218. },
  22219. "accountname": {
  22220. "description": "用户名称(名称)",
  22221. "type": "string"
  22222. },
  22223. "accountpwd": {
  22224. "description": "资金密码",
  22225. "type": "string"
  22226. },
  22227. "accountticket": {
  22228. "description": "最新账户服务流水号",
  22229. "type": "string"
  22230. },
  22231. "amount": {
  22232. "description": "金额",
  22233. "type": "number"
  22234. },
  22235. "applyremark": {
  22236. "description": "申请备注",
  22237. "type": "string"
  22238. },
  22239. "applystatus": {
  22240. "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: 复审通过,账户冻结金额检查中;",
  22241. "type": "integer"
  22242. },
  22243. "auditid": {
  22244. "description": "审核人",
  22245. "type": "integer"
  22246. },
  22247. "audittime": {
  22248. "description": "审核时间",
  22249. "type": "string"
  22250. },
  22251. "bank_apply_ticket": {
  22252. "description": "银行申请流水",
  22253. "type": "string"
  22254. },
  22255. "bankaccountname": {
  22256. "description": "银行账户名",
  22257. "type": "string"
  22258. },
  22259. "bankaccountno": {
  22260. "description": "银行卡号",
  22261. "type": "string"
  22262. },
  22263. "bankid": {
  22264. "description": "银行编号",
  22265. "type": "string"
  22266. },
  22267. "bankticket": {
  22268. "description": "银行流水",
  22269. "type": "string"
  22270. },
  22271. "branchbankid": {
  22272. "description": "银行支行号",
  22273. "type": "string"
  22274. },
  22275. "branchbankname": {
  22276. "description": "银行支行名称",
  22277. "type": "string"
  22278. },
  22279. "capamountout": {
  22280. "description": "出金(劣后本金) - 外部子账户",
  22281. "type": "number"
  22282. },
  22283. "certificatephotourl": {
  22284. "description": "凭证地址",
  22285. "type": "string"
  22286. },
  22287. "charge": {
  22288. "description": "手续费",
  22289. "type": "number"
  22290. },
  22291. "checkerrorflag": {
  22292. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  22293. "type": "integer"
  22294. },
  22295. "currency": {
  22296. "description": "币种",
  22297. "type": "string"
  22298. },
  22299. "cusbankid": {
  22300. "description": "托管银行编号",
  22301. "type": "string"
  22302. },
  22303. "exchticket": {
  22304. "description": "银行服务流水号",
  22305. "type": "string"
  22306. },
  22307. "executetype": {
  22308. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  22309. "type": "integer"
  22310. },
  22311. "extendinfo": {
  22312. "description": "扩展信息",
  22313. "type": "string"
  22314. },
  22315. "extoperateid": {
  22316. "description": "交易服务流水号",
  22317. "type": "integer"
  22318. },
  22319. "infamount": {
  22320. "description": "劣后金额(自有)",
  22321. "type": "number"
  22322. },
  22323. "logincode": {
  22324. "description": "登录账号(账号)",
  22325. "type": "string"
  22326. },
  22327. "netaddr": {
  22328. "description": "调转网址",
  22329. "type": "string"
  22330. },
  22331. "priamount": {
  22332. "description": "优先金额(授信)",
  22333. "type": "number"
  22334. },
  22335. "reauditid": {
  22336. "description": "复审人",
  22337. "type": "integer"
  22338. },
  22339. "reauditremark": {
  22340. "description": "复审备注",
  22341. "type": "string"
  22342. },
  22343. "reaudittime": {
  22344. "description": "复审时间",
  22345. "type": "string"
  22346. },
  22347. "relatedorderid": {
  22348. "description": "三方关联ID",
  22349. "type": "string"
  22350. },
  22351. "remark": {
  22352. "description": "备注",
  22353. "type": "string"
  22354. },
  22355. "remark2": {
  22356. "description": "备注(失败原因)",
  22357. "type": "string"
  22358. },
  22359. "soucreamount": {
  22360. "description": "原始出入金金额",
  22361. "type": "number"
  22362. },
  22363. "soucrecurrencyid": {
  22364. "description": "原始出入金币种",
  22365. "type": "integer"
  22366. },
  22367. "tradedate": {
  22368. "description": "交易日(yyyyMMdd)",
  22369. "type": "string"
  22370. },
  22371. "updatetime": {
  22372. "description": "更新时间(申请时间)",
  22373. "type": "string"
  22374. },
  22375. "userid": {
  22376. "description": "用户id",
  22377. "type": "integer"
  22378. },
  22379. "userinfotype": {
  22380. "description": "账户类型 1-个人 2-企业",
  22381. "type": "integer"
  22382. }
  22383. }
  22384. },
  22385. "models.QhjBankAccountSign": {
  22386. "type": "object",
  22387. "properties": {
  22388. "accountcode": {
  22389. "description": "资金账号",
  22390. "type": "string"
  22391. },
  22392. "accountname": {
  22393. "description": "资金账号对应的账号名(UserName)",
  22394. "type": "string"
  22395. },
  22396. "accountname2": {
  22397. "description": "资金账号对应的账号名(UserName) - 密文",
  22398. "type": "string"
  22399. },
  22400. "accounttype": {
  22401. "description": "账户类型(UserType)",
  22402. "type": "integer"
  22403. },
  22404. "applicationtime": {
  22405. "description": "最后一次更新的时间",
  22406. "type": "string"
  22407. },
  22408. "applyexchticket": {
  22409. "description": "申请流水",
  22410. "type": "string"
  22411. },
  22412. "auditid": {
  22413. "description": "审核人",
  22414. "type": "integer"
  22415. },
  22416. "audittime": {
  22417. "description": "审核时间",
  22418. "type": "string"
  22419. },
  22420. "bankaccountname": {
  22421. "description": "签约银行卡账号名",
  22422. "type": "string"
  22423. },
  22424. "bankaccountname2": {
  22425. "description": "签约银行卡账号名 - 密文",
  22426. "type": "string"
  22427. },
  22428. "bankaccountno": {
  22429. "description": "银行卡号",
  22430. "type": "string"
  22431. },
  22432. "bankaccountno2": {
  22433. "description": "银行卡号 - 密文",
  22434. "type": "string"
  22435. },
  22436. "bankaccounttype": {
  22437. "description": "银行账户类型 - 1-对私; 2-对公",
  22438. "type": "integer"
  22439. },
  22440. "bankcardtype": {
  22441. "description": "银行卡类型",
  22442. "type": "integer"
  22443. },
  22444. "bankchildaccount": {
  22445. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  22446. "type": "string"
  22447. },
  22448. "bankcity": {
  22449. "description": "开户行城市",
  22450. "type": "string"
  22451. },
  22452. "bankid": {
  22453. "description": "签约银行ID",
  22454. "type": "string"
  22455. },
  22456. "bankname": {
  22457. "description": "签约银行名称",
  22458. "type": "string"
  22459. },
  22460. "bankprovince": {
  22461. "description": "开户行省份",
  22462. "type": "string"
  22463. },
  22464. "branchbankid": {
  22465. "description": "签约银行支行号",
  22466. "type": "string"
  22467. },
  22468. "branchbankname": {
  22469. "description": "签约银行支行名称",
  22470. "type": "string"
  22471. },
  22472. "cardno": {
  22473. "description": "证件号码",
  22474. "type": "string"
  22475. },
  22476. "cardno2": {
  22477. "description": "证件号码 - 密文",
  22478. "type": "string"
  22479. },
  22480. "cardtype": {
  22481. "description": "证件类型",
  22482. "type": "string"
  22483. },
  22484. "currency": {
  22485. "description": "币种",
  22486. "type": "string"
  22487. },
  22488. "cusbankid": {
  22489. "description": "托管银行编号",
  22490. "type": "string"
  22491. },
  22492. "direct": {
  22493. "description": "方向(可以判断那方先发起的签约)",
  22494. "type": "integer"
  22495. },
  22496. "exchticket": {
  22497. "description": "最后一次签约成功的流水号",
  22498. "type": "string"
  22499. },
  22500. "extendinfo": {
  22501. "description": "扩展信息(JSON字符串)",
  22502. "type": "string"
  22503. },
  22504. "mobilephone": {
  22505. "description": "手机号",
  22506. "type": "string"
  22507. },
  22508. "mobilephone2": {
  22509. "description": "手机号 - 密文",
  22510. "type": "string"
  22511. },
  22512. "netaddr": {
  22513. "description": "调转网址",
  22514. "type": "string"
  22515. },
  22516. "relateduserid": {
  22517. "description": "关联使用者userid",
  22518. "type": "integer"
  22519. },
  22520. "signstatus": {
  22521. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  22522. "type": "integer"
  22523. },
  22524. "updatetime": {
  22525. "description": "更新时间(签解约更新时间)",
  22526. "type": "string"
  22527. }
  22528. }
  22529. },
  22530. "models.QhjBankInfo": {
  22531. "type": "object",
  22532. "properties": {
  22533. "bankid": {
  22534. "description": "银行ID",
  22535. "type": "string"
  22536. },
  22537. "bankname": {
  22538. "description": "银行名称",
  22539. "type": "string"
  22540. },
  22541. "clearbankno": {
  22542. "description": "清算系统银行编号",
  22543. "type": "string"
  22544. },
  22545. "orderindex": {
  22546. "description": "排序顺序",
  22547. "type": "integer"
  22548. },
  22549. "status": {
  22550. "description": "状态 - 0:正常 1:注销",
  22551. "type": "integer"
  22552. }
  22553. }
  22554. },
  22555. "models.QhjContract": {
  22556. "type": "object",
  22557. "properties": {
  22558. "contractconfirmtime": {
  22559. "description": "合同确认时间(时间)",
  22560. "type": "string"
  22561. },
  22562. "currisklevel": {
  22563. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  22564. "type": "integer"
  22565. },
  22566. "decimalplace": {
  22567. "description": "商品报价小数位",
  22568. "type": "integer"
  22569. },
  22570. "enumdicname": {
  22571. "description": "单位名称",
  22572. "type": "string"
  22573. },
  22574. "goodscode": {
  22575. "description": "商品代码",
  22576. "type": "string"
  22577. },
  22578. "goodsid": {
  22579. "description": "商品ID [5:融资单]",
  22580. "type": "integer"
  22581. },
  22582. "goodsname": {
  22583. "description": "商品名称",
  22584. "type": "string"
  22585. },
  22586. "goodunitid": {
  22587. "description": "商品单位id",
  22588. "type": "integer"
  22589. },
  22590. "initmargin": {
  22591. "description": "初始保证金(首付款)",
  22592. "type": "number"
  22593. },
  22594. "lenderamount": {
  22595. "description": "贷款金额(总额|订单总额)",
  22596. "type": "number"
  22597. },
  22598. "marginratio": {
  22599. "description": "保证金比率(首付比例)",
  22600. "type": "number"
  22601. },
  22602. "payamount": {
  22603. "description": "已付(已付货款)",
  22604. "type": "number"
  22605. },
  22606. "reckonrecovermargin": {
  22607. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  22608. "type": "number"
  22609. },
  22610. "recoveredmargin": {
  22611. "description": "已追缴保证金",
  22612. "type": "number"
  22613. },
  22614. "remainamount": {
  22615. "description": "合同剩余金额(融资额)",
  22616. "type": "number"
  22617. },
  22618. "scfcontractid": {
  22619. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  22620. "type": "string"
  22621. },
  22622. "scfcontractstatus": {
  22623. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  22624. "type": "integer"
  22625. },
  22626. "scfcontracttype": {
  22627. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  22628. "type": "integer"
  22629. },
  22630. "totalinterest": {
  22631. "description": "已计总利息(利息)",
  22632. "type": "number"
  22633. },
  22634. "tradeprice": {
  22635. "description": "成交价格(成本价格)",
  22636. "type": "number"
  22637. },
  22638. "userid": {
  22639. "description": "用户ID",
  22640. "type": "integer"
  22641. },
  22642. "username": {
  22643. "description": "用户名称",
  22644. "type": "string"
  22645. },
  22646. "wrqty": {
  22647. "description": "仓单数量(数量)",
  22648. "type": "number"
  22649. }
  22650. }
  22651. },
  22652. "models.QhjContractLog": {
  22653. "type": "object",
  22654. "properties": {
  22655. "amount": {
  22656. "description": "支付金额",
  22657. "type": "number"
  22658. },
  22659. "amounttype": {
  22660. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  22661. "type": "integer"
  22662. },
  22663. "logid": {
  22664. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22665. "type": "string"
  22666. },
  22667. "remainamount": {
  22668. "description": "剩余货款",
  22669. "type": "number"
  22670. },
  22671. "scfcontractid": {
  22672. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  22673. "type": "integer"
  22674. },
  22675. "updatetime": {
  22676. "description": "更新时间",
  22677. "type": "string"
  22678. }
  22679. }
  22680. },
  22681. "models.QhjCusBankSignBankEx": {
  22682. "type": "object",
  22683. "properties": {
  22684. "banklst": {
  22685. "description": "银行列表",
  22686. "type": "array",
  22687. "items": {
  22688. "$ref": "#/definitions/models.QhjBankInfo"
  22689. }
  22690. },
  22691. "canallot": {
  22692. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  22693. "type": "integer"
  22694. },
  22695. "canallotquery": {
  22696. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  22697. "type": "integer"
  22698. },
  22699. "canbindcard": {
  22700. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  22701. "type": "integer"
  22702. },
  22703. "caninamount": {
  22704. "description": "是否可入金 - 0:不可 1:可以",
  22705. "type": "integer"
  22706. },
  22707. "caninamount2": {
  22708. "description": "是否可入金(网银端) - 0:不可 1:可以",
  22709. "type": "integer"
  22710. },
  22711. "canmodifybankcard": {
  22712. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  22713. "type": "integer"
  22714. },
  22715. "canmodifyphone": {
  22716. "description": "是否可修改手机号 - 0:不可 1:可以",
  22717. "type": "integer"
  22718. },
  22719. "canmodifysigninfo": {
  22720. "description": "是否可修改签约信息 - 0:不可 1:可以",
  22721. "type": "integer"
  22722. },
  22723. "canoutamount": {
  22724. "description": "是否可出金 - 0:不可 1:可以",
  22725. "type": "integer"
  22726. },
  22727. "canoutamount2": {
  22728. "description": "是否可出金(网银端) - 0:不可 1:可以",
  22729. "type": "integer"
  22730. },
  22731. "canrelease": {
  22732. "description": "是否可解约 - 0:不可 1:可以",
  22733. "type": "integer"
  22734. },
  22735. "canrelease2": {
  22736. "description": "是否可解约(网银端) - 0:不可 1:可以",
  22737. "type": "integer"
  22738. },
  22739. "cansign": {
  22740. "description": "是否可签约 - 0:不可 1:可以",
  22741. "type": "integer"
  22742. },
  22743. "cansign2": {
  22744. "description": "是否可签约(网银端) - 0:不可 1:可以",
  22745. "type": "integer"
  22746. },
  22747. "currency": {
  22748. "description": "币种",
  22749. "type": "string"
  22750. },
  22751. "cusbankid": {
  22752. "description": "托管银行编号(对应清算中心TRAN_NO)",
  22753. "type": "string"
  22754. },
  22755. "cusbankname": {
  22756. "description": "银行业务名称",
  22757. "type": "string"
  22758. },
  22759. "cusbankshortname": {
  22760. "description": "银行业务简称",
  22761. "type": "string"
  22762. },
  22763. "exchbankid": {
  22764. "description": "交易所开户银行ID",
  22765. "type": "string"
  22766. },
  22767. "exchpaybankaccname": {
  22768. "description": "交易所支出结算账户户名",
  22769. "type": "string"
  22770. },
  22771. "exchpaybankaccno": {
  22772. "description": "交易所支出结算账户",
  22773. "type": "string"
  22774. },
  22775. "isneedcheck": {
  22776. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  22777. "type": "integer"
  22778. },
  22779. "isneedclear": {
  22780. "description": "是否需要清算 - 0:不需要 1:需要",
  22781. "type": "integer"
  22782. },
  22783. "lastcheckstatus": {
  22784. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  22785. "type": "integer"
  22786. },
  22787. "lastchecktime": {
  22788. "description": "最后对账时间",
  22789. "type": "string"
  22790. },
  22791. "lastclearstatus": {
  22792. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  22793. "type": "integer"
  22794. },
  22795. "lastcleartime": {
  22796. "description": "最后清算时间",
  22797. "type": "string"
  22798. },
  22799. "lastsignintime": {
  22800. "description": "最后签到时间",
  22801. "type": "string"
  22802. },
  22803. "lastsignouttime": {
  22804. "description": "最后签退时间",
  22805. "type": "string"
  22806. },
  22807. "riskinfo": {
  22808. "description": "签约风险提示书",
  22809. "type": "string"
  22810. },
  22811. "signstatus": {
  22812. "description": "当前签到/签退状态 - 1:签到 2:签退",
  22813. "type": "integer"
  22814. },
  22815. "tradedate": {
  22816. "description": "交易日(yyyyMMdd)",
  22817. "type": "string"
  22818. },
  22819. "updatetime": {
  22820. "description": "当前签到/签退更新时间",
  22821. "type": "string"
  22822. }
  22823. }
  22824. },
  22825. "models.QhjCustomer": {
  22826. "type": "object",
  22827. "properties": {
  22828. "address": {
  22829. "description": "通讯地址",
  22830. "type": "string"
  22831. },
  22832. "attachment1": {
  22833. "description": "附件1",
  22834. "type": "string"
  22835. },
  22836. "audittime": {
  22837. "description": "审核时间",
  22838. "type": "string"
  22839. },
  22840. "cardbackphotourl": {
  22841. "description": "证件反面图片地址",
  22842. "type": "string"
  22843. },
  22844. "cardfrontphotourl": {
  22845. "description": "证件正面图片地址",
  22846. "type": "string"
  22847. },
  22848. "cardnum": {
  22849. "description": "证件号码",
  22850. "type": "string"
  22851. },
  22852. "cardtype": {
  22853. "description": "证件类型",
  22854. "type": "integer"
  22855. },
  22856. "cardtypename": {
  22857. "description": "证件类型名称",
  22858. "type": "string"
  22859. },
  22860. "cityid": {
  22861. "description": "市",
  22862. "type": "integer"
  22863. },
  22864. "cityname": {
  22865. "description": "城市名称",
  22866. "type": "string"
  22867. },
  22868. "contactname": {
  22869. "description": "联系人",
  22870. "type": "string"
  22871. },
  22872. "countryid": {
  22873. "description": "国家",
  22874. "type": "integer"
  22875. },
  22876. "countryname": {
  22877. "description": "国家名称",
  22878. "type": "string"
  22879. },
  22880. "createtime": {
  22881. "description": "创建时间",
  22882. "type": "string"
  22883. },
  22884. "customername": {
  22885. "description": "客户名称",
  22886. "type": "string"
  22887. },
  22888. "districtid": {
  22889. "description": "区域",
  22890. "type": "integer"
  22891. },
  22892. "districtname": {
  22893. "description": "地区名称",
  22894. "type": "string"
  22895. },
  22896. "email": {
  22897. "description": "邮件",
  22898. "type": "string"
  22899. },
  22900. "legalpersonname": {
  22901. "description": "法人姓名(企业)",
  22902. "type": "string"
  22903. },
  22904. "logincode": {
  22905. "description": "登录账号(代码)",
  22906. "type": "string"
  22907. },
  22908. "memberuserid": {
  22909. "description": "所属机构ID(所属会员)",
  22910. "type": "integer"
  22911. },
  22912. "memberusername": {
  22913. "description": "所属会员名称",
  22914. "type": "string"
  22915. },
  22916. "mobile": {
  22917. "description": "手机号码",
  22918. "type": "string"
  22919. },
  22920. "modifytime": {
  22921. "description": "修改时间",
  22922. "type": "string"
  22923. },
  22924. "nickname": {
  22925. "description": "昵称",
  22926. "type": "string"
  22927. },
  22928. "parentuserid": {
  22929. "description": "上级机构(所属机构)",
  22930. "type": "integer"
  22931. },
  22932. "parentusername": {
  22933. "description": "所属机构名称",
  22934. "type": "string"
  22935. },
  22936. "provinceid": {
  22937. "description": "省",
  22938. "type": "integer"
  22939. },
  22940. "provincename": {
  22941. "description": "省名称",
  22942. "type": "string"
  22943. },
  22944. "remark": {
  22945. "description": "备注",
  22946. "type": "string"
  22947. },
  22948. "status": {
  22949. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22950. "type": "integer"
  22951. },
  22952. "statusdesc": {
  22953. "description": "账户状态中文描述",
  22954. "type": "string"
  22955. },
  22956. "taxpayernum": {
  22957. "description": "纳税人识别号",
  22958. "type": "string"
  22959. },
  22960. "telphone": {
  22961. "description": "联系电话",
  22962. "type": "string"
  22963. },
  22964. "userid": {
  22965. "description": "用户ID",
  22966. "type": "integer"
  22967. },
  22968. "userinfotype": {
  22969. "description": "客户类型 1-个人 2-企业",
  22970. "type": "integer"
  22971. },
  22972. "username": {
  22973. "description": "用户名称",
  22974. "type": "string"
  22975. }
  22976. }
  22977. },
  22978. "models.QhjMgrPositionRsp": {
  22979. "type": "object",
  22980. "properties": {
  22981. "accountid": {
  22982. "description": "账号Id",
  22983. "type": "integer"
  22984. },
  22985. "accountname": {
  22986. "description": "用户名称",
  22987. "type": "string"
  22988. },
  22989. "agreeunit": {
  22990. "description": "合约乘数",
  22991. "type": "number"
  22992. },
  22993. "averageprice": {
  22994. "description": "均价",
  22995. "type": "number"
  22996. },
  22997. "avialqty": {
  22998. "description": "可用数量",
  22999. "type": "number"
  23000. },
  23001. "decimalplace": {
  23002. "description": "报价小数位",
  23003. "type": "integer"
  23004. },
  23005. "enumdicname": {
  23006. "description": "单位名称(商品)",
  23007. "type": "string"
  23008. },
  23009. "frozenqty": {
  23010. "description": "冻结数量",
  23011. "type": "number"
  23012. },
  23013. "goodscode": {
  23014. "description": "商品代码(内部)",
  23015. "type": "string"
  23016. },
  23017. "goodsid": {
  23018. "description": "商品Id",
  23019. "type": "integer"
  23020. },
  23021. "goodsname": {
  23022. "description": "商品名称",
  23023. "type": "string"
  23024. },
  23025. "goodunitid": {
  23026. "description": "报价单位ID",
  23027. "type": "integer"
  23028. },
  23029. "holderamount": {
  23030. "description": "金额",
  23031. "type": "number"
  23032. },
  23033. "holderqty": {
  23034. "description": "持有数量",
  23035. "type": "number"
  23036. },
  23037. "holdertype": {
  23038. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  23039. "type": "integer"
  23040. },
  23041. "logincode": {
  23042. "description": "登录代码(账户)",
  23043. "type": "string"
  23044. },
  23045. "marketid": {
  23046. "description": "市场id",
  23047. "type": "integer"
  23048. },
  23049. "qtydecimalplace": {
  23050. "description": "成交量小数位",
  23051. "type": "integer"
  23052. },
  23053. "trademode": {
  23054. "description": "交易模式",
  23055. "type": "integer"
  23056. },
  23057. "userid": {
  23058. "description": "用户id",
  23059. "type": "integer"
  23060. },
  23061. "userinfotype": {
  23062. "description": "账户类型 1-个人 2-企业",
  23063. "type": "integer"
  23064. }
  23065. }
  23066. },
  23067. "models.QhjMgrSubArea": {
  23068. "type": "object",
  23069. "properties": {
  23070. "accountname": {
  23071. "description": "账户名称(机构名称)",
  23072. "type": "string"
  23073. },
  23074. "memberuserid": {
  23075. "description": "所属会员ID",
  23076. "type": "integer"
  23077. },
  23078. "parenttopuser": {
  23079. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  23080. "type": "string"
  23081. },
  23082. "parentuserid": {
  23083. "description": "所属机构ID",
  23084. "type": "integer"
  23085. },
  23086. "rootuserid": {
  23087. "description": "根用户ID",
  23088. "type": "string"
  23089. },
  23090. "subaccountlevel": {
  23091. "description": "子账户层数",
  23092. "type": "integer"
  23093. },
  23094. "subarealevelpath": {
  23095. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  23096. "type": "string"
  23097. },
  23098. "userid": {
  23099. "description": "用户ID",
  23100. "type": "integer"
  23101. },
  23102. "usertype": {
  23103. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23104. "type": "integer"
  23105. }
  23106. }
  23107. },
  23108. "models.QhjMgrTradeDetailRsp": {
  23109. "type": "object",
  23110. "properties": {
  23111. "accountid": {
  23112. "description": "资金账号",
  23113. "type": "integer"
  23114. },
  23115. "accountname": {
  23116. "description": "用户名称",
  23117. "type": "string"
  23118. },
  23119. "agreeunit": {
  23120. "description": "合约乘数",
  23121. "type": "number"
  23122. },
  23123. "buyorsell": {
  23124. "description": "成交类型(方向) 0:买 1:卖",
  23125. "type": "integer"
  23126. },
  23127. "decimalplace": {
  23128. "description": "报价小数位",
  23129. "type": "integer"
  23130. },
  23131. "enumdicname": {
  23132. "description": "单位名称(商品)",
  23133. "type": "string"
  23134. },
  23135. "goodscode": {
  23136. "description": "商品代码(内部)",
  23137. "type": "string"
  23138. },
  23139. "goodsid": {
  23140. "description": "商品id",
  23141. "type": "integer"
  23142. },
  23143. "goodsname": {
  23144. "description": "商品名称",
  23145. "type": "string"
  23146. },
  23147. "goodunitid": {
  23148. "description": "报价单位ID",
  23149. "type": "integer"
  23150. },
  23151. "logincode": {
  23152. "description": "登录代码(账户)",
  23153. "type": "string"
  23154. },
  23155. "marketid": {
  23156. "description": "市场id",
  23157. "type": "integer"
  23158. },
  23159. "orderid": {
  23160. "description": "关联委托单号",
  23161. "type": "string"
  23162. },
  23163. "qtydecimalplace": {
  23164. "description": "成交量小数位",
  23165. "type": "integer"
  23166. },
  23167. "tradeamount": {
  23168. "description": "金额",
  23169. "type": "number"
  23170. },
  23171. "tradedate": {
  23172. "description": "交易日",
  23173. "type": "string"
  23174. },
  23175. "tradeid": {
  23176. "description": "成交单号",
  23177. "type": "string"
  23178. },
  23179. "trademode": {
  23180. "description": "交易模式",
  23181. "type": "integer"
  23182. },
  23183. "tradeprice": {
  23184. "description": "价格",
  23185. "type": "number"
  23186. },
  23187. "tradeqty": {
  23188. "description": "数量",
  23189. "type": "number"
  23190. },
  23191. "tradetime": {
  23192. "description": "成交时间",
  23193. "type": "string"
  23194. },
  23195. "userid": {
  23196. "description": "用户id",
  23197. "type": "integer"
  23198. },
  23199. "userinfotype": {
  23200. "description": "账户类型 1-个人 2-企业",
  23201. "type": "integer"
  23202. }
  23203. }
  23204. },
  23205. "models.QhjMgrTradeOrderDetailRsp": {
  23206. "type": "object",
  23207. "properties": {
  23208. "accountid": {
  23209. "description": "资金账号",
  23210. "type": "integer"
  23211. },
  23212. "accountname": {
  23213. "description": "用户名称",
  23214. "type": "string"
  23215. },
  23216. "agreeunit": {
  23217. "description": "合约乘数",
  23218. "type": "number"
  23219. },
  23220. "amount": {
  23221. "description": "金额",
  23222. "type": "number"
  23223. },
  23224. "decimalplace": {
  23225. "description": "报价小数位",
  23226. "type": "integer"
  23227. },
  23228. "enumdicname": {
  23229. "description": "单位名称(商品)",
  23230. "type": "string"
  23231. },
  23232. "goodscode": {
  23233. "description": "商品代码(内部)",
  23234. "type": "string"
  23235. },
  23236. "goodsid": {
  23237. "description": "商品id",
  23238. "type": "integer"
  23239. },
  23240. "goodsname": {
  23241. "description": "商品名称",
  23242. "type": "string"
  23243. },
  23244. "goodunitid": {
  23245. "description": "报价单位ID",
  23246. "type": "integer"
  23247. },
  23248. "logincode": {
  23249. "description": "登录代码(账户)",
  23250. "type": "string"
  23251. },
  23252. "marketid": {
  23253. "description": "市场id",
  23254. "type": "integer"
  23255. },
  23256. "orderid": {
  23257. "description": "关联委托单号",
  23258. "type": "string"
  23259. },
  23260. "orderprice": {
  23261. "description": "价格",
  23262. "type": "number"
  23263. },
  23264. "orderqty": {
  23265. "description": "数量",
  23266. "type": "number"
  23267. },
  23268. "ordertime": {
  23269. "description": "委托时间",
  23270. "type": "string"
  23271. },
  23272. "qtydecimalplace": {
  23273. "description": "成交量小数位",
  23274. "type": "integer"
  23275. },
  23276. "tradedate": {
  23277. "description": "交易日",
  23278. "type": "string"
  23279. },
  23280. "trademode": {
  23281. "description": "交易模式",
  23282. "type": "integer"
  23283. },
  23284. "userid": {
  23285. "description": "用户id",
  23286. "type": "integer"
  23287. },
  23288. "userinfotype": {
  23289. "description": "账户类型 1-个人 2-企业",
  23290. "type": "integer"
  23291. }
  23292. }
  23293. },
  23294. "models.QhjMgrTradePayOrder": {
  23295. "type": "object",
  23296. "properties": {
  23297. "accountname": {
  23298. "description": "用户名称",
  23299. "type": "string"
  23300. },
  23301. "advanceratio": {
  23302. "description": "首付比率",
  23303. "type": "number"
  23304. },
  23305. "agreeunit": {
  23306. "description": "合约乘数",
  23307. "type": "number"
  23308. },
  23309. "buyaccountid": {
  23310. "description": "买方账号ID[报价币种]",
  23311. "type": "integer"
  23312. },
  23313. "buyorderid": {
  23314. "description": "买方委托单号(关联单号)",
  23315. "type": "string"
  23316. },
  23317. "createtime": {
  23318. "description": "创建时间",
  23319. "type": "string"
  23320. },
  23321. "decimalplace": {
  23322. "description": "报价小数位",
  23323. "type": "integer"
  23324. },
  23325. "enumdicname": {
  23326. "description": "单位名称(商品)",
  23327. "type": "string"
  23328. },
  23329. "goodscode": {
  23330. "description": "商品代码(内部)",
  23331. "type": "string"
  23332. },
  23333. "goodsid": {
  23334. "description": "商品ID",
  23335. "type": "integer"
  23336. },
  23337. "goodsname": {
  23338. "description": "商品名称",
  23339. "type": "string"
  23340. },
  23341. "goodunitid": {
  23342. "description": "报价单位ID",
  23343. "type": "integer"
  23344. },
  23345. "logincode": {
  23346. "description": "登录代码(账户)",
  23347. "type": "string"
  23348. },
  23349. "marketid": {
  23350. "description": "市场id",
  23351. "type": "integer"
  23352. },
  23353. "offamount": {
  23354. "description": "优惠金额",
  23355. "type": "number"
  23356. },
  23357. "operatetype": {
  23358. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  23359. "type": "integer"
  23360. },
  23361. "payamount": {
  23362. "description": "支付金额(金额)",
  23363. "type": "number"
  23364. },
  23365. "payflag": {
  23366. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23367. "type": "integer"
  23368. },
  23369. "paylimitedtime": {
  23370. "description": "支付期限",
  23371. "type": "string"
  23372. },
  23373. "paytime": {
  23374. "description": "付款时间",
  23375. "type": "string"
  23376. },
  23377. "qtydecimalplace": {
  23378. "description": "成交量小数位",
  23379. "type": "integer"
  23380. },
  23381. "sellaccountid": {
  23382. "description": "卖方账号ID[报价币种]",
  23383. "type": "integer"
  23384. },
  23385. "sellorderid": {
  23386. "description": "卖方委托单号",
  23387. "type": "string"
  23388. },
  23389. "tradeamount": {
  23390. "description": "成交金额(优惠后金额)",
  23391. "type": "number"
  23392. },
  23393. "tradecharge": {
  23394. "description": "成交手续费(买方)",
  23395. "type": "number"
  23396. },
  23397. "tradedate": {
  23398. "description": "交易日(yyyyMMdd)",
  23399. "type": "string"
  23400. },
  23401. "tradeid": {
  23402. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23403. "type": "string"
  23404. },
  23405. "trademode": {
  23406. "description": "交易模式",
  23407. "type": "integer"
  23408. },
  23409. "tradeprice": {
  23410. "description": "成交价格(价格)",
  23411. "type": "number"
  23412. },
  23413. "tradeqty": {
  23414. "description": "成交数量(数量)",
  23415. "type": "number"
  23416. },
  23417. "tradetime": {
  23418. "description": "成交时间",
  23419. "type": "string"
  23420. },
  23421. "userid": {
  23422. "description": "用户id",
  23423. "type": "integer"
  23424. },
  23425. "userinfotype": {
  23426. "description": "账户类型 1-个人 2-企业",
  23427. "type": "integer"
  23428. }
  23429. }
  23430. },
  23431. "models.QhjParentAreaList": {
  23432. "type": "object",
  23433. "properties": {
  23434. "accountname": {
  23435. "description": "账户名称(机构名称)",
  23436. "type": "string"
  23437. },
  23438. "userid": {
  23439. "description": "用户ID",
  23440. "type": "integer"
  23441. },
  23442. "usertype": {
  23443. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23444. "type": "integer"
  23445. }
  23446. }
  23447. },
  23448. "models.QhjPayOrder": {
  23449. "type": "object",
  23450. "properties": {
  23451. "buyaccountid": {
  23452. "description": "买方账号ID[报价币种]",
  23453. "type": "integer"
  23454. },
  23455. "buyorderid": {
  23456. "description": "买方委托单号",
  23457. "type": "string"
  23458. },
  23459. "createtime": {
  23460. "description": "创建时间",
  23461. "type": "string"
  23462. },
  23463. "decimalplace": {
  23464. "description": "商品报价小数位",
  23465. "type": "integer"
  23466. },
  23467. "enumdicname": {
  23468. "description": "单位名称",
  23469. "type": "string"
  23470. },
  23471. "goodscode": {
  23472. "description": "商品代码",
  23473. "type": "string"
  23474. },
  23475. "goodsid": {
  23476. "description": "商品ID",
  23477. "type": "integer"
  23478. },
  23479. "goodsname": {
  23480. "description": "商品名称",
  23481. "type": "string"
  23482. },
  23483. "goodunitid": {
  23484. "description": "商品单位id",
  23485. "type": "integer"
  23486. },
  23487. "marketid": {
  23488. "description": "市场ID",
  23489. "type": "integer"
  23490. },
  23491. "offamount": {
  23492. "description": "优惠金额",
  23493. "type": "number"
  23494. },
  23495. "operatetype": {
  23496. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  23497. "type": "integer"
  23498. },
  23499. "payamount": {
  23500. "description": "支付金额=TradeAmount + TradeCharge",
  23501. "type": "number"
  23502. },
  23503. "payflag": {
  23504. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23505. "type": "integer"
  23506. },
  23507. "paylimitedtime": {
  23508. "description": "支付期限",
  23509. "type": "string"
  23510. },
  23511. "paytime": {
  23512. "description": "付款时间",
  23513. "type": "string"
  23514. },
  23515. "qtydecimalplace": {
  23516. "description": "成交量小数位",
  23517. "type": "integer"
  23518. },
  23519. "sellaccountid": {
  23520. "description": "卖方账号ID[报价币种]",
  23521. "type": "integer"
  23522. },
  23523. "sellorderid": {
  23524. "description": "卖方委托单号",
  23525. "type": "string"
  23526. },
  23527. "tradeamount": {
  23528. "description": "成交金额(优惠后金额)",
  23529. "type": "number"
  23530. },
  23531. "tradecharge": {
  23532. "description": "成交手续费(买方)",
  23533. "type": "number"
  23534. },
  23535. "tradedate": {
  23536. "description": "交易日(yyyyMMdd)",
  23537. "type": "string"
  23538. },
  23539. "tradeid": {
  23540. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23541. "type": "string"
  23542. },
  23543. "tradeprice": {
  23544. "description": "成交价格",
  23545. "type": "number"
  23546. },
  23547. "tradeqty": {
  23548. "description": "成交数量",
  23549. "type": "number"
  23550. }
  23551. }
  23552. },
  23553. "models.QhjPickArea": {
  23554. "type": "object",
  23555. "properties": {
  23556. "address": {
  23557. "description": "详细地址",
  23558. "type": "string"
  23559. },
  23560. "cityid": {
  23561. "description": "市",
  23562. "type": "integer"
  23563. },
  23564. "cityname": {
  23565. "description": "城市名称",
  23566. "type": "string"
  23567. },
  23568. "countryid": {
  23569. "description": "国家",
  23570. "type": "integer"
  23571. },
  23572. "countryname": {
  23573. "description": "国家名称",
  23574. "type": "string"
  23575. },
  23576. "districtid": {
  23577. "description": "地区",
  23578. "type": "integer"
  23579. },
  23580. "districtname": {
  23581. "description": "地区名称",
  23582. "type": "string"
  23583. },
  23584. "fromuserid": {
  23585. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  23586. "type": "integer"
  23587. },
  23588. "fromusername": {
  23589. "description": "所属机构名称",
  23590. "type": "string"
  23591. },
  23592. "provinceid": {
  23593. "description": "省",
  23594. "type": "integer"
  23595. },
  23596. "provincename": {
  23597. "description": "省名称",
  23598. "type": "string"
  23599. },
  23600. "suborgtype": {
  23601. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  23602. "type": "integer"
  23603. },
  23604. "userid": {
  23605. "description": "机构用户ID 其他做市关系,都设置为 1",
  23606. "type": "integer"
  23607. },
  23608. "username": {
  23609. "description": "机构用户名称(门店门称)",
  23610. "type": "string"
  23611. }
  23612. }
  23613. },
  23614. "models.QhjPickGoods": {
  23615. "type": "object",
  23616. "properties": {
  23617. "enumdicname": {
  23618. "description": "单位名称(提货商品)",
  23619. "type": "string"
  23620. },
  23621. "goodsid": {
  23622. "description": "商品id",
  23623. "type": "integer"
  23624. },
  23625. "imageaddress": {
  23626. "description": "图片",
  23627. "type": "string"
  23628. },
  23629. "modifierid": {
  23630. "description": "修改人",
  23631. "type": "integer"
  23632. },
  23633. "modifiername": {
  23634. "description": "修改人名称",
  23635. "type": "string"
  23636. },
  23637. "modifysrc": {
  23638. "description": "修改来源 - 1:管理端 2:终端",
  23639. "type": "integer"
  23640. },
  23641. "pickupgoodsagreeunit": {
  23642. "description": "合约乘数",
  23643. "type": "number"
  23644. },
  23645. "pickupgoodsdesc": {
  23646. "description": "描述",
  23647. "type": "string"
  23648. },
  23649. "pickupgoodsid": {
  23650. "description": "提货商品ID",
  23651. "type": "string"
  23652. },
  23653. "pickupgoodsname": {
  23654. "description": "提货商品名称",
  23655. "type": "string"
  23656. },
  23657. "pickupgoodsstatus": {
  23658. "description": "状态 - 1:正常 2:停用 3:注销",
  23659. "type": "integer"
  23660. },
  23661. "pickupgoodsunitid": {
  23662. "description": "单位ID",
  23663. "type": "integer"
  23664. },
  23665. "pickupratio": {
  23666. "description": "提货系数",
  23667. "type": "number"
  23668. },
  23669. "preparedays": {
  23670. "description": "备货期(天)",
  23671. "type": "integer"
  23672. },
  23673. "remark": {
  23674. "description": "备注",
  23675. "type": "string"
  23676. },
  23677. "updatetime": {
  23678. "description": "更新时间",
  23679. "type": "string"
  23680. }
  23681. }
  23682. },
  23683. "models.QhjRSTriggerLog": {
  23684. "type": "object",
  23685. "properties": {
  23686. "accountid": {
  23687. "description": "用户资金账户",
  23688. "type": "integer"
  23689. },
  23690. "accountname": {
  23691. "description": "账号名称(ACCOUNTID对应的名称)",
  23692. "type": "string"
  23693. },
  23694. "currencyid": {
  23695. "description": "币种id",
  23696. "type": "integer"
  23697. },
  23698. "currencyname": {
  23699. "description": "币种名称",
  23700. "type": "string"
  23701. },
  23702. "decimalplace": {
  23703. "description": "商品报价小数位",
  23704. "type": "integer"
  23705. },
  23706. "enumdicname": {
  23707. "description": "单位名称",
  23708. "type": "string"
  23709. },
  23710. "goodscode": {
  23711. "description": "定投商品代码",
  23712. "type": "string"
  23713. },
  23714. "goodsid": {
  23715. "description": "定投商品ID",
  23716. "type": "string"
  23717. },
  23718. "goodsname": {
  23719. "description": "定投商品名称",
  23720. "type": "string"
  23721. },
  23722. "goodunitid": {
  23723. "description": "定投商品单位id",
  23724. "type": "integer"
  23725. },
  23726. "logid": {
  23727. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  23728. "type": "string"
  23729. },
  23730. "qtydecimalplace": {
  23731. "description": "成交量小数位",
  23732. "type": "integer"
  23733. },
  23734. "regularlycycle": {
  23735. "description": "定投频率 - 1:每周 2:每月",
  23736. "type": "integer"
  23737. },
  23738. "regularlycyclevalue": {
  23739. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  23740. "type": "string"
  23741. },
  23742. "regularlymode": {
  23743. "description": "定投方式 - 1:按数量 2:按金额",
  23744. "type": "integer"
  23745. },
  23746. "regularlymodevalue": {
  23747. "description": "定投方式值 - 数量或金额",
  23748. "type": "number"
  23749. },
  23750. "regularlystrategyid": {
  23751. "description": "定投策略ID",
  23752. "type": "integer"
  23753. },
  23754. "retcode": {
  23755. "description": "错误码",
  23756. "type": "string"
  23757. },
  23758. "tradeid": {
  23759. "description": "成交单ID",
  23760. "type": "string"
  23761. },
  23762. "triggeramount": {
  23763. "description": "触发金额",
  23764. "type": "number"
  23765. },
  23766. "triggerqty": {
  23767. "description": "触发数量",
  23768. "type": "number"
  23769. },
  23770. "triggerstatus": {
  23771. "description": "触发状态 - 1:成功 2:失败",
  23772. "type": "integer"
  23773. },
  23774. "triggertime": {
  23775. "description": "触发时间",
  23776. "type": "string"
  23777. },
  23778. "triggertradedate": {
  23779. "description": "触发交易日",
  23780. "type": "string"
  23781. },
  23782. "userid": {
  23783. "description": "所属用户ID",
  23784. "type": "integer"
  23785. },
  23786. "username": {
  23787. "description": "用户名称(userid对应的名称)",
  23788. "type": "string"
  23789. }
  23790. }
  23791. },
  23792. "models.QhjRStrategy": {
  23793. "type": "object",
  23794. "properties": {
  23795. "accountid": {
  23796. "description": "用户资金账户",
  23797. "type": "integer"
  23798. },
  23799. "accountname": {
  23800. "description": "账号名称(ACCOUNTID对应的名称)",
  23801. "type": "string"
  23802. },
  23803. "currencyid": {
  23804. "description": "币种id",
  23805. "type": "integer"
  23806. },
  23807. "currencyname": {
  23808. "description": "币种名称",
  23809. "type": "string"
  23810. },
  23811. "decimalplace": {
  23812. "description": "商品报价小数位",
  23813. "type": "integer"
  23814. },
  23815. "enumdicname": {
  23816. "description": "单位名称",
  23817. "type": "string"
  23818. },
  23819. "goodscode": {
  23820. "description": "定投商品代码",
  23821. "type": "string"
  23822. },
  23823. "goodsid": {
  23824. "description": "定投商品ID",
  23825. "type": "string"
  23826. },
  23827. "goodsname": {
  23828. "description": "定投商品名称",
  23829. "type": "string"
  23830. },
  23831. "goodunitid": {
  23832. "description": "定投商品单位id",
  23833. "type": "integer"
  23834. },
  23835. "lasteffecttradedate": {
  23836. "description": "最新生效交易日",
  23837. "type": "string"
  23838. },
  23839. "laststoptradedate": {
  23840. "description": "最新暂停交易日",
  23841. "type": "string"
  23842. },
  23843. "lasttriggertradedate": {
  23844. "description": "最新触发交易日",
  23845. "type": "string"
  23846. },
  23847. "nexttriggeramount": {
  23848. "description": "下次触发金额",
  23849. "type": "number"
  23850. },
  23851. "nexttriggerdate": {
  23852. "description": "下次触发日期",
  23853. "type": "string"
  23854. },
  23855. "nexttriggerqty": {
  23856. "description": "下次触发数量 [按小数位放大值]",
  23857. "type": "number"
  23858. },
  23859. "qtydecimalplace": {
  23860. "description": "成交量小数位",
  23861. "type": "integer"
  23862. },
  23863. "regularlycycle": {
  23864. "description": "定投频率 - 1:每周 2:每月",
  23865. "type": "integer"
  23866. },
  23867. "regularlycyclevalue": {
  23868. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  23869. "type": "string"
  23870. },
  23871. "regularlymode": {
  23872. "description": "定投方式 - 1:按数量 2:按金额",
  23873. "type": "integer"
  23874. },
  23875. "regularlymodevalue": {
  23876. "description": "定投方式值 - 数量或金额",
  23877. "type": "number"
  23878. },
  23879. "regularlystrategyid": {
  23880. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  23881. "type": "integer"
  23882. },
  23883. "regularlystrategystatus": {
  23884. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  23885. "type": "integer"
  23886. },
  23887. "remark": {
  23888. "description": "备注",
  23889. "type": "string"
  23890. },
  23891. "triggersuccesstimes": {
  23892. "description": "累计定投成功次数",
  23893. "type": "string"
  23894. },
  23895. "triggertotalamount": {
  23896. "description": "累计定投金额(成功)",
  23897. "type": "number"
  23898. },
  23899. "triggertotalqty": {
  23900. "description": "累计定投数量(成功) [按小数位放大值]",
  23901. "type": "number"
  23902. },
  23903. "triggertotaltimes": {
  23904. "description": "累计定投总次数",
  23905. "type": "string"
  23906. },
  23907. "updatesrc": {
  23908. "description": "更新来源 - 1:管理端 2:终端",
  23909. "type": "integer"
  23910. },
  23911. "updatetime": {
  23912. "description": "更新时间",
  23913. "type": "string"
  23914. },
  23915. "updatorid": {
  23916. "description": "更新人",
  23917. "type": "string"
  23918. },
  23919. "userid": {
  23920. "description": "所属用户ID",
  23921. "type": "integer"
  23922. },
  23923. "username": {
  23924. "description": "用户名称(userid对应的名称)",
  23925. "type": "string"
  23926. }
  23927. }
  23928. },
  23929. "models.QhjReckonPriceLog": {
  23930. "type": "object",
  23931. "properties": {
  23932. "decimalplace": {
  23933. "description": "商品报价小数位",
  23934. "type": "integer"
  23935. },
  23936. "goodscode": {
  23937. "description": "商品代码",
  23938. "type": "string"
  23939. },
  23940. "goodsid": {
  23941. "description": "商品ID",
  23942. "type": "integer"
  23943. },
  23944. "goodsname": {
  23945. "description": "商品名称",
  23946. "type": "string"
  23947. },
  23948. "lastreckonprice": {
  23949. "description": "上日结算价",
  23950. "type": "number"
  23951. },
  23952. "nextdnlimitprice": {
  23953. "description": "下个交易日跌停价",
  23954. "type": "number"
  23955. },
  23956. "nexttrade": {
  23957. "description": "下个交易日",
  23958. "type": "string"
  23959. },
  23960. "nextuplimitprice": {
  23961. "description": "下个交易日涨停价",
  23962. "type": "number"
  23963. },
  23964. "reckonprice": {
  23965. "description": "今日结算价(定投价)",
  23966. "type": "number"
  23967. },
  23968. "reckontime": {
  23969. "description": "结算时间",
  23970. "type": "string"
  23971. },
  23972. "totalholderqty": {
  23973. "description": "总持仓数",
  23974. "type": "integer"
  23975. },
  23976. "totalstock": {
  23977. "description": "总库存",
  23978. "type": "integer"
  23979. },
  23980. "tradedate": {
  23981. "description": "交易日",
  23982. "type": "string"
  23983. },
  23984. "updowncount": {
  23985. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  23986. "type": "integer"
  23987. },
  23988. "updownflag": {
  23989. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  23990. "type": "integer"
  23991. },
  23992. "updownrate": {
  23993. "description": "今日涨跌幅",
  23994. "type": "number"
  23995. },
  23996. "updownrate_2d": {
  23997. "description": "连续两日涨跌幅",
  23998. "type": "number"
  23999. },
  24000. "updownrate_3d": {
  24001. "description": "连续三日涨跌幅",
  24002. "type": "number"
  24003. }
  24004. }
  24005. },
  24006. "models.QhjSiteColumnDetail": {
  24007. "type": "object",
  24008. "properties": {
  24009. "author": {
  24010. "description": "作者",
  24011. "type": "string"
  24012. },
  24013. "brief": {
  24014. "description": "简介",
  24015. "type": "string"
  24016. },
  24017. "columnid": {
  24018. "description": "所属栏目",
  24019. "type": "integer"
  24020. },
  24021. "context": {
  24022. "description": "内容",
  24023. "type": "string"
  24024. },
  24025. "coverimage": {
  24026. "description": "封面图片",
  24027. "type": "string"
  24028. },
  24029. "creaedate": {
  24030. "description": "创建时间",
  24031. "type": "string"
  24032. },
  24033. "creatorid": {
  24034. "description": "创建人",
  24035. "type": "integer"
  24036. },
  24037. "hits": {
  24038. "description": "点击数",
  24039. "type": "integer"
  24040. },
  24041. "id": {
  24042. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  24043. "type": "integer"
  24044. },
  24045. "isshow": {
  24046. "description": "是否展示 - 0:不展示 1:展示",
  24047. "type": "integer"
  24048. },
  24049. "istop": {
  24050. "description": "是否置顶 - 0:不置 1:置顶",
  24051. "type": "integer"
  24052. },
  24053. "modifierid": {
  24054. "description": "操作人",
  24055. "type": "integer"
  24056. },
  24057. "publishdate": {
  24058. "description": "发布日期",
  24059. "type": "string"
  24060. },
  24061. "status": {
  24062. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  24063. "type": "integer"
  24064. },
  24065. "title": {
  24066. "description": "标题",
  24067. "type": "string"
  24068. },
  24069. "updatedate": {
  24070. "description": "修改时间",
  24071. "type": "string"
  24072. },
  24073. "userid": {
  24074. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  24075. "type": "integer"
  24076. },
  24077. "username": {
  24078. "description": "用户名称",
  24079. "type": "string"
  24080. }
  24081. }
  24082. },
  24083. "models.QhjTradeGoodsPickup": {
  24084. "type": "object",
  24085. "properties": {
  24086. "accountid": {
  24087. "description": "账户ID",
  24088. "type": "integer"
  24089. },
  24090. "address": {
  24091. "description": "提货人详细地址",
  24092. "type": "string"
  24093. },
  24094. "amount": {
  24095. "description": "提货金额",
  24096. "type": "number"
  24097. },
  24098. "artradedate": {
  24099. "description": "自动收货交易日(yyyyMMdd)",
  24100. "type": "string"
  24101. },
  24102. "auditer": {
  24103. "description": "审核人",
  24104. "type": "integer"
  24105. },
  24106. "auditsrc": {
  24107. "description": "更新来源 - 1:管理端 2:终端",
  24108. "type": "integer"
  24109. },
  24110. "audittime": {
  24111. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  24112. "type": "string"
  24113. },
  24114. "audittradedate": {
  24115. "description": "审核交易日(yyyyMMdd)",
  24116. "type": "string"
  24117. },
  24118. "cardnum": {
  24119. "description": "提货人证件号码",
  24120. "type": "string"
  24121. },
  24122. "cardtypeid": {
  24123. "description": "提货人证件类型",
  24124. "type": "integer"
  24125. },
  24126. "checkremark": {
  24127. "description": "审核备注",
  24128. "type": "string"
  24129. },
  24130. "cityid": {
  24131. "description": "市",
  24132. "type": "integer"
  24133. },
  24134. "cityname": {
  24135. "description": "城市名称",
  24136. "type": "string"
  24137. },
  24138. "confirmtime": {
  24139. "description": "取货时间 或 收货时间",
  24140. "type": "string"
  24141. },
  24142. "countryid": {
  24143. "description": "国家",
  24144. "type": "integer"
  24145. },
  24146. "countryname": {
  24147. "description": "国家名称",
  24148. "type": "string"
  24149. },
  24150. "decimalplace": {
  24151. "description": "商品报价小数位",
  24152. "type": "integer"
  24153. },
  24154. "districtid": {
  24155. "description": "地区",
  24156. "type": "integer"
  24157. },
  24158. "districtname": {
  24159. "description": "地区名称",
  24160. "type": "string"
  24161. },
  24162. "enumdicname": {
  24163. "description": "单位名称(提货商品)",
  24164. "type": "string"
  24165. },
  24166. "expresscompany": {
  24167. "description": "物流公司",
  24168. "type": "string"
  24169. },
  24170. "expressnum": {
  24171. "description": "物流单号",
  24172. "type": "string"
  24173. },
  24174. "goodsagreeunit": {
  24175. "description": "交易商品乘数",
  24176. "type": "number"
  24177. },
  24178. "goodscode": {
  24179. "description": "商品代码",
  24180. "type": "string"
  24181. },
  24182. "goodsid": {
  24183. "description": "商品ID",
  24184. "type": "integer"
  24185. },
  24186. "goodsname": {
  24187. "description": "商品名称",
  24188. "type": "string"
  24189. },
  24190. "goodsqty": {
  24191. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  24192. "type": "number"
  24193. },
  24194. "handlestatus": {
  24195. "description": "处理状态",
  24196. "type": "integer"
  24197. },
  24198. "marketid": {
  24199. "description": "市场ID",
  24200. "type": "integer"
  24201. },
  24202. "phonenum": {
  24203. "description": "提货人联系方式",
  24204. "type": "string"
  24205. },
  24206. "pickupgoodsagreeunit": {
  24207. "description": "提货商品合约乘数",
  24208. "type": "number"
  24209. },
  24210. "pickupgoodsid": {
  24211. "description": "提货商品ID",
  24212. "type": "string"
  24213. },
  24214. "pickupgoodsname": {
  24215. "description": "提货商品名称",
  24216. "type": "string"
  24217. },
  24218. "pickupgoodsqty": {
  24219. "description": "提货商品手数(数量)",
  24220. "type": "number"
  24221. },
  24222. "pickupgoodsunitid": {
  24223. "description": "单位ID(提货商品)",
  24224. "type": "integer"
  24225. },
  24226. "pickupratio": {
  24227. "description": "提货系数",
  24228. "type": "number"
  24229. },
  24230. "preparedays": {
  24231. "description": "备货期(天)-提货单明细表",
  24232. "type": "integer"
  24233. },
  24234. "provinceid": {
  24235. "description": "省",
  24236. "type": "integer"
  24237. },
  24238. "provincename": {
  24239. "description": "省名称",
  24240. "type": "string"
  24241. },
  24242. "qty": {
  24243. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  24244. "type": "number"
  24245. },
  24246. "recivername": {
  24247. "description": "提货人姓名",
  24248. "type": "string"
  24249. },
  24250. "reqtime": {
  24251. "description": "提货申请时间",
  24252. "type": "string"
  24253. },
  24254. "storeuserid": {
  24255. "description": "门店用户ID (千海金)",
  24256. "type": "integer"
  24257. },
  24258. "storeusername": {
  24259. "description": "门店用户名称",
  24260. "type": "string"
  24261. },
  24262. "takemode": {
  24263. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  24264. "type": "integer"
  24265. },
  24266. "takeorderid": {
  24267. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24268. "type": "string"
  24269. },
  24270. "takeorderstatus": {
  24271. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  24272. "type": "integer"
  24273. },
  24274. "takeremark": {
  24275. "description": "提货备注",
  24276. "type": "string"
  24277. },
  24278. "tradedate": {
  24279. "description": "交易日(yyyyMMdd)",
  24280. "type": "string"
  24281. },
  24282. "updatetime": {
  24283. "description": "更新时间",
  24284. "type": "string"
  24285. },
  24286. "userid": {
  24287. "description": "用户ID",
  24288. "type": "integer"
  24289. },
  24290. "username": {
  24291. "description": "用户名称",
  24292. "type": "string"
  24293. }
  24294. }
  24295. },
  24296. "models.Qhjgoodsex": {
  24297. "type": "object",
  24298. "properties": {
  24299. "canfinance": {
  24300. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  24301. "type": "integer"
  24302. },
  24303. "canregularlybuy": {
  24304. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  24305. "type": "integer"
  24306. },
  24307. "defaulttradeuserid": {
  24308. "description": "默认交易用户ID",
  24309. "type": "integer"
  24310. },
  24311. "deliverygoodsid": {
  24312. "description": "现货品种ID",
  24313. "type": "integer"
  24314. },
  24315. "goodsid": {
  24316. "description": "商品ID(自增ID SEQ_GOODS)",
  24317. "type": "integer"
  24318. },
  24319. "minamount": {
  24320. "description": "最小购买金额",
  24321. "type": "number"
  24322. },
  24323. "regularlybuyminamount": {
  24324. "description": "定投最小金额",
  24325. "type": "number"
  24326. },
  24327. "regularlybuyminqty": {
  24328. "description": "定投最小数量",
  24329. "type": "number"
  24330. },
  24331. "spotgoodsbrandid": {
  24332. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  24333. "type": "integer"
  24334. },
  24335. "wrstandardid": {
  24336. "description": "现货商品ID",
  24337. "type": "integer"
  24338. }
  24339. }
  24340. },
  24341. "models.QueryErrorInfosRsp": {
  24342. "type": "object",
  24343. "required": [
  24344. "errorid"
  24345. ],
  24346. "properties": {
  24347. "description": {
  24348. "description": "异常描述",
  24349. "type": "string"
  24350. },
  24351. "errorcode": {
  24352. "description": "异常代码",
  24353. "type": "string"
  24354. },
  24355. "errorid": {
  24356. "description": "异常ID",
  24357. "type": "integer"
  24358. },
  24359. "modulecode": {
  24360. "description": "所属模块",
  24361. "type": "string"
  24362. },
  24363. "operatecode": {
  24364. "description": "所属操作",
  24365. "type": "string"
  24366. },
  24367. "rownumber": {
  24368. "description": "行号",
  24369. "type": "string"
  24370. }
  24371. }
  24372. },
  24373. "models.QueryHedgeOrderDetailRsp": {
  24374. "type": "object",
  24375. "properties": {
  24376. "accountid": {
  24377. "description": "账户ID",
  24378. "type": "integer"
  24379. },
  24380. "buyorsell": {
  24381. "description": "买卖 - 0:买 1:卖",
  24382. "type": "integer"
  24383. },
  24384. "cancellogincode": {
  24385. "description": "撤单人",
  24386. "type": "string"
  24387. },
  24388. "channelbuildtype": {
  24389. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  24390. "type": "integer"
  24391. },
  24392. "channelinnerorderstatus": {
  24393. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  24394. "type": "integer"
  24395. },
  24396. "channeloperatetype": {
  24397. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  24398. "type": "integer"
  24399. },
  24400. "closetype": {
  24401. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24402. "type": "integer"
  24403. },
  24404. "curexchangerate": {
  24405. "description": "当前汇率",
  24406. "type": "number"
  24407. },
  24408. "exchangefullname": {
  24409. "description": "外部交易所全称",
  24410. "type": "string"
  24411. },
  24412. "goodscode": {
  24413. "description": "商品代码(内部)",
  24414. "type": "string"
  24415. },
  24416. "goodsid": {
  24417. "description": "商品ID",
  24418. "type": "integer"
  24419. },
  24420. "goodsname": {
  24421. "description": "商品名称",
  24422. "type": "string"
  24423. },
  24424. "marketid": {
  24425. "description": "市场ID",
  24426. "type": "integer"
  24427. },
  24428. "openfreezemargin": {
  24429. "description": "冻结保证金(冻结交易金额)",
  24430. "type": "number"
  24431. },
  24432. "orderid": {
  24433. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24434. "type": "string"
  24435. },
  24436. "orderlogincode": {
  24437. "description": "委托人",
  24438. "type": "string"
  24439. },
  24440. "orderprice": {
  24441. "description": "委托价格(账户)",
  24442. "type": "number"
  24443. },
  24444. "orderqty": {
  24445. "description": "委托数量",
  24446. "type": "integer"
  24447. },
  24448. "ordertime": {
  24449. "description": "委托时间",
  24450. "type": "string"
  24451. },
  24452. "pricemode": {
  24453. "description": "取价方式 - 1:市价 2: 限价",
  24454. "type": "integer"
  24455. },
  24456. "tradedate": {
  24457. "description": "交易日(yyyyMMdd)",
  24458. "type": "string"
  24459. },
  24460. "tradeqty": {
  24461. "description": "成交数量",
  24462. "type": "integer"
  24463. }
  24464. }
  24465. },
  24466. "models.QueryHedgeTradeDetailRsp": {
  24467. "type": "object",
  24468. "properties": {
  24469. "accountid": {
  24470. "description": "账号ID",
  24471. "type": "integer"
  24472. },
  24473. "buyorsell": {
  24474. "description": "方向 - 0:买 1:卖",
  24475. "type": "integer"
  24476. },
  24477. "channelbuildtype": {
  24478. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24479. "type": "integer"
  24480. },
  24481. "closecharge": {
  24482. "description": "平仓手续费(账户)",
  24483. "type": "number"
  24484. },
  24485. "closecharge2": {
  24486. "description": "平仓手续费(商品)",
  24487. "type": "number"
  24488. },
  24489. "closepl": {
  24490. "description": "平仓盈亏(账户)",
  24491. "type": "number"
  24492. },
  24493. "closepl2": {
  24494. "description": "平仓盈亏(商品)",
  24495. "type": "number"
  24496. },
  24497. "closepl3": {
  24498. "description": "平仓盈亏(账户)(逐笔)",
  24499. "type": "number"
  24500. },
  24501. "closepl4": {
  24502. "description": "平仓盈亏(商品)(逐笔)",
  24503. "type": "number"
  24504. },
  24505. "closetype": {
  24506. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24507. "type": "integer"
  24508. },
  24509. "curexchangerate": {
  24510. "description": "当前汇率",
  24511. "type": "number"
  24512. },
  24513. "exchangefullname": {
  24514. "description": "外部交易所全称",
  24515. "type": "string"
  24516. },
  24517. "goodscode": {
  24518. "description": "商品代码(内部)",
  24519. "type": "string"
  24520. },
  24521. "goodsid": {
  24522. "description": "商品ID",
  24523. "type": "integer"
  24524. },
  24525. "goodsname": {
  24526. "description": "商品名称",
  24527. "type": "string"
  24528. },
  24529. "marketid": {
  24530. "description": "市场ID",
  24531. "type": "integer"
  24532. },
  24533. "opencharge": {
  24534. "description": "建仓手续费(账户)",
  24535. "type": "number"
  24536. },
  24537. "opencharge2": {
  24538. "description": "建仓手续费(商品)",
  24539. "type": "number"
  24540. },
  24541. "orderid": {
  24542. "description": "委托单号",
  24543. "type": "string"
  24544. },
  24545. "orderlogincode": {
  24546. "description": "委托人",
  24547. "type": "string"
  24548. },
  24549. "tradeamount": {
  24550. "description": "成交金额(账户)",
  24551. "type": "number"
  24552. },
  24553. "tradedate": {
  24554. "description": "交易日(yyyyMMdd)",
  24555. "type": "string"
  24556. },
  24557. "tradeid": {
  24558. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24559. "type": "string"
  24560. },
  24561. "tradeprice": {
  24562. "description": "成交价格",
  24563. "type": "number"
  24564. },
  24565. "tradeqty": {
  24566. "description": "成交数量",
  24567. "type": "integer"
  24568. },
  24569. "tradetime": {
  24570. "description": "成交时间",
  24571. "type": "string"
  24572. },
  24573. "tradetype": {
  24574. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  24575. "type": "integer"
  24576. }
  24577. }
  24578. },
  24579. "models.QuotePrimaryMenu": {
  24580. "type": "object",
  24581. "properties": {
  24582. "Index": {
  24583. "description": "序号",
  24584. "type": "integer"
  24585. },
  24586. "Key": {
  24587. "description": "键名",
  24588. "type": "string"
  24589. },
  24590. "Name": {
  24591. "description": "菜单名称",
  24592. "type": "string"
  24593. },
  24594. "SubMenus": {
  24595. "description": "子菜单",
  24596. "type": "array",
  24597. "items": {
  24598. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  24599. }
  24600. },
  24601. "SubTitleType": {
  24602. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  24603. "type": "integer"
  24604. },
  24605. "TradeModes": {
  24606. "description": "包含市场交易类型",
  24607. "type": "string"
  24608. }
  24609. }
  24610. },
  24611. "models.QuoteSecondaryMenu": {
  24612. "type": "object",
  24613. "properties": {
  24614. "ExExchangeCode": {
  24615. "description": "外部交易所代码",
  24616. "type": "string"
  24617. },
  24618. "ExExchangeID": {
  24619. "description": "外部交易所ID",
  24620. "type": "integer"
  24621. },
  24622. "GoodsGroupIDs": {
  24623. "description": "商品组ID列表",
  24624. "type": "array",
  24625. "items": {
  24626. "type": "integer"
  24627. }
  24628. },
  24629. "Index": {
  24630. "description": "序号",
  24631. "type": "integer"
  24632. },
  24633. "MarketID": {
  24634. "description": "市场ID",
  24635. "type": "integer"
  24636. },
  24637. "MenuTitle": {
  24638. "description": "菜单标题(市场名称或外部交易所名称)",
  24639. "type": "string"
  24640. },
  24641. "TradeMode": {
  24642. "description": "交易模式",
  24643. "type": "integer"
  24644. }
  24645. }
  24646. },
  24647. "models.SearchGoods": {
  24648. "type": "object",
  24649. "required": [
  24650. "goodscode",
  24651. "goodsid",
  24652. "goodsname",
  24653. "marketid",
  24654. "trademode"
  24655. ],
  24656. "properties": {
  24657. "goodscode": {
  24658. "description": "商品代码(内部)",
  24659. "type": "string"
  24660. },
  24661. "goodsid": {
  24662. "description": "商品ID(自增ID SEQ_GOODS)",
  24663. "type": "integer"
  24664. },
  24665. "goodsname": {
  24666. "description": "商品名称",
  24667. "type": "string"
  24668. },
  24669. "marketid": {
  24670. "description": "所属市场ID",
  24671. "type": "integer"
  24672. },
  24673. "marketname": {
  24674. "description": "市场名称",
  24675. "type": "string"
  24676. },
  24677. "trademode": {
  24678. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24679. "type": "integer"
  24680. }
  24681. }
  24682. },
  24683. "models.Systemparam": {
  24684. "type": "object",
  24685. "required": [
  24686. "paramcode"
  24687. ],
  24688. "properties": {
  24689. "loginid": {
  24690. "description": "更新用户账号,登录账号",
  24691. "type": "string"
  24692. },
  24693. "modifyflag": {
  24694. "description": "修改标志0 不允许修改 1 允许修改",
  24695. "type": "integer"
  24696. },
  24697. "paramcode": {
  24698. "description": "参数代码",
  24699. "type": "string"
  24700. },
  24701. "paramname": {
  24702. "description": "参数名",
  24703. "type": "string"
  24704. },
  24705. "paramtype": {
  24706. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  24707. "type": "integer"
  24708. },
  24709. "paramvalue": {
  24710. "description": "参数值",
  24711. "type": "string"
  24712. },
  24713. "paramvalue2": {
  24714. "description": "参数值(CLOB)",
  24715. "type": "string"
  24716. },
  24717. "regexpress": {
  24718. "description": "正则表达式",
  24719. "type": "string"
  24720. },
  24721. "remark": {
  24722. "description": "备注",
  24723. "type": "string"
  24724. },
  24725. "serverip": {
  24726. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  24727. "type": "string"
  24728. },
  24729. "showflag": {
  24730. "description": "是否显示0 不显示 1 显示",
  24731. "type": "integer"
  24732. },
  24733. "updatetime": {
  24734. "description": "更新时间",
  24735. "type": "string"
  24736. },
  24737. "userid": {
  24738. "description": "更新用户ID",
  24739. "type": "integer"
  24740. }
  24741. }
  24742. },
  24743. "models.Szdz3convertconfig": {
  24744. "type": "object",
  24745. "required": [
  24746. "converttype",
  24747. "innergoodsid",
  24748. "outergoodscode"
  24749. ],
  24750. "properties": {
  24751. "canin": {
  24752. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  24753. "type": "integer"
  24754. },
  24755. "canout": {
  24756. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  24757. "type": "integer"
  24758. },
  24759. "converttype": {
  24760. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  24761. "type": "integer"
  24762. },
  24763. "createtime": {
  24764. "description": "创建时间",
  24765. "type": "string"
  24766. },
  24767. "creatorid": {
  24768. "description": "创建人",
  24769. "type": "integer"
  24770. },
  24771. "daymaxvalue": {
  24772. "description": "当日最大转入限制",
  24773. "type": "number"
  24774. },
  24775. "freezedays": {
  24776. "description": "冻结天数 [5:花生米转交易]",
  24777. "type": "integer"
  24778. },
  24779. "innergoodsid": {
  24780. "description": "内部商品ID[交易]",
  24781. "type": "integer"
  24782. },
  24783. "inratio": {
  24784. "description": "目标值",
  24785. "type": "integer"
  24786. },
  24787. "modifierid": {
  24788. "description": "修改人",
  24789. "type": "integer"
  24790. },
  24791. "modifytime": {
  24792. "description": "修改时间",
  24793. "type": "string"
  24794. },
  24795. "outergoodscode": {
  24796. "description": "外部商品代码[JD\\PD]",
  24797. "type": "string"
  24798. },
  24799. "outratio": {
  24800. "description": "源值",
  24801. "type": "integer"
  24802. },
  24803. "pddecimalplace": {
  24804. "description": "PD小数位",
  24805. "type": "integer"
  24806. },
  24807. "timemaxvalue": {
  24808. "description": "单次最大转入限制",
  24809. "type": "number"
  24810. },
  24811. "timeminvalue": {
  24812. "description": "单次最小转入限制",
  24813. "type": "number"
  24814. }
  24815. }
  24816. },
  24817. "models.Szdz3searchwhitelist": {
  24818. "type": "object",
  24819. "required": [
  24820. "userid"
  24821. ],
  24822. "properties": {
  24823. "createtime": {
  24824. "description": "创建时间",
  24825. "type": "string"
  24826. },
  24827. "creatorid": {
  24828. "description": "创建人",
  24829. "type": "integer"
  24830. },
  24831. "modifierid": {
  24832. "description": "修改人",
  24833. "type": "integer"
  24834. },
  24835. "modifytime": {
  24836. "description": "修改时间",
  24837. "type": "string"
  24838. },
  24839. "userid": {
  24840. "description": "用户ID",
  24841. "type": "integer"
  24842. }
  24843. }
  24844. },
  24845. "models.Taaccount": {
  24846. "type": "object",
  24847. "required": [
  24848. "accountid",
  24849. "userid"
  24850. ],
  24851. "properties": {
  24852. "accountflag": {
  24853. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  24854. "type": "integer"
  24855. },
  24856. "accountid": {
  24857. "description": "资金账户ID",
  24858. "type": "integer"
  24859. },
  24860. "accountname": {
  24861. "description": "账户名称",
  24862. "type": "string"
  24863. },
  24864. "balance": {
  24865. "description": "期初余额",
  24866. "type": "number"
  24867. },
  24868. "capitalbalance": {
  24869. "description": "本金余额[外部子账户实际出入金余额]",
  24870. "type": "number"
  24871. },
  24872. "changeflag": {
  24873. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  24874. "type": "integer"
  24875. },
  24876. "changetime": {
  24877. "description": "账户状态变更时间",
  24878. "type": "string"
  24879. },
  24880. "closepl": {
  24881. "description": "今日平仓盈亏",
  24882. "type": "number"
  24883. },
  24884. "creditdecrease": {
  24885. "description": "今日授信减少",
  24886. "type": "number"
  24887. },
  24888. "creditincrease": {
  24889. "description": "今日授信增加",
  24890. "type": "number"
  24891. },
  24892. "currencyid": {
  24893. "description": "货币ID",
  24894. "type": "integer"
  24895. },
  24896. "currentbalance": {
  24897. "description": "期末余额",
  24898. "type": "number"
  24899. },
  24900. "freezecharge": {
  24901. "description": "手续费冻结",
  24902. "type": "number"
  24903. },
  24904. "freezemargin": {
  24905. "description": "冻结保证金",
  24906. "type": "number"
  24907. },
  24908. "fromaccountid": {
  24909. "description": "所属上级账户",
  24910. "type": "integer"
  24911. },
  24912. "inamount": {
  24913. "description": "今日入金金额(包括三方入金)",
  24914. "type": "number"
  24915. },
  24916. "ismain": {
  24917. "description": "是否母账号 0:不是母账户 1:是母账户",
  24918. "type": "integer"
  24919. },
  24920. "ismarketaccount": {
  24921. "description": "是否机构接单账号 0:不是 1:是",
  24922. "type": "integer"
  24923. },
  24924. "isreckonaccount": {
  24925. "description": "是否机构分润账号 0:不是 1:是",
  24926. "type": "integer"
  24927. },
  24928. "mortgagecredit": {
  24929. "description": "授信金额",
  24930. "type": "number"
  24931. },
  24932. "orifreezecharge": {
  24933. "description": "期初手续费冻结",
  24934. "type": "number"
  24935. },
  24936. "orifreezemargin": {
  24937. "description": "期初冻结保证金",
  24938. "type": "number"
  24939. },
  24940. "orimortgagecredit": {
  24941. "description": "期初授信金额",
  24942. "type": "number"
  24943. },
  24944. "oriothercredit": {
  24945. "description": "期初其它授信金额",
  24946. "type": "number"
  24947. },
  24948. "oriotherfreezemargin": {
  24949. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24950. "type": "number"
  24951. },
  24952. "orioutamountfreeze": {
  24953. "description": "期初出金冻结",
  24954. "type": "number"
  24955. },
  24956. "oriusedmargin": {
  24957. "description": "期初占用保证金",
  24958. "type": "number"
  24959. },
  24960. "othercredit": {
  24961. "description": "其它授信金额",
  24962. "type": "number"
  24963. },
  24964. "othercreditdecrease": {
  24965. "description": "今日其它授信减少",
  24966. "type": "number"
  24967. },
  24968. "othercreditincrease": {
  24969. "description": "今日其它授信增加",
  24970. "type": "number"
  24971. },
  24972. "otherfreezemargin": {
  24973. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24974. "type": "number"
  24975. },
  24976. "otherincome": {
  24977. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  24978. "type": "number"
  24979. },
  24980. "otherpay": {
  24981. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  24982. "type": "number"
  24983. },
  24984. "outamount": {
  24985. "description": "今日出金金额(包括三方出金)",
  24986. "type": "number"
  24987. },
  24988. "outamountfreeze": {
  24989. "description": "出金冻结",
  24990. "type": "number"
  24991. },
  24992. "outthreshold": {
  24993. "description": "出金阈值",
  24994. "type": "number"
  24995. },
  24996. "parentaccountid": {
  24997. "description": "所属根账号",
  24998. "type": "integer"
  24999. },
  25000. "paycharge": {
  25001. "description": "今日手续费支出",
  25002. "type": "number"
  25003. },
  25004. "relatedaccountstatus": {
  25005. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  25006. "type": "integer"
  25007. },
  25008. "relateduserid": {
  25009. "description": "关联用户",
  25010. "type": "integer"
  25011. },
  25012. "serivcegroup": {
  25013. "description": "服务分组",
  25014. "type": "integer"
  25015. },
  25016. "signstatus": {
  25017. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25018. "type": "integer"
  25019. },
  25020. "sublevelpath": {
  25021. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25022. "type": "string"
  25023. },
  25024. "taaccounttype": {
  25025. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25026. "type": "integer"
  25027. },
  25028. "thirdinamount": {
  25029. "description": "今日三方入金",
  25030. "type": "number"
  25031. },
  25032. "thirdoutamount": {
  25033. "description": "今日三方出金",
  25034. "type": "number"
  25035. },
  25036. "tradestatus": {
  25037. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25038. "type": "integer"
  25039. },
  25040. "tradestatuschangetime": {
  25041. "description": "激活时间",
  25042. "type": "string"
  25043. },
  25044. "transferamount": {
  25045. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25046. "type": "number"
  25047. },
  25048. "usedmargin": {
  25049. "description": "占用保证金",
  25050. "type": "number"
  25051. },
  25052. "userid": {
  25053. "description": "用户ID",
  25054. "type": "integer"
  25055. }
  25056. }
  25057. },
  25058. "models.Tablecolumnconfig": {
  25059. "type": "object",
  25060. "required": [
  25061. "autoid"
  25062. ],
  25063. "properties": {
  25064. "aligntype": {
  25065. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  25066. "type": "integer"
  25067. },
  25068. "autoid": {
  25069. "description": "AutoID",
  25070. "type": "integer"
  25071. },
  25072. "columnfield": {
  25073. "description": "列字段",
  25074. "type": "string"
  25075. },
  25076. "columntitle": {
  25077. "description": "列Title",
  25078. "type": "string"
  25079. },
  25080. "columnwidth": {
  25081. "description": "列宽",
  25082. "type": "string"
  25083. },
  25084. "formatterstring": {
  25085. "description": "格式化字符",
  25086. "type": "string"
  25087. },
  25088. "formattertype": {
  25089. "description": "格式化类型",
  25090. "type": "string"
  25091. },
  25092. "groupname": {
  25093. "description": "表头分组名称",
  25094. "type": "string"
  25095. },
  25096. "isshow": {
  25097. "description": "是否显示 - 0:不显示 1:显示",
  25098. "type": "integer"
  25099. },
  25100. "needsummary": {
  25101. "description": "是否需要汇总 - 0:不需要 1:需要",
  25102. "type": "integer"
  25103. },
  25104. "orderindex": {
  25105. "description": "顺序",
  25106. "type": "integer"
  25107. },
  25108. "remark": {
  25109. "description": "备注",
  25110. "type": "string"
  25111. },
  25112. "summarytype": {
  25113. "description": "汇总类型 - 1:加总 2:最后一个",
  25114. "type": "integer"
  25115. },
  25116. "tablekey": {
  25117. "description": "列表Key",
  25118. "type": "string"
  25119. }
  25120. }
  25121. },
  25122. "models.UserCollectConfig": {
  25123. "type": "object",
  25124. "properties": {
  25125. "accountstatus": {
  25126. "description": "账户状态 - 1:正常 2:停用 3:注销",
  25127. "type": "integer"
  25128. },
  25129. "collectaccountname": {
  25130. "description": "收款人账户名称",
  25131. "type": "string"
  25132. },
  25133. "collectaccountno": {
  25134. "description": "收款人账户",
  25135. "type": "string"
  25136. },
  25137. "collectbankname": {
  25138. "description": "收款人开户行",
  25139. "type": "string"
  25140. },
  25141. "collectbranchbankname": {
  25142. "description": "收款人开户支行",
  25143. "type": "string"
  25144. },
  25145. "collectconfigid": {
  25146. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  25147. "type": "string"
  25148. },
  25149. "remark": {
  25150. "description": "备注",
  25151. "type": "string"
  25152. },
  25153. "userid": {
  25154. "description": "收款人用户ID",
  25155. "type": "integer"
  25156. }
  25157. }
  25158. },
  25159. "models.UserReceiveInfo": {
  25160. "type": "object",
  25161. "properties": {
  25162. "address": {
  25163. "description": "提货人详细地址",
  25164. "type": "string"
  25165. },
  25166. "autoid": {
  25167. "description": "AutoID",
  25168. "type": "integer"
  25169. },
  25170. "cardnum": {
  25171. "description": "证件号码(加密存储)",
  25172. "type": "string"
  25173. },
  25174. "cardtypeid": {
  25175. "description": "证件类型",
  25176. "type": "integer"
  25177. },
  25178. "cityid": {
  25179. "description": "市",
  25180. "type": "integer"
  25181. },
  25182. "cityname": {
  25183. "description": "城市名称",
  25184. "type": "string"
  25185. },
  25186. "countryid": {
  25187. "description": "国家",
  25188. "type": "integer"
  25189. },
  25190. "countryname": {
  25191. "description": "国家名称",
  25192. "type": "string"
  25193. },
  25194. "districtid": {
  25195. "description": "地区",
  25196. "type": "integer"
  25197. },
  25198. "districtname": {
  25199. "description": "地区名称",
  25200. "type": "string"
  25201. },
  25202. "hasencrypt": {
  25203. "description": "数据是否已加密 - 0:未加密 1:已加密",
  25204. "type": "integer"
  25205. },
  25206. "isdefault": {
  25207. "description": "是否默认地址 - 0:否 1:是",
  25208. "type": "integer"
  25209. },
  25210. "phonenum": {
  25211. "description": "提货人联系方式(加密存储)",
  25212. "type": "string"
  25213. },
  25214. "provinceid": {
  25215. "description": "省",
  25216. "type": "integer"
  25217. },
  25218. "provincename": {
  25219. "description": "省名称",
  25220. "type": "string"
  25221. },
  25222. "receivername": {
  25223. "description": "提货人姓名",
  25224. "type": "string"
  25225. },
  25226. "takeremark": {
  25227. "description": "提货备注",
  25228. "type": "string"
  25229. },
  25230. "userid": {
  25231. "description": "用户ID",
  25232. "type": "integer"
  25233. }
  25234. }
  25235. },
  25236. "models.Useraccount": {
  25237. "type": "object",
  25238. "required": [
  25239. "userid"
  25240. ],
  25241. "properties": {
  25242. "accountname": {
  25243. "description": "账户名称(机构名称)",
  25244. "type": "string"
  25245. },
  25246. "accountstatus": {
  25247. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25248. "type": "integer"
  25249. },
  25250. "applysrc": {
  25251. "description": "申请来源 - 1:管理端 2:终端",
  25252. "type": "integer"
  25253. },
  25254. "auditremark": {
  25255. "description": "审核备注",
  25256. "type": "string"
  25257. },
  25258. "auditsrc": {
  25259. "description": "审核来源 - 1:管理端 2:终端",
  25260. "type": "integer"
  25261. },
  25262. "audittime": {
  25263. "description": "审核时间",
  25264. "type": "string"
  25265. },
  25266. "audituserid": {
  25267. "description": "审核人",
  25268. "type": "integer"
  25269. },
  25270. "broker": {
  25271. "description": "所属经纪人ID",
  25272. "type": "integer"
  25273. },
  25274. "canceltime": {
  25275. "description": "销户时间",
  25276. "type": "string"
  25277. },
  25278. "canceluserid": {
  25279. "description": "销户人",
  25280. "type": "integer"
  25281. },
  25282. "canrecommend": {
  25283. "description": "是否可推荐 - 0:不可 1;可",
  25284. "type": "integer"
  25285. },
  25286. "createtime": {
  25287. "description": "创建时间",
  25288. "type": "string"
  25289. },
  25290. "creatorid": {
  25291. "description": "创建人",
  25292. "type": "integer"
  25293. },
  25294. "hasauth": {
  25295. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  25296. "type": "integer"
  25297. },
  25298. "isanonymous": {
  25299. "description": "是否匿名下单 - 0:否 1:是",
  25300. "type": "integer"
  25301. },
  25302. "maxinvestornum": {
  25303. "description": "最大用户数(经纪会员下投资者个数)",
  25304. "type": "integer"
  25305. },
  25306. "memberuserid": {
  25307. "description": "所属会员ID",
  25308. "type": "integer"
  25309. },
  25310. "modifierid": {
  25311. "description": "修改人",
  25312. "type": "integer"
  25313. },
  25314. "modifyremark": {
  25315. "description": "变更备注",
  25316. "type": "string"
  25317. },
  25318. "modifystatus": {
  25319. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25320. "type": "integer"
  25321. },
  25322. "modifytime": {
  25323. "description": "修改时间",
  25324. "type": "string"
  25325. },
  25326. "parenttopuser": {
  25327. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25328. "type": "string"
  25329. },
  25330. "parentuserid": {
  25331. "description": "所属机构ID",
  25332. "type": "integer"
  25333. },
  25334. "reckonaccountid": {
  25335. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25336. "type": "integer"
  25337. },
  25338. "refercount": {
  25339. "description": "推荐总人数",
  25340. "type": "integer"
  25341. },
  25342. "refereeuserid": {
  25343. "description": "推荐人ID",
  25344. "type": "integer"
  25345. },
  25346. "refernum": {
  25347. "description": "推荐码",
  25348. "type": "string"
  25349. },
  25350. "rootuserid": {
  25351. "description": "根用户ID",
  25352. "type": "integer"
  25353. },
  25354. "subaccountlevel": {
  25355. "description": "子账户层数",
  25356. "type": "integer"
  25357. },
  25358. "subarealevelpath": {
  25359. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25360. "type": "string"
  25361. },
  25362. "userid": {
  25363. "description": "用户ID",
  25364. "type": "integer"
  25365. },
  25366. "usertype": {
  25367. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25368. "type": "integer"
  25369. }
  25370. }
  25371. },
  25372. "models.Userfavoritegoods": {
  25373. "type": "object",
  25374. "required": [
  25375. "goodsid"
  25376. ],
  25377. "properties": {
  25378. "goodsid": {
  25379. "description": "商品ID",
  25380. "type": "integer"
  25381. }
  25382. }
  25383. },
  25384. "models.Userinfo": {
  25385. "type": "object",
  25386. "required": [
  25387. "userid"
  25388. ],
  25389. "properties": {
  25390. "address": {
  25391. "description": "地址",
  25392. "type": "string"
  25393. },
  25394. "attachment1": {
  25395. "description": "附件1",
  25396. "type": "string"
  25397. },
  25398. "attachment2": {
  25399. "description": "附件2",
  25400. "type": "string"
  25401. },
  25402. "bankaccount": {
  25403. "description": "银行帐号 (加密存储)",
  25404. "type": "string"
  25405. },
  25406. "bankaccountname": {
  25407. "description": "收款人名称",
  25408. "type": "string"
  25409. },
  25410. "bankcardfrontphotourl": {
  25411. "description": "银行卡正面照地址",
  25412. "type": "string"
  25413. },
  25414. "bankid": {
  25415. "description": "银行编码",
  25416. "type": "string"
  25417. },
  25418. "bankname": {
  25419. "description": "银行名称",
  25420. "type": "string"
  25421. },
  25422. "biznature": {
  25423. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  25424. "type": "integer"
  25425. },
  25426. "bizscope": {
  25427. "description": "企业经营范围(企业)",
  25428. "type": "string"
  25429. },
  25430. "cardbackphotourl": {
  25431. "description": "证件背面图片地址",
  25432. "type": "string"
  25433. },
  25434. "cardfrontphotourl": {
  25435. "description": "证件正面图片地址",
  25436. "type": "string"
  25437. },
  25438. "cardnum": {
  25439. "description": "证件号码(加密存储)",
  25440. "type": "string"
  25441. },
  25442. "cardtypeid": {
  25443. "description": "证件类型ID",
  25444. "type": "integer"
  25445. },
  25446. "cityid": {
  25447. "description": "市",
  25448. "type": "integer"
  25449. },
  25450. "company": {
  25451. "description": "公司(个人)",
  25452. "type": "string"
  25453. },
  25454. "contactname": {
  25455. "description": "联系人",
  25456. "type": "string"
  25457. },
  25458. "countryid": {
  25459. "description": "国家",
  25460. "type": "integer"
  25461. },
  25462. "createtime": {
  25463. "description": "创建时间",
  25464. "type": "string"
  25465. },
  25466. "creatorid": {
  25467. "description": "创建人",
  25468. "type": "integer"
  25469. },
  25470. "customername": {
  25471. "description": "客户名称(企业名称)",
  25472. "type": "string"
  25473. },
  25474. "districtid": {
  25475. "description": "地区",
  25476. "type": "integer"
  25477. },
  25478. "email": {
  25479. "description": "邮件(加密存储)",
  25480. "type": "string"
  25481. },
  25482. "fax": {
  25483. "description": "传真(加密存储)",
  25484. "type": "string"
  25485. },
  25486. "halfbodyphotourl": {
  25487. "description": "半身照地址",
  25488. "type": "string"
  25489. },
  25490. "hasencrypt": {
  25491. "description": "数据是否已加密 - 0:未加密 1:已加密",
  25492. "type": "integer"
  25493. },
  25494. "headurl": {
  25495. "description": "头像地址",
  25496. "type": "string"
  25497. },
  25498. "legalcardbackphotourl": {
  25499. "description": "法人身份证背面照地址",
  25500. "type": "string"
  25501. },
  25502. "legalcardfrontphotourl": {
  25503. "description": "法人身份证正面照地址",
  25504. "type": "string"
  25505. },
  25506. "legalpersonname": {
  25507. "description": "法人姓名(企业)",
  25508. "type": "string"
  25509. },
  25510. "mobile": {
  25511. "description": "手机号码(加密存储)",
  25512. "type": "string"
  25513. },
  25514. "mobile2": {
  25515. "description": "手机号码[明文-尚志]",
  25516. "type": "string"
  25517. },
  25518. "modifierid": {
  25519. "description": "修改人",
  25520. "type": "integer"
  25521. },
  25522. "modifiertime": {
  25523. "description": "修改时间",
  25524. "type": "string"
  25525. },
  25526. "needinvoice": {
  25527. "description": "是否需要发票 - 0:不需要 1:需要",
  25528. "type": "integer"
  25529. },
  25530. "nickname": {
  25531. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  25532. "type": "string"
  25533. },
  25534. "openmode": {
  25535. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  25536. "type": "integer"
  25537. },
  25538. "otherurl": {
  25539. "description": "其它图片地址[使用分号分隔]",
  25540. "type": "string"
  25541. },
  25542. "postalcode": {
  25543. "description": "邮政编码",
  25544. "type": "string"
  25545. },
  25546. "provinceid": {
  25547. "description": "省",
  25548. "type": "integer"
  25549. },
  25550. "qq": {
  25551. "description": "QQ(加密存储",
  25552. "type": "string"
  25553. },
  25554. "remark": {
  25555. "description": "备注",
  25556. "type": "string"
  25557. },
  25558. "sex": {
  25559. "description": "用户性别 0: 女 1: 男",
  25560. "type": "integer"
  25561. },
  25562. "signpdfurl": {
  25563. "description": "签约pdf文件",
  25564. "type": "string"
  25565. },
  25566. "telphone": {
  25567. "description": "联系电话(加密存储)",
  25568. "type": "string"
  25569. },
  25570. "userid": {
  25571. "description": "用户ID",
  25572. "type": "integer"
  25573. },
  25574. "userinfotype": {
  25575. "description": "用户信息类型 - 1:个人 2:企业",
  25576. "type": "integer"
  25577. },
  25578. "userstatus": {
  25579. "description": "用户状态 - 1:正常 2:注销",
  25580. "type": "integer"
  25581. },
  25582. "usertype": {
  25583. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  25584. "type": "integer"
  25585. },
  25586. "wechat": {
  25587. "description": "微信(加密存储)",
  25588. "type": "string"
  25589. },
  25590. "wskhinfo": {
  25591. "description": "开户申请信息(JSON)",
  25592. "type": "string"
  25593. }
  25594. }
  25595. },
  25596. "models.WRSConverTDetail": {
  25597. "type": "object",
  25598. "properties": {
  25599. "convertratio": {
  25600. "description": "套保系数",
  25601. "type": "number"
  25602. },
  25603. "deliverygoodscode": {
  25604. "description": "现货商品代码",
  25605. "type": "string"
  25606. },
  25607. "deliverygoodsid": {
  25608. "description": "现货品种ID",
  25609. "type": "integer"
  25610. },
  25611. "deliverygoodsname": {
  25612. "description": "现货商品名称",
  25613. "type": "string"
  25614. },
  25615. "enumdicname": {
  25616. "description": "单位名称",
  25617. "type": "string"
  25618. },
  25619. "goodsunitid": {
  25620. "description": "套保品种单位id",
  25621. "type": "integer"
  25622. },
  25623. "middlegoodscode": {
  25624. "description": "套保品种代码",
  25625. "type": "string"
  25626. },
  25627. "middlegoodsid": {
  25628. "description": "套保品种ID",
  25629. "type": "integer"
  25630. },
  25631. "middlegoodsname": {
  25632. "description": "套保品种名称",
  25633. "type": "string"
  25634. },
  25635. "modifytime": {
  25636. "description": "修改时间",
  25637. "type": "string"
  25638. },
  25639. "wrstandardid": {
  25640. "description": "品类ID",
  25641. "type": "integer"
  25642. }
  25643. }
  25644. },
  25645. "models.WRStandardInfo": {
  25646. "type": "object",
  25647. "required": [
  25648. "wrstandardid"
  25649. ],
  25650. "properties": {
  25651. "areauserid": {
  25652. "description": "所属机构",
  25653. "type": "integer"
  25654. },
  25655. "convertfactor": {
  25656. "description": "标仓系数",
  25657. "type": "number"
  25658. },
  25659. "createtime": {
  25660. "description": "创建时间",
  25661. "type": "string"
  25662. },
  25663. "creatorid": {
  25664. "description": "创建人",
  25665. "type": "integer"
  25666. },
  25667. "deliverygoodsid": {
  25668. "description": "品种ID",
  25669. "type": "integer"
  25670. },
  25671. "deliverygoodsname": {
  25672. "description": "交割商品名称",
  25673. "type": "string"
  25674. },
  25675. "factoryitemjson": {
  25676. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  25677. "type": "string"
  25678. },
  25679. "isvalid": {
  25680. "description": "是否有效 - 0:无效 1:有效",
  25681. "type": "integer"
  25682. },
  25683. "minivalue": {
  25684. "description": "最小变动值",
  25685. "type": "integer"
  25686. },
  25687. "minivaluedp": {
  25688. "description": "最小变动值小数位",
  25689. "type": "integer"
  25690. },
  25691. "realminivalue": {
  25692. "description": "实际最小变动值",
  25693. "type": "integer"
  25694. },
  25695. "realminivaluedp": {
  25696. "description": "实际最小变动值小数位",
  25697. "type": "integer"
  25698. },
  25699. "remark": {
  25700. "description": "备注",
  25701. "type": "string"
  25702. },
  25703. "unitid": {
  25704. "description": "单位ID",
  25705. "type": "integer"
  25706. },
  25707. "unitname": {
  25708. "description": "单位",
  25709. "type": "string"
  25710. },
  25711. "updatetime": {
  25712. "description": "更新时间",
  25713. "type": "string"
  25714. },
  25715. "updatorid": {
  25716. "description": "更新人",
  25717. "type": "integer"
  25718. },
  25719. "wrsstatus": {
  25720. "description": "状态 - 作废 - 0:未激活 1:正常",
  25721. "type": "integer"
  25722. },
  25723. "wrstandardcode": {
  25724. "description": "现货品类代码",
  25725. "type": "string"
  25726. },
  25727. "wrstandardid": {
  25728. "description": "现货品类ID(SEQ_WRSTANDARD)",
  25729. "type": "integer"
  25730. },
  25731. "wrstandardname": {
  25732. "description": "现货品类名称",
  25733. "type": "string"
  25734. }
  25735. }
  25736. },
  25737. "models.Warehouseinfo": {
  25738. "type": "object",
  25739. "required": [
  25740. "autoid",
  25741. "warehousecode"
  25742. ],
  25743. "properties": {
  25744. "address": {
  25745. "description": "详细地址",
  25746. "type": "string"
  25747. },
  25748. "areauserid": {
  25749. "description": "所属机构",
  25750. "type": "integer"
  25751. },
  25752. "autoid": {
  25753. "description": "自增ID",
  25754. "type": "integer"
  25755. },
  25756. "cityid": {
  25757. "description": "市",
  25758. "type": "integer"
  25759. },
  25760. "contactname": {
  25761. "description": "联系人",
  25762. "type": "string"
  25763. },
  25764. "contactnum": {
  25765. "description": "联系电话",
  25766. "type": "string"
  25767. },
  25768. "countryid": {
  25769. "description": "国家",
  25770. "type": "integer"
  25771. },
  25772. "createtime": {
  25773. "description": "创建时间",
  25774. "type": "string"
  25775. },
  25776. "districtid": {
  25777. "description": "区",
  25778. "type": "integer"
  25779. },
  25780. "hasvideo": {
  25781. "description": "是否有视频 - 0:无 1:有",
  25782. "type": "integer"
  25783. },
  25784. "provinceid": {
  25785. "description": "省",
  25786. "type": "integer"
  25787. },
  25788. "remark": {
  25789. "description": "审核备注",
  25790. "type": "string"
  25791. },
  25792. "videourl": {
  25793. "description": "视频地址",
  25794. "type": "string"
  25795. },
  25796. "warehousecode": {
  25797. "description": "仓库代码",
  25798. "type": "string"
  25799. },
  25800. "warehousename": {
  25801. "description": "仓库名称",
  25802. "type": "string"
  25803. },
  25804. "warehousestatus": {
  25805. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  25806. "type": "integer"
  25807. },
  25808. "warehousetype": {
  25809. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  25810. "type": "integer"
  25811. }
  25812. }
  25813. },
  25814. "order.QueryHisTradeDetailRsp": {
  25815. "type": "object",
  25816. "required": [
  25817. "accountid",
  25818. "buyorsell",
  25819. "goodsid",
  25820. "histradedate",
  25821. "marketid",
  25822. "memberuserid",
  25823. "orderid",
  25824. "tradeamount",
  25825. "tradedate",
  25826. "tradeid",
  25827. "tradeprice",
  25828. "tradeqty",
  25829. "tradetime"
  25830. ],
  25831. "properties": {
  25832. "accountid": {
  25833. "description": "账户ID[报价币种]",
  25834. "type": "integer"
  25835. },
  25836. "buildtype": {
  25837. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  25838. "type": "integer"
  25839. },
  25840. "buyorsell": {
  25841. "description": "方向 - 0:买 1:卖",
  25842. "type": "integer"
  25843. },
  25844. "charge": {
  25845. "description": "手续费",
  25846. "type": "number"
  25847. },
  25848. "closecharge": {
  25849. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  25850. "type": "number"
  25851. },
  25852. "closeexchagechargevalue": {
  25853. "description": "平仓交易所手续费设置值",
  25854. "type": "number"
  25855. },
  25856. "closefeealgorithm": {
  25857. "description": "平仓手续费收取方式 1:比率 2:固定",
  25858. "type": "integer"
  25859. },
  25860. "closememberchargevalue": {
  25861. "description": "平仓会员手续费设置值",
  25862. "type": "number"
  25863. },
  25864. "closepl": {
  25865. "description": "平仓盈亏",
  25866. "type": "number"
  25867. },
  25868. "closepl2": {
  25869. "description": "平仓盈亏[逐笔]",
  25870. "type": "number"
  25871. },
  25872. "closeqty": {
  25873. "description": "平仓数量(先建后平操作 需要记录)",
  25874. "type": "number"
  25875. },
  25876. "creditamount": {
  25877. "description": "授信金额",
  25878. "type": "number"
  25879. },
  25880. "decimalplace": {
  25881. "description": "商品报价小数位",
  25882. "type": "integer"
  25883. },
  25884. "enumdicname": {
  25885. "description": "单位名称",
  25886. "type": "string"
  25887. },
  25888. "gcaccountid": {
  25889. "description": "账户ID[合约币种]",
  25890. "type": "integer"
  25891. },
  25892. "goodscode": {
  25893. "description": "商品代码",
  25894. "type": "string"
  25895. },
  25896. "goodsid": {
  25897. "description": "商品ID",
  25898. "type": "integer"
  25899. },
  25900. "goodsname": {
  25901. "description": "商品名称",
  25902. "type": "string"
  25903. },
  25904. "goodunitid": {
  25905. "description": "商品单位id",
  25906. "type": "integer"
  25907. },
  25908. "histradedate": {
  25909. "description": "历史交易日",
  25910. "type": "string"
  25911. },
  25912. "intclosepl": {
  25913. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  25914. "type": "integer"
  25915. },
  25916. "isconfirmexercise": {
  25917. "description": "是否确认行权- 0:否 1:是",
  25918. "type": "integer"
  25919. },
  25920. "ismain": {
  25921. "description": "是否主单 - 0:不是 1:是",
  25922. "type": "integer"
  25923. },
  25924. "ispreexercise": {
  25925. "description": "是否预申报- 0:否 1:是",
  25926. "type": "integer"
  25927. },
  25928. "isreckoned": {
  25929. "description": "是否结算 - 0:未结算 1:已结算",
  25930. "type": "integer"
  25931. },
  25932. "isvaliddata": {
  25933. "description": "是否有效 - 0:无效 1:有效",
  25934. "type": "integer"
  25935. },
  25936. "listingselecttype": {
  25937. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  25938. "type": "integer"
  25939. },
  25940. "marketid": {
  25941. "description": "市场ID",
  25942. "type": "integer"
  25943. },
  25944. "marketname": {
  25945. "description": "市场名称",
  25946. "type": "string"
  25947. },
  25948. "matchaccountid": {
  25949. "description": "对手账号id",
  25950. "type": "integer"
  25951. },
  25952. "memberuserid": {
  25953. "description": "会员id 个人投资者 需要填写",
  25954. "type": "integer"
  25955. },
  25956. "opencharge": {
  25957. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  25958. "type": "number"
  25959. },
  25960. "openexchagechargevalue": {
  25961. "description": "建仓交易所手续费设置值",
  25962. "type": "number"
  25963. },
  25964. "openfeealgorithm": {
  25965. "description": "建仓手续费收取方式 1:比率 2:固定",
  25966. "type": "integer"
  25967. },
  25968. "openmemberchargevalue": {
  25969. "description": "建仓会员手续费设置值",
  25970. "type": "number"
  25971. },
  25972. "openqty": {
  25973. "description": "开仓数量(先建后平操作 需要记录)",
  25974. "type": "number"
  25975. },
  25976. "optiontype": {
  25977. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  25978. "type": "integer"
  25979. },
  25980. "orderid": {
  25981. "description": "委托单号",
  25982. "type": "string"
  25983. },
  25984. "performanceplanid": {
  25985. "description": "履约计划ID[期权]",
  25986. "type": "integer"
  25987. },
  25988. "performancestatus": {
  25989. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  25990. "type": "integer"
  25991. },
  25992. "preexerciseprice": {
  25993. "description": "预申报价格",
  25994. "type": "number"
  25995. },
  25996. "premium": {
  25997. "description": "权利金 - [持仓单的权利金]",
  25998. "type": "number"
  25999. },
  26000. "qtydecimalplace": {
  26001. "description": "商品报价小数位",
  26002. "type": "integer"
  26003. },
  26004. "relatedouttradeid": {
  26005. "description": "关联外部成交单ID",
  26006. "type": "integer"
  26007. },
  26008. "status": {
  26009. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  26010. "type": "integer"
  26011. },
  26012. "tradeamount": {
  26013. "description": "成交金额[账户币种,用于所有权]",
  26014. "type": "number"
  26015. },
  26016. "tradedate": {
  26017. "description": "交易日(yyyyMMdd)",
  26018. "type": "string"
  26019. },
  26020. "tradeid": {
  26021. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26022. "type": "string"
  26023. },
  26024. "trademode": {
  26025. "description": "交易模式",
  26026. "type": "integer"
  26027. },
  26028. "tradeprice": {
  26029. "description": "成交价格",
  26030. "type": "number"
  26031. },
  26032. "tradeproperty": {
  26033. "description": "交易属性",
  26034. "type": "integer"
  26035. },
  26036. "tradeqty": {
  26037. "description": "成交数量",
  26038. "type": "number"
  26039. },
  26040. "tradetime": {
  26041. "description": "成交时间",
  26042. "type": "string"
  26043. },
  26044. "tradetype": {
  26045. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  26046. "type": "integer"
  26047. }
  26048. }
  26049. },
  26050. "order.QueryHisTradeOrderDetailRsp": {
  26051. "type": "object",
  26052. "required": [
  26053. "accountid",
  26054. "buildtype",
  26055. "buyorsell",
  26056. "goodsid",
  26057. "histradedate",
  26058. "marketid",
  26059. "memberuserid",
  26060. "operatetype",
  26061. "orderid",
  26062. "orderqty",
  26063. "ordertime",
  26064. "pricemode",
  26065. "tradedate",
  26066. "validtype"
  26067. ],
  26068. "properties": {
  26069. "accountid": {
  26070. "description": "账户ID[报价币种]",
  26071. "type": "integer"
  26072. },
  26073. "buildtype": {
  26074. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  26075. "type": "integer"
  26076. },
  26077. "buyorsell": {
  26078. "description": "买卖 - 0:买 1:卖",
  26079. "type": "integer"
  26080. },
  26081. "cancelorderid": {
  26082. "description": "撤单单号(撤单时填写)",
  26083. "type": "string"
  26084. },
  26085. "cancelqty": {
  26086. "description": "撤单数量",
  26087. "type": "number"
  26088. },
  26089. "clientordertime": {
  26090. "description": "客户端委托时间",
  26091. "type": "string"
  26092. },
  26093. "clientticket": {
  26094. "description": "客户端流水号",
  26095. "type": "string"
  26096. },
  26097. "clienttype": {
  26098. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26099. "type": "integer"
  26100. },
  26101. "closeexchagechargevalue": {
  26102. "description": "平仓交易所手续费设置值",
  26103. "type": "number"
  26104. },
  26105. "closefeealgorithm": {
  26106. "description": "平仓手续费收取方式 1:比率 2:固定",
  26107. "type": "integer"
  26108. },
  26109. "closefreezecharge": {
  26110. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  26111. "type": "number"
  26112. },
  26113. "closememberchargevalue": {
  26114. "description": "平仓会员手续费设置值",
  26115. "type": "number"
  26116. },
  26117. "closeqty": {
  26118. "description": "平仓数量(先建后平操作 需要记录)",
  26119. "type": "number"
  26120. },
  26121. "closetradeqty": {
  26122. "description": "平仓成交数量(先建后平操作,需要记录)",
  26123. "type": "number"
  26124. },
  26125. "closeunfreezecharge": {
  26126. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  26127. "type": "number"
  26128. },
  26129. "decimalplace": {
  26130. "description": "商品报价小数位",
  26131. "type": "integer"
  26132. },
  26133. "delistingtype": {
  26134. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  26135. "type": "integer"
  26136. },
  26137. "enumdicname": {
  26138. "description": "单位名称",
  26139. "type": "string"
  26140. },
  26141. "freezecharge": {
  26142. "description": "冻结手续费",
  26143. "type": "number"
  26144. },
  26145. "freezemargin": {
  26146. "description": "冻结保证金(冻结交易金额)",
  26147. "type": "number"
  26148. },
  26149. "gcaccountid": {
  26150. "description": "账户ID[合约币种]",
  26151. "type": "integer"
  26152. },
  26153. "goodscode": {
  26154. "description": "商品代码",
  26155. "type": "string"
  26156. },
  26157. "goodsid": {
  26158. "description": "商品ID",
  26159. "type": "integer"
  26160. },
  26161. "goodsname": {
  26162. "description": "商品名称",
  26163. "type": "string"
  26164. },
  26165. "goodunitid": {
  26166. "description": "商品单位id",
  26167. "type": "integer"
  26168. },
  26169. "histradedate": {
  26170. "description": "历史交易日",
  26171. "type": "string"
  26172. },
  26173. "isconfirmexercise": {
  26174. "description": "是否确认行权- 0:否 1:是",
  26175. "type": "integer"
  26176. },
  26177. "ispreexercise": {
  26178. "description": "是否预申报- 0:否 1:是",
  26179. "type": "integer"
  26180. },
  26181. "isvaliddata": {
  26182. "description": "是否有效 - 0:无效 1:有效",
  26183. "type": "integer"
  26184. },
  26185. "listingselecttype": {
  26186. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26187. "type": "integer"
  26188. },
  26189. "marginalgorithm": {
  26190. "description": "保证金收取方式 1:比率 2:固定",
  26191. "type": "integer"
  26192. },
  26193. "marginvalue": {
  26194. "description": "即市保证金设置值",
  26195. "type": "number"
  26196. },
  26197. "marketid": {
  26198. "description": "市场ID",
  26199. "type": "integer"
  26200. },
  26201. "marketmaxsub": {
  26202. "description": "市价最大偏移范围",
  26203. "type": "number"
  26204. },
  26205. "marketname": {
  26206. "description": "市场名称",
  26207. "type": "string"
  26208. },
  26209. "memberuserid": {
  26210. "description": "所属会员UserID",
  26211. "type": "integer"
  26212. },
  26213. "openexchagechargevalue": {
  26214. "description": "建仓交易所手续费设置值",
  26215. "type": "number"
  26216. },
  26217. "openfeealgorithm": {
  26218. "description": "建仓手续费收取方式 1:比率 2:固定",
  26219. "type": "integer"
  26220. },
  26221. "openfreezecharge": {
  26222. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  26223. "type": "number"
  26224. },
  26225. "openmemberchargevalue": {
  26226. "description": "建仓会员手续费设置值",
  26227. "type": "number"
  26228. },
  26229. "openqty": {
  26230. "description": "开仓数量(先建后平操作,需要记录)",
  26231. "type": "number"
  26232. },
  26233. "opentradeqty": {
  26234. "description": "开仓成交数量(先建后平操作,需要记录)",
  26235. "type": "number"
  26236. },
  26237. "openunfreezecharge": {
  26238. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  26239. "type": "number"
  26240. },
  26241. "operatetype": {
  26242. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  26243. "type": "integer"
  26244. },
  26245. "operatorid": {
  26246. "description": "登录账号(LoginID)",
  26247. "type": "integer"
  26248. },
  26249. "optiontype": {
  26250. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  26251. "type": "integer"
  26252. },
  26253. "orderid": {
  26254. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26255. "type": "string"
  26256. },
  26257. "orderprice": {
  26258. "description": "委托价格",
  26259. "type": "number"
  26260. },
  26261. "orderqty": {
  26262. "description": "委托数量",
  26263. "type": "number"
  26264. },
  26265. "ordersrc": {
  26266. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  26267. "type": "integer"
  26268. },
  26269. "orderstatus": {
  26270. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26271. "type": "integer"
  26272. },
  26273. "ordertime": {
  26274. "description": "委托时间",
  26275. "type": "string"
  26276. },
  26277. "preexerciseprice": {
  26278. "description": "预申报价格",
  26279. "type": "number"
  26280. },
  26281. "premium": {
  26282. "description": "权利金",
  26283. "type": "number"
  26284. },
  26285. "preorderid": {
  26286. "description": "关联预埋单号(止盈止损单时填写)",
  26287. "type": "string"
  26288. },
  26289. "pricemode": {
  26290. "description": "取价方式 - 1:市价 2: 限价",
  26291. "type": "integer"
  26292. },
  26293. "qtydecimalplace": {
  26294. "description": "成交量小数位",
  26295. "type": "integer"
  26296. },
  26297. "quoteid": {
  26298. "description": "报价单ID",
  26299. "type": "integer"
  26300. },
  26301. "relatedid": {
  26302. "description": "关联单号(交割单)",
  26303. "type": "string"
  26304. },
  26305. "retcode": {
  26306. "description": "错误代码",
  26307. "type": "integer"
  26308. },
  26309. "sessionid": {
  26310. "description": "会话ID",
  26311. "type": "integer"
  26312. },
  26313. "tradedate": {
  26314. "description": "交易日(yyyyMMdd)",
  26315. "type": "string"
  26316. },
  26317. "trademode": {
  26318. "description": "交易模式",
  26319. "type": "integer"
  26320. },
  26321. "tradeproperty": {
  26322. "description": "交易属性",
  26323. "type": "integer"
  26324. },
  26325. "tradeqty": {
  26326. "description": "成交数量",
  26327. "type": "number"
  26328. },
  26329. "unfreezecharge": {
  26330. "description": "解冻手续费",
  26331. "type": "number"
  26332. },
  26333. "unfreezemargin": {
  26334. "description": "解冻保证金",
  26335. "type": "number"
  26336. },
  26337. "updatetime": {
  26338. "description": "更新时间",
  26339. "type": "string"
  26340. },
  26341. "uuid": {
  26342. "description": "发起端唯一id",
  26343. "type": "string"
  26344. },
  26345. "validtime": {
  26346. "description": "有效期限",
  26347. "type": "string"
  26348. },
  26349. "validtype": {
  26350. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  26351. "type": "integer"
  26352. },
  26353. "volumetype": {
  26354. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  26355. "type": "integer"
  26356. }
  26357. }
  26358. },
  26359. "order.QueryTradeDetailRsp": {
  26360. "type": "object",
  26361. "required": [
  26362. "accountid",
  26363. "buyorsell",
  26364. "goodsid",
  26365. "marketid",
  26366. "memberuserid",
  26367. "orderid",
  26368. "tradeamount",
  26369. "tradedate",
  26370. "tradeid",
  26371. "tradeprice",
  26372. "tradeqty",
  26373. "tradetime"
  26374. ],
  26375. "properties": {
  26376. "accountid": {
  26377. "description": "账户ID[报价币种]",
  26378. "type": "integer"
  26379. },
  26380. "buildtype": {
  26381. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  26382. "type": "integer"
  26383. },
  26384. "buyorsell": {
  26385. "description": "方向 - 0:买 1:卖",
  26386. "type": "integer"
  26387. },
  26388. "charge": {
  26389. "description": "手续费",
  26390. "type": "number"
  26391. },
  26392. "closecharge": {
  26393. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26394. "type": "number"
  26395. },
  26396. "closeexchagechargevalue": {
  26397. "description": "平仓交易所手续费设置值",
  26398. "type": "number"
  26399. },
  26400. "closefeealgorithm": {
  26401. "description": "平仓手续费收取方式 1:比率 2:固定",
  26402. "type": "integer"
  26403. },
  26404. "closememberchargevalue": {
  26405. "description": "平仓会员手续费设置值",
  26406. "type": "number"
  26407. },
  26408. "closepl": {
  26409. "description": "平仓盈亏",
  26410. "type": "number"
  26411. },
  26412. "closepl2": {
  26413. "description": "平仓盈亏[逐笔]",
  26414. "type": "number"
  26415. },
  26416. "closeqty": {
  26417. "description": "平仓数量(先建后平操作 需要记录)",
  26418. "type": "number"
  26419. },
  26420. "creditamount": {
  26421. "description": "授信金额",
  26422. "type": "number"
  26423. },
  26424. "decimalplace": {
  26425. "description": "商品报价小数位",
  26426. "type": "integer"
  26427. },
  26428. "enumdicname": {
  26429. "description": "单位名称",
  26430. "type": "string"
  26431. },
  26432. "gcaccountid": {
  26433. "description": "账户ID[合约币种]",
  26434. "type": "integer"
  26435. },
  26436. "goodscode": {
  26437. "description": "商品代码",
  26438. "type": "string"
  26439. },
  26440. "goodsid": {
  26441. "description": "商品ID",
  26442. "type": "integer"
  26443. },
  26444. "goodsname": {
  26445. "description": "商品名称",
  26446. "type": "string"
  26447. },
  26448. "goodunitid": {
  26449. "description": "商品单位id",
  26450. "type": "integer"
  26451. },
  26452. "intclosepl": {
  26453. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  26454. "type": "integer"
  26455. },
  26456. "isconfirmexercise": {
  26457. "description": "是否确认行权- 0:否 1:是",
  26458. "type": "integer"
  26459. },
  26460. "ismain": {
  26461. "description": "是否主单 - 0:不是 1:是",
  26462. "type": "integer"
  26463. },
  26464. "ispreexercise": {
  26465. "description": "是否预申报- 0:否 1:是",
  26466. "type": "integer"
  26467. },
  26468. "isreckoned": {
  26469. "description": "是否结算 - 0:未结算 1:已结算",
  26470. "type": "integer"
  26471. },
  26472. "listingselecttype": {
  26473. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26474. "type": "integer"
  26475. },
  26476. "marketid": {
  26477. "description": "市场ID",
  26478. "type": "integer"
  26479. },
  26480. "marketname": {
  26481. "description": "市场名称",
  26482. "type": "string"
  26483. },
  26484. "matchaccountid": {
  26485. "description": "对手账号id",
  26486. "type": "integer"
  26487. },
  26488. "memberuserid": {
  26489. "description": "会员id 个人投资者 需要填写",
  26490. "type": "integer"
  26491. },
  26492. "opencharge": {
  26493. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26494. "type": "number"
  26495. },
  26496. "openexchagechargevalue": {
  26497. "description": "建仓交易所手续费设置值",
  26498. "type": "number"
  26499. },
  26500. "openfeealgorithm": {
  26501. "description": "建仓手续费收取方式 1:比率 2:固定",
  26502. "type": "integer"
  26503. },
  26504. "openmemberchargevalue": {
  26505. "description": "建仓会员手续费设置值",
  26506. "type": "number"
  26507. },
  26508. "openqty": {
  26509. "description": "开仓数量(先建后平操作 需要记录)",
  26510. "type": "number"
  26511. },
  26512. "optiontype": {
  26513. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  26514. "type": "integer"
  26515. },
  26516. "orderid": {
  26517. "description": "委托单号",
  26518. "type": "string"
  26519. },
  26520. "performanceplanid": {
  26521. "description": "履约计划ID[期权]",
  26522. "type": "integer"
  26523. },
  26524. "performancestatus": {
  26525. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  26526. "type": "integer"
  26527. },
  26528. "preexerciseprice": {
  26529. "description": "预申报价格",
  26530. "type": "number"
  26531. },
  26532. "premium": {
  26533. "description": "权利金 - [持仓单的权利金]",
  26534. "type": "number"
  26535. },
  26536. "qtydecimalplace": {
  26537. "description": "商品报价小数位",
  26538. "type": "integer"
  26539. },
  26540. "relatedouttradeid": {
  26541. "description": "关联外部成交单ID",
  26542. "type": "integer"
  26543. },
  26544. "status": {
  26545. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  26546. "type": "integer"
  26547. },
  26548. "tradeamount": {
  26549. "description": "成交金额[账户币种,用于所有权]",
  26550. "type": "number"
  26551. },
  26552. "tradedate": {
  26553. "description": "交易日(yyyyMMdd)",
  26554. "type": "string"
  26555. },
  26556. "tradeid": {
  26557. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26558. "type": "string"
  26559. },
  26560. "trademode": {
  26561. "description": "交易模式",
  26562. "type": "integer"
  26563. },
  26564. "tradeprice": {
  26565. "description": "成交价格",
  26566. "type": "number"
  26567. },
  26568. "tradeproperty": {
  26569. "description": "交易属性",
  26570. "type": "integer"
  26571. },
  26572. "tradeqty": {
  26573. "description": "成交数量",
  26574. "type": "number"
  26575. },
  26576. "tradetime": {
  26577. "description": "成交时间",
  26578. "type": "string"
  26579. },
  26580. "tradetype": {
  26581. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  26582. "type": "integer"
  26583. }
  26584. }
  26585. },
  26586. "order.QueryTradeOrderDetailRsp": {
  26587. "type": "object",
  26588. "required": [
  26589. "accountid",
  26590. "buildtype",
  26591. "buyorsell",
  26592. "goodsid",
  26593. "marketid",
  26594. "operatetype",
  26595. "orderqty",
  26596. "ordertime",
  26597. "pricemode",
  26598. "tradedate",
  26599. "validtype"
  26600. ],
  26601. "properties": {
  26602. "accountid": {
  26603. "description": "账户ID[报价币种]",
  26604. "type": "integer"
  26605. },
  26606. "buildtype": {
  26607. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  26608. "type": "integer"
  26609. },
  26610. "buyorsell": {
  26611. "description": "买卖 - 0:买 1:卖",
  26612. "type": "integer"
  26613. },
  26614. "cancelorderid": {
  26615. "description": "撤单单号(撤单时填写)",
  26616. "type": "string"
  26617. },
  26618. "cancelqty": {
  26619. "description": "撤单数量",
  26620. "type": "number"
  26621. },
  26622. "clienttype": {
  26623. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26624. "type": "integer"
  26625. },
  26626. "closefreezecharge": {
  26627. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  26628. "type": "number"
  26629. },
  26630. "closeqty": {
  26631. "description": "平仓数量(先建后平操作 需要记录)",
  26632. "type": "number"
  26633. },
  26634. "closetradeqty": {
  26635. "description": "平仓成交数量(先建后平操作,需要记录)",
  26636. "type": "number"
  26637. },
  26638. "closeunfreezecharge": {
  26639. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  26640. "type": "number"
  26641. },
  26642. "decimalplace": {
  26643. "description": "商品报价小数位",
  26644. "type": "integer"
  26645. },
  26646. "delistingtype": {
  26647. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  26648. "type": "integer"
  26649. },
  26650. "enableqty": {
  26651. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  26652. "type": "number"
  26653. },
  26654. "enumdicname": {
  26655. "description": "单位名称",
  26656. "type": "string"
  26657. },
  26658. "freezecharge": {
  26659. "description": "冻结手续费",
  26660. "type": "number"
  26661. },
  26662. "freezemargin": {
  26663. "description": "冻结保证金(冻结交易金额)",
  26664. "type": "number"
  26665. },
  26666. "goodscode": {
  26667. "description": "商品代码",
  26668. "type": "string"
  26669. },
  26670. "goodsid": {
  26671. "description": "商品ID",
  26672. "type": "integer"
  26673. },
  26674. "goodsname": {
  26675. "description": "商品名称",
  26676. "type": "string"
  26677. },
  26678. "goodunitid": {
  26679. "description": "商品单位id",
  26680. "type": "integer"
  26681. },
  26682. "listingselecttype": {
  26683. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26684. "type": "integer"
  26685. },
  26686. "marketid": {
  26687. "description": "市场ID",
  26688. "type": "integer"
  26689. },
  26690. "marketname": {
  26691. "description": "市场名称",
  26692. "type": "string"
  26693. },
  26694. "openfreezecharge": {
  26695. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  26696. "type": "number"
  26697. },
  26698. "openqty": {
  26699. "description": "开仓数量(先建后平操作,需要记录)",
  26700. "type": "number"
  26701. },
  26702. "opentradeqty": {
  26703. "description": "开仓成交数量(先建后平操作,需要记录)",
  26704. "type": "number"
  26705. },
  26706. "openunfreezecharge": {
  26707. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  26708. "type": "number"
  26709. },
  26710. "operatetype": {
  26711. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  26712. "type": "integer"
  26713. },
  26714. "operatorid": {
  26715. "description": "登录账号(LoginID)",
  26716. "type": "integer"
  26717. },
  26718. "orderid": {
  26719. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26720. "type": "string"
  26721. },
  26722. "orderprice": {
  26723. "description": "委托价格",
  26724. "type": "number"
  26725. },
  26726. "orderqty": {
  26727. "description": "委托数量",
  26728. "type": "number"
  26729. },
  26730. "ordersrc": {
  26731. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  26732. "type": "integer"
  26733. },
  26734. "orderstatus": {
  26735. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26736. "type": "integer"
  26737. },
  26738. "ordertime": {
  26739. "description": "委托时间",
  26740. "type": "string"
  26741. },
  26742. "preorderid": {
  26743. "description": "关联预埋单号(止盈止损单时填写)",
  26744. "type": "string"
  26745. },
  26746. "pricemode": {
  26747. "description": "取价方式 - 1:市价 2: 限价",
  26748. "type": "integer"
  26749. },
  26750. "qtydecimalplace": {
  26751. "description": "商品报价小数位",
  26752. "type": "integer"
  26753. },
  26754. "relatedid": {
  26755. "description": "关联单号(交割单)",
  26756. "type": "string"
  26757. },
  26758. "tradedate": {
  26759. "description": "交易日(yyyyMMdd)",
  26760. "type": "string"
  26761. },
  26762. "trademode": {
  26763. "description": "交易模式",
  26764. "type": "integer"
  26765. },
  26766. "tradeqty": {
  26767. "description": "成交数量",
  26768. "type": "number"
  26769. },
  26770. "unfreezecharge": {
  26771. "description": "解冻手续费",
  26772. "type": "number"
  26773. },
  26774. "unfreezemargin": {
  26775. "description": "解冻保证金",
  26776. "type": "number"
  26777. },
  26778. "validtime": {
  26779. "description": "有效期限",
  26780. "type": "string"
  26781. },
  26782. "validtype": {
  26783. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  26784. "type": "integer"
  26785. },
  26786. "volumetype": {
  26787. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  26788. "type": "integer"
  26789. }
  26790. }
  26791. },
  26792. "order.QueryTradePositionRsp": {
  26793. "type": "object",
  26794. "required": [
  26795. "goodsid"
  26796. ],
  26797. "properties": {
  26798. "accountid": {
  26799. "description": "资金账户",
  26800. "type": "integer"
  26801. },
  26802. "agreeunit": {
  26803. "description": "合约单位",
  26804. "type": "number"
  26805. },
  26806. "averageprice": {
  26807. "description": "持仓均价",
  26808. "type": "number"
  26809. },
  26810. "buyorsell": {
  26811. "description": "方向 - 0:买 1:卖",
  26812. "type": "integer"
  26813. },
  26814. "closetotalqty": {
  26815. "description": "平仓总数量",
  26816. "type": "number"
  26817. },
  26818. "curholderamount": {
  26819. "description": "当前持仓总金额[商品币种]",
  26820. "type": "number"
  26821. },
  26822. "curpositionqty": {
  26823. "description": "当前持仓总数量",
  26824. "type": "number"
  26825. },
  26826. "currencyid": {
  26827. "description": "报价货币ID",
  26828. "type": "integer"
  26829. },
  26830. "curtdposition": {
  26831. "description": "期末今日头寸",
  26832. "type": "number"
  26833. },
  26834. "decimalplace": {
  26835. "description": "报价小数位",
  26836. "type": "integer"
  26837. },
  26838. "enableqty": {
  26839. "description": "可用量",
  26840. "type": "number"
  26841. },
  26842. "fretdposition": {
  26843. "description": "冻结今日头寸",
  26844. "type": "number"
  26845. },
  26846. "frozenqty": {
  26847. "description": "持仓冻结数量",
  26848. "type": "number"
  26849. },
  26850. "goodscode": {
  26851. "description": "商品代码",
  26852. "type": "string"
  26853. },
  26854. "goodsid": {
  26855. "description": "商品Id",
  26856. "type": "integer"
  26857. },
  26858. "goodsname": {
  26859. "description": "商品名称",
  26860. "type": "string"
  26861. },
  26862. "goodunit": {
  26863. "description": "报价单位",
  26864. "type": "string"
  26865. },
  26866. "goodunitid": {
  26867. "description": "报价单位ID",
  26868. "type": "integer"
  26869. },
  26870. "holderamount": {
  26871. "description": "期初持仓总金额[商品币种]",
  26872. "type": "number"
  26873. },
  26874. "marketid": {
  26875. "description": "所属市场ID",
  26876. "type": "integer"
  26877. },
  26878. "openreqqty": {
  26879. "description": "开仓申请数量(用于比较最大持仓数量)",
  26880. "type": "number"
  26881. },
  26882. "opentotalqty": {
  26883. "description": "开仓总数量",
  26884. "type": "number"
  26885. },
  26886. "otherfrozenqty": {
  26887. "description": "持仓其他冻结数量(交割冻结)",
  26888. "type": "number"
  26889. },
  26890. "positionqty": {
  26891. "description": "期初持仓数量",
  26892. "type": "number"
  26893. },
  26894. "qtydecimalplace": {
  26895. "description": "成交量小数位",
  26896. "type": "integer"
  26897. },
  26898. "tnqty": {
  26899. "description": "T+N冻结总量",
  26900. "type": "number"
  26901. },
  26902. "tnusedqty": {
  26903. "description": "T+N使用量(可以使用T+N的冻结数量)",
  26904. "type": "number"
  26905. },
  26906. "trademode": {
  26907. "description": "交易模式",
  26908. "type": "integer"
  26909. },
  26910. "usedmargin": {
  26911. "description": "占用保证金[商品币种]",
  26912. "type": "number"
  26913. }
  26914. }
  26915. },
  26916. "quote.HistoryData": {
  26917. "type": "object",
  26918. "properties": {
  26919. "c": {
  26920. "description": "收盘价",
  26921. "type": "number"
  26922. },
  26923. "f": {
  26924. "description": "是否补充数据",
  26925. "type": "boolean"
  26926. },
  26927. "h": {
  26928. "description": "最高价",
  26929. "type": "number"
  26930. },
  26931. "hv": {
  26932. "description": "持仓量",
  26933. "type": "integer"
  26934. },
  26935. "l": {
  26936. "description": "最低价",
  26937. "type": "number"
  26938. },
  26939. "o": {
  26940. "description": "开盘价",
  26941. "type": "number"
  26942. },
  26943. "s": {
  26944. "description": "结算价,日线周期(包括)以上才有",
  26945. "type": "number"
  26946. },
  26947. "ts": {
  26948. "description": "时间",
  26949. "type": "string"
  26950. },
  26951. "tt": {
  26952. "description": "总金额",
  26953. "type": "number"
  26954. },
  26955. "tv": {
  26956. "description": "总量",
  26957. "type": "integer"
  26958. }
  26959. }
  26960. },
  26961. "quote.HistoryTikData": {
  26962. "type": "object",
  26963. "properties": {
  26964. "AV": {
  26965. "description": "卖量",
  26966. "type": "integer"
  26967. },
  26968. "Ask": {
  26969. "description": "卖价",
  26970. "type": "number"
  26971. },
  26972. "BV": {
  26973. "description": "买量",
  26974. "type": "integer"
  26975. },
  26976. "Bid": {
  26977. "description": "买价",
  26978. "type": "number"
  26979. },
  26980. "HI": {
  26981. "description": "单笔持仓",
  26982. "type": "integer"
  26983. },
  26984. "HV": {
  26985. "description": "持仓量",
  26986. "type": "integer"
  26987. },
  26988. "PE": {
  26989. "description": "现价",
  26990. "type": "number"
  26991. },
  26992. "TDR": {
  26993. "description": "交易方向,0:买 1:卖",
  26994. "type": "integer"
  26995. },
  26996. "TK": {
  26997. "description": "交易类型",
  26998. "type": "integer"
  26999. },
  27000. "TS": {
  27001. "description": "行情时间文本",
  27002. "type": "string"
  27003. },
  27004. "TT": {
  27005. "description": "现金额",
  27006. "type": "number"
  27007. },
  27008. "Vol": {
  27009. "description": "现量",
  27010. "type": "integer"
  27011. }
  27012. }
  27013. },
  27014. "quote.QueryQuoteDayRsp": {
  27015. "type": "object",
  27016. "properties": {
  27017. "ask": {
  27018. "description": "卖1",
  27019. "type": "number"
  27020. },
  27021. "ask10": {
  27022. "description": "卖10",
  27023. "type": "number"
  27024. },
  27025. "ask2": {
  27026. "description": "卖2",
  27027. "type": "number"
  27028. },
  27029. "ask3": {
  27030. "description": "卖3",
  27031. "type": "number"
  27032. },
  27033. "ask4": {
  27034. "description": "卖4",
  27035. "type": "number"
  27036. },
  27037. "ask5": {
  27038. "description": "卖5",
  27039. "type": "number"
  27040. },
  27041. "ask6": {
  27042. "description": "卖6",
  27043. "type": "number"
  27044. },
  27045. "ask7": {
  27046. "description": "卖7",
  27047. "type": "number"
  27048. },
  27049. "ask8": {
  27050. "description": "卖8",
  27051. "type": "number"
  27052. },
  27053. "ask9": {
  27054. "description": "卖9",
  27055. "type": "number"
  27056. },
  27057. "askorderid": {
  27058. "description": "卖单号1",
  27059. "type": "integer"
  27060. },
  27061. "askorderid2": {
  27062. "description": "卖单号2",
  27063. "type": "integer"
  27064. },
  27065. "askorderid3": {
  27066. "description": "卖单号3",
  27067. "type": "integer"
  27068. },
  27069. "askorderid4": {
  27070. "description": "卖单号4",
  27071. "type": "integer"
  27072. },
  27073. "askorderid5": {
  27074. "description": "卖单号5",
  27075. "type": "integer"
  27076. },
  27077. "askordervolume": {
  27078. "description": "卖单量1",
  27079. "type": "integer"
  27080. },
  27081. "askordervolume10": {
  27082. "description": "卖单量10",
  27083. "type": "integer"
  27084. },
  27085. "askordervolume2": {
  27086. "description": "卖单量2",
  27087. "type": "integer"
  27088. },
  27089. "askordervolume3": {
  27090. "description": "卖单量3",
  27091. "type": "integer"
  27092. },
  27093. "askordervolume4": {
  27094. "description": "卖单量4",
  27095. "type": "integer"
  27096. },
  27097. "askordervolume5": {
  27098. "description": "卖单量5",
  27099. "type": "integer"
  27100. },
  27101. "askordervolume6": {
  27102. "description": "卖单量6",
  27103. "type": "integer"
  27104. },
  27105. "askordervolume7": {
  27106. "description": "卖单量7",
  27107. "type": "integer"
  27108. },
  27109. "askordervolume8": {
  27110. "description": "卖单量8",
  27111. "type": "integer"
  27112. },
  27113. "askordervolume9": {
  27114. "description": "卖单量9",
  27115. "type": "integer"
  27116. },
  27117. "askqueueinfo": {
  27118. "description": "大利市卖港股用",
  27119. "type": "string"
  27120. },
  27121. "askvolume": {
  27122. "description": "卖量1",
  27123. "type": "integer"
  27124. },
  27125. "askvolume10": {
  27126. "description": "卖量10",
  27127. "type": "integer"
  27128. },
  27129. "askvolume2": {
  27130. "description": "卖量2",
  27131. "type": "integer"
  27132. },
  27133. "askvolume3": {
  27134. "description": "卖量3",
  27135. "type": "integer"
  27136. },
  27137. "askvolume4": {
  27138. "description": "卖量4",
  27139. "type": "integer"
  27140. },
  27141. "askvolume5": {
  27142. "description": "卖量5",
  27143. "type": "integer"
  27144. },
  27145. "askvolume6": {
  27146. "description": "卖量6",
  27147. "type": "integer"
  27148. },
  27149. "askvolume7": {
  27150. "description": "卖量7",
  27151. "type": "integer"
  27152. },
  27153. "askvolume8": {
  27154. "description": "卖量8",
  27155. "type": "integer"
  27156. },
  27157. "askvolume9": {
  27158. "description": "卖量9",
  27159. "type": "integer"
  27160. },
  27161. "averageprice": {
  27162. "description": "均价",
  27163. "type": "number"
  27164. },
  27165. "bid": {
  27166. "description": "买1",
  27167. "type": "number"
  27168. },
  27169. "bid10": {
  27170. "description": "买10",
  27171. "type": "number"
  27172. },
  27173. "bid2": {
  27174. "description": "买2",
  27175. "type": "number"
  27176. },
  27177. "bid3": {
  27178. "description": "买3",
  27179. "type": "number"
  27180. },
  27181. "bid4": {
  27182. "description": "买4",
  27183. "type": "number"
  27184. },
  27185. "bid5": {
  27186. "description": "买5",
  27187. "type": "number"
  27188. },
  27189. "bid6": {
  27190. "description": "买6",
  27191. "type": "number"
  27192. },
  27193. "bid7": {
  27194. "description": "买7",
  27195. "type": "number"
  27196. },
  27197. "bid8": {
  27198. "description": "买8",
  27199. "type": "number"
  27200. },
  27201. "bid9": {
  27202. "description": "买9",
  27203. "type": "number"
  27204. },
  27205. "bidorderid": {
  27206. "description": "买单号1",
  27207. "type": "integer"
  27208. },
  27209. "bidorderid2": {
  27210. "description": "买单号2",
  27211. "type": "integer"
  27212. },
  27213. "bidorderid3": {
  27214. "description": "买单号3",
  27215. "type": "integer"
  27216. },
  27217. "bidorderid4": {
  27218. "description": "买单号4",
  27219. "type": "integer"
  27220. },
  27221. "bidorderid5": {
  27222. "description": "买单号5",
  27223. "type": "integer"
  27224. },
  27225. "bidordervolume": {
  27226. "description": "买单量1",
  27227. "type": "integer"
  27228. },
  27229. "bidordervolume10": {
  27230. "description": "买单量10",
  27231. "type": "integer"
  27232. },
  27233. "bidordervolume2": {
  27234. "description": "买单量2",
  27235. "type": "integer"
  27236. },
  27237. "bidordervolume3": {
  27238. "description": "买单量3",
  27239. "type": "integer"
  27240. },
  27241. "bidordervolume4": {
  27242. "description": "买单量4",
  27243. "type": "integer"
  27244. },
  27245. "bidordervolume5": {
  27246. "description": "买单量5",
  27247. "type": "integer"
  27248. },
  27249. "bidordervolume6": {
  27250. "description": "买单量6",
  27251. "type": "integer"
  27252. },
  27253. "bidordervolume7": {
  27254. "description": "买单量7",
  27255. "type": "integer"
  27256. },
  27257. "bidordervolume8": {
  27258. "description": "买单量8",
  27259. "type": "integer"
  27260. },
  27261. "bidordervolume9": {
  27262. "description": "买单量9",
  27263. "type": "integer"
  27264. },
  27265. "bidqueueinfo": {
  27266. "description": "大利市买港股用",
  27267. "type": "string"
  27268. },
  27269. "bidvolume": {
  27270. "description": "买量1",
  27271. "type": "integer"
  27272. },
  27273. "bidvolume10": {
  27274. "description": "买量10",
  27275. "type": "integer"
  27276. },
  27277. "bidvolume2": {
  27278. "description": "买量2",
  27279. "type": "integer"
  27280. },
  27281. "bidvolume3": {
  27282. "description": "买量3",
  27283. "type": "integer"
  27284. },
  27285. "bidvolume4": {
  27286. "description": "买量4",
  27287. "type": "integer"
  27288. },
  27289. "bidvolume5": {
  27290. "description": "买量5",
  27291. "type": "integer"
  27292. },
  27293. "bidvolume6": {
  27294. "description": "买量6",
  27295. "type": "integer"
  27296. },
  27297. "bidvolume7": {
  27298. "description": "买量7",
  27299. "type": "integer"
  27300. },
  27301. "bidvolume8": {
  27302. "description": "买量8",
  27303. "type": "integer"
  27304. },
  27305. "bidvolume9": {
  27306. "description": "买量9",
  27307. "type": "integer"
  27308. },
  27309. "calloptionpremiums": {
  27310. "description": "认购期权1",
  27311. "type": "integer"
  27312. },
  27313. "calloptionpremiums2": {
  27314. "description": "认购期权2",
  27315. "type": "integer"
  27316. },
  27317. "calloptionpremiums3": {
  27318. "description": "认购期权3",
  27319. "type": "integer"
  27320. },
  27321. "calloptionpremiums4": {
  27322. "description": "认购期权4",
  27323. "type": "integer"
  27324. },
  27325. "calloptionpremiums5": {
  27326. "description": "认购期权5",
  27327. "type": "integer"
  27328. },
  27329. "cleartime": {
  27330. "description": "清盘时间",
  27331. "type": "integer"
  27332. },
  27333. "exchangecode": {
  27334. "description": "交易所代码",
  27335. "type": "integer"
  27336. },
  27337. "exchangedate": {
  27338. "description": "交易日",
  27339. "type": "integer"
  27340. },
  27341. "goodscode": {
  27342. "description": "商品代码",
  27343. "type": "string"
  27344. },
  27345. "grepmarketprice": {
  27346. "description": "暗盘价 港股专用",
  27347. "type": "number"
  27348. },
  27349. "highest": {
  27350. "description": "最高价",
  27351. "type": "number"
  27352. },
  27353. "holdincrement": {
  27354. "description": "单笔持仓",
  27355. "type": "integer"
  27356. },
  27357. "holdvolume": {
  27358. "description": "持仓",
  27359. "type": "integer"
  27360. },
  27361. "iep": {
  27362. "description": "平衡价 港股专用",
  27363. "type": "number"
  27364. },
  27365. "iev": {
  27366. "description": "平衡量 港股专用",
  27367. "type": "number"
  27368. },
  27369. "inventory": {
  27370. "description": "库存",
  27371. "type": "integer"
  27372. },
  27373. "iscleared": {
  27374. "description": "是否清盘标志",
  27375. "type": "integer"
  27376. },
  27377. "issettled": {
  27378. "description": "是否结算标志",
  27379. "type": "integer"
  27380. },
  27381. "last": {
  27382. "description": "最新价",
  27383. "type": "number"
  27384. },
  27385. "lastlot": {
  27386. "description": "最新成交手数",
  27387. "type": "integer"
  27388. },
  27389. "lasttime": {
  27390. "description": "行情时间(只有现价变化行情时间才变化)",
  27391. "type": "string"
  27392. },
  27393. "lastturnover": {
  27394. "description": "最新成交金额",
  27395. "type": "number"
  27396. },
  27397. "lastvolume": {
  27398. "description": "最新成交量",
  27399. "type": "integer"
  27400. },
  27401. "limitdown": {
  27402. "description": "跌停价",
  27403. "type": "number"
  27404. },
  27405. "limitup": {
  27406. "description": "涨停价",
  27407. "type": "number"
  27408. },
  27409. "lowest": {
  27410. "description": "最低价",
  27411. "type": "number"
  27412. },
  27413. "nontotalholdervolume": {
  27414. "description": "非交易持仓量",
  27415. "type": "integer"
  27416. },
  27417. "nontotallot": {
  27418. "description": "非交易总手数",
  27419. "type": "integer"
  27420. },
  27421. "nontotalturnover": {
  27422. "description": "非交易总金额",
  27423. "type": "integer"
  27424. },
  27425. "nontotalvolume": {
  27426. "description": "非交易总量",
  27427. "type": "integer"
  27428. },
  27429. "opened": {
  27430. "description": "开盘价",
  27431. "type": "number"
  27432. },
  27433. "opentime": {
  27434. "description": "开盘时间",
  27435. "type": "string"
  27436. },
  27437. "orderid": {
  27438. "description": "序号",
  27439. "type": "integer"
  27440. },
  27441. "preclose": {
  27442. "description": "昨收",
  27443. "type": "number"
  27444. },
  27445. "preholdvolume": {
  27446. "description": "昨持仓",
  27447. "type": "integer"
  27448. },
  27449. "presettle": {
  27450. "description": "昨结价",
  27451. "type": "number"
  27452. },
  27453. "publictradetype": {
  27454. "description": "公共交易标志类型 港股专用",
  27455. "type": "string"
  27456. },
  27457. "putoptionpremiums": {
  27458. "description": "认沽期权1",
  27459. "type": "integer"
  27460. },
  27461. "putoptionpremiums2": {
  27462. "description": "认沽期权2",
  27463. "type": "integer"
  27464. },
  27465. "putoptionpremiums3": {
  27466. "description": "认沽期权3",
  27467. "type": "integer"
  27468. },
  27469. "putoptionpremiums4": {
  27470. "description": "认沽期权4",
  27471. "type": "integer"
  27472. },
  27473. "putoptionpremiums5": {
  27474. "description": "认沽期权5",
  27475. "type": "integer"
  27476. },
  27477. "settle": {
  27478. "description": "结算价",
  27479. "type": "number"
  27480. },
  27481. "strikeprice": {
  27482. "description": "发行价",
  27483. "type": "number"
  27484. },
  27485. "totalaskvolume": {
  27486. "description": "内盘",
  27487. "type": "integer"
  27488. },
  27489. "totalbidvolume": {
  27490. "description": "外盘",
  27491. "type": "integer"
  27492. },
  27493. "totallot": {
  27494. "description": "总手数",
  27495. "type": "integer"
  27496. },
  27497. "totalturnover": {
  27498. "description": "总金额",
  27499. "type": "number"
  27500. },
  27501. "totalvolume": {
  27502. "description": "总量",
  27503. "type": "integer"
  27504. },
  27505. "utclasttime": {
  27506. "description": "utc的行情时间",
  27507. "type": "string"
  27508. }
  27509. }
  27510. },
  27511. "quote.QueryTSDataRsp": {
  27512. "type": "object",
  27513. "properties": {
  27514. "Count": {
  27515. "description": "交易日应有数据个数",
  27516. "type": "integer"
  27517. },
  27518. "decimalPlace": {
  27519. "description": "小数位",
  27520. "type": "integer"
  27521. },
  27522. "endTime": {
  27523. "description": "结束时间",
  27524. "type": "string"
  27525. },
  27526. "goodsCode": {
  27527. "description": "商品代码",
  27528. "type": "string"
  27529. },
  27530. "historyDatas": {
  27531. "description": "历史数据",
  27532. "type": "array",
  27533. "items": {
  27534. "$ref": "#/definitions/quote.HistoryData"
  27535. }
  27536. },
  27537. "outGoodsCode": {
  27538. "description": "外部商品代码",
  27539. "type": "string"
  27540. },
  27541. "preSettle": {
  27542. "description": "昨结价",
  27543. "type": "number"
  27544. },
  27545. "runSteps": {
  27546. "description": "交易日开休市计划",
  27547. "type": "array",
  27548. "items": {
  27549. "$ref": "#/definitions/quote.TSDataRunStep"
  27550. }
  27551. },
  27552. "startTime": {
  27553. "description": "开始时间",
  27554. "type": "string"
  27555. },
  27556. "tradeDate": {
  27557. "description": "交易日",
  27558. "type": "string"
  27559. }
  27560. }
  27561. },
  27562. "quote.TSDataRunStep": {
  27563. "type": "object",
  27564. "properties": {
  27565. "end": {
  27566. "description": "真实结束时间",
  27567. "type": "string"
  27568. },
  27569. "endflag": {
  27570. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  27571. "type": "integer"
  27572. },
  27573. "endtime": {
  27574. "description": "结束时间(HH:mm)",
  27575. "type": "string"
  27576. },
  27577. "endweekday": {
  27578. "description": "结束周几",
  27579. "type": "integer"
  27580. },
  27581. "groupid": {
  27582. "description": "分组ID",
  27583. "type": "integer"
  27584. },
  27585. "runstep": {
  27586. "description": "运行阶段 - 2:连续交易",
  27587. "type": "integer"
  27588. },
  27589. "sectionid": {
  27590. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  27591. "type": "integer"
  27592. },
  27593. "start": {
  27594. "description": "真实开始时间",
  27595. "type": "string"
  27596. },
  27597. "startflag": {
  27598. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  27599. "type": "integer"
  27600. },
  27601. "starttime": {
  27602. "description": "起始时间(HH:mm)",
  27603. "type": "string"
  27604. },
  27605. "startweekday": {
  27606. "description": "起始周几",
  27607. "type": "integer"
  27608. },
  27609. "tradeweekday": {
  27610. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  27611. "type": "integer"
  27612. }
  27613. }
  27614. },
  27615. "szdz.QueryConvertLogRsp": {
  27616. "type": "object",
  27617. "required": [
  27618. "logid"
  27619. ],
  27620. "properties": {
  27621. "accountid": {
  27622. "description": "资金账户ID",
  27623. "type": "integer"
  27624. },
  27625. "clientticket": {
  27626. "description": "客户端流水号",
  27627. "type": "string"
  27628. },
  27629. "converttype": {
  27630. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  27631. "type": "integer"
  27632. },
  27633. "createtime": {
  27634. "description": "记账时间",
  27635. "type": "string"
  27636. },
  27637. "daymaxvalue": {
  27638. "description": "配置当日最大转入限制",
  27639. "type": "number"
  27640. },
  27641. "daymaxvalue2": {
  27642. "description": "配置当日最大转入限制(转入)",
  27643. "type": "number"
  27644. },
  27645. "goodscode": {
  27646. "description": "商品代码",
  27647. "type": "string"
  27648. },
  27649. "goodsname": {
  27650. "description": "商品名称",
  27651. "type": "string"
  27652. },
  27653. "handlestatus": {
  27654. "description": "处理状态",
  27655. "type": "integer"
  27656. },
  27657. "innergoodsid": {
  27658. "description": "内部商品ID",
  27659. "type": "integer"
  27660. },
  27661. "inratio": {
  27662. "description": "配置转入比值",
  27663. "type": "integer"
  27664. },
  27665. "invalue": {
  27666. "description": "目标值",
  27667. "type": "number"
  27668. },
  27669. "logid": {
  27670. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27671. "type": "integer"
  27672. },
  27673. "mobile": {
  27674. "description": "手机号码(加密存储)",
  27675. "type": "string"
  27676. },
  27677. "outergoodscode": {
  27678. "description": "外部商品代码[JD\\PD]",
  27679. "type": "string"
  27680. },
  27681. "outratio": {
  27682. "description": "配置转出比值",
  27683. "type": "integer"
  27684. },
  27685. "outvalue": {
  27686. "description": "源值",
  27687. "type": "number"
  27688. },
  27689. "pddecimalplace": {
  27690. "description": "PD小数位",
  27691. "type": "integer"
  27692. },
  27693. "qty": {
  27694. "description": "数量",
  27695. "type": "string"
  27696. },
  27697. "remark": {
  27698. "description": "备注",
  27699. "type": "string"
  27700. },
  27701. "sessionid": {
  27702. "description": "会话ID",
  27703. "type": "integer"
  27704. },
  27705. "timemaxvalue": {
  27706. "description": "配置单次最大转入限制",
  27707. "type": "number"
  27708. },
  27709. "timemaxvalue2": {
  27710. "description": "配置单次最大转入限制(转入)",
  27711. "type": "number"
  27712. },
  27713. "timeminvalue": {
  27714. "description": "配置单次最小数量限制",
  27715. "type": "number"
  27716. },
  27717. "timeminvalue2": {
  27718. "description": "配置单次最小数量限制(转入)",
  27719. "type": "number"
  27720. },
  27721. "tradedate": {
  27722. "description": "交易日(yyyyMMdd)",
  27723. "type": "string"
  27724. },
  27725. "userid": {
  27726. "description": "用户ID",
  27727. "type": "integer"
  27728. }
  27729. }
  27730. },
  27731. "szdz.QueryGoodsPickupRsp": {
  27732. "type": "object",
  27733. "required": [
  27734. "takeorderid"
  27735. ],
  27736. "properties": {
  27737. "accountid": {
  27738. "description": "账户ID",
  27739. "type": "integer"
  27740. },
  27741. "address": {
  27742. "description": "提货人详细地址",
  27743. "type": "string"
  27744. },
  27745. "auditer": {
  27746. "description": "审核人",
  27747. "type": "integer"
  27748. },
  27749. "audittime": {
  27750. "description": "审核时间",
  27751. "type": "string"
  27752. },
  27753. "cardnum": {
  27754. "description": "提货人证件号码",
  27755. "type": "string"
  27756. },
  27757. "cardtypeid": {
  27758. "description": "提货人证件类型",
  27759. "type": "integer"
  27760. },
  27761. "checkremark": {
  27762. "description": "审核备注",
  27763. "type": "string"
  27764. },
  27765. "goodscode": {
  27766. "description": "商品代码",
  27767. "type": "string"
  27768. },
  27769. "goodsid": {
  27770. "description": "商品ID",
  27771. "type": "integer"
  27772. },
  27773. "goodsname": {
  27774. "description": "商品名称",
  27775. "type": "string"
  27776. },
  27777. "handlestatus": {
  27778. "description": "处理状态",
  27779. "type": "integer"
  27780. },
  27781. "marketid": {
  27782. "description": "市场ID",
  27783. "type": "integer"
  27784. },
  27785. "phonenum": {
  27786. "description": "提货人联系方式",
  27787. "type": "string"
  27788. },
  27789. "qty": {
  27790. "description": "提货数量",
  27791. "type": "number"
  27792. },
  27793. "recivername": {
  27794. "description": "提货人姓名",
  27795. "type": "string"
  27796. },
  27797. "reqtime": {
  27798. "description": "更新时间",
  27799. "type": "string"
  27800. },
  27801. "takemode": {
  27802. "description": "提货方式 - 2:自提 3:配送",
  27803. "type": "integer"
  27804. },
  27805. "takeorderid": {
  27806. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  27807. "type": "string"
  27808. },
  27809. "takeorderstatus": {
  27810. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  27811. "type": "integer"
  27812. },
  27813. "takeremark": {
  27814. "description": "提货备注",
  27815. "type": "string"
  27816. },
  27817. "tradedate": {
  27818. "description": "交易日(yyyyMMdd)",
  27819. "type": "string"
  27820. },
  27821. "userid": {
  27822. "description": "用户ID",
  27823. "type": "integer"
  27824. }
  27825. }
  27826. },
  27827. "szdz.QueryRecieptOrderRsp": {
  27828. "type": "object",
  27829. "required": [
  27830. "ordertime"
  27831. ],
  27832. "properties": {
  27833. "accountName": {
  27834. "description": "所属账号名称(已脱敏)",
  27835. "type": "string"
  27836. },
  27837. "accountid": {
  27838. "description": "资金账号",
  27839. "type": "integer"
  27840. },
  27841. "buyorsell": {
  27842. "description": "方向 - 0:买 1:卖",
  27843. "type": "integer"
  27844. },
  27845. "enableqty": {
  27846. "description": "可摘数量",
  27847. "type": "integer"
  27848. },
  27849. "goodscode": {
  27850. "description": "商品代码",
  27851. "type": "string"
  27852. },
  27853. "goodsid": {
  27854. "description": "商品ID",
  27855. "type": "integer"
  27856. },
  27857. "goodsname": {
  27858. "description": "商品名称",
  27859. "type": "string"
  27860. },
  27861. "orderid": {
  27862. "description": "委托单号",
  27863. "type": "string"
  27864. },
  27865. "orderprice": {
  27866. "description": "委托价格",
  27867. "type": "number"
  27868. },
  27869. "ordertime": {
  27870. "description": "委托时间",
  27871. "type": "string"
  27872. },
  27873. "tradedate": {
  27874. "description": "交易日(yyyyMMdd)",
  27875. "type": "string"
  27876. }
  27877. }
  27878. },
  27879. "szdz.QuerySZDZTradePositionRsp": {
  27880. "type": "object",
  27881. "properties": {
  27882. "accountid": {
  27883. "description": "账号Id",
  27884. "type": "integer"
  27885. },
  27886. "agreeunit": {
  27887. "description": "合约单位",
  27888. "type": "number"
  27889. },
  27890. "averageprice": {
  27891. "description": "持仓均价",
  27892. "type": "number"
  27893. },
  27894. "buyorsell": {
  27895. "description": "方向 - 0:买 1:卖",
  27896. "type": "integer"
  27897. },
  27898. "closetotalqty": {
  27899. "description": "平仓总数量",
  27900. "type": "integer"
  27901. },
  27902. "curholderamount": {
  27903. "description": "当前持仓总金额",
  27904. "type": "number"
  27905. },
  27906. "curpositionqty": {
  27907. "description": "当前持仓总数量",
  27908. "type": "integer"
  27909. },
  27910. "currencyid": {
  27911. "description": "报价货币ID",
  27912. "type": "integer"
  27913. },
  27914. "curtdposition": {
  27915. "description": "期末今日头寸",
  27916. "type": "integer"
  27917. },
  27918. "decimalplace": {
  27919. "description": "报价小数位",
  27920. "type": "integer"
  27921. },
  27922. "enableqty": {
  27923. "description": "可用量",
  27924. "type": "integer"
  27925. },
  27926. "fretdposition": {
  27927. "description": "冻结今日头寸",
  27928. "type": "integer"
  27929. },
  27930. "frozenqty": {
  27931. "description": "持仓冻结数量",
  27932. "type": "integer"
  27933. },
  27934. "goodscode": {
  27935. "description": "商品代码(内部)",
  27936. "type": "string"
  27937. },
  27938. "goodsid": {
  27939. "description": "商品Id",
  27940. "type": "integer"
  27941. },
  27942. "goodsname": {
  27943. "description": "商品名称",
  27944. "type": "string"
  27945. },
  27946. "goodunit": {
  27947. "description": "报价单位",
  27948. "type": "string"
  27949. },
  27950. "goodunitid": {
  27951. "description": "报价单位ID",
  27952. "type": "integer"
  27953. },
  27954. "holderamount": {
  27955. "description": "期初持仓总金额",
  27956. "type": "number"
  27957. },
  27958. "marketid": {
  27959. "description": "市场ID",
  27960. "type": "integer"
  27961. },
  27962. "openreqqty": {
  27963. "description": "开仓申请数量",
  27964. "type": "integer"
  27965. },
  27966. "opentotalqty": {
  27967. "description": "开仓总数量",
  27968. "type": "integer"
  27969. },
  27970. "otherfrozenqty": {
  27971. "description": "持仓其他冻结数量(交割冻结)",
  27972. "type": "integer"
  27973. },
  27974. "positionqty": {
  27975. "description": "期初持仓数量",
  27976. "type": "integer"
  27977. },
  27978. "szdz3freezqty": {
  27979. "description": "尚志大宗转换冻结总数量",
  27980. "type": "integer"
  27981. },
  27982. "tnqty": {
  27983. "description": "T+N冻结总量",
  27984. "type": "integer"
  27985. },
  27986. "tnusedqty": {
  27987. "description": "T+N使用量",
  27988. "type": "integer"
  27989. },
  27990. "trademode": {
  27991. "description": "交易模式",
  27992. "type": "integer"
  27993. },
  27994. "usedmargin": {
  27995. "description": "占用保证金",
  27996. "type": "number"
  27997. }
  27998. }
  27999. },
  28000. "taaccount.QueryAmountLogRsp": {
  28001. "type": "object",
  28002. "required": [
  28003. "accountid",
  28004. "amount",
  28005. "amountadjusttype",
  28006. "autoid",
  28007. "balance",
  28008. "createtime",
  28009. "currentbalance",
  28010. "operatetype"
  28011. ],
  28012. "properties": {
  28013. "OPERATETYPENAME": {
  28014. "description": "资金操作类型名称",
  28015. "type": "string"
  28016. },
  28017. "accountid": {
  28018. "description": "资金账户ID",
  28019. "type": "integer"
  28020. },
  28021. "agoodscode": {
  28022. "description": "竞拍商品代码",
  28023. "type": "string"
  28024. },
  28025. "agoodsname": {
  28026. "description": "竞拍商品名称",
  28027. "type": "string"
  28028. },
  28029. "amount": {
  28030. "description": "资金金额",
  28031. "type": "number"
  28032. },
  28033. "amountadjusttype": {
  28034. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  28035. "type": "integer"
  28036. },
  28037. "autoid": {
  28038. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  28039. "type": "integer"
  28040. },
  28041. "balance": {
  28042. "description": "期初余额",
  28043. "type": "number"
  28044. },
  28045. "businesscode": {
  28046. "description": "业务编号",
  28047. "type": "integer"
  28048. },
  28049. "createtime": {
  28050. "description": "发生时间",
  28051. "type": "string"
  28052. },
  28053. "currencyid": {
  28054. "description": "币种ID",
  28055. "type": "integer"
  28056. },
  28057. "currentbalance": {
  28058. "description": "期末余额(变动后金额)",
  28059. "type": "number"
  28060. },
  28061. "dgoodscode": {
  28062. "description": "交割商品代码",
  28063. "type": "string"
  28064. },
  28065. "dgoodsname": {
  28066. "description": "交割商品名称",
  28067. "type": "string"
  28068. },
  28069. "goodscode": {
  28070. "description": "商品代码",
  28071. "type": "string"
  28072. },
  28073. "goodsid": {
  28074. "description": "商品ID",
  28075. "type": "integer"
  28076. },
  28077. "goodsname": {
  28078. "description": "商品名称",
  28079. "type": "string"
  28080. },
  28081. "marketid": {
  28082. "description": "市场ID",
  28083. "type": "integer"
  28084. },
  28085. "marketname": {
  28086. "description": "市场名称",
  28087. "type": "string"
  28088. },
  28089. "moneyticket": {
  28090. "description": "资金流水号:银行端流水号",
  28091. "type": "integer"
  28092. },
  28093. "operatetype": {
  28094. "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:营销收款",
  28095. "type": "integer"
  28096. },
  28097. "relationorderid": {
  28098. "description": "关联单号",
  28099. "type": "string"
  28100. },
  28101. "remark": {
  28102. "description": "备注",
  28103. "type": "string"
  28104. },
  28105. "trademode": {
  28106. "description": "交易模式",
  28107. "type": "integer"
  28108. }
  28109. }
  28110. },
  28111. "taaccount.QueryHisAmountLogRsp": {
  28112. "type": "object",
  28113. "required": [
  28114. "accountid",
  28115. "amount",
  28116. "amountadjusttype",
  28117. "autoid",
  28118. "balance",
  28119. "createtime",
  28120. "currentbalance",
  28121. "histradedate",
  28122. "operatetype"
  28123. ],
  28124. "properties": {
  28125. "OPERATETYPENAME": {
  28126. "description": "资金操作类型名称",
  28127. "type": "string"
  28128. },
  28129. "accountid": {
  28130. "description": "资金账户ID",
  28131. "type": "integer"
  28132. },
  28133. "agoodscode": {
  28134. "description": "竞拍商品代码",
  28135. "type": "string"
  28136. },
  28137. "agoodsname": {
  28138. "description": "竞拍商品名称",
  28139. "type": "string"
  28140. },
  28141. "amount": {
  28142. "description": "资金金额",
  28143. "type": "number"
  28144. },
  28145. "amountadjusttype": {
  28146. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  28147. "type": "integer"
  28148. },
  28149. "autoid": {
  28150. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  28151. "type": "integer"
  28152. },
  28153. "balance": {
  28154. "description": "期初余额",
  28155. "type": "number"
  28156. },
  28157. "businesscode": {
  28158. "description": "业务编号",
  28159. "type": "integer"
  28160. },
  28161. "createtime": {
  28162. "description": "发生时间",
  28163. "type": "string"
  28164. },
  28165. "currencyid": {
  28166. "description": "币种ID",
  28167. "type": "integer"
  28168. },
  28169. "currentbalance": {
  28170. "description": "期末余额(变动后金额)",
  28171. "type": "number"
  28172. },
  28173. "dgoodscode": {
  28174. "description": "交割商品代码",
  28175. "type": "string"
  28176. },
  28177. "dgoodsname": {
  28178. "description": "交割商品名称",
  28179. "type": "string"
  28180. },
  28181. "goodscode": {
  28182. "description": "商品代码",
  28183. "type": "string"
  28184. },
  28185. "goodsid": {
  28186. "description": "商品ID",
  28187. "type": "integer"
  28188. },
  28189. "goodsname": {
  28190. "description": "商品名称",
  28191. "type": "string"
  28192. },
  28193. "histradedate": {
  28194. "description": "历史交易日",
  28195. "type": "string"
  28196. },
  28197. "isvaliddata": {
  28198. "description": "是否有效 - 0:无效 1:有效",
  28199. "type": "integer"
  28200. },
  28201. "marketid": {
  28202. "description": "市场ID",
  28203. "type": "integer"
  28204. },
  28205. "marketname": {
  28206. "description": "市场名称",
  28207. "type": "string"
  28208. },
  28209. "moneyticket": {
  28210. "description": "资金流水号:银行端流水号",
  28211. "type": "integer"
  28212. },
  28213. "operatetype": {
  28214. "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:营销收款",
  28215. "type": "integer"
  28216. },
  28217. "relationorderid": {
  28218. "description": "关联单号",
  28219. "type": "string"
  28220. },
  28221. "remark": {
  28222. "description": "备注",
  28223. "type": "string"
  28224. },
  28225. "trademode": {
  28226. "description": "交易模式",
  28227. "type": "integer"
  28228. }
  28229. }
  28230. },
  28231. "trade.QueryRecieptOrderRsp": {
  28232. "type": "object",
  28233. "required": [
  28234. "ordertime"
  28235. ],
  28236. "properties": {
  28237. "accountName": {
  28238. "description": "所属账号名称(已脱敏)",
  28239. "type": "string"
  28240. },
  28241. "accountid": {
  28242. "description": "资金账号",
  28243. "type": "integer"
  28244. },
  28245. "buyorsell": {
  28246. "description": "方向 - 0:买 1:卖",
  28247. "type": "integer"
  28248. },
  28249. "enableqty": {
  28250. "description": "可摘数量",
  28251. "type": "integer"
  28252. },
  28253. "goodscode": {
  28254. "description": "商品代码",
  28255. "type": "string"
  28256. },
  28257. "goodsid": {
  28258. "description": "商品ID",
  28259. "type": "integer"
  28260. },
  28261. "goodsname": {
  28262. "description": "商品名称",
  28263. "type": "string"
  28264. },
  28265. "orderid": {
  28266. "description": "委托单号",
  28267. "type": "string"
  28268. },
  28269. "orderprice": {
  28270. "description": "委托价格",
  28271. "type": "number"
  28272. },
  28273. "ordertime": {
  28274. "description": "委托时间",
  28275. "type": "string"
  28276. },
  28277. "tradedate": {
  28278. "description": "交易日(yyyyMMdd)",
  28279. "type": "string"
  28280. }
  28281. }
  28282. },
  28283. "user.LoginQueryRsp": {
  28284. "type": "object",
  28285. "properties": {
  28286. "areaRoles": {
  28287. "description": "所属角色信息",
  28288. "type": "array",
  28289. "items": {
  28290. "$ref": "#/definitions/models.Arearole"
  28291. }
  28292. },
  28293. "externalExchanges": {
  28294. "description": "外部交易所",
  28295. "type": "array",
  28296. "items": {
  28297. "$ref": "#/definitions/models.Externalexchange"
  28298. }
  28299. },
  28300. "goodsgroups": {
  28301. "description": "商品组",
  28302. "type": "array",
  28303. "items": {
  28304. "$ref": "#/definitions/models.Goodsgroup"
  28305. }
  28306. },
  28307. "loginAccount": {
  28308. "description": "登录账号",
  28309. "type": "object",
  28310. "$ref": "#/definitions/models.Loginaccount"
  28311. },
  28312. "markets": {
  28313. "description": "市场",
  28314. "type": "array",
  28315. "items": {
  28316. "$ref": "#/definitions/models.Market"
  28317. }
  28318. },
  28319. "systemParams": {
  28320. "description": "系统参数",
  28321. "type": "array",
  28322. "items": {
  28323. "$ref": "#/definitions/models.Systemparam"
  28324. }
  28325. },
  28326. "userAccount": {
  28327. "description": "用户账号",
  28328. "type": "object",
  28329. "$ref": "#/definitions/models.Useraccount"
  28330. },
  28331. "userInfo": {
  28332. "description": "用户信息",
  28333. "type": "object",
  28334. "$ref": "#/definitions/models.Userinfo"
  28335. },
  28336. "username": {
  28337. "description": "用户姓名",
  28338. "type": "string"
  28339. }
  28340. }
  28341. }
  28342. },
  28343. "securityDefinitions": {
  28344. "ApiKeyAuth": {
  28345. "type": "apiKey",
  28346. "name": "Authorization",
  28347. "in": "header"
  28348. }
  28349. }
  28350. }`
  28351. type swaggerInfo struct {
  28352. Version string
  28353. Host string
  28354. BasePath string
  28355. Schemes []string
  28356. Title string
  28357. Description string
  28358. }
  28359. // SwaggerInfo holds exported Swagger Info so clients can modify it
  28360. var SwaggerInfo = swaggerInfo{
  28361. Version: "1.0",
  28362. Host: "",
  28363. BasePath: "/api",
  28364. Schemes: []string{},
  28365. Title: "MTP2.0 查询服务 API",
  28366. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  28367. }
  28368. type s struct{}
  28369. func (s *s) ReadDoc() string {
  28370. sInfo := SwaggerInfo
  28371. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  28372. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  28373. "marshal": func(v interface{}) string {
  28374. a, _ := json.Marshal(v)
  28375. return string(a)
  28376. },
  28377. }).Parse(doc)
  28378. if err != nil {
  28379. return doc
  28380. }
  28381. var tpl bytes.Buffer
  28382. if err := t.Execute(&tpl, sInfo); err != nil {
  28383. return doc
  28384. }
  28385. return tpl.String()
  28386. }
  28387. func init() {
  28388. swag.Register(swag.Name, &s{})
  28389. }