swagger.json 1.3 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://www.muchinfo.cn",
  7. "contact": {},
  8. "license": {},
  9. "version": "1.0"
  10. },
  11. "basePath": "/api",
  12. "paths": {
  13. "/CPTrade/QueryCPTradeMyBidInfos": {
  14. "get": {
  15. "security": [
  16. {
  17. "ApiKeyAuth": []
  18. }
  19. ],
  20. "produces": [
  21. "application/json"
  22. ],
  23. "tags": [
  24. "产能预售"
  25. ],
  26. "summary": "查询产能预售我的出价信息",
  27. "parameters": [
  28. {
  29. "type": "integer",
  30. "description": "资金账户",
  31. "name": "accountid",
  32. "in": "query",
  33. "required": true
  34. },
  35. {
  36. "type": "integer",
  37. "description": "预售市场ID",
  38. "name": "marketid",
  39. "in": "query"
  40. },
  41. {
  42. "type": "integer",
  43. "description": "预售商品ID",
  44. "name": "goodsid",
  45. "in": "query"
  46. }
  47. ],
  48. "responses": {
  49. "200": {
  50. "description": "OK",
  51. "schema": {
  52. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  53. }
  54. },
  55. "500": {
  56. "description": "Internal Server Error",
  57. "schema": {
  58. "$ref": "#/definitions/app.Response"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/CPTrade/QueryCPTradeOrderDetail": {
  65. "get": {
  66. "security": [
  67. {
  68. "ApiKeyAuth": []
  69. }
  70. ],
  71. "produces": [
  72. "application/json"
  73. ],
  74. "tags": [
  75. "产能预售"
  76. ],
  77. "summary": "查询产能预售委托单信息",
  78. "parameters": [
  79. {
  80. "type": "integer",
  81. "description": "预售商品ID",
  82. "name": "goodsid",
  83. "in": "query"
  84. },
  85. {
  86. "type": "integer",
  87. "description": "预售市场ID",
  88. "name": "marketid",
  89. "in": "query"
  90. },
  91. {
  92. "type": "string",
  93. "description": "预售商品ID列表 - 格式:1,2,3",
  94. "name": "goodsids",
  95. "in": "query"
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "OK",
  101. "schema": {
  102. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  103. }
  104. },
  105. "500": {
  106. "description": "Internal Server Error",
  107. "schema": {
  108. "$ref": "#/definitions/app.Response"
  109. }
  110. }
  111. }
  112. }
  113. },
  114. "/CPTrade/QueryMyCPTradeGoods": {
  115. "get": {
  116. "security": [
  117. {
  118. "ApiKeyAuth": []
  119. }
  120. ],
  121. "produces": [
  122. "application/json"
  123. ],
  124. "tags": [
  125. "产能预售"
  126. ],
  127. "summary": "查询我的预售信息",
  128. "parameters": [
  129. {
  130. "type": "integer",
  131. "description": "资金账户",
  132. "name": "accountid",
  133. "in": "query",
  134. "required": true
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "OK",
  140. "schema": {
  141. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  142. }
  143. },
  144. "500": {
  145. "description": "Internal Server Error",
  146. "schema": {
  147. "$ref": "#/definitions/app.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/CPTrade/QueryPositionCancel": {
  154. "get": {
  155. "security": [
  156. {
  157. "ApiKeyAuth": []
  158. }
  159. ],
  160. "produces": [
  161. "application/json"
  162. ],
  163. "tags": [
  164. "产能预售"
  165. ],
  166. "summary": "查询远期订单注销申请信息",
  167. "parameters": [
  168. {
  169. "type": "integer",
  170. "description": "账户ID",
  171. "name": "userid",
  172. "in": "query",
  173. "required": true
  174. },
  175. {
  176. "type": "integer",
  177. "description": "注销ID",
  178. "name": "cancelid",
  179. "in": "query"
  180. },
  181. {
  182. "type": "integer",
  183. "description": "资金账户ID",
  184. "name": "accountid",
  185. "in": "query"
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "OK",
  191. "schema": {
  192. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "schema": {
  198. "$ref": "#/definitions/app.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/CPTrade/QueryPreasleApply": {
  205. "get": {
  206. "security": [
  207. {
  208. "ApiKeyAuth": []
  209. }
  210. ],
  211. "produces": [
  212. "application/json"
  213. ],
  214. "tags": [
  215. "产能预售"
  216. ],
  217. "summary": "查询产能预售申请信息",
  218. "parameters": [
  219. {
  220. "type": "integer",
  221. "description": "账户ID",
  222. "name": "userid",
  223. "in": "query",
  224. "required": true
  225. },
  226. {
  227. "type": "integer",
  228. "description": "申请ID",
  229. "name": "applyid",
  230. "in": "query"
  231. },
  232. {
  233. "type": "integer",
  234. "description": "资金账户ID",
  235. "name": "accountid",
  236. "in": "query"
  237. }
  238. ],
  239. "responses": {
  240. "200": {
  241. "description": "OK",
  242. "schema": {
  243. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  244. }
  245. },
  246. "500": {
  247. "description": "Internal Server Error",
  248. "schema": {
  249. "$ref": "#/definitions/app.Response"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/CPTrade/QueryPresaleGoodsEx": {
  256. "get": {
  257. "security": [
  258. {
  259. "ApiKeyAuth": []
  260. }
  261. ],
  262. "produces": [
  263. "application/json"
  264. ],
  265. "tags": [
  266. "产能预售"
  267. ],
  268. "summary": "查询产能预售商品扩展信息",
  269. "parameters": [
  270. {
  271. "type": "integer",
  272. "description": "预售商品ID",
  273. "name": "goodsid",
  274. "in": "query"
  275. },
  276. {
  277. "type": "integer",
  278. "description": "预售市场ID",
  279. "name": "marketid",
  280. "in": "query"
  281. },
  282. {
  283. "type": "integer",
  284. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  285. "name": "presalemode",
  286. "in": "query"
  287. },
  288. {
  289. "type": "string",
  290. "description": "预售商品ID列表 - 格式:1,2,3",
  291. "name": "goodsids",
  292. "in": "query"
  293. },
  294. {
  295. "type": "string",
  296. "description": "预售商品代码",
  297. "name": "goodscode",
  298. "in": "query"
  299. }
  300. ],
  301. "responses": {
  302. "200": {
  303. "description": "OK",
  304. "schema": {
  305. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  306. }
  307. },
  308. "500": {
  309. "description": "Internal Server Error",
  310. "schema": {
  311. "$ref": "#/definitions/app.Response"
  312. }
  313. }
  314. }
  315. }
  316. },
  317. "/CPTrade/QueryUserGoodsData": {
  318. "get": {
  319. "security": [
  320. {
  321. "ApiKeyAuth": []
  322. }
  323. ],
  324. "produces": [
  325. "application/json"
  326. ],
  327. "tags": [
  328. "产能预售"
  329. ],
  330. "summary": "查询远期订单信息",
  331. "parameters": [
  332. {
  333. "type": "integer",
  334. "description": "资金账户ID",
  335. "name": "accountid",
  336. "in": "query",
  337. "required": true
  338. }
  339. ],
  340. "responses": {
  341. "200": {
  342. "description": "OK",
  343. "schema": {
  344. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  345. }
  346. },
  347. "500": {
  348. "description": "Internal Server Error",
  349. "schema": {
  350. "$ref": "#/definitions/app.Response"
  351. }
  352. }
  353. }
  354. }
  355. },
  356. "/Common/GetAllEnums": {
  357. "get": {
  358. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  359. "produces": [
  360. "application/json"
  361. ],
  362. "tags": [
  363. "通用服务"
  364. ],
  365. "summary": "获取所有枚举信息",
  366. "parameters": [
  367. {
  368. "type": "integer",
  369. "description": "起始自增ID",
  370. "name": "autoid",
  371. "in": "query"
  372. }
  373. ],
  374. "responses": {
  375. "200": {
  376. "description": "OK",
  377. "schema": {
  378. "$ref": "#/definitions/models.Enumdicitem"
  379. }
  380. },
  381. "500": {
  382. "description": "Internal Server Error",
  383. "schema": {
  384. "$ref": "#/definitions/app.Response"
  385. }
  386. }
  387. }
  388. }
  389. },
  390. "/Common/GetClientMenus": {
  391. "get": {
  392. "security": [
  393. {
  394. "ApiKeyAuth": []
  395. }
  396. ],
  397. "produces": [
  398. "application/json"
  399. ],
  400. "tags": [
  401. "通用服务"
  402. ],
  403. "summary": "获取交易端菜单",
  404. "parameters": [
  405. {
  406. "type": "integer",
  407. "description": "登录账号",
  408. "name": "loginID",
  409. "in": "query",
  410. "required": true
  411. },
  412. {
  413. "type": "integer",
  414. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  415. "name": "clientType",
  416. "in": "query"
  417. },
  418. {
  419. "type": "string",
  420. "description": "分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台",
  421. "name": "name",
  422. "in": "query"
  423. }
  424. ],
  425. "responses": {
  426. "200": {
  427. "description": "OK",
  428. "schema": {
  429. "type": "array",
  430. "items": {
  431. "$ref": "#/definitions/common.ClientMenu"
  432. }
  433. }
  434. },
  435. "500": {
  436. "description": "Internal Server Error",
  437. "schema": {
  438. "$ref": "#/definitions/app.Response"
  439. }
  440. }
  441. }
  442. }
  443. },
  444. "/Common/GetDivisions": {
  445. "get": {
  446. "produces": [
  447. "application/json"
  448. ],
  449. "tags": [
  450. "通用服务"
  451. ],
  452. "summary": "查询区域信息",
  453. "responses": {
  454. "200": {
  455. "description": "OK",
  456. "schema": {
  457. "$ref": "#/definitions/models.Division"
  458. }
  459. },
  460. "500": {
  461. "description": "Internal Server Error",
  462. "schema": {
  463. "$ref": "#/definitions/app.Response"
  464. }
  465. }
  466. }
  467. }
  468. },
  469. "/Common/GetServerTime": {
  470. "get": {
  471. "produces": [
  472. "application/json"
  473. ],
  474. "tags": [
  475. "通用服务"
  476. ],
  477. "summary": "获取服务器时间",
  478. "responses": {
  479. "200": {
  480. "description": "OK",
  481. "schema": {
  482. "$ref": "#/definitions/app.Response"
  483. }
  484. },
  485. "500": {
  486. "description": "Internal Server Error",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. }
  491. }
  492. }
  493. },
  494. "/Common/NoticeReaded": {
  495. "post": {
  496. "security": [
  497. {
  498. "ApiKeyAuth": []
  499. }
  500. ],
  501. "produces": [
  502. "application/json"
  503. ],
  504. "tags": [
  505. "通用服务"
  506. ],
  507. "summary": "通知公告设置已读请求",
  508. "parameters": [
  509. {
  510. "type": "integer",
  511. "description": "登录账号",
  512. "name": "loginID",
  513. "in": "query",
  514. "required": true
  515. },
  516. {
  517. "type": "integer",
  518. "description": "通知公告ID",
  519. "name": "noticeID",
  520. "in": "query",
  521. "required": true
  522. }
  523. ],
  524. "responses": {
  525. "200": {
  526. "description": "OK",
  527. "schema": {
  528. "$ref": "#/definitions/app.Response"
  529. }
  530. },
  531. "500": {
  532. "description": "Internal Server Error",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. }
  537. }
  538. }
  539. },
  540. "/Common/QueryErrorInfos": {
  541. "get": {
  542. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  543. "produces": [
  544. "application/json"
  545. ],
  546. "tags": [
  547. "通用服务"
  548. ],
  549. "summary": "获取数据库错误信息",
  550. "parameters": [
  551. {
  552. "type": "string",
  553. "description": "起始行号前索引",
  554. "name": "rowNumber",
  555. "in": "query"
  556. }
  557. ],
  558. "responses": {
  559. "200": {
  560. "description": "OK",
  561. "schema": {
  562. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  563. }
  564. },
  565. "500": {
  566. "description": "Internal Server Error",
  567. "schema": {
  568. "$ref": "#/definitions/app.Response"
  569. }
  570. }
  571. }
  572. }
  573. },
  574. "/Common/QueryImageConfigs": {
  575. "get": {
  576. "produces": [
  577. "application/json"
  578. ],
  579. "tags": [
  580. "通用服务"
  581. ],
  582. "summary": "查询轮播图配置信息",
  583. "parameters": [
  584. {
  585. "type": "integer",
  586. "description": "用户id",
  587. "name": "userId",
  588. "in": "query"
  589. },
  590. {
  591. "type": "integer",
  592. "description": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.ErmcpGoods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpOutAccountStatus": {
  915. "get": {
  916. "security": [
  917. {
  918. "ApiKeyAuth": []
  919. }
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "企业风险管理(app)"
  926. ],
  927. "summary": "获取目标登录账号当前对冲账号在线状态",
  928. "parameters": [
  929. {
  930. "type": "integer",
  931. "description": "登录账号",
  932. "name": "loginID",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "$ref": "#/definitions/models.Hedgemarketopenlog"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "获取企业风管终端权限",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QueryAccMgrBizGroupSet": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询业务类型分组(账户管理/账户设置)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "现货商品id",
  1017. "name": "deliverygoodsid",
  1018. "in": "query"
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "type": "array",
  1026. "items": {
  1027. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1028. }
  1029. }
  1030. },
  1031. "500": {
  1032. "description": "Internal Server Error",
  1033. "schema": {
  1034. "$ref": "#/definitions/app.Response"
  1035. }
  1036. }
  1037. }
  1038. }
  1039. },
  1040. "/Ermcp/QueryAccMgrLoginUser": {
  1041. "get": {
  1042. "security": [
  1043. {
  1044. "ApiKeyAuth": []
  1045. }
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "企业风险管理(app)"
  1052. ],
  1053. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1054. "parameters": [
  1055. {
  1056. "type": "integer",
  1057. "description": "用户ID",
  1058. "name": "userid",
  1059. "in": "query",
  1060. "required": true
  1061. },
  1062. {
  1063. "type": "integer",
  1064. "description": "用户类型 2-机构 7-企业成员",
  1065. "name": "usertype",
  1066. "in": "query"
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1071. "name": "querytype",
  1072. "in": "query",
  1073. "required": true
  1074. }
  1075. ],
  1076. "responses": {
  1077. "200": {
  1078. "description": "OK",
  1079. "schema": {
  1080. "type": "array",
  1081. "items": {
  1082. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1083. }
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1096. "get": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "企业风险管理(app)"
  1107. ],
  1108. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1109. "parameters": [
  1110. {
  1111. "type": "integer",
  1112. "description": "用户ID",
  1113. "name": "userid",
  1114. "in": "query"
  1115. },
  1116. {
  1117. "type": "integer",
  1118. "description": "主账号id",
  1119. "name": "accountid",
  1120. "in": "query"
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "type": "array",
  1128. "items": {
  1129. "$ref": "#/definitions/models.MainAccountInfo"
  1130. }
  1131. }
  1132. },
  1133. "500": {
  1134. "description": "Internal Server Error",
  1135. "schema": {
  1136. "$ref": "#/definitions/app.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/Ermcp/QueryAccMgrRole": {
  1143. "get": {
  1144. "security": [
  1145. {
  1146. "ApiKeyAuth": []
  1147. }
  1148. ],
  1149. "produces": [
  1150. "application/json"
  1151. ],
  1152. "tags": [
  1153. "企业风险管理(app)"
  1154. ],
  1155. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1156. "parameters": [
  1157. {
  1158. "type": "integer",
  1159. "description": "用户ID",
  1160. "name": "userid",
  1161. "in": "query",
  1162. "required": true
  1163. }
  1164. ],
  1165. "responses": {
  1166. "200": {
  1167. "description": "OK",
  1168. "schema": {
  1169. "type": "array",
  1170. "items": {
  1171. "$ref": "#/definitions/models.ErmcpRole"
  1172. }
  1173. }
  1174. },
  1175. "500": {
  1176. "description": "Internal Server Error",
  1177. "schema": {
  1178. "$ref": "#/definitions/app.Response"
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "/Ermcp/QueryAccMgrRoleMenu": {
  1185. "get": {
  1186. "security": [
  1187. {
  1188. "ApiKeyAuth": []
  1189. }
  1190. ],
  1191. "produces": [
  1192. "application/json"
  1193. ],
  1194. "tags": [
  1195. "企业风险管理(app)"
  1196. ],
  1197. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1198. "parameters": [
  1199. {
  1200. "type": "integer",
  1201. "description": "用户ID",
  1202. "name": "userid",
  1203. "in": "query",
  1204. "required": true
  1205. },
  1206. {
  1207. "type": "string",
  1208. "description": "角色id(可多个,逗号隔开)",
  1209. "name": "roleid",
  1210. "in": "query"
  1211. },
  1212. {
  1213. "type": "integer",
  1214. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1215. "name": "menutype",
  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/QueryRoleMenu": {
  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": "loginid",
  2815. "in": "query",
  2816. "required": true
  2817. },
  2818. {
  2819. "type": "integer",
  2820. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2821. "name": "menutype",
  2822. "in": "query"
  2823. }
  2824. ],
  2825. "responses": {
  2826. "200": {
  2827. "description": "OK",
  2828. "schema": {
  2829. "type": "array",
  2830. "items": {
  2831. "$ref": "#/definitions/models.RoleMenu"
  2832. }
  2833. }
  2834. },
  2835. "500": {
  2836. "description": "Internal Server Error",
  2837. "schema": {
  2838. "$ref": "#/definitions/app.Response"
  2839. }
  2840. }
  2841. }
  2842. }
  2843. },
  2844. "/Ermcp/QueryTradeConfigTMP": {
  2845. "get": {
  2846. "security": [
  2847. {
  2848. "ApiKeyAuth": []
  2849. }
  2850. ],
  2851. "produces": [
  2852. "application/json"
  2853. ],
  2854. "tags": [
  2855. "企业风险管理(app)"
  2856. ],
  2857. "summary": "查询交易模板配置",
  2858. "parameters": [
  2859. {
  2860. "type": "integer",
  2861. "description": "所属机构id",
  2862. "name": "areauserid",
  2863. "in": "query"
  2864. }
  2865. ],
  2866. "responses": {
  2867. "200": {
  2868. "description": "OK",
  2869. "schema": {
  2870. "type": "array",
  2871. "items": {
  2872. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2873. }
  2874. }
  2875. },
  2876. "500": {
  2877. "description": "Internal Server Error",
  2878. "schema": {
  2879. "$ref": "#/definitions/app.Response"
  2880. }
  2881. }
  2882. }
  2883. }
  2884. },
  2885. "/Ermcp/QueryUserInfo": {
  2886. "get": {
  2887. "security": [
  2888. {
  2889. "ApiKeyAuth": []
  2890. }
  2891. ],
  2892. "produces": [
  2893. "application/json"
  2894. ],
  2895. "tags": [
  2896. "企业风险管理(app)"
  2897. ],
  2898. "summary": "查询客户资料",
  2899. "parameters": [
  2900. {
  2901. "type": "integer",
  2902. "description": "所属机构用户ID",
  2903. "name": "MemberUserID",
  2904. "in": "query",
  2905. "required": true
  2906. },
  2907. {
  2908. "type": "integer",
  2909. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2910. "name": "queryType",
  2911. "in": "query",
  2912. "required": true
  2913. }
  2914. ],
  2915. "responses": {
  2916. "200": {
  2917. "description": "OK",
  2918. "schema": {
  2919. "type": "array",
  2920. "items": {
  2921. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2922. }
  2923. }
  2924. },
  2925. "500": {
  2926. "description": "Internal Server Error",
  2927. "schema": {
  2928. "$ref": "#/definitions/app.Response"
  2929. }
  2930. }
  2931. }
  2932. }
  2933. },
  2934. "/Ermcp/QueryWarehouseInfo": {
  2935. "get": {
  2936. "security": [
  2937. {
  2938. "ApiKeyAuth": []
  2939. }
  2940. ],
  2941. "produces": [
  2942. "application/json"
  2943. ],
  2944. "tags": [
  2945. "企业风险管理(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": "string",
  2958. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2959. "name": "status",
  2960. "in": "query"
  2961. }
  2962. ],
  2963. "responses": {
  2964. "200": {
  2965. "description": "OK",
  2966. "schema": {
  2967. "type": "array",
  2968. "items": {
  2969. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2970. }
  2971. }
  2972. },
  2973. "500": {
  2974. "description": "Internal Server Error",
  2975. "schema": {
  2976. "$ref": "#/definitions/app.Response"
  2977. }
  2978. }
  2979. }
  2980. }
  2981. },
  2982. "/Ermcp3/QryAreaExpourseContractDetail": {
  2983. "get": {
  2984. "security": [
  2985. {
  2986. "ApiKeyAuth": []
  2987. }
  2988. ],
  2989. "produces": [
  2990. "application/json"
  2991. ],
  2992. "tags": [
  2993. "企业风险管理v3(app)"
  2994. ],
  2995. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2996. "parameters": [
  2997. {
  2998. "type": "integer",
  2999. "description": "用户ID",
  3000. "name": "userid",
  3001. "in": "query",
  3002. "required": true
  3003. },
  3004. {
  3005. "type": "integer",
  3006. "description": "套保商品id",
  3007. "name": "middlegoodsid",
  3008. "in": "query",
  3009. "required": true
  3010. },
  3011. {
  3012. "type": "integer",
  3013. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3014. "name": "cycletype",
  3015. "in": "query",
  3016. "required": true
  3017. },
  3018. {
  3019. "type": "string",
  3020. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3021. "name": "cycletime",
  3022. "in": "query",
  3023. "required": true
  3024. }
  3025. ],
  3026. "responses": {
  3027. "200": {
  3028. "description": "OK",
  3029. "schema": {
  3030. "type": "array",
  3031. "items": {
  3032. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3033. }
  3034. }
  3035. },
  3036. "500": {
  3037. "description": "Internal Server Error",
  3038. "schema": {
  3039. "$ref": "#/definitions/app.Response"
  3040. }
  3041. }
  3042. }
  3043. }
  3044. },
  3045. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3046. "get": {
  3047. "security": [
  3048. {
  3049. "ApiKeyAuth": []
  3050. }
  3051. ],
  3052. "produces": [
  3053. "application/json"
  3054. ],
  3055. "tags": [
  3056. "企业风险管理v3(app)"
  3057. ],
  3058. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3059. "parameters": [
  3060. {
  3061. "type": "integer",
  3062. "description": "用户ID",
  3063. "name": "userid",
  3064. "in": "query",
  3065. "required": true
  3066. },
  3067. {
  3068. "type": "integer",
  3069. "description": "套保商品id",
  3070. "name": "middlegoodsid",
  3071. "in": "query",
  3072. "required": true
  3073. },
  3074. {
  3075. "type": "integer",
  3076. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3077. "name": "cycletype",
  3078. "in": "query",
  3079. "required": true
  3080. },
  3081. {
  3082. "type": "string",
  3083. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3084. "name": "cycletime",
  3085. "in": "query",
  3086. "required": true
  3087. }
  3088. ],
  3089. "responses": {
  3090. "200": {
  3091. "description": "OK",
  3092. "schema": {
  3093. "type": "array",
  3094. "items": {
  3095. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3096. }
  3097. }
  3098. },
  3099. "500": {
  3100. "description": "Internal Server Error",
  3101. "schema": {
  3102. "$ref": "#/definitions/app.Response"
  3103. }
  3104. }
  3105. }
  3106. }
  3107. },
  3108. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3109. "get": {
  3110. "security": [
  3111. {
  3112. "ApiKeyAuth": []
  3113. }
  3114. ],
  3115. "produces": [
  3116. "application/json"
  3117. ],
  3118. "tags": [
  3119. "企业风险管理v3(app)"
  3120. ],
  3121. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3122. "parameters": [
  3123. {
  3124. "type": "integer",
  3125. "description": "用户ID",
  3126. "name": "userid",
  3127. "in": "query",
  3128. "required": true
  3129. },
  3130. {
  3131. "type": "integer",
  3132. "description": "套保商品id",
  3133. "name": "middlegoodsid",
  3134. "in": "query",
  3135. "required": true
  3136. },
  3137. {
  3138. "type": "integer",
  3139. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3140. "name": "cycletype",
  3141. "in": "query",
  3142. "required": true
  3143. },
  3144. {
  3145. "type": "string",
  3146. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3147. "name": "cycletime",
  3148. "in": "query",
  3149. "required": true
  3150. }
  3151. ],
  3152. "responses": {
  3153. "200": {
  3154. "description": "OK",
  3155. "schema": {
  3156. "type": "array",
  3157. "items": {
  3158. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3159. }
  3160. }
  3161. },
  3162. "500": {
  3163. "description": "Internal Server Error",
  3164. "schema": {
  3165. "$ref": "#/definitions/app.Response"
  3166. }
  3167. }
  3168. }
  3169. }
  3170. },
  3171. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3172. "get": {
  3173. "security": [
  3174. {
  3175. "ApiKeyAuth": []
  3176. }
  3177. ],
  3178. "produces": [
  3179. "application/json"
  3180. ],
  3181. "tags": [
  3182. "企业风险管理v3(app)"
  3183. ],
  3184. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3185. "parameters": [
  3186. {
  3187. "type": "integer",
  3188. "description": "用户ID",
  3189. "name": "userid",
  3190. "in": "query",
  3191. "required": true
  3192. },
  3193. {
  3194. "type": "integer",
  3195. "description": "套保商品id",
  3196. "name": "middlegoodsid",
  3197. "in": "query",
  3198. "required": true
  3199. },
  3200. {
  3201. "type": "integer",
  3202. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3203. "name": "cycletype",
  3204. "in": "query",
  3205. "required": true
  3206. },
  3207. {
  3208. "type": "string",
  3209. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3210. "name": "cycletime",
  3211. "in": "query",
  3212. "required": true
  3213. }
  3214. ],
  3215. "responses": {
  3216. "200": {
  3217. "description": "OK",
  3218. "schema": {
  3219. "type": "array",
  3220. "items": {
  3221. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3222. }
  3223. }
  3224. },
  3225. "500": {
  3226. "description": "Internal Server Error",
  3227. "schema": {
  3228. "$ref": "#/definitions/app.Response"
  3229. }
  3230. }
  3231. }
  3232. }
  3233. },
  3234. "/Ermcp3/QryAreaExpourseReport": {
  3235. "get": {
  3236. "security": [
  3237. {
  3238. "ApiKeyAuth": []
  3239. }
  3240. ],
  3241. "produces": [
  3242. "application/json"
  3243. ],
  3244. "tags": [
  3245. "企业风险管理v3(app)"
  3246. ],
  3247. "summary": "查询敞口报表",
  3248. "parameters": [
  3249. {
  3250. "type": "integer",
  3251. "description": "用户ID",
  3252. "name": "userid",
  3253. "in": "query",
  3254. "required": true
  3255. },
  3256. {
  3257. "type": "integer",
  3258. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3259. "name": "querytype",
  3260. "in": "query",
  3261. "required": true
  3262. },
  3263. {
  3264. "type": "integer",
  3265. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3266. "name": "cycletype",
  3267. "in": "query",
  3268. "required": true
  3269. },
  3270. {
  3271. "type": "string",
  3272. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3273. "name": "cycletime",
  3274. "in": "query",
  3275. "required": true
  3276. }
  3277. ],
  3278. "responses": {
  3279. "200": {
  3280. "description": "OK",
  3281. "schema": {
  3282. "type": "array",
  3283. "items": {
  3284. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3285. }
  3286. }
  3287. },
  3288. "500": {
  3289. "description": "Internal Server Error",
  3290. "schema": {
  3291. "$ref": "#/definitions/app.Response"
  3292. }
  3293. }
  3294. }
  3295. }
  3296. },
  3297. "/Ermcp3/QryAreaSpotplReport": {
  3298. "get": {
  3299. "security": [
  3300. {
  3301. "ApiKeyAuth": []
  3302. }
  3303. ],
  3304. "produces": [
  3305. "application/json"
  3306. ],
  3307. "tags": [
  3308. "企业风险管理v3(app)"
  3309. ],
  3310. "summary": "查询现货报表",
  3311. "parameters": [
  3312. {
  3313. "type": "integer",
  3314. "description": "用户ID",
  3315. "name": "userid",
  3316. "in": "query",
  3317. "required": true
  3318. },
  3319. {
  3320. "type": "integer",
  3321. "description": "查询类型 1-报表 2-报表明细",
  3322. "name": "querytype",
  3323. "in": "query",
  3324. "required": true
  3325. },
  3326. {
  3327. "type": "integer",
  3328. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3329. "name": "cycletype",
  3330. "in": "query",
  3331. "required": true
  3332. },
  3333. {
  3334. "type": "string",
  3335. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3336. "name": "cycletime",
  3337. "in": "query",
  3338. "required": true
  3339. },
  3340. {
  3341. "type": "integer",
  3342. "description": "现货品种id(明细必填)",
  3343. "name": "deliverygoodsid",
  3344. "in": "query"
  3345. },
  3346. {
  3347. "type": "integer",
  3348. "description": "币种id(明细必填)",
  3349. "name": "currencyid",
  3350. "in": "query"
  3351. }
  3352. ],
  3353. "responses": {
  3354. "200": {
  3355. "description": "OK",
  3356. "schema": {
  3357. "type": "array",
  3358. "items": {
  3359. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3360. }
  3361. }
  3362. },
  3363. "500": {
  3364. "description": "Internal Server Error",
  3365. "schema": {
  3366. "$ref": "#/definitions/app.Response"
  3367. }
  3368. }
  3369. }
  3370. }
  3371. },
  3372. "/Ermcp3/QryAreaStockReport": {
  3373. "get": {
  3374. "security": [
  3375. {
  3376. "ApiKeyAuth": []
  3377. }
  3378. ],
  3379. "produces": [
  3380. "application/json"
  3381. ],
  3382. "tags": [
  3383. "企业风险管理v3(app)"
  3384. ],
  3385. "summary": "查询库存报表",
  3386. "parameters": [
  3387. {
  3388. "type": "integer",
  3389. "description": "用户ID",
  3390. "name": "userid",
  3391. "in": "query",
  3392. "required": true
  3393. },
  3394. {
  3395. "type": "integer",
  3396. "description": "查询类型 1-报表 2-报表明细",
  3397. "name": "querytype",
  3398. "in": "query",
  3399. "required": true
  3400. },
  3401. {
  3402. "type": "integer",
  3403. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3404. "name": "cycletype",
  3405. "in": "query",
  3406. "required": true
  3407. },
  3408. {
  3409. "type": "string",
  3410. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3411. "name": "cycletime",
  3412. "in": "query",
  3413. "required": true
  3414. },
  3415. {
  3416. "type": "string",
  3417. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3418. "name": "sumfields",
  3419. "in": "query"
  3420. },
  3421. {
  3422. "type": "integer",
  3423. "description": "品种ID",
  3424. "name": "deliverygoodsid",
  3425. "in": "query"
  3426. },
  3427. {
  3428. "type": "integer",
  3429. "description": "品类ID",
  3430. "name": "wrstandardid",
  3431. "in": "query"
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "品牌ID",
  3436. "name": "spotgoodsbrandid",
  3437. "in": "query"
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "仓库ID",
  3442. "name": "warehouseinfoid",
  3443. "in": "query"
  3444. }
  3445. ],
  3446. "responses": {
  3447. "200": {
  3448. "description": "OK",
  3449. "schema": {
  3450. "type": "array",
  3451. "items": {
  3452. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3453. }
  3454. }
  3455. },
  3456. "500": {
  3457. "description": "Internal Server Error",
  3458. "schema": {
  3459. "$ref": "#/definitions/app.Response"
  3460. }
  3461. }
  3462. }
  3463. }
  3464. },
  3465. "/Ermcp3/QryAreaSumPL": {
  3466. "get": {
  3467. "security": [
  3468. {
  3469. "ApiKeyAuth": []
  3470. }
  3471. ],
  3472. "produces": [
  3473. "application/json"
  3474. ],
  3475. "tags": [
  3476. "企业风险管理v3(app)"
  3477. ],
  3478. "summary": "查询汇总损益表",
  3479. "parameters": [
  3480. {
  3481. "type": "integer",
  3482. "description": "用户ID",
  3483. "name": "userid",
  3484. "in": "query",
  3485. "required": true
  3486. },
  3487. {
  3488. "type": "integer",
  3489. "description": "查询类型 1-报表 2-报表明细",
  3490. "name": "querytype",
  3491. "in": "query",
  3492. "required": true
  3493. },
  3494. {
  3495. "type": "integer",
  3496. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3497. "name": "cycletype",
  3498. "in": "query",
  3499. "required": true
  3500. },
  3501. {
  3502. "type": "string",
  3503. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3504. "name": "cycletime",
  3505. "in": "query",
  3506. "required": true
  3507. },
  3508. {
  3509. "type": "integer",
  3510. "description": "币种id(明细必填)",
  3511. "name": "currencyid",
  3512. "in": "query"
  3513. }
  3514. ],
  3515. "responses": {
  3516. "200": {
  3517. "description": "OK",
  3518. "schema": {
  3519. "type": "array",
  3520. "items": {
  3521. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3522. }
  3523. }
  3524. },
  3525. "500": {
  3526. "description": "Internal Server Error",
  3527. "schema": {
  3528. "$ref": "#/definitions/app.Response"
  3529. }
  3530. }
  3531. }
  3532. }
  3533. },
  3534. "/Ermcp3/QryFinanceReport": {
  3535. "get": {
  3536. "security": [
  3537. {
  3538. "ApiKeyAuth": []
  3539. }
  3540. ],
  3541. "produces": [
  3542. "application/json"
  3543. ],
  3544. "tags": [
  3545. "企业风险管理v3(app)"
  3546. ],
  3547. "summary": "查询财务报表",
  3548. "parameters": [
  3549. {
  3550. "type": "integer",
  3551. "description": "用户ID",
  3552. "name": "userid",
  3553. "in": "query",
  3554. "required": true
  3555. },
  3556. {
  3557. "type": "integer",
  3558. "description": "查询类型 1-报表 2-报表明细",
  3559. "name": "querytype",
  3560. "in": "query",
  3561. "required": true
  3562. },
  3563. {
  3564. "type": "integer",
  3565. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3566. "name": "cycletype",
  3567. "in": "query",
  3568. "required": true
  3569. },
  3570. {
  3571. "type": "string",
  3572. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3573. "name": "cycletime",
  3574. "in": "query",
  3575. "required": true
  3576. },
  3577. {
  3578. "type": "integer",
  3579. "description": "币种id(报表明细必填)",
  3580. "name": "currencyid",
  3581. "in": "query"
  3582. },
  3583. {
  3584. "type": "string",
  3585. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3586. "name": "sumfields",
  3587. "in": "query"
  3588. }
  3589. ],
  3590. "responses": {
  3591. "200": {
  3592. "description": "OK",
  3593. "schema": {
  3594. "type": "array",
  3595. "items": {
  3596. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3597. }
  3598. }
  3599. },
  3600. "500": {
  3601. "description": "Internal Server Error",
  3602. "schema": {
  3603. "$ref": "#/definitions/app.Response"
  3604. }
  3605. }
  3606. }
  3607. }
  3608. },
  3609. "/Ermcp3/QryTaFutureDataReport": {
  3610. "get": {
  3611. "security": [
  3612. {
  3613. "ApiKeyAuth": []
  3614. }
  3615. ],
  3616. "produces": [
  3617. "application/json"
  3618. ],
  3619. "tags": [
  3620. "企业风险管理v3(app)"
  3621. ],
  3622. "summary": "查询期货报表",
  3623. "parameters": [
  3624. {
  3625. "type": "integer",
  3626. "description": "用户ID",
  3627. "name": "userid",
  3628. "in": "query",
  3629. "required": true
  3630. },
  3631. {
  3632. "type": "integer",
  3633. "description": "查询类型 1-报表 2-报表明细",
  3634. "name": "querytype",
  3635. "in": "query",
  3636. "required": true
  3637. },
  3638. {
  3639. "type": "integer",
  3640. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3641. "name": "cycletype",
  3642. "in": "query",
  3643. "required": true
  3644. },
  3645. {
  3646. "type": "string",
  3647. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3648. "name": "cycletime",
  3649. "in": "query",
  3650. "required": true
  3651. },
  3652. {
  3653. "type": "integer",
  3654. "description": "币种id(查明细必填)",
  3655. "name": "currencyid",
  3656. "in": "query"
  3657. },
  3658. {
  3659. "type": "integer",
  3660. "description": "品种id(查明细必填)",
  3661. "name": "goodsgroupid",
  3662. "in": "query"
  3663. },
  3664. {
  3665. "type": "integer",
  3666. "description": "商品id(查明细必填)",
  3667. "name": "goodsid",
  3668. "in": "query"
  3669. },
  3670. {
  3671. "type": "integer",
  3672. "description": "买卖方向(查明细必填)",
  3673. "name": "buyorsell",
  3674. "in": "query"
  3675. }
  3676. ],
  3677. "responses": {
  3678. "200": {
  3679. "description": "OK",
  3680. "schema": {
  3681. "type": "array",
  3682. "items": {
  3683. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3684. }
  3685. }
  3686. },
  3687. "500": {
  3688. "description": "Internal Server Error",
  3689. "schema": {
  3690. "$ref": "#/definitions/app.Response"
  3691. }
  3692. }
  3693. }
  3694. }
  3695. },
  3696. "/Ermcp3/QueryAreaStock": {
  3697. "get": {
  3698. "security": [
  3699. {
  3700. "ApiKeyAuth": []
  3701. }
  3702. ],
  3703. "produces": [
  3704. "application/json"
  3705. ],
  3706. "tags": [
  3707. "企业风险管理v3(app)"
  3708. ],
  3709. "summary": "查询机构库存(库存管理/当前库存)",
  3710. "parameters": [
  3711. {
  3712. "type": "integer",
  3713. "description": "用户ID",
  3714. "name": "userid",
  3715. "in": "query",
  3716. "required": true
  3717. }
  3718. ],
  3719. "responses": {
  3720. "200": {
  3721. "description": "OK",
  3722. "schema": {
  3723. "type": "array",
  3724. "items": {
  3725. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3726. }
  3727. }
  3728. },
  3729. "500": {
  3730. "description": "Internal Server Error",
  3731. "schema": {
  3732. "$ref": "#/definitions/app.Response"
  3733. }
  3734. }
  3735. }
  3736. }
  3737. },
  3738. "/Ermcp3/QueryAreaStockApply": {
  3739. "get": {
  3740. "security": [
  3741. {
  3742. "ApiKeyAuth": []
  3743. }
  3744. ],
  3745. "produces": [
  3746. "application/json"
  3747. ],
  3748. "tags": [
  3749. "企业风险管理v3(app)"
  3750. ],
  3751. "summary": "查询库存申请(出入库记录|库存审核)",
  3752. "parameters": [
  3753. {
  3754. "type": "integer",
  3755. "description": "用户ID",
  3756. "name": "userid",
  3757. "in": "query",
  3758. "required": true
  3759. },
  3760. {
  3761. "type": "integer",
  3762. "description": "用户类型 2-机构 7-企业成员",
  3763. "name": "usertype",
  3764. "in": "query"
  3765. },
  3766. {
  3767. "type": "integer",
  3768. "description": "现货商品ID",
  3769. "name": "deliverygoodsid",
  3770. "in": "query"
  3771. },
  3772. {
  3773. "type": "string",
  3774. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3775. "name": "inouttype",
  3776. "in": "query"
  3777. },
  3778. {
  3779. "type": "integer",
  3780. "description": "合同ID",
  3781. "name": "spotcontractid",
  3782. "in": "query"
  3783. },
  3784. {
  3785. "type": "integer",
  3786. "description": "品类ID",
  3787. "name": "wrstandardid",
  3788. "in": "query"
  3789. },
  3790. {
  3791. "type": "integer",
  3792. "description": "品牌ID",
  3793. "name": "spotgoodsbrandid",
  3794. "in": "query"
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "仓库ID",
  3799. "name": "warehouseinfoid",
  3800. "in": "query"
  3801. },
  3802. {
  3803. "type": "string",
  3804. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3805. "name": "applystatus",
  3806. "in": "query"
  3807. }
  3808. ],
  3809. "responses": {
  3810. "200": {
  3811. "description": "OK",
  3812. "schema": {
  3813. "type": "array",
  3814. "items": {
  3815. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3816. }
  3817. }
  3818. },
  3819. "500": {
  3820. "description": "Internal Server Error",
  3821. "schema": {
  3822. "$ref": "#/definitions/app.Response"
  3823. }
  3824. }
  3825. }
  3826. }
  3827. },
  3828. "/Ermcp3/QueryAreaStockApplySum": {
  3829. "get": {
  3830. "security": [
  3831. {
  3832. "ApiKeyAuth": []
  3833. }
  3834. ],
  3835. "produces": [
  3836. "application/json"
  3837. ],
  3838. "tags": [
  3839. "企业风险管理v3(app)"
  3840. ],
  3841. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3842. "parameters": [
  3843. {
  3844. "type": "integer",
  3845. "description": "合同ID",
  3846. "name": "spotcontractid",
  3847. "in": "query",
  3848. "required": true
  3849. }
  3850. ],
  3851. "responses": {
  3852. "200": {
  3853. "description": "OK",
  3854. "schema": {
  3855. "type": "array",
  3856. "items": {
  3857. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3858. }
  3859. }
  3860. },
  3861. "500": {
  3862. "description": "Internal Server Error",
  3863. "schema": {
  3864. "$ref": "#/definitions/app.Response"
  3865. }
  3866. }
  3867. }
  3868. }
  3869. },
  3870. "/Ermcp3/QueryDGFactoryItem": {
  3871. "get": {
  3872. "security": [
  3873. {
  3874. "ApiKeyAuth": []
  3875. }
  3876. ],
  3877. "produces": [
  3878. "application/json"
  3879. ],
  3880. "tags": [
  3881. "企业风险管理v3(app)"
  3882. ],
  3883. "summary": "查询品种要素定义项",
  3884. "parameters": [
  3885. {
  3886. "type": "integer",
  3887. "description": "用户id",
  3888. "name": "userid",
  3889. "in": "query"
  3890. },
  3891. {
  3892. "type": "integer",
  3893. "description": "用户类型 2-机构 7-企业成员",
  3894. "name": "usertype",
  3895. "in": "query"
  3896. },
  3897. {
  3898. "type": "integer",
  3899. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3900. "name": "dgfactoryitemid",
  3901. "in": "query"
  3902. },
  3903. {
  3904. "type": "integer",
  3905. "description": "现货品种ID",
  3906. "name": "deliverygoodsid",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "要素项类型",
  3912. "name": "dgfactoryitemtypeid",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "顺序",
  3918. "name": "orderindex",
  3919. "in": "query"
  3920. }
  3921. ],
  3922. "responses": {
  3923. "200": {
  3924. "description": "OK",
  3925. "schema": {
  3926. "type": "array",
  3927. "items": {
  3928. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3929. }
  3930. }
  3931. },
  3932. "500": {
  3933. "description": "Internal Server Error",
  3934. "schema": {
  3935. "$ref": "#/definitions/app.Response"
  3936. }
  3937. }
  3938. }
  3939. }
  3940. },
  3941. "/Ermcp3/QueryDeliveryGoods": {
  3942. "get": {
  3943. "security": [
  3944. {
  3945. "ApiKeyAuth": []
  3946. }
  3947. ],
  3948. "produces": [
  3949. "application/json"
  3950. ],
  3951. "tags": [
  3952. "企业风险管理v3(app)"
  3953. ],
  3954. "summary": "查询现货商品",
  3955. "parameters": [
  3956. {
  3957. "type": "integer",
  3958. "description": "用户id",
  3959. "name": "userid",
  3960. "in": "query",
  3961. "required": true
  3962. },
  3963. {
  3964. "type": "integer",
  3965. "description": "用户类型 2-机构 7-企业成员",
  3966. "name": "usertype",
  3967. "in": "query"
  3968. },
  3969. {
  3970. "type": "integer",
  3971. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3972. "name": "excludecfg",
  3973. "in": "query"
  3974. }
  3975. ],
  3976. "responses": {
  3977. "200": {
  3978. "description": "OK",
  3979. "schema": {
  3980. "type": "array",
  3981. "items": {
  3982. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3983. }
  3984. }
  3985. },
  3986. "500": {
  3987. "description": "Internal Server Error",
  3988. "schema": {
  3989. "$ref": "#/definitions/app.Response"
  3990. }
  3991. }
  3992. }
  3993. }
  3994. },
  3995. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3996. "get": {
  3997. "security": [
  3998. {
  3999. "ApiKeyAuth": []
  4000. }
  4001. ],
  4002. "produces": [
  4003. "application/json"
  4004. ],
  4005. "tags": [
  4006. "企业风险管理v3(app)"
  4007. ],
  4008. "summary": "查询现货商品详情",
  4009. "parameters": [
  4010. {
  4011. "type": "integer",
  4012. "description": "用户id",
  4013. "name": "userid",
  4014. "in": "query",
  4015. "required": true
  4016. },
  4017. {
  4018. "type": "integer",
  4019. "description": "用户类型 2-机构 7-企业成员",
  4020. "name": "usertype",
  4021. "in": "query"
  4022. },
  4023. {
  4024. "type": "integer",
  4025. "description": "现货商品id",
  4026. "name": "deliverygoodsid",
  4027. "in": "query"
  4028. }
  4029. ],
  4030. "responses": {
  4031. "200": {
  4032. "description": "OK",
  4033. "schema": {
  4034. "type": "array",
  4035. "items": {
  4036. "$ref": "#/definitions/models.XHDeliveryGoods"
  4037. }
  4038. }
  4039. },
  4040. "500": {
  4041. "description": "Internal Server Error",
  4042. "schema": {
  4043. "$ref": "#/definitions/app.Response"
  4044. }
  4045. }
  4046. }
  4047. }
  4048. },
  4049. "/Ermcp3/QueryExposureDetail": {
  4050. "get": {
  4051. "security": [
  4052. {
  4053. "ApiKeyAuth": []
  4054. }
  4055. ],
  4056. "produces": [
  4057. "application/json"
  4058. ],
  4059. "tags": [
  4060. "企业风险管理v3(app)"
  4061. ],
  4062. "summary": "查询敞口现货明细",
  4063. "parameters": [
  4064. {
  4065. "type": "integer",
  4066. "description": "用户id",
  4067. "name": "userid",
  4068. "in": "query",
  4069. "required": true
  4070. },
  4071. {
  4072. "type": "integer",
  4073. "description": "用户类型 2-机构 7-企业成员",
  4074. "name": "usertype",
  4075. "in": "query"
  4076. },
  4077. {
  4078. "type": "integer",
  4079. "description": "套保商品",
  4080. "name": "middlegoodsid",
  4081. "in": "query",
  4082. "required": true
  4083. }
  4084. ],
  4085. "responses": {
  4086. "200": {
  4087. "description": "OK",
  4088. "schema": {
  4089. "type": "array",
  4090. "items": {
  4091. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4092. }
  4093. }
  4094. },
  4095. "500": {
  4096. "description": "Internal Server Error",
  4097. "schema": {
  4098. "$ref": "#/definitions/app.Response"
  4099. }
  4100. }
  4101. }
  4102. }
  4103. },
  4104. "/Ermcp3/QueryExposureSpot": {
  4105. "get": {
  4106. "security": [
  4107. {
  4108. "ApiKeyAuth": []
  4109. }
  4110. ],
  4111. "produces": [
  4112. "application/json"
  4113. ],
  4114. "tags": [
  4115. "企业风险管理v3(app)"
  4116. ],
  4117. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4118. "parameters": [
  4119. {
  4120. "type": "integer",
  4121. "description": "用户id",
  4122. "name": "userid",
  4123. "in": "query",
  4124. "required": true
  4125. },
  4126. {
  4127. "type": "integer",
  4128. "description": "用户类型 2-机构 7-企业成员",
  4129. "name": "usertype",
  4130. "in": "query"
  4131. }
  4132. ],
  4133. "responses": {
  4134. "200": {
  4135. "description": "OK",
  4136. "schema": {
  4137. "type": "array",
  4138. "items": {
  4139. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4140. }
  4141. }
  4142. },
  4143. "500": {
  4144. "description": "Internal Server Error",
  4145. "schema": {
  4146. "$ref": "#/definitions/app.Response"
  4147. }
  4148. }
  4149. }
  4150. }
  4151. },
  4152. "/Ermcp3/QueryExposureSpotDetail": {
  4153. "get": {
  4154. "security": [
  4155. {
  4156. "ApiKeyAuth": []
  4157. }
  4158. ],
  4159. "produces": [
  4160. "application/json"
  4161. ],
  4162. "tags": [
  4163. "企业风险管理v3(app)"
  4164. ],
  4165. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4166. "parameters": [
  4167. {
  4168. "type": "integer",
  4169. "description": "用户id",
  4170. "name": "userid",
  4171. "in": "query",
  4172. "required": true
  4173. },
  4174. {
  4175. "type": "integer",
  4176. "description": "用户类型 2-机构 7-企业成员",
  4177. "name": "usertype",
  4178. "in": "query"
  4179. },
  4180. {
  4181. "type": "integer",
  4182. "description": "现货品种ID",
  4183. "name": "deliverygoodsid",
  4184. "in": "query",
  4185. "required": true
  4186. }
  4187. ],
  4188. "responses": {
  4189. "200": {
  4190. "description": "OK",
  4191. "schema": {
  4192. "type": "array",
  4193. "items": {
  4194. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4195. }
  4196. }
  4197. },
  4198. "500": {
  4199. "description": "Internal Server Error",
  4200. "schema": {
  4201. "$ref": "#/definitions/app.Response"
  4202. }
  4203. }
  4204. }
  4205. }
  4206. },
  4207. "/Ermcp3/QueryGoodsGroup": {
  4208. "get": {
  4209. "security": [
  4210. {
  4211. "ApiKeyAuth": []
  4212. }
  4213. ],
  4214. "produces": [
  4215. "application/json"
  4216. ],
  4217. "tags": [
  4218. "企业风险管理v3(app)"
  4219. ],
  4220. "summary": "查询期货商品组",
  4221. "parameters": [
  4222. {
  4223. "type": "integer",
  4224. "description": "用户id",
  4225. "name": "userid",
  4226. "in": "query",
  4227. "required": true
  4228. },
  4229. {
  4230. "type": "integer",
  4231. "description": "用户类型 2-机构 7-企业成员",
  4232. "name": "usertype",
  4233. "in": "query"
  4234. },
  4235. {
  4236. "type": "integer",
  4237. "description": "排除套保品中已关联的商品组 1-排除",
  4238. "name": "excludecfg",
  4239. "in": "query"
  4240. }
  4241. ],
  4242. "responses": {
  4243. "200": {
  4244. "description": "OK",
  4245. "schema": {
  4246. "type": "array",
  4247. "items": {
  4248. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4249. }
  4250. }
  4251. },
  4252. "500": {
  4253. "description": "Internal Server Error",
  4254. "schema": {
  4255. "$ref": "#/definitions/app.Response"
  4256. }
  4257. }
  4258. }
  4259. }
  4260. },
  4261. "/Ermcp3/QueryGoodsWrstandard": {
  4262. "get": {
  4263. "security": [
  4264. {
  4265. "ApiKeyAuth": []
  4266. }
  4267. ],
  4268. "produces": [
  4269. "application/json"
  4270. ],
  4271. "tags": [
  4272. "企业风险管理v3(app)"
  4273. ],
  4274. "summary": "查询商品品类",
  4275. "parameters": [
  4276. {
  4277. "type": "integer",
  4278. "description": "用户id",
  4279. "name": "userid",
  4280. "in": "query",
  4281. "required": true
  4282. },
  4283. {
  4284. "type": "integer",
  4285. "description": "用户类型 2-机构 7-企业成员",
  4286. "name": "usertype",
  4287. "in": "query"
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "现货商品id",
  4292. "name": "deliverygoodsid",
  4293. "in": "query"
  4294. }
  4295. ],
  4296. "responses": {
  4297. "200": {
  4298. "description": "OK",
  4299. "schema": {
  4300. "type": "array",
  4301. "items": {
  4302. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4303. }
  4304. }
  4305. },
  4306. "500": {
  4307. "description": "Internal Server Error",
  4308. "schema": {
  4309. "$ref": "#/definitions/app.Response"
  4310. }
  4311. }
  4312. }
  4313. }
  4314. },
  4315. "/Ermcp3/QueryGoodsbrand": {
  4316. "get": {
  4317. "security": [
  4318. {
  4319. "ApiKeyAuth": []
  4320. }
  4321. ],
  4322. "produces": [
  4323. "application/json"
  4324. ],
  4325. "tags": [
  4326. "企业风险管理v3(app)"
  4327. ],
  4328. "summary": "查询商品品牌",
  4329. "parameters": [
  4330. {
  4331. "type": "integer",
  4332. "description": "用户id",
  4333. "name": "userid",
  4334. "in": "query",
  4335. "required": true
  4336. },
  4337. {
  4338. "type": "integer",
  4339. "description": "用户类型 2-机构 7-企业成员",
  4340. "name": "usertype",
  4341. "in": "query"
  4342. }
  4343. ],
  4344. "responses": {
  4345. "200": {
  4346. "description": "OK",
  4347. "schema": {
  4348. "type": "array",
  4349. "items": {
  4350. "$ref": "#/definitions/models.Ermcp3Brand"
  4351. }
  4352. }
  4353. },
  4354. "500": {
  4355. "description": "Internal Server Error",
  4356. "schema": {
  4357. "$ref": "#/definitions/app.Response"
  4358. }
  4359. }
  4360. }
  4361. }
  4362. },
  4363. "/Ermcp3/QueryHedgePlan": {
  4364. "get": {
  4365. "security": [
  4366. {
  4367. "ApiKeyAuth": []
  4368. }
  4369. ],
  4370. "produces": [
  4371. "application/json"
  4372. ],
  4373. "tags": [
  4374. "企业风险管理v3(app)"
  4375. ],
  4376. "summary": "查询套保计划",
  4377. "parameters": [
  4378. {
  4379. "type": "integer",
  4380. "description": "用户ID",
  4381. "name": "userid",
  4382. "in": "query",
  4383. "required": true
  4384. },
  4385. {
  4386. "type": "integer",
  4387. "description": "用户类型 2-机构 7-企业成员",
  4388. "name": "usertype",
  4389. "in": "query"
  4390. },
  4391. {
  4392. "type": "string",
  4393. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4394. "name": "hedgeplanstatus",
  4395. "in": "query",
  4396. "required": true
  4397. }
  4398. ],
  4399. "responses": {
  4400. "200": {
  4401. "description": "OK",
  4402. "schema": {
  4403. "type": "array",
  4404. "items": {
  4405. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4406. }
  4407. }
  4408. },
  4409. "500": {
  4410. "description": "Internal Server Error",
  4411. "schema": {
  4412. "$ref": "#/definitions/app.Response"
  4413. }
  4414. }
  4415. }
  4416. }
  4417. },
  4418. "/Ermcp3/QueryMiddleGoodsDetail": {
  4419. "get": {
  4420. "security": [
  4421. {
  4422. "ApiKeyAuth": []
  4423. }
  4424. ],
  4425. "produces": [
  4426. "application/json"
  4427. ],
  4428. "tags": [
  4429. "企业风险管理v3(app)"
  4430. ],
  4431. "summary": "查询套保品种详情(套保品种/商品详情)",
  4432. "parameters": [
  4433. {
  4434. "type": "integer",
  4435. "description": "用户id",
  4436. "name": "userid",
  4437. "in": "query",
  4438. "required": true
  4439. },
  4440. {
  4441. "type": "integer",
  4442. "description": "用户类型 2-机构 7-企业成员",
  4443. "name": "usertype",
  4444. "in": "query"
  4445. },
  4446. {
  4447. "type": "integer",
  4448. "description": "套保品种id",
  4449. "name": "middlegoodsid",
  4450. "in": "query"
  4451. }
  4452. ],
  4453. "responses": {
  4454. "200": {
  4455. "description": "OK",
  4456. "schema": {
  4457. "type": "array",
  4458. "items": {
  4459. "$ref": "#/definitions/models.TBMiddleGoods"
  4460. }
  4461. }
  4462. },
  4463. "500": {
  4464. "description": "Internal Server Error",
  4465. "schema": {
  4466. "$ref": "#/definitions/app.Response"
  4467. }
  4468. }
  4469. }
  4470. }
  4471. },
  4472. "/Ermcp3/QueryPaAreaAuditCfg": {
  4473. "get": {
  4474. "security": [
  4475. {
  4476. "ApiKeyAuth": []
  4477. }
  4478. ],
  4479. "produces": [
  4480. "application/json"
  4481. ],
  4482. "tags": [
  4483. "企业风险管理v3(app)"
  4484. ],
  4485. "summary": "查询审核设置",
  4486. "parameters": [
  4487. {
  4488. "type": "integer",
  4489. "description": "用户id",
  4490. "name": "userid",
  4491. "in": "query",
  4492. "required": true
  4493. }
  4494. ],
  4495. "responses": {
  4496. "200": {
  4497. "description": "OK",
  4498. "schema": {
  4499. "type": "array",
  4500. "items": {
  4501. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4502. }
  4503. }
  4504. },
  4505. "500": {
  4506. "description": "Internal Server Error",
  4507. "schema": {
  4508. "$ref": "#/definitions/app.Response"
  4509. }
  4510. }
  4511. }
  4512. }
  4513. },
  4514. "/Ermcp3/QueryPaAreaSubject": {
  4515. "get": {
  4516. "security": [
  4517. {
  4518. "ApiKeyAuth": []
  4519. }
  4520. ],
  4521. "produces": [
  4522. "application/json"
  4523. ],
  4524. "tags": [
  4525. "企业风险管理v3(app)"
  4526. ],
  4527. "summary": "查询交易主体",
  4528. "parameters": [
  4529. {
  4530. "type": "integer",
  4531. "description": "用户id",
  4532. "name": "userid",
  4533. "in": "query",
  4534. "required": true
  4535. },
  4536. {
  4537. "type": "integer",
  4538. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4539. "name": "subjectid",
  4540. "in": "query"
  4541. },
  4542. {
  4543. "type": "integer",
  4544. "description": "主体类型 - 1:交易主体 2:业务部门",
  4545. "name": "subjecttype",
  4546. "in": "query"
  4547. },
  4548. {
  4549. "type": "integer",
  4550. "description": "主体状态 - 1:正常 2: 停用",
  4551. "name": "subjectstatus",
  4552. "in": "query"
  4553. }
  4554. ],
  4555. "responses": {
  4556. "200": {
  4557. "description": "OK",
  4558. "schema": {
  4559. "type": "array",
  4560. "items": {
  4561. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4562. }
  4563. }
  4564. },
  4565. "500": {
  4566. "description": "Internal Server Error",
  4567. "schema": {
  4568. "$ref": "#/definitions/app.Response"
  4569. }
  4570. }
  4571. }
  4572. }
  4573. },
  4574. "/Ermcp3/QueryRootUserAccount": {
  4575. "get": {
  4576. "security": [
  4577. {
  4578. "ApiKeyAuth": []
  4579. }
  4580. ],
  4581. "produces": [
  4582. "application/json"
  4583. ],
  4584. "tags": [
  4585. "企业风险管理v3(app)"
  4586. ],
  4587. "summary": "查询顶级用户信息",
  4588. "parameters": [
  4589. {
  4590. "type": "integer",
  4591. "description": "用户ID",
  4592. "name": "userid",
  4593. "in": "query",
  4594. "required": true
  4595. }
  4596. ],
  4597. "responses": {
  4598. "200": {
  4599. "description": "OK",
  4600. "schema": {
  4601. "type": "array",
  4602. "items": {
  4603. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4604. }
  4605. }
  4606. },
  4607. "500": {
  4608. "description": "Internal Server Error",
  4609. "schema": {
  4610. "$ref": "#/definitions/app.Response"
  4611. }
  4612. }
  4613. }
  4614. }
  4615. },
  4616. "/Ermcp3/QuerySpotContract": {
  4617. "get": {
  4618. "security": [
  4619. {
  4620. "ApiKeyAuth": []
  4621. }
  4622. ],
  4623. "produces": [
  4624. "application/json"
  4625. ],
  4626. "tags": [
  4627. "企业风险管理v3(app)"
  4628. ],
  4629. "summary": "查询现货合同",
  4630. "parameters": [
  4631. {
  4632. "type": "integer",
  4633. "description": "用户id",
  4634. "name": "userid",
  4635. "in": "query",
  4636. "required": true
  4637. },
  4638. {
  4639. "type": "integer",
  4640. "description": "用户类型 2-机构 7-企业成员",
  4641. "name": "usertype",
  4642. "in": "query"
  4643. },
  4644. {
  4645. "type": "integer",
  4646. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4647. "name": "querytype",
  4648. "in": "query",
  4649. "required": true
  4650. },
  4651. {
  4652. "type": "string",
  4653. "description": "合同ID(SpotContractId)",
  4654. "name": "contractid",
  4655. "in": "query"
  4656. }
  4657. ],
  4658. "responses": {
  4659. "200": {
  4660. "description": "OK",
  4661. "schema": {
  4662. "type": "array",
  4663. "items": {
  4664. "$ref": "#/definitions/models.Ermcp3Contract"
  4665. }
  4666. }
  4667. },
  4668. "500": {
  4669. "description": "Internal Server Error",
  4670. "schema": {
  4671. "$ref": "#/definitions/app.Response"
  4672. }
  4673. }
  4674. }
  4675. }
  4676. },
  4677. "/Ermcp3/QuerySpotContractBS": {
  4678. "get": {
  4679. "security": [
  4680. {
  4681. "ApiKeyAuth": []
  4682. }
  4683. ],
  4684. "produces": [
  4685. "application/json"
  4686. ],
  4687. "tags": [
  4688. "企业风险管理v3(app)"
  4689. ],
  4690. "summary": "查询合同(采购/销售)",
  4691. "parameters": [
  4692. {
  4693. "type": "integer",
  4694. "description": "用户id",
  4695. "name": "userid",
  4696. "in": "query",
  4697. "required": true
  4698. },
  4699. {
  4700. "type": "integer",
  4701. "description": "用户类型 2-机构 7-企业成员",
  4702. "name": "usertype",
  4703. "in": "query"
  4704. },
  4705. {
  4706. "type": "integer",
  4707. "description": "合同类型 1-采购, -1-销售",
  4708. "name": "contracttype",
  4709. "in": "query",
  4710. "required": true
  4711. },
  4712. {
  4713. "type": "integer",
  4714. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4715. "name": "querytype",
  4716. "in": "query",
  4717. "required": true
  4718. },
  4719. {
  4720. "type": "string",
  4721. "description": "合同ID(SpotContractId)",
  4722. "name": "contractid",
  4723. "in": "query"
  4724. }
  4725. ],
  4726. "responses": {
  4727. "200": {
  4728. "description": "OK",
  4729. "schema": {
  4730. "type": "array",
  4731. "items": {
  4732. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4733. }
  4734. }
  4735. },
  4736. "500": {
  4737. "description": "Internal Server Error",
  4738. "schema": {
  4739. "$ref": "#/definitions/app.Response"
  4740. }
  4741. }
  4742. }
  4743. }
  4744. },
  4745. "/Ermcp3/QuerySpotGoodsPrice": {
  4746. "get": {
  4747. "security": [
  4748. {
  4749. "ApiKeyAuth": []
  4750. }
  4751. ],
  4752. "produces": [
  4753. "application/json"
  4754. ],
  4755. "tags": [
  4756. "企业风险管理v3(app)"
  4757. ],
  4758. "summary": "查询现货市价(现货市价)",
  4759. "parameters": [
  4760. {
  4761. "type": "integer",
  4762. "description": "用户ID",
  4763. "name": "userid",
  4764. "in": "query",
  4765. "required": true
  4766. }
  4767. ],
  4768. "responses": {
  4769. "200": {
  4770. "description": "OK",
  4771. "schema": {
  4772. "type": "array",
  4773. "items": {
  4774. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4775. }
  4776. }
  4777. },
  4778. "500": {
  4779. "description": "Internal Server Error",
  4780. "schema": {
  4781. "$ref": "#/definitions/app.Response"
  4782. }
  4783. }
  4784. }
  4785. }
  4786. },
  4787. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4788. "get": {
  4789. "security": [
  4790. {
  4791. "ApiKeyAuth": []
  4792. }
  4793. ],
  4794. "produces": [
  4795. "application/json"
  4796. ],
  4797. "tags": [
  4798. "企业风险管理v3(app)"
  4799. ],
  4800. "summary": "查询现货市价详情(现货市价/详情)",
  4801. "parameters": [
  4802. {
  4803. "type": "integer",
  4804. "description": "用户ID",
  4805. "name": "userid",
  4806. "in": "query",
  4807. "required": true
  4808. },
  4809. {
  4810. "type": "integer",
  4811. "description": "现货商品ID",
  4812. "name": "deliverygoodsid",
  4813. "in": "query",
  4814. "required": true
  4815. },
  4816. {
  4817. "type": "integer",
  4818. "description": "品牌ID",
  4819. "name": "brandid",
  4820. "in": "query"
  4821. },
  4822. {
  4823. "type": "integer",
  4824. "description": "品类ID",
  4825. "name": "wrstandardid",
  4826. "in": "query"
  4827. }
  4828. ],
  4829. "responses": {
  4830. "200": {
  4831. "description": "OK",
  4832. "schema": {
  4833. "type": "array",
  4834. "items": {
  4835. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4836. }
  4837. }
  4838. },
  4839. "500": {
  4840. "description": "Internal Server Error",
  4841. "schema": {
  4842. "$ref": "#/definitions/app.Response"
  4843. }
  4844. }
  4845. }
  4846. }
  4847. },
  4848. "/Erms2/QueryArbitrageStrategy": {
  4849. "get": {
  4850. "security": [
  4851. {
  4852. "ApiKeyAuth": []
  4853. }
  4854. ],
  4855. "produces": [
  4856. "application/json"
  4857. ],
  4858. "tags": [
  4859. "风险管理"
  4860. ],
  4861. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4862. "parameters": [
  4863. {
  4864. "type": "integer",
  4865. "description": "账户ID",
  4866. "name": "userid",
  4867. "in": "query",
  4868. "required": true
  4869. },
  4870. {
  4871. "type": "string",
  4872. "description": "商品组ID(品种ID)",
  4873. "name": "goodsgroupid",
  4874. "in": "query"
  4875. }
  4876. ],
  4877. "responses": {
  4878. "200": {
  4879. "description": "OK",
  4880. "schema": {
  4881. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4882. }
  4883. },
  4884. "500": {
  4885. "description": "Internal Server Error",
  4886. "schema": {
  4887. "$ref": "#/definitions/app.Response"
  4888. }
  4889. }
  4890. }
  4891. }
  4892. },
  4893. "/Erms2/QueryInnerTradeDetail": {
  4894. "get": {
  4895. "security": [
  4896. {
  4897. "ApiKeyAuth": []
  4898. }
  4899. ],
  4900. "produces": [
  4901. "application/json"
  4902. ],
  4903. "tags": [
  4904. "风险管理"
  4905. ],
  4906. "summary": "查询内部成交单信息",
  4907. "parameters": [
  4908. {
  4909. "type": "integer",
  4910. "description": "资金账户",
  4911. "name": "accountid",
  4912. "in": "query",
  4913. "required": true
  4914. }
  4915. ],
  4916. "responses": {
  4917. "200": {
  4918. "description": "OK",
  4919. "schema": {
  4920. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4921. }
  4922. },
  4923. "500": {
  4924. "description": "Internal Server Error",
  4925. "schema": {
  4926. "$ref": "#/definitions/app.Response"
  4927. }
  4928. }
  4929. }
  4930. }
  4931. },
  4932. "/Erms2/QuerySpotContract": {
  4933. "get": {
  4934. "security": [
  4935. {
  4936. "ApiKeyAuth": []
  4937. }
  4938. ],
  4939. "produces": [
  4940. "application/json"
  4941. ],
  4942. "tags": [
  4943. "风险管理"
  4944. ],
  4945. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4946. "parameters": [
  4947. {
  4948. "type": "integer",
  4949. "description": "策略申请ID",
  4950. "name": "asapplyid",
  4951. "in": "query",
  4952. "required": true
  4953. },
  4954. {
  4955. "type": "integer",
  4956. "description": "现货合同ID",
  4957. "name": "spotcontractid",
  4958. "in": "query"
  4959. }
  4960. ],
  4961. "responses": {
  4962. "200": {
  4963. "description": "OK",
  4964. "schema": {
  4965. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4966. }
  4967. },
  4968. "500": {
  4969. "description": "Internal Server Error",
  4970. "schema": {
  4971. "$ref": "#/definitions/app.Response"
  4972. }
  4973. }
  4974. }
  4975. }
  4976. },
  4977. "/Erms3/AddErms2ASApply": {
  4978. "post": {
  4979. "security": [
  4980. {
  4981. "ApiKeyAuth": []
  4982. }
  4983. ],
  4984. "produces": [
  4985. "application/json"
  4986. ],
  4987. "tags": [
  4988. "风险管理v3"
  4989. ],
  4990. "summary": "新增期现套利业务申请",
  4991. "parameters": [
  4992. {
  4993. "description": "申请参数",
  4994. "name": "jsonBody",
  4995. "in": "body",
  4996. "required": true,
  4997. "schema": {
  4998. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4999. }
  5000. }
  5001. ],
  5002. "responses": {
  5003. "200": {
  5004. "description": "OK",
  5005. "schema": {
  5006. "$ref": "#/definitions/app.Response"
  5007. }
  5008. },
  5009. "500": {
  5010. "description": "Internal Server Error",
  5011. "schema": {
  5012. "$ref": "#/definitions/app.Response"
  5013. }
  5014. }
  5015. }
  5016. }
  5017. },
  5018. "/Erms3/AddErms2SpotTradeApply": {
  5019. "post": {
  5020. "security": [
  5021. {
  5022. "ApiKeyAuth": []
  5023. }
  5024. ],
  5025. "produces": [
  5026. "application/json"
  5027. ],
  5028. "tags": [
  5029. "风险管理v3"
  5030. ],
  5031. "summary": "新增现货贸易业务申请",
  5032. "parameters": [
  5033. {
  5034. "description": "申请参数",
  5035. "name": "jsonBody",
  5036. "in": "body",
  5037. "required": true,
  5038. "schema": {
  5039. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5040. }
  5041. }
  5042. ],
  5043. "responses": {
  5044. "200": {
  5045. "description": "OK",
  5046. "schema": {
  5047. "$ref": "#/definitions/app.Response"
  5048. }
  5049. },
  5050. "500": {
  5051. "description": "Internal Server Error",
  5052. "schema": {
  5053. "$ref": "#/definitions/app.Response"
  5054. }
  5055. }
  5056. }
  5057. }
  5058. },
  5059. "/Erms3/AddSpotContractApply": {
  5060. "post": {
  5061. "security": [
  5062. {
  5063. "ApiKeyAuth": []
  5064. }
  5065. ],
  5066. "produces": [
  5067. "application/json"
  5068. ],
  5069. "tags": [
  5070. "风险管理v3"
  5071. ],
  5072. "summary": "新增现货合同申请",
  5073. "parameters": [
  5074. {
  5075. "description": "申请参数",
  5076. "name": "jsonBody",
  5077. "in": "body",
  5078. "required": true,
  5079. "schema": {
  5080. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5081. }
  5082. }
  5083. ],
  5084. "responses": {
  5085. "200": {
  5086. "description": "OK",
  5087. "schema": {
  5088. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5089. }
  5090. },
  5091. "500": {
  5092. "description": "Internal Server Error",
  5093. "schema": {
  5094. "$ref": "#/definitions/app.Response"
  5095. }
  5096. }
  5097. }
  5098. }
  5099. },
  5100. "/Erms3/AddUserInfoApply": {
  5101. "post": {
  5102. "security": [
  5103. {
  5104. "ApiKeyAuth": []
  5105. }
  5106. ],
  5107. "produces": [
  5108. "application/json"
  5109. ],
  5110. "tags": [
  5111. "风险管理v3"
  5112. ],
  5113. "summary": "新增客户申请",
  5114. "parameters": [
  5115. {
  5116. "description": "用户信息",
  5117. "name": "jsonBody",
  5118. "in": "body",
  5119. "required": true,
  5120. "schema": {
  5121. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5122. }
  5123. }
  5124. ],
  5125. "responses": {
  5126. "200": {
  5127. "description": "OK",
  5128. "schema": {
  5129. "$ref": "#/definitions/app.Response"
  5130. }
  5131. },
  5132. "500": {
  5133. "description": "Internal Server Error",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. }
  5138. }
  5139. }
  5140. },
  5141. "/Erms3/DeleteUserInfoApply": {
  5142. "get": {
  5143. "security": [
  5144. {
  5145. "ApiKeyAuth": []
  5146. }
  5147. ],
  5148. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5149. "produces": [
  5150. "application/json"
  5151. ],
  5152. "tags": [
  5153. "风险管理v3"
  5154. ],
  5155. "summary": "删除客户申请",
  5156. "parameters": [
  5157. {
  5158. "type": "integer",
  5159. "description": "用户ID",
  5160. "name": "userID",
  5161. "in": "query",
  5162. "required": true
  5163. }
  5164. ],
  5165. "responses": {
  5166. "200": {
  5167. "description": "OK",
  5168. "schema": {
  5169. "$ref": "#/definitions/app.Response"
  5170. }
  5171. },
  5172. "500": {
  5173. "description": "Internal Server Error",
  5174. "schema": {
  5175. "$ref": "#/definitions/app.Response"
  5176. }
  5177. }
  5178. }
  5179. }
  5180. },
  5181. "/Erms3/ModifyUserInfoApply": {
  5182. "post": {
  5183. "security": [
  5184. {
  5185. "ApiKeyAuth": []
  5186. }
  5187. ],
  5188. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5189. "produces": [
  5190. "application/json"
  5191. ],
  5192. "tags": [
  5193. "风险管理v3"
  5194. ],
  5195. "summary": "修改客户申请",
  5196. "parameters": [
  5197. {
  5198. "description": "用户信息",
  5199. "name": "jsonBody",
  5200. "in": "body",
  5201. "required": true,
  5202. "schema": {
  5203. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5204. }
  5205. }
  5206. ],
  5207. "responses": {
  5208. "200": {
  5209. "description": "OK",
  5210. "schema": {
  5211. "$ref": "#/definitions/app.Response"
  5212. }
  5213. },
  5214. "500": {
  5215. "description": "Internal Server Error",
  5216. "schema": {
  5217. "$ref": "#/definitions/app.Response"
  5218. }
  5219. }
  5220. }
  5221. }
  5222. },
  5223. "/Erms3/QueryBusinessInfo": {
  5224. "get": {
  5225. "security": [
  5226. {
  5227. "ApiKeyAuth": []
  5228. }
  5229. ],
  5230. "produces": [
  5231. "application/json"
  5232. ],
  5233. "tags": [
  5234. "风险管理v3"
  5235. ],
  5236. "summary": "查询业务表单数据",
  5237. "parameters": [
  5238. {
  5239. "type": "string",
  5240. "description": "资金账号ID列表,用逗号分隔",
  5241. "name": "accountids",
  5242. "in": "query",
  5243. "required": true
  5244. },
  5245. {
  5246. "type": "integer",
  5247. "description": "状态,0为未结束 1为已结束",
  5248. "name": "status",
  5249. "in": "query",
  5250. "required": true
  5251. }
  5252. ],
  5253. "responses": {
  5254. "200": {
  5255. "description": "OK",
  5256. "schema": {
  5257. "type": "array",
  5258. "items": {
  5259. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5260. }
  5261. }
  5262. },
  5263. "500": {
  5264. "description": "Internal Server Error",
  5265. "schema": {
  5266. "$ref": "#/definitions/app.Response"
  5267. }
  5268. }
  5269. }
  5270. }
  5271. },
  5272. "/Erms3/QueryPendingAuditContract": {
  5273. "get": {
  5274. "security": [
  5275. {
  5276. "ApiKeyAuth": []
  5277. }
  5278. ],
  5279. "produces": [
  5280. "application/json"
  5281. ],
  5282. "tags": [
  5283. "风险管理v3"
  5284. ],
  5285. "summary": "查询待审核合同",
  5286. "parameters": [
  5287. {
  5288. "type": "string",
  5289. "description": "资金账号ID列表,逗号隔开",
  5290. "name": "accountids",
  5291. "in": "query",
  5292. "required": true
  5293. },
  5294. {
  5295. "type": "integer",
  5296. "description": "合同类型 1-采购 -1-销售",
  5297. "name": "contracttype",
  5298. "in": "query",
  5299. "required": true
  5300. },
  5301. {
  5302. "type": "integer",
  5303. "description": "合同模式 1-普通 2-回购",
  5304. "name": "contractmode",
  5305. "in": "query",
  5306. "required": true
  5307. }
  5308. ],
  5309. "responses": {
  5310. "200": {
  5311. "description": "OK",
  5312. "schema": {
  5313. "type": "array",
  5314. "items": {
  5315. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5316. }
  5317. }
  5318. },
  5319. "500": {
  5320. "description": "Internal Server Error",
  5321. "schema": {
  5322. "$ref": "#/definitions/app.Response"
  5323. }
  5324. }
  5325. }
  5326. }
  5327. },
  5328. "/Erms3/QueryPendingBusiness": {
  5329. "get": {
  5330. "security": [
  5331. {
  5332. "ApiKeyAuth": []
  5333. }
  5334. ],
  5335. "produces": [
  5336. "application/json"
  5337. ],
  5338. "tags": [
  5339. "风险管理v3"
  5340. ],
  5341. "summary": "查询待审核基差贸易业务",
  5342. "parameters": [
  5343. {
  5344. "type": "string",
  5345. "description": "资金账号ID列表,逗号隔开",
  5346. "name": "accountids",
  5347. "in": "query",
  5348. "required": true
  5349. }
  5350. ],
  5351. "responses": {
  5352. "200": {
  5353. "description": "OK",
  5354. "schema": {
  5355. "type": "array",
  5356. "items": {
  5357. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5358. }
  5359. }
  5360. },
  5361. "500": {
  5362. "description": "Internal Server Error",
  5363. "schema": {
  5364. "$ref": "#/definitions/app.Response"
  5365. }
  5366. }
  5367. }
  5368. }
  5369. },
  5370. "/Erms3/QuerySpotContractAppleForm": {
  5371. "get": {
  5372. "security": [
  5373. {
  5374. "ApiKeyAuth": []
  5375. }
  5376. ],
  5377. "produces": [
  5378. "application/json"
  5379. ],
  5380. "tags": [
  5381. "风险管理v3"
  5382. ],
  5383. "summary": "查询合同申请表单数据",
  5384. "parameters": [
  5385. {
  5386. "type": "integer",
  5387. "description": "登录账号",
  5388. "name": "loginID",
  5389. "in": "query",
  5390. "required": true
  5391. }
  5392. ],
  5393. "responses": {
  5394. "200": {
  5395. "description": "OK",
  5396. "schema": {
  5397. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5398. }
  5399. },
  5400. "500": {
  5401. "description": "Internal Server Error",
  5402. "schema": {
  5403. "$ref": "#/definitions/app.Response"
  5404. }
  5405. }
  5406. }
  5407. }
  5408. },
  5409. "/Erms3/QuerySpotContractDetail": {
  5410. "get": {
  5411. "security": [
  5412. {
  5413. "ApiKeyAuth": []
  5414. }
  5415. ],
  5416. "produces": [
  5417. "application/json"
  5418. ],
  5419. "tags": [
  5420. "风险管理v3"
  5421. ],
  5422. "summary": "查询合同详细信息",
  5423. "parameters": [
  5424. {
  5425. "type": "string",
  5426. "description": "资金账号ID列表,用逗号分隔",
  5427. "name": "accountids",
  5428. "in": "query",
  5429. "required": true
  5430. },
  5431. {
  5432. "type": "integer",
  5433. "description": "合同类型,1为采购合同 -1为销售合同",
  5434. "name": "contracttype",
  5435. "in": "query",
  5436. "required": true
  5437. },
  5438. {
  5439. "type": "integer",
  5440. "description": "合同模式,1为普通合同 2为回购销售合同",
  5441. "name": "contractmode",
  5442. "in": "query",
  5443. "required": true
  5444. },
  5445. {
  5446. "type": "integer",
  5447. "description": "状态,0为履约中 1为已完成",
  5448. "name": "status",
  5449. "in": "query",
  5450. "required": true
  5451. }
  5452. ],
  5453. "responses": {
  5454. "200": {
  5455. "description": "OK",
  5456. "schema": {
  5457. "type": "array",
  5458. "items": {
  5459. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5460. }
  5461. }
  5462. },
  5463. "500": {
  5464. "description": "Internal Server Error",
  5465. "schema": {
  5466. "$ref": "#/definitions/app.Response"
  5467. }
  5468. }
  5469. }
  5470. }
  5471. },
  5472. "/Erms3/QueryUserInfoApplies": {
  5473. "get": {
  5474. "security": [
  5475. {
  5476. "ApiKeyAuth": []
  5477. }
  5478. ],
  5479. "produces": [
  5480. "application/json"
  5481. ],
  5482. "tags": [
  5483. "风险管理v3"
  5484. ],
  5485. "summary": "客户申请信息查询",
  5486. "parameters": [
  5487. {
  5488. "type": "integer",
  5489. "description": "页码",
  5490. "name": "page",
  5491. "in": "query"
  5492. },
  5493. {
  5494. "type": "integer",
  5495. "description": "每页条数",
  5496. "name": "pagesize",
  5497. "in": "query"
  5498. },
  5499. {
  5500. "type": "string",
  5501. "description": "客户名称,支持模糊查询",
  5502. "name": "userName",
  5503. "in": "query"
  5504. }
  5505. ],
  5506. "responses": {
  5507. "200": {
  5508. "description": "OK",
  5509. "schema": {
  5510. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5511. }
  5512. },
  5513. "500": {
  5514. "description": "Internal Server Error",
  5515. "schema": {
  5516. "$ref": "#/definitions/app.Response"
  5517. }
  5518. }
  5519. }
  5520. }
  5521. },
  5522. "/Erms3/QueryUserInfos": {
  5523. "get": {
  5524. "security": [
  5525. {
  5526. "ApiKeyAuth": []
  5527. }
  5528. ],
  5529. "produces": [
  5530. "application/json"
  5531. ],
  5532. "tags": [
  5533. "风险管理v3"
  5534. ],
  5535. "summary": "客户信息查询",
  5536. "parameters": [
  5537. {
  5538. "type": "integer",
  5539. "description": "页码",
  5540. "name": "page",
  5541. "in": "query"
  5542. },
  5543. {
  5544. "type": "integer",
  5545. "description": "每页条数",
  5546. "name": "pagesize",
  5547. "in": "query"
  5548. },
  5549. {
  5550. "type": "string",
  5551. "description": "客户名称,支持模糊查询",
  5552. "name": "userName",
  5553. "in": "query"
  5554. }
  5555. ],
  5556. "responses": {
  5557. "200": {
  5558. "description": "OK",
  5559. "schema": {
  5560. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5561. }
  5562. },
  5563. "500": {
  5564. "description": "Internal Server Error",
  5565. "schema": {
  5566. "$ref": "#/definitions/app.Response"
  5567. }
  5568. }
  5569. }
  5570. }
  5571. },
  5572. "/HSBY/GetHsbyMyCount": {
  5573. "get": {
  5574. "security": [
  5575. {
  5576. "ApiKeyAuth": []
  5577. }
  5578. ],
  5579. "description": "说明: 不包括已完成的数量。",
  5580. "produces": [
  5581. "application/json"
  5582. ],
  5583. "tags": [
  5584. "定制【海商报业】"
  5585. ],
  5586. "summary": "获取我的订单与包裹数量",
  5587. "parameters": [
  5588. {
  5589. "type": "string",
  5590. "description": "资金账户列表,格式:1,2,3",
  5591. "name": "accountIDs",
  5592. "in": "query",
  5593. "required": true
  5594. }
  5595. ],
  5596. "responses": {
  5597. "200": {
  5598. "description": "OK",
  5599. "schema": {
  5600. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5601. }
  5602. },
  5603. "500": {
  5604. "description": "Internal Server Error",
  5605. "schema": {
  5606. "$ref": "#/definitions/app.Response"
  5607. }
  5608. }
  5609. }
  5610. }
  5611. },
  5612. "/HSBY/QueryClientFixedADConfigs": {
  5613. "get": {
  5614. "security": [
  5615. {
  5616. "ApiKeyAuth": []
  5617. }
  5618. ],
  5619. "produces": [
  5620. "application/json"
  5621. ],
  5622. "tags": [
  5623. "定制【海商报业】"
  5624. ],
  5625. "summary": "获取终端固定广告配置",
  5626. "responses": {
  5627. "200": {
  5628. "description": "OK",
  5629. "schema": {
  5630. "$ref": "#/definitions/models.Clientfixedadconfig"
  5631. }
  5632. },
  5633. "500": {
  5634. "description": "Internal Server Error",
  5635. "schema": {
  5636. "$ref": "#/definitions/app.Response"
  5637. }
  5638. }
  5639. }
  5640. }
  5641. },
  5642. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5643. "get": {
  5644. "security": [
  5645. {
  5646. "ApiKeyAuth": []
  5647. }
  5648. ],
  5649. "produces": [
  5650. "application/json"
  5651. ],
  5652. "tags": [
  5653. "定制【海商报业】"
  5654. ],
  5655. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5656. "parameters": [
  5657. {
  5658. "type": "integer",
  5659. "description": "页码",
  5660. "name": "page",
  5661. "in": "query"
  5662. },
  5663. {
  5664. "type": "integer",
  5665. "description": "每页条数",
  5666. "name": "pagesize",
  5667. "in": "query"
  5668. },
  5669. {
  5670. "type": "string",
  5671. "description": "资金账户列表,格式:1,2,3",
  5672. "name": "accountIDs",
  5673. "in": "query",
  5674. "required": true
  5675. }
  5676. ],
  5677. "responses": {
  5678. "200": {
  5679. "description": "OK",
  5680. "schema": {
  5681. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5682. }
  5683. },
  5684. "500": {
  5685. "description": "Internal Server Error",
  5686. "schema": {
  5687. "$ref": "#/definitions/app.Response"
  5688. }
  5689. }
  5690. }
  5691. }
  5692. },
  5693. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5694. "get": {
  5695. "security": [
  5696. {
  5697. "ApiKeyAuth": []
  5698. }
  5699. ],
  5700. "description": "说明:查询结果已按委托价格和委托时间排序",
  5701. "produces": [
  5702. "application/json"
  5703. ],
  5704. "tags": [
  5705. "定制【海商报业】"
  5706. ],
  5707. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5708. "parameters": [
  5709. {
  5710. "type": "integer",
  5711. "description": "商品ID",
  5712. "name": "goodsID",
  5713. "in": "query",
  5714. "required": true
  5715. },
  5716. {
  5717. "type": "string",
  5718. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5719. "name": "accountIDs",
  5720. "in": "query"
  5721. },
  5722. {
  5723. "type": "integer",
  5724. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5725. "name": "buyOrSell",
  5726. "in": "query"
  5727. },
  5728. {
  5729. "type": "number",
  5730. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5731. "name": "price",
  5732. "in": "query"
  5733. },
  5734. {
  5735. "type": "integer",
  5736. "description": "档位,不传则默认为3档",
  5737. "name": "speed",
  5738. "in": "query"
  5739. }
  5740. ],
  5741. "responses": {
  5742. "200": {
  5743. "description": "OK",
  5744. "schema": {
  5745. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5746. }
  5747. },
  5748. "500": {
  5749. "description": "Internal Server Error",
  5750. "schema": {
  5751. "$ref": "#/definitions/app.Response"
  5752. }
  5753. }
  5754. }
  5755. }
  5756. },
  5757. "/HSBY/QueryHsbyListingGoodsDetail": {
  5758. "get": {
  5759. "security": [
  5760. {
  5761. "ApiKeyAuth": []
  5762. }
  5763. ],
  5764. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5765. "produces": [
  5766. "application/json"
  5767. ],
  5768. "tags": [
  5769. "定制【海商报业】"
  5770. ],
  5771. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5772. "parameters": [
  5773. {
  5774. "type": "integer",
  5775. "description": "商品ID",
  5776. "name": "goodsID",
  5777. "in": "query",
  5778. "required": true
  5779. },
  5780. {
  5781. "type": "integer",
  5782. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5783. "name": "accountID",
  5784. "in": "query"
  5785. }
  5786. ],
  5787. "responses": {
  5788. "200": {
  5789. "description": "OK",
  5790. "schema": {
  5791. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5792. }
  5793. },
  5794. "500": {
  5795. "description": "Internal Server Error",
  5796. "schema": {
  5797. "$ref": "#/definitions/app.Response"
  5798. }
  5799. }
  5800. }
  5801. }
  5802. },
  5803. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5804. "get": {
  5805. "security": [
  5806. {
  5807. "ApiKeyAuth": []
  5808. }
  5809. ],
  5810. "produces": [
  5811. "application/json"
  5812. ],
  5813. "tags": [
  5814. "定制【海商报业】"
  5815. ],
  5816. "summary": "查询三级市场(商城)商品信息详情",
  5817. "parameters": [
  5818. {
  5819. "type": "integer",
  5820. "description": "委托单号",
  5821. "name": "orderID",
  5822. "in": "query",
  5823. "required": true
  5824. },
  5825. {
  5826. "type": "integer",
  5827. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5828. "name": "accountID",
  5829. "in": "query"
  5830. }
  5831. ],
  5832. "responses": {
  5833. "200": {
  5834. "description": "OK",
  5835. "schema": {
  5836. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5837. }
  5838. },
  5839. "500": {
  5840. "description": "Internal Server Error",
  5841. "schema": {
  5842. "$ref": "#/definitions/app.Response"
  5843. }
  5844. }
  5845. }
  5846. }
  5847. },
  5848. "/HSBY/QueryHsbyMarketGoodses": {
  5849. "get": {
  5850. "security": [
  5851. {
  5852. "ApiKeyAuth": []
  5853. }
  5854. ],
  5855. "produces": [
  5856. "application/json"
  5857. ],
  5858. "tags": [
  5859. "定制【海商报业】"
  5860. ],
  5861. "summary": "查询特卖商品列表(三级商城)",
  5862. "parameters": [
  5863. {
  5864. "type": "integer",
  5865. "description": "页码",
  5866. "name": "page",
  5867. "in": "query"
  5868. },
  5869. {
  5870. "type": "integer",
  5871. "description": "每页条数",
  5872. "name": "pagesize",
  5873. "in": "query"
  5874. },
  5875. {
  5876. "type": "string",
  5877. "description": "市场ID列表,格式:1,2,3",
  5878. "name": "marketIDs",
  5879. "in": "query",
  5880. "required": true
  5881. },
  5882. {
  5883. "type": "integer",
  5884. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5885. "name": "accountID",
  5886. "in": "query",
  5887. "required": true
  5888. },
  5889. {
  5890. "type": "integer",
  5891. "description": "类别ID",
  5892. "name": "categoryID",
  5893. "in": "query"
  5894. },
  5895. {
  5896. "type": "string",
  5897. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5898. "name": "goodsIDs",
  5899. "in": "query"
  5900. },
  5901. {
  5902. "type": "integer",
  5903. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5904. "name": "couponTypeID",
  5905. "in": "query"
  5906. }
  5907. ],
  5908. "responses": {
  5909. "200": {
  5910. "description": "OK",
  5911. "schema": {
  5912. "$ref": "#/definitions/models.HsbyMarketGoods"
  5913. }
  5914. },
  5915. "500": {
  5916. "description": "Internal Server Error",
  5917. "schema": {
  5918. "$ref": "#/definitions/app.Response"
  5919. }
  5920. }
  5921. }
  5922. }
  5923. },
  5924. "/HSBY/QueryHsbyMarkets": {
  5925. "get": {
  5926. "security": [
  5927. {
  5928. "ApiKeyAuth": []
  5929. }
  5930. ],
  5931. "produces": [
  5932. "application/json"
  5933. ],
  5934. "tags": [
  5935. "定制【海商报业】"
  5936. ],
  5937. "summary": "查询海商报业相关市场信息",
  5938. "responses": {
  5939. "200": {
  5940. "description": "OK",
  5941. "schema": {
  5942. "$ref": "#/definitions/models.HsbyMarketInfo"
  5943. }
  5944. },
  5945. "500": {
  5946. "description": "Internal Server Error",
  5947. "schema": {
  5948. "$ref": "#/definitions/app.Response"
  5949. }
  5950. }
  5951. }
  5952. }
  5953. },
  5954. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5955. "get": {
  5956. "security": [
  5957. {
  5958. "ApiKeyAuth": []
  5959. }
  5960. ],
  5961. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5962. "produces": [
  5963. "application/json"
  5964. ],
  5965. "tags": [
  5966. "定制【海商报业】"
  5967. ],
  5968. "summary": "查询“我的订单”信息",
  5969. "parameters": [
  5970. {
  5971. "type": "string",
  5972. "description": "资金账户列表,格式:1,2,3",
  5973. "name": "accountIDs",
  5974. "in": "query",
  5975. "required": true
  5976. }
  5977. ],
  5978. "responses": {
  5979. "200": {
  5980. "description": "OK",
  5981. "schema": {
  5982. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5983. }
  5984. },
  5985. "500": {
  5986. "description": "Internal Server Error",
  5987. "schema": {
  5988. "$ref": "#/definitions/app.Response"
  5989. }
  5990. }
  5991. }
  5992. }
  5993. },
  5994. "/HSBY/QueryHsbyMyGoods": {
  5995. "get": {
  5996. "security": [
  5997. {
  5998. "ApiKeyAuth": []
  5999. }
  6000. ],
  6001. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6002. "produces": [
  6003. "application/json"
  6004. ],
  6005. "tags": [
  6006. "定制【海商报业】"
  6007. ],
  6008. "summary": "查询“我的商品”信息",
  6009. "parameters": [
  6010. {
  6011. "type": "string",
  6012. "description": "资金账户列表,格式:1,2,3",
  6013. "name": "accountIDs",
  6014. "in": "query",
  6015. "required": true
  6016. }
  6017. ],
  6018. "responses": {
  6019. "200": {
  6020. "description": "OK",
  6021. "schema": {
  6022. "$ref": "#/definitions/models.HsbyMyGoods"
  6023. }
  6024. },
  6025. "500": {
  6026. "description": "Internal Server Error",
  6027. "schema": {
  6028. "$ref": "#/definitions/app.Response"
  6029. }
  6030. }
  6031. }
  6032. }
  6033. },
  6034. "/HSBY/QueryHsbyMyPackages": {
  6035. "get": {
  6036. "security": [
  6037. {
  6038. "ApiKeyAuth": []
  6039. }
  6040. ],
  6041. "produces": [
  6042. "application/json"
  6043. ],
  6044. "tags": [
  6045. "定制【海商报业】"
  6046. ],
  6047. "summary": "查询我的包裹信息",
  6048. "parameters": [
  6049. {
  6050. "type": "string",
  6051. "description": "资金账户列表,格式:1,2,3",
  6052. "name": "accountIDs",
  6053. "in": "query",
  6054. "required": true
  6055. },
  6056. {
  6057. "type": "integer",
  6058. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6059. "name": "takeOrderStatus",
  6060. "in": "query"
  6061. }
  6062. ],
  6063. "responses": {
  6064. "200": {
  6065. "description": "OK",
  6066. "schema": {
  6067. "$ref": "#/definitions/models.HsbyMyPackage"
  6068. }
  6069. },
  6070. "500": {
  6071. "description": "Internal Server Error",
  6072. "schema": {
  6073. "$ref": "#/definitions/app.Response"
  6074. }
  6075. }
  6076. }
  6077. }
  6078. },
  6079. "/HSBY/QueryHsbyPreGoodsDetail": {
  6080. "get": {
  6081. "security": [
  6082. {
  6083. "ApiKeyAuth": []
  6084. }
  6085. ],
  6086. "produces": [
  6087. "application/json"
  6088. ],
  6089. "tags": [
  6090. "定制【海商报业】"
  6091. ],
  6092. "summary": "查询一级市场(预售)商品信息详情",
  6093. "parameters": [
  6094. {
  6095. "type": "integer",
  6096. "description": "商品ID",
  6097. "name": "goodsID",
  6098. "in": "query",
  6099. "required": true
  6100. },
  6101. {
  6102. "type": "integer",
  6103. "description": "资金账户,主要用于获取预售商品购买上限",
  6104. "name": "accountID",
  6105. "in": "query"
  6106. }
  6107. ],
  6108. "responses": {
  6109. "200": {
  6110. "description": "OK",
  6111. "schema": {
  6112. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6113. }
  6114. },
  6115. "500": {
  6116. "description": "Internal Server Error",
  6117. "schema": {
  6118. "$ref": "#/definitions/app.Response"
  6119. }
  6120. }
  6121. }
  6122. }
  6123. },
  6124. "/HSBY/QueryHsbyPreGoodses": {
  6125. "get": {
  6126. "security": [
  6127. {
  6128. "ApiKeyAuth": []
  6129. }
  6130. ],
  6131. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6132. "produces": [
  6133. "application/json"
  6134. ],
  6135. "tags": [
  6136. "定制【海商报业】"
  6137. ],
  6138. "summary": "查询新品上市商品列表(一级市场预售)",
  6139. "parameters": [
  6140. {
  6141. "type": "integer",
  6142. "description": "页码",
  6143. "name": "page",
  6144. "in": "query"
  6145. },
  6146. {
  6147. "type": "integer",
  6148. "description": "每页条数",
  6149. "name": "pagesize",
  6150. "in": "query"
  6151. },
  6152. {
  6153. "type": "string",
  6154. "description": "市场ID列表,格式:1,2,3",
  6155. "name": "marketIDs",
  6156. "in": "query",
  6157. "required": true
  6158. },
  6159. {
  6160. "type": "integer",
  6161. "description": "目的地(省)ID",
  6162. "name": "descProvinceID",
  6163. "in": "query"
  6164. },
  6165. {
  6166. "type": "integer",
  6167. "description": "目的地(市)ID",
  6168. "name": "descCityID",
  6169. "in": "query"
  6170. }
  6171. ],
  6172. "responses": {
  6173. "200": {
  6174. "description": "OK",
  6175. "schema": {
  6176. "$ref": "#/definitions/models.HsbyPreGoods"
  6177. }
  6178. },
  6179. "500": {
  6180. "description": "Internal Server Error",
  6181. "schema": {
  6182. "$ref": "#/definitions/app.Response"
  6183. }
  6184. }
  6185. }
  6186. }
  6187. },
  6188. "/HSBY/QueryHsbySellMyDetails": {
  6189. "get": {
  6190. "security": [
  6191. {
  6192. "ApiKeyAuth": []
  6193. }
  6194. ],
  6195. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6196. "produces": [
  6197. "application/json"
  6198. ],
  6199. "tags": [
  6200. "定制【海商报业】"
  6201. ],
  6202. "summary": "查询\"我的闲置\"单据信息",
  6203. "parameters": [
  6204. {
  6205. "type": "integer",
  6206. "description": "页码",
  6207. "name": "page",
  6208. "in": "query"
  6209. },
  6210. {
  6211. "type": "integer",
  6212. "description": "每页条数",
  6213. "name": "pagesize",
  6214. "in": "query"
  6215. },
  6216. {
  6217. "type": "string",
  6218. "description": "资金账户列表,格式:1,2,3",
  6219. "name": "accountIDs",
  6220. "in": "query",
  6221. "required": true
  6222. },
  6223. {
  6224. "type": "integer",
  6225. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6226. "name": "orderType",
  6227. "in": "query"
  6228. }
  6229. ],
  6230. "responses": {
  6231. "200": {
  6232. "description": "OK",
  6233. "schema": {
  6234. "$ref": "#/definitions/models.HsbySellMyDetail"
  6235. }
  6236. },
  6237. "500": {
  6238. "description": "Internal Server Error",
  6239. "schema": {
  6240. "$ref": "#/definitions/app.Response"
  6241. }
  6242. }
  6243. }
  6244. }
  6245. },
  6246. "/HSBY/QueryHsbyTopGoodses": {
  6247. "get": {
  6248. "security": [
  6249. {
  6250. "ApiKeyAuth": []
  6251. }
  6252. ],
  6253. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6254. "produces": [
  6255. "application/json"
  6256. ],
  6257. "tags": [
  6258. "定制【海商报业】"
  6259. ],
  6260. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6261. "parameters": [
  6262. {
  6263. "type": "integer",
  6264. "description": "页码",
  6265. "name": "page",
  6266. "in": "query"
  6267. },
  6268. {
  6269. "type": "integer",
  6270. "description": "每页条数",
  6271. "name": "pagesize",
  6272. "in": "query"
  6273. },
  6274. {
  6275. "type": "string",
  6276. "description": "市场ID列表,格式:1,2,3",
  6277. "name": "marketIDs",
  6278. "in": "query",
  6279. "required": true
  6280. },
  6281. {
  6282. "type": "integer",
  6283. "description": "目的地(省)ID",
  6284. "name": "descProvinceID",
  6285. "in": "query"
  6286. },
  6287. {
  6288. "type": "integer",
  6289. "description": "目的地(市)ID",
  6290. "name": "descCityID",
  6291. "in": "query"
  6292. }
  6293. ],
  6294. "responses": {
  6295. "200": {
  6296. "description": "OK",
  6297. "schema": {
  6298. "$ref": "#/definitions/models.HsbyTopGoods"
  6299. }
  6300. },
  6301. "500": {
  6302. "description": "Internal Server Error",
  6303. "schema": {
  6304. "$ref": "#/definitions/app.Response"
  6305. }
  6306. }
  6307. }
  6308. }
  6309. },
  6310. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6311. "get": {
  6312. "security": [
  6313. {
  6314. "ApiKeyAuth": []
  6315. }
  6316. ],
  6317. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6318. "produces": [
  6319. "application/json"
  6320. ],
  6321. "tags": [
  6322. "定制【海商报业】"
  6323. ],
  6324. "summary": "查询游客三级市场(商城)商品信息详情",
  6325. "parameters": [
  6326. {
  6327. "type": "integer",
  6328. "description": "商品ID",
  6329. "name": "goodsID",
  6330. "in": "query",
  6331. "required": true
  6332. }
  6333. ],
  6334. "responses": {
  6335. "200": {
  6336. "description": "OK",
  6337. "schema": {
  6338. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6339. }
  6340. },
  6341. "500": {
  6342. "description": "Internal Server Error",
  6343. "schema": {
  6344. "$ref": "#/definitions/app.Response"
  6345. }
  6346. }
  6347. }
  6348. }
  6349. },
  6350. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6351. "get": {
  6352. "security": [
  6353. {
  6354. "ApiKeyAuth": []
  6355. }
  6356. ],
  6357. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6358. "produces": [
  6359. "application/json"
  6360. ],
  6361. "tags": [
  6362. "定制【海商报业】"
  6363. ],
  6364. "summary": "查询游客特卖商品列表(三级商城)",
  6365. "parameters": [
  6366. {
  6367. "type": "integer",
  6368. "description": "页码",
  6369. "name": "page",
  6370. "in": "query"
  6371. },
  6372. {
  6373. "type": "integer",
  6374. "description": "每页条数",
  6375. "name": "pagesize",
  6376. "in": "query"
  6377. },
  6378. {
  6379. "type": "string",
  6380. "description": "市场ID列表,格式:1,2,3",
  6381. "name": "marketIDs",
  6382. "in": "query",
  6383. "required": true
  6384. },
  6385. {
  6386. "type": "integer",
  6387. "description": "类别ID",
  6388. "name": "categoryID",
  6389. "in": "query"
  6390. },
  6391. {
  6392. "type": "string",
  6393. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6394. "name": "goodsIDs",
  6395. "in": "query"
  6396. }
  6397. ],
  6398. "responses": {
  6399. "200": {
  6400. "description": "OK",
  6401. "schema": {
  6402. "$ref": "#/definitions/models.HsbyMarketGoods"
  6403. }
  6404. },
  6405. "500": {
  6406. "description": "Internal Server Error",
  6407. "schema": {
  6408. "$ref": "#/definitions/app.Response"
  6409. }
  6410. }
  6411. }
  6412. }
  6413. },
  6414. "/HSBY/QueryMyCollectionOrders": {
  6415. "get": {
  6416. "security": [
  6417. {
  6418. "ApiKeyAuth": []
  6419. }
  6420. ],
  6421. "produces": [
  6422. "application/json"
  6423. ],
  6424. "tags": [
  6425. "定制【海商报业】"
  6426. ],
  6427. "summary": "我的闲置中收款信息查询",
  6428. "parameters": [
  6429. {
  6430. "type": "integer",
  6431. "description": "页码",
  6432. "name": "page",
  6433. "in": "query"
  6434. },
  6435. {
  6436. "type": "integer",
  6437. "description": "每页条数",
  6438. "name": "pagesize",
  6439. "in": "query"
  6440. },
  6441. {
  6442. "type": "string",
  6443. "description": "资金账户,格式:1,2,3",
  6444. "name": "accountIDs",
  6445. "in": "query",
  6446. "required": true
  6447. }
  6448. ],
  6449. "responses": {
  6450. "200": {
  6451. "description": "OK",
  6452. "schema": {
  6453. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6454. }
  6455. },
  6456. "500": {
  6457. "description": "Internal Server Error",
  6458. "schema": {
  6459. "$ref": "#/definitions/app.Response"
  6460. }
  6461. }
  6462. }
  6463. }
  6464. },
  6465. "/HSBY/QueryMyCouponHolds": {
  6466. "get": {
  6467. "security": [
  6468. {
  6469. "ApiKeyAuth": []
  6470. }
  6471. ],
  6472. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6473. "produces": [
  6474. "application/json"
  6475. ],
  6476. "tags": [
  6477. "定制【海商报业】"
  6478. ],
  6479. "summary": "我的优惠卷持仓查询",
  6480. "parameters": [
  6481. {
  6482. "type": "string",
  6483. "description": "资金账户列表,格式:1,2,3",
  6484. "name": "accountIDs",
  6485. "in": "query",
  6486. "required": true
  6487. },
  6488. {
  6489. "type": "string",
  6490. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6491. "name": "holdStatus",
  6492. "in": "query"
  6493. }
  6494. ],
  6495. "responses": {
  6496. "200": {
  6497. "description": "OK",
  6498. "schema": {
  6499. "$ref": "#/definitions/models.MyCouponHold"
  6500. }
  6501. },
  6502. "500": {
  6503. "description": "Internal Server Error",
  6504. "schema": {
  6505. "$ref": "#/definitions/app.Response"
  6506. }
  6507. }
  6508. }
  6509. }
  6510. },
  6511. "/HSBY/QueryMyCoupons": {
  6512. "get": {
  6513. "security": [
  6514. {
  6515. "ApiKeyAuth": []
  6516. }
  6517. ],
  6518. "produces": [
  6519. "application/json"
  6520. ],
  6521. "tags": [
  6522. "定制【海商报业】"
  6523. ],
  6524. "summary": "我的优惠卷查询",
  6525. "parameters": [
  6526. {
  6527. "type": "string",
  6528. "description": "资金账户列表,格式:1,2,3",
  6529. "name": "accountIDs",
  6530. "in": "query",
  6531. "required": true
  6532. },
  6533. {
  6534. "type": "integer",
  6535. "description": "商品ID, 一般与sellUserID配套传入",
  6536. "name": "goodsID",
  6537. "in": "query"
  6538. },
  6539. {
  6540. "type": "integer",
  6541. "description": "卖方UserID",
  6542. "name": "sellUserID",
  6543. "in": "query"
  6544. }
  6545. ],
  6546. "responses": {
  6547. "200": {
  6548. "description": "OK",
  6549. "schema": {
  6550. "$ref": "#/definitions/models.MyCoupon"
  6551. }
  6552. },
  6553. "500": {
  6554. "description": "Internal Server Error",
  6555. "schema": {
  6556. "$ref": "#/definitions/app.Response"
  6557. }
  6558. }
  6559. }
  6560. }
  6561. },
  6562. "/HSBY/QueryMyPayOrders": {
  6563. "get": {
  6564. "security": [
  6565. {
  6566. "ApiKeyAuth": []
  6567. }
  6568. ],
  6569. "produces": [
  6570. "application/json"
  6571. ],
  6572. "tags": [
  6573. "定制【海商报业】"
  6574. ],
  6575. "summary": "获取我的订单中待付款信息",
  6576. "parameters": [
  6577. {
  6578. "type": "integer",
  6579. "description": "页码",
  6580. "name": "page",
  6581. "in": "query"
  6582. },
  6583. {
  6584. "type": "integer",
  6585. "description": "每页条数",
  6586. "name": "pagesize",
  6587. "in": "query"
  6588. },
  6589. {
  6590. "type": "string",
  6591. "description": "资金账户列表,格式:1,2,3",
  6592. "name": "accountIDs",
  6593. "in": "query",
  6594. "required": true
  6595. },
  6596. {
  6597. "type": "integer",
  6598. "description": "买方委托单号",
  6599. "name": "buyOrderID",
  6600. "in": "query"
  6601. },
  6602. {
  6603. "type": "integer",
  6604. "description": "卖方委托单号",
  6605. "name": "sellOrderID",
  6606. "in": "query"
  6607. }
  6608. ],
  6609. "responses": {
  6610. "200": {
  6611. "description": "OK",
  6612. "schema": {
  6613. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6614. }
  6615. },
  6616. "500": {
  6617. "description": "Internal Server Error",
  6618. "schema": {
  6619. "$ref": "#/definitions/app.Response"
  6620. }
  6621. }
  6622. }
  6623. }
  6624. },
  6625. "/HSBY/QueryMyUsedCoupon": {
  6626. "get": {
  6627. "security": [
  6628. {
  6629. "ApiKeyAuth": []
  6630. }
  6631. ],
  6632. "produces": [
  6633. "application/json"
  6634. ],
  6635. "tags": [
  6636. "定制【海商报业】"
  6637. ],
  6638. "summary": "已使用优惠卷查询",
  6639. "parameters": [
  6640. {
  6641. "type": "string",
  6642. "description": "资金账户列表,格式:1,2,3",
  6643. "name": "accountIDs",
  6644. "in": "query",
  6645. "required": true
  6646. }
  6647. ],
  6648. "responses": {
  6649. "200": {
  6650. "description": "OK",
  6651. "schema": {
  6652. "$ref": "#/definitions/models.MyUsedCoupon"
  6653. }
  6654. },
  6655. "500": {
  6656. "description": "Internal Server Error",
  6657. "schema": {
  6658. "$ref": "#/definitions/app.Response"
  6659. }
  6660. }
  6661. }
  6662. }
  6663. },
  6664. "/HSBY/QueryProvincesAndCities": {
  6665. "get": {
  6666. "security": [
  6667. {
  6668. "ApiKeyAuth": []
  6669. }
  6670. ],
  6671. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6672. "produces": [
  6673. "application/json"
  6674. ],
  6675. "tags": [
  6676. "定制【海商报业】"
  6677. ],
  6678. "summary": "查询省市信息(不包括区)",
  6679. "parameters": [
  6680. {
  6681. "type": "integer",
  6682. "description": "省ID",
  6683. "name": "provinceID",
  6684. "in": "query"
  6685. }
  6686. ],
  6687. "responses": {
  6688. "200": {
  6689. "description": "OK",
  6690. "schema": {
  6691. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6692. }
  6693. },
  6694. "500": {
  6695. "description": "Internal Server Error",
  6696. "schema": {
  6697. "$ref": "#/definitions/app.Response"
  6698. }
  6699. }
  6700. }
  6701. }
  6702. },
  6703. "/HSBY/SetHsbyMyPackagesStatus": {
  6704. "post": {
  6705. "security": [
  6706. {
  6707. "ApiKeyAuth": []
  6708. }
  6709. ],
  6710. "produces": [
  6711. "application/json"
  6712. ],
  6713. "tags": [
  6714. "定制【海商报业】"
  6715. ],
  6716. "summary": "设置我的包裹已收货状态",
  6717. "parameters": [
  6718. {
  6719. "type": "string",
  6720. "description": "提货单号",
  6721. "name": "takeOrderID",
  6722. "in": "query",
  6723. "required": true
  6724. },
  6725. {
  6726. "type": "integer",
  6727. "description": "资金账号",
  6728. "name": "accountID",
  6729. "in": "query",
  6730. "required": true
  6731. }
  6732. ],
  6733. "responses": {
  6734. "200": {
  6735. "description": "OK",
  6736. "schema": {
  6737. "$ref": "#/definitions/app.Response"
  6738. }
  6739. },
  6740. "500": {
  6741. "description": "Internal Server Error",
  6742. "schema": {
  6743. "$ref": "#/definitions/app.Response"
  6744. }
  6745. }
  6746. }
  6747. }
  6748. },
  6749. "/Market/GetAllExExchanges": {
  6750. "get": {
  6751. "security": [
  6752. {
  6753. "ApiKeyAuth": []
  6754. }
  6755. ],
  6756. "produces": [
  6757. "application/json"
  6758. ],
  6759. "tags": [
  6760. "通用市场"
  6761. ],
  6762. "summary": "获取所有外部交易所信息",
  6763. "responses": {
  6764. "200": {
  6765. "description": "OK",
  6766. "schema": {
  6767. "$ref": "#/definitions/models.Goods"
  6768. }
  6769. },
  6770. "500": {
  6771. "description": "Internal Server Error",
  6772. "schema": {
  6773. "$ref": "#/definitions/app.Response"
  6774. }
  6775. }
  6776. }
  6777. }
  6778. },
  6779. "/Market/QueryGoodsesByLoginID": {
  6780. "get": {
  6781. "security": [
  6782. {
  6783. "ApiKeyAuth": []
  6784. }
  6785. ],
  6786. "produces": [
  6787. "application/json"
  6788. ],
  6789. "tags": [
  6790. "通用市场"
  6791. ],
  6792. "summary": "获取登录账号有权限的商品信息",
  6793. "parameters": [
  6794. {
  6795. "type": "integer",
  6796. "description": "登录账号",
  6797. "name": "loginID",
  6798. "in": "query",
  6799. "required": true
  6800. },
  6801. {
  6802. "type": "string",
  6803. "description": "市场ID列表,格式:1,2,3",
  6804. "name": "marketIDs",
  6805. "in": "query"
  6806. }
  6807. ],
  6808. "responses": {
  6809. "200": {
  6810. "description": "OK",
  6811. "schema": {
  6812. "$ref": "#/definitions/models.Goods"
  6813. }
  6814. },
  6815. "500": {
  6816. "description": "Internal Server Error",
  6817. "schema": {
  6818. "$ref": "#/definitions/app.Response"
  6819. }
  6820. }
  6821. }
  6822. }
  6823. },
  6824. "/Market/QueryMarketRun": {
  6825. "get": {
  6826. "security": [
  6827. {
  6828. "ApiKeyAuth": []
  6829. }
  6830. ],
  6831. "produces": [
  6832. "application/json"
  6833. ],
  6834. "tags": [
  6835. "通用市场"
  6836. ],
  6837. "summary": "查询市场运行信息",
  6838. "parameters": [
  6839. {
  6840. "type": "integer",
  6841. "description": "市场ID,不传返回所有",
  6842. "name": "marketID",
  6843. "in": "query"
  6844. }
  6845. ],
  6846. "responses": {
  6847. "200": {
  6848. "description": "OK",
  6849. "schema": {
  6850. "$ref": "#/definitions/models.Marketrun"
  6851. }
  6852. },
  6853. "500": {
  6854. "description": "Internal Server Error",
  6855. "schema": {
  6856. "$ref": "#/definitions/app.Response"
  6857. }
  6858. }
  6859. }
  6860. }
  6861. },
  6862. "/Market/QueryMarketsByLoginID": {
  6863. "get": {
  6864. "security": [
  6865. {
  6866. "ApiKeyAuth": []
  6867. }
  6868. ],
  6869. "produces": [
  6870. "application/json"
  6871. ],
  6872. "tags": [
  6873. "通用市场"
  6874. ],
  6875. "summary": "获取登录账号有权限的市场信息",
  6876. "parameters": [
  6877. {
  6878. "type": "integer",
  6879. "description": "登录账号",
  6880. "name": "loginID",
  6881. "in": "query",
  6882. "required": true
  6883. }
  6884. ],
  6885. "responses": {
  6886. "200": {
  6887. "description": "OK",
  6888. "schema": {
  6889. "$ref": "#/definitions/models.Market"
  6890. }
  6891. },
  6892. "500": {
  6893. "description": "Internal Server Error",
  6894. "schema": {
  6895. "$ref": "#/definitions/app.Response"
  6896. }
  6897. }
  6898. }
  6899. }
  6900. },
  6901. "/Order/QueryHisTradeDetail": {
  6902. "get": {
  6903. "security": [
  6904. {
  6905. "ApiKeyAuth": []
  6906. }
  6907. ],
  6908. "produces": [
  6909. "application/json"
  6910. ],
  6911. "tags": [
  6912. "通用单据"
  6913. ],
  6914. "summary": "历史成交单查询(合约市场)",
  6915. "parameters": [
  6916. {
  6917. "type": "string",
  6918. "description": "资金账户 - 格式:1,2,3",
  6919. "name": "accountID",
  6920. "in": "query",
  6921. "required": true
  6922. },
  6923. {
  6924. "type": "integer",
  6925. "description": "成交单号",
  6926. "name": "tradeID",
  6927. "in": "query"
  6928. },
  6929. {
  6930. "type": "integer",
  6931. "description": "委托单号",
  6932. "name": "orderID",
  6933. "in": "query"
  6934. },
  6935. {
  6936. "type": "integer",
  6937. "description": "商品ID",
  6938. "name": "goodsID",
  6939. "in": "query"
  6940. },
  6941. {
  6942. "type": "string",
  6943. "description": "交易模式 - 格式:1,2,3",
  6944. "name": "tradeMode",
  6945. "in": "query"
  6946. },
  6947. {
  6948. "type": "integer",
  6949. "description": "委托单据类型",
  6950. "name": "buildType",
  6951. "in": "query"
  6952. },
  6953. {
  6954. "type": "string",
  6955. "description": "成交类别 - 格式:1,2,3",
  6956. "name": "tradeType",
  6957. "in": "query"
  6958. },
  6959. {
  6960. "type": "string",
  6961. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6962. "name": "startDate",
  6963. "in": "query"
  6964. },
  6965. {
  6966. "type": "string",
  6967. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6968. "name": "endDate",
  6969. "in": "query"
  6970. }
  6971. ],
  6972. "responses": {
  6973. "200": {
  6974. "description": "OK",
  6975. "schema": {
  6976. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6977. }
  6978. },
  6979. "500": {
  6980. "description": "Internal Server Error",
  6981. "schema": {
  6982. "$ref": "#/definitions/app.Response"
  6983. }
  6984. }
  6985. }
  6986. }
  6987. },
  6988. "/Order/QueryHisTradeOrderDetail": {
  6989. "get": {
  6990. "security": [
  6991. {
  6992. "ApiKeyAuth": []
  6993. }
  6994. ],
  6995. "produces": [
  6996. "application/json"
  6997. ],
  6998. "tags": [
  6999. "通用单据"
  7000. ],
  7001. "summary": "历史委托单查询请求(合约市场)",
  7002. "parameters": [
  7003. {
  7004. "type": "string",
  7005. "description": "资金账户 - 格式:1,2,3",
  7006. "name": "accountID",
  7007. "in": "query",
  7008. "required": true
  7009. },
  7010. {
  7011. "type": "string",
  7012. "description": "交易模式 - 格式:1,2,3",
  7013. "name": "tradeMode",
  7014. "in": "query"
  7015. },
  7016. {
  7017. "type": "string",
  7018. "description": "委托状态 - 格式:1,2,3",
  7019. "name": "orderStatus",
  7020. "in": "query"
  7021. },
  7022. {
  7023. "type": "integer",
  7024. "description": "委托单号",
  7025. "name": "orderID",
  7026. "in": "query"
  7027. },
  7028. {
  7029. "type": "string",
  7030. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7031. "name": "startDate",
  7032. "in": "query"
  7033. },
  7034. {
  7035. "type": "string",
  7036. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7037. "name": "endDate",
  7038. "in": "query"
  7039. }
  7040. ],
  7041. "responses": {
  7042. "200": {
  7043. "description": "OK",
  7044. "schema": {
  7045. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7046. }
  7047. },
  7048. "500": {
  7049. "description": "Internal Server Error",
  7050. "schema": {
  7051. "$ref": "#/definitions/app.Response"
  7052. }
  7053. }
  7054. }
  7055. }
  7056. },
  7057. "/Order/QueryTradeDetail": {
  7058. "get": {
  7059. "security": [
  7060. {
  7061. "ApiKeyAuth": []
  7062. }
  7063. ],
  7064. "produces": [
  7065. "application/json"
  7066. ],
  7067. "tags": [
  7068. "通用单据"
  7069. ],
  7070. "summary": "成交单查询(合约市场)",
  7071. "parameters": [
  7072. {
  7073. "type": "string",
  7074. "description": "资金账户 - 格式:1,2,3",
  7075. "name": "accountID",
  7076. "in": "query",
  7077. "required": true
  7078. },
  7079. {
  7080. "type": "integer",
  7081. "description": "成交单号",
  7082. "name": "tradeID",
  7083. "in": "query"
  7084. },
  7085. {
  7086. "type": "integer",
  7087. "description": "委托单号",
  7088. "name": "orderID",
  7089. "in": "query"
  7090. },
  7091. {
  7092. "type": "string",
  7093. "description": "交易模式 - 格式:1,2,3",
  7094. "name": "tradeMode",
  7095. "in": "query"
  7096. },
  7097. {
  7098. "type": "integer",
  7099. "description": "委托单据类型",
  7100. "name": "buildType",
  7101. "in": "query"
  7102. },
  7103. {
  7104. "type": "string",
  7105. "description": "成交类别 - 格式:1,2,3",
  7106. "name": "tradeType",
  7107. "in": "query"
  7108. },
  7109. {
  7110. "type": "integer",
  7111. "description": "商品ID",
  7112. "name": "goodsID",
  7113. "in": "query"
  7114. }
  7115. ],
  7116. "responses": {
  7117. "200": {
  7118. "description": "OK",
  7119. "schema": {
  7120. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7121. }
  7122. },
  7123. "500": {
  7124. "description": "Internal Server Error",
  7125. "schema": {
  7126. "$ref": "#/definitions/app.Response"
  7127. }
  7128. }
  7129. }
  7130. }
  7131. },
  7132. "/Order/QueryTradeHolderDetail": {
  7133. "get": {
  7134. "security": [
  7135. {
  7136. "ApiKeyAuth": []
  7137. }
  7138. ],
  7139. "produces": [
  7140. "application/json"
  7141. ],
  7142. "tags": [
  7143. "通用单据"
  7144. ],
  7145. "summary": "查询持仓明细",
  7146. "parameters": [
  7147. {
  7148. "type": "integer",
  7149. "description": "用户id",
  7150. "name": "userid",
  7151. "in": "query"
  7152. },
  7153. {
  7154. "type": "string",
  7155. "description": "资金账号, 格式 1,2,3",
  7156. "name": "accids",
  7157. "in": "query"
  7158. },
  7159. {
  7160. "type": "string",
  7161. "description": "交易模式, 格式 1,2,3",
  7162. "name": "trademodes",
  7163. "in": "query"
  7164. },
  7165. {
  7166. "type": "string",
  7167. "description": "市场id, 格式 1,2,3",
  7168. "name": "marketids",
  7169. "in": "query"
  7170. },
  7171. {
  7172. "type": "integer",
  7173. "description": "商品id",
  7174. "name": "goodsid",
  7175. "in": "query"
  7176. },
  7177. {
  7178. "type": "integer",
  7179. "description": "买卖方向 0-买 1-卖",
  7180. "name": "buyorsell",
  7181. "in": "query"
  7182. }
  7183. ],
  7184. "responses": {
  7185. "200": {
  7186. "description": "OK",
  7187. "schema": {
  7188. "type": "array",
  7189. "items": {
  7190. "$ref": "#/definitions/models.TradeHolderDetail"
  7191. }
  7192. }
  7193. },
  7194. "500": {
  7195. "description": "Internal Server Error",
  7196. "schema": {
  7197. "$ref": "#/definitions/app.Response"
  7198. }
  7199. }
  7200. }
  7201. }
  7202. },
  7203. "/Order/QueryTradeOrderDetail": {
  7204. "get": {
  7205. "security": [
  7206. {
  7207. "ApiKeyAuth": []
  7208. }
  7209. ],
  7210. "produces": [
  7211. "application/json"
  7212. ],
  7213. "tags": [
  7214. "通用单据"
  7215. ],
  7216. "summary": "委托单查询请求(合约市场)",
  7217. "parameters": [
  7218. {
  7219. "type": "string",
  7220. "description": "资金账户 - 格式:1,2,3",
  7221. "name": "accountID",
  7222. "in": "query",
  7223. "required": true
  7224. },
  7225. {
  7226. "type": "string",
  7227. "description": "交易模式 - 格式:1,2,3",
  7228. "name": "tradeMode",
  7229. "in": "query"
  7230. },
  7231. {
  7232. "type": "string",
  7233. "description": "委托状态 - 格式:1,2,3",
  7234. "name": "orderStatus",
  7235. "in": "query"
  7236. },
  7237. {
  7238. "type": "integer",
  7239. "description": "委托单号",
  7240. "name": "orderID",
  7241. "in": "query"
  7242. }
  7243. ],
  7244. "responses": {
  7245. "200": {
  7246. "description": "OK",
  7247. "schema": {
  7248. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7249. }
  7250. },
  7251. "500": {
  7252. "description": "Internal Server Error",
  7253. "schema": {
  7254. "$ref": "#/definitions/app.Response"
  7255. }
  7256. }
  7257. }
  7258. }
  7259. },
  7260. "/Order/QueryTradePosition": {
  7261. "get": {
  7262. "security": [
  7263. {
  7264. "ApiKeyAuth": []
  7265. }
  7266. ],
  7267. "produces": [
  7268. "application/json"
  7269. ],
  7270. "tags": [
  7271. "通用单据"
  7272. ],
  7273. "summary": "持仓汇总查询(合约市场)",
  7274. "parameters": [
  7275. {
  7276. "type": "string",
  7277. "description": "资金账户 - 格式:1,2,3",
  7278. "name": "accountID",
  7279. "in": "query",
  7280. "required": true
  7281. },
  7282. {
  7283. "type": "string",
  7284. "description": "交易模式 - 格式:1,2,3",
  7285. "name": "tradeMode",
  7286. "in": "query"
  7287. }
  7288. ],
  7289. "responses": {
  7290. "200": {
  7291. "description": "OK",
  7292. "schema": {
  7293. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7294. }
  7295. },
  7296. "500": {
  7297. "description": "Internal Server Error",
  7298. "schema": {
  7299. "$ref": "#/definitions/app.Response"
  7300. }
  7301. }
  7302. }
  7303. }
  7304. },
  7305. "/Qhj/QueryAccountInOutApply": {
  7306. "get": {
  7307. "security": [
  7308. {
  7309. "ApiKeyAuth": []
  7310. }
  7311. ],
  7312. "produces": [
  7313. "application/json"
  7314. ],
  7315. "tags": [
  7316. "大连千海金"
  7317. ],
  7318. "summary": "查询充值提现",
  7319. "parameters": [
  7320. {
  7321. "type": "integer",
  7322. "description": "用户ID",
  7323. "name": "userid",
  7324. "in": "query",
  7325. "required": true
  7326. },
  7327. {
  7328. "type": "string",
  7329. "description": "申请起始日期(格式yyyymmdd)",
  7330. "name": "begindate",
  7331. "in": "query"
  7332. },
  7333. {
  7334. "type": "string",
  7335. "description": "申请截止日期(格式yyyymmdd)",
  7336. "name": "enddate",
  7337. "in": "query"
  7338. },
  7339. {
  7340. "type": "string",
  7341. "description": "模糊搜索名称",
  7342. "name": "likename",
  7343. "in": "query"
  7344. }
  7345. ],
  7346. "responses": {
  7347. "200": {
  7348. "description": "OK",
  7349. "schema": {
  7350. "type": "array",
  7351. "items": {
  7352. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7353. }
  7354. }
  7355. },
  7356. "500": {
  7357. "description": "Internal Server Error",
  7358. "schema": {
  7359. "$ref": "#/definitions/app.Response"
  7360. }
  7361. }
  7362. }
  7363. }
  7364. },
  7365. "/Qhj/QueryAreaFinanceConfig": {
  7366. "get": {
  7367. "security": [
  7368. {
  7369. "ApiKeyAuth": []
  7370. }
  7371. ],
  7372. "produces": [
  7373. "application/json"
  7374. ],
  7375. "tags": [
  7376. "大连千海金"
  7377. ],
  7378. "summary": "查询企业配置表",
  7379. "parameters": [
  7380. {
  7381. "type": "integer",
  7382. "description": "机构用户ID 其他做市关系,都设置为 1",
  7383. "name": "userid",
  7384. "in": "query"
  7385. }
  7386. ],
  7387. "responses": {
  7388. "200": {
  7389. "description": "OK",
  7390. "schema": {
  7391. "type": "array",
  7392. "items": {
  7393. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7394. }
  7395. }
  7396. },
  7397. "500": {
  7398. "description": "Internal Server Error",
  7399. "schema": {
  7400. "$ref": "#/definitions/app.Response"
  7401. }
  7402. }
  7403. }
  7404. }
  7405. },
  7406. "/Qhj/QueryBankAccountSign": {
  7407. "get": {
  7408. "security": [
  7409. {
  7410. "ApiKeyAuth": []
  7411. }
  7412. ],
  7413. "produces": [
  7414. "application/json"
  7415. ],
  7416. "tags": [
  7417. "大连千海金"
  7418. ],
  7419. "summary": "查询签约银行信息(提现账户管理)",
  7420. "parameters": [
  7421. {
  7422. "type": "integer",
  7423. "description": "用户ID",
  7424. "name": "userid",
  7425. "in": "query",
  7426. "required": true
  7427. }
  7428. ],
  7429. "responses": {
  7430. "200": {
  7431. "description": "OK",
  7432. "schema": {
  7433. "type": "array",
  7434. "items": {
  7435. "$ref": "#/definitions/models.QhjBankAccountSign"
  7436. }
  7437. }
  7438. },
  7439. "500": {
  7440. "description": "Internal Server Error",
  7441. "schema": {
  7442. "$ref": "#/definitions/app.Response"
  7443. }
  7444. }
  7445. }
  7446. }
  7447. },
  7448. "/Qhj/QueryBankInfo": {
  7449. "get": {
  7450. "security": [
  7451. {
  7452. "ApiKeyAuth": []
  7453. }
  7454. ],
  7455. "produces": [
  7456. "application/json"
  7457. ],
  7458. "tags": [
  7459. "大连千海金"
  7460. ],
  7461. "summary": "查询开户行",
  7462. "responses": {
  7463. "200": {
  7464. "description": "OK",
  7465. "schema": {
  7466. "type": "array",
  7467. "items": {
  7468. "$ref": "#/definitions/models.QhjBankInfo"
  7469. }
  7470. }
  7471. },
  7472. "500": {
  7473. "description": "Internal Server Error",
  7474. "schema": {
  7475. "$ref": "#/definitions/app.Response"
  7476. }
  7477. }
  7478. }
  7479. }
  7480. },
  7481. "/Qhj/QueryBrokerApply": {
  7482. "get": {
  7483. "security": [
  7484. {
  7485. "ApiKeyAuth": []
  7486. }
  7487. ],
  7488. "produces": [
  7489. "application/json"
  7490. ],
  7491. "tags": [
  7492. "大连千海金"
  7493. ],
  7494. "summary": "查询经纪人申请",
  7495. "parameters": [
  7496. {
  7497. "type": "integer",
  7498. "description": "所属机构ID",
  7499. "name": "userid",
  7500. "in": "query"
  7501. },
  7502. {
  7503. "type": "string",
  7504. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7505. "name": "filterstatus",
  7506. "in": "query"
  7507. }
  7508. ],
  7509. "responses": {
  7510. "200": {
  7511. "description": "OK",
  7512. "schema": {
  7513. "type": "array",
  7514. "items": {
  7515. "$ref": "#/definitions/models.QhjBrokerApply"
  7516. }
  7517. }
  7518. },
  7519. "500": {
  7520. "description": "Internal Server Error",
  7521. "schema": {
  7522. "$ref": "#/definitions/app.Response"
  7523. }
  7524. }
  7525. }
  7526. }
  7527. },
  7528. "/Qhj/QueryBrokerApplyEx": {
  7529. "get": {
  7530. "security": [
  7531. {
  7532. "ApiKeyAuth": []
  7533. }
  7534. ],
  7535. "produces": [
  7536. "application/json"
  7537. ],
  7538. "tags": [
  7539. "大连千海金"
  7540. ],
  7541. "summary": "查询经纪人信息和申请记录",
  7542. "parameters": [
  7543. {
  7544. "type": "integer",
  7545. "description": "所属机构ID",
  7546. "name": "userid",
  7547. "in": "query"
  7548. }
  7549. ],
  7550. "responses": {
  7551. "200": {
  7552. "description": "OK",
  7553. "schema": {
  7554. "type": "array",
  7555. "items": {
  7556. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7557. }
  7558. }
  7559. },
  7560. "500": {
  7561. "description": "Internal Server Error",
  7562. "schema": {
  7563. "$ref": "#/definitions/app.Response"
  7564. }
  7565. }
  7566. }
  7567. }
  7568. },
  7569. "/Qhj/QueryBrokerRewardLog": {
  7570. "get": {
  7571. "security": [
  7572. {
  7573. "ApiKeyAuth": []
  7574. }
  7575. ],
  7576. "produces": [
  7577. "application/json"
  7578. ],
  7579. "tags": [
  7580. "大连千海金"
  7581. ],
  7582. "summary": "查询奖励流水(我的奖励)",
  7583. "parameters": [
  7584. {
  7585. "type": "integer",
  7586. "description": "用户ID",
  7587. "name": "userid",
  7588. "in": "query",
  7589. "required": true
  7590. },
  7591. {
  7592. "type": "string",
  7593. "description": "开始交易日(yyyymmdd)",
  7594. "name": "begindate",
  7595. "in": "query"
  7596. },
  7597. {
  7598. "type": "string",
  7599. "description": "结束交易日(yyyymmdd)",
  7600. "name": "enddate",
  7601. "in": "query"
  7602. }
  7603. ],
  7604. "responses": {
  7605. "200": {
  7606. "description": "OK",
  7607. "schema": {
  7608. "type": "array",
  7609. "items": {
  7610. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7611. }
  7612. }
  7613. },
  7614. "500": {
  7615. "description": "Internal Server Error",
  7616. "schema": {
  7617. "$ref": "#/definitions/app.Response"
  7618. }
  7619. }
  7620. }
  7621. }
  7622. },
  7623. "/Qhj/QueryContract": {
  7624. "get": {
  7625. "security": [
  7626. {
  7627. "ApiKeyAuth": []
  7628. }
  7629. ],
  7630. "produces": [
  7631. "application/json"
  7632. ],
  7633. "tags": [
  7634. "大连千海金"
  7635. ],
  7636. "summary": "查询融资明细(合同)",
  7637. "parameters": [
  7638. {
  7639. "type": "integer",
  7640. "description": "用户ID",
  7641. "name": "userid",
  7642. "in": "query"
  7643. },
  7644. {
  7645. "type": "integer",
  7646. "description": "scf合同id",
  7647. "name": "scfcontractid",
  7648. "in": "query"
  7649. }
  7650. ],
  7651. "responses": {
  7652. "200": {
  7653. "description": "OK",
  7654. "schema": {
  7655. "type": "array",
  7656. "items": {
  7657. "$ref": "#/definitions/models.QhjContract"
  7658. }
  7659. }
  7660. },
  7661. "500": {
  7662. "description": "Internal Server Error",
  7663. "schema": {
  7664. "$ref": "#/definitions/app.Response"
  7665. }
  7666. }
  7667. }
  7668. }
  7669. },
  7670. "/Qhj/QueryContractLog": {
  7671. "get": {
  7672. "security": [
  7673. {
  7674. "ApiKeyAuth": []
  7675. }
  7676. ],
  7677. "produces": [
  7678. "application/json"
  7679. ],
  7680. "tags": [
  7681. "大连千海金"
  7682. ],
  7683. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7684. "parameters": [
  7685. {
  7686. "type": "integer",
  7687. "description": "scf合同id",
  7688. "name": "scfcontractid",
  7689. "in": "query",
  7690. "required": true
  7691. },
  7692. {
  7693. "type": "string",
  7694. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7695. "name": "amounttype",
  7696. "in": "query"
  7697. }
  7698. ],
  7699. "responses": {
  7700. "200": {
  7701. "description": "OK",
  7702. "schema": {
  7703. "type": "array",
  7704. "items": {
  7705. "$ref": "#/definitions/models.QhjContractLog"
  7706. }
  7707. }
  7708. },
  7709. "500": {
  7710. "description": "Internal Server Error",
  7711. "schema": {
  7712. "$ref": "#/definitions/app.Response"
  7713. }
  7714. }
  7715. }
  7716. }
  7717. },
  7718. "/Qhj/QueryCusBankSignBank": {
  7719. "get": {
  7720. "security": [
  7721. {
  7722. "ApiKeyAuth": []
  7723. }
  7724. ],
  7725. "produces": [
  7726. "application/json"
  7727. ],
  7728. "tags": [
  7729. "大连千海金"
  7730. ],
  7731. "summary": "查询托管银行",
  7732. "responses": {
  7733. "200": {
  7734. "description": "OK",
  7735. "schema": {
  7736. "type": "array",
  7737. "items": {
  7738. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7739. }
  7740. }
  7741. },
  7742. "500": {
  7743. "description": "Internal Server Error",
  7744. "schema": {
  7745. "$ref": "#/definitions/app.Response"
  7746. }
  7747. }
  7748. }
  7749. }
  7750. },
  7751. "/Qhj/QueryCustomerInfo": {
  7752. "get": {
  7753. "security": [
  7754. {
  7755. "ApiKeyAuth": []
  7756. }
  7757. ],
  7758. "produces": [
  7759. "application/json"
  7760. ],
  7761. "tags": [
  7762. "大连千海金"
  7763. ],
  7764. "summary": "查询客户资料",
  7765. "parameters": [
  7766. {
  7767. "type": "integer",
  7768. "description": "用户ID",
  7769. "name": "userid",
  7770. "in": "query",
  7771. "required": true
  7772. },
  7773. {
  7774. "type": "integer",
  7775. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7776. "name": "querytype",
  7777. "in": "query",
  7778. "required": true
  7779. },
  7780. {
  7781. "type": "integer",
  7782. "description": "客户类型 1-个人 2-企业",
  7783. "name": "userinfotype",
  7784. "in": "query"
  7785. },
  7786. {
  7787. "type": "string",
  7788. "description": "客户名称(模糊匹配)",
  7789. "name": "customername",
  7790. "in": "query"
  7791. },
  7792. {
  7793. "type": "string",
  7794. "description": "昵称(模糊匹配)",
  7795. "name": "nickname",
  7796. "in": "query"
  7797. },
  7798. {
  7799. "type": "integer",
  7800. "description": "是否包含子级 1-包含",
  7801. "name": "includesub",
  7802. "in": "query"
  7803. }
  7804. ],
  7805. "responses": {
  7806. "200": {
  7807. "description": "OK",
  7808. "schema": {
  7809. "type": "array",
  7810. "items": {
  7811. "$ref": "#/definitions/models.QhjCustomer"
  7812. }
  7813. }
  7814. },
  7815. "500": {
  7816. "description": "Internal Server Error",
  7817. "schema": {
  7818. "$ref": "#/definitions/app.Response"
  7819. }
  7820. }
  7821. }
  7822. }
  7823. },
  7824. "/Qhj/QueryGoodsEx": {
  7825. "get": {
  7826. "security": [
  7827. {
  7828. "ApiKeyAuth": []
  7829. }
  7830. ],
  7831. "produces": [
  7832. "application/json"
  7833. ],
  7834. "tags": [
  7835. "大连千海金"
  7836. ],
  7837. "summary": "交易商品扩展表",
  7838. "parameters": [
  7839. {
  7840. "type": "integer",
  7841. "description": "商品id",
  7842. "name": "goodsid",
  7843. "in": "query"
  7844. }
  7845. ],
  7846. "responses": {
  7847. "200": {
  7848. "description": "OK",
  7849. "schema": {
  7850. "type": "array",
  7851. "items": {
  7852. "$ref": "#/definitions/models.Qhjgoodsex"
  7853. }
  7854. }
  7855. },
  7856. "500": {
  7857. "description": "Internal Server Error",
  7858. "schema": {
  7859. "$ref": "#/definitions/app.Response"
  7860. }
  7861. }
  7862. }
  7863. }
  7864. },
  7865. "/Qhj/QueryMyTeam": {
  7866. "get": {
  7867. "security": [
  7868. {
  7869. "ApiKeyAuth": []
  7870. }
  7871. ],
  7872. "produces": [
  7873. "application/json"
  7874. ],
  7875. "tags": [
  7876. "大连千海金"
  7877. ],
  7878. "summary": "查询我的团队",
  7879. "parameters": [
  7880. {
  7881. "type": "integer",
  7882. "description": "用户ID",
  7883. "name": "userid",
  7884. "in": "query",
  7885. "required": true
  7886. }
  7887. ],
  7888. "responses": {
  7889. "200": {
  7890. "description": "OK",
  7891. "schema": {
  7892. "type": "array",
  7893. "items": {
  7894. "$ref": "#/definitions/models.QhjMyTeamEx"
  7895. }
  7896. }
  7897. },
  7898. "500": {
  7899. "description": "Internal Server Error",
  7900. "schema": {
  7901. "$ref": "#/definitions/app.Response"
  7902. }
  7903. }
  7904. }
  7905. }
  7906. },
  7907. "/Qhj/QueryMyTeamOrder": {
  7908. "get": {
  7909. "security": [
  7910. {
  7911. "ApiKeyAuth": []
  7912. }
  7913. ],
  7914. "produces": [
  7915. "application/json"
  7916. ],
  7917. "tags": [
  7918. "大连千海金"
  7919. ],
  7920. "summary": "查询团队订单(我的团队/团队订单)",
  7921. "parameters": [
  7922. {
  7923. "type": "integer",
  7924. "description": "页码",
  7925. "name": "page",
  7926. "in": "query"
  7927. },
  7928. {
  7929. "type": "integer",
  7930. "description": "每页条数",
  7931. "name": "pagesize",
  7932. "in": "query"
  7933. },
  7934. {
  7935. "type": "integer",
  7936. "description": "用户ID",
  7937. "name": "userid",
  7938. "in": "query",
  7939. "required": true
  7940. },
  7941. {
  7942. "type": "integer",
  7943. "description": "交易模式",
  7944. "name": "trademode",
  7945. "in": "query"
  7946. },
  7947. {
  7948. "type": "string",
  7949. "description": "名称(模糊搜索账户)",
  7950. "name": "filtername",
  7951. "in": "query"
  7952. }
  7953. ],
  7954. "responses": {
  7955. "200": {
  7956. "description": "OK",
  7957. "schema": {
  7958. "type": "array",
  7959. "items": {
  7960. "$ref": "#/definitions/models.QhjTeamOrder"
  7961. }
  7962. }
  7963. },
  7964. "500": {
  7965. "description": "Internal Server Error",
  7966. "schema": {
  7967. "$ref": "#/definitions/app.Response"
  7968. }
  7969. }
  7970. }
  7971. }
  7972. },
  7973. "/Qhj/QueryParentAreaList": {
  7974. "get": {
  7975. "security": [
  7976. {
  7977. "ApiKeyAuth": []
  7978. }
  7979. ],
  7980. "produces": [
  7981. "application/json"
  7982. ],
  7983. "tags": [
  7984. "大连千海金"
  7985. ],
  7986. "summary": "查询所属机构列表",
  7987. "parameters": [
  7988. {
  7989. "type": "integer",
  7990. "description": "用户ID",
  7991. "name": "userid",
  7992. "in": "query",
  7993. "required": true
  7994. }
  7995. ],
  7996. "responses": {
  7997. "200": {
  7998. "description": "OK",
  7999. "schema": {
  8000. "type": "array",
  8001. "items": {
  8002. "$ref": "#/definitions/models.QhjParentAreaList"
  8003. }
  8004. }
  8005. },
  8006. "500": {
  8007. "description": "Internal Server Error",
  8008. "schema": {
  8009. "$ref": "#/definitions/app.Response"
  8010. }
  8011. }
  8012. }
  8013. }
  8014. },
  8015. "/Qhj/QueryPayOrder": {
  8016. "get": {
  8017. "security": [
  8018. {
  8019. "ApiKeyAuth": []
  8020. }
  8021. ],
  8022. "produces": [
  8023. "application/json"
  8024. ],
  8025. "tags": [
  8026. "大连千海金"
  8027. ],
  8028. "summary": "查询待付款单据",
  8029. "parameters": [
  8030. {
  8031. "type": "integer",
  8032. "description": "资金账号id",
  8033. "name": "accountid",
  8034. "in": "query",
  8035. "required": true
  8036. },
  8037. {
  8038. "type": "integer",
  8039. "description": "成交单号",
  8040. "name": "tradeid",
  8041. "in": "query"
  8042. },
  8043. {
  8044. "type": "string",
  8045. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8046. "name": "payflag",
  8047. "in": "query"
  8048. }
  8049. ],
  8050. "responses": {
  8051. "200": {
  8052. "description": "OK",
  8053. "schema": {
  8054. "type": "array",
  8055. "items": {
  8056. "$ref": "#/definitions/models.QhjPayOrder"
  8057. }
  8058. }
  8059. },
  8060. "500": {
  8061. "description": "Internal Server Error",
  8062. "schema": {
  8063. "$ref": "#/definitions/app.Response"
  8064. }
  8065. }
  8066. }
  8067. }
  8068. },
  8069. "/Qhj/QueryPickArea": {
  8070. "get": {
  8071. "security": [
  8072. {
  8073. "ApiKeyAuth": []
  8074. }
  8075. ],
  8076. "produces": [
  8077. "application/json"
  8078. ],
  8079. "tags": [
  8080. "大连千海金"
  8081. ],
  8082. "summary": "查询提货门店",
  8083. "parameters": [
  8084. {
  8085. "type": "integer",
  8086. "description": "用户ID",
  8087. "name": "userid",
  8088. "in": "query"
  8089. }
  8090. ],
  8091. "responses": {
  8092. "200": {
  8093. "description": "OK",
  8094. "schema": {
  8095. "type": "array",
  8096. "items": {
  8097. "$ref": "#/definitions/models.QhjPickArea"
  8098. }
  8099. }
  8100. },
  8101. "500": {
  8102. "description": "Internal Server Error",
  8103. "schema": {
  8104. "$ref": "#/definitions/app.Response"
  8105. }
  8106. }
  8107. }
  8108. }
  8109. },
  8110. "/Qhj/QueryPickGoods": {
  8111. "get": {
  8112. "security": [
  8113. {
  8114. "ApiKeyAuth": []
  8115. }
  8116. ],
  8117. "produces": [
  8118. "application/json"
  8119. ],
  8120. "tags": [
  8121. "大连千海金"
  8122. ],
  8123. "summary": "查询提货商品",
  8124. "parameters": [
  8125. {
  8126. "type": "integer",
  8127. "description": "交易商品id",
  8128. "name": "goodsid",
  8129. "in": "query",
  8130. "required": true
  8131. },
  8132. {
  8133. "type": "string",
  8134. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8135. "name": "status",
  8136. "in": "query"
  8137. }
  8138. ],
  8139. "responses": {
  8140. "200": {
  8141. "description": "OK",
  8142. "schema": {
  8143. "type": "array",
  8144. "items": {
  8145. "$ref": "#/definitions/models.QhjPickGoods"
  8146. }
  8147. }
  8148. },
  8149. "500": {
  8150. "description": "Internal Server Error",
  8151. "schema": {
  8152. "$ref": "#/definitions/app.Response"
  8153. }
  8154. }
  8155. }
  8156. }
  8157. },
  8158. "/Qhj/QueryRSTriggerLog": {
  8159. "get": {
  8160. "security": [
  8161. {
  8162. "ApiKeyAuth": []
  8163. }
  8164. ],
  8165. "produces": [
  8166. "application/json"
  8167. ],
  8168. "tags": [
  8169. "大连千海金"
  8170. ],
  8171. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8172. "parameters": [
  8173. {
  8174. "type": "integer",
  8175. "description": "用户ID",
  8176. "name": "userid",
  8177. "in": "query"
  8178. },
  8179. {
  8180. "type": "integer",
  8181. "description": "定投策略id",
  8182. "name": "regularlystrategyid",
  8183. "in": "query"
  8184. },
  8185. {
  8186. "type": "integer",
  8187. "description": "商品id",
  8188. "name": "goodsid",
  8189. "in": "query"
  8190. },
  8191. {
  8192. "type": "string",
  8193. "description": "开始交易日(yyyymmdd)",
  8194. "name": "begindate",
  8195. "in": "query"
  8196. },
  8197. {
  8198. "type": "string",
  8199. "description": "结束交易日(yyyymmdd)",
  8200. "name": "enddate",
  8201. "in": "query"
  8202. },
  8203. {
  8204. "type": "string",
  8205. "description": "名称(模糊搜索账户)",
  8206. "name": "filtername",
  8207. "in": "query"
  8208. }
  8209. ],
  8210. "responses": {
  8211. "200": {
  8212. "description": "OK",
  8213. "schema": {
  8214. "type": "array",
  8215. "items": {
  8216. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8217. }
  8218. }
  8219. },
  8220. "500": {
  8221. "description": "Internal Server Error",
  8222. "schema": {
  8223. "$ref": "#/definitions/app.Response"
  8224. }
  8225. }
  8226. }
  8227. }
  8228. },
  8229. "/Qhj/QueryRStrategy": {
  8230. "get": {
  8231. "security": [
  8232. {
  8233. "ApiKeyAuth": []
  8234. }
  8235. ],
  8236. "produces": [
  8237. "application/json"
  8238. ],
  8239. "tags": [
  8240. "大连千海金"
  8241. ],
  8242. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8243. "parameters": [
  8244. {
  8245. "type": "integer",
  8246. "description": "用户ID",
  8247. "name": "userid",
  8248. "in": "query"
  8249. },
  8250. {
  8251. "type": "integer",
  8252. "description": "商品id",
  8253. "name": "goodsid",
  8254. "in": "query"
  8255. },
  8256. {
  8257. "type": "string",
  8258. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8259. "name": "status",
  8260. "in": "query"
  8261. },
  8262. {
  8263. "type": "string",
  8264. "description": "名称(模糊搜索账户)",
  8265. "name": "filtername",
  8266. "in": "query"
  8267. }
  8268. ],
  8269. "responses": {
  8270. "200": {
  8271. "description": "OK",
  8272. "schema": {
  8273. "type": "array",
  8274. "items": {
  8275. "$ref": "#/definitions/models.QhjRStrategy"
  8276. }
  8277. }
  8278. },
  8279. "500": {
  8280. "description": "Internal Server Error",
  8281. "schema": {
  8282. "$ref": "#/definitions/app.Response"
  8283. }
  8284. }
  8285. }
  8286. }
  8287. },
  8288. "/Qhj/QueryReckonPriceLog": {
  8289. "get": {
  8290. "security": [
  8291. {
  8292. "ApiKeyAuth": []
  8293. }
  8294. ],
  8295. "produces": [
  8296. "application/json"
  8297. ],
  8298. "tags": [
  8299. "大连千海金"
  8300. ],
  8301. "summary": "查询定投价(结算价)",
  8302. "parameters": [
  8303. {
  8304. "type": "integer",
  8305. "description": "商品ID",
  8306. "name": "goodsid",
  8307. "in": "query"
  8308. },
  8309. {
  8310. "type": "string",
  8311. "description": "交易日 格式(yyyymmdd)",
  8312. "name": "tradedate",
  8313. "in": "query"
  8314. }
  8315. ],
  8316. "responses": {
  8317. "200": {
  8318. "description": "OK",
  8319. "schema": {
  8320. "type": "array",
  8321. "items": {
  8322. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8323. }
  8324. }
  8325. },
  8326. "500": {
  8327. "description": "Internal Server Error",
  8328. "schema": {
  8329. "$ref": "#/definitions/app.Response"
  8330. }
  8331. }
  8332. }
  8333. }
  8334. },
  8335. "/Qhj/QueryScoreLog": {
  8336. "get": {
  8337. "security": [
  8338. {
  8339. "ApiKeyAuth": []
  8340. }
  8341. ],
  8342. "produces": [
  8343. "application/json"
  8344. ],
  8345. "tags": [
  8346. "大连千海金"
  8347. ],
  8348. "summary": "查询积分流水(我的积分)",
  8349. "parameters": [
  8350. {
  8351. "type": "integer",
  8352. "description": "用户ID",
  8353. "name": "userid",
  8354. "in": "query",
  8355. "required": true
  8356. },
  8357. {
  8358. "type": "string",
  8359. "description": "开始交易日(yyyymmdd)",
  8360. "name": "begindate",
  8361. "in": "query"
  8362. },
  8363. {
  8364. "type": "string",
  8365. "description": "结束交易日(yyyymmdd)",
  8366. "name": "enddate",
  8367. "in": "query"
  8368. },
  8369. {
  8370. "type": "integer",
  8371. "description": "最近多少条",
  8372. "name": "lastnum",
  8373. "in": "query"
  8374. }
  8375. ],
  8376. "responses": {
  8377. "200": {
  8378. "description": "OK",
  8379. "schema": {
  8380. "type": "array",
  8381. "items": {
  8382. "$ref": "#/definitions/models.QhjScoreLog"
  8383. }
  8384. }
  8385. },
  8386. "500": {
  8387. "description": "Internal Server Error",
  8388. "schema": {
  8389. "$ref": "#/definitions/app.Response"
  8390. }
  8391. }
  8392. }
  8393. }
  8394. },
  8395. "/Qhj/QuerySiteColumnDetail": {
  8396. "get": {
  8397. "security": [
  8398. {
  8399. "ApiKeyAuth": []
  8400. }
  8401. ],
  8402. "produces": [
  8403. "application/json"
  8404. ],
  8405. "tags": [
  8406. "大连千海金"
  8407. ],
  8408. "summary": "查询资讯",
  8409. "parameters": [
  8410. {
  8411. "type": "integer",
  8412. "description": "用户ID",
  8413. "name": "userid",
  8414. "in": "query",
  8415. "required": true
  8416. }
  8417. ],
  8418. "responses": {
  8419. "200": {
  8420. "description": "OK",
  8421. "schema": {
  8422. "type": "array",
  8423. "items": {
  8424. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8425. }
  8426. }
  8427. },
  8428. "500": {
  8429. "description": "Internal Server Error",
  8430. "schema": {
  8431. "$ref": "#/definitions/app.Response"
  8432. }
  8433. }
  8434. }
  8435. }
  8436. },
  8437. "/Qhj/QueryTradeGoodsPickup": {
  8438. "get": {
  8439. "security": [
  8440. {
  8441. "ApiKeyAuth": []
  8442. }
  8443. ],
  8444. "produces": [
  8445. "application/json"
  8446. ],
  8447. "tags": [
  8448. "大连千海金"
  8449. ],
  8450. "summary": "查询提货",
  8451. "parameters": [
  8452. {
  8453. "type": "integer",
  8454. "description": "用户ID",
  8455. "name": "userid",
  8456. "in": "query",
  8457. "required": true
  8458. },
  8459. {
  8460. "type": "integer",
  8461. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8462. "name": "takeorderstatus",
  8463. "in": "query"
  8464. }
  8465. ],
  8466. "responses": {
  8467. "200": {
  8468. "description": "OK",
  8469. "schema": {
  8470. "type": "array",
  8471. "items": {
  8472. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8473. }
  8474. }
  8475. },
  8476. "500": {
  8477. "description": "Internal Server Error",
  8478. "schema": {
  8479. "$ref": "#/definitions/app.Response"
  8480. }
  8481. }
  8482. }
  8483. }
  8484. },
  8485. "/Qhj/QueryUserCollectConfig": {
  8486. "get": {
  8487. "security": [
  8488. {
  8489. "ApiKeyAuth": []
  8490. }
  8491. ],
  8492. "produces": [
  8493. "application/json"
  8494. ],
  8495. "tags": [
  8496. "大连千海金"
  8497. ],
  8498. "summary": "查询提现账户设置",
  8499. "parameters": [
  8500. {
  8501. "type": "integer",
  8502. "description": "用户ID",
  8503. "name": "userid",
  8504. "in": "query",
  8505. "required": true
  8506. }
  8507. ],
  8508. "responses": {
  8509. "200": {
  8510. "description": "OK",
  8511. "schema": {
  8512. "type": "array",
  8513. "items": {
  8514. "$ref": "#/definitions/models.UserCollectConfig"
  8515. }
  8516. }
  8517. },
  8518. "500": {
  8519. "description": "Internal Server Error",
  8520. "schema": {
  8521. "$ref": "#/definitions/app.Response"
  8522. }
  8523. }
  8524. }
  8525. }
  8526. },
  8527. "/Qhj/QueryUserReceiveInfo": {
  8528. "get": {
  8529. "security": [
  8530. {
  8531. "ApiKeyAuth": []
  8532. }
  8533. ],
  8534. "produces": [
  8535. "application/json"
  8536. ],
  8537. "tags": [
  8538. "大连千海金"
  8539. ],
  8540. "summary": "查询收货地址信息",
  8541. "parameters": [
  8542. {
  8543. "type": "integer",
  8544. "description": "用户ID",
  8545. "name": "userid",
  8546. "in": "query",
  8547. "required": true
  8548. }
  8549. ],
  8550. "responses": {
  8551. "200": {
  8552. "description": "OK",
  8553. "schema": {
  8554. "type": "array",
  8555. "items": {
  8556. "$ref": "#/definitions/models.UserReceiveInfo"
  8557. }
  8558. }
  8559. },
  8560. "500": {
  8561. "description": "Internal Server Error",
  8562. "schema": {
  8563. "$ref": "#/definitions/app.Response"
  8564. }
  8565. }
  8566. }
  8567. }
  8568. },
  8569. "/QhjMgr/QueryAccountInOutApply": {
  8570. "get": {
  8571. "security": [
  8572. {
  8573. "ApiKeyAuth": []
  8574. }
  8575. ],
  8576. "produces": [
  8577. "application/json"
  8578. ],
  8579. "tags": [
  8580. "大连千海金(PCWeb)"
  8581. ],
  8582. "summary": "查询充值提现",
  8583. "parameters": [
  8584. {
  8585. "type": "integer",
  8586. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8587. "name": "querytype",
  8588. "in": "query",
  8589. "required": true
  8590. },
  8591. {
  8592. "type": "integer",
  8593. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8594. "name": "applystatus",
  8595. "in": "query"
  8596. },
  8597. {
  8598. "type": "string",
  8599. "description": "申请起始日期(格式yyyymmdd)",
  8600. "name": "begindate",
  8601. "in": "query"
  8602. },
  8603. {
  8604. "type": "string",
  8605. "description": "申请截止日期(格式yyyymmdd)",
  8606. "name": "enddate",
  8607. "in": "query"
  8608. },
  8609. {
  8610. "type": "string",
  8611. "description": "模糊搜索名称",
  8612. "name": "likename",
  8613. "in": "query"
  8614. }
  8615. ],
  8616. "responses": {
  8617. "200": {
  8618. "description": "OK",
  8619. "schema": {
  8620. "type": "array",
  8621. "items": {
  8622. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8623. }
  8624. }
  8625. },
  8626. "500": {
  8627. "description": "Internal Server Error",
  8628. "schema": {
  8629. "$ref": "#/definitions/app.Response"
  8630. }
  8631. }
  8632. }
  8633. }
  8634. },
  8635. "/QhjMgr/QueryBrokerApply": {
  8636. "get": {
  8637. "security": [
  8638. {
  8639. "ApiKeyAuth": []
  8640. }
  8641. ],
  8642. "produces": [
  8643. "application/json"
  8644. ],
  8645. "tags": [
  8646. "大连千海金(PCWeb)"
  8647. ],
  8648. "summary": "查询经纪人申请",
  8649. "parameters": [
  8650. {
  8651. "type": "integer",
  8652. "description": "所属机构ID",
  8653. "name": "userid",
  8654. "in": "query"
  8655. },
  8656. {
  8657. "type": "string",
  8658. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8659. "name": "filterstatus",
  8660. "in": "query"
  8661. },
  8662. {
  8663. "type": "string",
  8664. "description": "名称(模糊匹配)",
  8665. "name": "filtername",
  8666. "in": "query"
  8667. },
  8668. {
  8669. "type": "integer",
  8670. "description": "是否包含子级 1-包含",
  8671. "name": "includesub",
  8672. "in": "query"
  8673. }
  8674. ],
  8675. "responses": {
  8676. "200": {
  8677. "description": "OK",
  8678. "schema": {
  8679. "type": "array",
  8680. "items": {
  8681. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8682. }
  8683. }
  8684. },
  8685. "500": {
  8686. "description": "Internal Server Error",
  8687. "schema": {
  8688. "$ref": "#/definitions/app.Response"
  8689. }
  8690. }
  8691. }
  8692. }
  8693. },
  8694. "/QhjMgr/QueryBrokerRewardReport": {
  8695. "get": {
  8696. "security": [
  8697. {
  8698. "ApiKeyAuth": []
  8699. }
  8700. ],
  8701. "produces": [
  8702. "application/json"
  8703. ],
  8704. "tags": [
  8705. "大连千海金(PCWeb)"
  8706. ],
  8707. "summary": "查询经纪人奖励报表(废弃)",
  8708. "parameters": [
  8709. {
  8710. "type": "integer",
  8711. "description": "所属机构ID",
  8712. "name": "userid",
  8713. "in": "query",
  8714. "required": true
  8715. },
  8716. {
  8717. "type": "integer",
  8718. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8719. "name": "cycletype",
  8720. "in": "query",
  8721. "required": true
  8722. },
  8723. {
  8724. "type": "string",
  8725. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8726. "name": "cycletime",
  8727. "in": "query",
  8728. "required": true
  8729. },
  8730. {
  8731. "type": "string",
  8732. "description": "名称(模糊匹配)",
  8733. "name": "filtername",
  8734. "in": "query"
  8735. },
  8736. {
  8737. "type": "integer",
  8738. "description": "是否包含子级 1-包含",
  8739. "name": "includesub",
  8740. "in": "query"
  8741. }
  8742. ],
  8743. "responses": {
  8744. "200": {
  8745. "description": "OK",
  8746. "schema": {
  8747. "type": "array",
  8748. "items": {
  8749. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8750. }
  8751. }
  8752. },
  8753. "500": {
  8754. "description": "Internal Server Error",
  8755. "schema": {
  8756. "$ref": "#/definitions/app.Response"
  8757. }
  8758. }
  8759. }
  8760. }
  8761. },
  8762. "/QhjMgr/QueryContract": {
  8763. "get": {
  8764. "security": [
  8765. {
  8766. "ApiKeyAuth": []
  8767. }
  8768. ],
  8769. "produces": [
  8770. "application/json"
  8771. ],
  8772. "tags": [
  8773. "大连千海金(PCWeb)"
  8774. ],
  8775. "summary": "查询融资信息(合同)",
  8776. "parameters": [
  8777. {
  8778. "type": "integer",
  8779. "description": "用户ID",
  8780. "name": "userid",
  8781. "in": "query"
  8782. },
  8783. {
  8784. "type": "integer",
  8785. "description": "商品id",
  8786. "name": "goodsid",
  8787. "in": "query"
  8788. },
  8789. {
  8790. "type": "string",
  8791. "description": "名称(模糊搜索账户)",
  8792. "name": "filtername",
  8793. "in": "query"
  8794. },
  8795. {
  8796. "type": "string",
  8797. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8798. "name": "risklevel",
  8799. "in": "query"
  8800. },
  8801. {
  8802. "type": "string",
  8803. "description": "开始交易日(yyyymmdd)",
  8804. "name": "begindate",
  8805. "in": "query"
  8806. },
  8807. {
  8808. "type": "string",
  8809. "description": "结束交易日(yyyymmdd)",
  8810. "name": "enddate",
  8811. "in": "query"
  8812. }
  8813. ],
  8814. "responses": {
  8815. "200": {
  8816. "description": "OK",
  8817. "schema": {
  8818. "type": "array",
  8819. "items": {
  8820. "$ref": "#/definitions/models.QhjMgrContract"
  8821. }
  8822. }
  8823. },
  8824. "500": {
  8825. "description": "Internal Server Error",
  8826. "schema": {
  8827. "$ref": "#/definitions/app.Response"
  8828. }
  8829. }
  8830. }
  8831. }
  8832. },
  8833. "/QhjMgr/QueryCustomerInfo": {
  8834. "get": {
  8835. "security": [
  8836. {
  8837. "ApiKeyAuth": []
  8838. }
  8839. ],
  8840. "produces": [
  8841. "application/json"
  8842. ],
  8843. "tags": [
  8844. "大连千海金(PCWeb)"
  8845. ],
  8846. "summary": "查询客户资料",
  8847. "parameters": [
  8848. {
  8849. "type": "integer",
  8850. "description": "用户ID",
  8851. "name": "userid",
  8852. "in": "query",
  8853. "required": true
  8854. },
  8855. {
  8856. "type": "integer",
  8857. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8858. "name": "querytype",
  8859. "in": "query",
  8860. "required": true
  8861. },
  8862. {
  8863. "type": "integer",
  8864. "description": "客户类型 1-个人 2-企业",
  8865. "name": "userinfotype",
  8866. "in": "query"
  8867. },
  8868. {
  8869. "type": "string",
  8870. "description": "客户名称(模糊匹配)",
  8871. "name": "customername",
  8872. "in": "query"
  8873. },
  8874. {
  8875. "type": "string",
  8876. "description": "昵称(模糊匹配)",
  8877. "name": "nickname",
  8878. "in": "query"
  8879. },
  8880. {
  8881. "type": "string",
  8882. "description": "所属客户经理(模糊匹配)",
  8883. "name": "brokername",
  8884. "in": "query"
  8885. },
  8886. {
  8887. "type": "string",
  8888. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  8889. "name": "birthday",
  8890. "in": "query"
  8891. },
  8892. {
  8893. "type": "integer",
  8894. "description": "是否包含子级 1-包含",
  8895. "name": "includesub",
  8896. "in": "query"
  8897. }
  8898. ],
  8899. "responses": {
  8900. "200": {
  8901. "description": "OK",
  8902. "schema": {
  8903. "type": "array",
  8904. "items": {
  8905. "$ref": "#/definitions/models.QhjMgrCustomer"
  8906. }
  8907. }
  8908. },
  8909. "500": {
  8910. "description": "Internal Server Error",
  8911. "schema": {
  8912. "$ref": "#/definitions/app.Response"
  8913. }
  8914. }
  8915. }
  8916. }
  8917. },
  8918. "/QhjMgr/QueryPickGoods": {
  8919. "get": {
  8920. "security": [
  8921. {
  8922. "ApiKeyAuth": []
  8923. }
  8924. ],
  8925. "produces": [
  8926. "application/json"
  8927. ],
  8928. "tags": [
  8929. "大连千海金(PCWeb)"
  8930. ],
  8931. "summary": "查询提货商品",
  8932. "parameters": [
  8933. {
  8934. "type": "string",
  8935. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8936. "name": "status",
  8937. "in": "query"
  8938. }
  8939. ],
  8940. "responses": {
  8941. "200": {
  8942. "description": "OK",
  8943. "schema": {
  8944. "type": "array",
  8945. "items": {
  8946. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8947. }
  8948. }
  8949. },
  8950. "500": {
  8951. "description": "Internal Server Error",
  8952. "schema": {
  8953. "$ref": "#/definitions/app.Response"
  8954. }
  8955. }
  8956. }
  8957. }
  8958. },
  8959. "/QhjMgr/QuerySubArea": {
  8960. "get": {
  8961. "security": [
  8962. {
  8963. "ApiKeyAuth": []
  8964. }
  8965. ],
  8966. "produces": [
  8967. "application/json"
  8968. ],
  8969. "tags": [
  8970. "大连千海金(PCWeb)"
  8971. ],
  8972. "summary": "查询子机构列表",
  8973. "parameters": [
  8974. {
  8975. "type": "integer",
  8976. "description": "用户ID",
  8977. "name": "userid",
  8978. "in": "query",
  8979. "required": true
  8980. }
  8981. ],
  8982. "responses": {
  8983. "200": {
  8984. "description": "OK",
  8985. "schema": {
  8986. "type": "array",
  8987. "items": {
  8988. "$ref": "#/definitions/models.QhjMgrSubArea"
  8989. }
  8990. }
  8991. },
  8992. "500": {
  8993. "description": "Internal Server Error",
  8994. "schema": {
  8995. "$ref": "#/definitions/app.Response"
  8996. }
  8997. }
  8998. }
  8999. }
  9000. },
  9001. "/QhjMgr/QueryTradeDetail": {
  9002. "get": {
  9003. "security": [
  9004. {
  9005. "ApiKeyAuth": []
  9006. }
  9007. ],
  9008. "produces": [
  9009. "application/json"
  9010. ],
  9011. "tags": [
  9012. "大连千海金(PCWeb)"
  9013. ],
  9014. "summary": "查询成交明细",
  9015. "parameters": [
  9016. {
  9017. "type": "integer",
  9018. "description": "用户ID",
  9019. "name": "userid",
  9020. "in": "query",
  9021. "required": true
  9022. },
  9023. {
  9024. "type": "integer",
  9025. "description": "用户类型 1-个人 2-企业",
  9026. "name": "userinfotype",
  9027. "in": "query"
  9028. },
  9029. {
  9030. "type": "integer",
  9031. "description": "交易模式",
  9032. "name": "trademode",
  9033. "in": "query"
  9034. },
  9035. {
  9036. "type": "integer",
  9037. "description": "商品id",
  9038. "name": "goodsid",
  9039. "in": "query"
  9040. },
  9041. {
  9042. "type": "string",
  9043. "description": "名称(模糊搜索账户)",
  9044. "name": "filtername",
  9045. "in": "query"
  9046. },
  9047. {
  9048. "type": "string",
  9049. "description": "开始交易日(yyyymmdd)",
  9050. "name": "begindate",
  9051. "in": "query"
  9052. },
  9053. {
  9054. "type": "string",
  9055. "description": "结束交易日(yyyymmdd)",
  9056. "name": "enddate",
  9057. "in": "query"
  9058. },
  9059. {
  9060. "type": "integer",
  9061. "description": "是否包含子级 1-包含",
  9062. "name": "includesub",
  9063. "in": "query"
  9064. }
  9065. ],
  9066. "responses": {
  9067. "200": {
  9068. "description": "OK",
  9069. "schema": {
  9070. "type": "array",
  9071. "items": {
  9072. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9073. }
  9074. }
  9075. },
  9076. "500": {
  9077. "description": "Internal Server Error",
  9078. "schema": {
  9079. "$ref": "#/definitions/app.Response"
  9080. }
  9081. }
  9082. }
  9083. }
  9084. },
  9085. "/QhjMgr/QueryTradeOrderDetail": {
  9086. "get": {
  9087. "security": [
  9088. {
  9089. "ApiKeyAuth": []
  9090. }
  9091. ],
  9092. "produces": [
  9093. "application/json"
  9094. ],
  9095. "tags": [
  9096. "大连千海金(PCWeb)"
  9097. ],
  9098. "summary": "查询委托明细",
  9099. "parameters": [
  9100. {
  9101. "type": "integer",
  9102. "description": "用户ID",
  9103. "name": "userid",
  9104. "in": "query",
  9105. "required": true
  9106. },
  9107. {
  9108. "type": "integer",
  9109. "description": "用户类型 1-个人 2-企业",
  9110. "name": "userinfotype",
  9111. "in": "query"
  9112. },
  9113. {
  9114. "type": "integer",
  9115. "description": "交易模式",
  9116. "name": "trademode",
  9117. "in": "query"
  9118. },
  9119. {
  9120. "type": "integer",
  9121. "description": "商品id",
  9122. "name": "goodsid",
  9123. "in": "query"
  9124. },
  9125. {
  9126. "type": "string",
  9127. "description": "名称(模糊搜索账户)",
  9128. "name": "filtername",
  9129. "in": "query"
  9130. },
  9131. {
  9132. "type": "string",
  9133. "description": "开始交易日(yyyymmdd)",
  9134. "name": "begindate",
  9135. "in": "query"
  9136. },
  9137. {
  9138. "type": "string",
  9139. "description": "结束交易日(yyyymmdd)",
  9140. "name": "enddate",
  9141. "in": "query"
  9142. },
  9143. {
  9144. "type": "integer",
  9145. "description": "是否包含子级 1-包含",
  9146. "name": "includesub",
  9147. "in": "query"
  9148. }
  9149. ],
  9150. "responses": {
  9151. "200": {
  9152. "description": "OK",
  9153. "schema": {
  9154. "type": "array",
  9155. "items": {
  9156. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9157. }
  9158. }
  9159. },
  9160. "500": {
  9161. "description": "Internal Server Error",
  9162. "schema": {
  9163. "$ref": "#/definitions/app.Response"
  9164. }
  9165. }
  9166. }
  9167. }
  9168. },
  9169. "/QhjMgr/QueryTradePayOrder": {
  9170. "get": {
  9171. "security": [
  9172. {
  9173. "ApiKeyAuth": []
  9174. }
  9175. ],
  9176. "produces": [
  9177. "application/json"
  9178. ],
  9179. "tags": [
  9180. "大连千海金(PCWeb)"
  9181. ],
  9182. "summary": "查询待付款单",
  9183. "parameters": [
  9184. {
  9185. "type": "integer",
  9186. "description": "用户ID",
  9187. "name": "userid",
  9188. "in": "query",
  9189. "required": true
  9190. },
  9191. {
  9192. "type": "string",
  9193. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9194. "name": "payflag",
  9195. "in": "query"
  9196. },
  9197. {
  9198. "type": "integer",
  9199. "description": "用户类型 1-个人 2-企业",
  9200. "name": "userinfotype",
  9201. "in": "query"
  9202. },
  9203. {
  9204. "type": "integer",
  9205. "description": "交易模式",
  9206. "name": "trademode",
  9207. "in": "query"
  9208. },
  9209. {
  9210. "type": "integer",
  9211. "description": "商品id",
  9212. "name": "goodsid",
  9213. "in": "query"
  9214. },
  9215. {
  9216. "type": "string",
  9217. "description": "名称(模糊搜索账户)",
  9218. "name": "filtername",
  9219. "in": "query"
  9220. },
  9221. {
  9222. "type": "string",
  9223. "description": "开始交易日(yyyymmdd)",
  9224. "name": "begindate",
  9225. "in": "query"
  9226. },
  9227. {
  9228. "type": "string",
  9229. "description": "结束交易日(yyyymmdd)",
  9230. "name": "enddate",
  9231. "in": "query"
  9232. },
  9233. {
  9234. "type": "integer",
  9235. "description": "是否包含子级 1-包含",
  9236. "name": "includesub",
  9237. "in": "query"
  9238. }
  9239. ],
  9240. "responses": {
  9241. "200": {
  9242. "description": "OK",
  9243. "schema": {
  9244. "type": "array",
  9245. "items": {
  9246. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9247. }
  9248. }
  9249. },
  9250. "500": {
  9251. "description": "Internal Server Error",
  9252. "schema": {
  9253. "$ref": "#/definitions/app.Response"
  9254. }
  9255. }
  9256. }
  9257. }
  9258. },
  9259. "/QhjMgr/QueryTradePosition": {
  9260. "get": {
  9261. "security": [
  9262. {
  9263. "ApiKeyAuth": []
  9264. }
  9265. ],
  9266. "produces": [
  9267. "application/json"
  9268. ],
  9269. "tags": [
  9270. "大连千海金(PCWeb)"
  9271. ],
  9272. "summary": "查询持仓汇总",
  9273. "parameters": [
  9274. {
  9275. "type": "integer",
  9276. "description": "用户ID",
  9277. "name": "userid",
  9278. "in": "query",
  9279. "required": true
  9280. },
  9281. {
  9282. "type": "integer",
  9283. "description": "用户类型 1-个人 2-企业",
  9284. "name": "userinfotype",
  9285. "in": "query"
  9286. },
  9287. {
  9288. "type": "integer",
  9289. "description": "交易模式",
  9290. "name": "trademode",
  9291. "in": "query"
  9292. },
  9293. {
  9294. "type": "integer",
  9295. "description": "商品id",
  9296. "name": "goodsid",
  9297. "in": "query"
  9298. },
  9299. {
  9300. "type": "string",
  9301. "description": "名称(模糊搜索账户)",
  9302. "name": "filtername",
  9303. "in": "query"
  9304. },
  9305. {
  9306. "type": "integer",
  9307. "description": "是否包含子级 1-包含",
  9308. "name": "includesub",
  9309. "in": "query"
  9310. }
  9311. ],
  9312. "responses": {
  9313. "200": {
  9314. "description": "OK",
  9315. "schema": {
  9316. "type": "array",
  9317. "items": {
  9318. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9319. }
  9320. }
  9321. },
  9322. "500": {
  9323. "description": "Internal Server Error",
  9324. "schema": {
  9325. "$ref": "#/definitions/app.Response"
  9326. }
  9327. }
  9328. }
  9329. }
  9330. },
  9331. "/QhjSys/QueryAgreementChangeLog": {
  9332. "get": {
  9333. "security": [
  9334. {
  9335. "ApiKeyAuth": []
  9336. }
  9337. ],
  9338. "produces": [
  9339. "application/json"
  9340. ],
  9341. "tags": [
  9342. "大连千海金(协议和签约信息)"
  9343. ],
  9344. "summary": "查询协议配置变更流水",
  9345. "parameters": [
  9346. {
  9347. "type": "integer",
  9348. "description": "协议ID",
  9349. "name": "agreementid",
  9350. "in": "query"
  9351. },
  9352. {
  9353. "type": "integer",
  9354. "description": "协议版本号",
  9355. "name": "agreementversion",
  9356. "in": "query"
  9357. },
  9358. {
  9359. "type": "integer",
  9360. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9361. "name": "agreementtype",
  9362. "in": "query"
  9363. },
  9364. {
  9365. "type": "string",
  9366. "description": "协议编号(模糊匹配)",
  9367. "name": "agreementno",
  9368. "in": "query"
  9369. },
  9370. {
  9371. "type": "string",
  9372. "description": "协议名称(模糊匹配)",
  9373. "name": "agreementname",
  9374. "in": "query"
  9375. }
  9376. ],
  9377. "responses": {
  9378. "200": {
  9379. "description": "OK",
  9380. "schema": {
  9381. "type": "array",
  9382. "items": {
  9383. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9384. }
  9385. }
  9386. },
  9387. "500": {
  9388. "description": "Internal Server Error",
  9389. "schema": {
  9390. "$ref": "#/definitions/app.Response"
  9391. }
  9392. }
  9393. }
  9394. }
  9395. },
  9396. "/QhjSys/QueryAgreementConfig": {
  9397. "get": {
  9398. "security": [
  9399. {
  9400. "ApiKeyAuth": []
  9401. }
  9402. ],
  9403. "produces": [
  9404. "application/json"
  9405. ],
  9406. "tags": [
  9407. "大连千海金(协议和签约信息)"
  9408. ],
  9409. "summary": "查询协议配置",
  9410. "parameters": [
  9411. {
  9412. "type": "integer",
  9413. "description": "协议ID",
  9414. "name": "agreementid",
  9415. "in": "query"
  9416. },
  9417. {
  9418. "type": "integer",
  9419. "description": "协议版本号",
  9420. "name": "agreementversion",
  9421. "in": "query"
  9422. },
  9423. {
  9424. "type": "integer",
  9425. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9426. "name": "agreementtype",
  9427. "in": "query"
  9428. },
  9429. {
  9430. "type": "integer",
  9431. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9432. "name": "isvalid",
  9433. "in": "query"
  9434. },
  9435. {
  9436. "type": "string",
  9437. "description": "协议编号(模糊匹配)",
  9438. "name": "agreementno",
  9439. "in": "query"
  9440. },
  9441. {
  9442. "type": "string",
  9443. "description": "协议名称(模糊匹配)",
  9444. "name": "agreementname",
  9445. "in": "query"
  9446. }
  9447. ],
  9448. "responses": {
  9449. "200": {
  9450. "description": "OK",
  9451. "schema": {
  9452. "type": "array",
  9453. "items": {
  9454. "$ref": "#/definitions/models.QhjAgreementConfig"
  9455. }
  9456. }
  9457. },
  9458. "500": {
  9459. "description": "Internal Server Error",
  9460. "schema": {
  9461. "$ref": "#/definitions/app.Response"
  9462. }
  9463. }
  9464. }
  9465. }
  9466. },
  9467. "/QhjSys/QueryCustomerSignStatus": {
  9468. "get": {
  9469. "security": [
  9470. {
  9471. "ApiKeyAuth": []
  9472. }
  9473. ],
  9474. "produces": [
  9475. "application/json"
  9476. ],
  9477. "tags": [
  9478. "大连千海金(协议和签约信息)"
  9479. ],
  9480. "summary": "查询客户协议签约状态",
  9481. "parameters": [
  9482. {
  9483. "type": "integer",
  9484. "description": "客户ID",
  9485. "name": "userid",
  9486. "in": "query"
  9487. },
  9488. {
  9489. "type": "integer",
  9490. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9491. "name": "nodetype",
  9492. "in": "query"
  9493. },
  9494. {
  9495. "type": "integer",
  9496. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9497. "name": "goodsid",
  9498. "in": "query"
  9499. },
  9500. {
  9501. "type": "string",
  9502. "description": "创建交易日(yyyyMMdd)",
  9503. "name": "tradedate",
  9504. "in": "query"
  9505. },
  9506. {
  9507. "type": "string",
  9508. "description": "用户名称(模糊匹配)",
  9509. "name": "username",
  9510. "in": "query"
  9511. }
  9512. ],
  9513. "responses": {
  9514. "200": {
  9515. "description": "OK",
  9516. "schema": {
  9517. "type": "array",
  9518. "items": {
  9519. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9520. }
  9521. }
  9522. },
  9523. "500": {
  9524. "description": "Internal Server Error",
  9525. "schema": {
  9526. "$ref": "#/definitions/app.Response"
  9527. }
  9528. }
  9529. }
  9530. }
  9531. },
  9532. "/QhjSys/QueryNodeAgreementConfig": {
  9533. "get": {
  9534. "security": [
  9535. {
  9536. "ApiKeyAuth": []
  9537. }
  9538. ],
  9539. "produces": [
  9540. "application/json"
  9541. ],
  9542. "tags": [
  9543. "大连千海金(协议和签约信息)"
  9544. ],
  9545. "summary": "查询协议节点配置",
  9546. "parameters": [
  9547. {
  9548. "type": "integer",
  9549. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9550. "name": "configid",
  9551. "in": "query"
  9552. },
  9553. {
  9554. "type": "integer",
  9555. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9556. "name": "nodetype",
  9557. "in": "query"
  9558. },
  9559. {
  9560. "type": "integer",
  9561. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9562. "name": "goodsid",
  9563. "in": "query"
  9564. },
  9565. {
  9566. "type": "integer",
  9567. "description": "协议ID",
  9568. "name": "agreementid",
  9569. "in": "query"
  9570. },
  9571. {
  9572. "type": "integer",
  9573. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9574. "name": "agreementtype",
  9575. "in": "query"
  9576. },
  9577. {
  9578. "type": "integer",
  9579. "description": "协议版本号",
  9580. "name": "agreementversion",
  9581. "in": "query"
  9582. },
  9583. {
  9584. "type": "string",
  9585. "description": "协议编号(模糊匹配)",
  9586. "name": "agreementno",
  9587. "in": "query"
  9588. },
  9589. {
  9590. "type": "string",
  9591. "description": "协议名称(模糊匹配)",
  9592. "name": "agreementname",
  9593. "in": "query"
  9594. }
  9595. ],
  9596. "responses": {
  9597. "200": {
  9598. "description": "OK",
  9599. "schema": {
  9600. "type": "array",
  9601. "items": {
  9602. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9603. }
  9604. }
  9605. },
  9606. "500": {
  9607. "description": "Internal Server Error",
  9608. "schema": {
  9609. "$ref": "#/definitions/app.Response"
  9610. }
  9611. }
  9612. }
  9613. }
  9614. },
  9615. "/QhjSys/QueryQhjCustomerSignLog": {
  9616. "get": {
  9617. "security": [
  9618. {
  9619. "ApiKeyAuth": []
  9620. }
  9621. ],
  9622. "produces": [
  9623. "application/json"
  9624. ],
  9625. "tags": [
  9626. "大连千海金(协议和签约信息)"
  9627. ],
  9628. "summary": "查询客户协议签约流水",
  9629. "parameters": [
  9630. {
  9631. "type": "integer",
  9632. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9633. "name": "logid",
  9634. "in": "query"
  9635. },
  9636. {
  9637. "type": "integer",
  9638. "description": "客户ID",
  9639. "name": "userid",
  9640. "in": "query"
  9641. },
  9642. {
  9643. "type": "integer",
  9644. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9645. "name": "nodetype",
  9646. "in": "query"
  9647. },
  9648. {
  9649. "type": "integer",
  9650. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9651. "name": "goodsid",
  9652. "in": "query"
  9653. },
  9654. {
  9655. "type": "integer",
  9656. "description": "协议ID",
  9657. "name": "agreementid",
  9658. "in": "query"
  9659. },
  9660. {
  9661. "type": "string",
  9662. "description": "用户名称(模糊匹配)",
  9663. "name": "username",
  9664. "in": "query"
  9665. },
  9666. {
  9667. "type": "string",
  9668. "description": "协议编号(模糊匹配)",
  9669. "name": "agreementno",
  9670. "in": "query"
  9671. },
  9672. {
  9673. "type": "string",
  9674. "description": "协议名称(模糊匹配)",
  9675. "name": "agreementname",
  9676. "in": "query"
  9677. }
  9678. ],
  9679. "responses": {
  9680. "200": {
  9681. "description": "OK",
  9682. "schema": {
  9683. "type": "array",
  9684. "items": {
  9685. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9686. }
  9687. }
  9688. },
  9689. "500": {
  9690. "description": "Internal Server Error",
  9691. "schema": {
  9692. "$ref": "#/definitions/app.Response"
  9693. }
  9694. }
  9695. }
  9696. }
  9697. },
  9698. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9699. "get": {
  9700. "security": [
  9701. {
  9702. "ApiKeyAuth": []
  9703. }
  9704. ],
  9705. "produces": [
  9706. "application/json"
  9707. ],
  9708. "tags": [
  9709. "大连千海金(协议和签约信息)"
  9710. ],
  9711. "summary": "查询用户协议节点配置和状态",
  9712. "parameters": [
  9713. {
  9714. "type": "integer",
  9715. "description": "客户ID",
  9716. "name": "userid",
  9717. "in": "query"
  9718. },
  9719. {
  9720. "type": "integer",
  9721. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9722. "name": "configid",
  9723. "in": "query"
  9724. },
  9725. {
  9726. "type": "string",
  9727. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9728. "name": "nodetype",
  9729. "in": "query"
  9730. },
  9731. {
  9732. "type": "integer",
  9733. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9734. "name": "goodsid",
  9735. "in": "query"
  9736. },
  9737. {
  9738. "type": "integer",
  9739. "description": "协议ID",
  9740. "name": "agreementid",
  9741. "in": "query"
  9742. },
  9743. {
  9744. "type": "integer",
  9745. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9746. "name": "agreementtype",
  9747. "in": "query"
  9748. },
  9749. {
  9750. "type": "integer",
  9751. "description": "协议版本号",
  9752. "name": "agreementversion",
  9753. "in": "query"
  9754. },
  9755. {
  9756. "type": "string",
  9757. "description": "协议编号(模糊匹配)",
  9758. "name": "agreementno",
  9759. "in": "query"
  9760. },
  9761. {
  9762. "type": "string",
  9763. "description": "协议名称(模糊匹配)",
  9764. "name": "agreementname",
  9765. "in": "query"
  9766. }
  9767. ],
  9768. "responses": {
  9769. "200": {
  9770. "description": "OK",
  9771. "schema": {
  9772. "type": "array",
  9773. "items": {
  9774. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9775. }
  9776. }
  9777. },
  9778. "500": {
  9779. "description": "Internal Server Error",
  9780. "schema": {
  9781. "$ref": "#/definitions/app.Response"
  9782. }
  9783. }
  9784. }
  9785. }
  9786. },
  9787. "/Quote/QueryHistoryDatas": {
  9788. "get": {
  9789. "security": [
  9790. {
  9791. "ApiKeyAuth": []
  9792. }
  9793. ],
  9794. "produces": [
  9795. "application/json"
  9796. ],
  9797. "tags": [
  9798. "行情服务"
  9799. ],
  9800. "summary": "查询行情历史数据",
  9801. "parameters": [
  9802. {
  9803. "type": "integer",
  9804. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9805. "name": "cycleType",
  9806. "in": "query",
  9807. "required": true
  9808. },
  9809. {
  9810. "type": "string",
  9811. "description": "商品代码",
  9812. "name": "goodsCode",
  9813. "in": "query",
  9814. "required": true
  9815. },
  9816. {
  9817. "type": "string",
  9818. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9819. "name": "startTime",
  9820. "in": "query"
  9821. },
  9822. {
  9823. "type": "string",
  9824. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9825. "name": "endTime",
  9826. "in": "query"
  9827. },
  9828. {
  9829. "type": "integer",
  9830. "description": "条数",
  9831. "name": "count",
  9832. "in": "query"
  9833. },
  9834. {
  9835. "type": "boolean",
  9836. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9837. "name": "isAsc",
  9838. "in": "query"
  9839. }
  9840. ],
  9841. "responses": {
  9842. "200": {
  9843. "description": "OK",
  9844. "schema": {
  9845. "$ref": "#/definitions/quote.HistoryData"
  9846. }
  9847. },
  9848. "500": {
  9849. "description": "Internal Server Error",
  9850. "schema": {
  9851. "$ref": "#/definitions/app.Response"
  9852. }
  9853. }
  9854. }
  9855. }
  9856. },
  9857. "/Quote/QueryHistoryTikDatas": {
  9858. "get": {
  9859. "security": [
  9860. {
  9861. "ApiKeyAuth": []
  9862. }
  9863. ],
  9864. "produces": [
  9865. "application/json"
  9866. ],
  9867. "tags": [
  9868. "行情服务"
  9869. ],
  9870. "summary": "查询行情Tik数据",
  9871. "parameters": [
  9872. {
  9873. "type": "string",
  9874. "description": "商品代码",
  9875. "name": "goodsCode",
  9876. "in": "query",
  9877. "required": true
  9878. },
  9879. {
  9880. "type": "string",
  9881. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9882. "name": "startTime",
  9883. "in": "query"
  9884. },
  9885. {
  9886. "type": "string",
  9887. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9888. "name": "endTime",
  9889. "in": "query"
  9890. },
  9891. {
  9892. "type": "integer",
  9893. "description": "条数",
  9894. "name": "count",
  9895. "in": "query"
  9896. },
  9897. {
  9898. "type": "boolean",
  9899. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9900. "name": "isAsc",
  9901. "in": "query"
  9902. }
  9903. ],
  9904. "responses": {
  9905. "200": {
  9906. "description": "OK",
  9907. "schema": {
  9908. "$ref": "#/definitions/quote.HistoryTikData"
  9909. }
  9910. },
  9911. "500": {
  9912. "description": "Internal Server Error",
  9913. "schema": {
  9914. "$ref": "#/definitions/app.Response"
  9915. }
  9916. }
  9917. }
  9918. }
  9919. },
  9920. "/Quote/QueryQuoteDay": {
  9921. "get": {
  9922. "security": [
  9923. {
  9924. "ApiKeyAuth": []
  9925. }
  9926. ],
  9927. "produces": [
  9928. "application/json"
  9929. ],
  9930. "tags": [
  9931. "行情服务"
  9932. ],
  9933. "summary": "获取商品盘面信息",
  9934. "parameters": [
  9935. {
  9936. "type": "string",
  9937. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9938. "name": "goodsCodes",
  9939. "in": "query",
  9940. "required": true
  9941. }
  9942. ],
  9943. "responses": {
  9944. "200": {
  9945. "description": "OK",
  9946. "schema": {
  9947. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9948. }
  9949. },
  9950. "500": {
  9951. "description": "Internal Server Error",
  9952. "schema": {
  9953. "$ref": "#/definitions/app.Response"
  9954. }
  9955. }
  9956. }
  9957. }
  9958. },
  9959. "/Quote/QueryTSData": {
  9960. "get": {
  9961. "security": [
  9962. {
  9963. "ApiKeyAuth": []
  9964. }
  9965. ],
  9966. "produces": [
  9967. "application/json"
  9968. ],
  9969. "tags": [
  9970. "行情服务"
  9971. ],
  9972. "summary": "分时图数据查询",
  9973. "parameters": [
  9974. {
  9975. "type": "string",
  9976. "description": "商品代码",
  9977. "name": "goodsCode",
  9978. "in": "query",
  9979. "required": true
  9980. }
  9981. ],
  9982. "responses": {
  9983. "200": {
  9984. "description": "OK",
  9985. "schema": {
  9986. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9987. }
  9988. },
  9989. "500": {
  9990. "description": "Internal Server Error",
  9991. "schema": {
  9992. "$ref": "#/definitions/app.Response"
  9993. }
  9994. }
  9995. }
  9996. }
  9997. },
  9998. "/SZDZ/QueryConvertConfig": {
  9999. "get": {
  10000. "security": [
  10001. {
  10002. "ApiKeyAuth": []
  10003. }
  10004. ],
  10005. "produces": [
  10006. "application/json"
  10007. ],
  10008. "tags": [
  10009. "定制【尚志大宗】"
  10010. ],
  10011. "summary": "查询交易系统转换设置",
  10012. "parameters": [
  10013. {
  10014. "type": "integer",
  10015. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10016. "name": "convertType",
  10017. "in": "query"
  10018. },
  10019. {
  10020. "type": "string",
  10021. "description": "外部商品代码[JD\\PD]",
  10022. "name": "outerGoodsCode",
  10023. "in": "query"
  10024. },
  10025. {
  10026. "type": "string",
  10027. "description": "内部商品ID列表[交易],格式:1,2,3",
  10028. "name": "innerGoodsIDs",
  10029. "in": "query"
  10030. }
  10031. ],
  10032. "responses": {
  10033. "200": {
  10034. "description": "OK",
  10035. "schema": {
  10036. "$ref": "#/definitions/models.Szdz3convertconfig"
  10037. }
  10038. },
  10039. "500": {
  10040. "description": "Internal Server Error",
  10041. "schema": {
  10042. "$ref": "#/definitions/app.Response"
  10043. }
  10044. }
  10045. }
  10046. }
  10047. },
  10048. "/SZDZ/QueryConvertLog": {
  10049. "get": {
  10050. "security": [
  10051. {
  10052. "ApiKeyAuth": []
  10053. }
  10054. ],
  10055. "produces": [
  10056. "application/json"
  10057. ],
  10058. "tags": [
  10059. "定制【尚志大宗】"
  10060. ],
  10061. "summary": "交易系统转换流水查询",
  10062. "parameters": [
  10063. {
  10064. "type": "string",
  10065. "description": "资金账户 - 格式:1,2,3",
  10066. "name": "accountID",
  10067. "in": "query",
  10068. "required": true
  10069. },
  10070. {
  10071. "type": "string",
  10072. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10073. "name": "startDate",
  10074. "in": "query"
  10075. },
  10076. {
  10077. "type": "string",
  10078. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10079. "name": "endDate",
  10080. "in": "query"
  10081. }
  10082. ],
  10083. "responses": {
  10084. "200": {
  10085. "description": "OK",
  10086. "schema": {
  10087. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10088. }
  10089. },
  10090. "500": {
  10091. "description": "Internal Server Error",
  10092. "schema": {
  10093. "$ref": "#/definitions/app.Response"
  10094. }
  10095. }
  10096. }
  10097. }
  10098. },
  10099. "/SZDZ/QueryGoodsPickup": {
  10100. "get": {
  10101. "security": [
  10102. {
  10103. "ApiKeyAuth": []
  10104. }
  10105. ],
  10106. "produces": [
  10107. "application/json"
  10108. ],
  10109. "tags": [
  10110. "定制【尚志大宗】"
  10111. ],
  10112. "summary": "商品提货单查询",
  10113. "parameters": [
  10114. {
  10115. "type": "string",
  10116. "description": "资金账户 - 格式:1,2,3",
  10117. "name": "accountID",
  10118. "in": "query",
  10119. "required": true
  10120. },
  10121. {
  10122. "type": "integer",
  10123. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10124. "name": "takeOrderStatus",
  10125. "in": "query"
  10126. }
  10127. ],
  10128. "responses": {
  10129. "200": {
  10130. "description": "OK",
  10131. "schema": {
  10132. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10133. }
  10134. },
  10135. "500": {
  10136. "description": "Internal Server Error",
  10137. "schema": {
  10138. "$ref": "#/definitions/app.Response"
  10139. }
  10140. }
  10141. }
  10142. }
  10143. },
  10144. "/SZDZ/QueryRecieptOrder": {
  10145. "get": {
  10146. "security": [
  10147. {
  10148. "ApiKeyAuth": []
  10149. }
  10150. ],
  10151. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10152. "produces": [
  10153. "application/json"
  10154. ],
  10155. "tags": [
  10156. "定制【尚志大宗】"
  10157. ],
  10158. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10159. "parameters": [
  10160. {
  10161. "type": "integer",
  10162. "description": "页码",
  10163. "name": "page",
  10164. "in": "query"
  10165. },
  10166. {
  10167. "type": "integer",
  10168. "description": "每页条数",
  10169. "name": "pagesize",
  10170. "in": "query"
  10171. },
  10172. {
  10173. "type": "integer",
  10174. "description": "商品ID",
  10175. "name": "goodsID",
  10176. "in": "query",
  10177. "required": true
  10178. },
  10179. {
  10180. "type": "string",
  10181. "description": "所属账户名称",
  10182. "name": "accountName",
  10183. "in": "query"
  10184. },
  10185. {
  10186. "type": "integer",
  10187. "description": "市场ID",
  10188. "name": "marketID",
  10189. "in": "query"
  10190. },
  10191. {
  10192. "type": "integer",
  10193. "description": "方向 - 0:买 1:卖",
  10194. "name": "buyorsell",
  10195. "in": "query",
  10196. "required": true
  10197. }
  10198. ],
  10199. "responses": {
  10200. "200": {
  10201. "description": "OK",
  10202. "schema": {
  10203. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10204. }
  10205. },
  10206. "500": {
  10207. "description": "Internal Server Error",
  10208. "schema": {
  10209. "$ref": "#/definitions/app.Response"
  10210. }
  10211. }
  10212. }
  10213. }
  10214. },
  10215. "/SZDZ/QuerySZDZTradePosition": {
  10216. "get": {
  10217. "security": [
  10218. {
  10219. "ApiKeyAuth": []
  10220. }
  10221. ],
  10222. "produces": [
  10223. "application/json"
  10224. ],
  10225. "tags": [
  10226. "定制【尚志大宗】"
  10227. ],
  10228. "summary": "持仓汇总查询(尚志大宗)",
  10229. "parameters": [
  10230. {
  10231. "type": "integer",
  10232. "description": "资金账户",
  10233. "name": "accountID",
  10234. "in": "query",
  10235. "required": true
  10236. }
  10237. ],
  10238. "responses": {
  10239. "200": {
  10240. "description": "OK",
  10241. "schema": {
  10242. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10243. }
  10244. },
  10245. "500": {
  10246. "description": "Internal Server Error",
  10247. "schema": {
  10248. "$ref": "#/definitions/app.Response"
  10249. }
  10250. }
  10251. }
  10252. }
  10253. },
  10254. "/SZDZ/SearchWhite": {
  10255. "get": {
  10256. "security": [
  10257. {
  10258. "ApiKeyAuth": []
  10259. }
  10260. ],
  10261. "produces": [
  10262. "application/json"
  10263. ],
  10264. "tags": [
  10265. "定制【尚志大宗】"
  10266. ],
  10267. "summary": "搜索白名单",
  10268. "parameters": [
  10269. {
  10270. "type": "integer",
  10271. "description": "用户ID",
  10272. "name": "userID",
  10273. "in": "query",
  10274. "required": true
  10275. }
  10276. ],
  10277. "responses": {
  10278. "200": {
  10279. "description": "OK",
  10280. "schema": {
  10281. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10282. }
  10283. },
  10284. "500": {
  10285. "description": "Internal Server Error",
  10286. "schema": {
  10287. "$ref": "#/definitions/app.Response"
  10288. }
  10289. }
  10290. }
  10291. }
  10292. },
  10293. "/Search/SearchGoodses": {
  10294. "get": {
  10295. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10296. "produces": [
  10297. "application/json"
  10298. ],
  10299. "tags": [
  10300. "检索服务"
  10301. ],
  10302. "summary": "检索商品信息",
  10303. "parameters": [
  10304. {
  10305. "type": "string",
  10306. "description": "检索内容",
  10307. "name": "content",
  10308. "in": "query",
  10309. "required": true
  10310. },
  10311. {
  10312. "type": "string",
  10313. "description": "交易模式,格式:1,2,3",
  10314. "name": "tradeModes",
  10315. "in": "query"
  10316. }
  10317. ],
  10318. "responses": {
  10319. "200": {
  10320. "description": "OK",
  10321. "schema": {
  10322. "$ref": "#/definitions/models.SearchGoods"
  10323. }
  10324. },
  10325. "500": {
  10326. "description": "Internal Server Error",
  10327. "schema": {
  10328. "$ref": "#/definitions/app.Response"
  10329. }
  10330. }
  10331. }
  10332. }
  10333. },
  10334. "/TaAccount/GetTaAccounts": {
  10335. "get": {
  10336. "security": [
  10337. {
  10338. "ApiKeyAuth": []
  10339. }
  10340. ],
  10341. "produces": [
  10342. "application/json"
  10343. ],
  10344. "tags": [
  10345. "资金账户"
  10346. ],
  10347. "summary": "获取资金账户信息",
  10348. "parameters": [
  10349. {
  10350. "type": "integer",
  10351. "description": "登录账户",
  10352. "name": "loginID",
  10353. "in": "query",
  10354. "required": true
  10355. },
  10356. {
  10357. "type": "integer",
  10358. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10359. "name": "taAccountType",
  10360. "in": "query"
  10361. }
  10362. ],
  10363. "responses": {
  10364. "200": {
  10365. "description": "OK",
  10366. "schema": {
  10367. "$ref": "#/definitions/models.Taaccount"
  10368. }
  10369. },
  10370. "500": {
  10371. "description": "Internal Server Error",
  10372. "schema": {
  10373. "$ref": "#/definitions/app.Response"
  10374. }
  10375. }
  10376. }
  10377. }
  10378. },
  10379. "/TaAccount/QueryAmountLog": {
  10380. "get": {
  10381. "security": [
  10382. {
  10383. "ApiKeyAuth": []
  10384. }
  10385. ],
  10386. "produces": [
  10387. "application/json"
  10388. ],
  10389. "tags": [
  10390. "资金账户"
  10391. ],
  10392. "summary": "资金流水查询(当前)",
  10393. "parameters": [
  10394. {
  10395. "type": "integer",
  10396. "description": "页码",
  10397. "name": "page",
  10398. "in": "query"
  10399. },
  10400. {
  10401. "type": "integer",
  10402. "description": "每页条数",
  10403. "name": "pagesize",
  10404. "in": "query"
  10405. },
  10406. {
  10407. "type": "string",
  10408. "description": "资金账户 - 格式:1,2,3",
  10409. "name": "accountID",
  10410. "in": "query",
  10411. "required": true
  10412. },
  10413. {
  10414. "type": "string",
  10415. "description": "资金操作类型 - 格式:1,2,3",
  10416. "name": "OperateType",
  10417. "in": "query"
  10418. }
  10419. ],
  10420. "responses": {
  10421. "200": {
  10422. "description": "OK",
  10423. "schema": {
  10424. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10425. }
  10426. },
  10427. "500": {
  10428. "description": "Internal Server Error",
  10429. "schema": {
  10430. "$ref": "#/definitions/app.Response"
  10431. }
  10432. }
  10433. }
  10434. }
  10435. },
  10436. "/TaAccount/QueryHisAmountLog": {
  10437. "get": {
  10438. "security": [
  10439. {
  10440. "ApiKeyAuth": []
  10441. }
  10442. ],
  10443. "produces": [
  10444. "application/json"
  10445. ],
  10446. "tags": [
  10447. "资金账户"
  10448. ],
  10449. "summary": "资金流水查询(历史)",
  10450. "parameters": [
  10451. {
  10452. "type": "integer",
  10453. "description": "页码",
  10454. "name": "page",
  10455. "in": "query"
  10456. },
  10457. {
  10458. "type": "integer",
  10459. "description": "每页条数",
  10460. "name": "pagesize",
  10461. "in": "query"
  10462. },
  10463. {
  10464. "type": "string",
  10465. "description": "资金账户 - 格式:1,2,3",
  10466. "name": "accountID",
  10467. "in": "query",
  10468. "required": true
  10469. },
  10470. {
  10471. "type": "string",
  10472. "description": "资金操作类型 - 格式:1,2,3",
  10473. "name": "OperateType",
  10474. "in": "query"
  10475. },
  10476. {
  10477. "type": "string",
  10478. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10479. "name": "startDate",
  10480. "in": "query"
  10481. },
  10482. {
  10483. "type": "string",
  10484. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10485. "name": "endDate",
  10486. "in": "query"
  10487. }
  10488. ],
  10489. "responses": {
  10490. "200": {
  10491. "description": "OK",
  10492. "schema": {
  10493. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10494. }
  10495. },
  10496. "500": {
  10497. "description": "Internal Server Error",
  10498. "schema": {
  10499. "$ref": "#/definitions/app.Response"
  10500. }
  10501. }
  10502. }
  10503. }
  10504. },
  10505. "/Tjmd/QueryQuoteGoodsList": {
  10506. "get": {
  10507. "security": [
  10508. {
  10509. "ApiKeyAuth": []
  10510. }
  10511. ],
  10512. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  10513. "produces": [
  10514. "application/json"
  10515. ],
  10516. "tags": [
  10517. "天津麦顿"
  10518. ],
  10519. "summary": "查询掉期报价列表",
  10520. "parameters": [
  10521. {
  10522. "type": "integer",
  10523. "description": "用户类型",
  10524. "name": "usertype",
  10525. "in": "query",
  10526. "required": true
  10527. },
  10528. {
  10529. "type": "string",
  10530. "description": "市场id, 格式 1,2,3",
  10531. "name": "marketids",
  10532. "in": "query"
  10533. },
  10534. {
  10535. "type": "integer",
  10536. "description": "商品组id",
  10537. "name": "goodsgroupid",
  10538. "in": "query"
  10539. },
  10540. {
  10541. "type": "integer",
  10542. "description": "商品id",
  10543. "name": "goodsid",
  10544. "in": "query"
  10545. }
  10546. ],
  10547. "responses": {
  10548. "200": {
  10549. "description": "OK",
  10550. "schema": {
  10551. "type": "array",
  10552. "items": {
  10553. "$ref": "#/definitions/models.TjmdQuoteGoods"
  10554. }
  10555. }
  10556. },
  10557. "500": {
  10558. "description": "Internal Server Error",
  10559. "schema": {
  10560. "$ref": "#/definitions/app.Response"
  10561. }
  10562. }
  10563. }
  10564. }
  10565. },
  10566. "/Tjmd/QueryTjmdTodayAccountMargin": {
  10567. "get": {
  10568. "security": [
  10569. {
  10570. "ApiKeyAuth": []
  10571. }
  10572. ],
  10573. "produces": [
  10574. "application/json"
  10575. ],
  10576. "tags": [
  10577. "天津麦顿"
  10578. ],
  10579. "summary": "查询今日账户保证金配置",
  10580. "parameters": [
  10581. {
  10582. "type": "string",
  10583. "description": "市场id",
  10584. "name": "marketid",
  10585. "in": "query"
  10586. },
  10587. {
  10588. "type": "string",
  10589. "description": "商品id",
  10590. "name": "goodsid",
  10591. "in": "query"
  10592. },
  10593. {
  10594. "type": "string",
  10595. "description": "资金账号",
  10596. "name": "accountid",
  10597. "in": "query"
  10598. }
  10599. ],
  10600. "responses": {
  10601. "200": {
  10602. "description": "OK",
  10603. "schema": {
  10604. "type": "array",
  10605. "items": {
  10606. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  10607. }
  10608. }
  10609. },
  10610. "500": {
  10611. "description": "Internal Server Error",
  10612. "schema": {
  10613. "$ref": "#/definitions/app.Response"
  10614. }
  10615. }
  10616. }
  10617. }
  10618. },
  10619. "/Tjmd/QueryTjmdTradeOrderDetail": {
  10620. "get": {
  10621. "security": [
  10622. {
  10623. "ApiKeyAuth": []
  10624. }
  10625. ],
  10626. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  10627. "produces": [
  10628. "application/json"
  10629. ],
  10630. "tags": [
  10631. "天津麦顿"
  10632. ],
  10633. "summary": "查询掉期买卖大厅",
  10634. "parameters": [
  10635. {
  10636. "type": "integer",
  10637. "description": "页码",
  10638. "name": "page",
  10639. "in": "query"
  10640. },
  10641. {
  10642. "type": "integer",
  10643. "description": "每页条数",
  10644. "name": "pagesize",
  10645. "in": "query"
  10646. },
  10647. {
  10648. "type": "integer",
  10649. "description": "用户id",
  10650. "name": "userid",
  10651. "in": "query",
  10652. "required": true
  10653. },
  10654. {
  10655. "type": "integer",
  10656. "description": "用户类型",
  10657. "name": "usertype",
  10658. "in": "query",
  10659. "required": true
  10660. },
  10661. {
  10662. "type": "string",
  10663. "description": "市场id, 格式 1,2,3",
  10664. "name": "marketids",
  10665. "in": "query"
  10666. },
  10667. {
  10668. "type": "integer",
  10669. "description": "商品id",
  10670. "name": "goodsid",
  10671. "in": "query",
  10672. "required": true
  10673. },
  10674. {
  10675. "type": "integer",
  10676. "description": "买卖方向 0-买 1-卖",
  10677. "name": "buyorsell",
  10678. "in": "query",
  10679. "required": true
  10680. }
  10681. ],
  10682. "responses": {
  10683. "200": {
  10684. "description": "OK",
  10685. "schema": {
  10686. "type": "array",
  10687. "items": {
  10688. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  10689. }
  10690. }
  10691. },
  10692. "500": {
  10693. "description": "Internal Server Error",
  10694. "schema": {
  10695. "$ref": "#/definitions/app.Response"
  10696. }
  10697. }
  10698. }
  10699. }
  10700. },
  10701. "/Tjmd/QueryTjmdTransferApply": {
  10702. "get": {
  10703. "security": [
  10704. {
  10705. "ApiKeyAuth": []
  10706. }
  10707. ],
  10708. "produces": [
  10709. "application/json"
  10710. ],
  10711. "tags": [
  10712. "天津麦顿"
  10713. ],
  10714. "summary": "查询掉期协议单",
  10715. "parameters": [
  10716. {
  10717. "type": "integer",
  10718. "description": "类型 1-我的申请 2-对方申请",
  10719. "name": "applytype",
  10720. "in": "query",
  10721. "required": true
  10722. },
  10723. {
  10724. "type": "string",
  10725. "description": "市场id, 格式 1,2,3",
  10726. "name": "marketids",
  10727. "in": "query"
  10728. },
  10729. {
  10730. "type": "string",
  10731. "description": "资金账号, 格式 25000000001,25000000003",
  10732. "name": "accountids",
  10733. "in": "query"
  10734. }
  10735. ],
  10736. "responses": {
  10737. "200": {
  10738. "description": "OK",
  10739. "schema": {
  10740. "type": "array",
  10741. "items": {
  10742. "$ref": "#/definitions/models.TjmdTransferApply"
  10743. }
  10744. }
  10745. },
  10746. "500": {
  10747. "description": "Internal Server Error",
  10748. "schema": {
  10749. "$ref": "#/definitions/app.Response"
  10750. }
  10751. }
  10752. }
  10753. }
  10754. },
  10755. "/Trade/QueryRecieptOrder": {
  10756. "get": {
  10757. "security": [
  10758. {
  10759. "ApiKeyAuth": []
  10760. }
  10761. ],
  10762. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10763. "produces": [
  10764. "application/json"
  10765. ],
  10766. "tags": [
  10767. "通用交易"
  10768. ],
  10769. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10770. "parameters": [
  10771. {
  10772. "type": "integer",
  10773. "description": "页码",
  10774. "name": "page",
  10775. "in": "query"
  10776. },
  10777. {
  10778. "type": "integer",
  10779. "description": "每页条数",
  10780. "name": "pagesize",
  10781. "in": "query"
  10782. },
  10783. {
  10784. "type": "integer",
  10785. "description": "商品ID",
  10786. "name": "goodsID",
  10787. "in": "query",
  10788. "required": true
  10789. },
  10790. {
  10791. "type": "string",
  10792. "description": "所属账户名称",
  10793. "name": "accountName",
  10794. "in": "query"
  10795. },
  10796. {
  10797. "type": "integer",
  10798. "description": "市场ID",
  10799. "name": "marketID",
  10800. "in": "query"
  10801. },
  10802. {
  10803. "type": "integer",
  10804. "description": "方向 - 0:买 1:卖",
  10805. "name": "buyorsell",
  10806. "in": "query",
  10807. "required": true
  10808. }
  10809. ],
  10810. "responses": {
  10811. "200": {
  10812. "description": "OK",
  10813. "schema": {
  10814. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10815. }
  10816. },
  10817. "500": {
  10818. "description": "Internal Server Error",
  10819. "schema": {
  10820. "$ref": "#/definitions/app.Response"
  10821. }
  10822. }
  10823. }
  10824. }
  10825. },
  10826. "/User/AddMessageBoard": {
  10827. "post": {
  10828. "security": [
  10829. {
  10830. "ApiKeyAuth": []
  10831. }
  10832. ],
  10833. "produces": [
  10834. "application/json"
  10835. ],
  10836. "tags": [
  10837. "用户信息"
  10838. ],
  10839. "summary": "添加用户留言板信息",
  10840. "parameters": [
  10841. {
  10842. "type": "integer",
  10843. "description": "用户ID",
  10844. "name": "userID",
  10845. "in": "query",
  10846. "required": true
  10847. },
  10848. {
  10849. "type": "string",
  10850. "description": "留言信息",
  10851. "name": "message",
  10852. "in": "query",
  10853. "required": true
  10854. },
  10855. {
  10856. "type": "string",
  10857. "description": "联系电话",
  10858. "name": "contactNum",
  10859. "in": "query",
  10860. "required": true
  10861. }
  10862. ],
  10863. "responses": {
  10864. "200": {
  10865. "description": "OK",
  10866. "schema": {
  10867. "$ref": "#/definitions/app.Response"
  10868. }
  10869. },
  10870. "500": {
  10871. "description": "Internal Server Error",
  10872. "schema": {
  10873. "$ref": "#/definitions/app.Response"
  10874. }
  10875. }
  10876. }
  10877. }
  10878. },
  10879. "/User/AddUserFavoriteGoods": {
  10880. "post": {
  10881. "security": [
  10882. {
  10883. "ApiKeyAuth": []
  10884. }
  10885. ],
  10886. "produces": [
  10887. "application/json"
  10888. ],
  10889. "tags": [
  10890. "用户信息"
  10891. ],
  10892. "summary": "添加用户商品收藏信息",
  10893. "parameters": [
  10894. {
  10895. "type": "integer",
  10896. "description": "用户ID",
  10897. "name": "userID",
  10898. "in": "query",
  10899. "required": true
  10900. },
  10901. {
  10902. "type": "integer",
  10903. "description": "商品ID",
  10904. "name": "goodsID",
  10905. "in": "query",
  10906. "required": true
  10907. }
  10908. ],
  10909. "responses": {
  10910. "200": {
  10911. "description": "OK",
  10912. "schema": {
  10913. "$ref": "#/definitions/app.Response"
  10914. }
  10915. },
  10916. "500": {
  10917. "description": "Internal Server Error",
  10918. "schema": {
  10919. "$ref": "#/definitions/app.Response"
  10920. }
  10921. }
  10922. }
  10923. }
  10924. },
  10925. "/User/GetLoginID": {
  10926. "get": {
  10927. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10928. "produces": [
  10929. "application/json"
  10930. ],
  10931. "tags": [
  10932. "用户信息"
  10933. ],
  10934. "summary": "获取登录ID",
  10935. "parameters": [
  10936. {
  10937. "type": "string",
  10938. "description": "登录代码",
  10939. "name": "username",
  10940. "in": "query",
  10941. "required": true
  10942. }
  10943. ],
  10944. "responses": {
  10945. "200": {
  10946. "description": "OK",
  10947. "schema": {
  10948. "$ref": "#/definitions/app.Response"
  10949. }
  10950. },
  10951. "500": {
  10952. "description": "Internal Server Error",
  10953. "schema": {
  10954. "$ref": "#/definitions/app.Response"
  10955. }
  10956. }
  10957. }
  10958. }
  10959. },
  10960. "/User/GetUserAccount": {
  10961. "get": {
  10962. "security": [
  10963. {
  10964. "ApiKeyAuth": []
  10965. }
  10966. ],
  10967. "produces": [
  10968. "application/json"
  10969. ],
  10970. "tags": [
  10971. "用户信息"
  10972. ],
  10973. "summary": "获取用户账号信息",
  10974. "parameters": [
  10975. {
  10976. "type": "integer",
  10977. "description": "用户ID",
  10978. "name": "userID",
  10979. "in": "query",
  10980. "required": true
  10981. }
  10982. ],
  10983. "responses": {
  10984. "200": {
  10985. "description": "OK",
  10986. "schema": {
  10987. "$ref": "#/definitions/models.Useraccount"
  10988. }
  10989. },
  10990. "500": {
  10991. "description": "Internal Server Error",
  10992. "schema": {
  10993. "$ref": "#/definitions/app.Response"
  10994. }
  10995. }
  10996. }
  10997. }
  10998. },
  10999. "/User/GetUserAuthStatus": {
  11000. "get": {
  11001. "security": [
  11002. {
  11003. "ApiKeyAuth": []
  11004. }
  11005. ],
  11006. "produces": [
  11007. "application/json"
  11008. ],
  11009. "tags": [
  11010. "用户信息"
  11011. ],
  11012. "summary": "获取用户实名认证状态",
  11013. "parameters": [
  11014. {
  11015. "type": "integer",
  11016. "description": "用户ID",
  11017. "name": "userID",
  11018. "in": "query",
  11019. "required": true
  11020. }
  11021. ],
  11022. "responses": {
  11023. "200": {
  11024. "description": "OK",
  11025. "schema": {
  11026. "$ref": "#/definitions/app.Response"
  11027. }
  11028. },
  11029. "500": {
  11030. "description": "Internal Server Error",
  11031. "schema": {
  11032. "$ref": "#/definitions/app.Response"
  11033. }
  11034. }
  11035. }
  11036. }
  11037. },
  11038. "/User/LoginQuery": {
  11039. "get": {
  11040. "security": [
  11041. {
  11042. "ApiKeyAuth": []
  11043. }
  11044. ],
  11045. "produces": [
  11046. "application/json"
  11047. ],
  11048. "tags": [
  11049. "用户信息"
  11050. ],
  11051. "summary": "账户登录后信息查询",
  11052. "parameters": [
  11053. {
  11054. "type": "integer",
  11055. "description": "登录账号",
  11056. "name": "loginID",
  11057. "in": "query",
  11058. "required": true
  11059. }
  11060. ],
  11061. "responses": {
  11062. "200": {
  11063. "description": "OK",
  11064. "schema": {
  11065. "$ref": "#/definitions/user.LoginQueryRsp"
  11066. }
  11067. },
  11068. "500": {
  11069. "description": "Internal Server Error",
  11070. "schema": {
  11071. "$ref": "#/definitions/app.Response"
  11072. }
  11073. }
  11074. }
  11075. }
  11076. },
  11077. "/User/QueryMessageBoard": {
  11078. "get": {
  11079. "security": [
  11080. {
  11081. "ApiKeyAuth": []
  11082. }
  11083. ],
  11084. "produces": [
  11085. "application/json"
  11086. ],
  11087. "tags": [
  11088. "用户信息"
  11089. ],
  11090. "summary": "获取用户留言板信息",
  11091. "parameters": [
  11092. {
  11093. "type": "integer",
  11094. "description": "用户ID",
  11095. "name": "userID",
  11096. "in": "query",
  11097. "required": true
  11098. }
  11099. ],
  11100. "responses": {
  11101. "200": {
  11102. "description": "OK",
  11103. "schema": {
  11104. "$ref": "#/definitions/models.Messageboard"
  11105. }
  11106. },
  11107. "500": {
  11108. "description": "Internal Server Error",
  11109. "schema": {
  11110. "$ref": "#/definitions/app.Response"
  11111. }
  11112. }
  11113. }
  11114. }
  11115. },
  11116. "/User/QueryUserFavoriteGoodses": {
  11117. "get": {
  11118. "security": [
  11119. {
  11120. "ApiKeyAuth": []
  11121. }
  11122. ],
  11123. "produces": [
  11124. "application/json"
  11125. ],
  11126. "tags": [
  11127. "用户信息"
  11128. ],
  11129. "summary": "获取用户商品收藏信息",
  11130. "parameters": [
  11131. {
  11132. "type": "integer",
  11133. "description": "用户ID",
  11134. "name": "userID",
  11135. "in": "query",
  11136. "required": true
  11137. }
  11138. ],
  11139. "responses": {
  11140. "200": {
  11141. "description": "OK",
  11142. "schema": {
  11143. "$ref": "#/definitions/models.Userfavoritegoods"
  11144. }
  11145. },
  11146. "500": {
  11147. "description": "Internal Server Error",
  11148. "schema": {
  11149. "$ref": "#/definitions/app.Response"
  11150. }
  11151. }
  11152. }
  11153. }
  11154. },
  11155. "/User/QueryUserInfo": {
  11156. "get": {
  11157. "security": [
  11158. {
  11159. "ApiKeyAuth": []
  11160. }
  11161. ],
  11162. "produces": [
  11163. "application/json"
  11164. ],
  11165. "tags": [
  11166. "用户信息"
  11167. ],
  11168. "summary": "获取用户信息",
  11169. "parameters": [
  11170. {
  11171. "type": "integer",
  11172. "description": "用户ID",
  11173. "name": "userID",
  11174. "in": "query",
  11175. "required": true
  11176. },
  11177. {
  11178. "type": "boolean",
  11179. "description": "是否解密",
  11180. "name": "isDecrypt",
  11181. "in": "query"
  11182. }
  11183. ],
  11184. "responses": {
  11185. "200": {
  11186. "description": "OK",
  11187. "schema": {
  11188. "$ref": "#/definitions/models.Userinfo"
  11189. }
  11190. },
  11191. "500": {
  11192. "description": "Internal Server Error",
  11193. "schema": {
  11194. "$ref": "#/definitions/app.Response"
  11195. }
  11196. }
  11197. }
  11198. }
  11199. },
  11200. "/User/QueryUserReferNum": {
  11201. "get": {
  11202. "produces": [
  11203. "application/json"
  11204. ],
  11205. "tags": [
  11206. "用户信息"
  11207. ],
  11208. "summary": "获取用户邀请码",
  11209. "parameters": [
  11210. {
  11211. "type": "integer",
  11212. "description": "用户ID",
  11213. "name": "userID",
  11214. "in": "query",
  11215. "required": true
  11216. }
  11217. ],
  11218. "responses": {
  11219. "200": {
  11220. "description": "OK",
  11221. "schema": {
  11222. "$ref": "#/definitions/app.Response"
  11223. }
  11224. },
  11225. "500": {
  11226. "description": "Internal Server Error",
  11227. "schema": {
  11228. "$ref": "#/definitions/app.Response"
  11229. }
  11230. }
  11231. }
  11232. }
  11233. },
  11234. "/User/RemoveUserFavoriteGoods": {
  11235. "post": {
  11236. "security": [
  11237. {
  11238. "ApiKeyAuth": []
  11239. }
  11240. ],
  11241. "produces": [
  11242. "application/json"
  11243. ],
  11244. "tags": [
  11245. "用户信息"
  11246. ],
  11247. "summary": "移除用户商品收藏信息",
  11248. "parameters": [
  11249. {
  11250. "type": "integer",
  11251. "description": "用户ID",
  11252. "name": "userID",
  11253. "in": "query",
  11254. "required": true
  11255. },
  11256. {
  11257. "type": "integer",
  11258. "description": "商品ID",
  11259. "name": "goodsID",
  11260. "in": "query",
  11261. "required": true
  11262. }
  11263. ],
  11264. "responses": {
  11265. "200": {
  11266. "description": "OK",
  11267. "schema": {
  11268. "$ref": "#/definitions/app.Response"
  11269. }
  11270. },
  11271. "500": {
  11272. "description": "Internal Server Error",
  11273. "schema": {
  11274. "$ref": "#/definitions/app.Response"
  11275. }
  11276. }
  11277. }
  11278. }
  11279. },
  11280. "/User/UpdateUserAccountStatus": {
  11281. "post": {
  11282. "security": [
  11283. {
  11284. "ApiKeyAuth": []
  11285. }
  11286. ],
  11287. "produces": [
  11288. "application/json"
  11289. ],
  11290. "tags": [
  11291. "用户信息"
  11292. ],
  11293. "summary": "更新用户状态",
  11294. "parameters": [
  11295. {
  11296. "type": "integer",
  11297. "description": "用户ID",
  11298. "name": "userID",
  11299. "in": "query",
  11300. "required": true
  11301. },
  11302. {
  11303. "type": "integer",
  11304. "description": "账户状态 - 4:正常 6:注销(停用)",
  11305. "name": "accountStatus",
  11306. "in": "query",
  11307. "required": true
  11308. }
  11309. ],
  11310. "responses": {
  11311. "200": {
  11312. "description": "OK",
  11313. "schema": {
  11314. "$ref": "#/definitions/app.Response"
  11315. }
  11316. },
  11317. "500": {
  11318. "description": "Internal Server Error",
  11319. "schema": {
  11320. "$ref": "#/definitions/app.Response"
  11321. }
  11322. }
  11323. }
  11324. }
  11325. },
  11326. "/WRTrade/GetAllDeliveryGoods": {
  11327. "get": {
  11328. "security": [
  11329. {
  11330. "ApiKeyAuth": []
  11331. },
  11332. {
  11333. "ApiKeyAuth": []
  11334. }
  11335. ],
  11336. "produces": [
  11337. "application/json",
  11338. "application/json"
  11339. ],
  11340. "tags": [
  11341. "仓单贸易",
  11342. "仓单贸易"
  11343. ],
  11344. "summary": "获取带仓单分类的种类信息",
  11345. "responses": {
  11346. "200": {
  11347. "description": "OK",
  11348. "schema": {
  11349. "$ref": "#/definitions/app.Response"
  11350. }
  11351. },
  11352. "500": {
  11353. "description": "Internal Server Error",
  11354. "schema": {
  11355. "$ref": "#/definitions/app.Response"
  11356. }
  11357. }
  11358. }
  11359. }
  11360. },
  11361. "/WrTrade2/QueryFaProductDetail": {
  11362. "get": {
  11363. "security": [
  11364. {
  11365. "ApiKeyAuth": []
  11366. }
  11367. ],
  11368. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11369. "produces": [
  11370. "application/json"
  11371. ],
  11372. "tags": [
  11373. "仓单贸易v2"
  11374. ],
  11375. "summary": "查询融资产品列表",
  11376. "parameters": [
  11377. {
  11378. "type": "integer",
  11379. "description": "仓单要素id",
  11380. "name": "wrfactortypeid",
  11381. "in": "query",
  11382. "required": true
  11383. }
  11384. ],
  11385. "responses": {
  11386. "200": {
  11387. "description": "OK",
  11388. "schema": {
  11389. "type": "array",
  11390. "items": {
  11391. "$ref": "#/definitions/models.WrFAProductDetail"
  11392. }
  11393. }
  11394. },
  11395. "500": {
  11396. "description": "Internal Server Error",
  11397. "schema": {
  11398. "$ref": "#/definitions/app.Response"
  11399. }
  11400. }
  11401. }
  11402. }
  11403. },
  11404. "/WrTrade2/QueryFilterItem": {
  11405. "get": {
  11406. "security": [
  11407. {
  11408. "ApiKeyAuth": []
  11409. }
  11410. ],
  11411. "produces": [
  11412. "application/json"
  11413. ],
  11414. "tags": [
  11415. "仓单贸易v2"
  11416. ],
  11417. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  11418. "parameters": [
  11419. {
  11420. "type": "string",
  11421. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  11422. "name": "itype",
  11423. "in": "query",
  11424. "required": true
  11425. }
  11426. ],
  11427. "responses": {
  11428. "200": {
  11429. "description": "OK",
  11430. "schema": {
  11431. "type": "array",
  11432. "items": {
  11433. "$ref": "#/definitions/models.WrFilterItem"
  11434. }
  11435. }
  11436. },
  11437. "500": {
  11438. "description": "Internal Server Error",
  11439. "schema": {
  11440. "$ref": "#/definitions/app.Response"
  11441. }
  11442. }
  11443. }
  11444. }
  11445. },
  11446. "/WrTrade2/QueryFtDeliveryGoods": {
  11447. "get": {
  11448. "security": [
  11449. {
  11450. "ApiKeyAuth": []
  11451. }
  11452. ],
  11453. "produces": [
  11454. "application/json"
  11455. ],
  11456. "tags": [
  11457. "仓单贸易v2"
  11458. ],
  11459. "summary": "查询品种品类筛选框列表",
  11460. "responses": {
  11461. "200": {
  11462. "description": "OK",
  11463. "schema": {
  11464. "type": "array",
  11465. "items": {
  11466. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11467. }
  11468. }
  11469. },
  11470. "500": {
  11471. "description": "Internal Server Error",
  11472. "schema": {
  11473. "$ref": "#/definitions/app.Response"
  11474. }
  11475. }
  11476. }
  11477. }
  11478. },
  11479. "/WrTrade2/QueryHoldLB": {
  11480. "get": {
  11481. "security": [
  11482. {
  11483. "ApiKeyAuth": []
  11484. }
  11485. ],
  11486. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11487. "produces": [
  11488. "application/json"
  11489. ],
  11490. "tags": [
  11491. "仓单贸易v2"
  11492. ],
  11493. "summary": "查询仓单持有记录",
  11494. "parameters": [
  11495. {
  11496. "type": "integer",
  11497. "description": "资金账号",
  11498. "name": "accountid",
  11499. "in": "query",
  11500. "required": true
  11501. },
  11502. {
  11503. "type": "integer",
  11504. "description": "仓库id",
  11505. "name": "warehouseid",
  11506. "in": "query"
  11507. },
  11508. {
  11509. "type": "integer",
  11510. "description": "品种id",
  11511. "name": "deliverygoodsid",
  11512. "in": "query"
  11513. },
  11514. {
  11515. "type": "integer",
  11516. "description": "品类id",
  11517. "name": "wrstandardid",
  11518. "in": "query"
  11519. },
  11520. {
  11521. "type": "integer",
  11522. "description": "仓单要素id",
  11523. "name": "wrfactortypeid",
  11524. "in": "query"
  11525. }
  11526. ],
  11527. "responses": {
  11528. "200": {
  11529. "description": "OK",
  11530. "schema": {
  11531. "type": "array",
  11532. "items": {
  11533. "$ref": "#/definitions/models.WrHoldLB"
  11534. }
  11535. }
  11536. },
  11537. "500": {
  11538. "description": "Internal Server Error",
  11539. "schema": {
  11540. "$ref": "#/definitions/app.Response"
  11541. }
  11542. }
  11543. }
  11544. }
  11545. },
  11546. "/WrTrade2/QueryOrderQuote": {
  11547. "get": {
  11548. "security": [
  11549. {
  11550. "ApiKeyAuth": []
  11551. }
  11552. ],
  11553. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11554. "produces": [
  11555. "application/json"
  11556. ],
  11557. "tags": [
  11558. "仓单贸易v2"
  11559. ],
  11560. "summary": "查询大厅行情列表",
  11561. "parameters": [
  11562. {
  11563. "type": "integer",
  11564. "description": "页码",
  11565. "name": "page",
  11566. "in": "query"
  11567. },
  11568. {
  11569. "type": "integer",
  11570. "description": "每页条数",
  11571. "name": "pagesize",
  11572. "in": "query"
  11573. },
  11574. {
  11575. "type": "integer",
  11576. "description": "仓单贸易市场id",
  11577. "name": "marketid",
  11578. "in": "query"
  11579. },
  11580. {
  11581. "type": "integer",
  11582. "description": "价格方式 - 1:固定价 2-浮动价",
  11583. "name": "wrpricetype",
  11584. "in": "query",
  11585. "required": true
  11586. },
  11587. {
  11588. "type": "integer",
  11589. "description": "0:仓单预售 1:仓单贸易",
  11590. "name": "haswr",
  11591. "in": "query",
  11592. "required": true
  11593. },
  11594. {
  11595. "type": "string",
  11596. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11597. "name": "dgitemname",
  11598. "in": "query"
  11599. },
  11600. {
  11601. "type": "integer",
  11602. "description": "仓库id(筛选条件)",
  11603. "name": "warehouseid",
  11604. "in": "query"
  11605. },
  11606. {
  11607. "type": "integer",
  11608. "description": "品种id",
  11609. "name": "deliverygoodsid",
  11610. "in": "query"
  11611. },
  11612. {
  11613. "type": "integer",
  11614. "description": "品类id",
  11615. "name": "wrstandardid",
  11616. "in": "query"
  11617. },
  11618. {
  11619. "type": "integer",
  11620. "description": "仓单要素id",
  11621. "name": "wrfactortypeid",
  11622. "in": "query"
  11623. },
  11624. {
  11625. "type": "string",
  11626. "description": "交收月(yyyy-mm) 仓单预售填写",
  11627. "name": "deliverymonth",
  11628. "in": "query"
  11629. }
  11630. ],
  11631. "responses": {
  11632. "200": {
  11633. "description": "OK",
  11634. "schema": {
  11635. "type": "array",
  11636. "items": {
  11637. "$ref": "#/definitions/models.WrOrderQuote"
  11638. }
  11639. }
  11640. },
  11641. "500": {
  11642. "description": "Internal Server Error",
  11643. "schema": {
  11644. "$ref": "#/definitions/app.Response"
  11645. }
  11646. }
  11647. }
  11648. }
  11649. },
  11650. "/WrTrade2/QueryOrderQuoteDetail": {
  11651. "get": {
  11652. "security": [
  11653. {
  11654. "ApiKeyAuth": []
  11655. }
  11656. ],
  11657. "produces": [
  11658. "application/json"
  11659. ],
  11660. "tags": [
  11661. "仓单贸易v2"
  11662. ],
  11663. "summary": "查询买卖大厅",
  11664. "parameters": [
  11665. {
  11666. "type": "integer",
  11667. "description": "页码",
  11668. "name": "page",
  11669. "in": "query"
  11670. },
  11671. {
  11672. "type": "integer",
  11673. "description": "每页条数",
  11674. "name": "pagesize",
  11675. "in": "query"
  11676. },
  11677. {
  11678. "type": "integer",
  11679. "description": "仓单贸易市场id",
  11680. "name": "marketid",
  11681. "in": "query"
  11682. },
  11683. {
  11684. "type": "integer",
  11685. "description": "价格方式 - 1:固定价 2-浮动价",
  11686. "name": "wrpricetype",
  11687. "in": "query",
  11688. "required": true
  11689. },
  11690. {
  11691. "type": "integer",
  11692. "description": "0:仓单预售 1:仓单贸易",
  11693. "name": "haswr",
  11694. "in": "query",
  11695. "required": true
  11696. },
  11697. {
  11698. "type": "integer",
  11699. "description": "仓单要素id",
  11700. "name": "wrfactortypeid",
  11701. "in": "query",
  11702. "required": true
  11703. },
  11704. {
  11705. "type": "integer",
  11706. "description": "期货商品id(浮动价方式时填)",
  11707. "name": "goodsid",
  11708. "in": "query"
  11709. },
  11710. {
  11711. "type": "integer",
  11712. "description": "买卖方向 0-买 1-卖",
  11713. "name": "buyorsell",
  11714. "in": "query",
  11715. "required": true
  11716. },
  11717. {
  11718. "type": "string",
  11719. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11720. "name": "deliverymonth",
  11721. "in": "query"
  11722. }
  11723. ],
  11724. "responses": {
  11725. "200": {
  11726. "description": "OK",
  11727. "schema": {
  11728. "type": "array",
  11729. "items": {
  11730. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11731. }
  11732. }
  11733. },
  11734. "500": {
  11735. "description": "Internal Server Error",
  11736. "schema": {
  11737. "$ref": "#/definitions/app.Response"
  11738. }
  11739. }
  11740. }
  11741. }
  11742. },
  11743. "/WrTrade2/QueryOrderQuoteMyq": {
  11744. "get": {
  11745. "security": [
  11746. {
  11747. "ApiKeyAuth": []
  11748. }
  11749. ],
  11750. "produces": [
  11751. "application/json"
  11752. ],
  11753. "tags": [
  11754. "仓单贸易v2"
  11755. ],
  11756. "summary": "查询贸易圈挂牌大厅",
  11757. "parameters": [
  11758. {
  11759. "type": "integer",
  11760. "description": "页码",
  11761. "name": "page",
  11762. "in": "query"
  11763. },
  11764. {
  11765. "type": "integer",
  11766. "description": "每页条数",
  11767. "name": "pagesize",
  11768. "in": "query"
  11769. },
  11770. {
  11771. "type": "integer",
  11772. "description": "用户id",
  11773. "name": "userid",
  11774. "in": "query",
  11775. "required": true
  11776. },
  11777. {
  11778. "type": "integer",
  11779. "description": "仓单贸易市场id",
  11780. "name": "marketid",
  11781. "in": "query"
  11782. },
  11783. {
  11784. "type": "integer",
  11785. "description": "0:仓单预售 1:仓单贸易",
  11786. "name": "haswr",
  11787. "in": "query",
  11788. "required": true
  11789. },
  11790. {
  11791. "type": "integer",
  11792. "description": "买卖方向 0-买 1-卖",
  11793. "name": "buyorsell",
  11794. "in": "query",
  11795. "required": true
  11796. },
  11797. {
  11798. "type": "integer",
  11799. "description": "品种id",
  11800. "name": "deliverygoodsid",
  11801. "in": "query"
  11802. },
  11803. {
  11804. "type": "integer",
  11805. "description": "品类id",
  11806. "name": "wrstandardid",
  11807. "in": "query"
  11808. },
  11809. {
  11810. "type": "string",
  11811. "description": "交收月(yyyy-mm) 仓单预售填写",
  11812. "name": "deliverymonth",
  11813. "in": "query"
  11814. },
  11815. {
  11816. "type": "string",
  11817. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11818. "name": "dgitemname",
  11819. "in": "query"
  11820. }
  11821. ],
  11822. "responses": {
  11823. "200": {
  11824. "description": "OK",
  11825. "schema": {
  11826. "type": "array",
  11827. "items": {
  11828. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11829. }
  11830. }
  11831. },
  11832. "500": {
  11833. "description": "Internal Server Error",
  11834. "schema": {
  11835. "$ref": "#/definitions/app.Response"
  11836. }
  11837. }
  11838. }
  11839. }
  11840. },
  11841. "/WrTrade2/QueryPerformancePlan": {
  11842. "get": {
  11843. "security": [
  11844. {
  11845. "ApiKeyAuth": []
  11846. }
  11847. ],
  11848. "produces": [
  11849. "application/json"
  11850. ],
  11851. "tags": [
  11852. "仓单贸易v2"
  11853. ],
  11854. "summary": "查询履约信息",
  11855. "parameters": [
  11856. {
  11857. "type": "integer",
  11858. "description": "用户id",
  11859. "name": "userid",
  11860. "in": "query",
  11861. "required": true
  11862. },
  11863. {
  11864. "type": "integer",
  11865. "description": "买卖方向 0-买 1-卖",
  11866. "name": "buyorsell",
  11867. "in": "query",
  11868. "required": true
  11869. }
  11870. ],
  11871. "responses": {
  11872. "200": {
  11873. "description": "OK",
  11874. "schema": {
  11875. "type": "array",
  11876. "items": {
  11877. "$ref": "#/definitions/models.WrPerformancePlan"
  11878. }
  11879. }
  11880. },
  11881. "500": {
  11882. "description": "Internal Server Error",
  11883. "schema": {
  11884. "$ref": "#/definitions/app.Response"
  11885. }
  11886. }
  11887. }
  11888. }
  11889. },
  11890. "/WrTrade2/QueryPermancePlanTmp": {
  11891. "get": {
  11892. "security": [
  11893. {
  11894. "ApiKeyAuth": []
  11895. }
  11896. ],
  11897. "description": "返回指定用户的模板和公共模板(用户id为空)",
  11898. "produces": [
  11899. "application/json"
  11900. ],
  11901. "tags": [
  11902. "仓单贸易v2"
  11903. ],
  11904. "summary": "查询履约模板",
  11905. "parameters": [
  11906. {
  11907. "type": "integer",
  11908. "description": "用户id",
  11909. "name": "userid",
  11910. "in": "query"
  11911. },
  11912. {
  11913. "type": "string",
  11914. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  11915. "name": "tmptype",
  11916. "in": "query"
  11917. },
  11918. {
  11919. "type": "integer",
  11920. "description": "是否包含公共模板(用户id为空的) 1-包含",
  11921. "name": "includepub",
  11922. "in": "query"
  11923. }
  11924. ],
  11925. "responses": {
  11926. "200": {
  11927. "description": "OK",
  11928. "schema": {
  11929. "type": "array",
  11930. "items": {
  11931. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  11932. }
  11933. }
  11934. },
  11935. "500": {
  11936. "description": "Internal Server Error",
  11937. "schema": {
  11938. "$ref": "#/definitions/app.Response"
  11939. }
  11940. }
  11941. }
  11942. }
  11943. },
  11944. "/WrTrade2/QueryWrAverageTradePrice": {
  11945. "get": {
  11946. "security": [
  11947. {
  11948. "ApiKeyAuth": []
  11949. }
  11950. ],
  11951. "produces": [
  11952. "application/json"
  11953. ],
  11954. "tags": [
  11955. "仓单贸易v2"
  11956. ],
  11957. "summary": "查询成交价(历史走势)",
  11958. "parameters": [
  11959. {
  11960. "type": "integer",
  11961. "description": "页码",
  11962. "name": "page",
  11963. "in": "query"
  11964. },
  11965. {
  11966. "type": "integer",
  11967. "description": "每页条数",
  11968. "name": "pagesize",
  11969. "in": "query"
  11970. },
  11971. {
  11972. "type": "integer",
  11973. "description": "0:仓单预售 1:仓单贸易",
  11974. "name": "haswr",
  11975. "in": "query",
  11976. "required": true
  11977. },
  11978. {
  11979. "type": "integer",
  11980. "description": "仓单要素id",
  11981. "name": "wrfactortypeid",
  11982. "in": "query",
  11983. "required": true
  11984. }
  11985. ],
  11986. "responses": {
  11987. "200": {
  11988. "description": "OK",
  11989. "schema": {
  11990. "type": "array",
  11991. "items": {
  11992. "$ref": "#/definitions/models.WrAverageTradePrice"
  11993. }
  11994. }
  11995. },
  11996. "500": {
  11997. "description": "Internal Server Error",
  11998. "schema": {
  11999. "$ref": "#/definitions/app.Response"
  12000. }
  12001. }
  12002. }
  12003. }
  12004. },
  12005. "/WrTrade2/QueryWrBsGoodsInfo": {
  12006. "get": {
  12007. "security": [
  12008. {
  12009. "ApiKeyAuth": []
  12010. }
  12011. ],
  12012. "description": "合约交易/买卖大厅/详情",
  12013. "produces": [
  12014. "application/json"
  12015. ],
  12016. "tags": [
  12017. "仓单贸易v2"
  12018. ],
  12019. "summary": "查询合约交易买卖大厅详情",
  12020. "parameters": [
  12021. {
  12022. "type": "integer",
  12023. "description": "商品id",
  12024. "name": "goodsid",
  12025. "in": "query",
  12026. "required": true
  12027. }
  12028. ],
  12029. "responses": {
  12030. "200": {
  12031. "description": "OK",
  12032. "schema": {
  12033. "type": "array",
  12034. "items": {
  12035. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12036. }
  12037. }
  12038. },
  12039. "500": {
  12040. "description": "Internal Server Error",
  12041. "schema": {
  12042. "$ref": "#/definitions/app.Response"
  12043. }
  12044. }
  12045. }
  12046. }
  12047. },
  12048. "/WrTrade2/QueryWrBuybackDetail": {
  12049. "get": {
  12050. "security": [
  12051. {
  12052. "ApiKeyAuth": []
  12053. }
  12054. ],
  12055. "produces": [
  12056. "application/json"
  12057. ],
  12058. "tags": [
  12059. "仓单贸易v2"
  12060. ],
  12061. "summary": "查询仓单回购明细",
  12062. "parameters": [
  12063. {
  12064. "type": "integer",
  12065. "description": "融资合同id",
  12066. "name": "scfcontractid",
  12067. "in": "query"
  12068. }
  12069. ],
  12070. "responses": {
  12071. "200": {
  12072. "description": "OK",
  12073. "schema": {
  12074. "type": "array",
  12075. "items": {
  12076. "$ref": "#/definitions/models.WrBuybackDetail"
  12077. }
  12078. }
  12079. },
  12080. "500": {
  12081. "description": "Internal Server Error",
  12082. "schema": {
  12083. "$ref": "#/definitions/app.Response"
  12084. }
  12085. }
  12086. }
  12087. }
  12088. },
  12089. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12090. "get": {
  12091. "security": [
  12092. {
  12093. "ApiKeyAuth": []
  12094. }
  12095. ],
  12096. "produces": [
  12097. "application/json"
  12098. ],
  12099. "tags": [
  12100. "仓单贸易v2"
  12101. ],
  12102. "summary": "查询合约交收可点选仓单",
  12103. "parameters": [
  12104. {
  12105. "type": "integer",
  12106. "description": "资金账号",
  12107. "name": "accountid",
  12108. "in": "query",
  12109. "required": true
  12110. },
  12111. {
  12112. "type": "integer",
  12113. "description": "商品id",
  12114. "name": "goodsid",
  12115. "in": "query",
  12116. "required": true
  12117. }
  12118. ],
  12119. "responses": {
  12120. "200": {
  12121. "description": "OK",
  12122. "schema": {
  12123. "type": "array",
  12124. "items": {
  12125. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12126. }
  12127. }
  12128. },
  12129. "500": {
  12130. "description": "Internal Server Error",
  12131. "schema": {
  12132. "$ref": "#/definitions/app.Response"
  12133. }
  12134. }
  12135. }
  12136. }
  12137. },
  12138. "/WrTrade2/QueryWrDeliveryDetail": {
  12139. "get": {
  12140. "security": [
  12141. {
  12142. "ApiKeyAuth": []
  12143. }
  12144. ],
  12145. "produces": [
  12146. "application/json"
  12147. ],
  12148. "tags": [
  12149. "仓单贸易v2"
  12150. ],
  12151. "summary": "查询交收",
  12152. "parameters": [
  12153. {
  12154. "type": "integer",
  12155. "description": "用户id",
  12156. "name": "userid",
  12157. "in": "query",
  12158. "required": true
  12159. },
  12160. {
  12161. "type": "integer",
  12162. "description": "资金账号id",
  12163. "name": "accountid",
  12164. "in": "query"
  12165. }
  12166. ],
  12167. "responses": {
  12168. "200": {
  12169. "description": "OK",
  12170. "schema": {
  12171. "type": "array",
  12172. "items": {
  12173. "$ref": "#/definitions/models.WrDeliveryDetail"
  12174. }
  12175. }
  12176. },
  12177. "500": {
  12178. "description": "Internal Server Error",
  12179. "schema": {
  12180. "$ref": "#/definitions/app.Response"
  12181. }
  12182. }
  12183. }
  12184. }
  12185. },
  12186. "/WrTrade2/QueryWrFactorTypeInfo": {
  12187. "get": {
  12188. "security": [
  12189. {
  12190. "ApiKeyAuth": []
  12191. }
  12192. ],
  12193. "produces": [
  12194. "application/json"
  12195. ],
  12196. "tags": [
  12197. "仓单贸易v2"
  12198. ],
  12199. "summary": "查询仓单要素详细信息",
  12200. "parameters": [
  12201. {
  12202. "type": "integer",
  12203. "description": "仓单要素id",
  12204. "name": "wrfactortypeid",
  12205. "in": "query",
  12206. "required": true
  12207. }
  12208. ],
  12209. "responses": {
  12210. "200": {
  12211. "description": "OK",
  12212. "schema": {
  12213. "type": "array",
  12214. "items": {
  12215. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12216. }
  12217. }
  12218. },
  12219. "500": {
  12220. "description": "Internal Server Error",
  12221. "schema": {
  12222. "$ref": "#/definitions/app.Response"
  12223. }
  12224. }
  12225. }
  12226. }
  12227. },
  12228. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12229. "get": {
  12230. "security": [
  12231. {
  12232. "ApiKeyAuth": []
  12233. }
  12234. ],
  12235. "produces": [
  12236. "application/json"
  12237. ],
  12238. "tags": [
  12239. "仓单贸易v2"
  12240. ],
  12241. "summary": "查询仓单要素详细信息列表项",
  12242. "parameters": [
  12243. {
  12244. "type": "integer",
  12245. "description": "仓单要素id",
  12246. "name": "wrfactortypeid",
  12247. "in": "query",
  12248. "required": true
  12249. }
  12250. ],
  12251. "responses": {
  12252. "200": {
  12253. "description": "OK",
  12254. "schema": {
  12255. "type": "array",
  12256. "items": {
  12257. "$ref": "#/definitions/models.WrTypeItem"
  12258. }
  12259. }
  12260. },
  12261. "500": {
  12262. "description": "Internal Server Error",
  12263. "schema": {
  12264. "$ref": "#/definitions/app.Response"
  12265. }
  12266. }
  12267. }
  12268. }
  12269. },
  12270. "/WrTrade2/QueryWrFinanceBuyApply": {
  12271. "get": {
  12272. "security": [
  12273. {
  12274. "ApiKeyAuth": []
  12275. }
  12276. ],
  12277. "description": "页面 融资信息+ / 申请单",
  12278. "produces": [
  12279. "application/json"
  12280. ],
  12281. "tags": [
  12282. "仓单贸易v2"
  12283. ],
  12284. "summary": "查询融资购买申请",
  12285. "parameters": [
  12286. {
  12287. "type": "integer",
  12288. "description": "用户id",
  12289. "name": "userid",
  12290. "in": "query",
  12291. "required": true
  12292. }
  12293. ],
  12294. "responses": {
  12295. "200": {
  12296. "description": "OK",
  12297. "schema": {
  12298. "type": "array",
  12299. "items": {
  12300. "$ref": "#/definitions/models.WrFinanceBuyApply"
  12301. }
  12302. }
  12303. },
  12304. "500": {
  12305. "description": "Internal Server Error",
  12306. "schema": {
  12307. "$ref": "#/definitions/app.Response"
  12308. }
  12309. }
  12310. }
  12311. }
  12312. },
  12313. "/WrTrade2/QueryWrFriendApply": {
  12314. "get": {
  12315. "security": [
  12316. {
  12317. "ApiKeyAuth": []
  12318. }
  12319. ],
  12320. "produces": [
  12321. "application/json"
  12322. ],
  12323. "tags": [
  12324. "仓单贸易v2"
  12325. ],
  12326. "summary": "查询好友申请记录",
  12327. "parameters": [
  12328. {
  12329. "type": "integer",
  12330. "description": "用户id",
  12331. "name": "userid",
  12332. "in": "query",
  12333. "required": true
  12334. }
  12335. ],
  12336. "responses": {
  12337. "200": {
  12338. "description": "OK",
  12339. "schema": {
  12340. "type": "array",
  12341. "items": {
  12342. "$ref": "#/definitions/models.WrFriendApply"
  12343. }
  12344. }
  12345. },
  12346. "500": {
  12347. "description": "Internal Server Error",
  12348. "schema": {
  12349. "$ref": "#/definitions/app.Response"
  12350. }
  12351. }
  12352. }
  12353. }
  12354. },
  12355. "/WrTrade2/QueryWrGoodsInfo": {
  12356. "get": {
  12357. "security": [
  12358. {
  12359. "ApiKeyAuth": []
  12360. }
  12361. ],
  12362. "produces": [
  12363. "application/json"
  12364. ],
  12365. "tags": [
  12366. "仓单贸易v2"
  12367. ],
  12368. "summary": "查询仓单商品信息",
  12369. "parameters": [
  12370. {
  12371. "type": "integer",
  12372. "description": "仓单贸易市场id",
  12373. "name": "marketid",
  12374. "in": "query"
  12375. },
  12376. {
  12377. "type": "integer",
  12378. "description": "0:仓单预售 1:仓单贸易",
  12379. "name": "haswr",
  12380. "in": "query",
  12381. "required": true
  12382. },
  12383. {
  12384. "type": "integer",
  12385. "description": "仓单要素id",
  12386. "name": "wrfactortypeid",
  12387. "in": "query",
  12388. "required": true
  12389. },
  12390. {
  12391. "type": "integer",
  12392. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12393. "name": "tmplateid",
  12394. "in": "query"
  12395. }
  12396. ],
  12397. "responses": {
  12398. "200": {
  12399. "description": "OK",
  12400. "schema": {
  12401. "type": "array",
  12402. "items": {
  12403. "$ref": "#/definitions/models.WrGoodsInfo"
  12404. }
  12405. }
  12406. },
  12407. "500": {
  12408. "description": "Internal Server Error",
  12409. "schema": {
  12410. "$ref": "#/definitions/app.Response"
  12411. }
  12412. }
  12413. }
  12414. }
  12415. },
  12416. "/WrTrade2/QueryWrMarketTradeConfig": {
  12417. "get": {
  12418. "security": [
  12419. {
  12420. "ApiKeyAuth": []
  12421. }
  12422. ],
  12423. "produces": [
  12424. "application/json"
  12425. ],
  12426. "tags": [
  12427. "仓单贸易v2"
  12428. ],
  12429. "summary": "查询市场交易参数配置",
  12430. "parameters": [
  12431. {
  12432. "type": "integer",
  12433. "description": "市场id",
  12434. "name": "marketid",
  12435. "in": "query"
  12436. }
  12437. ],
  12438. "responses": {
  12439. "200": {
  12440. "description": "OK",
  12441. "schema": {
  12442. "type": "array",
  12443. "items": {
  12444. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12445. }
  12446. }
  12447. },
  12448. "500": {
  12449. "description": "Internal Server Error",
  12450. "schema": {
  12451. "$ref": "#/definitions/app.Response"
  12452. }
  12453. }
  12454. }
  12455. }
  12456. },
  12457. "/WrTrade2/QueryWrOrderDetail": {
  12458. "get": {
  12459. "security": [
  12460. {
  12461. "ApiKeyAuth": []
  12462. }
  12463. ],
  12464. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  12465. "produces": [
  12466. "application/json"
  12467. ],
  12468. "tags": [
  12469. "仓单贸易v2"
  12470. ],
  12471. "summary": "查询仓单委托单(挂单)",
  12472. "parameters": [
  12473. {
  12474. "type": "integer",
  12475. "description": "页码",
  12476. "name": "page",
  12477. "in": "query"
  12478. },
  12479. {
  12480. "type": "integer",
  12481. "description": "每页条数",
  12482. "name": "pagesize",
  12483. "in": "query"
  12484. },
  12485. {
  12486. "type": "integer",
  12487. "description": "用户id",
  12488. "name": "userid",
  12489. "in": "query",
  12490. "required": true
  12491. },
  12492. {
  12493. "type": "integer",
  12494. "description": "仓单贸易市场id",
  12495. "name": "marketid",
  12496. "in": "query"
  12497. },
  12498. {
  12499. "type": "integer",
  12500. "description": "0:仓单预售 1:仓单贸易",
  12501. "name": "haswr",
  12502. "in": "query",
  12503. "required": true
  12504. }
  12505. ],
  12506. "responses": {
  12507. "200": {
  12508. "description": "OK",
  12509. "schema": {
  12510. "type": "array",
  12511. "items": {
  12512. "$ref": "#/definitions/models.WrOrderDetail"
  12513. }
  12514. }
  12515. },
  12516. "500": {
  12517. "description": "Internal Server Error",
  12518. "schema": {
  12519. "$ref": "#/definitions/app.Response"
  12520. }
  12521. }
  12522. }
  12523. }
  12524. },
  12525. "/WrTrade2/QueryWrOutInApply": {
  12526. "get": {
  12527. "security": [
  12528. {
  12529. "ApiKeyAuth": []
  12530. }
  12531. ],
  12532. "produces": [
  12533. "application/json"
  12534. ],
  12535. "tags": [
  12536. "仓单贸易v2"
  12537. ],
  12538. "summary": "查询提货申请",
  12539. "parameters": [
  12540. {
  12541. "type": "integer",
  12542. "description": "用户id",
  12543. "name": "userid",
  12544. "in": "query",
  12545. "required": true
  12546. }
  12547. ],
  12548. "responses": {
  12549. "200": {
  12550. "description": "OK",
  12551. "schema": {
  12552. "type": "array",
  12553. "items": {
  12554. "$ref": "#/definitions/models.WrOutInApply"
  12555. }
  12556. }
  12557. },
  12558. "500": {
  12559. "description": "Internal Server Error",
  12560. "schema": {
  12561. "$ref": "#/definitions/app.Response"
  12562. }
  12563. }
  12564. }
  12565. }
  12566. },
  12567. "/WrTrade2/QueryWrPerformancePlanStep": {
  12568. "get": {
  12569. "security": [
  12570. {
  12571. "ApiKeyAuth": []
  12572. }
  12573. ],
  12574. "produces": [
  12575. "application/json"
  12576. ],
  12577. "tags": [
  12578. "仓单贸易v2"
  12579. ],
  12580. "summary": "查询履约信息详情",
  12581. "parameters": [
  12582. {
  12583. "type": "integer",
  12584. "description": "履约计划id(performanceplanid)",
  12585. "name": "planid",
  12586. "in": "query",
  12587. "required": true
  12588. },
  12589. {
  12590. "type": "integer",
  12591. "description": "当前步骤id",
  12592. "name": "curstepid",
  12593. "in": "query"
  12594. }
  12595. ],
  12596. "responses": {
  12597. "200": {
  12598. "description": "OK",
  12599. "schema": {
  12600. "type": "array",
  12601. "items": {
  12602. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12603. }
  12604. }
  12605. },
  12606. "500": {
  12607. "description": "Internal Server Error",
  12608. "schema": {
  12609. "$ref": "#/definitions/app.Response"
  12610. }
  12611. }
  12612. }
  12613. }
  12614. },
  12615. "/WrTrade2/QueryWrPerformanceStepType": {
  12616. "get": {
  12617. "security": [
  12618. {
  12619. "ApiKeyAuth": []
  12620. }
  12621. ],
  12622. "produces": [
  12623. "application/json"
  12624. ],
  12625. "tags": [
  12626. "仓单贸易v2"
  12627. ],
  12628. "summary": "查询履约步骤枚举",
  12629. "responses": {
  12630. "200": {
  12631. "description": "OK",
  12632. "schema": {
  12633. "type": "array",
  12634. "items": {
  12635. "$ref": "#/definitions/models.WrPerformanceStepType"
  12636. }
  12637. }
  12638. },
  12639. "500": {
  12640. "description": "Internal Server Error",
  12641. "schema": {
  12642. "$ref": "#/definitions/app.Response"
  12643. }
  12644. }
  12645. }
  12646. }
  12647. },
  12648. "/WrTrade2/QueryWrPosition": {
  12649. "get": {
  12650. "security": [
  12651. {
  12652. "ApiKeyAuth": []
  12653. }
  12654. ],
  12655. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12656. "produces": [
  12657. "application/json"
  12658. ],
  12659. "tags": [
  12660. "仓单贸易v2"
  12661. ],
  12662. "summary": "查询现货(预售)仓单持仓",
  12663. "parameters": [
  12664. {
  12665. "type": "integer",
  12666. "description": "用户id",
  12667. "name": "userid",
  12668. "in": "query",
  12669. "required": true
  12670. },
  12671. {
  12672. "type": "integer",
  12673. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12674. "name": "querytype",
  12675. "in": "query",
  12676. "required": true
  12677. },
  12678. {
  12679. "type": "integer",
  12680. "description": "0:仓单预售 1:仓单贸易",
  12681. "name": "haswr",
  12682. "in": "query",
  12683. "required": true
  12684. },
  12685. {
  12686. "type": "string",
  12687. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12688. "name": "dgitemname",
  12689. "in": "query"
  12690. },
  12691. {
  12692. "type": "integer",
  12693. "description": "仓库id(筛选条件)",
  12694. "name": "warehouseid",
  12695. "in": "query"
  12696. },
  12697. {
  12698. "type": "integer",
  12699. "description": "品种id",
  12700. "name": "deliverygoodsid",
  12701. "in": "query"
  12702. },
  12703. {
  12704. "type": "integer",
  12705. "description": "品类id",
  12706. "name": "wrstandardid",
  12707. "in": "query"
  12708. }
  12709. ],
  12710. "responses": {
  12711. "200": {
  12712. "description": "OK",
  12713. "schema": {
  12714. "type": "array",
  12715. "items": {
  12716. "$ref": "#/definitions/models.WrPosition"
  12717. }
  12718. }
  12719. },
  12720. "500": {
  12721. "description": "Internal Server Error",
  12722. "schema": {
  12723. "$ref": "#/definitions/app.Response"
  12724. }
  12725. }
  12726. }
  12727. }
  12728. },
  12729. "/WrTrade2/QueryWrScfContract": {
  12730. "get": {
  12731. "security": [
  12732. {
  12733. "ApiKeyAuth": []
  12734. }
  12735. ],
  12736. "produces": [
  12737. "application/json"
  12738. ],
  12739. "tags": [
  12740. "仓单贸易v2"
  12741. ],
  12742. "summary": "查询仓单贸易融资合同",
  12743. "parameters": [
  12744. {
  12745. "type": "integer",
  12746. "description": "用户id",
  12747. "name": "userid",
  12748. "in": "query",
  12749. "required": true
  12750. },
  12751. {
  12752. "type": "integer",
  12753. "description": "融资合同id",
  12754. "name": "scfcontractid",
  12755. "in": "query"
  12756. }
  12757. ],
  12758. "responses": {
  12759. "200": {
  12760. "description": "OK",
  12761. "schema": {
  12762. "type": "array",
  12763. "items": {
  12764. "$ref": "#/definitions/models.WrScfContract"
  12765. }
  12766. }
  12767. },
  12768. "500": {
  12769. "description": "Internal Server Error",
  12770. "schema": {
  12771. "$ref": "#/definitions/app.Response"
  12772. }
  12773. }
  12774. }
  12775. }
  12776. },
  12777. "/WrTrade2/QueryWrScfContractInterest": {
  12778. "get": {
  12779. "security": [
  12780. {
  12781. "ApiKeyAuth": []
  12782. }
  12783. ],
  12784. "produces": [
  12785. "application/json"
  12786. ],
  12787. "tags": [
  12788. "仓单贸易v2"
  12789. ],
  12790. "summary": "查询融资合同费用明细",
  12791. "parameters": [
  12792. {
  12793. "type": "integer",
  12794. "description": "融资合同id",
  12795. "name": "scfcontractid",
  12796. "in": "query"
  12797. }
  12798. ],
  12799. "responses": {
  12800. "200": {
  12801. "description": "OK",
  12802. "schema": {
  12803. "type": "array",
  12804. "items": {
  12805. "$ref": "#/definitions/models.WrScfContractInterest"
  12806. }
  12807. }
  12808. },
  12809. "500": {
  12810. "description": "Internal Server Error",
  12811. "schema": {
  12812. "$ref": "#/definitions/app.Response"
  12813. }
  12814. }
  12815. }
  12816. }
  12817. },
  12818. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12819. "get": {
  12820. "security": [
  12821. {
  12822. "ApiKeyAuth": []
  12823. }
  12824. ],
  12825. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12826. "produces": [
  12827. "application/json"
  12828. ],
  12829. "tags": [
  12830. "仓单贸易v2"
  12831. ],
  12832. "summary": "查询指定成交",
  12833. "parameters": [
  12834. {
  12835. "type": "integer",
  12836. "description": "页码",
  12837. "name": "page",
  12838. "in": "query"
  12839. },
  12840. {
  12841. "type": "integer",
  12842. "description": "每页条数",
  12843. "name": "pagesize",
  12844. "in": "query"
  12845. },
  12846. {
  12847. "type": "integer",
  12848. "description": "用户id",
  12849. "name": "userid",
  12850. "in": "query",
  12851. "required": true
  12852. },
  12853. {
  12854. "type": "integer",
  12855. "description": "仓单贸易市场id",
  12856. "name": "marketid",
  12857. "in": "query"
  12858. },
  12859. {
  12860. "type": "integer",
  12861. "description": "0:仓单预售 1:仓单贸易",
  12862. "name": "haswr",
  12863. "in": "query",
  12864. "required": true
  12865. }
  12866. ],
  12867. "responses": {
  12868. "200": {
  12869. "description": "OK",
  12870. "schema": {
  12871. "type": "array",
  12872. "items": {
  12873. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12874. }
  12875. }
  12876. },
  12877. "500": {
  12878. "description": "Internal Server Error",
  12879. "schema": {
  12880. "$ref": "#/definitions/app.Response"
  12881. }
  12882. }
  12883. }
  12884. }
  12885. },
  12886. "/WrTrade2/QueryWrStandardFactoryItem": {
  12887. "get": {
  12888. "security": [
  12889. {
  12890. "ApiKeyAuth": []
  12891. }
  12892. ],
  12893. "produces": [
  12894. "application/json"
  12895. ],
  12896. "tags": [
  12897. "仓单贸易v2"
  12898. ],
  12899. "summary": "查询品类要素定义项",
  12900. "parameters": [
  12901. {
  12902. "type": "integer",
  12903. "description": "品类id",
  12904. "name": "wrstandardid",
  12905. "in": "query",
  12906. "required": true
  12907. }
  12908. ],
  12909. "responses": {
  12910. "200": {
  12911. "description": "OK",
  12912. "schema": {
  12913. "type": "array",
  12914. "items": {
  12915. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12916. }
  12917. }
  12918. },
  12919. "500": {
  12920. "description": "Internal Server Error",
  12921. "schema": {
  12922. "$ref": "#/definitions/app.Response"
  12923. }
  12924. }
  12925. }
  12926. }
  12927. },
  12928. "/WrTrade2/QueryWrTradeBargainApply": {
  12929. "get": {
  12930. "security": [
  12931. {
  12932. "ApiKeyAuth": []
  12933. }
  12934. ],
  12935. "description": "1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid",
  12936. "produces": [
  12937. "application/json"
  12938. ],
  12939. "tags": [
  12940. "仓单贸易v2"
  12941. ],
  12942. "summary": "查询议价单",
  12943. "parameters": [
  12944. {
  12945. "type": "integer",
  12946. "description": "议价人id(摘牌方)",
  12947. "name": "userid",
  12948. "in": "query"
  12949. },
  12950. {
  12951. "type": "integer",
  12952. "description": "关联委托单id",
  12953. "name": "wrtradeorderid",
  12954. "in": "query"
  12955. },
  12956. {
  12957. "type": "integer",
  12958. "description": "0:仓单预售 1:仓单贸易",
  12959. "name": "haswr",
  12960. "in": "query",
  12961. "required": true
  12962. }
  12963. ],
  12964. "responses": {
  12965. "200": {
  12966. "description": "OK",
  12967. "schema": {
  12968. "type": "array",
  12969. "items": {
  12970. "$ref": "#/definitions/models.WRTradeBargainApply"
  12971. }
  12972. }
  12973. },
  12974. "500": {
  12975. "description": "Internal Server Error",
  12976. "schema": {
  12977. "$ref": "#/definitions/app.Response"
  12978. }
  12979. }
  12980. }
  12981. }
  12982. },
  12983. "/WrTrade2/QueryWrTradeDetail": {
  12984. "get": {
  12985. "security": [
  12986. {
  12987. "ApiKeyAuth": []
  12988. }
  12989. ],
  12990. "produces": [
  12991. "application/json"
  12992. ],
  12993. "tags": [
  12994. "仓单贸易v2"
  12995. ],
  12996. "summary": "查询仓单成交明细",
  12997. "parameters": [
  12998. {
  12999. "type": "integer",
  13000. "description": "页码",
  13001. "name": "page",
  13002. "in": "query"
  13003. },
  13004. {
  13005. "type": "integer",
  13006. "description": "每页条数",
  13007. "name": "pagesize",
  13008. "in": "query"
  13009. },
  13010. {
  13011. "type": "integer",
  13012. "description": "用户id",
  13013. "name": "userid",
  13014. "in": "query",
  13015. "required": true
  13016. },
  13017. {
  13018. "type": "integer",
  13019. "description": "仓单贸易市场id",
  13020. "name": "marketid",
  13021. "in": "query"
  13022. },
  13023. {
  13024. "type": "integer",
  13025. "description": "0:仓单预售 1:仓单贸易",
  13026. "name": "haswr",
  13027. "in": "query",
  13028. "required": true
  13029. }
  13030. ],
  13031. "responses": {
  13032. "200": {
  13033. "description": "OK",
  13034. "schema": {
  13035. "type": "array",
  13036. "items": {
  13037. "$ref": "#/definitions/models.WrTradeDetail"
  13038. }
  13039. }
  13040. },
  13041. "500": {
  13042. "description": "Internal Server Error",
  13043. "schema": {
  13044. "$ref": "#/definitions/app.Response"
  13045. }
  13046. }
  13047. }
  13048. }
  13049. },
  13050. "/WrTrade2/QueryWrTradeOrderDetail": {
  13051. "get": {
  13052. "security": [
  13053. {
  13054. "ApiKeyAuth": []
  13055. }
  13056. ],
  13057. "produces": [
  13058. "application/json"
  13059. ],
  13060. "tags": [
  13061. "仓单贸易v2"
  13062. ],
  13063. "summary": "查询合约交易买卖大厅",
  13064. "parameters": [
  13065. {
  13066. "type": "integer",
  13067. "description": "页码",
  13068. "name": "page",
  13069. "in": "query"
  13070. },
  13071. {
  13072. "type": "integer",
  13073. "description": "每页条数",
  13074. "name": "pagesize",
  13075. "in": "query"
  13076. },
  13077. {
  13078. "type": "integer",
  13079. "description": "商品id",
  13080. "name": "goodsid",
  13081. "in": "query",
  13082. "required": true
  13083. },
  13084. {
  13085. "type": "integer",
  13086. "description": "买卖方向 0-买 1-卖",
  13087. "name": "buyorsell",
  13088. "in": "query",
  13089. "required": true
  13090. }
  13091. ],
  13092. "responses": {
  13093. "200": {
  13094. "description": "OK",
  13095. "schema": {
  13096. "type": "array",
  13097. "items": {
  13098. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13099. }
  13100. }
  13101. },
  13102. "500": {
  13103. "description": "Internal Server Error",
  13104. "schema": {
  13105. "$ref": "#/definitions/app.Response"
  13106. }
  13107. }
  13108. }
  13109. }
  13110. },
  13111. "/WrTrade2/QueryWrUserFriend": {
  13112. "get": {
  13113. "security": [
  13114. {
  13115. "ApiKeyAuth": []
  13116. }
  13117. ],
  13118. "produces": [
  13119. "application/json"
  13120. ],
  13121. "tags": [
  13122. "仓单贸易v2"
  13123. ],
  13124. "summary": "查询我的朋友",
  13125. "parameters": [
  13126. {
  13127. "type": "integer",
  13128. "description": "用户id",
  13129. "name": "userid",
  13130. "in": "query",
  13131. "required": true
  13132. },
  13133. {
  13134. "type": "integer",
  13135. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13136. "name": "newuserid",
  13137. "in": "query"
  13138. }
  13139. ],
  13140. "responses": {
  13141. "200": {
  13142. "description": "OK",
  13143. "schema": {
  13144. "type": "array",
  13145. "items": {
  13146. "$ref": "#/definitions/models.WrUserFriend"
  13147. }
  13148. }
  13149. },
  13150. "500": {
  13151. "description": "Internal Server Error",
  13152. "schema": {
  13153. "$ref": "#/definitions/app.Response"
  13154. }
  13155. }
  13156. }
  13157. }
  13158. }
  13159. },
  13160. "definitions": {
  13161. "app.Response": {
  13162. "type": "object",
  13163. "properties": {
  13164. "code": {
  13165. "type": "integer"
  13166. },
  13167. "data": {
  13168. "type": "object"
  13169. },
  13170. "msg": {
  13171. "type": "string"
  13172. },
  13173. "page": {
  13174. "description": "页码",
  13175. "type": "integer"
  13176. },
  13177. "pagesize": {
  13178. "description": "每页条数",
  13179. "type": "integer"
  13180. },
  13181. "total": {
  13182. "description": "总条数",
  13183. "type": "integer"
  13184. }
  13185. }
  13186. },
  13187. "common.ClientMenu": {
  13188. "type": "object",
  13189. "properties": {
  13190. "children": {
  13191. "description": "子菜单列表",
  13192. "type": "array",
  13193. "items": {
  13194. "$ref": "#/definitions/common.ClientMenu"
  13195. }
  13196. },
  13197. "code": {
  13198. "description": "ID",
  13199. "type": "string"
  13200. },
  13201. "isshow": {
  13202. "description": "是否显示",
  13203. "type": "boolean"
  13204. },
  13205. "remark": {
  13206. "description": "备注",
  13207. "type": "string"
  13208. },
  13209. "rulekey": {
  13210. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13211. "type": "string"
  13212. },
  13213. "sort": {
  13214. "description": "排序",
  13215. "type": "integer"
  13216. },
  13217. "title": {
  13218. "description": "标题",
  13219. "type": "string"
  13220. },
  13221. "type": {
  13222. "description": "类型,1:菜单 2:按钮",
  13223. "type": "integer"
  13224. },
  13225. "url": {
  13226. "description": "URL",
  13227. "type": "string"
  13228. }
  13229. }
  13230. },
  13231. "common.QueryImageConfigsRsp": {
  13232. "type": "object",
  13233. "required": [
  13234. "configid"
  13235. ],
  13236. "properties": {
  13237. "areauserid": {
  13238. "description": "所属机构ID",
  13239. "type": "integer"
  13240. },
  13241. "configid": {
  13242. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13243. "type": "integer"
  13244. },
  13245. "createdate": {
  13246. "description": "创建时间",
  13247. "type": "string"
  13248. },
  13249. "creatorid": {
  13250. "description": "创建人",
  13251. "type": "integer"
  13252. },
  13253. "imagepath": {
  13254. "description": "图片",
  13255. "type": "string"
  13256. },
  13257. "imagetype": {
  13258. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13259. "type": "integer"
  13260. },
  13261. "isshow": {
  13262. "description": "是否展示 - 0:不展示 1:展示",
  13263. "type": "integer"
  13264. },
  13265. "marketid": {
  13266. "description": "市场ID",
  13267. "type": "integer"
  13268. },
  13269. "modifierid": {
  13270. "description": "操作人",
  13271. "type": "integer"
  13272. },
  13273. "sort": {
  13274. "description": "排序",
  13275. "type": "integer"
  13276. },
  13277. "title": {
  13278. "description": "标题",
  13279. "type": "string"
  13280. },
  13281. "trademode": {
  13282. "description": "交易模式",
  13283. "type": "integer"
  13284. },
  13285. "updatedate": {
  13286. "description": "修改时间",
  13287. "type": "string"
  13288. },
  13289. "url": {
  13290. "description": "链接(地址或商品ID)",
  13291. "type": "string"
  13292. },
  13293. "urltype": {
  13294. "description": "链接类型 - 1:直接地址 2:商品ID",
  13295. "type": "integer"
  13296. }
  13297. }
  13298. },
  13299. "common.QueryNoticeRsp": {
  13300. "type": "object",
  13301. "required": [
  13302. "autoid"
  13303. ],
  13304. "properties": {
  13305. "auditoruserid": {
  13306. "description": "审核人",
  13307. "type": "integer"
  13308. },
  13309. "auditremark": {
  13310. "description": "审核备注",
  13311. "type": "string"
  13312. },
  13313. "audittime": {
  13314. "description": "审核日期",
  13315. "type": "string"
  13316. },
  13317. "autoid": {
  13318. "description": "自增ID",
  13319. "type": "integer"
  13320. },
  13321. "content": {
  13322. "description": "内容",
  13323. "type": "string"
  13324. },
  13325. "createtime": {
  13326. "description": "创建时间",
  13327. "type": "string"
  13328. },
  13329. "creatorid": {
  13330. "description": "建仓人",
  13331. "type": "integer"
  13332. },
  13333. "endtime": {
  13334. "description": "结束时间",
  13335. "type": "string"
  13336. },
  13337. "istop": {
  13338. "description": "是否置顶 - 0:不置顶 1:置顶",
  13339. "type": "integer"
  13340. },
  13341. "msgiconurl": {
  13342. "description": "消息图标Url",
  13343. "type": "string"
  13344. },
  13345. "msgtype": {
  13346. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  13347. "type": "integer"
  13348. },
  13349. "publisher": {
  13350. "description": "消息发布者",
  13351. "type": "string"
  13352. },
  13353. "readed": {
  13354. "description": "是否已读",
  13355. "type": "boolean"
  13356. },
  13357. "scheduletime": {
  13358. "description": "计划发送时间",
  13359. "type": "string"
  13360. },
  13361. "sendtype": {
  13362. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  13363. "type": "integer"
  13364. },
  13365. "sentstatus": {
  13366. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  13367. "type": "integer"
  13368. },
  13369. "title": {
  13370. "description": "标题",
  13371. "type": "string"
  13372. },
  13373. "userid": {
  13374. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  13375. "type": "integer"
  13376. }
  13377. }
  13378. },
  13379. "common.QueryProvincesAndCitiesRsp": {
  13380. "type": "object",
  13381. "properties": {
  13382. "cities": {
  13383. "description": "市",
  13384. "type": "array",
  13385. "items": {
  13386. "$ref": "#/definitions/models.Division"
  13387. }
  13388. },
  13389. "province": {
  13390. "description": "省",
  13391. "type": "object",
  13392. "$ref": "#/definitions/models.Division"
  13393. }
  13394. }
  13395. },
  13396. "common.QueryTableDefineRsp": {
  13397. "type": "object",
  13398. "required": [
  13399. "tablekey"
  13400. ],
  13401. "properties": {
  13402. "columns": {
  13403. "description": "列头信息数组",
  13404. "type": "array",
  13405. "items": {
  13406. "$ref": "#/definitions/models.Tablecolumnconfig"
  13407. }
  13408. },
  13409. "remark": {
  13410. "description": "Remark",
  13411. "type": "string"
  13412. },
  13413. "tabelmenu": {
  13414. "description": "列表菜单",
  13415. "type": "string"
  13416. },
  13417. "tablekey": {
  13418. "description": "列表Key",
  13419. "type": "string"
  13420. },
  13421. "tablename": {
  13422. "description": "列表名称",
  13423. "type": "string"
  13424. },
  13425. "tabletype": {
  13426. "description": "列表类型 - 1:管理端 2:终端",
  13427. "type": "integer"
  13428. }
  13429. }
  13430. },
  13431. "common.QueryTraderMenuRsp": {
  13432. "type": "object",
  13433. "properties": {
  13434. "OperationMenu": {
  13435. "description": "功能菜单",
  13436. "type": "array",
  13437. "items": {
  13438. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13439. }
  13440. },
  13441. "QuoteMenu": {
  13442. "description": "报价牌分类菜单",
  13443. "type": "array",
  13444. "items": {
  13445. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13446. }
  13447. }
  13448. }
  13449. },
  13450. "cptrade.Cptradepositioncancel": {
  13451. "type": "object",
  13452. "required": [
  13453. "cancelid"
  13454. ],
  13455. "properties": {
  13456. "accountid": {
  13457. "description": "申请人账户ID",
  13458. "type": "integer"
  13459. },
  13460. "applystatus": {
  13461. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13462. "type": "integer"
  13463. },
  13464. "applytime": {
  13465. "description": "申请时间",
  13466. "type": "string"
  13467. },
  13468. "cancelid": {
  13469. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13470. "type": "integer"
  13471. },
  13472. "cancelqty": {
  13473. "description": "注销数量",
  13474. "type": "integer"
  13475. },
  13476. "createtime": {
  13477. "description": "创建时间",
  13478. "type": "string"
  13479. },
  13480. "creatorid": {
  13481. "description": "创建人ID",
  13482. "type": "integer"
  13483. },
  13484. "creatorname": {
  13485. "description": "创建人",
  13486. "type": "string"
  13487. },
  13488. "goodscode": {
  13489. "description": "订单商品代码",
  13490. "type": "string"
  13491. },
  13492. "goodsid": {
  13493. "description": "商品ID",
  13494. "type": "integer"
  13495. },
  13496. "goodsname": {
  13497. "description": "订单商品名称",
  13498. "type": "string"
  13499. },
  13500. "goodunit": {
  13501. "description": "报价单位",
  13502. "type": "string"
  13503. },
  13504. "handlestatus": {
  13505. "description": "处理状态",
  13506. "type": "integer"
  13507. },
  13508. "marketid": {
  13509. "description": "市场ID",
  13510. "type": "integer"
  13511. },
  13512. "marketname": {
  13513. "description": "市场名称",
  13514. "type": "string"
  13515. },
  13516. "tradedate": {
  13517. "description": "交易日(yyyyMMdd)",
  13518. "type": "string"
  13519. },
  13520. "userid": {
  13521. "description": "申请人ID",
  13522. "type": "integer"
  13523. }
  13524. }
  13525. },
  13526. "cptrade.Cptradepresaleapply": {
  13527. "type": "object",
  13528. "required": [
  13529. "applyid"
  13530. ],
  13531. "properties": {
  13532. "accountid": {
  13533. "description": "申请人账户ID",
  13534. "type": "integer"
  13535. },
  13536. "applyid": {
  13537. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13538. "type": "integer"
  13539. },
  13540. "applyremark": {
  13541. "description": "申请备注",
  13542. "type": "string"
  13543. },
  13544. "applystatus": {
  13545. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13546. "type": "integer"
  13547. },
  13548. "applytime": {
  13549. "description": "申请时间",
  13550. "type": "string"
  13551. },
  13552. "attachmenturl": {
  13553. "description": "附件地址",
  13554. "type": "string"
  13555. },
  13556. "endtime": {
  13557. "description": "预售结束时间",
  13558. "type": "string"
  13559. },
  13560. "goodscode": {
  13561. "description": "商品代码",
  13562. "type": "string"
  13563. },
  13564. "goodsid": {
  13565. "description": "商品ID",
  13566. "type": "integer"
  13567. },
  13568. "goodsname": {
  13569. "description": "商品名称",
  13570. "type": "string"
  13571. },
  13572. "goodunit": {
  13573. "description": "报价单位",
  13574. "type": "string"
  13575. },
  13576. "handlestatus": {
  13577. "description": "处理状态",
  13578. "type": "integer"
  13579. },
  13580. "marketid": {
  13581. "description": "预售市场ID",
  13582. "type": "integer"
  13583. },
  13584. "marketname": {
  13585. "description": "预售市场名称",
  13586. "type": "string"
  13587. },
  13588. "presaleqty": {
  13589. "description": "预售数量",
  13590. "type": "integer"
  13591. },
  13592. "relatedgoodscode": {
  13593. "description": "关联交易合约代码",
  13594. "type": "string"
  13595. },
  13596. "relatedgoodsid": {
  13597. "description": "关联交易合约ID",
  13598. "type": "integer"
  13599. },
  13600. "relatedgoodsname": {
  13601. "description": "关联交易合约名称",
  13602. "type": "string"
  13603. },
  13604. "starttime": {
  13605. "description": "预售开始时间",
  13606. "type": "string"
  13607. },
  13608. "tradedate": {
  13609. "description": "交易日(yyyyMMdd)",
  13610. "type": "string"
  13611. },
  13612. "trademode": {
  13613. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13614. "type": "integer"
  13615. },
  13616. "userid": {
  13617. "description": "申请人ID",
  13618. "type": "integer"
  13619. }
  13620. }
  13621. },
  13622. "cptrade.Cptradeusergoodsdata": {
  13623. "type": "object",
  13624. "required": [
  13625. "accountid",
  13626. "goodsid"
  13627. ],
  13628. "properties": {
  13629. "EnabledQty": {
  13630. "description": "可用量",
  13631. "type": "integer"
  13632. },
  13633. "GoodsCode": {
  13634. "description": "订单商品代码",
  13635. "type": "string"
  13636. },
  13637. "GoodsName": {
  13638. "description": "订单商品名称",
  13639. "type": "string"
  13640. },
  13641. "WRStandardCode": {
  13642. "description": "仓单标准代码",
  13643. "type": "string"
  13644. },
  13645. "WRStandardName": {
  13646. "description": "仓单标准名称",
  13647. "type": "string"
  13648. },
  13649. "accountid": {
  13650. "description": "账户ID",
  13651. "type": "integer"
  13652. },
  13653. "cancelqty": {
  13654. "description": "注销量",
  13655. "type": "integer"
  13656. },
  13657. "curpresaleqty": {
  13658. "description": "当前预售量",
  13659. "type": "integer"
  13660. },
  13661. "deliveryqty": {
  13662. "description": "交割量",
  13663. "type": "integer"
  13664. },
  13665. "freezeamount": {
  13666. "description": "冻结金额",
  13667. "type": "number"
  13668. },
  13669. "goodsid": {
  13670. "description": "商品ID",
  13671. "type": "integer"
  13672. },
  13673. "goodunit": {
  13674. "description": "报价单位",
  13675. "type": "string"
  13676. },
  13677. "hasspotfreeze": {
  13678. "description": "是否有现货冻结 - 0:否 1:有",
  13679. "type": "integer"
  13680. },
  13681. "inqty": {
  13682. "description": "转入量(总数量)",
  13683. "type": "integer"
  13684. },
  13685. "marketid": {
  13686. "description": "市场ID",
  13687. "type": "integer"
  13688. },
  13689. "presaledamount": {
  13690. "description": "已预售总金额",
  13691. "type": "integer"
  13692. },
  13693. "presaledqty": {
  13694. "description": "已预售量",
  13695. "type": "integer"
  13696. },
  13697. "userid": {
  13698. "description": "用户ID",
  13699. "type": "integer"
  13700. },
  13701. "wrstandardid": {
  13702. "description": "仓单标准ID",
  13703. "type": "integer"
  13704. }
  13705. }
  13706. },
  13707. "cptrade.QueryCPTradeMyBidRsp": {
  13708. "type": "object",
  13709. "required": [
  13710. "accountid",
  13711. "goodsid",
  13712. "marketid",
  13713. "orderid",
  13714. "orderqty",
  13715. "ordertime",
  13716. "tradeprice",
  13717. "tradeqty"
  13718. ],
  13719. "properties": {
  13720. "accountid": {
  13721. "description": "账户ID[报价币种]",
  13722. "type": "integer"
  13723. },
  13724. "goodsid": {
  13725. "description": "商品ID",
  13726. "type": "integer"
  13727. },
  13728. "goodunit": {
  13729. "description": "报价单位",
  13730. "type": "string"
  13731. },
  13732. "marketid": {
  13733. "description": "市场ID",
  13734. "type": "integer"
  13735. },
  13736. "orderid": {
  13737. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13738. "type": "integer"
  13739. },
  13740. "orderprice": {
  13741. "description": "委托价格",
  13742. "type": "number"
  13743. },
  13744. "orderqty": {
  13745. "description": "委托数量",
  13746. "type": "integer"
  13747. },
  13748. "ordertime": {
  13749. "description": "委托时间",
  13750. "type": "string"
  13751. },
  13752. "ordertotalprice": {
  13753. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13754. "type": "number"
  13755. },
  13756. "ordertotalweight": {
  13757. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13758. "type": "integer"
  13759. },
  13760. "totaltotalprice": {
  13761. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13762. "type": "number"
  13763. },
  13764. "tradeprice": {
  13765. "description": "成交价格",
  13766. "type": "number"
  13767. },
  13768. "tradeqty": {
  13769. "description": "成交数量",
  13770. "type": "integer"
  13771. }
  13772. }
  13773. },
  13774. "cptrade.QueryCPTradeOrderDetailRsq": {
  13775. "type": "object",
  13776. "required": [
  13777. "accountid",
  13778. "buildtype",
  13779. "buyorsell",
  13780. "goodsid",
  13781. "marketid",
  13782. "memberuserid",
  13783. "operatetype",
  13784. "orderqty",
  13785. "ordertime",
  13786. "pricemode",
  13787. "strorderid",
  13788. "tradedate",
  13789. "validtype"
  13790. ],
  13791. "properties": {
  13792. "accountid": {
  13793. "description": "账户ID[报价币种]",
  13794. "type": "integer"
  13795. },
  13796. "buildtype": {
  13797. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13798. "type": "integer"
  13799. },
  13800. "buyorsell": {
  13801. "description": "买卖 - 0:买 1:卖",
  13802. "type": "integer"
  13803. },
  13804. "cancelorderid": {
  13805. "description": "撤单单号(撤单时填写)",
  13806. "type": "integer"
  13807. },
  13808. "cancelqty": {
  13809. "description": "撤单数量",
  13810. "type": "integer"
  13811. },
  13812. "clientordertime": {
  13813. "description": "客户端委托时间",
  13814. "type": "string"
  13815. },
  13816. "clientticket": {
  13817. "description": "客户端流水号",
  13818. "type": "string"
  13819. },
  13820. "clienttype": {
  13821. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13822. "type": "integer"
  13823. },
  13824. "closeexchagechargevalue": {
  13825. "description": "平仓交易所手续费设置值",
  13826. "type": "number"
  13827. },
  13828. "closefeealgorithm": {
  13829. "description": "平仓手续费收取方式 1:比率 2:固定",
  13830. "type": "integer"
  13831. },
  13832. "closefreezecharge": {
  13833. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13834. "type": "number"
  13835. },
  13836. "closememberchargevalue": {
  13837. "description": "平仓会员手续费设置值",
  13838. "type": "number"
  13839. },
  13840. "closeqty": {
  13841. "description": "平仓数量(先建后平操作 需要记录)",
  13842. "type": "integer"
  13843. },
  13844. "closetradeqty": {
  13845. "description": "平仓成交数量(先建后平操作,需要记录)",
  13846. "type": "integer"
  13847. },
  13848. "closeunfreezecharge": {
  13849. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13850. "type": "number"
  13851. },
  13852. "delistingtype": {
  13853. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13854. "type": "integer"
  13855. },
  13856. "freezecharge": {
  13857. "description": "冻结手续费",
  13858. "type": "number"
  13859. },
  13860. "freezemargin": {
  13861. "description": "冻结保证金(冻结交易金额)",
  13862. "type": "number"
  13863. },
  13864. "gcaccountid": {
  13865. "description": "账户ID[合约币种]",
  13866. "type": "integer"
  13867. },
  13868. "goodsid": {
  13869. "description": "商品ID",
  13870. "type": "integer"
  13871. },
  13872. "isconfirmexercise": {
  13873. "description": "是否确认行权- 0:否 1:是",
  13874. "type": "integer"
  13875. },
  13876. "ispreexercise": {
  13877. "description": "是否预申报- 0:否 1:是",
  13878. "type": "integer"
  13879. },
  13880. "listingselecttype": {
  13881. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13882. "type": "integer"
  13883. },
  13884. "marginalgorithm": {
  13885. "description": "保证金收取方式 1:比率 2:固定",
  13886. "type": "integer"
  13887. },
  13888. "marginvalue": {
  13889. "description": "即市保证金设置值",
  13890. "type": "number"
  13891. },
  13892. "marketid": {
  13893. "description": "市场ID",
  13894. "type": "integer"
  13895. },
  13896. "marketmaxsub": {
  13897. "description": "市价最大偏移范围",
  13898. "type": "number"
  13899. },
  13900. "memberuserid": {
  13901. "description": "所属会员UserID",
  13902. "type": "integer"
  13903. },
  13904. "openexchagechargevalue": {
  13905. "description": "建仓交易所手续费设置值",
  13906. "type": "number"
  13907. },
  13908. "openfeealgorithm": {
  13909. "description": "建仓手续费收取方式 1:比率 2:固定",
  13910. "type": "integer"
  13911. },
  13912. "openfreezecharge": {
  13913. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13914. "type": "number"
  13915. },
  13916. "openmemberchargevalue": {
  13917. "description": "建仓会员手续费设置值",
  13918. "type": "number"
  13919. },
  13920. "openqty": {
  13921. "description": "开仓数量(先建后平操作,需要记录)",
  13922. "type": "integer"
  13923. },
  13924. "opentradeqty": {
  13925. "description": "开仓成交数量(先建后平操作,需要记录)",
  13926. "type": "integer"
  13927. },
  13928. "openunfreezecharge": {
  13929. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13930. "type": "number"
  13931. },
  13932. "operatetype": {
  13933. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13934. "type": "integer"
  13935. },
  13936. "operatorid": {
  13937. "description": "登录账号(LoginID)",
  13938. "type": "integer"
  13939. },
  13940. "optiontype": {
  13941. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13942. "type": "integer"
  13943. },
  13944. "orderprice": {
  13945. "description": "委托价格",
  13946. "type": "number"
  13947. },
  13948. "orderqty": {
  13949. "description": "委托数量",
  13950. "type": "integer"
  13951. },
  13952. "ordersrc": {
  13953. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13954. "type": "integer"
  13955. },
  13956. "orderstatus": {
  13957. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13958. "type": "integer"
  13959. },
  13960. "ordertime": {
  13961. "description": "委托时间",
  13962. "type": "string"
  13963. },
  13964. "preexerciseprice": {
  13965. "description": "预申报价格",
  13966. "type": "number"
  13967. },
  13968. "premium": {
  13969. "description": "权利金",
  13970. "type": "number"
  13971. },
  13972. "preorderid": {
  13973. "description": "关联预埋单号(止盈止损单时填写)",
  13974. "type": "integer"
  13975. },
  13976. "pricemode": {
  13977. "description": "取价方式 - 1:市价 2: 限价",
  13978. "type": "integer"
  13979. },
  13980. "quoteid": {
  13981. "description": "报价单ID",
  13982. "type": "integer"
  13983. },
  13984. "relatedid": {
  13985. "description": "关联单号(交割单)",
  13986. "type": "integer"
  13987. },
  13988. "retcode": {
  13989. "description": "错误代码",
  13990. "type": "integer"
  13991. },
  13992. "sessionid": {
  13993. "description": "会话ID",
  13994. "type": "integer"
  13995. },
  13996. "strorderid": {
  13997. "description": "委托单号",
  13998. "type": "string"
  13999. },
  14000. "tradedate": {
  14001. "description": "交易日(yyyyMMdd)",
  14002. "type": "string"
  14003. },
  14004. "tradeproperty": {
  14005. "description": "交易属性",
  14006. "type": "integer"
  14007. },
  14008. "tradeqty": {
  14009. "description": "成交数量",
  14010. "type": "integer"
  14011. },
  14012. "unfreezecharge": {
  14013. "description": "解冻手续费",
  14014. "type": "number"
  14015. },
  14016. "unfreezemargin": {
  14017. "description": "解冻保证金",
  14018. "type": "number"
  14019. },
  14020. "updatetime": {
  14021. "description": "更新时间",
  14022. "type": "string"
  14023. },
  14024. "uuid": {
  14025. "description": "发起端唯一id",
  14026. "type": "string"
  14027. },
  14028. "validtime": {
  14029. "description": "有效期限",
  14030. "type": "string"
  14031. },
  14032. "validtype": {
  14033. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14034. "type": "integer"
  14035. },
  14036. "volumetype": {
  14037. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14038. "type": "integer"
  14039. }
  14040. }
  14041. },
  14042. "cptrade.QueryMyCPTradeGoodsRsp": {
  14043. "type": "object",
  14044. "required": [
  14045. "goodscode",
  14046. "goodsid",
  14047. "goodsname",
  14048. "marketid",
  14049. "relatedgoodscode",
  14050. "relatedgoodsname"
  14051. ],
  14052. "properties": {
  14053. "accountid": {
  14054. "description": "卖方账户ID",
  14055. "type": "integer"
  14056. },
  14057. "agreeunit": {
  14058. "description": "合约单位",
  14059. "type": "number"
  14060. },
  14061. "applyid": {
  14062. "description": "关联申请ID",
  14063. "type": "integer"
  14064. },
  14065. "attachmenturl": {
  14066. "description": "附件地址",
  14067. "type": "string"
  14068. },
  14069. "createtime": {
  14070. "description": "创建时间",
  14071. "type": "string"
  14072. },
  14073. "currencyid": {
  14074. "description": "报价货币ID",
  14075. "type": "integer"
  14076. },
  14077. "decimalplace": {
  14078. "description": "报价小数位",
  14079. "type": "integer"
  14080. },
  14081. "endtime": {
  14082. "description": "预售结束时间",
  14083. "type": "string"
  14084. },
  14085. "floorprice": {
  14086. "description": "底价[大宗式竞拍]",
  14087. "type": "number"
  14088. },
  14089. "goodscode": {
  14090. "description": "商品代码(预售)",
  14091. "type": "string"
  14092. },
  14093. "goodsdetail": {
  14094. "description": "详情[大宗]",
  14095. "type": "string"
  14096. },
  14097. "goodsid": {
  14098. "description": "商品ID(自增ID SEQ_GOODS)",
  14099. "type": "integer"
  14100. },
  14101. "goodsname": {
  14102. "description": "商品名称(预售)",
  14103. "type": "string"
  14104. },
  14105. "goodunit": {
  14106. "description": "报价单位",
  14107. "type": "string"
  14108. },
  14109. "goodunitid": {
  14110. "description": "报价单位ID",
  14111. "type": "integer"
  14112. },
  14113. "marketid": {
  14114. "description": "所属市场ID",
  14115. "type": "integer"
  14116. },
  14117. "marketname": {
  14118. "description": "预售市场名称",
  14119. "type": "string"
  14120. },
  14121. "presaledamount": {
  14122. "description": "已预售总金额(预售结束时更新)",
  14123. "type": "number"
  14124. },
  14125. "presaledqty": {
  14126. "description": "已预售量(预售结束时更新)",
  14127. "type": "integer"
  14128. },
  14129. "presalemode": {
  14130. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14131. "type": "integer"
  14132. },
  14133. "presaleqty": {
  14134. "description": "预售数量",
  14135. "type": "integer"
  14136. },
  14137. "refprice": {
  14138. "description": "参考价格[一口价]",
  14139. "type": "number"
  14140. },
  14141. "relatedgoodscode": {
  14142. "description": "商品代码(订单)",
  14143. "type": "string"
  14144. },
  14145. "relatedgoodsid": {
  14146. "description": "关联交易合约ID",
  14147. "type": "integer"
  14148. },
  14149. "relatedgoodsname": {
  14150. "description": "商品名称(订单)",
  14151. "type": "string"
  14152. },
  14153. "relatedmarketid": {
  14154. "description": "关联交易合约市场ID",
  14155. "type": "integer"
  14156. },
  14157. "sellstatus": {
  14158. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14159. "type": "integer"
  14160. },
  14161. "startprice": {
  14162. "description": "起拍价[大宗式竞拍]",
  14163. "type": "number"
  14164. },
  14165. "starttime": {
  14166. "description": "预售开始时间",
  14167. "type": "string"
  14168. },
  14169. "tradedate": {
  14170. "description": "交易日(yyyyMMdd)",
  14171. "type": "string"
  14172. },
  14173. "tradeprice": {
  14174. "description": "成交价[大宗]",
  14175. "type": "number"
  14176. },
  14177. "userid": {
  14178. "description": "卖方用户ID",
  14179. "type": "integer"
  14180. }
  14181. }
  14182. },
  14183. "cptrade.QueryPresaleGoodsExRsp": {
  14184. "type": "object",
  14185. "required": [
  14186. "goodsid"
  14187. ],
  14188. "properties": {
  14189. "attachmenturl": {
  14190. "description": "附件地址",
  14191. "type": "string"
  14192. },
  14193. "createtime": {
  14194. "description": "创建时间",
  14195. "type": "string"
  14196. },
  14197. "endtime": {
  14198. "description": "预售结束时间",
  14199. "type": "string"
  14200. },
  14201. "floorprice": {
  14202. "description": "底价[大宗式竞拍]",
  14203. "type": "number"
  14204. },
  14205. "goodsdetail": {
  14206. "description": "详情[大宗]",
  14207. "type": "string"
  14208. },
  14209. "goodsid": {
  14210. "description": "商品ID(预售)",
  14211. "type": "integer"
  14212. },
  14213. "goodunit": {
  14214. "description": "报价单位",
  14215. "type": "string"
  14216. },
  14217. "marketid": {
  14218. "description": "预售市场ID - 根据预售模式选择市场",
  14219. "type": "integer"
  14220. },
  14221. "presaledamount": {
  14222. "description": "已预售总金额(预售结束时更新)",
  14223. "type": "number"
  14224. },
  14225. "presaledqty": {
  14226. "description": "已预售量(预售结束时更新)",
  14227. "type": "integer"
  14228. },
  14229. "presalemode": {
  14230. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14231. "type": "integer"
  14232. },
  14233. "presaleqty": {
  14234. "description": "预售数量",
  14235. "type": "integer"
  14236. },
  14237. "refprice": {
  14238. "description": "参考价格[一口价]",
  14239. "type": "number"
  14240. },
  14241. "relatedgoodsid": {
  14242. "description": "关联交易合约ID",
  14243. "type": "integer"
  14244. },
  14245. "relatedmarketid": {
  14246. "description": "关联交易合约市场ID",
  14247. "type": "integer"
  14248. },
  14249. "sellstatus": {
  14250. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14251. "type": "integer"
  14252. },
  14253. "startprice": {
  14254. "description": "起拍价[大宗式竞拍]",
  14255. "type": "number"
  14256. },
  14257. "starttime": {
  14258. "description": "预售开始时间",
  14259. "type": "string"
  14260. },
  14261. "tradedate": {
  14262. "description": "交易日(yyyyMMdd)",
  14263. "type": "string"
  14264. },
  14265. "tradeprice": {
  14266. "description": "成交价[大宗]",
  14267. "type": "number"
  14268. }
  14269. }
  14270. },
  14271. "delivery.QueryDeliveryRelationRsp": {
  14272. "type": "object",
  14273. "required": [
  14274. "begindate",
  14275. "enddate",
  14276. "goodsid",
  14277. "mindeliveryqty",
  14278. "xdeliveryratio"
  14279. ],
  14280. "properties": {
  14281. "begindate": {
  14282. "description": "起始日期(yyyyMMdd)",
  14283. "type": "string"
  14284. },
  14285. "buytemplateid": {
  14286. "description": "买履约计划模板ID",
  14287. "type": "integer"
  14288. },
  14289. "deliverygoodscode": {
  14290. "description": "品种代码",
  14291. "type": "string"
  14292. },
  14293. "deliverygoodsid": {
  14294. "description": "交割商品",
  14295. "type": "integer"
  14296. },
  14297. "deliverygoodsname": {
  14298. "description": "品种名称",
  14299. "type": "string"
  14300. },
  14301. "deliverymode": {
  14302. "description": "交割方式 - 1:点选式 2:申报式",
  14303. "type": "integer"
  14304. },
  14305. "deliverypricerule": {
  14306. "description": "交割价规则- 1:行情价 2:建仓价",
  14307. "type": "integer"
  14308. },
  14309. "deliverytype": {
  14310. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  14311. "type": "integer"
  14312. },
  14313. "enddate": {
  14314. "description": "结束日期(yyyyMMdd)",
  14315. "type": "string"
  14316. },
  14317. "enumdicname": {
  14318. "description": "品类单位名称",
  14319. "type": "string"
  14320. },
  14321. "goodscode": {
  14322. "description": "商品代码",
  14323. "type": "string"
  14324. },
  14325. "goodsid": {
  14326. "description": "交易合约ID",
  14327. "type": "integer"
  14328. },
  14329. "goodsname": {
  14330. "description": "商品名称",
  14331. "type": "string"
  14332. },
  14333. "marketid": {
  14334. "description": "市场ID",
  14335. "type": "integer"
  14336. },
  14337. "mindeliveryqty": {
  14338. "description": "最小交割系数(K)",
  14339. "type": "integer"
  14340. },
  14341. "p2deliveryprice": {
  14342. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  14343. "type": "number"
  14344. },
  14345. "p2deliveryratio": {
  14346. "description": "P2合约系数(p)",
  14347. "type": "integer"
  14348. },
  14349. "p2goodsid": {
  14350. "description": "P2合约ID",
  14351. "type": "integer"
  14352. },
  14353. "p2pricemode": {
  14354. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  14355. "type": "integer"
  14356. },
  14357. "pdeliveryprice": {
  14358. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  14359. "type": "number"
  14360. },
  14361. "pdeliveryratio": {
  14362. "description": "P合约系数(n)",
  14363. "type": "integer"
  14364. },
  14365. "pgoodscode": {
  14366. "description": "p合约代码",
  14367. "type": "string"
  14368. },
  14369. "pgoodsid": {
  14370. "description": "P合约ID",
  14371. "type": "integer"
  14372. },
  14373. "ppricemode": {
  14374. "description": "P合约价格方式 - 1:商品价 2:固定值",
  14375. "type": "integer"
  14376. },
  14377. "rratio": {
  14378. "description": "兑换系数(R)",
  14379. "type": "integer"
  14380. },
  14381. "rratio1": {
  14382. "description": "兑换系数(交易合约)(R1)",
  14383. "type": "integer"
  14384. },
  14385. "rratio2": {
  14386. "description": "兑换系数(仓单标准)(R2)",
  14387. "type": "integer"
  14388. },
  14389. "selltemplateid": {
  14390. "description": "卖履约计划模板ID",
  14391. "type": "integer"
  14392. },
  14393. "wrstandardid": {
  14394. "description": "仓单标准ID",
  14395. "type": "integer"
  14396. },
  14397. "xdeliveryratio": {
  14398. "description": "交易合约系数(m)",
  14399. "type": "integer"
  14400. }
  14401. }
  14402. },
  14403. "ermcp.ExposureDetailRsp": {
  14404. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  14405. },
  14406. "ermcp.ExposureHedgePosDetailRsp": {
  14407. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  14408. },
  14409. "ermcp.ExposureHedgePositionRsp": {
  14410. "$ref": "#/definitions/models.ErmcpHedgePosition"
  14411. },
  14412. "ermcp.ExposureSpotDetailRsp": {
  14413. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  14414. },
  14415. "ermcp.ExposureSpotRsp": {
  14416. "$ref": "#/definitions/models.AreaSpotModel"
  14417. },
  14418. "ermcp.HisExposureRsp": {
  14419. "$ref": "#/definitions/models.ErmcpHisExposureS"
  14420. },
  14421. "ermcp.PendingAuditCntRsp": {
  14422. "$ref": "#/definitions/models.ErmcpPendingAudit"
  14423. },
  14424. "ermcp.QryAvalidGPRsp": {
  14425. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  14426. },
  14427. "ermcp.QryBusinessDjRsp": {
  14428. "type": "object",
  14429. "properties": {
  14430. "amount": {
  14431. "description": "点价金额=(点价价格+升贴水)*点价数量",
  14432. "type": "number"
  14433. },
  14434. "applyid": {
  14435. "description": "申请人",
  14436. "type": "string"
  14437. },
  14438. "applyname": {
  14439. "description": "申请人名称",
  14440. "type": "string"
  14441. },
  14442. "applystatus": {
  14443. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14444. "type": "integer"
  14445. },
  14446. "applytime": {
  14447. "description": "申请时间",
  14448. "type": "string"
  14449. },
  14450. "attachurl": {
  14451. "description": "附件",
  14452. "type": "string"
  14453. },
  14454. "auditid": {
  14455. "description": "审核人ID",
  14456. "type": "string"
  14457. },
  14458. "auditname": {
  14459. "description": "审核人名称",
  14460. "type": "string"
  14461. },
  14462. "audittime": {
  14463. "description": "审核时间",
  14464. "type": "string"
  14465. },
  14466. "buyusername": {
  14467. "description": "采购方名称",
  14468. "type": "string"
  14469. },
  14470. "contractno": {
  14471. "description": "合同编号",
  14472. "type": "string"
  14473. },
  14474. "contractstatus": {
  14475. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14476. "type": "integer"
  14477. },
  14478. "contracttype": {
  14479. "description": "现货合同类型 - 1:采购 -1:销售",
  14480. "type": "integer"
  14481. },
  14482. "deliverygoodscode": {
  14483. "description": "现货品种代码",
  14484. "type": "string"
  14485. },
  14486. "deliverygoodsid": {
  14487. "description": "现货商品ID",
  14488. "type": "integer"
  14489. },
  14490. "deliverygoodsname": {
  14491. "description": "现货品种名称",
  14492. "type": "string"
  14493. },
  14494. "enumdicname": {
  14495. "description": "单位名称",
  14496. "type": "string"
  14497. },
  14498. "goodscode": {
  14499. "description": "点价合约",
  14500. "type": "string"
  14501. },
  14502. "goodsname": {
  14503. "description": "商品名称",
  14504. "type": "string"
  14505. },
  14506. "operateapplyid": {
  14507. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14508. "type": "string"
  14509. },
  14510. "operateapplytype": {
  14511. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14512. "type": "integer"
  14513. },
  14514. "pricedPrice": {
  14515. "description": "点价价格(非必填)",
  14516. "type": "number"
  14517. },
  14518. "pricedQty": {
  14519. "description": "点价数量(非必填)",
  14520. "type": "number"
  14521. },
  14522. "pricemove": {
  14523. "description": "升贴水",
  14524. "type": "number"
  14525. },
  14526. "pricetype": {
  14527. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14528. "type": "integer"
  14529. },
  14530. "relatedid": {
  14531. "description": "现货合同ID",
  14532. "type": "string"
  14533. },
  14534. "sellusername": {
  14535. "description": "销售方名字",
  14536. "type": "string"
  14537. },
  14538. "userid": {
  14539. "description": "用户ID",
  14540. "type": "integer"
  14541. },
  14542. "wrstandardcode": {
  14543. "description": "品类代码",
  14544. "type": "string"
  14545. },
  14546. "wrstandardid": {
  14547. "description": "品类id",
  14548. "type": "integer"
  14549. },
  14550. "wrstandardname": {
  14551. "description": "品类名称",
  14552. "type": "string"
  14553. }
  14554. }
  14555. },
  14556. "ermcp.QryBussinessFpRsp": {
  14557. "type": "object",
  14558. "properties": {
  14559. "applyid": {
  14560. "description": "申请人",
  14561. "type": "string"
  14562. },
  14563. "applyname": {
  14564. "description": "申请人名称",
  14565. "type": "string"
  14566. },
  14567. "applystatus": {
  14568. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14569. "type": "integer"
  14570. },
  14571. "applytime": {
  14572. "description": "申请时间",
  14573. "type": "string"
  14574. },
  14575. "attachurl": {
  14576. "description": "附件",
  14577. "type": "string"
  14578. },
  14579. "auditid": {
  14580. "description": "审核人ID",
  14581. "type": "string"
  14582. },
  14583. "auditname": {
  14584. "description": "审核人名称",
  14585. "type": "string"
  14586. },
  14587. "audittime": {
  14588. "description": "审核时间",
  14589. "type": "string"
  14590. },
  14591. "buyusername": {
  14592. "description": "采购方名称",
  14593. "type": "string"
  14594. },
  14595. "contractno": {
  14596. "description": "合同编号",
  14597. "type": "string"
  14598. },
  14599. "contractstatus": {
  14600. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14601. "type": "integer"
  14602. },
  14603. "contracttype": {
  14604. "description": "现货合同类型 - 1:采购 -1:销售",
  14605. "type": "integer"
  14606. },
  14607. "deliverygoodscode": {
  14608. "description": "现货品种代码",
  14609. "type": "string"
  14610. },
  14611. "deliverygoodsid": {
  14612. "description": "现货商品ID",
  14613. "type": "integer"
  14614. },
  14615. "deliverygoodsname": {
  14616. "description": "现货品种名称",
  14617. "type": "string"
  14618. },
  14619. "enumdicname": {
  14620. "description": "单位名称",
  14621. "type": "string"
  14622. },
  14623. "goodscode": {
  14624. "description": "点价合约",
  14625. "type": "string"
  14626. },
  14627. "goodsname": {
  14628. "description": "商品名称",
  14629. "type": "string"
  14630. },
  14631. "invoiceAmount": {
  14632. "description": "已开收票金额(销售为开票,采购为收票)",
  14633. "type": "number"
  14634. },
  14635. "operateapplyid": {
  14636. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14637. "type": "string"
  14638. },
  14639. "operateapplytype": {
  14640. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14641. "type": "integer"
  14642. },
  14643. "pricemove": {
  14644. "description": "升贴水",
  14645. "type": "number"
  14646. },
  14647. "pricetype": {
  14648. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14649. "type": "integer"
  14650. },
  14651. "relatedid": {
  14652. "description": "现货合同ID",
  14653. "type": "string"
  14654. },
  14655. "sellusername": {
  14656. "description": "销售方名字",
  14657. "type": "string"
  14658. },
  14659. "userid": {
  14660. "description": "用户ID",
  14661. "type": "integer"
  14662. },
  14663. "wrstandardcode": {
  14664. "description": "品类代码",
  14665. "type": "string"
  14666. },
  14667. "wrstandardid": {
  14668. "description": "品类id",
  14669. "type": "integer"
  14670. },
  14671. "wrstandardname": {
  14672. "description": "品类名称",
  14673. "type": "string"
  14674. }
  14675. }
  14676. },
  14677. "ermcp.QryBussinessJsExRsp": {
  14678. "type": "object",
  14679. "properties": {
  14680. "applyid": {
  14681. "description": "申请人",
  14682. "type": "string"
  14683. },
  14684. "applyname": {
  14685. "description": "申请人名称",
  14686. "type": "string"
  14687. },
  14688. "applystatus": {
  14689. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14690. "type": "integer"
  14691. },
  14692. "applytime": {
  14693. "description": "申请时间",
  14694. "type": "string"
  14695. },
  14696. "attachurl": {
  14697. "description": "附件",
  14698. "type": "string"
  14699. },
  14700. "auditid": {
  14701. "description": "审核人ID",
  14702. "type": "string"
  14703. },
  14704. "auditname": {
  14705. "description": "审核人名称",
  14706. "type": "string"
  14707. },
  14708. "audittime": {
  14709. "description": "审核时间",
  14710. "type": "string"
  14711. },
  14712. "buyusername": {
  14713. "description": "采购方名称",
  14714. "type": "string"
  14715. },
  14716. "contractno": {
  14717. "description": "合同编号",
  14718. "type": "string"
  14719. },
  14720. "contractstatus": {
  14721. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14722. "type": "integer"
  14723. },
  14724. "contracttype": {
  14725. "description": "现货合同类型 - 1:采购 -1:销售",
  14726. "type": "integer"
  14727. },
  14728. "deliverygoodscode": {
  14729. "description": "现货品种代码",
  14730. "type": "string"
  14731. },
  14732. "deliverygoodsid": {
  14733. "description": "现货商品ID",
  14734. "type": "integer"
  14735. },
  14736. "deliverygoodsname": {
  14737. "description": "现货品种名称",
  14738. "type": "string"
  14739. },
  14740. "enumdicname": {
  14741. "description": "单位名称",
  14742. "type": "string"
  14743. },
  14744. "goodscode": {
  14745. "description": "点价合约",
  14746. "type": "string"
  14747. },
  14748. "goodsname": {
  14749. "description": "商品名称",
  14750. "type": "string"
  14751. },
  14752. "operateapplyid": {
  14753. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14754. "type": "string"
  14755. },
  14756. "operateapplytype": {
  14757. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14758. "type": "integer"
  14759. },
  14760. "pricemove": {
  14761. "description": "升贴水",
  14762. "type": "number"
  14763. },
  14764. "pricetype": {
  14765. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14766. "type": "integer"
  14767. },
  14768. "reckontype": {
  14769. "description": "结算类型",
  14770. "type": "string"
  14771. },
  14772. "reckonvalue": {
  14773. "description": "值",
  14774. "type": "number"
  14775. },
  14776. "relatedid": {
  14777. "description": "现货合同ID",
  14778. "type": "string"
  14779. },
  14780. "sellusername": {
  14781. "description": "销售方名字",
  14782. "type": "string"
  14783. },
  14784. "userid": {
  14785. "description": "用户ID",
  14786. "type": "integer"
  14787. },
  14788. "wrstandardcode": {
  14789. "description": "品类代码",
  14790. "type": "string"
  14791. },
  14792. "wrstandardid": {
  14793. "description": "品类id",
  14794. "type": "integer"
  14795. },
  14796. "wrstandardname": {
  14797. "description": "品类名称",
  14798. "type": "string"
  14799. }
  14800. }
  14801. },
  14802. "ermcp.QryBussinessJsRsp": {
  14803. "type": "object",
  14804. "properties": {
  14805. "addmargin": {
  14806. "description": "追加保证金(非必填)",
  14807. "type": "number"
  14808. },
  14809. "applyid": {
  14810. "description": "申请人",
  14811. "type": "string"
  14812. },
  14813. "applyname": {
  14814. "description": "申请人名称",
  14815. "type": "string"
  14816. },
  14817. "applystatus": {
  14818. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14819. "type": "integer"
  14820. },
  14821. "applytime": {
  14822. "description": "申请时间",
  14823. "type": "string"
  14824. },
  14825. "attachurl": {
  14826. "description": "附件",
  14827. "type": "string"
  14828. },
  14829. "auditid": {
  14830. "description": "审核人ID",
  14831. "type": "string"
  14832. },
  14833. "auditname": {
  14834. "description": "审核人名称",
  14835. "type": "string"
  14836. },
  14837. "audittime": {
  14838. "description": "审核时间",
  14839. "type": "string"
  14840. },
  14841. "buyusername": {
  14842. "description": "采购方名称",
  14843. "type": "string"
  14844. },
  14845. "contractno": {
  14846. "description": "合同编号",
  14847. "type": "string"
  14848. },
  14849. "contractstatus": {
  14850. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14851. "type": "integer"
  14852. },
  14853. "contracttype": {
  14854. "description": "现货合同类型 - 1:采购 -1:销售",
  14855. "type": "integer"
  14856. },
  14857. "decmargin": {
  14858. "description": "减少保证金(非必填)",
  14859. "type": "number"
  14860. },
  14861. "deliverygoodscode": {
  14862. "description": "现货品种代码",
  14863. "type": "string"
  14864. },
  14865. "deliverygoodsid": {
  14866. "description": "现货商品ID",
  14867. "type": "integer"
  14868. },
  14869. "deliverygoodsname": {
  14870. "description": "现货品种名称",
  14871. "type": "string"
  14872. },
  14873. "enumdicname": {
  14874. "description": "单位名称",
  14875. "type": "string"
  14876. },
  14877. "goodscode": {
  14878. "description": "点价合约",
  14879. "type": "string"
  14880. },
  14881. "goodsname": {
  14882. "description": "商品名称",
  14883. "type": "string"
  14884. },
  14885. "operateapplyid": {
  14886. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14887. "type": "string"
  14888. },
  14889. "operateapplytype": {
  14890. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14891. "type": "integer"
  14892. },
  14893. "pricemove": {
  14894. "description": "升贴水",
  14895. "type": "number"
  14896. },
  14897. "pricetype": {
  14898. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14899. "type": "integer"
  14900. },
  14901. "reckonadjustamount": {
  14902. "description": "结算调整金额(非必填)",
  14903. "type": "number"
  14904. },
  14905. "reckonosamount": {
  14906. "description": "结算溢短金额(非必填)",
  14907. "type": "number"
  14908. },
  14909. "reckonotheramount": {
  14910. "description": "结算其他费用(非必填)",
  14911. "type": "number"
  14912. },
  14913. "reckonrealqty": {
  14914. "description": "结算实际数量(非必填)",
  14915. "type": "number"
  14916. },
  14917. "relatedid": {
  14918. "description": "现货合同ID",
  14919. "type": "string"
  14920. },
  14921. "sellusername": {
  14922. "description": "销售方名字",
  14923. "type": "string"
  14924. },
  14925. "userid": {
  14926. "description": "用户ID",
  14927. "type": "integer"
  14928. },
  14929. "wrstandardcode": {
  14930. "description": "品类代码",
  14931. "type": "string"
  14932. },
  14933. "wrstandardid": {
  14934. "description": "品类id",
  14935. "type": "integer"
  14936. },
  14937. "wrstandardname": {
  14938. "description": "品类名称",
  14939. "type": "string"
  14940. }
  14941. }
  14942. },
  14943. "ermcp.QryBussinessKxRsp": {
  14944. "type": "object",
  14945. "properties": {
  14946. "applyid": {
  14947. "description": "申请人",
  14948. "type": "string"
  14949. },
  14950. "applyname": {
  14951. "description": "申请人名称",
  14952. "type": "string"
  14953. },
  14954. "applystatus": {
  14955. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14956. "type": "integer"
  14957. },
  14958. "applytime": {
  14959. "description": "申请时间",
  14960. "type": "string"
  14961. },
  14962. "attachurl": {
  14963. "description": "附件",
  14964. "type": "string"
  14965. },
  14966. "auditid": {
  14967. "description": "审核人ID",
  14968. "type": "string"
  14969. },
  14970. "auditname": {
  14971. "description": "审核人名称",
  14972. "type": "string"
  14973. },
  14974. "audittime": {
  14975. "description": "审核时间",
  14976. "type": "string"
  14977. },
  14978. "buyusername": {
  14979. "description": "采购方名称",
  14980. "type": "string"
  14981. },
  14982. "contractno": {
  14983. "description": "合同编号",
  14984. "type": "string"
  14985. },
  14986. "contractstatus": {
  14987. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14988. "type": "integer"
  14989. },
  14990. "contracttype": {
  14991. "description": "现货合同类型 - 1:采购 -1:销售",
  14992. "type": "integer"
  14993. },
  14994. "deductamount": {
  14995. "description": "退款(非必填)",
  14996. "type": "number"
  14997. },
  14998. "deliverygoodscode": {
  14999. "description": "现货品种代码",
  15000. "type": "string"
  15001. },
  15002. "deliverygoodsid": {
  15003. "description": "现货商品ID",
  15004. "type": "integer"
  15005. },
  15006. "deliverygoodsname": {
  15007. "description": "现货品种名称",
  15008. "type": "string"
  15009. },
  15010. "enumdicname": {
  15011. "description": "单位名称",
  15012. "type": "string"
  15013. },
  15014. "goodscode": {
  15015. "description": "点价合约",
  15016. "type": "string"
  15017. },
  15018. "goodsname": {
  15019. "description": "商品名称",
  15020. "type": "string"
  15021. },
  15022. "kxtype": {
  15023. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  15024. "type": "integer"
  15025. },
  15026. "operateapplyid": {
  15027. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15028. "type": "string"
  15029. },
  15030. "operateapplytype": {
  15031. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15032. "type": "integer"
  15033. },
  15034. "payamount": {
  15035. "description": "收付款(非必填)",
  15036. "type": "number"
  15037. },
  15038. "pricemove": {
  15039. "description": "升贴水",
  15040. "type": "number"
  15041. },
  15042. "pricetype": {
  15043. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15044. "type": "integer"
  15045. },
  15046. "relatedid": {
  15047. "description": "现货合同ID",
  15048. "type": "string"
  15049. },
  15050. "sellusername": {
  15051. "description": "销售方名字",
  15052. "type": "string"
  15053. },
  15054. "userid": {
  15055. "description": "用户ID",
  15056. "type": "integer"
  15057. },
  15058. "wrstandardcode": {
  15059. "description": "品类代码",
  15060. "type": "string"
  15061. },
  15062. "wrstandardid": {
  15063. "description": "品类id",
  15064. "type": "integer"
  15065. },
  15066. "wrstandardname": {
  15067. "description": "品类名称",
  15068. "type": "string"
  15069. }
  15070. }
  15071. },
  15072. "ermcp.QryGGCovertCfgRsp": {
  15073. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15074. },
  15075. "ermcp.QryMGChangeLogRsp": {
  15076. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  15077. },
  15078. "ermcp.QryMiddleGoodsDetailRsp": {
  15079. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  15080. },
  15081. "ermcp.QryMiddleGoodsRsp": {
  15082. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15083. },
  15084. "ermcp.QryOPLogRsp": {
  15085. "$ref": "#/definitions/models.ErmcpOPLogModel"
  15086. },
  15087. "ermcp.QryUserInfoRsp": {
  15088. "$ref": "#/definitions/models.ErmcpUserModel"
  15089. },
  15090. "ermcp.QryWarehouseRsp": {
  15091. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  15092. },
  15093. "ermcp.QueryErmcpTradePositionRsp": {
  15094. "type": "object",
  15095. "properties": {
  15096. "agreeunit": {
  15097. "description": "合约单位",
  15098. "type": "number"
  15099. },
  15100. "buyorsell": {
  15101. "description": "方向 - 0:买 1:卖",
  15102. "type": "integer"
  15103. },
  15104. "curpositionqty": {
  15105. "description": "持仓(总仓数量, 期末头寸)",
  15106. "type": "integer"
  15107. },
  15108. "curtdposition": {
  15109. "description": "今仓数量(期末今日头寸)",
  15110. "type": "integer"
  15111. },
  15112. "curtdpositionenabled": {
  15113. "description": "今仓可用",
  15114. "type": "integer"
  15115. },
  15116. "decimalplace": {
  15117. "description": "报价小数位",
  15118. "type": "integer"
  15119. },
  15120. "enableqty": {
  15121. "description": "可用(总仓可用)",
  15122. "type": "integer"
  15123. },
  15124. "exexchangename": {
  15125. "description": "外部交易所名称",
  15126. "type": "string"
  15127. },
  15128. "goodscode": {
  15129. "description": "商品代码(内部)",
  15130. "type": "string"
  15131. },
  15132. "goodsid": {
  15133. "description": "商品ID(自增ID SEQ_GOODS)",
  15134. "type": "integer"
  15135. },
  15136. "goodsname": {
  15137. "description": "商品名称",
  15138. "type": "string"
  15139. },
  15140. "last": {
  15141. "description": "现价",
  15142. "type": "number"
  15143. },
  15144. "marketid": {
  15145. "description": "所属市场ID",
  15146. "type": "integer"
  15147. },
  15148. "openaverageprice": {
  15149. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  15150. "type": "number"
  15151. },
  15152. "opencost": {
  15153. "description": "开仓成本",
  15154. "type": "number"
  15155. },
  15156. "openpl": {
  15157. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  15158. "type": "number"
  15159. },
  15160. "outgoodscode": {
  15161. "description": "商品代码(外部)",
  15162. "type": "string"
  15163. },
  15164. "positionaverageprice": {
  15165. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  15166. "type": "number"
  15167. },
  15168. "positioncost": {
  15169. "description": "持仓成本",
  15170. "type": "number"
  15171. },
  15172. "positionpl": {
  15173. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  15174. "type": "number"
  15175. },
  15176. "positionplrate": {
  15177. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  15178. "type": "number"
  15179. },
  15180. "usedmargin": {
  15181. "description": "占用保证金",
  15182. "type": "number"
  15183. }
  15184. }
  15185. },
  15186. "ermcp.RealtimeExposurePositionRsp": {
  15187. "$ref": "#/definitions/models.ErmcpExposurePostion"
  15188. },
  15189. "ermcp.RealtimeExposureRsp": {
  15190. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  15191. },
  15192. "erms2.QueryArbitrageStrategyRsp": {
  15193. "type": "object",
  15194. "required": [
  15195. "asapplyid"
  15196. ],
  15197. "properties": {
  15198. "applybasis": {
  15199. "description": "申请基差",
  15200. "type": "number"
  15201. },
  15202. "asapplyid": {
  15203. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  15204. "type": "string"
  15205. },
  15206. "asname": {
  15207. "description": "策略名称",
  15208. "type": "string"
  15209. },
  15210. "asno": {
  15211. "description": "策略编号",
  15212. "type": "string"
  15213. },
  15214. "basischangepl": {
  15215. "description": "基差变动损益[结算更新]",
  15216. "type": "number"
  15217. },
  15218. "biztype": {
  15219. "description": "业务类型 - 1:正向套利 -1:反向套利",
  15220. "type": "integer"
  15221. },
  15222. "closetradedate": {
  15223. "description": "完结交易日(yyyyMMdd)",
  15224. "type": "string"
  15225. },
  15226. "curbasis": {
  15227. "description": "当前基差[结算更新]",
  15228. "type": "number"
  15229. },
  15230. "deliverygoodsid": {
  15231. "description": "现货品种ID",
  15232. "type": "integer"
  15233. },
  15234. "futureavgprice": {
  15235. "description": "期货建仓均价",
  15236. "type": "number"
  15237. },
  15238. "futurecloseamount": {
  15239. "description": "期货平仓金额",
  15240. "type": "number"
  15241. },
  15242. "futurecloseqty": {
  15243. "description": "期货平仓数量",
  15244. "type": "number"
  15245. },
  15246. "futureopenamount": {
  15247. "description": "期货开仓金额",
  15248. "type": "number"
  15249. },
  15250. "futureopenqty": {
  15251. "description": "期货开仓数量",
  15252. "type": "number"
  15253. },
  15254. "futurepl": {
  15255. "description": "期货总盈亏[结算更新]",
  15256. "type": "number"
  15257. },
  15258. "futureqty": {
  15259. "description": "期货持仓数量",
  15260. "type": "number"
  15261. },
  15262. "futurequote": {
  15263. "description": "期货额度",
  15264. "type": "number"
  15265. },
  15266. "goodsgroupid": {
  15267. "description": "期货品种ID",
  15268. "type": "integer"
  15269. },
  15270. "marketid": {
  15271. "description": "市场ID",
  15272. "type": "integer"
  15273. },
  15274. "netexposure": {
  15275. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  15276. "type": "number"
  15277. },
  15278. "netexposurepl": {
  15279. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  15280. "type": "number"
  15281. },
  15282. "netexposurerate": {
  15283. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  15284. "type": "number"
  15285. },
  15286. "openbasis": {
  15287. "description": "建仓基差",
  15288. "type": "number"
  15289. },
  15290. "pricedspotqty": {
  15291. "description": "已定价现货数量",
  15292. "type": "number"
  15293. },
  15294. "pricedspotqtynotax": {
  15295. "description": "已定价现货不含税数量",
  15296. "type": "number"
  15297. },
  15298. "remark": {
  15299. "description": "备注",
  15300. "type": "string"
  15301. },
  15302. "spotavgprice": {
  15303. "description": "现货均价",
  15304. "type": "number"
  15305. },
  15306. "spotbuyamount": {
  15307. "description": "现货采购金额",
  15308. "type": "number"
  15309. },
  15310. "spotbuyqty": {
  15311. "description": "现货采购数量",
  15312. "type": "number"
  15313. },
  15314. "spotpl": {
  15315. "description": "现货总盈亏[结算更新]",
  15316. "type": "number"
  15317. },
  15318. "spotquota": {
  15319. "description": "现货额度",
  15320. "type": "number"
  15321. },
  15322. "spotsellamount": {
  15323. "description": "现货销售金额",
  15324. "type": "number"
  15325. },
  15326. "spotsellqty": {
  15327. "description": "现货销售数量",
  15328. "type": "number"
  15329. },
  15330. "spotusedquota": {
  15331. "description": "现货占用资金",
  15332. "type": "number"
  15333. },
  15334. "strategystatus": {
  15335. "description": "策略状态 - 0:未结束 1:已结束",
  15336. "type": "integer"
  15337. },
  15338. "totalpl": {
  15339. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  15340. "type": "number"
  15341. },
  15342. "tradedate": {
  15343. "description": "交易日(yyyyMMdd)",
  15344. "type": "string"
  15345. },
  15346. "updatetime": {
  15347. "description": "更新时间",
  15348. "type": "string"
  15349. },
  15350. "usedquota": {
  15351. "description": "已占用资金",
  15352. "type": "number"
  15353. },
  15354. "userid": {
  15355. "description": "所属机构",
  15356. "type": "integer"
  15357. }
  15358. }
  15359. },
  15360. "erms2.QueryInnerTradeDetailRsp": {
  15361. "type": "object",
  15362. "required": [
  15363. "asapplyid",
  15364. "buyorsell",
  15365. "goodscode",
  15366. "goodsgroupid",
  15367. "goodsgroupname",
  15368. "goodsname",
  15369. "tradeid"
  15370. ],
  15371. "properties": {
  15372. "accountid": {
  15373. "description": "账号ID",
  15374. "type": "integer"
  15375. },
  15376. "agreeunit": {
  15377. "description": "合约单位",
  15378. "type": "number"
  15379. },
  15380. "asapplyid": {
  15381. "description": "策略申请ID",
  15382. "type": "integer"
  15383. },
  15384. "asname": {
  15385. "description": "策略名称",
  15386. "type": "string"
  15387. },
  15388. "asno": {
  15389. "description": "策略编号",
  15390. "type": "string"
  15391. },
  15392. "buyorsell": {
  15393. "description": "方向 - 0:买 1:卖",
  15394. "type": "integer"
  15395. },
  15396. "channelbuildtype": {
  15397. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  15398. "type": "integer"
  15399. },
  15400. "closetype": {
  15401. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15402. "type": "integer"
  15403. },
  15404. "decimalplace": {
  15405. "description": "报价小数位",
  15406. "type": "integer"
  15407. },
  15408. "detailtype": {
  15409. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  15410. "type": "integer"
  15411. },
  15412. "exexchangecode": {
  15413. "description": "外部交易所代码",
  15414. "type": "string"
  15415. },
  15416. "exexchangename": {
  15417. "description": "外部交易所名称",
  15418. "type": "string"
  15419. },
  15420. "goodscode": {
  15421. "description": "商品代码(合约)",
  15422. "type": "string"
  15423. },
  15424. "goodsgroupid": {
  15425. "description": "商品组ID(品种ID)",
  15426. "type": "integer"
  15427. },
  15428. "goodsgroupname": {
  15429. "description": "商品组名称(品种)",
  15430. "type": "string"
  15431. },
  15432. "goodsid": {
  15433. "description": "商品ID",
  15434. "type": "integer"
  15435. },
  15436. "goodsname": {
  15437. "description": "商品名称(合约)",
  15438. "type": "string"
  15439. },
  15440. "goodunit": {
  15441. "description": "报价单位",
  15442. "type": "string"
  15443. },
  15444. "marketid": {
  15445. "description": "市场ID",
  15446. "type": "integer"
  15447. },
  15448. "orderid": {
  15449. "description": "委托单号",
  15450. "type": "string"
  15451. },
  15452. "outgoodscode": {
  15453. "description": "商品代码(外部)",
  15454. "type": "string"
  15455. },
  15456. "relatedouttradeid": {
  15457. "description": "关联外部成交单ID",
  15458. "type": "string"
  15459. },
  15460. "remark": {
  15461. "description": "备注",
  15462. "type": "string"
  15463. },
  15464. "spotcontractid": {
  15465. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  15466. "type": "integer"
  15467. },
  15468. "spotcontractno": {
  15469. "description": "现货合同编号",
  15470. "type": "string"
  15471. },
  15472. "tradeid": {
  15473. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15474. "type": "string"
  15475. },
  15476. "tradeprice": {
  15477. "description": "成交价格",
  15478. "type": "number"
  15479. },
  15480. "tradeqty": {
  15481. "description": "成交数量",
  15482. "type": "integer"
  15483. },
  15484. "tradetime": {
  15485. "description": "成交时间",
  15486. "type": "string"
  15487. },
  15488. "updatetime": {
  15489. "description": "更新时间",
  15490. "type": "string"
  15491. }
  15492. }
  15493. },
  15494. "erms2.QuerySpotContractRsp": {
  15495. "type": "object",
  15496. "required": [
  15497. "spotcontractid"
  15498. ],
  15499. "properties": {
  15500. "accountid": {
  15501. "description": "资金账户ID",
  15502. "type": "integer"
  15503. },
  15504. "areauserid": {
  15505. "description": "所属机构",
  15506. "type": "integer"
  15507. },
  15508. "closedate": {
  15509. "description": "终止日期",
  15510. "type": "string"
  15511. },
  15512. "closeremark": {
  15513. "description": "结束备注",
  15514. "type": "string"
  15515. },
  15516. "closetradedate": {
  15517. "description": "完结交易日(yyyyMMdd)",
  15518. "type": "string"
  15519. },
  15520. "closetype": {
  15521. "description": "终止类型 - 1:违约 2:提前终止",
  15522. "type": "integer"
  15523. },
  15524. "contractamount": {
  15525. "description": "合同金额",
  15526. "type": "number"
  15527. },
  15528. "contractattachment": {
  15529. "description": "合同附件",
  15530. "type": "string"
  15531. },
  15532. "contractno": {
  15533. "description": "现货合同编号",
  15534. "type": "string"
  15535. },
  15536. "contractqty": {
  15537. "description": "合同数量(数值) (用于计算)",
  15538. "type": "number"
  15539. },
  15540. "contractqtychar": {
  15541. "description": "合同数量\\已订价数量 (用于显示)",
  15542. "type": "string"
  15543. },
  15544. "contractstatus": {
  15545. "description": "合同状态 - 0:未结束 1:已结束",
  15546. "type": "integer"
  15547. },
  15548. "contracttype": {
  15549. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  15550. "type": "integer"
  15551. },
  15552. "customeraccountid": {
  15553. "description": "客户资金账户ID",
  15554. "type": "integer"
  15555. },
  15556. "customeruserid": {
  15557. "description": "客户ID",
  15558. "type": "integer"
  15559. },
  15560. "deliverygoodsdesc": {
  15561. "description": "品种说明",
  15562. "type": "string"
  15563. },
  15564. "deliverygoodsid": {
  15565. "description": "现货品种ID",
  15566. "type": "integer"
  15567. },
  15568. "handlestatus": {
  15569. "description": "处理状态",
  15570. "type": "integer"
  15571. },
  15572. "invoiceatt": {
  15573. "description": "发票附件",
  15574. "type": "string"
  15575. },
  15576. "invoicedatetime": {
  15577. "description": "开收票更新时间",
  15578. "type": "string"
  15579. },
  15580. "invoiceopentime": {
  15581. "description": "开票时间",
  15582. "type": "string"
  15583. },
  15584. "invoiceremark": {
  15585. "description": "发票备注",
  15586. "type": "string"
  15587. },
  15588. "invoicestatus": {
  15589. "description": "开收票状态 - 0:未开票 1:已开票",
  15590. "type": "integer"
  15591. },
  15592. "lastdate": {
  15593. "description": "交货时间",
  15594. "type": "string"
  15595. },
  15596. "marketid": {
  15597. "description": "市场ID",
  15598. "type": "integer"
  15599. },
  15600. "paydatetime": {
  15601. "description": "收付款更新时间",
  15602. "type": "string"
  15603. },
  15604. "payremark": {
  15605. "description": "收付款备注",
  15606. "type": "string"
  15607. },
  15608. "paystatus": {
  15609. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  15610. "type": "integer"
  15611. },
  15612. "positionqty": {
  15613. "description": "头寸数量 - 合同数量去小数部分",
  15614. "type": "integer"
  15615. },
  15616. "producttype": {
  15617. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15618. "type": "integer"
  15619. },
  15620. "relatedqty": {
  15621. "description": "已关联数量",
  15622. "type": "number"
  15623. },
  15624. "relatedstatus": {
  15625. "description": "关联完结状态 - 0:未结束 1:已结束",
  15626. "type": "integer"
  15627. },
  15628. "remark": {
  15629. "description": "备注",
  15630. "type": "string"
  15631. },
  15632. "signdate": {
  15633. "description": "签订日期",
  15634. "type": "string"
  15635. },
  15636. "spotcontractid": {
  15637. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  15638. "type": "string"
  15639. },
  15640. "spotdatetime": {
  15641. "description": "收发货更新时间",
  15642. "type": "string"
  15643. },
  15644. "spotprice": {
  15645. "description": "价格",
  15646. "type": "number"
  15647. },
  15648. "spotremark": {
  15649. "description": "收发货备注",
  15650. "type": "string"
  15651. },
  15652. "spotstatus": {
  15653. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  15654. "type": "integer"
  15655. },
  15656. "tradedate": {
  15657. "description": "交易日(yyyyMMdd)",
  15658. "type": "string"
  15659. },
  15660. "userid": {
  15661. "description": "业务员用户ID",
  15662. "type": "integer"
  15663. },
  15664. "warehouseid": {
  15665. "description": "仓库ID",
  15666. "type": "integer"
  15667. },
  15668. "wrfactortypeid": {
  15669. "description": "仓单要素类型ID",
  15670. "type": "integer"
  15671. },
  15672. "wrstandardid": {
  15673. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15674. "type": "integer"
  15675. }
  15676. }
  15677. },
  15678. "erms3.AddErms2ASApplyReq": {
  15679. "type": "object",
  15680. "required": [
  15681. "asapplyid"
  15682. ],
  15683. "properties": {
  15684. "applybasis": {
  15685. "description": "申请基差",
  15686. "type": "number"
  15687. },
  15688. "applystatus": {
  15689. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15690. "type": "integer"
  15691. },
  15692. "asapplyid": {
  15693. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  15694. "type": "integer"
  15695. },
  15696. "asname": {
  15697. "description": "策略名称",
  15698. "type": "string"
  15699. },
  15700. "asno": {
  15701. "description": "策略编号",
  15702. "type": "string"
  15703. },
  15704. "auditid": {
  15705. "description": "审核人",
  15706. "type": "integer"
  15707. },
  15708. "auditremark": {
  15709. "description": "审核备注",
  15710. "type": "string"
  15711. },
  15712. "audittime": {
  15713. "description": "审核时间",
  15714. "type": "string"
  15715. },
  15716. "biztype": {
  15717. "description": "业务类型 - 1:正向套利 2:反向套利",
  15718. "type": "integer"
  15719. },
  15720. "createtime": {
  15721. "description": "创建时间",
  15722. "type": "string"
  15723. },
  15724. "creatorid": {
  15725. "description": "创建人",
  15726. "type": "integer"
  15727. },
  15728. "deliverygoodsid": {
  15729. "description": "现货品种ID",
  15730. "type": "integer"
  15731. },
  15732. "futurequote": {
  15733. "description": "期货额度",
  15734. "type": "number"
  15735. },
  15736. "goodsgroupid": {
  15737. "description": "期货品种ID",
  15738. "type": "integer"
  15739. },
  15740. "marketid": {
  15741. "description": "市场ID",
  15742. "type": "integer"
  15743. },
  15744. "remark": {
  15745. "description": "备注",
  15746. "type": "string"
  15747. },
  15748. "spotquota": {
  15749. "description": "现货额度",
  15750. "type": "number"
  15751. },
  15752. "tradedate": {
  15753. "description": "交易日(yyyyMMdd)",
  15754. "type": "string"
  15755. },
  15756. "userid": {
  15757. "description": "所属机构",
  15758. "type": "integer"
  15759. }
  15760. }
  15761. },
  15762. "erms3.AddErms2SpotTradeApplyReq": {
  15763. "type": "object",
  15764. "required": [
  15765. "spottradeid"
  15766. ],
  15767. "properties": {
  15768. "applyjsondetail": {
  15769. "description": "申请明细(JSON)",
  15770. "type": "string"
  15771. },
  15772. "applystatus": {
  15773. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15774. "type": "integer"
  15775. },
  15776. "areauserid": {
  15777. "description": "所属机构",
  15778. "type": "integer"
  15779. },
  15780. "auditid": {
  15781. "description": "审核人",
  15782. "type": "integer"
  15783. },
  15784. "auditremark": {
  15785. "description": "审核备注",
  15786. "type": "string"
  15787. },
  15788. "audittime": {
  15789. "description": "审核时间",
  15790. "type": "string"
  15791. },
  15792. "createtime": {
  15793. "description": "创建时间",
  15794. "type": "string"
  15795. },
  15796. "creatorid": {
  15797. "description": "创建人",
  15798. "type": "integer"
  15799. },
  15800. "deliverygoodsid": {
  15801. "description": "现货品种ID",
  15802. "type": "integer"
  15803. },
  15804. "futureaccountid": {
  15805. "description": "期货资金账户",
  15806. "type": "integer"
  15807. },
  15808. "goodsgroupid": {
  15809. "description": "期货品种",
  15810. "type": "integer"
  15811. },
  15812. "marketid": {
  15813. "description": "市场ID",
  15814. "type": "integer"
  15815. },
  15816. "remark": {
  15817. "description": "备注",
  15818. "type": "string"
  15819. },
  15820. "spotaccountid": {
  15821. "description": "现货资金账户",
  15822. "type": "integer"
  15823. },
  15824. "spottradeid": {
  15825. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  15826. "type": "integer"
  15827. },
  15828. "spottradename": {
  15829. "description": "业务名称",
  15830. "type": "string"
  15831. },
  15832. "spottradeno": {
  15833. "description": "业务编号",
  15834. "type": "string"
  15835. },
  15836. "tradedate": {
  15837. "description": "交易日(yyyyMMdd)",
  15838. "type": "string"
  15839. },
  15840. "wrstandardid": {
  15841. "description": "仓单标准ID",
  15842. "type": "integer"
  15843. }
  15844. }
  15845. },
  15846. "erms3.AddSpotContractApplyReq": {
  15847. "type": "object",
  15848. "required": [
  15849. "accountid",
  15850. "areauserid",
  15851. "contractno",
  15852. "contracttype",
  15853. "customeraccountid",
  15854. "customeruserid",
  15855. "details",
  15856. "orimargin",
  15857. "signdate"
  15858. ],
  15859. "properties": {
  15860. "accountid": {
  15861. "description": "资金账户ID",
  15862. "type": "integer"
  15863. },
  15864. "areauserid": {
  15865. "description": "所属机构",
  15866. "type": "integer"
  15867. },
  15868. "contractattachment": {
  15869. "description": "合同附件",
  15870. "type": "string"
  15871. },
  15872. "contractno": {
  15873. "description": "现货合同编号",
  15874. "type": "string"
  15875. },
  15876. "contracttype": {
  15877. "description": "现货合同类型 - 1:采购 -1:销售",
  15878. "type": "integer"
  15879. },
  15880. "creatorid": {
  15881. "description": "申请人",
  15882. "type": "integer"
  15883. },
  15884. "customeraccountid": {
  15885. "description": "客户资金账户ID",
  15886. "type": "integer"
  15887. },
  15888. "customeruserid": {
  15889. "description": "客户ID",
  15890. "type": "integer"
  15891. },
  15892. "details": {
  15893. "description": "明细",
  15894. "type": "array",
  15895. "items": {
  15896. "$ref": "#/definitions/erms3.SoptContractDetail"
  15897. }
  15898. },
  15899. "orimargin": {
  15900. "description": "初始保证金",
  15901. "type": "number"
  15902. },
  15903. "remark": {
  15904. "description": "备注",
  15905. "type": "string"
  15906. },
  15907. "signdate": {
  15908. "description": "签订日期",
  15909. "type": "string"
  15910. }
  15911. }
  15912. },
  15913. "erms3.AddSpotContractApplyRsp": {
  15914. "type": "object",
  15915. "required": [
  15916. "contractno"
  15917. ],
  15918. "properties": {
  15919. "contractno": {
  15920. "description": "现货合同编号",
  15921. "type": "string"
  15922. },
  15923. "spotcontractid": {
  15924. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  15925. "type": "integer"
  15926. }
  15927. }
  15928. },
  15929. "erms3.AddUserInfoApplyReq": {
  15930. "type": "object",
  15931. "required": [
  15932. "userid"
  15933. ],
  15934. "properties": {
  15935. "accountid": {
  15936. "description": "交易系统帐号Id (加密存储)",
  15937. "type": "integer"
  15938. },
  15939. "areacode": {
  15940. "description": "机构代码",
  15941. "type": "string"
  15942. },
  15943. "areaid": {
  15944. "description": "机构Id",
  15945. "type": "integer"
  15946. },
  15947. "attachment1": {
  15948. "description": "附件1",
  15949. "type": "string"
  15950. },
  15951. "attachment2": {
  15952. "description": "附件2",
  15953. "type": "string"
  15954. },
  15955. "attachment3": {
  15956. "description": "附件3",
  15957. "type": "string"
  15958. },
  15959. "attachment4": {
  15960. "description": "附件4",
  15961. "type": "string"
  15962. },
  15963. "attachment5": {
  15964. "description": "附件5",
  15965. "type": "string"
  15966. },
  15967. "auditedby": {
  15968. "description": "审核人",
  15969. "type": "string"
  15970. },
  15971. "auditime": {
  15972. "description": "审核时间",
  15973. "type": "string"
  15974. },
  15975. "auditsrc": {
  15976. "description": "审核来源 - 1:管理端 2:终端",
  15977. "type": "integer"
  15978. },
  15979. "bankaccount": {
  15980. "description": "银行帐号 (加密存储)",
  15981. "type": "string"
  15982. },
  15983. "bankaccountname": {
  15984. "description": "收款人名称",
  15985. "type": "string"
  15986. },
  15987. "bankcardbackphotourl": {
  15988. "description": "银行卡背面照地址",
  15989. "type": "string"
  15990. },
  15991. "bankcardfrontphotourl": {
  15992. "description": "银行卡正面照地址",
  15993. "type": "string"
  15994. },
  15995. "bankid": {
  15996. "description": "银行编码",
  15997. "type": "string"
  15998. },
  15999. "bankname": {
  16000. "description": "银行名称",
  16001. "type": "string"
  16002. },
  16003. "bankpictureurl": {
  16004. "description": "银行卡正面地址",
  16005. "type": "string"
  16006. },
  16007. "biznature": {
  16008. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16009. "type": "integer"
  16010. },
  16011. "bizscope": {
  16012. "description": "企业经营范围(企业)",
  16013. "type": "string"
  16014. },
  16015. "biztype": {
  16016. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  16017. "type": "integer"
  16018. },
  16019. "brokerid": {
  16020. "description": "经纪人ID(加密存储)",
  16021. "type": "string"
  16022. },
  16023. "cardaddress": {
  16024. "description": "证件地址 (加密存储)",
  16025. "type": "string"
  16026. },
  16027. "cardbackphotourl": {
  16028. "description": "背面证件照地址",
  16029. "type": "string"
  16030. },
  16031. "cardfrontphotourl": {
  16032. "description": "正面证件照地址",
  16033. "type": "string"
  16034. },
  16035. "cardnum": {
  16036. "description": "证件号码 (加密存储)",
  16037. "type": "string"
  16038. },
  16039. "cardtype": {
  16040. "description": "证件类型",
  16041. "type": "integer"
  16042. },
  16043. "cityid": {
  16044. "description": "市",
  16045. "type": "integer"
  16046. },
  16047. "company": {
  16048. "description": "公司(个人)",
  16049. "type": "string"
  16050. },
  16051. "contactcardbackphotourl": {
  16052. "description": "联系人证件背面图片地址",
  16053. "type": "string"
  16054. },
  16055. "contactcardfrontphotourl": {
  16056. "description": "联系人证件正面图片地址",
  16057. "type": "string"
  16058. },
  16059. "contactname": {
  16060. "description": "联系人",
  16061. "type": "string"
  16062. },
  16063. "countryid": {
  16064. "description": "国家",
  16065. "type": "integer"
  16066. },
  16067. "createtime": {
  16068. "description": "开户申请时间",
  16069. "type": "string"
  16070. },
  16071. "cusbankid": {
  16072. "description": "签约类型",
  16073. "type": "string"
  16074. },
  16075. "cusbankname": {
  16076. "description": "签约类型名称",
  16077. "type": "string"
  16078. },
  16079. "customername": {
  16080. "description": "客户名称(企业名称)",
  16081. "type": "string"
  16082. },
  16083. "districtid": {
  16084. "description": "地区",
  16085. "type": "integer"
  16086. },
  16087. "email": {
  16088. "description": "Email地址(加密存储)",
  16089. "type": "string"
  16090. },
  16091. "halfbodyphotourl": {
  16092. "description": "半身照地址",
  16093. "type": "string"
  16094. },
  16095. "headurl": {
  16096. "description": "头像地址",
  16097. "type": "string"
  16098. },
  16099. "ipaddress": {
  16100. "description": "IP地址",
  16101. "type": "string"
  16102. },
  16103. "isvalidate": {
  16104. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  16105. "type": "string"
  16106. },
  16107. "legalcardbackphotourl": {
  16108. "description": "法人身份证背面照地址",
  16109. "type": "string"
  16110. },
  16111. "legalcardfrontphotourl": {
  16112. "description": "法人身份证正面照地址",
  16113. "type": "string"
  16114. },
  16115. "legalpersonname": {
  16116. "description": "法人姓名(企业)",
  16117. "type": "string"
  16118. },
  16119. "logincode": {
  16120. "description": "登录帐号 (加密存储)",
  16121. "type": "string"
  16122. },
  16123. "memberareaid": {
  16124. "description": "所属会员ID",
  16125. "type": "integer"
  16126. },
  16127. "mobile2": {
  16128. "description": "手机号码[明文-尚志]",
  16129. "type": "string"
  16130. },
  16131. "mobilephone": {
  16132. "description": "手机号码 (加密存储)",
  16133. "type": "string"
  16134. },
  16135. "modifiedby": {
  16136. "description": "修改人帐号",
  16137. "type": "integer"
  16138. },
  16139. "modifiedtime": {
  16140. "description": "修改时间",
  16141. "type": "string"
  16142. },
  16143. "nickname": {
  16144. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  16145. "type": "string"
  16146. },
  16147. "openmode": {
  16148. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  16149. "type": "integer"
  16150. },
  16151. "otherurl": {
  16152. "description": "其它图片地址[使用分号分隔]",
  16153. "type": "string"
  16154. },
  16155. "postalcode": {
  16156. "description": "邮政编码",
  16157. "type": "string"
  16158. },
  16159. "provinceid": {
  16160. "description": "省",
  16161. "type": "integer"
  16162. },
  16163. "proxystatementurl": {
  16164. "description": "授权委托书",
  16165. "type": "string"
  16166. },
  16167. "qq": {
  16168. "description": "QQ(加密存储",
  16169. "type": "string"
  16170. },
  16171. "referral": {
  16172. "description": "推荐人编码",
  16173. "type": "string"
  16174. },
  16175. "remark": {
  16176. "description": "备注",
  16177. "type": "string"
  16178. },
  16179. "removebeforestatus": {
  16180. "description": "REMOVEBEFORESTATUS",
  16181. "type": "integer"
  16182. },
  16183. "sex": {
  16184. "description": "性别 - 0:女 1:男",
  16185. "type": "integer"
  16186. },
  16187. "signedstatus": {
  16188. "description": "账户一号签签约状态",
  16189. "type": "integer"
  16190. },
  16191. "signpdfurl": {
  16192. "description": "签约pdf文件",
  16193. "type": "string"
  16194. },
  16195. "subbranch": {
  16196. "description": "开户支行",
  16197. "type": "string"
  16198. },
  16199. "taxpayernum": {
  16200. "description": "纳税人识别号",
  16201. "type": "string"
  16202. },
  16203. "telphone": {
  16204. "description": "联系电话(加密存储)",
  16205. "type": "string"
  16206. },
  16207. "userid": {
  16208. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  16209. "type": "integer"
  16210. },
  16211. "userinfotype": {
  16212. "description": "用户信息类型 - 1:个人 2:企业",
  16213. "type": "integer"
  16214. },
  16215. "username": {
  16216. "description": "用户姓名",
  16217. "type": "string"
  16218. },
  16219. "userstate": {
  16220. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16221. "type": "integer"
  16222. },
  16223. "usertype": {
  16224. "description": "用户类型 - 1:投资者 2:机构",
  16225. "type": "integer"
  16226. },
  16227. "videourl": {
  16228. "description": "视频地址",
  16229. "type": "string"
  16230. },
  16231. "wechat": {
  16232. "description": "微信号 (加密存储)",
  16233. "type": "string"
  16234. }
  16235. }
  16236. },
  16237. "erms3.CustomerInfo": {
  16238. "type": "object",
  16239. "required": [
  16240. "userid"
  16241. ],
  16242. "properties": {
  16243. "accountids": {
  16244. "description": "资金账户ID列表",
  16245. "type": "array",
  16246. "items": {
  16247. "type": "integer"
  16248. }
  16249. },
  16250. "customername": {
  16251. "description": "名称(企业名称)",
  16252. "type": "string"
  16253. },
  16254. "mobile": {
  16255. "description": "手机号码",
  16256. "type": "string"
  16257. },
  16258. "userid": {
  16259. "description": "用户ID",
  16260. "type": "integer"
  16261. }
  16262. }
  16263. },
  16264. "erms3.ModifyUserInfoApplyReq": {
  16265. "type": "object",
  16266. "required": [
  16267. "userid"
  16268. ],
  16269. "properties": {
  16270. "accountid": {
  16271. "description": "交易系统帐号Id (加密存储)",
  16272. "type": "integer"
  16273. },
  16274. "areacode": {
  16275. "description": "机构代码",
  16276. "type": "string"
  16277. },
  16278. "areaid": {
  16279. "description": "机构Id",
  16280. "type": "integer"
  16281. },
  16282. "attachment1": {
  16283. "description": "附件1",
  16284. "type": "string"
  16285. },
  16286. "attachment2": {
  16287. "description": "附件2",
  16288. "type": "string"
  16289. },
  16290. "attachment3": {
  16291. "description": "附件3",
  16292. "type": "string"
  16293. },
  16294. "attachment4": {
  16295. "description": "附件4",
  16296. "type": "string"
  16297. },
  16298. "attachment5": {
  16299. "description": "附件5",
  16300. "type": "string"
  16301. },
  16302. "auditedby": {
  16303. "description": "审核人",
  16304. "type": "string"
  16305. },
  16306. "auditime": {
  16307. "description": "审核时间",
  16308. "type": "string"
  16309. },
  16310. "auditsrc": {
  16311. "description": "审核来源 - 1:管理端 2:终端",
  16312. "type": "integer"
  16313. },
  16314. "bankaccount": {
  16315. "description": "银行帐号 (加密存储)",
  16316. "type": "string"
  16317. },
  16318. "bankaccountname": {
  16319. "description": "收款人名称",
  16320. "type": "string"
  16321. },
  16322. "bankcardbackphotourl": {
  16323. "description": "银行卡背面照地址",
  16324. "type": "string"
  16325. },
  16326. "bankcardfrontphotourl": {
  16327. "description": "银行卡正面照地址",
  16328. "type": "string"
  16329. },
  16330. "bankid": {
  16331. "description": "银行编码",
  16332. "type": "string"
  16333. },
  16334. "bankname": {
  16335. "description": "银行名称",
  16336. "type": "string"
  16337. },
  16338. "bankpictureurl": {
  16339. "description": "银行卡正面地址",
  16340. "type": "string"
  16341. },
  16342. "biznature": {
  16343. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16344. "type": "integer"
  16345. },
  16346. "bizscope": {
  16347. "description": "企业经营范围(企业)",
  16348. "type": "string"
  16349. },
  16350. "biztype": {
  16351. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  16352. "type": "integer"
  16353. },
  16354. "brokerid": {
  16355. "description": "经纪人ID(加密存储)",
  16356. "type": "string"
  16357. },
  16358. "cardaddress": {
  16359. "description": "证件地址 (加密存储)",
  16360. "type": "string"
  16361. },
  16362. "cardbackphotourl": {
  16363. "description": "背面证件照地址",
  16364. "type": "string"
  16365. },
  16366. "cardfrontphotourl": {
  16367. "description": "正面证件照地址",
  16368. "type": "string"
  16369. },
  16370. "cardnum": {
  16371. "description": "证件号码 (加密存储)",
  16372. "type": "string"
  16373. },
  16374. "cardtype": {
  16375. "description": "证件类型",
  16376. "type": "integer"
  16377. },
  16378. "cityid": {
  16379. "description": "市",
  16380. "type": "integer"
  16381. },
  16382. "company": {
  16383. "description": "公司(个人)",
  16384. "type": "string"
  16385. },
  16386. "contactcardbackphotourl": {
  16387. "description": "联系人证件背面图片地址",
  16388. "type": "string"
  16389. },
  16390. "contactcardfrontphotourl": {
  16391. "description": "联系人证件正面图片地址",
  16392. "type": "string"
  16393. },
  16394. "contactname": {
  16395. "description": "联系人",
  16396. "type": "string"
  16397. },
  16398. "countryid": {
  16399. "description": "国家",
  16400. "type": "integer"
  16401. },
  16402. "createtime": {
  16403. "description": "开户申请时间",
  16404. "type": "string"
  16405. },
  16406. "cusbankid": {
  16407. "description": "签约类型",
  16408. "type": "string"
  16409. },
  16410. "cusbankname": {
  16411. "description": "签约类型名称",
  16412. "type": "string"
  16413. },
  16414. "customername": {
  16415. "description": "客户名称(企业名称)",
  16416. "type": "string"
  16417. },
  16418. "districtid": {
  16419. "description": "地区",
  16420. "type": "integer"
  16421. },
  16422. "email": {
  16423. "description": "Email地址(加密存储)",
  16424. "type": "string"
  16425. },
  16426. "halfbodyphotourl": {
  16427. "description": "半身照地址",
  16428. "type": "string"
  16429. },
  16430. "headurl": {
  16431. "description": "头像地址",
  16432. "type": "string"
  16433. },
  16434. "ipaddress": {
  16435. "description": "IP地址",
  16436. "type": "string"
  16437. },
  16438. "isvalidate": {
  16439. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  16440. "type": "string"
  16441. },
  16442. "legalcardbackphotourl": {
  16443. "description": "法人身份证背面照地址",
  16444. "type": "string"
  16445. },
  16446. "legalcardfrontphotourl": {
  16447. "description": "法人身份证正面照地址",
  16448. "type": "string"
  16449. },
  16450. "legalpersonname": {
  16451. "description": "法人姓名(企业)",
  16452. "type": "string"
  16453. },
  16454. "logincode": {
  16455. "description": "登录帐号 (加密存储)",
  16456. "type": "string"
  16457. },
  16458. "memberareaid": {
  16459. "description": "所属会员ID",
  16460. "type": "integer"
  16461. },
  16462. "mobile2": {
  16463. "description": "手机号码[明文-尚志]",
  16464. "type": "string"
  16465. },
  16466. "mobilephone": {
  16467. "description": "手机号码 (加密存储)",
  16468. "type": "string"
  16469. },
  16470. "modifiedby": {
  16471. "description": "修改人帐号",
  16472. "type": "integer"
  16473. },
  16474. "modifiedtime": {
  16475. "description": "修改时间",
  16476. "type": "string"
  16477. },
  16478. "nickname": {
  16479. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  16480. "type": "string"
  16481. },
  16482. "openmode": {
  16483. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  16484. "type": "integer"
  16485. },
  16486. "otherurl": {
  16487. "description": "其它图片地址[使用分号分隔]",
  16488. "type": "string"
  16489. },
  16490. "postalcode": {
  16491. "description": "邮政编码",
  16492. "type": "string"
  16493. },
  16494. "provinceid": {
  16495. "description": "省",
  16496. "type": "integer"
  16497. },
  16498. "proxystatementurl": {
  16499. "description": "授权委托书",
  16500. "type": "string"
  16501. },
  16502. "qq": {
  16503. "description": "QQ(加密存储",
  16504. "type": "string"
  16505. },
  16506. "referral": {
  16507. "description": "推荐人编码",
  16508. "type": "string"
  16509. },
  16510. "remark": {
  16511. "description": "备注",
  16512. "type": "string"
  16513. },
  16514. "removebeforestatus": {
  16515. "description": "REMOVEBEFORESTATUS",
  16516. "type": "integer"
  16517. },
  16518. "sex": {
  16519. "description": "性别 - 0:女 1:男",
  16520. "type": "integer"
  16521. },
  16522. "signedstatus": {
  16523. "description": "账户一号签签约状态",
  16524. "type": "integer"
  16525. },
  16526. "signpdfurl": {
  16527. "description": "签约pdf文件",
  16528. "type": "string"
  16529. },
  16530. "subbranch": {
  16531. "description": "开户支行",
  16532. "type": "string"
  16533. },
  16534. "taxpayernum": {
  16535. "description": "纳税人识别号",
  16536. "type": "string"
  16537. },
  16538. "telphone": {
  16539. "description": "联系电话(加密存储)",
  16540. "type": "string"
  16541. },
  16542. "userid": {
  16543. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  16544. "type": "integer"
  16545. },
  16546. "userinfotype": {
  16547. "description": "用户信息类型 - 1:个人 2:企业",
  16548. "type": "integer"
  16549. },
  16550. "username": {
  16551. "description": "用户姓名",
  16552. "type": "string"
  16553. },
  16554. "userstate": {
  16555. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16556. "type": "integer"
  16557. },
  16558. "usertype": {
  16559. "description": "用户类型 - 1:投资者 2:机构",
  16560. "type": "integer"
  16561. },
  16562. "videourl": {
  16563. "description": "视频地址",
  16564. "type": "string"
  16565. },
  16566. "wechat": {
  16567. "description": "微信号 (加密存储)",
  16568. "type": "string"
  16569. }
  16570. }
  16571. },
  16572. "erms3.QryAuditContractRsp": {
  16573. "type": "object",
  16574. "required": [
  16575. "matchcustomername",
  16576. "spotcontractid"
  16577. ],
  16578. "properties": {
  16579. "accountid": {
  16580. "description": "交易员ID",
  16581. "type": "string"
  16582. },
  16583. "applystatus": {
  16584. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16585. "type": "integer"
  16586. },
  16587. "curdeliveryqty": {
  16588. "description": "未交收量",
  16589. "type": "integer"
  16590. },
  16591. "customername": {
  16592. "description": "采购方ID",
  16593. "type": "string"
  16594. },
  16595. "deliverygoodsid": {
  16596. "description": "品种ID",
  16597. "type": "string"
  16598. },
  16599. "deliveryqty": {
  16600. "description": "交收量",
  16601. "type": "integer"
  16602. },
  16603. "enumdicname": {
  16604. "description": "单位名称",
  16605. "type": "string"
  16606. },
  16607. "matchaccountid": {
  16608. "description": "业务员ID",
  16609. "type": "string"
  16610. },
  16611. "matchcustomername": {
  16612. "description": "销售方ID",
  16613. "type": "string"
  16614. },
  16615. "pricedqty": {
  16616. "description": "定价量",
  16617. "type": "number"
  16618. },
  16619. "signdate": {
  16620. "description": "签订日期",
  16621. "type": "string"
  16622. },
  16623. "spotcontractid": {
  16624. "description": "合同ID",
  16625. "type": "string"
  16626. },
  16627. "totaldqty": {
  16628. "description": "合同量",
  16629. "type": "number"
  16630. },
  16631. "unpricedqty": {
  16632. "description": "未定价量",
  16633. "type": "number"
  16634. },
  16635. "wrstandardname": {
  16636. "description": "商品名称",
  16637. "type": "string"
  16638. }
  16639. }
  16640. },
  16641. "erms3.QryPendingBizRsp": {
  16642. "$ref": "#/definitions/models.PendingAuditBizModel"
  16643. },
  16644. "erms3.QueryBusinessInfoRsp": {
  16645. "type": "object",
  16646. "properties": {
  16647. "businessid": {
  16648. "description": "业务ID.",
  16649. "type": "integer"
  16650. },
  16651. "buyamount": {
  16652. "description": "采购额.",
  16653. "type": "number"
  16654. },
  16655. "buyqty": {
  16656. "description": "采购量.",
  16657. "type": "string"
  16658. },
  16659. "futurepl": {
  16660. "description": "期货盈亏.",
  16661. "type": "number"
  16662. },
  16663. "futureqty": {
  16664. "description": "期货敞口.",
  16665. "type": "string"
  16666. },
  16667. "goodsid": {
  16668. "description": "商品名称/商品代码.",
  16669. "type": "string"
  16670. },
  16671. "hedgingqty": {
  16672. "description": "套保量.",
  16673. "type": "string"
  16674. },
  16675. "sellamount": {
  16676. "description": "销售额.",
  16677. "type": "number"
  16678. },
  16679. "sellqty": {
  16680. "description": "销售量.",
  16681. "type": "string"
  16682. },
  16683. "spotmarketvalue": {
  16684. "description": "现货市值.",
  16685. "type": "number"
  16686. },
  16687. "spotpl": {
  16688. "description": "浮动权益.",
  16689. "type": "number"
  16690. },
  16691. "spotqty": {
  16692. "description": "现货量.",
  16693. "type": "string"
  16694. },
  16695. "statu": {
  16696. "description": "状态,0-未结束 1-已结束.",
  16697. "type": "integer"
  16698. },
  16699. "totalpl": {
  16700. "description": "总盈亏.",
  16701. "type": "number"
  16702. },
  16703. "totalqty": {
  16704. "description": "总敞口.",
  16705. "type": "string"
  16706. },
  16707. "type": {
  16708. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  16709. "type": "integer"
  16710. }
  16711. }
  16712. },
  16713. "erms3.QuerySpotContractAppleFormRsp": {
  16714. "type": "object",
  16715. "properties": {
  16716. "goodses": {
  16717. "description": "合约列表",
  16718. "type": "array",
  16719. "items": {
  16720. "$ref": "#/definitions/models.GoodsIDAndName"
  16721. }
  16722. },
  16723. "oppositeusers": {
  16724. "description": "对方账号列表",
  16725. "type": "array",
  16726. "items": {
  16727. "$ref": "#/definitions/erms3.CustomerInfo"
  16728. }
  16729. },
  16730. "ouruser": {
  16731. "description": "我方账号",
  16732. "type": "object",
  16733. "$ref": "#/definitions/erms3.CustomerInfo"
  16734. },
  16735. "warehouseinfos": {
  16736. "description": "仓库信息列表",
  16737. "type": "array",
  16738. "items": {
  16739. "$ref": "#/definitions/models.Warehouseinfo"
  16740. }
  16741. },
  16742. "wrstandards": {
  16743. "description": "仓单标准列表",
  16744. "type": "array",
  16745. "items": {
  16746. "$ref": "#/definitions/models.WRStandardInfo"
  16747. }
  16748. }
  16749. }
  16750. },
  16751. "erms3.QuerySpotContractInfoRsp": {
  16752. "type": "object",
  16753. "properties": {
  16754. "accountid": {
  16755. "description": "表示交易员ID.",
  16756. "type": "integer"
  16757. },
  16758. "curdeliveryqty": {
  16759. "description": "表示未交收量.",
  16760. "type": "number"
  16761. },
  16762. "customername": {
  16763. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  16764. "type": "string"
  16765. },
  16766. "deliverygoodsid": {
  16767. "description": "表示品种ID.",
  16768. "type": "string"
  16769. },
  16770. "deliveryqty": {
  16771. "description": "表示交收量.",
  16772. "type": "number"
  16773. },
  16774. "matchaccountid": {
  16775. "description": "表示业务员ID.",
  16776. "type": "integer"
  16777. },
  16778. "matchcustomername": {
  16779. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  16780. "type": "string"
  16781. },
  16782. "priceqty": {
  16783. "description": "表示定价量.",
  16784. "type": "number"
  16785. },
  16786. "relatedbizid": {
  16787. "description": "表示业务ID.",
  16788. "type": "string"
  16789. },
  16790. "signdate": {
  16791. "description": "表示签订日期.",
  16792. "type": "string"
  16793. },
  16794. "spotcontractid": {
  16795. "description": "合同ID",
  16796. "type": "string"
  16797. },
  16798. "status": {
  16799. "description": "表示状态,0-履约中 1-已完成.",
  16800. "type": "integer"
  16801. },
  16802. "totalqty": {
  16803. "description": "表示合同量.",
  16804. "type": "number"
  16805. },
  16806. "unpricedqty": {
  16807. "description": "表示未定价量.",
  16808. "type": "number"
  16809. },
  16810. "wrstandardname": {
  16811. "description": "表示商品ID.",
  16812. "type": "string"
  16813. }
  16814. }
  16815. },
  16816. "erms3.QueryUserInfoAppliesRsp": {
  16817. "type": "object",
  16818. "required": [
  16819. "userid"
  16820. ],
  16821. "properties": {
  16822. "biznature": {
  16823. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16824. "type": "integer"
  16825. },
  16826. "contactname": {
  16827. "description": "联系人",
  16828. "type": "string"
  16829. },
  16830. "createtime": {
  16831. "description": "开户申请时间",
  16832. "type": "string"
  16833. },
  16834. "userid": {
  16835. "description": "用户ID(自增ID)",
  16836. "type": "integer"
  16837. },
  16838. "userinfotype": {
  16839. "description": "用户信息类型 - 1:个人 2:企业",
  16840. "type": "integer"
  16841. },
  16842. "username": {
  16843. "description": "用户姓名",
  16844. "type": "string"
  16845. },
  16846. "userstate": {
  16847. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16848. "type": "integer"
  16849. }
  16850. }
  16851. },
  16852. "erms3.QueryUserInfosRsp": {
  16853. "type": "object",
  16854. "required": [
  16855. "userid"
  16856. ],
  16857. "properties": {
  16858. "biznature": {
  16859. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16860. "type": "integer"
  16861. },
  16862. "contactname": {
  16863. "description": "联系人",
  16864. "type": "string"
  16865. },
  16866. "customername": {
  16867. "description": "客户名称(企业名称)",
  16868. "type": "string"
  16869. },
  16870. "userid": {
  16871. "description": "用户ID",
  16872. "type": "integer"
  16873. },
  16874. "userinfotype": {
  16875. "description": "用户信息类型 - 1:个人 2:企业",
  16876. "type": "integer"
  16877. },
  16878. "userstatus": {
  16879. "description": "用户状态 - 1:正常 2:注销",
  16880. "type": "integer"
  16881. }
  16882. }
  16883. },
  16884. "erms3.SoptContractDetail": {
  16885. "type": "object",
  16886. "required": [
  16887. "deliverygoodsid",
  16888. "producttype",
  16889. "unitname",
  16890. "warehouseid",
  16891. "wrstandardid",
  16892. "wrstandardname"
  16893. ],
  16894. "properties": {
  16895. "deliverygoodsdesc": {
  16896. "description": "现货品种说明",
  16897. "type": "string"
  16898. },
  16899. "deliverygoodsid": {
  16900. "description": "现货品种ID",
  16901. "type": "integer"
  16902. },
  16903. "deliverygoodsname": {
  16904. "description": "现货品种名称",
  16905. "type": "string"
  16906. },
  16907. "pointdesc": {
  16908. "description": "点价描述",
  16909. "type": "string"
  16910. },
  16911. "producttype": {
  16912. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  16913. "type": "integer"
  16914. },
  16915. "producttypename": {
  16916. "description": "产品类型名称",
  16917. "type": "string"
  16918. },
  16919. "spotPointOrderVoList": {
  16920. "description": "点价列表",
  16921. "type": "array",
  16922. "items": {
  16923. "$ref": "#/definitions/erms3.SpotPointOrder"
  16924. }
  16925. },
  16926. "spotPriceOrderList": {
  16927. "description": "定价列表",
  16928. "type": "array",
  16929. "items": {
  16930. "$ref": "#/definitions/erms3.SpotPriceOrder"
  16931. }
  16932. },
  16933. "unitname": {
  16934. "description": "单位名称",
  16935. "type": "string"
  16936. },
  16937. "warehouseid": {
  16938. "description": "仓库ID",
  16939. "type": "integer"
  16940. },
  16941. "warehousename": {
  16942. "description": "仓库名称",
  16943. "type": "string"
  16944. },
  16945. "wrstandardid": {
  16946. "description": "交易标的ID",
  16947. "type": "integer"
  16948. },
  16949. "wrstandardname": {
  16950. "description": "交易标的名称",
  16951. "type": "string"
  16952. }
  16953. }
  16954. },
  16955. "erms3.SpotPointOrder": {
  16956. "type": "object",
  16957. "required": [
  16958. "basic",
  16959. "goodsid",
  16960. "qty"
  16961. ],
  16962. "properties": {
  16963. "basic": {
  16964. "description": "基差",
  16965. "type": "number"
  16966. },
  16967. "deliveryenddate": {
  16968. "description": "交收结束日期",
  16969. "type": "string"
  16970. },
  16971. "deliverystartdate": {
  16972. "description": "交收开始日期",
  16973. "type": "string"
  16974. },
  16975. "enddate": {
  16976. "description": "点价结束日期",
  16977. "type": "string"
  16978. },
  16979. "goodsid": {
  16980. "description": "商品ID",
  16981. "type": "integer"
  16982. },
  16983. "goodsname": {
  16984. "description": "商品名称",
  16985. "type": "string"
  16986. },
  16987. "qty": {
  16988. "description": "数量",
  16989. "type": "number"
  16990. },
  16991. "startdate": {
  16992. "description": "点价开始日期",
  16993. "type": "string"
  16994. }
  16995. }
  16996. },
  16997. "erms3.SpotPriceOrder": {
  16998. "type": "object",
  16999. "required": [
  17000. "amount",
  17001. "price",
  17002. "qty"
  17003. ],
  17004. "properties": {
  17005. "amount": {
  17006. "description": "金额",
  17007. "type": "number"
  17008. },
  17009. "deliveryenddate": {
  17010. "description": "交收结束日期",
  17011. "type": "string"
  17012. },
  17013. "deliverystartdate": {
  17014. "description": "交收开始日期",
  17015. "type": "string"
  17016. },
  17017. "price": {
  17018. "description": "价格",
  17019. "type": "number"
  17020. },
  17021. "qty": {
  17022. "description": "数量",
  17023. "type": "number"
  17024. }
  17025. }
  17026. },
  17027. "hsby.GetHsbyMyCountRsp": {
  17028. "type": "object",
  17029. "properties": {
  17030. "myCouponCount": {
  17031. "description": "我的优惠卷数量",
  17032. "type": "integer"
  17033. },
  17034. "myOrderDetailListingCount": {
  17035. "description": "我的订单求购中数量",
  17036. "type": "integer"
  17037. },
  17038. "myOrderDetailPreCount": {
  17039. "description": "我的订单抢购中数量",
  17040. "type": "integer"
  17041. },
  17042. "myPackageUnReceiveCount": {
  17043. "description": "我的包裹待收货数量",
  17044. "type": "integer"
  17045. },
  17046. "myPackageUnSendCount": {
  17047. "description": "我的包裹待发货数量",
  17048. "type": "integer"
  17049. },
  17050. "myPayOrderCount": {
  17051. "description": "我的订单待付款数量",
  17052. "type": "integer"
  17053. }
  17054. }
  17055. },
  17056. "hsby.QueryProvincesAndCitiesRsp": {
  17057. "type": "object",
  17058. "properties": {
  17059. "cities": {
  17060. "description": "市",
  17061. "type": "array",
  17062. "items": {
  17063. "$ref": "#/definitions/models.Division"
  17064. }
  17065. },
  17066. "province": {
  17067. "description": "省",
  17068. "type": "object",
  17069. "$ref": "#/definitions/models.Division"
  17070. }
  17071. }
  17072. },
  17073. "models.AreaSpotModel": {
  17074. "type": "object",
  17075. "properties": {
  17076. "areauserid": {
  17077. "description": "所属机构",
  17078. "type": "integer"
  17079. },
  17080. "decreaseqty": {
  17081. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17082. "type": "number"
  17083. },
  17084. "increaseqty": {
  17085. "description": "增加数量=销售计划数量+采购已定价数量",
  17086. "type": "number"
  17087. },
  17088. "oritoalspotqty": {
  17089. "description": "昨日数量",
  17090. "type": "number"
  17091. },
  17092. "totalspotqty": {
  17093. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17094. "type": "number"
  17095. },
  17096. "updatetime": {
  17097. "description": "更新时间",
  17098. "type": "string"
  17099. },
  17100. "wrstandardcode": {
  17101. "description": "现货品种代码",
  17102. "type": "string"
  17103. },
  17104. "wrstandardid": {
  17105. "description": "现货商品ID",
  17106. "type": "integer"
  17107. },
  17108. "wrstandardname": {
  17109. "description": "现货品种",
  17110. "type": "string"
  17111. }
  17112. }
  17113. },
  17114. "models.Arearole": {
  17115. "type": "object",
  17116. "required": [
  17117. "roletype",
  17118. "userid"
  17119. ],
  17120. "properties": {
  17121. "createtime": {
  17122. "description": "创建时间",
  17123. "type": "string"
  17124. },
  17125. "creatorid": {
  17126. "description": "创建人ID",
  17127. "type": "integer"
  17128. },
  17129. "fromuserid": {
  17130. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  17131. "type": "integer"
  17132. },
  17133. "isreturnscore": {
  17134. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  17135. "type": "integer"
  17136. },
  17137. "modifierid": {
  17138. "description": "修改人ID",
  17139. "type": "integer"
  17140. },
  17141. "modifytime": {
  17142. "description": "修改时间",
  17143. "type": "string"
  17144. },
  17145. "orgtype": {
  17146. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  17147. "type": "integer"
  17148. },
  17149. "outuserid": {
  17150. "description": "外部账户[场外期权做市商]",
  17151. "type": "string"
  17152. },
  17153. "parentuserid": {
  17154. "description": "上级组织机构(组织机构)",
  17155. "type": "integer"
  17156. },
  17157. "roletype": {
  17158. "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:门店",
  17159. "type": "integer"
  17160. },
  17161. "rootuserid": {
  17162. "description": "顶级组织机构用户ID(组织机构)",
  17163. "type": "integer"
  17164. },
  17165. "shoppassword": {
  17166. "description": "商城店铺登陆密码(商城店铺角色使用)",
  17167. "type": "string"
  17168. },
  17169. "sublevelpath": {
  17170. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  17171. "type": "string"
  17172. },
  17173. "suborgtype": {
  17174. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  17175. "type": "integer"
  17176. },
  17177. "tradeaccountid": {
  17178. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  17179. "type": "integer"
  17180. },
  17181. "transurl": {
  17182. "description": "物流地址(物流机构)",
  17183. "type": "string"
  17184. },
  17185. "userid": {
  17186. "description": "机构用户ID其他做市关系,都设置为 1",
  17187. "type": "integer"
  17188. }
  17189. }
  17190. },
  17191. "models.Clientfixedadconfig": {
  17192. "type": "object",
  17193. "required": [
  17194. "adsort",
  17195. "adtype"
  17196. ],
  17197. "properties": {
  17198. "adsort": {
  17199. "description": "排序",
  17200. "type": "integer"
  17201. },
  17202. "adtype": {
  17203. "description": "广告位类型 - 1:新品抢购(HSBY)",
  17204. "type": "integer"
  17205. },
  17206. "areauserid": {
  17207. "description": "所属机构ID",
  17208. "type": "integer"
  17209. },
  17210. "createdate": {
  17211. "description": "创建时间",
  17212. "type": "string"
  17213. },
  17214. "creatorid": {
  17215. "description": "创建人",
  17216. "type": "integer"
  17217. },
  17218. "imagepath": {
  17219. "description": "图片",
  17220. "type": "string"
  17221. },
  17222. "isshow": {
  17223. "description": "是否展示 - 0:不展示 1:展示",
  17224. "type": "integer"
  17225. },
  17226. "modifierid": {
  17227. "description": "操作人",
  17228. "type": "integer"
  17229. },
  17230. "recsize": {
  17231. "description": "推荐尺寸",
  17232. "type": "string"
  17233. },
  17234. "title": {
  17235. "description": "标题",
  17236. "type": "string"
  17237. },
  17238. "updatedate": {
  17239. "description": "更新时间",
  17240. "type": "string"
  17241. },
  17242. "urlcontent": {
  17243. "description": "链接(地址或商品ID)",
  17244. "type": "string"
  17245. },
  17246. "urltype": {
  17247. "description": "链接类型 - 1:直接地址 2:商品ID",
  17248. "type": "integer"
  17249. }
  17250. }
  17251. },
  17252. "models.Division": {
  17253. "type": "object",
  17254. "required": [
  17255. "autoid",
  17256. "divisioncode"
  17257. ],
  17258. "properties": {
  17259. "autoid": {
  17260. "description": "自增ID",
  17261. "type": "integer"
  17262. },
  17263. "divisioncode": {
  17264. "description": "行政代码",
  17265. "type": "string"
  17266. },
  17267. "divisionlevel": {
  17268. "description": "行政级别",
  17269. "type": "string"
  17270. },
  17271. "divisionname": {
  17272. "description": "行政名称",
  17273. "type": "string"
  17274. },
  17275. "modifierid": {
  17276. "description": "修改人",
  17277. "type": "integer"
  17278. },
  17279. "modifytime": {
  17280. "description": "修改时间",
  17281. "type": "string"
  17282. },
  17283. "parentcode": {
  17284. "description": "上级行政代码",
  17285. "type": "string"
  17286. },
  17287. "pathname": {
  17288. "description": "路径名称",
  17289. "type": "string"
  17290. },
  17291. "postcode": {
  17292. "description": "邮政编码",
  17293. "type": "string"
  17294. },
  17295. "separablename": {
  17296. "description": "可拆分的全称",
  17297. "type": "string"
  17298. },
  17299. "shortcode": {
  17300. "description": "地区简码",
  17301. "type": "string"
  17302. }
  17303. }
  17304. },
  17305. "models.Enumdicitem": {
  17306. "type": "object",
  17307. "required": [
  17308. "autoid",
  17309. "enumdiccode",
  17310. "enumdicid",
  17311. "enumitemname"
  17312. ],
  17313. "properties": {
  17314. "autoid": {
  17315. "description": "自增ID",
  17316. "type": "integer"
  17317. },
  17318. "bankmappedvalue": {
  17319. "description": "银行服务对应值",
  17320. "type": "string"
  17321. },
  17322. "enumdiccode": {
  17323. "description": "所属枚举代码",
  17324. "type": "string"
  17325. },
  17326. "enumdicid": {
  17327. "description": "所属枚举ID",
  17328. "type": "integer"
  17329. },
  17330. "enumdicname": {
  17331. "description": "枚举项名称",
  17332. "type": "string"
  17333. },
  17334. "enumitemname": {
  17335. "description": "枚举项值",
  17336. "type": "integer"
  17337. },
  17338. "enumitemstatus": {
  17339. "description": "枚举项状态 - 1.启用 2.不启用",
  17340. "type": "integer"
  17341. },
  17342. "enumitemvalue": {
  17343. "description": "通用值 - [币种通用简写]",
  17344. "type": "string"
  17345. },
  17346. "param1": {
  17347. "description": "参数1[币种:币种小数位]",
  17348. "type": "string"
  17349. },
  17350. "param2": {
  17351. "description": "参数1[币种:币种显示单位]",
  17352. "type": "string"
  17353. },
  17354. "remark": {
  17355. "description": "备注",
  17356. "type": "string"
  17357. }
  17358. }
  17359. },
  17360. "models.Ermcp3AreaSpot": {
  17361. "type": "object",
  17362. "properties": {
  17363. "areauserid": {
  17364. "description": "所属机构",
  17365. "type": "integer"
  17366. },
  17367. "decreaseqty": {
  17368. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17369. "type": "number"
  17370. },
  17371. "deliverygoodscode": {
  17372. "description": "现货品种代码",
  17373. "type": "string"
  17374. },
  17375. "deliverygoodsid": {
  17376. "description": "现货品种id",
  17377. "type": "integer"
  17378. },
  17379. "deliverygoodsname": {
  17380. "description": "现货品种名称",
  17381. "type": "string"
  17382. },
  17383. "enumdicname": {
  17384. "description": "单位名称",
  17385. "type": "string"
  17386. },
  17387. "goodsunitid": {
  17388. "description": "现货品种单位id",
  17389. "type": "integer"
  17390. },
  17391. "increaseqty": {
  17392. "description": "增加数量=销售计划数量+采购已定价数量",
  17393. "type": "number"
  17394. },
  17395. "oritoalspotqty": {
  17396. "description": "昨日数量",
  17397. "type": "number"
  17398. },
  17399. "totalspotqty": {
  17400. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17401. "type": "number"
  17402. },
  17403. "updatetime": {
  17404. "description": "更新时间",
  17405. "type": "string"
  17406. }
  17407. }
  17408. },
  17409. "models.Ermcp3AreaSpotDetail": {
  17410. "type": "object",
  17411. "properties": {
  17412. "contracttype": {
  17413. "description": "合同类型 1-采购 -1-销售",
  17414. "type": "integer"
  17415. },
  17416. "createtime": {
  17417. "description": "创建时间",
  17418. "type": "string"
  17419. },
  17420. "deliverygoodscode": {
  17421. "description": "现货品种代码",
  17422. "type": "string"
  17423. },
  17424. "deliverygoodsid": {
  17425. "description": "现货品种id",
  17426. "type": "integer"
  17427. },
  17428. "deliverygoodsname": {
  17429. "description": "现货品种名称",
  17430. "type": "string"
  17431. },
  17432. "enumdicname": {
  17433. "description": "现货商品单位名称",
  17434. "type": "string"
  17435. },
  17436. "logtype": {
  17437. "description": "记录类型 1-套保 2-现货合同",
  17438. "type": "integer"
  17439. },
  17440. "qty": {
  17441. "description": "数量",
  17442. "type": "number"
  17443. },
  17444. "recordname": {
  17445. "description": "类型名称",
  17446. "type": "string"
  17447. },
  17448. "relatedid": {
  17449. "description": "套保计划ID/现货合同ID",
  17450. "type": "string"
  17451. },
  17452. "relatedno": {
  17453. "description": "编号",
  17454. "type": "string"
  17455. },
  17456. "strtime": {
  17457. "description": "时间",
  17458. "type": "string"
  17459. }
  17460. }
  17461. },
  17462. "models.Ermcp3AreaSpotPLReport": {
  17463. "type": "object",
  17464. "properties": {
  17465. "accountid": {
  17466. "description": "期货账户ID (作废, 默认为0)",
  17467. "type": "integer"
  17468. },
  17469. "accountname": {
  17470. "description": "机构名称",
  17471. "type": "string"
  17472. },
  17473. "actualpl": {
  17474. "description": "现货损益",
  17475. "type": "number"
  17476. },
  17477. "areauserid": {
  17478. "description": "所属机构\\交易用户ID",
  17479. "type": "integer"
  17480. },
  17481. "begindate": {
  17482. "description": "开始交易日",
  17483. "type": "string"
  17484. },
  17485. "biztype": {
  17486. "description": "业务类型 - 1:套保 2:套利",
  17487. "type": "integer"
  17488. },
  17489. "brandname": {
  17490. "description": "品牌名称",
  17491. "type": "string"
  17492. },
  17493. "curamount": {
  17494. "description": "期末额",
  17495. "type": "number"
  17496. },
  17497. "curaverageprice": {
  17498. "description": "期末均价",
  17499. "type": "number"
  17500. },
  17501. "curbuyamount": {
  17502. "description": "期末采购总额",
  17503. "type": "number"
  17504. },
  17505. "curbuyqty": {
  17506. "description": "期末采购总量",
  17507. "type": "number"
  17508. },
  17509. "curmarketvalue": {
  17510. "description": "参考市值(期末市值)",
  17511. "type": "number"
  17512. },
  17513. "curqty": {
  17514. "description": "期末量",
  17515. "type": "number"
  17516. },
  17517. "currencyid": {
  17518. "description": "结算币种ID【原值】",
  17519. "type": "integer"
  17520. },
  17521. "currencyname": {
  17522. "description": "币种名称",
  17523. "type": "string"
  17524. },
  17525. "cursellamount": {
  17526. "description": "期末销售总额",
  17527. "type": "number"
  17528. },
  17529. "cursellqty": {
  17530. "description": "期末销售总量",
  17531. "type": "number"
  17532. },
  17533. "curspotprice": {
  17534. "description": "参考市价(最新价)",
  17535. "type": "number"
  17536. },
  17537. "cycletime": {
  17538. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17539. "type": "string"
  17540. },
  17541. "cycletype": {
  17542. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17543. "type": "integer"
  17544. },
  17545. "deliverygoodscode": {
  17546. "description": "现货商品代码",
  17547. "type": "string"
  17548. },
  17549. "deliverygoodsid": {
  17550. "description": "现货品种ID",
  17551. "type": "integer"
  17552. },
  17553. "deliverygoodsname": {
  17554. "description": "现货商品名称",
  17555. "type": "string"
  17556. },
  17557. "enddate": {
  17558. "description": "结束交易日",
  17559. "type": "string"
  17560. },
  17561. "enumdicname": {
  17562. "description": "现货商品单位名称",
  17563. "type": "string"
  17564. },
  17565. "floatpl": {
  17566. "description": "浮动损益",
  17567. "type": "number"
  17568. },
  17569. "goodsunitid": {
  17570. "description": "现货商品单位id",
  17571. "type": "integer"
  17572. },
  17573. "oriamount": {
  17574. "description": "期初额",
  17575. "type": "number"
  17576. },
  17577. "oriaverageprice": {
  17578. "description": "期初均价",
  17579. "type": "number"
  17580. },
  17581. "oribuyamount": {
  17582. "description": "期初采购总额",
  17583. "type": "number"
  17584. },
  17585. "oribuyqty": {
  17586. "description": "期初采购总量",
  17587. "type": "number"
  17588. },
  17589. "oriqty": {
  17590. "description": "期初量",
  17591. "type": "number"
  17592. },
  17593. "orisellamount": {
  17594. "description": "期初销售总额",
  17595. "type": "number"
  17596. },
  17597. "orisellqty": {
  17598. "description": "期初销售总量",
  17599. "type": "number"
  17600. },
  17601. "reckondate": {
  17602. "description": "日照时期(yyyyMMdd)",
  17603. "type": "string"
  17604. },
  17605. "spotgoodsbrandid": {
  17606. "description": "现货品牌ID",
  17607. "type": "integer"
  17608. },
  17609. "todaybuyamount": {
  17610. "description": "今日采购额(今采购额)",
  17611. "type": "number"
  17612. },
  17613. "todaybuyaverageprice": {
  17614. "description": "今日采购均价",
  17615. "type": "number"
  17616. },
  17617. "todaybuyqty": {
  17618. "description": "今日采购量(今采购量)",
  17619. "type": "number"
  17620. },
  17621. "todayinqty": {
  17622. "description": "今日入库量(今入库量)",
  17623. "type": "number"
  17624. },
  17625. "todayoutqty": {
  17626. "description": "今日出库量(今出库量)",
  17627. "type": "number"
  17628. },
  17629. "todaysellamount": {
  17630. "description": "今日销售额(今销售额)",
  17631. "type": "number"
  17632. },
  17633. "todaysellaverageprice": {
  17634. "description": "今日销售均价",
  17635. "type": "number"
  17636. },
  17637. "todaysellqty": {
  17638. "description": "今日销售量(今销售量)",
  17639. "type": "number"
  17640. },
  17641. "unitid": {
  17642. "description": "品类单位id",
  17643. "type": "integer"
  17644. },
  17645. "unitidname": {
  17646. "description": "品类单位名称",
  17647. "type": "string"
  17648. },
  17649. "updatetime": {
  17650. "description": "更新时间",
  17651. "type": "string"
  17652. },
  17653. "wrfactortypeid": {
  17654. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17655. "type": "integer"
  17656. },
  17657. "wrstandardcode": {
  17658. "description": "品类代码",
  17659. "type": "string"
  17660. },
  17661. "wrstandardid": {
  17662. "description": "现货品类ID",
  17663. "type": "integer"
  17664. },
  17665. "wrstandardname": {
  17666. "description": "品类名称",
  17667. "type": "string"
  17668. }
  17669. }
  17670. },
  17671. "models.Ermcp3AreaStock": {
  17672. "type": "object",
  17673. "required": [
  17674. "userid"
  17675. ],
  17676. "properties": {
  17677. "brandname": {
  17678. "description": "品牌名称",
  17679. "type": "string"
  17680. },
  17681. "curstock": {
  17682. "description": "期末库存量(今日量)",
  17683. "type": "number"
  17684. },
  17685. "deliverygoodscode": {
  17686. "description": "现货品种代码",
  17687. "type": "string"
  17688. },
  17689. "deliverygoodsid": {
  17690. "description": "现货品种id",
  17691. "type": "integer"
  17692. },
  17693. "deliverygoodsname": {
  17694. "description": "现货品种名称",
  17695. "type": "string"
  17696. },
  17697. "enumdicname": {
  17698. "description": "单位名称",
  17699. "type": "string"
  17700. },
  17701. "goodsunitid": {
  17702. "description": "现货商品单位id",
  17703. "type": "integer"
  17704. },
  17705. "oristock": {
  17706. "description": "期初库存量(昨日量)",
  17707. "type": "number"
  17708. },
  17709. "spotgoodsbrandid": {
  17710. "description": "现货品牌ID",
  17711. "type": "integer"
  17712. },
  17713. "todaybuyinqty": {
  17714. "description": "今日采购入库量",
  17715. "type": "number"
  17716. },
  17717. "todayproduceinqty": {
  17718. "description": "今日生产入库量",
  17719. "type": "number"
  17720. },
  17721. "todayproduceoutqty": {
  17722. "description": "今日生产出库量",
  17723. "type": "number"
  17724. },
  17725. "todayselloutqty": {
  17726. "description": "今日销售出库量",
  17727. "type": "number"
  17728. },
  17729. "unitid": {
  17730. "description": "单位id",
  17731. "type": "integer"
  17732. },
  17733. "updatetime": {
  17734. "description": "更新时间",
  17735. "type": "string"
  17736. },
  17737. "userid": {
  17738. "description": "机构ID",
  17739. "type": "integer"
  17740. },
  17741. "username": {
  17742. "description": "机构名称",
  17743. "type": "string"
  17744. },
  17745. "warehousecode": {
  17746. "description": "仓库代码",
  17747. "type": "string"
  17748. },
  17749. "warehouseinfoid": {
  17750. "description": "仓库ID",
  17751. "type": "string"
  17752. },
  17753. "warehousename": {
  17754. "description": "仓库名称",
  17755. "type": "string"
  17756. },
  17757. "warehousetype": {
  17758. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17759. "type": "integer"
  17760. },
  17761. "wrstandardcode": {
  17762. "description": "品类代码",
  17763. "type": "string"
  17764. },
  17765. "wrstandardid": {
  17766. "description": "品类ID",
  17767. "type": "string"
  17768. },
  17769. "wrstandardname": {
  17770. "description": "品类名称",
  17771. "type": "string"
  17772. }
  17773. }
  17774. },
  17775. "models.Ermcp3AreaStockApply": {
  17776. "type": "object",
  17777. "properties": {
  17778. "applyid": {
  17779. "description": "申请人",
  17780. "type": "integer"
  17781. },
  17782. "applyname": {
  17783. "description": "申请人名称",
  17784. "type": "string"
  17785. },
  17786. "applyremark": {
  17787. "description": "申请备注",
  17788. "type": "string"
  17789. },
  17790. "applysrc": {
  17791. "description": "申请来源 - 1:管理端 2:终端",
  17792. "type": "integer"
  17793. },
  17794. "applystatus": {
  17795. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17796. "type": "integer"
  17797. },
  17798. "applytime": {
  17799. "description": "申请时间",
  17800. "type": "string"
  17801. },
  17802. "auditid": {
  17803. "description": "审核人",
  17804. "type": "integer"
  17805. },
  17806. "auditname": {
  17807. "description": "审核人名称",
  17808. "type": "string"
  17809. },
  17810. "auditremark": {
  17811. "description": "审核备注",
  17812. "type": "string"
  17813. },
  17814. "auditsrc": {
  17815. "description": "审核来源 - 1:管理端 2:终端",
  17816. "type": "integer"
  17817. },
  17818. "audittime": {
  17819. "description": "审核时间",
  17820. "type": "string"
  17821. },
  17822. "audittradedate": {
  17823. "description": "审核交易日(yyyyMMdd)",
  17824. "type": "string"
  17825. },
  17826. "brandname": {
  17827. "description": "品牌名称",
  17828. "type": "string"
  17829. },
  17830. "buynickname": {
  17831. "description": "采购方昵称",
  17832. "type": "string"
  17833. },
  17834. "buyuserid": {
  17835. "description": "采购方userid",
  17836. "type": "integer"
  17837. },
  17838. "buyusername": {
  17839. "description": "采购方名称",
  17840. "type": "string"
  17841. },
  17842. "contractno": {
  17843. "description": "合同编号",
  17844. "type": "string"
  17845. },
  17846. "contractqty": {
  17847. "description": "合同量",
  17848. "type": "number"
  17849. },
  17850. "contracttype": {
  17851. "description": "现货合同类型 - 1:采购 -1:销售",
  17852. "type": "integer"
  17853. },
  17854. "deliverygoodscode": {
  17855. "description": "现货品种代码",
  17856. "type": "string"
  17857. },
  17858. "deliverygoodsid": {
  17859. "description": "现货品种id",
  17860. "type": "integer"
  17861. },
  17862. "deliverygoodsname": {
  17863. "description": "现货品种名称",
  17864. "type": "string"
  17865. },
  17866. "detailjson": {
  17867. "description": "明细数据",
  17868. "type": "string"
  17869. },
  17870. "enumdicname": {
  17871. "description": "现货商品单位名称",
  17872. "type": "string"
  17873. },
  17874. "inoutapplyid": {
  17875. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  17876. "type": "string"
  17877. },
  17878. "inouttype": {
  17879. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17880. "type": "integer"
  17881. },
  17882. "pricetype": {
  17883. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17884. "type": "integer"
  17885. },
  17886. "qty": {
  17887. "description": "数量",
  17888. "type": "number"
  17889. },
  17890. "sellnickname": {
  17891. "description": "销售方昵称",
  17892. "type": "string"
  17893. },
  17894. "selluserid": {
  17895. "description": "销售方userid",
  17896. "type": "integer"
  17897. },
  17898. "sellusername": {
  17899. "description": "销售方名称",
  17900. "type": "string"
  17901. },
  17902. "spotcontractid": {
  17903. "description": "关联现货合同ID",
  17904. "type": "string"
  17905. },
  17906. "spotgoodsbrandid": {
  17907. "description": "现货品牌ID",
  17908. "type": "integer"
  17909. },
  17910. "unitid": {
  17911. "description": "单位id",
  17912. "type": "integer"
  17913. },
  17914. "userid": {
  17915. "description": "机构ID",
  17916. "type": "integer"
  17917. },
  17918. "warehousecode": {
  17919. "description": "仓库代码",
  17920. "type": "string"
  17921. },
  17922. "warehouseinfoid": {
  17923. "description": "现货仓库ID",
  17924. "type": "string"
  17925. },
  17926. "warehousename": {
  17927. "description": "仓库名称",
  17928. "type": "string"
  17929. },
  17930. "warehousetype": {
  17931. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17932. "type": "integer"
  17933. },
  17934. "wrstandardcode": {
  17935. "description": "品类代码",
  17936. "type": "string"
  17937. },
  17938. "wrstandardid": {
  17939. "description": "品类ID",
  17940. "type": "integer"
  17941. },
  17942. "wrstandardname": {
  17943. "description": "品类名称",
  17944. "type": "string"
  17945. }
  17946. }
  17947. },
  17948. "models.Ermcp3AreaStockApplySum": {
  17949. "type": "object",
  17950. "properties": {
  17951. "brandname": {
  17952. "description": "品牌名称",
  17953. "type": "string"
  17954. },
  17955. "inouttype": {
  17956. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17957. "type": "integer"
  17958. },
  17959. "spotcontractid": {
  17960. "description": "关联现货合同ID",
  17961. "type": "string"
  17962. },
  17963. "spotgoodsbrandid": {
  17964. "description": "品牌id",
  17965. "type": "integer"
  17966. },
  17967. "totalqty": {
  17968. "description": "总数量",
  17969. "type": "number"
  17970. },
  17971. "wrstandardid": {
  17972. "description": "品类id",
  17973. "type": "integer"
  17974. },
  17975. "wrstandardname": {
  17976. "description": "品类名称",
  17977. "type": "string"
  17978. }
  17979. }
  17980. },
  17981. "models.Ermcp3AreaStockReportEx": {
  17982. "type": "object",
  17983. "properties": {
  17984. "begindate": {
  17985. "description": "开始交易日",
  17986. "type": "string"
  17987. },
  17988. "brandname": {
  17989. "description": "品牌名称",
  17990. "type": "string"
  17991. },
  17992. "curstock": {
  17993. "description": "期末库存量",
  17994. "type": "number"
  17995. },
  17996. "cycletime": {
  17997. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17998. "type": "string"
  17999. },
  18000. "cycletype": {
  18001. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18002. "type": "integer"
  18003. },
  18004. "deliverygoodscode": {
  18005. "description": "现货品种代码",
  18006. "type": "string"
  18007. },
  18008. "deliverygoodsid": {
  18009. "description": "现货品种id",
  18010. "type": "integer"
  18011. },
  18012. "deliverygoodsname": {
  18013. "description": "现货品种名称",
  18014. "type": "string"
  18015. },
  18016. "diffqty": {
  18017. "description": "库存变化量 = 期末 - 期初",
  18018. "type": "number"
  18019. },
  18020. "enddate": {
  18021. "description": "结束交易日",
  18022. "type": "string"
  18023. },
  18024. "enumdicname": {
  18025. "description": "单位名称",
  18026. "type": "string"
  18027. },
  18028. "goodsunitid": {
  18029. "description": "现货单位id",
  18030. "type": "integer"
  18031. },
  18032. "oristock": {
  18033. "description": "期初库存量",
  18034. "type": "number"
  18035. },
  18036. "reckondate": {
  18037. "description": "日照时期(yyyyMMdd)",
  18038. "type": "string"
  18039. },
  18040. "spotgoodsbrandid": {
  18041. "description": "现货品牌ID",
  18042. "type": "integer"
  18043. },
  18044. "todaybuyinqty": {
  18045. "description": "今采购入库量",
  18046. "type": "number"
  18047. },
  18048. "todayproduceinqty": {
  18049. "description": "今内部入库量",
  18050. "type": "number"
  18051. },
  18052. "todayproduceoutqty": {
  18053. "description": "今内部出库量",
  18054. "type": "number"
  18055. },
  18056. "todayselloutqty": {
  18057. "description": "今销售出库量",
  18058. "type": "number"
  18059. },
  18060. "unbuyinqty": {
  18061. "description": "采购未入库量(数据库未找到相关字段?)",
  18062. "type": "number"
  18063. },
  18064. "unitid": {
  18065. "description": "品类单位id",
  18066. "type": "integer"
  18067. },
  18068. "unselloutqty": {
  18069. "description": "销售未出库量(数据库未找到相关字段?)",
  18070. "type": "number"
  18071. },
  18072. "updatetime": {
  18073. "description": "更新时间",
  18074. "type": "string"
  18075. },
  18076. "userid": {
  18077. "description": "机构ID",
  18078. "type": "integer"
  18079. },
  18080. "username": {
  18081. "description": "机构名称",
  18082. "type": "string"
  18083. },
  18084. "warehousecode": {
  18085. "description": "仓库代码",
  18086. "type": "string"
  18087. },
  18088. "warehouseinfoid": {
  18089. "description": "仓库ID",
  18090. "type": "string"
  18091. },
  18092. "warehousename": {
  18093. "description": "仓库名称",
  18094. "type": "string"
  18095. },
  18096. "warehousetype": {
  18097. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18098. "type": "integer"
  18099. },
  18100. "wrstandardcode": {
  18101. "description": "品类代码",
  18102. "type": "string"
  18103. },
  18104. "wrstandardid": {
  18105. "description": "品类ID",
  18106. "type": "integer"
  18107. },
  18108. "wrstandardname": {
  18109. "description": "品类名称",
  18110. "type": "string"
  18111. }
  18112. }
  18113. },
  18114. "models.Ermcp3ArealSumPL": {
  18115. "type": "object",
  18116. "properties": {
  18117. "accountname": {
  18118. "description": "机构名称",
  18119. "type": "string"
  18120. },
  18121. "areauserid": {
  18122. "description": "所属机构\\交易用户ID",
  18123. "type": "integer"
  18124. },
  18125. "begindate": {
  18126. "description": "开始交易日",
  18127. "type": "string"
  18128. },
  18129. "currencyid": {
  18130. "description": "结算币种ID",
  18131. "type": "integer"
  18132. },
  18133. "currencyname": {
  18134. "description": "币种名称",
  18135. "type": "string"
  18136. },
  18137. "cycletime": {
  18138. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18139. "type": "string"
  18140. },
  18141. "cycletype": {
  18142. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18143. "type": "integer"
  18144. },
  18145. "enddate": {
  18146. "description": "结束交易日",
  18147. "type": "string"
  18148. },
  18149. "enumdicname": {
  18150. "description": "单位名称(套保品种)",
  18151. "type": "string"
  18152. },
  18153. "futureactualpl": {
  18154. "description": "期货损益",
  18155. "type": "number"
  18156. },
  18157. "futurefloatpl": {
  18158. "description": "期货浮动损益",
  18159. "type": "number"
  18160. },
  18161. "goodsunitid": {
  18162. "description": "套保品种单位id",
  18163. "type": "integer"
  18164. },
  18165. "middlegoodscode": {
  18166. "description": "套保品种代码",
  18167. "type": "string"
  18168. },
  18169. "middlegoodsid": {
  18170. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18171. "type": "integer"
  18172. },
  18173. "middlegoodsname": {
  18174. "description": "套保品种名称",
  18175. "type": "string"
  18176. },
  18177. "reckondate": {
  18178. "description": "日照时期(yyyyMMdd)",
  18179. "type": "string"
  18180. },
  18181. "spotactualpl": {
  18182. "description": "现货损益",
  18183. "type": "number"
  18184. },
  18185. "spotfloatpl": {
  18186. "description": "现货浮动损益",
  18187. "type": "number"
  18188. },
  18189. "sumactualpl": {
  18190. "description": "实际损益 = (ActualPL + FutureActualPL)",
  18191. "type": "number"
  18192. },
  18193. "sumpl": {
  18194. "description": "汇总损益",
  18195. "type": "number"
  18196. },
  18197. "updatetime": {
  18198. "description": "更新时间",
  18199. "type": "string"
  18200. }
  18201. }
  18202. },
  18203. "models.Ermcp3Brand": {
  18204. "type": "object",
  18205. "properties": {
  18206. "areauserid": {
  18207. "description": "用户id",
  18208. "type": "integer"
  18209. },
  18210. "brandid": {
  18211. "description": "品牌id",
  18212. "type": "integer"
  18213. },
  18214. "brandname": {
  18215. "description": "品牌名称",
  18216. "type": "string"
  18217. },
  18218. "deliverygoodsid": {
  18219. "description": "品种ID",
  18220. "type": "integer"
  18221. }
  18222. }
  18223. },
  18224. "models.Ermcp3Contract": {
  18225. "type": "object",
  18226. "properties": {
  18227. "accountid": {
  18228. "description": "期货账户id",
  18229. "type": "string"
  18230. },
  18231. "amount": {
  18232. "description": "金额 [1:一口价、3:暂定价]",
  18233. "type": "number"
  18234. },
  18235. "attachment": {
  18236. "description": "附件",
  18237. "type": "string"
  18238. },
  18239. "auditremark": {
  18240. "description": "审核意见",
  18241. "type": "string"
  18242. },
  18243. "audittime": {
  18244. "description": "审核时间",
  18245. "type": "string"
  18246. },
  18247. "biztype": {
  18248. "description": "业务类型 1-套保 2-套利",
  18249. "type": "integer"
  18250. },
  18251. "brandname": {
  18252. "description": "品牌名称",
  18253. "type": "string"
  18254. },
  18255. "buynickname": {
  18256. "description": "销售方昵称",
  18257. "type": "string"
  18258. },
  18259. "buyuserid": {
  18260. "description": "采购方ID",
  18261. "type": "integer"
  18262. },
  18263. "buyusername": {
  18264. "description": "采购方名称",
  18265. "type": "string"
  18266. },
  18267. "contracctstatus": {
  18268. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18269. "type": "integer"
  18270. },
  18271. "contractmargin": {
  18272. "description": "合同保证金",
  18273. "type": "number"
  18274. },
  18275. "contractno": {
  18276. "description": "现货合同编号",
  18277. "type": "string"
  18278. },
  18279. "contracttype": {
  18280. "description": "现货合同类型 - 1:采购 -1:销售",
  18281. "type": "integer"
  18282. },
  18283. "convertfactor": {
  18284. "description": "标仓系数(品类)",
  18285. "type": "number"
  18286. },
  18287. "createtime": {
  18288. "description": "创建时间",
  18289. "type": "string"
  18290. },
  18291. "currencyid": {
  18292. "description": "币种id",
  18293. "type": "integer"
  18294. },
  18295. "currencyname": {
  18296. "description": "币种名称",
  18297. "type": "string"
  18298. },
  18299. "deliveryenddate": {
  18300. "description": "交收期(结束)",
  18301. "type": "string"
  18302. },
  18303. "deliverygoodscode": {
  18304. "description": "现货品种代码",
  18305. "type": "string"
  18306. },
  18307. "deliverygoodsid": {
  18308. "description": "现货品种ID",
  18309. "type": "integer"
  18310. },
  18311. "deliverygoodsname": {
  18312. "description": "现货品种名称",
  18313. "type": "string"
  18314. },
  18315. "deliverystartdate": {
  18316. "description": "交收期(开始)",
  18317. "type": "string"
  18318. },
  18319. "enddate": {
  18320. "description": "点价结束日期 [2:点价 3:暂定价]",
  18321. "type": "string"
  18322. },
  18323. "enumdicname": {
  18324. "description": "单位名称",
  18325. "type": "string"
  18326. },
  18327. "goodscode": {
  18328. "description": "点价合约代码",
  18329. "type": "string"
  18330. },
  18331. "goodsid": {
  18332. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  18333. "type": "integer"
  18334. },
  18335. "goodsname": {
  18336. "description": "点价商品名称",
  18337. "type": "string"
  18338. },
  18339. "margin": {
  18340. "description": "当前保证金",
  18341. "type": "number"
  18342. },
  18343. "meruserid": {
  18344. "description": "跟单员id",
  18345. "type": "integer"
  18346. },
  18347. "meruserlogincode": {
  18348. "description": "跟单员登录代码",
  18349. "type": "string"
  18350. },
  18351. "merusername": {
  18352. "description": "跟单员名称",
  18353. "type": "string"
  18354. },
  18355. "price": {
  18356. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  18357. "type": "number"
  18358. },
  18359. "pricemove": {
  18360. "description": "升贴水 [2:点价 3:暂定价]",
  18361. "type": "number"
  18362. },
  18363. "pricetype": {
  18364. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18365. "type": "integer"
  18366. },
  18367. "producttype": {
  18368. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18369. "type": "integer"
  18370. },
  18371. "qty": {
  18372. "description": "数量",
  18373. "type": "number"
  18374. },
  18375. "remark": {
  18376. "description": "备注",
  18377. "type": "string"
  18378. },
  18379. "saleuserid": {
  18380. "description": "业务员id",
  18381. "type": "integer"
  18382. },
  18383. "saleuserlogincode": {
  18384. "description": "业务员登录代码",
  18385. "type": "string"
  18386. },
  18387. "saleusername": {
  18388. "description": "业务员名称",
  18389. "type": "string"
  18390. },
  18391. "sellnickname": {
  18392. "description": "采购方昵称",
  18393. "type": "string"
  18394. },
  18395. "selluserid": {
  18396. "description": "销售方ID",
  18397. "type": "integer"
  18398. },
  18399. "sellusername": {
  18400. "description": "销售方名称",
  18401. "type": "string"
  18402. },
  18403. "spotcontractid": {
  18404. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  18405. "type": "string"
  18406. },
  18407. "spotgoodsbrandid": {
  18408. "description": "现货品牌ID(DGFactoryItem表的ID)",
  18409. "type": "integer"
  18410. },
  18411. "spotgoodsdesc": {
  18412. "description": "商品型号",
  18413. "type": "string"
  18414. },
  18415. "startdate": {
  18416. "description": "点价开始日期 [2:点价 3:暂定价]",
  18417. "type": "string"
  18418. },
  18419. "subjectid": {
  18420. "description": "交易主体ID",
  18421. "type": "string"
  18422. },
  18423. "subjectname": {
  18424. "description": "交易主体名称",
  18425. "type": "string"
  18426. },
  18427. "tradeuserid": {
  18428. "description": "交易员id",
  18429. "type": "integer"
  18430. },
  18431. "tradeuserlogincode": {
  18432. "description": "交易员登录代码",
  18433. "type": "string"
  18434. },
  18435. "tradeusername": {
  18436. "description": "交易员名称",
  18437. "type": "string"
  18438. },
  18439. "unitid": {
  18440. "description": "单位id(取品类上的单位id)",
  18441. "type": "integer"
  18442. },
  18443. "updatetime": {
  18444. "description": "更新时间",
  18445. "type": "string"
  18446. },
  18447. "userid": {
  18448. "description": "所属机构ID",
  18449. "type": "integer"
  18450. },
  18451. "wrstandardcode": {
  18452. "description": "品类代码",
  18453. "type": "string"
  18454. },
  18455. "wrstandardid": {
  18456. "description": "品类ID",
  18457. "type": "integer"
  18458. },
  18459. "wrstandardname": {
  18460. "description": "品类名称",
  18461. "type": "string"
  18462. }
  18463. }
  18464. },
  18465. "models.Ermcp3ExposureContractDetail": {
  18466. "type": "object",
  18467. "properties": {
  18468. "biztype": {
  18469. "description": "业务类型 1-套保 2-套利",
  18470. "type": "integer"
  18471. },
  18472. "brandname": {
  18473. "description": "品牌名称",
  18474. "type": "string"
  18475. },
  18476. "buyuserid": {
  18477. "description": "采购方id",
  18478. "type": "integer"
  18479. },
  18480. "buyusername": {
  18481. "description": "采购方名称",
  18482. "type": "string"
  18483. },
  18484. "contractno": {
  18485. "description": "合同编号",
  18486. "type": "string"
  18487. },
  18488. "contracttype": {
  18489. "description": "现货合同类型 - 1:采购 -1:销售",
  18490. "type": "integer"
  18491. },
  18492. "convertfactor": {
  18493. "description": "标仓系数",
  18494. "type": "number"
  18495. },
  18496. "convertratio": {
  18497. "description": "折算系数(套保品种)",
  18498. "type": "number"
  18499. },
  18500. "curqty": {
  18501. "description": "今定价量",
  18502. "type": "number"
  18503. },
  18504. "deliverygoodscode": {
  18505. "description": "现货商品代码",
  18506. "type": "string"
  18507. },
  18508. "deliverygoodsid": {
  18509. "description": "现货商品id",
  18510. "type": "integer"
  18511. },
  18512. "deliverygoodsname": {
  18513. "description": "现货商品名称",
  18514. "type": "string"
  18515. },
  18516. "diffhedgeqty": {
  18517. "description": "套保变动量",
  18518. "type": "number"
  18519. },
  18520. "diffneedhedgeqty": {
  18521. "description": "应套保变动量",
  18522. "type": "number"
  18523. },
  18524. "diffqty": {
  18525. "description": "套保品种今变动量",
  18526. "type": "number"
  18527. },
  18528. "enumdicname": {
  18529. "description": "单位名称",
  18530. "type": "string"
  18531. },
  18532. "mgunitname": {
  18533. "description": "套保品种单位名称",
  18534. "type": "string"
  18535. },
  18536. "middlegoodscode": {
  18537. "description": "套保品种代码",
  18538. "type": "string"
  18539. },
  18540. "middlegoodsid": {
  18541. "description": "套保品种id",
  18542. "type": "integer"
  18543. },
  18544. "middlegoodsname": {
  18545. "description": "套保品种名称",
  18546. "type": "string"
  18547. },
  18548. "needarbitrageratio": {
  18549. "description": "应套利比例",
  18550. "type": "number"
  18551. },
  18552. "needhedgeratio": {
  18553. "description": "应套保比例",
  18554. "type": "number"
  18555. },
  18556. "pricedqty": {
  18557. "description": "已定价量",
  18558. "type": "number"
  18559. },
  18560. "qty": {
  18561. "description": "合同量",
  18562. "type": "number"
  18563. },
  18564. "selluserid": {
  18565. "description": "销售方id",
  18566. "type": "integer"
  18567. },
  18568. "sellusername": {
  18569. "description": "销售方名称",
  18570. "type": "string"
  18571. },
  18572. "spotcontractid": {
  18573. "description": "合同id",
  18574. "type": "string"
  18575. },
  18576. "todaypricedqty": {
  18577. "description": "今定价量",
  18578. "type": "number"
  18579. },
  18580. "tradedate": {
  18581. "description": "交易日",
  18582. "type": "string"
  18583. },
  18584. "unitid": {
  18585. "description": "品类单位id",
  18586. "type": "integer"
  18587. },
  18588. "userid": {
  18589. "description": "机构id",
  18590. "type": "integer"
  18591. },
  18592. "username": {
  18593. "description": "交易用户",
  18594. "type": "string"
  18595. },
  18596. "wrstandardcode": {
  18597. "description": "品类代码",
  18598. "type": "string"
  18599. },
  18600. "wrstandardid": {
  18601. "description": "品类id",
  18602. "type": "integer"
  18603. },
  18604. "wrstandardname": {
  18605. "description": "品类名称",
  18606. "type": "string"
  18607. }
  18608. }
  18609. },
  18610. "models.Ermcp3ExposureDetail": {
  18611. "type": "object",
  18612. "properties": {
  18613. "areauserid": {
  18614. "description": "机构ID",
  18615. "type": "integer"
  18616. },
  18617. "changeQty": {
  18618. "description": "套保变动量",
  18619. "type": "number"
  18620. },
  18621. "contracttype": {
  18622. "description": "现货合同类型 - 1:采购 -1:销售",
  18623. "type": "integer"
  18624. },
  18625. "convertfactor": {
  18626. "description": "标仓系数",
  18627. "type": "number"
  18628. },
  18629. "convertratio": {
  18630. "description": "套保系数",
  18631. "type": "number"
  18632. },
  18633. "createtime": {
  18634. "description": "时间",
  18635. "type": "string"
  18636. },
  18637. "deliverygoodscode": {
  18638. "description": "现货品种代码",
  18639. "type": "string"
  18640. },
  18641. "deliverygoodsid": {
  18642. "description": "现货品种id",
  18643. "type": "integer"
  18644. },
  18645. "deliverygoodsname": {
  18646. "description": "现货品种名称",
  18647. "type": "string"
  18648. },
  18649. "enumdicname": {
  18650. "description": "现货商品单位名称",
  18651. "type": "string"
  18652. },
  18653. "logtype": {
  18654. "description": "类型 - 1:套保计划 2:现货合同",
  18655. "type": "integer"
  18656. },
  18657. "mgunitid": {
  18658. "description": "套保品种单位id",
  18659. "type": "integer"
  18660. },
  18661. "mgunitidname": {
  18662. "description": "套保品种单位名称",
  18663. "type": "string"
  18664. },
  18665. "middlegoodsId": {
  18666. "description": "套保商品id",
  18667. "type": "integer"
  18668. },
  18669. "middlegoodscode": {
  18670. "description": "套保商品代码",
  18671. "type": "string"
  18672. },
  18673. "middlegoodsname": {
  18674. "description": "套保商品名称",
  18675. "type": "string"
  18676. },
  18677. "qty": {
  18678. "description": "数量",
  18679. "type": "number"
  18680. },
  18681. "relateNo": {
  18682. "description": "现货合同/套保计划编号",
  18683. "type": "string"
  18684. }
  18685. }
  18686. },
  18687. "models.Ermcp3ExposureFutuDetail": {
  18688. "type": "object",
  18689. "properties": {
  18690. "accountid": {
  18691. "description": "交易账户id",
  18692. "type": "integer"
  18693. },
  18694. "accountname": {
  18695. "description": "交易账户",
  18696. "type": "string"
  18697. },
  18698. "begindate": {
  18699. "description": "开始交易日",
  18700. "type": "string"
  18701. },
  18702. "buyorsell": {
  18703. "description": "方向 0-买 1-卖",
  18704. "type": "integer"
  18705. },
  18706. "diffmgqty": {
  18707. "description": "套保品种今变化量",
  18708. "type": "number"
  18709. },
  18710. "diffneedqty": {
  18711. "description": "应套保总量变化量",
  18712. "type": "number"
  18713. },
  18714. "difftradeqty": {
  18715. "description": "交易品种今变化量",
  18716. "type": "number"
  18717. },
  18718. "enddate": {
  18719. "description": "结束交易日",
  18720. "type": "string"
  18721. },
  18722. "enumdicname": {
  18723. "description": "单位名称",
  18724. "type": "string"
  18725. },
  18726. "goodscode": {
  18727. "description": "商品代码",
  18728. "type": "string"
  18729. },
  18730. "goodsid": {
  18731. "description": "商品id",
  18732. "type": "integer"
  18733. },
  18734. "goodsname": {
  18735. "description": "商品名称",
  18736. "type": "string"
  18737. },
  18738. "holdqty": {
  18739. "description": "期末持仓量",
  18740. "type": "number"
  18741. },
  18742. "middlegoodscode": {
  18743. "description": "套保商品代码",
  18744. "type": "string"
  18745. },
  18746. "middlegoodsid": {
  18747. "description": "套保商品id",
  18748. "type": "integer"
  18749. },
  18750. "middlegoodsname": {
  18751. "description": "套保商品名称",
  18752. "type": "string"
  18753. },
  18754. "oriholdqty": {
  18755. "description": "期初持仓量",
  18756. "type": "number"
  18757. },
  18758. "todaycloseqty": {
  18759. "description": "今平仓量",
  18760. "type": "number"
  18761. },
  18762. "todayopenqty": {
  18763. "description": "今开仓量",
  18764. "type": "number"
  18765. },
  18766. "tradedate": {
  18767. "description": "交易日",
  18768. "type": "string"
  18769. }
  18770. }
  18771. },
  18772. "models.Ermcp3ExposureHedgeplanDetail": {
  18773. "type": "object",
  18774. "properties": {
  18775. "biztype": {
  18776. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  18777. "type": "integer"
  18778. },
  18779. "changqty": {
  18780. "description": "应套保总量变化量",
  18781. "type": "number"
  18782. },
  18783. "contracttype": {
  18784. "description": "计划类型 - 1:采购 -1:销售",
  18785. "type": "integer"
  18786. },
  18787. "convertratio": {
  18788. "description": "折算系数(套保品种)",
  18789. "type": "number"
  18790. },
  18791. "deliverygoodscode": {
  18792. "description": "现货商品代码",
  18793. "type": "string"
  18794. },
  18795. "deliverygoodsid": {
  18796. "description": "现货商品id",
  18797. "type": "integer"
  18798. },
  18799. "deliverygoodsname": {
  18800. "description": "现货商吕名称",
  18801. "type": "string"
  18802. },
  18803. "dgunitid": {
  18804. "description": "现货商品单位id",
  18805. "type": "integer"
  18806. },
  18807. "dgunitidname": {
  18808. "description": "单位名称(现货商品)",
  18809. "type": "string"
  18810. },
  18811. "diffqty": {
  18812. "description": "套保品种今变动量",
  18813. "type": "number"
  18814. },
  18815. "enumdicname": {
  18816. "description": "单位名称(品类)",
  18817. "type": "string"
  18818. },
  18819. "hedgeplanid": {
  18820. "description": "套保计划id",
  18821. "type": "string"
  18822. },
  18823. "hedgeplanno": {
  18824. "description": "套保计划名称",
  18825. "type": "string"
  18826. },
  18827. "hedgeplanstatus": {
  18828. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18829. "type": "integer"
  18830. },
  18831. "mgunitidname": {
  18832. "description": "单位名称(套保商品)",
  18833. "type": "string"
  18834. },
  18835. "middlegoodscode": {
  18836. "description": "套保品种代码",
  18837. "type": "string"
  18838. },
  18839. "middlegoodsid": {
  18840. "description": "套保品种id",
  18841. "type": "integer"
  18842. },
  18843. "middlegoodsname": {
  18844. "description": "套保品种名称",
  18845. "type": "string"
  18846. },
  18847. "needarbitrageratio": {
  18848. "description": "应套利比例",
  18849. "type": "number"
  18850. },
  18851. "needhedgeratio": {
  18852. "description": "应套保比例",
  18853. "type": "number"
  18854. },
  18855. "pricedqty": {
  18856. "description": "已定价量",
  18857. "type": "number"
  18858. },
  18859. "qty": {
  18860. "description": "合同量",
  18861. "type": "number"
  18862. },
  18863. "tradedate": {
  18864. "description": "交易日(登记日)",
  18865. "type": "string"
  18866. },
  18867. "unitid": {
  18868. "description": "品类单位id",
  18869. "type": "integer"
  18870. },
  18871. "userid": {
  18872. "description": "机构id",
  18873. "type": "integer"
  18874. },
  18875. "wrstandardcode": {
  18876. "description": "品类代码",
  18877. "type": "string"
  18878. },
  18879. "wrstandardid": {
  18880. "description": "品类id",
  18881. "type": "integer"
  18882. },
  18883. "wrstandardname": {
  18884. "description": "品类名称",
  18885. "type": "string"
  18886. }
  18887. }
  18888. },
  18889. "models.Ermcp3ExposureParamChLog": {
  18890. "type": "object",
  18891. "properties": {
  18892. "accountid": {
  18893. "description": "期货账户ID (作废, 默认为0)",
  18894. "type": "integer"
  18895. },
  18896. "aftervalue": {
  18897. "description": "应套保\\套利量变更后(调整后应套保总量)",
  18898. "type": "number"
  18899. },
  18900. "areauserid": {
  18901. "description": "所属机构\\交易用户ID",
  18902. "type": "integer"
  18903. },
  18904. "beforevalue": {
  18905. "description": "应套保\\套利量变更前(调整前应套保总量)",
  18906. "type": "number"
  18907. },
  18908. "begindate": {
  18909. "description": "开始交易日",
  18910. "type": "string"
  18911. },
  18912. "changelogtype": {
  18913. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  18914. "type": "integer"
  18915. },
  18916. "curvalue": {
  18917. "description": "当前套保\\套利量(套保总量|套利总量)",
  18918. "type": "number"
  18919. },
  18920. "diffvalue": {
  18921. "description": "应套保总量变化量",
  18922. "type": "number"
  18923. },
  18924. "enddate": {
  18925. "description": "结束交易日",
  18926. "type": "string"
  18927. },
  18928. "logdatetime": {
  18929. "description": "流水日期",
  18930. "type": "string"
  18931. },
  18932. "logid": {
  18933. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  18934. "type": "string"
  18935. },
  18936. "middlegoodscode": {
  18937. "description": "套保品种代码",
  18938. "type": "string"
  18939. },
  18940. "middlegoodsid": {
  18941. "description": "套保品种",
  18942. "type": "integer"
  18943. },
  18944. "middlegoodsname": {
  18945. "description": "套保品种名称",
  18946. "type": "string"
  18947. },
  18948. "paramaftervalue": {
  18949. "description": "参数变更后(调整后参数值)",
  18950. "type": "number"
  18951. },
  18952. "parambeforevalue": {
  18953. "description": "参数变更前(调整前参数值)",
  18954. "type": "number"
  18955. },
  18956. "tradedate": {
  18957. "description": "交易日(yyyyMMdd)",
  18958. "type": "string"
  18959. }
  18960. }
  18961. },
  18962. "models.Ermcp3ExpourseReport": {
  18963. "type": "object",
  18964. "properties": {
  18965. "accountid": {
  18966. "description": "期货账户ID (作废, 默认为0)",
  18967. "type": "integer"
  18968. },
  18969. "accountname": {
  18970. "description": "机构名称",
  18971. "type": "string"
  18972. },
  18973. "arbitrageqty": {
  18974. "description": "套利量",
  18975. "type": "number"
  18976. },
  18977. "areauserid": {
  18978. "description": "所属机构\\交易用户ID",
  18979. "type": "integer"
  18980. },
  18981. "begindate": {
  18982. "description": "开始交易日",
  18983. "type": "string"
  18984. },
  18985. "buyfutureqty": {
  18986. "description": "买入期货数量",
  18987. "type": "number"
  18988. },
  18989. "buyplanqty": {
  18990. "description": "采购计划数量",
  18991. "type": "number"
  18992. },
  18993. "buypricedqty": {
  18994. "description": "采购合同已定价数量",
  18995. "type": "number"
  18996. },
  18997. "cycletime": {
  18998. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18999. "type": "string"
  19000. },
  19001. "cycletype": {
  19002. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19003. "type": "integer"
  19004. },
  19005. "diffexposure": {
  19006. "description": "变动量(套保敞口)",
  19007. "type": "number"
  19008. },
  19009. "difffutuqty": {
  19010. "description": "变动量(期货)",
  19011. "type": "number"
  19012. },
  19013. "diffhedgeqty": {
  19014. "description": "变动量(现货应套保总量)",
  19015. "type": "number"
  19016. },
  19017. "diffmgqtya": {
  19018. "description": "套保变动量",
  19019. "type": "number"
  19020. },
  19021. "diffmgqtyb": {
  19022. "description": "套利变动量",
  19023. "type": "number"
  19024. },
  19025. "diffqty": {
  19026. "description": "变动量(总敞口)",
  19027. "type": "number"
  19028. },
  19029. "diffspotqty": {
  19030. "description": "变动量(现货)",
  19031. "type": "number"
  19032. },
  19033. "enddate": {
  19034. "description": "结束交易日",
  19035. "type": "string"
  19036. },
  19037. "enumdicname": {
  19038. "description": "单位名称",
  19039. "type": "string"
  19040. },
  19041. "hedgeqty": {
  19042. "description": "套保量",
  19043. "type": "number"
  19044. },
  19045. "mgneedhedgeratio": {
  19046. "description": "套保比例(套保品的)",
  19047. "type": "number"
  19048. },
  19049. "middlegoodsid": {
  19050. "description": "套保品种ID",
  19051. "type": "integer"
  19052. },
  19053. "middlegoodsname": {
  19054. "description": "套保商品名称",
  19055. "type": "string"
  19056. },
  19057. "middlgoodscode": {
  19058. "description": "套保商品代码",
  19059. "type": "string"
  19060. },
  19061. "needarbitrageqty": {
  19062. "description": "应套利量",
  19063. "type": "number"
  19064. },
  19065. "needarbitrageratio": {
  19066. "description": "套利比例(套保品的)",
  19067. "type": "number"
  19068. },
  19069. "needhedgeexposoure": {
  19070. "description": "应套保敞口(套保敞口)",
  19071. "type": "number"
  19072. },
  19073. "needhedgeqty": {
  19074. "description": "应套保量",
  19075. "type": "number"
  19076. },
  19077. "needhedgeratio": {
  19078. "description": "应套保敞口比例",
  19079. "type": "number"
  19080. },
  19081. "oriarbitrageqty": {
  19082. "description": "期初套利量",
  19083. "type": "number"
  19084. },
  19085. "oribuyfutureqty": {
  19086. "description": "期初买入期货数量",
  19087. "type": "number"
  19088. },
  19089. "oribuyplanqty": {
  19090. "description": "期初采购计划数量",
  19091. "type": "number"
  19092. },
  19093. "oribuypricedqty": {
  19094. "description": "期初采购合同已定价数量",
  19095. "type": "number"
  19096. },
  19097. "orihedgeqty": {
  19098. "description": "期初套保量",
  19099. "type": "number"
  19100. },
  19101. "orineedarbitrageqty": {
  19102. "description": "期初应套利量",
  19103. "type": "number"
  19104. },
  19105. "orineedhedgeexposoure": {
  19106. "description": "期初应套保敞口",
  19107. "type": "number"
  19108. },
  19109. "orineedhedgeqty": {
  19110. "description": "期初应套保量",
  19111. "type": "number"
  19112. },
  19113. "orisellfutureqty": {
  19114. "description": "期初卖出期货数量",
  19115. "type": "number"
  19116. },
  19117. "orisellplanqty": {
  19118. "description": "期初销售计划数量",
  19119. "type": "number"
  19120. },
  19121. "orisellpricedqty": {
  19122. "description": "期初销售合同已定价数量",
  19123. "type": "number"
  19124. },
  19125. "oritotalexposure": {
  19126. "description": "期初实时总敞口",
  19127. "type": "number"
  19128. },
  19129. "oritotalfutureqty": {
  19130. "description": "期初期货头寸总量",
  19131. "type": "number"
  19132. },
  19133. "oritotalneedhedgeqty": {
  19134. "description": "期初应套保总量",
  19135. "type": "number"
  19136. },
  19137. "oritotalspotqty": {
  19138. "description": "期初现货头寸总量",
  19139. "type": "number"
  19140. },
  19141. "reckondate": {
  19142. "description": "日照时期(yyyyMMdd)",
  19143. "type": "string"
  19144. },
  19145. "sellfutureqty": {
  19146. "description": "卖出期货数量",
  19147. "type": "number"
  19148. },
  19149. "sellplanqty": {
  19150. "description": "销售计划数量",
  19151. "type": "number"
  19152. },
  19153. "sellpricedqty": {
  19154. "description": "销售合同已定价数量",
  19155. "type": "number"
  19156. },
  19157. "totalexposure": {
  19158. "description": "实时总敞口(总敞口)",
  19159. "type": "number"
  19160. },
  19161. "totalfutureqty": {
  19162. "description": "期货头寸总量(期货总量)",
  19163. "type": "number"
  19164. },
  19165. "totalhedgeratio": {
  19166. "description": "敞口比例",
  19167. "type": "number"
  19168. },
  19169. "totalneedhedgeqty": {
  19170. "description": "应套保总量(现货应套保总量)",
  19171. "type": "number"
  19172. },
  19173. "totalspotqty": {
  19174. "description": "现货头寸总量",
  19175. "type": "number"
  19176. },
  19177. "unitid": {
  19178. "description": "单位id",
  19179. "type": "integer"
  19180. },
  19181. "updatetime": {
  19182. "description": "更新时间",
  19183. "type": "string"
  19184. }
  19185. }
  19186. },
  19187. "models.Ermcp3FinanceReport": {
  19188. "type": "object",
  19189. "properties": {
  19190. "accountname": {
  19191. "description": "机构名称",
  19192. "type": "string"
  19193. },
  19194. "areauserid": {
  19195. "description": "所属机构\\交易用户ID",
  19196. "type": "integer"
  19197. },
  19198. "begindate": {
  19199. "description": "开始交易日",
  19200. "type": "string"
  19201. },
  19202. "biztype": {
  19203. "description": "业务类型 - 1:套保 2:套利",
  19204. "type": "integer"
  19205. },
  19206. "brandname": {
  19207. "description": "品牌名称",
  19208. "type": "string"
  19209. },
  19210. "buypreinvoicedamount": {
  19211. "description": "采购预收票额(预收票额)",
  19212. "type": "number"
  19213. },
  19214. "buyprepaidamount": {
  19215. "description": "采购预付款额(预付货款额)",
  19216. "type": "number"
  19217. },
  19218. "buytodayinvoiceamount": {
  19219. "description": "采购今收票额(今收票额)",
  19220. "type": "number"
  19221. },
  19222. "buytodayrefundamount": {
  19223. "description": "采购今收退款额(今收退款额)",
  19224. "type": "number"
  19225. },
  19226. "buytodaysettleamount": {
  19227. "description": "采购今付款额(今付货款额)",
  19228. "type": "number"
  19229. },
  19230. "buyuninvoicedamount": {
  19231. "description": "采购应收票额(应收票额)",
  19232. "type": "number"
  19233. },
  19234. "buyunpaidamount": {
  19235. "description": "采购应付款额(应付货款额)",
  19236. "type": "number"
  19237. },
  19238. "currencyid": {
  19239. "description": "结算币种ID",
  19240. "type": "integer"
  19241. },
  19242. "currencyname": {
  19243. "description": "币种名称",
  19244. "type": "string"
  19245. },
  19246. "cycletime": {
  19247. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19248. "type": "string"
  19249. },
  19250. "cycletype": {
  19251. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19252. "type": "integer"
  19253. },
  19254. "deliverygoodscode": {
  19255. "description": "现货品种代码",
  19256. "type": "string"
  19257. },
  19258. "deliverygoodsid": {
  19259. "description": "现货品种ID",
  19260. "type": "integer"
  19261. },
  19262. "deliverygoodsname": {
  19263. "description": "现货品种名称",
  19264. "type": "string"
  19265. },
  19266. "enddate": {
  19267. "description": "结束交易日",
  19268. "type": "string"
  19269. },
  19270. "reckondate": {
  19271. "description": "日照时期(yyyyMMdd)",
  19272. "type": "string"
  19273. },
  19274. "sellpreinvoicedamount": {
  19275. "description": "销售预开票额(预开票额)",
  19276. "type": "number"
  19277. },
  19278. "sellprepaidamount": {
  19279. "description": "销售预收款额(预收货款额)",
  19280. "type": "number"
  19281. },
  19282. "selltodayinvoiceamount": {
  19283. "description": "销售今开票额(今开票额)",
  19284. "type": "number"
  19285. },
  19286. "selltodayrefundamount": {
  19287. "description": "销售今付退款额(今付退款额)",
  19288. "type": "number"
  19289. },
  19290. "selltodaysettleamount": {
  19291. "description": "销售今收款额(今收货款额)",
  19292. "type": "number"
  19293. },
  19294. "selluninvoicedamount": {
  19295. "description": "销售应开票额(应开票额)",
  19296. "type": "number"
  19297. },
  19298. "sellunpaidamount": {
  19299. "description": "销售应收款额(应收货款额)",
  19300. "type": "number"
  19301. },
  19302. "spotgoodsbrandid": {
  19303. "description": "现货品牌ID",
  19304. "type": "integer"
  19305. },
  19306. "todaypaysum": {
  19307. "description": "今付款合计",
  19308. "type": "number"
  19309. },
  19310. "todayreceivesum": {
  19311. "description": "今收款合计",
  19312. "type": "number"
  19313. },
  19314. "updatetime": {
  19315. "description": "更新时间",
  19316. "type": "string"
  19317. },
  19318. "wrfactortypeid": {
  19319. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19320. "type": "integer"
  19321. },
  19322. "wrstandardcode": {
  19323. "description": "品类代码",
  19324. "type": "string"
  19325. },
  19326. "wrstandardid": {
  19327. "description": "现货商品ID",
  19328. "type": "integer"
  19329. },
  19330. "wrstandardname": {
  19331. "description": "品类名称",
  19332. "type": "string"
  19333. }
  19334. }
  19335. },
  19336. "models.Ermcp3GoodsGroup": {
  19337. "type": "object",
  19338. "required": [
  19339. "areauserid"
  19340. ],
  19341. "properties": {
  19342. "agreeunit": {
  19343. "description": "合约单位",
  19344. "type": "number"
  19345. },
  19346. "areauserid": {
  19347. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  19348. "type": "integer"
  19349. },
  19350. "canshort": {
  19351. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19352. "type": "integer"
  19353. },
  19354. "closepricemode": {
  19355. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19356. "type": "integer"
  19357. },
  19358. "createtime": {
  19359. "description": "创建时间",
  19360. "type": "string"
  19361. },
  19362. "creatorid": {
  19363. "description": "创建人",
  19364. "type": "integer"
  19365. },
  19366. "currencyid": {
  19367. "description": "报价货币ID",
  19368. "type": "integer"
  19369. },
  19370. "decimalplace": {
  19371. "description": "报价小数位",
  19372. "type": "integer"
  19373. },
  19374. "enumdicname": {
  19375. "description": "单位名称",
  19376. "type": "string"
  19377. },
  19378. "exchangefullname": {
  19379. "description": "交易所全称",
  19380. "type": "string"
  19381. },
  19382. "excludecfg": {
  19383. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  19384. "type": "integer"
  19385. },
  19386. "exexchangecode": {
  19387. "description": "交易所代码",
  19388. "type": "string"
  19389. },
  19390. "exexchangeid": {
  19391. "description": "外部交易所ID[通道交易]",
  19392. "type": "integer"
  19393. },
  19394. "exexchangename": {
  19395. "description": "交易所名称",
  19396. "type": "string"
  19397. },
  19398. "goodsgroupid": {
  19399. "description": "商品组ID(自增ID)",
  19400. "type": "integer"
  19401. },
  19402. "goodsgroupname": {
  19403. "description": "商品组名称",
  19404. "type": "string"
  19405. },
  19406. "goodsgroupstatus": {
  19407. "description": "商品组状态 - 1:正常 2:注销",
  19408. "type": "integer"
  19409. },
  19410. "goodunitid": {
  19411. "description": "报价单位ID",
  19412. "type": "integer"
  19413. },
  19414. "groupcategroyid": {
  19415. "description": "品种分类ID",
  19416. "type": "integer"
  19417. },
  19418. "innerdealmode": {
  19419. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19420. "type": "integer"
  19421. },
  19422. "marketid": {
  19423. "description": "所属市场ID",
  19424. "type": "integer"
  19425. },
  19426. "modifierid": {
  19427. "description": "修改人",
  19428. "type": "integer"
  19429. },
  19430. "modifytime": {
  19431. "description": "修改时间",
  19432. "type": "string"
  19433. },
  19434. "outerdealmode": {
  19435. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19436. "type": "integer"
  19437. },
  19438. "outergroupcode": {
  19439. "description": "外部商品组代码[通道交易]",
  19440. "type": "string"
  19441. },
  19442. "quoteminunit": {
  19443. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19444. "type": "integer"
  19445. },
  19446. "quotesourcegroupid": {
  19447. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19448. "type": "integer"
  19449. },
  19450. "syncgoodsqty": {
  19451. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19452. "type": "integer"
  19453. }
  19454. }
  19455. },
  19456. "models.Ermcp3HedgePlan": {
  19457. "type": "object",
  19458. "properties": {
  19459. "accountid": {
  19460. "description": "资金账号",
  19461. "type": "integer"
  19462. },
  19463. "areauserid": {
  19464. "description": "用户ID",
  19465. "type": "integer"
  19466. },
  19467. "auditid": {
  19468. "description": "审核id",
  19469. "type": "integer"
  19470. },
  19471. "auditname": {
  19472. "description": "审核人名称",
  19473. "type": "string"
  19474. },
  19475. "auditremark": {
  19476. "description": "审核备注",
  19477. "type": "string"
  19478. },
  19479. "auditsrc": {
  19480. "description": "审核来源 1-管理端 2-终端",
  19481. "type": "integer"
  19482. },
  19483. "audittime": {
  19484. "description": "审核时间",
  19485. "type": "string"
  19486. },
  19487. "contracttype": {
  19488. "description": "计划类型 - 1:采购 -1:销售",
  19489. "type": "integer"
  19490. },
  19491. "convertfactor": {
  19492. "description": "标仓系数",
  19493. "type": "number"
  19494. },
  19495. "createtime": {
  19496. "description": "创建时间",
  19497. "type": "string"
  19498. },
  19499. "currencyid": {
  19500. "description": "币种id",
  19501. "type": "integer"
  19502. },
  19503. "currencyname": {
  19504. "description": "币种名称",
  19505. "type": "string"
  19506. },
  19507. "deliverygoodscode": {
  19508. "description": "现货品种代码",
  19509. "type": "string"
  19510. },
  19511. "deliverygoodsid": {
  19512. "description": "现货品种ID",
  19513. "type": "integer"
  19514. },
  19515. "deliverygoodsname": {
  19516. "description": "现货品种名称",
  19517. "type": "string"
  19518. },
  19519. "enumdicname": {
  19520. "description": "单位名称(现货商品)",
  19521. "type": "string"
  19522. },
  19523. "hedgeplanid": {
  19524. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  19525. "type": "string"
  19526. },
  19527. "hedgeplanno": {
  19528. "description": "套保计划编号(名称)",
  19529. "type": "string"
  19530. },
  19531. "hedgeplanstatus": {
  19532. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19533. "type": "integer"
  19534. },
  19535. "planqty": {
  19536. "description": "计划数量",
  19537. "type": "number"
  19538. },
  19539. "plantime": {
  19540. "description": "计划时间",
  19541. "type": "string"
  19542. },
  19543. "producttype": {
  19544. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19545. "type": "integer"
  19546. },
  19547. "remark": {
  19548. "description": "备注",
  19549. "type": "string"
  19550. },
  19551. "spotgoodsdesc": {
  19552. "description": "商品型号",
  19553. "type": "string"
  19554. },
  19555. "taaccountname": {
  19556. "description": "资金账号名称",
  19557. "type": "string"
  19558. },
  19559. "tradeuserid": {
  19560. "description": "交易用户id",
  19561. "type": "integer"
  19562. },
  19563. "tradeusername": {
  19564. "description": "交易用户名称",
  19565. "type": "string"
  19566. },
  19567. "unitid": {
  19568. "description": "单位id(现货商品)",
  19569. "type": "integer"
  19570. },
  19571. "updatetime": {
  19572. "description": "更新时间",
  19573. "type": "string"
  19574. },
  19575. "wrstandardcode": {
  19576. "description": "品类代码",
  19577. "type": "string"
  19578. },
  19579. "wrstandardid": {
  19580. "description": "品类id",
  19581. "type": "integer"
  19582. },
  19583. "wrstandardname": {
  19584. "description": "品类名称",
  19585. "type": "string"
  19586. },
  19587. "wrunitid": {
  19588. "description": "品类单位id",
  19589. "type": "integer"
  19590. },
  19591. "wrunitidame": {
  19592. "description": "品类单位名称",
  19593. "type": "string"
  19594. }
  19595. }
  19596. },
  19597. "models.Ermcp3PaAreaAuditCfg": {
  19598. "type": "object",
  19599. "properties": {
  19600. "areauserid": {
  19601. "description": "用户ID",
  19602. "type": "integer"
  19603. },
  19604. "buyinauditflag": {
  19605. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  19606. "type": "integer"
  19607. },
  19608. "customerauditflag": {
  19609. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  19610. "type": "integer"
  19611. },
  19612. "deliveryauditflag": {
  19613. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  19614. "type": "integer"
  19615. },
  19616. "invoiceauditflag": {
  19617. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  19618. "type": "integer"
  19619. },
  19620. "moneyauditflag": {
  19621. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  19622. "type": "integer"
  19623. },
  19624. "operatorid": {
  19625. "description": "操作人",
  19626. "type": "integer"
  19627. },
  19628. "operatorsrc": {
  19629. "description": "操作来源 - 1:管理端 2:终端",
  19630. "type": "integer"
  19631. },
  19632. "pointpriceauditflag": {
  19633. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  19634. "type": "integer"
  19635. },
  19636. "produceinauditflag": {
  19637. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  19638. "type": "integer"
  19639. },
  19640. "produceoutauditflag": {
  19641. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  19642. "type": "integer"
  19643. },
  19644. "selloutauditflag": {
  19645. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  19646. "type": "integer"
  19647. },
  19648. "spotcontractauditflag": {
  19649. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  19650. "type": "integer"
  19651. },
  19652. "updatetime": {
  19653. "description": "更新时间",
  19654. "type": "string"
  19655. }
  19656. }
  19657. },
  19658. "models.Ermcp3PaAreaSubject": {
  19659. "type": "object",
  19660. "properties": {
  19661. "areauserid": {
  19662. "description": "所属机构",
  19663. "type": "integer"
  19664. },
  19665. "canmodify": {
  19666. "description": "是否可修改 - 0:否 1:是",
  19667. "type": "integer"
  19668. },
  19669. "createtime": {
  19670. "description": "创建时间",
  19671. "type": "string"
  19672. },
  19673. "creatorid": {
  19674. "description": "创建人ID",
  19675. "type": "string"
  19676. },
  19677. "creatorsrc": {
  19678. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  19679. "type": "integer"
  19680. },
  19681. "modifierid": {
  19682. "description": "修改人",
  19683. "type": "string"
  19684. },
  19685. "modifiersrc": {
  19686. "description": "修改人来源 - 1:管理端 2:终端",
  19687. "type": "integer"
  19688. },
  19689. "modifytime": {
  19690. "description": "修改时间",
  19691. "type": "string"
  19692. },
  19693. "parentsubjectid": {
  19694. "description": "上级主体ID",
  19695. "type": "string"
  19696. },
  19697. "remark": {
  19698. "description": "备注",
  19699. "type": "string"
  19700. },
  19701. "subjectid": {
  19702. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  19703. "type": "integer"
  19704. },
  19705. "subjectname": {
  19706. "description": "主体名称",
  19707. "type": "string"
  19708. },
  19709. "subjectstatus": {
  19710. "description": "主体状态 - 1:正常 2: 停用",
  19711. "type": "integer"
  19712. },
  19713. "subjecttype": {
  19714. "description": "主体类型 - 1:交易主体 2:业务部门",
  19715. "type": "integer"
  19716. }
  19717. }
  19718. },
  19719. "models.Ermcp3RootUserAccount": {
  19720. "type": "object",
  19721. "properties": {
  19722. "accountname": {
  19723. "description": "账户名称(机构名称)",
  19724. "type": "string"
  19725. },
  19726. "accountstatus": {
  19727. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19728. "type": "integer"
  19729. },
  19730. "applysrc": {
  19731. "description": "申请来源 - 1:管理端 2:终端",
  19732. "type": "integer"
  19733. },
  19734. "auditremark": {
  19735. "description": "审核备注",
  19736. "type": "string"
  19737. },
  19738. "auditsrc": {
  19739. "description": "审核来源 - 1:管理端 2:终端",
  19740. "type": "integer"
  19741. },
  19742. "audittime": {
  19743. "description": "审核时间",
  19744. "type": "string"
  19745. },
  19746. "audituserid": {
  19747. "description": "审核人",
  19748. "type": "integer"
  19749. },
  19750. "broker": {
  19751. "description": "所属经纪人ID",
  19752. "type": "integer"
  19753. },
  19754. "canceltime": {
  19755. "description": "销户时间",
  19756. "type": "string"
  19757. },
  19758. "canceluserid": {
  19759. "description": "销户人",
  19760. "type": "integer"
  19761. },
  19762. "canrecommend": {
  19763. "description": "是否可推荐 - 0:不可 1;可",
  19764. "type": "integer"
  19765. },
  19766. "createtime": {
  19767. "description": "创建时间",
  19768. "type": "string"
  19769. },
  19770. "creatorid": {
  19771. "description": "创建人",
  19772. "type": "integer"
  19773. },
  19774. "hasauth": {
  19775. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19776. "type": "integer"
  19777. },
  19778. "isanonymous": {
  19779. "description": "是否匿名下单 - 0:否 1:是",
  19780. "type": "integer"
  19781. },
  19782. "maxinvestornum": {
  19783. "description": "最大用户数(经纪会员下投资者个数)",
  19784. "type": "integer"
  19785. },
  19786. "memberuserid": {
  19787. "description": "所属会员ID",
  19788. "type": "integer"
  19789. },
  19790. "modifierid": {
  19791. "description": "修改人",
  19792. "type": "integer"
  19793. },
  19794. "modifyremark": {
  19795. "description": "变更备注",
  19796. "type": "string"
  19797. },
  19798. "modifystatus": {
  19799. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19800. "type": "integer"
  19801. },
  19802. "modifytime": {
  19803. "description": "修改时间",
  19804. "type": "string"
  19805. },
  19806. "parenttopuser": {
  19807. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  19808. "type": "string"
  19809. },
  19810. "parentuserid": {
  19811. "description": "所属机构ID",
  19812. "type": "integer"
  19813. },
  19814. "reckonaccountid": {
  19815. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19816. "type": "integer"
  19817. },
  19818. "refercount": {
  19819. "description": "推荐总人数",
  19820. "type": "integer"
  19821. },
  19822. "refereeuserid": {
  19823. "description": "推荐人ID",
  19824. "type": "integer"
  19825. },
  19826. "refernum": {
  19827. "description": "推荐码",
  19828. "type": "string"
  19829. },
  19830. "rootuserid": {
  19831. "description": "根用户ID",
  19832. "type": "integer"
  19833. },
  19834. "subaccountlevel": {
  19835. "description": "子账户层数",
  19836. "type": "integer"
  19837. },
  19838. "subarealevelpath": {
  19839. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19840. "type": "string"
  19841. },
  19842. "userid": {
  19843. "description": "用户ID",
  19844. "type": "integer"
  19845. },
  19846. "usertype": {
  19847. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19848. "type": "integer"
  19849. }
  19850. }
  19851. },
  19852. "models.Ermcp3SellBuyContract": {
  19853. "type": "object",
  19854. "properties": {
  19855. "accountid": {
  19856. "description": "期货账户id",
  19857. "type": "string"
  19858. },
  19859. "accountname": {
  19860. "description": "账户名称",
  19861. "type": "string"
  19862. },
  19863. "attachment": {
  19864. "description": "附件",
  19865. "type": "string"
  19866. },
  19867. "audittime": {
  19868. "description": "审核时间",
  19869. "type": "string"
  19870. },
  19871. "biztype": {
  19872. "description": "业务类型 1-套保 2-套利",
  19873. "type": "integer"
  19874. },
  19875. "brandname": {
  19876. "description": "品牌名称",
  19877. "type": "string"
  19878. },
  19879. "contracctstatus": {
  19880. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19881. "type": "integer"
  19882. },
  19883. "contractmargin": {
  19884. "description": "合同保证金",
  19885. "type": "number"
  19886. },
  19887. "contractno": {
  19888. "description": "合同编号",
  19889. "type": "string"
  19890. },
  19891. "contracttype": {
  19892. "description": "合同类型 1-采购, -1-销售",
  19893. "type": "integer"
  19894. },
  19895. "convertfactor": {
  19896. "description": "标仓系数(品类)",
  19897. "type": "number"
  19898. },
  19899. "createtime": {
  19900. "description": "创建时间",
  19901. "type": "string"
  19902. },
  19903. "currencyid": {
  19904. "description": "币种id",
  19905. "type": "integer"
  19906. },
  19907. "currencyname": {
  19908. "description": "币种名称",
  19909. "type": "string"
  19910. },
  19911. "daikaiamount": {
  19912. "description": "应收(开)票额",
  19913. "type": "number"
  19914. },
  19915. "deliveryenddate": {
  19916. "description": "交割结束日",
  19917. "type": "string"
  19918. },
  19919. "deliverygoodscode": {
  19920. "description": "现货品种代码",
  19921. "type": "string"
  19922. },
  19923. "deliverygoodsid": {
  19924. "description": "现货商品ID",
  19925. "type": "integer"
  19926. },
  19927. "deliverygoodsname": {
  19928. "description": "现货品种名称",
  19929. "type": "string"
  19930. },
  19931. "deliverystartdate": {
  19932. "description": "交割开始日",
  19933. "type": "string"
  19934. },
  19935. "enddate": {
  19936. "description": "点价结束日",
  19937. "type": "string"
  19938. },
  19939. "enumdicname": {
  19940. "description": "单位名称",
  19941. "type": "string"
  19942. },
  19943. "goodscode": {
  19944. "description": "点价商品代码",
  19945. "type": "string"
  19946. },
  19947. "goodsid": {
  19948. "description": "点价商品ID",
  19949. "type": "integer"
  19950. },
  19951. "goodsname": {
  19952. "description": "点价商品名称",
  19953. "type": "string"
  19954. },
  19955. "invoiceamount": {
  19956. "description": "已开票额",
  19957. "type": "number"
  19958. },
  19959. "loanamount": {
  19960. "description": "贷款总额=已定价额+调整金额",
  19961. "type": "number"
  19962. },
  19963. "margin": {
  19964. "description": "保证金",
  19965. "type": "number"
  19966. },
  19967. "meruserid": {
  19968. "description": "跟单员id",
  19969. "type": "integer"
  19970. },
  19971. "meruserlogincode": {
  19972. "description": "跟单员登录代码",
  19973. "type": "string"
  19974. },
  19975. "merusername": {
  19976. "description": "跟单员名称",
  19977. "type": "string"
  19978. },
  19979. "nickname": {
  19980. "description": "账户昵称",
  19981. "type": "string"
  19982. },
  19983. "payamount": {
  19984. "description": "已收付额(收款或付款)",
  19985. "type": "number"
  19986. },
  19987. "preinvoiceamount": {
  19988. "description": "预收(开)票额",
  19989. "type": "number"
  19990. },
  19991. "prepayamount": {
  19992. "description": "预收付额",
  19993. "type": "number"
  19994. },
  19995. "price": {
  19996. "description": "价格",
  19997. "type": "number"
  19998. },
  19999. "pricedamount": {
  20000. "description": "已定价额",
  20001. "type": "number"
  20002. },
  20003. "pricedavg": {
  20004. "description": "已点均价",
  20005. "type": "number"
  20006. },
  20007. "pricedqty": {
  20008. "description": "已定价量",
  20009. "type": "number"
  20010. },
  20011. "pricemove": {
  20012. "description": "升贴水",
  20013. "type": "number"
  20014. },
  20015. "pricetype": {
  20016. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20017. "type": "integer"
  20018. },
  20019. "producttype": {
  20020. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20021. "type": "integer"
  20022. },
  20023. "qty": {
  20024. "description": "合同量",
  20025. "type": "number"
  20026. },
  20027. "reckonadjustamount": {
  20028. "description": "调整金额",
  20029. "type": "number"
  20030. },
  20031. "reckonedamount": {
  20032. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  20033. "type": "number"
  20034. },
  20035. "reckonotheramount": {
  20036. "description": "其它费用",
  20037. "type": "number"
  20038. },
  20039. "reckonrealqty": {
  20040. "description": "已确定量",
  20041. "type": "number"
  20042. },
  20043. "remark": {
  20044. "description": "备注",
  20045. "type": "string"
  20046. },
  20047. "saleuserid": {
  20048. "description": "业务员id",
  20049. "type": "integer"
  20050. },
  20051. "saleuserlogincode": {
  20052. "description": "业务员登录代码",
  20053. "type": "string"
  20054. },
  20055. "saleusername": {
  20056. "description": "业务员名称",
  20057. "type": "string"
  20058. },
  20059. "spotcontractid": {
  20060. "description": "合同ID",
  20061. "type": "string"
  20062. },
  20063. "spotgoodsbrandid": {
  20064. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20065. "type": "integer"
  20066. },
  20067. "spotgoodsdesc": {
  20068. "description": "商品型号(商品规格)",
  20069. "type": "string"
  20070. },
  20071. "startdate": {
  20072. "description": "点价开始日",
  20073. "type": "string"
  20074. },
  20075. "subjectid": {
  20076. "description": "交易主体ID",
  20077. "type": "string"
  20078. },
  20079. "subjectname": {
  20080. "description": "交易主体名称",
  20081. "type": "string"
  20082. },
  20083. "totalamount": {
  20084. "description": "合计总额",
  20085. "type": "number"
  20086. },
  20087. "tradeuserid": {
  20088. "description": "交易员id",
  20089. "type": "integer"
  20090. },
  20091. "tradeuserlogincode": {
  20092. "description": "交易员登录代码",
  20093. "type": "string"
  20094. },
  20095. "tradeusername": {
  20096. "description": "交易员名称",
  20097. "type": "string"
  20098. },
  20099. "unpayamount": {
  20100. "description": "应收付款额(应支付或应收款)",
  20101. "type": "number"
  20102. },
  20103. "unpricedqty": {
  20104. "description": "未定价量",
  20105. "type": "number"
  20106. },
  20107. "unsureqty": {
  20108. "description": "未确定量",
  20109. "type": "number"
  20110. },
  20111. "userid": {
  20112. "description": "机构ID",
  20113. "type": "integer"
  20114. },
  20115. "wrstandardcode": {
  20116. "description": "品类代码",
  20117. "type": "string"
  20118. },
  20119. "wrstandardid": {
  20120. "description": "品类ID",
  20121. "type": "integer"
  20122. },
  20123. "wrstandardname": {
  20124. "description": "品类名称",
  20125. "type": "string"
  20126. }
  20127. }
  20128. },
  20129. "models.Ermcp3SpotGoodsPrice": {
  20130. "type": "object",
  20131. "properties": {
  20132. "areauserid": {
  20133. "description": "所属机构id",
  20134. "type": "integer"
  20135. },
  20136. "brandname": {
  20137. "description": "品牌名称",
  20138. "type": "string"
  20139. },
  20140. "currencyid": {
  20141. "description": "报价货币ID",
  20142. "type": "integer"
  20143. },
  20144. "currencyname": {
  20145. "description": "币种名称",
  20146. "type": "string"
  20147. },
  20148. "deliverygoodscode": {
  20149. "description": "现货商品代码",
  20150. "type": "string"
  20151. },
  20152. "deliverygoodsid": {
  20153. "description": "现货商品id",
  20154. "type": "integer"
  20155. },
  20156. "deliverygoodsname": {
  20157. "description": "现货商品名称",
  20158. "type": "string"
  20159. },
  20160. "enumdicname": {
  20161. "description": "现货商品单位名称",
  20162. "type": "string"
  20163. },
  20164. "gbenumdicname": {
  20165. "description": "品类单位名称",
  20166. "type": "string"
  20167. },
  20168. "gmunitid": {
  20169. "description": "品类单位id",
  20170. "type": "integer"
  20171. },
  20172. "isvalid": {
  20173. "description": "是否有效 - 0:无效 1:有效",
  20174. "type": "integer"
  20175. },
  20176. "operateid": {
  20177. "description": "最后操作人",
  20178. "type": "integer"
  20179. },
  20180. "operatesrc": {
  20181. "description": "最后操作来源 - 1:管理端 2:终端",
  20182. "type": "integer"
  20183. },
  20184. "operatetime": {
  20185. "description": "最后操作时间",
  20186. "type": "string"
  20187. },
  20188. "operatorname": {
  20189. "description": "操作人名称",
  20190. "type": "string"
  20191. },
  20192. "spotgoodsbrandid": {
  20193. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  20194. "type": "integer"
  20195. },
  20196. "spotgoodsprice": {
  20197. "description": "现货价格",
  20198. "type": "number"
  20199. },
  20200. "tradedate": {
  20201. "description": "交易日(yyyyMMdd)",
  20202. "type": "string"
  20203. },
  20204. "unitid": {
  20205. "description": "现货商品单位id",
  20206. "type": "integer"
  20207. },
  20208. "wrstandardcode": {
  20209. "description": "品类代码",
  20210. "type": "string"
  20211. },
  20212. "wrstandardid": {
  20213. "description": "现货品类ID(通用则为0)",
  20214. "type": "integer"
  20215. },
  20216. "wrstandardname": {
  20217. "description": "品类名称",
  20218. "type": "string"
  20219. }
  20220. }
  20221. },
  20222. "models.Ermcp3SpotGoodsPriceLog": {
  20223. "type": "object",
  20224. "properties": {
  20225. "areauserid": {
  20226. "description": "所属机构id",
  20227. "type": "integer"
  20228. },
  20229. "brandname": {
  20230. "description": "品牌名称",
  20231. "type": "string"
  20232. },
  20233. "currencyid": {
  20234. "description": "报价货币ID",
  20235. "type": "integer"
  20236. },
  20237. "deliverygoodscode": {
  20238. "description": "现货商品代码",
  20239. "type": "string"
  20240. },
  20241. "deliverygoodsid": {
  20242. "description": "现货商品id",
  20243. "type": "integer"
  20244. },
  20245. "deliverygoodsname": {
  20246. "description": "现货商品名称",
  20247. "type": "string"
  20248. },
  20249. "enumdicname": {
  20250. "description": "现货商品单位名称",
  20251. "type": "string"
  20252. },
  20253. "gbenumdicname": {
  20254. "description": "品类单位名称",
  20255. "type": "string"
  20256. },
  20257. "gmunitid": {
  20258. "description": "品类单位id",
  20259. "type": "integer"
  20260. },
  20261. "logid": {
  20262. "description": "日志id",
  20263. "type": "integer"
  20264. },
  20265. "operateid": {
  20266. "description": "最后操作人",
  20267. "type": "integer"
  20268. },
  20269. "operatesrc": {
  20270. "description": "最后操作来源 - 1:管理端 2:终端",
  20271. "type": "integer"
  20272. },
  20273. "operatetime": {
  20274. "description": "最后操作时间",
  20275. "type": "string"
  20276. },
  20277. "operatorname": {
  20278. "description": "操作人名称",
  20279. "type": "string"
  20280. },
  20281. "spotgoodsbrandid": {
  20282. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  20283. "type": "integer"
  20284. },
  20285. "spotgoodsprice": {
  20286. "description": "现货价格",
  20287. "type": "number"
  20288. },
  20289. "tradedate": {
  20290. "description": "交易日(yyyyMMdd)",
  20291. "type": "string"
  20292. },
  20293. "unitid": {
  20294. "description": "现货商品单位id",
  20295. "type": "integer"
  20296. },
  20297. "wrstandardcode": {
  20298. "description": "品类代码",
  20299. "type": "string"
  20300. },
  20301. "wrstandardid": {
  20302. "description": "现货品类ID(通用则为0)",
  20303. "type": "integer"
  20304. },
  20305. "wrstandardname": {
  20306. "description": "品类名称",
  20307. "type": "string"
  20308. }
  20309. }
  20310. },
  20311. "models.Ermcp3TaFutuReDataReport": {
  20312. "type": "object",
  20313. "properties": {
  20314. "accountid": {
  20315. "description": "交易账户",
  20316. "type": "integer"
  20317. },
  20318. "accountname": {
  20319. "description": "交易账号名称",
  20320. "type": "string"
  20321. },
  20322. "agreeunit": {
  20323. "description": "商品合约单位",
  20324. "type": "number"
  20325. },
  20326. "begindate": {
  20327. "description": "开始交易日",
  20328. "type": "string"
  20329. },
  20330. "buyorsell": {
  20331. "description": "持仓方向",
  20332. "type": "integer"
  20333. },
  20334. "charge": {
  20335. "description": "手续费",
  20336. "type": "number"
  20337. },
  20338. "closeavgprice": {
  20339. "description": "平仓均价",
  20340. "type": "number"
  20341. },
  20342. "closepl": {
  20343. "description": "平仓损益",
  20344. "type": "number"
  20345. },
  20346. "currencyid": {
  20347. "description": "结算币种ID",
  20348. "type": "integer"
  20349. },
  20350. "currencyname": {
  20351. "description": "币种名称",
  20352. "type": "string"
  20353. },
  20354. "cycletime": {
  20355. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20356. "type": "string"
  20357. },
  20358. "cycletype": {
  20359. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20360. "type": "integer"
  20361. },
  20362. "enddate": {
  20363. "description": "结束交易日",
  20364. "type": "string"
  20365. },
  20366. "enumdicname": {
  20367. "description": "单位名称",
  20368. "type": "string"
  20369. },
  20370. "floatpl": {
  20371. "description": "浮动损益",
  20372. "type": "number"
  20373. },
  20374. "goodscode": {
  20375. "description": "交易合约代码",
  20376. "type": "string"
  20377. },
  20378. "goodsgroupid": {
  20379. "description": "交易品种",
  20380. "type": "integer"
  20381. },
  20382. "goodsgroupname": {
  20383. "description": "交易品种名称",
  20384. "type": "string"
  20385. },
  20386. "goodsgroupspotqty": {
  20387. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  20388. "type": "number"
  20389. },
  20390. "goodsid": {
  20391. "description": "交易合约",
  20392. "type": "integer"
  20393. },
  20394. "goodsname": {
  20395. "description": "交易合约名称",
  20396. "type": "string"
  20397. },
  20398. "goodunitid": {
  20399. "description": "交易合约单位id",
  20400. "type": "integer"
  20401. },
  20402. "holdamount": {
  20403. "description": "期末持仓额",
  20404. "type": "number"
  20405. },
  20406. "holdqty": {
  20407. "description": "期末持仓量",
  20408. "type": "number"
  20409. },
  20410. "lastholdamount": {
  20411. "description": "当前持仓额",
  20412. "type": "number"
  20413. },
  20414. "lastprice": {
  20415. "description": "最新价",
  20416. "type": "number"
  20417. },
  20418. "middlegoodsid": {
  20419. "description": "套保品种id",
  20420. "type": "integer"
  20421. },
  20422. "middlegoodsname": {
  20423. "description": "套保商品名称",
  20424. "type": "string"
  20425. },
  20426. "middlegoodsqty": {
  20427. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  20428. "type": "number"
  20429. },
  20430. "middlgoodscode": {
  20431. "description": "套保商品代码",
  20432. "type": "string"
  20433. },
  20434. "openamount": {
  20435. "description": "期末开仓额",
  20436. "type": "number"
  20437. },
  20438. "openavgprice": {
  20439. "description": "开仓均价",
  20440. "type": "number"
  20441. },
  20442. "oriholdamount": {
  20443. "description": "期初持仓额",
  20444. "type": "number"
  20445. },
  20446. "oriholdqty": {
  20447. "description": "期初持仓量",
  20448. "type": "number"
  20449. },
  20450. "oriopenamount": {
  20451. "description": "期初开仓额",
  20452. "type": "number"
  20453. },
  20454. "outergroupcode": {
  20455. "description": "交易品种代码",
  20456. "type": "string"
  20457. },
  20458. "qtydecimalplace": {
  20459. "description": "成交量小数位",
  20460. "type": "integer"
  20461. },
  20462. "reckondate": {
  20463. "description": "日照时期(yyyyMMdd)",
  20464. "type": "string"
  20465. },
  20466. "reckonholdamount": {
  20467. "description": "结算持仓额",
  20468. "type": "number"
  20469. },
  20470. "reckonpl": {
  20471. "description": "结算损益",
  20472. "type": "number"
  20473. },
  20474. "reckonpl2": {
  20475. "description": "结算逐笔盈亏",
  20476. "type": "number"
  20477. },
  20478. "reckonprice": {
  20479. "description": "结算价",
  20480. "type": "number"
  20481. },
  20482. "relateduserid": {
  20483. "description": "账户关联用户ID",
  20484. "type": "integer"
  20485. },
  20486. "todaycloseamount": {
  20487. "description": "今平仓额",
  20488. "type": "number"
  20489. },
  20490. "todaycloseqty": {
  20491. "description": "今平仓量",
  20492. "type": "number"
  20493. },
  20494. "todaygoodsgroupspotqty": {
  20495. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  20496. "type": "number"
  20497. },
  20498. "todaymiddlegoodsqty": {
  20499. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  20500. "type": "number"
  20501. },
  20502. "todayopenamount": {
  20503. "description": "今开仓额",
  20504. "type": "number"
  20505. },
  20506. "todayopenqty": {
  20507. "description": "今开仓量",
  20508. "type": "number"
  20509. },
  20510. "userid": {
  20511. "description": "账户所属用户ID",
  20512. "type": "integer"
  20513. }
  20514. }
  20515. },
  20516. "models.Ermcp3Wrstandard": {
  20517. "type": "object",
  20518. "properties": {
  20519. "areauserid": {
  20520. "description": "所属机构",
  20521. "type": "integer"
  20522. },
  20523. "cantrade": {
  20524. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  20525. "type": "integer"
  20526. },
  20527. "convertfactor": {
  20528. "description": "标仓系数",
  20529. "type": "number"
  20530. },
  20531. "createtime": {
  20532. "description": "创建时间",
  20533. "type": "string"
  20534. },
  20535. "creatorid": {
  20536. "description": "创建人",
  20537. "type": "integer"
  20538. },
  20539. "deliverygoodsid": {
  20540. "description": "现货品种ID",
  20541. "type": "integer"
  20542. },
  20543. "enumdicname": {
  20544. "description": "品类单位名称",
  20545. "type": "string"
  20546. },
  20547. "isvalid": {
  20548. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  20549. "type": "integer"
  20550. },
  20551. "minivalue": {
  20552. "description": "最小变动值",
  20553. "type": "integer"
  20554. },
  20555. "minivaluedp": {
  20556. "description": "最小变动值小数位",
  20557. "type": "integer"
  20558. },
  20559. "realminivalue": {
  20560. "description": "实际最小变动值",
  20561. "type": "integer"
  20562. },
  20563. "realminivaluedp": {
  20564. "description": "实际最小变动值小数位",
  20565. "type": "integer"
  20566. },
  20567. "remark": {
  20568. "description": "备注",
  20569. "type": "string"
  20570. },
  20571. "unitid": {
  20572. "description": "品类单位ID",
  20573. "type": "integer"
  20574. },
  20575. "updatetime": {
  20576. "description": "更新时间",
  20577. "type": "string"
  20578. },
  20579. "wrstandardcode": {
  20580. "description": "品类代码",
  20581. "type": "string"
  20582. },
  20583. "wrstandardid": {
  20584. "description": "品类ID(SEQ_WRSTANDARD)",
  20585. "type": "integer"
  20586. },
  20587. "wrstandardname": {
  20588. "description": "品类名称",
  20589. "type": "string"
  20590. }
  20591. }
  20592. },
  20593. "models.ErmcpAreaSpotDetailModel": {
  20594. "type": "object",
  20595. "properties": {
  20596. "contracttype": {
  20597. "description": "合同类型 1-采购 -1-销售",
  20598. "type": "integer"
  20599. },
  20600. "createtime": {
  20601. "description": "创建时间",
  20602. "type": "string"
  20603. },
  20604. "enumdicname": {
  20605. "description": "现货商品单位名称",
  20606. "type": "string"
  20607. },
  20608. "logtype": {
  20609. "description": "记录类型 1-套保 2-现货合同",
  20610. "type": "integer"
  20611. },
  20612. "qty": {
  20613. "description": "数量",
  20614. "type": "number"
  20615. },
  20616. "recordname": {
  20617. "description": "类型名称",
  20618. "type": "string"
  20619. },
  20620. "relatedid": {
  20621. "description": "套保计划ID/现货合同ID",
  20622. "type": "string"
  20623. },
  20624. "relatedno": {
  20625. "description": "编号",
  20626. "type": "string"
  20627. },
  20628. "strtime": {
  20629. "description": "时间",
  20630. "type": "string"
  20631. },
  20632. "wrstandardcode": {
  20633. "description": "现货商品代码",
  20634. "type": "string"
  20635. },
  20636. "wrstandardname": {
  20637. "description": "现货商品名称",
  20638. "type": "string"
  20639. }
  20640. }
  20641. },
  20642. "models.ErmcpAvalidGoodsGroupModel": {
  20643. "type": "object",
  20644. "properties": {
  20645. "goodsgroupid": {
  20646. "description": "期货品种id",
  20647. "type": "integer"
  20648. },
  20649. "goodsgroupname": {
  20650. "description": "期货品种名称",
  20651. "type": "string"
  20652. },
  20653. "goodunitid": {
  20654. "description": "品种单位id",
  20655. "type": "integer"
  20656. },
  20657. "goodunitname": {
  20658. "description": "品种单位名称",
  20659. "type": "string"
  20660. },
  20661. "outergroupcode": {
  20662. "description": "期货品种代码",
  20663. "type": "string"
  20664. }
  20665. }
  20666. },
  20667. "models.ErmcpBizGroupEx": {
  20668. "type": "object",
  20669. "properties": {
  20670. "acclist": {
  20671. "description": "账号列表",
  20672. "type": "array",
  20673. "items": {
  20674. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  20675. }
  20676. },
  20677. "bizgroupid": {
  20678. "description": "业务分组id",
  20679. "type": "integer"
  20680. },
  20681. "biztype": {
  20682. "description": "业务类型 1-套保 2-套利",
  20683. "type": "integer"
  20684. },
  20685. "wrlist": {
  20686. "description": "现货商品表",
  20687. "type": "array",
  20688. "items": {
  20689. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  20690. }
  20691. }
  20692. }
  20693. },
  20694. "models.ErmcpBizGroupSpotGoods": {
  20695. "type": "object",
  20696. "properties": {
  20697. "areauserid": {
  20698. "description": "所属机构id",
  20699. "type": "integer"
  20700. },
  20701. "bizgroupid": {
  20702. "description": "分组id",
  20703. "type": "integer"
  20704. },
  20705. "biztype": {
  20706. "description": "业务类型 1-套保 2-套利",
  20707. "type": "integer"
  20708. },
  20709. "deliverygoodscode": {
  20710. "description": "现货商品代码",
  20711. "type": "string"
  20712. },
  20713. "deliverygoodsid": {
  20714. "description": "现货商品id",
  20715. "type": "integer"
  20716. },
  20717. "deliverygoodsname": {
  20718. "description": "现货商品名称",
  20719. "type": "string"
  20720. },
  20721. "unitid": {
  20722. "description": "现货商品单位id",
  20723. "type": "integer"
  20724. }
  20725. }
  20726. },
  20727. "models.ErmcpBizGroupTaAccount": {
  20728. "type": "object",
  20729. "properties": {
  20730. "accountid": {
  20731. "description": "账号id",
  20732. "type": "integer"
  20733. },
  20734. "accountname": {
  20735. "description": "账号名称",
  20736. "type": "string"
  20737. },
  20738. "areauserid": {
  20739. "description": "所属机构id",
  20740. "type": "integer"
  20741. },
  20742. "bizgroupid": {
  20743. "description": "业务分组id",
  20744. "type": "integer"
  20745. },
  20746. "ismain": {
  20747. "description": "是否主账号 1-是 0-否",
  20748. "type": "integer"
  20749. }
  20750. }
  20751. },
  20752. "models.ErmcpDGFactoryItem": {
  20753. "type": "object",
  20754. "properties": {
  20755. "areauserid": {
  20756. "description": "用户id",
  20757. "type": "integer"
  20758. },
  20759. "deliverygoodsid": {
  20760. "description": "现货品种ID",
  20761. "type": "integer"
  20762. },
  20763. "dgfactoryitemid": {
  20764. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20765. "type": "integer"
  20766. },
  20767. "dgfactoryitemtypeid": {
  20768. "description": "要素项类型",
  20769. "type": "integer"
  20770. },
  20771. "dgfactoryitemvalue": {
  20772. "description": "要素项值(类型为仓库时填写仓库名称)",
  20773. "type": "string"
  20774. },
  20775. "isvalid": {
  20776. "description": "是否有效 - 0:无效 1:有效",
  20777. "type": "integer"
  20778. },
  20779. "orderindex": {
  20780. "description": "顺序",
  20781. "type": "integer"
  20782. },
  20783. "warehouseid": {
  20784. "description": "仓库ID(类型为仓库时填写)",
  20785. "type": "integer"
  20786. }
  20787. }
  20788. },
  20789. "models.ErmcpDeliveryGoods": {
  20790. "type": "object",
  20791. "properties": {
  20792. "agreeunit": {
  20793. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  20794. "type": "integer"
  20795. },
  20796. "areauserid": {
  20797. "description": "所属机构",
  20798. "type": "integer"
  20799. },
  20800. "auditflag": {
  20801. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  20802. "type": "integer"
  20803. },
  20804. "categoryid": {
  20805. "description": "类别ID(SEQ_WRCATEGORY)",
  20806. "type": "integer"
  20807. },
  20808. "deliverygoodscode": {
  20809. "description": "现货品种代码",
  20810. "type": "string"
  20811. },
  20812. "deliverygoodsid": {
  20813. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  20814. "type": "integer"
  20815. },
  20816. "deliverygoodsname": {
  20817. "description": "现货品种名称",
  20818. "type": "string"
  20819. },
  20820. "deliverygoodstype": {
  20821. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  20822. "type": "integer"
  20823. },
  20824. "dgstatus": {
  20825. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  20826. "type": "integer"
  20827. },
  20828. "enumdicname": {
  20829. "description": "现货品种单位名称",
  20830. "type": "string"
  20831. },
  20832. "goodsunitid": {
  20833. "description": "现货品种单位ID",
  20834. "type": "integer"
  20835. },
  20836. "isvalid": {
  20837. "description": "是否有效 - 0:无效 1:有效",
  20838. "type": "integer"
  20839. },
  20840. "qtydecimalplace": {
  20841. "description": "成交量小数位",
  20842. "type": "integer"
  20843. },
  20844. "remark": {
  20845. "description": "备注",
  20846. "type": "string"
  20847. },
  20848. "standardqty": {
  20849. "description": "标准数量(库位数量) [标准品特有]",
  20850. "type": "integer"
  20851. },
  20852. "standardqtyrange": {
  20853. "description": "标准数量偏差范围 [标准品特有]",
  20854. "type": "integer"
  20855. }
  20856. }
  20857. },
  20858. "models.ErmcpExposureDetailModel": {
  20859. "type": "object",
  20860. "properties": {
  20861. "areauserid": {
  20862. "description": "机构ID",
  20863. "type": "integer"
  20864. },
  20865. "changeQty": {
  20866. "description": "套保变动量",
  20867. "type": "number"
  20868. },
  20869. "contracttype": {
  20870. "description": "现货合同类型 - 1:采购 -1:销售",
  20871. "type": "integer"
  20872. },
  20873. "convertfactor": {
  20874. "description": "标仓系数",
  20875. "type": "number"
  20876. },
  20877. "convertratio": {
  20878. "description": "套保系数",
  20879. "type": "number"
  20880. },
  20881. "createtime": {
  20882. "description": "时间",
  20883. "type": "string"
  20884. },
  20885. "enumdicname": {
  20886. "description": "现货商品单位名称",
  20887. "type": "string"
  20888. },
  20889. "logtype": {
  20890. "description": "类型 - 1:套保计划 2:现货合同",
  20891. "type": "integer"
  20892. },
  20893. "middlegoodsId": {
  20894. "description": "套保商品id",
  20895. "type": "integer"
  20896. },
  20897. "middlegoodscode": {
  20898. "description": "套保商品代码",
  20899. "type": "string"
  20900. },
  20901. "middlegoodsname": {
  20902. "description": "套保商品名称",
  20903. "type": "string"
  20904. },
  20905. "qty": {
  20906. "description": "数量",
  20907. "type": "number"
  20908. },
  20909. "relateNo": {
  20910. "description": "现货合同/套保计划编号",
  20911. "type": "string"
  20912. },
  20913. "wrstandardcode": {
  20914. "description": "现货商品代码",
  20915. "type": "string"
  20916. },
  20917. "wrstandardid": {
  20918. "description": "现货商品ID",
  20919. "type": "integer"
  20920. },
  20921. "wrstandardname": {
  20922. "description": "现货商品名称",
  20923. "type": "string"
  20924. }
  20925. }
  20926. },
  20927. "models.ErmcpExposurePostion": {
  20928. "type": "object",
  20929. "properties": {
  20930. "agreeunit": {
  20931. "description": "合约单位",
  20932. "type": "string"
  20933. },
  20934. "areauserid": {
  20935. "description": "所属机构id",
  20936. "type": "integer"
  20937. },
  20938. "convertratio": {
  20939. "description": "期货品种系数(折算系数)",
  20940. "type": "number"
  20941. },
  20942. "curqty": {
  20943. "description": "当前持仓",
  20944. "type": "integer"
  20945. },
  20946. "diffhedgeqty": {
  20947. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  20948. "type": "number"
  20949. },
  20950. "diffqty": {
  20951. "description": "持仓变动量=当前持仓-昨日持仓",
  20952. "type": "integer"
  20953. },
  20954. "goodscode": {
  20955. "description": "商品代码",
  20956. "type": "string"
  20957. },
  20958. "goodsid": {
  20959. "description": "商品id",
  20960. "type": "integer"
  20961. },
  20962. "goodsname": {
  20963. "description": "商品名称",
  20964. "type": "string"
  20965. },
  20966. "middlegoodsid": {
  20967. "description": "套保商品id",
  20968. "type": "integer"
  20969. },
  20970. "ydqty": {
  20971. "description": "昨日持仓",
  20972. "type": "integer"
  20973. }
  20974. }
  20975. },
  20976. "models.ErmcpFuturesCompany": {
  20977. "type": "object",
  20978. "properties": {
  20979. "brokerid": {
  20980. "description": "经纪公司代码",
  20981. "type": "string"
  20982. },
  20983. "channeladdress": {
  20984. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  20985. "type": "string"
  20986. },
  20987. "channelid": {
  20988. "description": "对冲渠道ID",
  20989. "type": "string"
  20990. },
  20991. "createtime": {
  20992. "description": "创建时间",
  20993. "type": "string"
  20994. },
  20995. "creatorid": {
  20996. "description": "创建人",
  20997. "type": "string"
  20998. },
  20999. "fcid": {
  21000. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  21001. "type": "integer"
  21002. },
  21003. "fcname": {
  21004. "description": "期货公司名称",
  21005. "type": "string"
  21006. },
  21007. "isvalid": {
  21008. "description": "是否有效 - 0:无效 1:有效",
  21009. "type": "integer"
  21010. },
  21011. "mhpaddress": {
  21012. "description": "MHP服务地址(IP:Port)",
  21013. "type": "string"
  21014. },
  21015. "riskrulegroupid": {
  21016. "description": "风控规则组ID",
  21017. "type": "string"
  21018. },
  21019. "tradefeetmpid": {
  21020. "description": "手续费模板ID[TradeConfigTmpType为2]",
  21021. "type": "string"
  21022. },
  21023. "trademargintmpid": {
  21024. "description": "保证金模板ID [TradeConfigTmpType为1]",
  21025. "type": "string"
  21026. },
  21027. "traderatetmpid": {
  21028. "description": "汇率模板ID[TradeConfigTmpType为3]",
  21029. "type": "string"
  21030. },
  21031. "updatetime": {
  21032. "description": "更新时间",
  21033. "type": "string"
  21034. },
  21035. "updatorid": {
  21036. "description": "更新人",
  21037. "type": "string"
  21038. }
  21039. }
  21040. },
  21041. "models.ErmcpGGConvertCfg": {
  21042. "type": "object",
  21043. "properties": {
  21044. "convertratio": {
  21045. "description": "折算系数",
  21046. "type": "number"
  21047. },
  21048. "destgoodsgroupid": {
  21049. "description": "目标品种ID",
  21050. "type": "integer"
  21051. },
  21052. "dstcode": {
  21053. "description": "目录品种代码",
  21054. "type": "string"
  21055. },
  21056. "dstexchangecode": {
  21057. "description": "目标期货交易所",
  21058. "type": "string"
  21059. },
  21060. "dstname": {
  21061. "description": "目标品种名称",
  21062. "type": "string"
  21063. },
  21064. "dstunitid": {
  21065. "description": "目标品种单位ID",
  21066. "type": "integer"
  21067. },
  21068. "dstunitidname": {
  21069. "description": "目标品种单位名称",
  21070. "type": "string"
  21071. },
  21072. "modifytime": {
  21073. "description": "修改时间",
  21074. "type": "string"
  21075. },
  21076. "srccode": {
  21077. "description": "源品种代码",
  21078. "type": "string"
  21079. },
  21080. "srcexchangecode": {
  21081. "description": "源期货交易所",
  21082. "type": "string"
  21083. },
  21084. "srcgoodsgroupid": {
  21085. "description": "源品种ID",
  21086. "type": "integer"
  21087. },
  21088. "srcname": {
  21089. "description": "源品种名称",
  21090. "type": "string"
  21091. },
  21092. "srcunitid": {
  21093. "description": "源品种单位ID",
  21094. "type": "integer"
  21095. },
  21096. "srcunitidname": {
  21097. "description": "源品种单位名称",
  21098. "type": "string"
  21099. }
  21100. }
  21101. },
  21102. "models.ErmcpGoods": {
  21103. "type": "object",
  21104. "required": [
  21105. "goodscode",
  21106. "goodsid",
  21107. "goodsname",
  21108. "marketid"
  21109. ],
  21110. "properties": {
  21111. "agreeunit": {
  21112. "description": "合约单位",
  21113. "type": "number"
  21114. },
  21115. "areauserid": {
  21116. "description": "所属机构",
  21117. "type": "integer"
  21118. },
  21119. "auditaccountid": {
  21120. "description": "审核操作员账号",
  21121. "type": "integer"
  21122. },
  21123. "audittime": {
  21124. "description": "审核时间",
  21125. "type": "string"
  21126. },
  21127. "cancelaccountid": {
  21128. "description": "注销操作员账号",
  21129. "type": "integer"
  21130. },
  21131. "canceltime": {
  21132. "description": "注销时间",
  21133. "type": "string"
  21134. },
  21135. "closepricemode": {
  21136. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21137. "type": "integer"
  21138. },
  21139. "closepriceparam": {
  21140. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  21141. "type": "number"
  21142. },
  21143. "createtime": {
  21144. "description": "创建时间",
  21145. "type": "string"
  21146. },
  21147. "creatorid": {
  21148. "description": "创建人",
  21149. "type": "integer"
  21150. },
  21151. "currencyid": {
  21152. "description": "报价货币ID",
  21153. "type": "integer"
  21154. },
  21155. "cutmode": {
  21156. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  21157. "type": "integer"
  21158. },
  21159. "decimalplace": {
  21160. "description": "报价小数位",
  21161. "type": "integer"
  21162. },
  21163. "delistingdate": {
  21164. "description": "商品退市时间(状态:退市) -- 已作废",
  21165. "type": "string"
  21166. },
  21167. "delistingmode": {
  21168. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  21169. "type": "integer"
  21170. },
  21171. "deliveryflag": {
  21172. "description": "交割标志 - 0:不可交割 1:可交割",
  21173. "type": "integer"
  21174. },
  21175. "enumdicname": {
  21176. "description": "单位名称",
  21177. "type": "string"
  21178. },
  21179. "forceclosemode": {
  21180. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  21181. "type": "integer"
  21182. },
  21183. "forceclosevalue": {
  21184. "description": "定期强平参数 [收益权]",
  21185. "type": "integer"
  21186. },
  21187. "goodscode": {
  21188. "description": "商品代码(内部)",
  21189. "type": "string"
  21190. },
  21191. "goodscurrencyid": {
  21192. "description": "合约货币ID",
  21193. "type": "integer"
  21194. },
  21195. "goodsgroupid": {
  21196. "description": "所属商品组ID",
  21197. "type": "integer"
  21198. },
  21199. "goodsid": {
  21200. "description": "商品ID(自增ID SEQ_GOODS)",
  21201. "type": "integer"
  21202. },
  21203. "goodsname": {
  21204. "description": "商品名称",
  21205. "type": "string"
  21206. },
  21207. "goodsquotetype": {
  21208. "description": "合约报价类型: 1-直接报价 2-间接报价",
  21209. "type": "integer"
  21210. },
  21211. "goodsstatus": {
  21212. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21213. "type": "integer"
  21214. },
  21215. "goodstradetype": {
  21216. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  21217. "type": "integer"
  21218. },
  21219. "goodunitid": {
  21220. "description": "报价单位ID",
  21221. "type": "integer"
  21222. },
  21223. "hasquoter": {
  21224. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  21225. "type": "integer"
  21226. },
  21227. "hqprotecttime": {
  21228. "description": "行情保护时间(秒)",
  21229. "type": "integer"
  21230. },
  21231. "innerdealmode": {
  21232. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21233. "type": "integer"
  21234. },
  21235. "isbuylimited": {
  21236. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21237. "type": "integer"
  21238. },
  21239. "isvisible": {
  21240. "description": "游客是否可见 - 0:不可见 1:可见",
  21241. "type": "integer"
  21242. },
  21243. "lasttradedate": {
  21244. "description": "最后交易日期(状态:待退市)",
  21245. "type": "string"
  21246. },
  21247. "listingdate": {
  21248. "description": "交易开始日期",
  21249. "type": "string"
  21250. },
  21251. "marketid": {
  21252. "description": "所属市场ID",
  21253. "type": "integer"
  21254. },
  21255. "modifierid": {
  21256. "description": "修改人",
  21257. "type": "integer"
  21258. },
  21259. "modifystatus": {
  21260. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  21261. "type": "integer"
  21262. },
  21263. "modifytime": {
  21264. "description": "修改时间",
  21265. "type": "string"
  21266. },
  21267. "outerdealmode": {
  21268. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21269. "type": "integer"
  21270. },
  21271. "outgoodscode": {
  21272. "description": "商品代码(外部)",
  21273. "type": "string"
  21274. },
  21275. "pictureurl": {
  21276. "description": "商品图片",
  21277. "type": "string"
  21278. },
  21279. "qtydecimalplace": {
  21280. "description": "成交量小数位",
  21281. "type": "integer"
  21282. },
  21283. "quotegear": {
  21284. "description": "行情档位(1-10)",
  21285. "type": "integer"
  21286. },
  21287. "quoteminunit": {
  21288. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21289. "type": "integer"
  21290. },
  21291. "quoteshowtype": {
  21292. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  21293. "type": "integer"
  21294. },
  21295. "quoteshowtypeinterval": {
  21296. "description": "行情报价间隔时间(秒)(成交价时为0)",
  21297. "type": "integer"
  21298. },
  21299. "relatedgoodsid": {
  21300. "description": "关联参考商品ID",
  21301. "type": "integer"
  21302. },
  21303. "remark": {
  21304. "description": "备注",
  21305. "type": "string"
  21306. },
  21307. "trademode": {
  21308. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21309. "type": "integer"
  21310. }
  21311. }
  21312. },
  21313. "models.ErmcpGoodsBrand": {
  21314. "type": "object",
  21315. "properties": {
  21316. "areauserid": {
  21317. "description": "所属机构",
  21318. "type": "integer"
  21319. },
  21320. "brandid": {
  21321. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  21322. "type": "integer"
  21323. },
  21324. "brandname": {
  21325. "description": "品牌名称",
  21326. "type": "string"
  21327. },
  21328. "createtime": {
  21329. "description": "创建时间",
  21330. "type": "string"
  21331. },
  21332. "creatorid": {
  21333. "description": "创建人",
  21334. "type": "integer"
  21335. },
  21336. "creatorsrc": {
  21337. "description": "创建人来源 - 1:管理端 2:终端",
  21338. "type": "integer"
  21339. },
  21340. "deliverygoodsid": {
  21341. "description": "现货品种ID",
  21342. "type": "integer"
  21343. },
  21344. "isvalid": {
  21345. "description": "是否有效 - 0:无效 1:有效",
  21346. "type": "integer"
  21347. },
  21348. "updatetime": {
  21349. "description": "更新时间",
  21350. "type": "string"
  21351. },
  21352. "updatorid": {
  21353. "description": "更新人",
  21354. "type": "integer"
  21355. },
  21356. "updatorsrc": {
  21357. "description": "更新人来源 - 1:管理端 2:终端",
  21358. "type": "integer"
  21359. },
  21360. "wrstandardid": {
  21361. "description": "现货商品ID",
  21362. "type": "integer"
  21363. }
  21364. }
  21365. },
  21366. "models.ErmcpGoodsModel": {
  21367. "type": "object",
  21368. "properties": {
  21369. "areauserid": {
  21370. "description": "所属机构",
  21371. "type": "integer"
  21372. },
  21373. "convertfactor": {
  21374. "description": "标仓系数",
  21375. "type": "number"
  21376. },
  21377. "createtime": {
  21378. "description": "创建时间",
  21379. "type": "string"
  21380. },
  21381. "creatorid": {
  21382. "description": "创建人",
  21383. "type": "integer"
  21384. },
  21385. "creatorsrc": {
  21386. "description": "创建人来源 - 1:管理端 2:终端",
  21387. "type": "integer"
  21388. },
  21389. "deliverygoodsid": {
  21390. "description": "现货品种ID",
  21391. "type": "integer"
  21392. },
  21393. "isvalid": {
  21394. "description": "是否有效 - 0:无效 1:有效",
  21395. "type": "integer"
  21396. },
  21397. "modelid": {
  21398. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  21399. "type": "integer"
  21400. },
  21401. "modelname": {
  21402. "description": "型号名称",
  21403. "type": "string"
  21404. },
  21405. "updatetime": {
  21406. "description": "更新时间",
  21407. "type": "string"
  21408. },
  21409. "updatorid": {
  21410. "description": "更新人",
  21411. "type": "integer"
  21412. },
  21413. "updatorsrc": {
  21414. "description": "更新人来源 - 1:管理端 2:终端",
  21415. "type": "integer"
  21416. },
  21417. "wrstandardid": {
  21418. "description": "现货商品ID",
  21419. "type": "integer"
  21420. }
  21421. }
  21422. },
  21423. "models.ErmcpHedgePosition": {
  21424. "type": "object",
  21425. "properties": {
  21426. "accountid": {
  21427. "description": "资金账号[外部母账户]",
  21428. "type": "integer"
  21429. },
  21430. "curbuyposition": {
  21431. "description": "期末买头寸",
  21432. "type": "integer"
  21433. },
  21434. "cursellposition": {
  21435. "description": "期末卖头寸",
  21436. "type": "integer"
  21437. },
  21438. "curtdbuyposition": {
  21439. "description": "期末今日买头寸",
  21440. "type": "integer"
  21441. },
  21442. "curtdsellposition": {
  21443. "description": "期末今日卖头寸",
  21444. "type": "integer"
  21445. },
  21446. "curydbuyposition": {
  21447. "description": "期末上日买头寸",
  21448. "type": "integer"
  21449. },
  21450. "curydsellposition": {
  21451. "description": "期末上日卖头寸",
  21452. "type": "integer"
  21453. },
  21454. "decreaseqty": {
  21455. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  21456. "type": "integer"
  21457. },
  21458. "fretdbuyposition": {
  21459. "description": "冻结今日买头寸",
  21460. "type": "integer"
  21461. },
  21462. "fretdsellposition": {
  21463. "description": "冻结今日卖头寸",
  21464. "type": "integer"
  21465. },
  21466. "freydbuyposition": {
  21467. "description": "冻结上日买头寸",
  21468. "type": "integer"
  21469. },
  21470. "freydsellposition": {
  21471. "description": "冻结上日卖头寸",
  21472. "type": "integer"
  21473. },
  21474. "goodscode": {
  21475. "description": "商品代码",
  21476. "type": "string"
  21477. },
  21478. "goodsid": {
  21479. "description": "商品id",
  21480. "type": "integer"
  21481. },
  21482. "goodsname": {
  21483. "description": "商品名称",
  21484. "type": "string"
  21485. },
  21486. "hedgeaccountcode": {
  21487. "description": "对冲账号",
  21488. "type": "string"
  21489. },
  21490. "hedgegoodsid": {
  21491. "description": "对冲合约ID",
  21492. "type": "integer"
  21493. },
  21494. "increaseqty": {
  21495. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  21496. "type": "integer"
  21497. },
  21498. "marketid": {
  21499. "description": "市场ID",
  21500. "type": "integer"
  21501. },
  21502. "relateduserid": {
  21503. "description": "关联用户id",
  21504. "type": "integer"
  21505. },
  21506. "totalcurqty": {
  21507. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  21508. "type": "integer"
  21509. },
  21510. "totalydqty": {
  21511. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  21512. "type": "integer"
  21513. },
  21514. "tradedate": {
  21515. "description": "交易日(yyyyMMdd)",
  21516. "type": "string"
  21517. },
  21518. "ydbuyposition": {
  21519. "description": "期初买头寸",
  21520. "type": "integer"
  21521. },
  21522. "ydsellposition": {
  21523. "description": "期初卖头寸",
  21524. "type": "integer"
  21525. }
  21526. }
  21527. },
  21528. "models.ErmcpHedgePositionDetail": {
  21529. "type": "object",
  21530. "properties": {
  21531. "buyorsell": {
  21532. "description": "买卖方向 0-买 1-卖",
  21533. "type": "integer"
  21534. },
  21535. "channelbuildtype": {
  21536. "description": "开平方向 1-建仓 2-平仓",
  21537. "type": "integer"
  21538. },
  21539. "goodscode": {
  21540. "description": "商品代码",
  21541. "type": "string"
  21542. },
  21543. "goodsname": {
  21544. "description": "商品名称",
  21545. "type": "string"
  21546. },
  21547. "hedgegoodsid": {
  21548. "description": "商品id",
  21549. "type": "integer"
  21550. },
  21551. "tradeqty": {
  21552. "description": "数量(成交数量)",
  21553. "type": "integer"
  21554. },
  21555. "tradetime": {
  21556. "description": "时间(成交时间)",
  21557. "type": "string"
  21558. }
  21559. }
  21560. },
  21561. "models.ErmcpHisExposure": {
  21562. "type": "object",
  21563. "properties": {
  21564. "needhedgeexposoure": {
  21565. "description": "应套保敞口",
  21566. "type": "number"
  21567. },
  21568. "reckondate": {
  21569. "description": "日照时期(yyyyMMdd)",
  21570. "type": "string"
  21571. },
  21572. "totalexposure": {
  21573. "description": "总敞口",
  21574. "type": "number"
  21575. }
  21576. }
  21577. },
  21578. "models.ErmcpHisExposureS": {
  21579. "type": "object",
  21580. "properties": {
  21581. "data": {
  21582. "description": "历史敞口",
  21583. "type": "array",
  21584. "items": {
  21585. "$ref": "#/definitions/models.ErmcpHisExposure"
  21586. }
  21587. },
  21588. "enumdicname": {
  21589. "description": "单位名称",
  21590. "type": "string"
  21591. },
  21592. "middlegoodscode": {
  21593. "description": "套保品种代码",
  21594. "type": "string"
  21595. },
  21596. "middlegoodsid": {
  21597. "description": "套保品种ID",
  21598. "type": "integer"
  21599. },
  21600. "middlegoodsname": {
  21601. "description": "套保品种名称",
  21602. "type": "string"
  21603. }
  21604. }
  21605. },
  21606. "models.ErmcpLoginTaAccount": {
  21607. "type": "object",
  21608. "properties": {
  21609. "accountid": {
  21610. "description": "账号id",
  21611. "type": "integer"
  21612. },
  21613. "accountname": {
  21614. "description": "账号名称",
  21615. "type": "string"
  21616. }
  21617. }
  21618. },
  21619. "models.ErmcpLoginUser": {
  21620. "type": "object",
  21621. "properties": {
  21622. "acclist": {
  21623. "description": "关联资金账号",
  21624. "type": "array",
  21625. "items": {
  21626. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  21627. }
  21628. },
  21629. "accountname": {
  21630. "description": "用户名称",
  21631. "type": "string"
  21632. },
  21633. "clientroleid": {
  21634. "description": "角色id(usertype=2)",
  21635. "type": "integer"
  21636. },
  21637. "createtime": {
  21638. "description": "创建时间",
  21639. "type": "string"
  21640. },
  21641. "logincode": {
  21642. "description": "登录代码",
  21643. "type": "string"
  21644. },
  21645. "loginid": {
  21646. "description": "登录id(LOGINID)",
  21647. "type": "integer"
  21648. },
  21649. "loginname": {
  21650. "description": "登录名称(loginaccount表中的accountname字段)",
  21651. "type": "string"
  21652. },
  21653. "loginstatus": {
  21654. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  21655. "type": "integer"
  21656. },
  21657. "memberuserid": {
  21658. "description": "所属会员id",
  21659. "type": "integer"
  21660. },
  21661. "mobile": {
  21662. "description": "手机号",
  21663. "type": "string"
  21664. },
  21665. "modifytime": {
  21666. "description": "修改时间",
  21667. "type": "string"
  21668. },
  21669. "password": {
  21670. "description": "密码(不可解密)",
  21671. "type": "string"
  21672. },
  21673. "rolename": {
  21674. "description": "角色名称",
  21675. "type": "string"
  21676. },
  21677. "rolestatus": {
  21678. "description": "角色状态 1-启用 2-停用",
  21679. "type": "integer"
  21680. },
  21681. "roletype": {
  21682. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  21683. "type": "string"
  21684. },
  21685. "userid": {
  21686. "description": "用户id",
  21687. "type": "integer"
  21688. },
  21689. "usertype": {
  21690. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  21691. "type": "integer"
  21692. }
  21693. }
  21694. },
  21695. "models.ErmcpLoginUserEx": {
  21696. "type": "object",
  21697. "properties": {
  21698. "accountstatus": {
  21699. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21700. "type": "integer"
  21701. },
  21702. "mobile": {
  21703. "description": "手机号",
  21704. "type": "string"
  21705. },
  21706. "querytype": {
  21707. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  21708. "type": "integer"
  21709. },
  21710. "roleid": {
  21711. "description": "角色id(交易账户-\u003e用户id)",
  21712. "type": "integer"
  21713. },
  21714. "rolename": {
  21715. "description": "角色名称(交易账户-\u003e用户名称)",
  21716. "type": "string"
  21717. },
  21718. "userlist": {
  21719. "description": "用户列表",
  21720. "type": "array",
  21721. "items": {
  21722. "$ref": "#/definitions/models.ErmcpLoginUser"
  21723. }
  21724. },
  21725. "usertype": {
  21726. "description": "用户类型 2-机构 7-企业成员(云平台)",
  21727. "type": "integer"
  21728. }
  21729. }
  21730. },
  21731. "models.ErmcpMiddleGoodsChangeLog": {
  21732. "type": "object",
  21733. "properties": {
  21734. "aftervalue": {
  21735. "description": "变更后",
  21736. "type": "number"
  21737. },
  21738. "applyid": {
  21739. "description": "操作人",
  21740. "type": "integer"
  21741. },
  21742. "applyname": {
  21743. "description": "操作人名称",
  21744. "type": "string"
  21745. },
  21746. "applysrc": {
  21747. "description": "操作来源 - 1:管理端 2:终端",
  21748. "type": "integer"
  21749. },
  21750. "beforevalue": {
  21751. "description": "变更前",
  21752. "type": "number"
  21753. },
  21754. "changelogtype": {
  21755. "description": "变更流水类型 - 1:套保比率变更",
  21756. "type": "integer"
  21757. },
  21758. "handlestatus": {
  21759. "description": "处理状态",
  21760. "type": "integer"
  21761. },
  21762. "logdatetime": {
  21763. "description": "流水日期",
  21764. "type": "string"
  21765. },
  21766. "logid": {
  21767. "description": "流水ID",
  21768. "type": "integer"
  21769. },
  21770. "logremark": {
  21771. "description": "流水备注",
  21772. "type": "string"
  21773. },
  21774. "middlegoodsid": {
  21775. "description": "套保品种ID",
  21776. "type": "integer"
  21777. },
  21778. "tradedate": {
  21779. "description": "交易日(yyyyMMdd)",
  21780. "type": "string"
  21781. },
  21782. "updatetime": {
  21783. "description": "更新时间",
  21784. "type": "string"
  21785. }
  21786. }
  21787. },
  21788. "models.ErmcpMiddleGoodsDetail": {
  21789. "type": "object",
  21790. "properties": {
  21791. "cvList": {
  21792. "description": "期货品种折算列表",
  21793. "type": "array",
  21794. "items": {
  21795. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  21796. }
  21797. },
  21798. "mg": {
  21799. "description": "套保品种基本信息",
  21800. "type": "object",
  21801. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  21802. },
  21803. "wrcList": {
  21804. "description": "现货品种列表(现货商品折算配置)",
  21805. "type": "array",
  21806. "items": {
  21807. "$ref": "#/definitions/models.WRSConverTDetail"
  21808. }
  21809. }
  21810. }
  21811. },
  21812. "models.ErmcpMiddleGoodsModel": {
  21813. "type": "object",
  21814. "properties": {
  21815. "areauserid": {
  21816. "description": "机构用户ID",
  21817. "type": "integer"
  21818. },
  21819. "createtime": {
  21820. "description": "修改时间",
  21821. "type": "string"
  21822. },
  21823. "enumdicname": {
  21824. "description": "单位名称",
  21825. "type": "string"
  21826. },
  21827. "evaluateratio": {
  21828. "description": "估价系数",
  21829. "type": "number"
  21830. },
  21831. "goodsgroupid": {
  21832. "description": "关联期货品种ID",
  21833. "type": "integer"
  21834. },
  21835. "goodsunitid": {
  21836. "description": "单位ID",
  21837. "type": "integer"
  21838. },
  21839. "isvalid": {
  21840. "description": "状态 0-无效(停用) 1-有效(正常)",
  21841. "type": "integer"
  21842. },
  21843. "middlegoodscode": {
  21844. "description": "套保品种代码",
  21845. "type": "string"
  21846. },
  21847. "middlegoodsid": {
  21848. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21849. "type": "integer"
  21850. },
  21851. "middlegoodsname": {
  21852. "description": "套保品种名称",
  21853. "type": "string"
  21854. },
  21855. "modifytime": {
  21856. "description": "修改时间",
  21857. "type": "string"
  21858. },
  21859. "needarbitrageratio": {
  21860. "description": "套利比例",
  21861. "type": "number"
  21862. },
  21863. "needhedgeratio": {
  21864. "description": "套保比率",
  21865. "type": "number"
  21866. },
  21867. "qtydecimalplace": {
  21868. "description": "数量小数位",
  21869. "type": "integer"
  21870. },
  21871. "relatedgoodsid": {
  21872. "description": "关联交易商品ID",
  21873. "type": "integer"
  21874. },
  21875. "relatedgoodstype": {
  21876. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  21877. "type": "integer"
  21878. },
  21879. "remark": {
  21880. "description": "备注",
  21881. "type": "string"
  21882. }
  21883. }
  21884. },
  21885. "models.ErmcpMiddlegoodsRelateGoods": {
  21886. "type": "object",
  21887. "properties": {
  21888. "agreeunit": {
  21889. "description": "合约乘数",
  21890. "type": "number"
  21891. },
  21892. "convertratio": {
  21893. "description": "折算系数",
  21894. "type": "number"
  21895. },
  21896. "enumdicname": {
  21897. "description": "单位名称(交易商品)",
  21898. "type": "string"
  21899. },
  21900. "goodscode": {
  21901. "description": "交易商品代码",
  21902. "type": "string"
  21903. },
  21904. "goodsgroupid": {
  21905. "description": "交易品种id",
  21906. "type": "integer"
  21907. },
  21908. "goodsid": {
  21909. "description": "商品Id",
  21910. "type": "integer"
  21911. },
  21912. "goodsname": {
  21913. "description": "交易商品名称",
  21914. "type": "string"
  21915. },
  21916. "goodunitid": {
  21917. "description": "交易商品单位id",
  21918. "type": "integer"
  21919. },
  21920. "middlegoodsid": {
  21921. "description": "套保商品id",
  21922. "type": "integer"
  21923. },
  21924. "middlegoodsname": {
  21925. "description": "套保商品名称",
  21926. "type": "string"
  21927. },
  21928. "middlegoodsswcode": {
  21929. "description": "套保商品代码",
  21930. "type": "string"
  21931. },
  21932. "needarbitrageratio": {
  21933. "description": "应套利比例",
  21934. "type": "number"
  21935. },
  21936. "needhedgeratio": {
  21937. "description": "应套保比例",
  21938. "type": "number"
  21939. }
  21940. }
  21941. },
  21942. "models.ErmcpOPLogModel": {
  21943. "type": "object",
  21944. "properties": {
  21945. "aftervalue": {
  21946. "description": "变更后",
  21947. "type": "number"
  21948. },
  21949. "applyid": {
  21950. "description": "操作人ID",
  21951. "type": "string"
  21952. },
  21953. "applyname": {
  21954. "description": "操作人名称",
  21955. "type": "string"
  21956. },
  21957. "beforevalue": {
  21958. "description": "变更前",
  21959. "type": "number"
  21960. },
  21961. "biztype": {
  21962. "description": "业务类型 - 1:套保计划 2:现货合同",
  21963. "type": "integer"
  21964. },
  21965. "contracttype": {
  21966. "description": "现货合同类型 - 1:采购 -1:销售",
  21967. "type": "integer"
  21968. },
  21969. "logvalue": {
  21970. "description": "数值",
  21971. "type": "number"
  21972. },
  21973. "operatelogtype": {
  21974. "description": "操作流水类型",
  21975. "type": "integer"
  21976. },
  21977. "operatelogtypedesc": {
  21978. "description": "操作流水类型名称",
  21979. "type": "string"
  21980. },
  21981. "relatedid": {
  21982. "description": "现货合同ID\\套保计划",
  21983. "type": "string"
  21984. },
  21985. "updatetime": {
  21986. "description": "更新时间",
  21987. "type": "string"
  21988. }
  21989. }
  21990. },
  21991. "models.ErmcpPendingAudit": {
  21992. "type": "object",
  21993. "properties": {
  21994. "areastockqty": {
  21995. "description": "待审核数量: 库存申请",
  21996. "type": "integer"
  21997. },
  21998. "businessdjqty": {
  21999. "description": "待审核数量: 点价",
  22000. "type": "integer"
  22001. },
  22002. "businessfpqty": {
  22003. "description": "待审核数量: 发票",
  22004. "type": "integer"
  22005. },
  22006. "businessjsqty": {
  22007. "description": "待审核数量: 结算",
  22008. "type": "integer"
  22009. },
  22010. "businesskxqty": {
  22011. "description": "待审核数量: 款项",
  22012. "type": "integer"
  22013. },
  22014. "hedgeplanqty": {
  22015. "description": "待审核数量: 套保计划",
  22016. "type": "integer"
  22017. },
  22018. "spotcontractqty": {
  22019. "description": "待审核数量: 现货合同",
  22020. "type": "integer"
  22021. },
  22022. "userqty": {
  22023. "description": "待审核数量: 用户",
  22024. "type": "integer"
  22025. }
  22026. }
  22027. },
  22028. "models.ErmcpRealExposureModel": {
  22029. "type": "object",
  22030. "properties": {
  22031. "AreaUserID": {
  22032. "description": "所属机构",
  22033. "type": "integer"
  22034. },
  22035. "BuyFutureQty": {
  22036. "description": "买入期货数量",
  22037. "type": "number"
  22038. },
  22039. "BuyPlanQty": {
  22040. "description": "采购计划数量",
  22041. "type": "number"
  22042. },
  22043. "BuyPricedQty": {
  22044. "description": "采购合同已定价数量",
  22045. "type": "number"
  22046. },
  22047. "MiddleGoodsCode": {
  22048. "description": "套保品种代码",
  22049. "type": "string"
  22050. },
  22051. "MiddleGoodsHedgeRatio": {
  22052. "description": "套保比例",
  22053. "type": "number"
  22054. },
  22055. "MiddleGoodsID": {
  22056. "description": "套保品种",
  22057. "type": "integer"
  22058. },
  22059. "MiddleGoodsName": {
  22060. "description": "套保品种名称",
  22061. "type": "string"
  22062. },
  22063. "NeedHedgeExposoure": {
  22064. "description": "应套保敞口(套保敞口)",
  22065. "type": "number"
  22066. },
  22067. "NeedHedgeRatio": {
  22068. "description": "应套保敞口比例",
  22069. "type": "number"
  22070. },
  22071. "OriBuyFutureQty": {
  22072. "description": "期初买入期货数量",
  22073. "type": "number"
  22074. },
  22075. "OriBuyPlanQty": {
  22076. "description": "期初采购计划数量",
  22077. "type": "number"
  22078. },
  22079. "OriBuyPricedQty": {
  22080. "description": "期初采购合同已定价数量",
  22081. "type": "number"
  22082. },
  22083. "OriSellFutureQty": {
  22084. "description": "期初卖出期货数量",
  22085. "type": "number"
  22086. },
  22087. "OriSellPlanQty": {
  22088. "description": "期初销售计划数量",
  22089. "type": "number"
  22090. },
  22091. "OriSellPricedQty": {
  22092. "description": "期初销售合同已定价数量",
  22093. "type": "number"
  22094. },
  22095. "SellFutureQty": {
  22096. "description": "卖出期货数量",
  22097. "type": "number"
  22098. },
  22099. "SellPlanQty": {
  22100. "description": "销售计划数量",
  22101. "type": "number"
  22102. },
  22103. "SellPricedQty": {
  22104. "description": "销售合同已定价数量",
  22105. "type": "number"
  22106. },
  22107. "TotalExposure": {
  22108. "description": "总敞口 平安:净敞口",
  22109. "type": "number"
  22110. },
  22111. "TotalFutureQty": {
  22112. "description": "期货总量 平安:保值净持仓量",
  22113. "type": "number"
  22114. },
  22115. "TotalHedgeRatio": {
  22116. "description": "敞口比例",
  22117. "type": "number"
  22118. },
  22119. "TotalNeedHedgeQty": {
  22120. "description": "应套保总量(现货应套保总量)",
  22121. "type": "number"
  22122. },
  22123. "TotalSpotQty": {
  22124. "description": "现货总量 平安:采销定价净值",
  22125. "type": "number"
  22126. },
  22127. "arbitrageqty": {
  22128. "description": "套利量",
  22129. "type": "number"
  22130. },
  22131. "diffArbitrageQty": {
  22132. "description": "套利变动量",
  22133. "type": "number"
  22134. },
  22135. "diffExposoureQty": {
  22136. "description": "变动量(套保敞口)",
  22137. "type": "number"
  22138. },
  22139. "diffFutuQty": {
  22140. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  22141. "type": "number"
  22142. },
  22143. "diffHedgeQty": {
  22144. "description": "套保变动量",
  22145. "type": "number"
  22146. },
  22147. "diffQty": {
  22148. "description": "变动量(总敞口) 平安:净敞口今日变动",
  22149. "type": "number"
  22150. },
  22151. "diffSpotHedgeQty": {
  22152. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  22153. "type": "number"
  22154. },
  22155. "diffSpotQty": {
  22156. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  22157. "type": "number"
  22158. },
  22159. "enumdicname": {
  22160. "description": "单位名称",
  22161. "type": "string"
  22162. },
  22163. "hedgeqty": {
  22164. "description": "套保量",
  22165. "type": "number"
  22166. },
  22167. "needarbitrageqty": {
  22168. "description": "应套利量",
  22169. "type": "number"
  22170. },
  22171. "needarbitrageratio": {
  22172. "description": "套利比例",
  22173. "type": "number"
  22174. },
  22175. "needhedgeqty": {
  22176. "description": "应套保量",
  22177. "type": "number"
  22178. },
  22179. "oriTotalFutuQty": {
  22180. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  22181. "type": "number"
  22182. },
  22183. "oriTotalSpotQty": {
  22184. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  22185. "type": "number"
  22186. },
  22187. "oriarbitrageqty": {
  22188. "description": "期初套利量",
  22189. "type": "number"
  22190. },
  22191. "orihedgeqty": {
  22192. "description": "期初套保量",
  22193. "type": "number"
  22194. },
  22195. "orineedhedgeexposoure": {
  22196. "description": "期初套保敞口",
  22197. "type": "number"
  22198. },
  22199. "oritotalexposure": {
  22200. "description": "期初总敞口",
  22201. "type": "number"
  22202. },
  22203. "oritotalfutureqty": {
  22204. "description": "期初期货总量",
  22205. "type": "number"
  22206. },
  22207. "oritotalneedhedgeqty": {
  22208. "description": "期初现货应套保量",
  22209. "type": "number"
  22210. }
  22211. }
  22212. },
  22213. "models.ErmcpRole": {
  22214. "type": "object",
  22215. "properties": {
  22216. "areauserid": {
  22217. "description": "所属机构",
  22218. "type": "integer"
  22219. },
  22220. "autoid": {
  22221. "description": "角色ID(自增ID)",
  22222. "type": "integer"
  22223. },
  22224. "modifierid": {
  22225. "description": "修改人(创建人)",
  22226. "type": "integer"
  22227. },
  22228. "modifiername": {
  22229. "description": "修改人名称",
  22230. "type": "string"
  22231. },
  22232. "modifytime": {
  22233. "description": "修改时间(创建时间)",
  22234. "type": "string"
  22235. },
  22236. "rolename": {
  22237. "description": "角色名称",
  22238. "type": "string"
  22239. },
  22240. "rolestatus": {
  22241. "description": "角色状态 - 1:启用 2:停用",
  22242. "type": "integer"
  22243. },
  22244. "roletype": {
  22245. "description": "角色类型 - 1- 管理端 2- 交易端",
  22246. "type": "integer"
  22247. }
  22248. }
  22249. },
  22250. "models.ErmcpRoleMenu": {
  22251. "type": "object",
  22252. "properties": {
  22253. "iconame": {
  22254. "description": "菜单图标",
  22255. "type": "string"
  22256. },
  22257. "ishadrole": {
  22258. "description": "是否有权限",
  22259. "type": "boolean"
  22260. },
  22261. "menutype": {
  22262. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  22263. "type": "integer"
  22264. },
  22265. "parentcode": {
  22266. "description": "上级资源代码",
  22267. "type": "string"
  22268. },
  22269. "remark": {
  22270. "description": "菜单备注",
  22271. "type": "string"
  22272. },
  22273. "resourcecode": {
  22274. "description": "菜单代码",
  22275. "type": "string"
  22276. },
  22277. "resourcelevel": {
  22278. "description": "级别",
  22279. "type": "integer"
  22280. },
  22281. "resourcename": {
  22282. "description": "菜单名称",
  22283. "type": "string"
  22284. },
  22285. "roleid": {
  22286. "description": "角色id",
  22287. "type": "integer"
  22288. },
  22289. "sort": {
  22290. "description": "排序",
  22291. "type": "integer"
  22292. },
  22293. "url": {
  22294. "description": "URL",
  22295. "type": "string"
  22296. },
  22297. "userid": {
  22298. "description": "用户id",
  22299. "type": "integer"
  22300. }
  22301. }
  22302. },
  22303. "models.ErmcpRoleMenuEx": {
  22304. "type": "object",
  22305. "properties": {
  22306. "menu": {
  22307. "description": "父级菜单",
  22308. "type": "object",
  22309. "$ref": "#/definitions/models.ErmcpRoleMenu"
  22310. },
  22311. "subMenu": {
  22312. "description": "子级菜单",
  22313. "type": "array",
  22314. "items": {
  22315. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  22316. }
  22317. }
  22318. }
  22319. },
  22320. "models.ErmcpTaAccount": {
  22321. "type": "object",
  22322. "properties": {
  22323. "accountid": {
  22324. "description": "账户id",
  22325. "type": "integer"
  22326. },
  22327. "accountname": {
  22328. "description": "账户名称",
  22329. "type": "string"
  22330. },
  22331. "currencyid": {
  22332. "description": "币种id",
  22333. "type": "integer"
  22334. },
  22335. "hedgeaccountcode": {
  22336. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22337. "type": "string"
  22338. },
  22339. "ismain": {
  22340. "description": "是否主账户 0-否 1-是",
  22341. "type": "integer"
  22342. },
  22343. "parentaccountid": {
  22344. "description": "父账户id",
  22345. "type": "integer"
  22346. },
  22347. "relateduserid": {
  22348. "description": "关联userid",
  22349. "type": "integer"
  22350. },
  22351. "tradefeetmpid": {
  22352. "description": "手续费模板id",
  22353. "type": "integer"
  22354. },
  22355. "tradefeetmpname": {
  22356. "description": "手续费模板名称",
  22357. "type": "string"
  22358. },
  22359. "trademargintmpid": {
  22360. "description": "保证金模板id",
  22361. "type": "integer"
  22362. },
  22363. "trademargintmpname": {
  22364. "description": "保证金模板名称",
  22365. "type": "string"
  22366. },
  22367. "traderatetmpid": {
  22368. "description": "汇率模板id",
  22369. "type": "integer"
  22370. },
  22371. "traderatetmpname": {
  22372. "description": "汇率模板名称",
  22373. "type": "string"
  22374. },
  22375. "tradestatus": {
  22376. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22377. "type": "integer"
  22378. },
  22379. "userid": {
  22380. "description": "用户id",
  22381. "type": "integer"
  22382. }
  22383. }
  22384. },
  22385. "models.ErmcpTaAccountEx": {
  22386. "type": "object",
  22387. "properties": {
  22388. "mainAcc": {
  22389. "description": "主账号",
  22390. "type": "object",
  22391. "$ref": "#/definitions/models.ErmcpTaAccountM"
  22392. },
  22393. "subacclist": {
  22394. "description": "子账号列表",
  22395. "type": "array",
  22396. "items": {
  22397. "$ref": "#/definitions/models.ErmcpTaAccount"
  22398. }
  22399. }
  22400. }
  22401. },
  22402. "models.ErmcpTaAccountInfo": {
  22403. "type": "object",
  22404. "properties": {
  22405. "accountid": {
  22406. "description": "资金账户ID",
  22407. "type": "integer"
  22408. },
  22409. "accountname": {
  22410. "description": "账户名称",
  22411. "type": "string"
  22412. },
  22413. "balance": {
  22414. "description": "期初余额",
  22415. "type": "number"
  22416. },
  22417. "capitalbalance": {
  22418. "description": "本金余额[外部子账户实际出入金余额]",
  22419. "type": "number"
  22420. },
  22421. "closepl": {
  22422. "description": "今日平仓盈亏",
  22423. "type": "number"
  22424. },
  22425. "creditdecrease": {
  22426. "description": "今日授信减少",
  22427. "type": "number"
  22428. },
  22429. "creditincrease": {
  22430. "description": "今日授信增加",
  22431. "type": "number"
  22432. },
  22433. "curdebt": {
  22434. "description": "期末欠款",
  22435. "type": "number"
  22436. },
  22437. "currencyid": {
  22438. "description": "货币ID",
  22439. "type": "integer"
  22440. },
  22441. "currentbalance": {
  22442. "description": "期末余额",
  22443. "type": "number"
  22444. },
  22445. "freezecharge": {
  22446. "description": "手续费冻结",
  22447. "type": "number"
  22448. },
  22449. "freezemargin": {
  22450. "description": "冻结保证金",
  22451. "type": "number"
  22452. },
  22453. "fromaccountid": {
  22454. "description": "所属上级账户",
  22455. "type": "integer"
  22456. },
  22457. "inamount": {
  22458. "description": "今日入金金额(包括三方入金)",
  22459. "type": "number"
  22460. },
  22461. "ismain": {
  22462. "description": "是否母账号 0:不是母账户 1:是母账户",
  22463. "type": "integer"
  22464. },
  22465. "mortgagecredit": {
  22466. "description": "授信金额",
  22467. "type": "number"
  22468. },
  22469. "oridebt": {
  22470. "description": "期初欠款",
  22471. "type": "number"
  22472. },
  22473. "orifreezecharge": {
  22474. "description": "期初手续费冻结",
  22475. "type": "number"
  22476. },
  22477. "orifreezemargin": {
  22478. "description": "期初冻结保证金",
  22479. "type": "number"
  22480. },
  22481. "orimortgagecredit": {
  22482. "description": "期初授信金额",
  22483. "type": "number"
  22484. },
  22485. "oriothercredit": {
  22486. "description": "期初其它授信金额",
  22487. "type": "number"
  22488. },
  22489. "oriotherfreezemargin": {
  22490. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22491. "type": "number"
  22492. },
  22493. "orioutamountfreeze": {
  22494. "description": "期初出金冻结",
  22495. "type": "number"
  22496. },
  22497. "oriusedmargin": {
  22498. "description": "期初占用保证金",
  22499. "type": "number"
  22500. },
  22501. "othercredit": {
  22502. "description": "其它授信金额",
  22503. "type": "number"
  22504. },
  22505. "othercreditdecrease": {
  22506. "description": "今日其它授信减少",
  22507. "type": "number"
  22508. },
  22509. "othercreditincrease": {
  22510. "description": "今日其它授信增加",
  22511. "type": "number"
  22512. },
  22513. "otherfreezemargin": {
  22514. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22515. "type": "number"
  22516. },
  22517. "outamount": {
  22518. "description": "今日出金金额(包括三方出金)",
  22519. "type": "number"
  22520. },
  22521. "outamountfreeze": {
  22522. "description": "出金冻结",
  22523. "type": "number"
  22524. },
  22525. "outthreshold": {
  22526. "description": "出金阈值",
  22527. "type": "number"
  22528. },
  22529. "parentaccountid": {
  22530. "description": "所属根账号",
  22531. "type": "integer"
  22532. },
  22533. "paycharge": {
  22534. "description": "今日手续费支出",
  22535. "type": "number"
  22536. },
  22537. "relateduserid": {
  22538. "description": "关联用户",
  22539. "type": "integer"
  22540. },
  22541. "signstatus": {
  22542. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22543. "type": "integer"
  22544. },
  22545. "sublevelpath": {
  22546. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22547. "type": "string"
  22548. },
  22549. "taaccounttype": {
  22550. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22551. "type": "integer"
  22552. },
  22553. "thirdinamount": {
  22554. "description": "今日三方入金",
  22555. "type": "number"
  22556. },
  22557. "thirdoutamount": {
  22558. "description": "今日三方出金",
  22559. "type": "number"
  22560. },
  22561. "tradestatus": {
  22562. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22563. "type": "integer"
  22564. },
  22565. "transferamount": {
  22566. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22567. "type": "number"
  22568. },
  22569. "usedmargin": {
  22570. "description": "占用保证金",
  22571. "type": "number"
  22572. },
  22573. "userid": {
  22574. "description": "用户ID",
  22575. "type": "integer"
  22576. }
  22577. }
  22578. },
  22579. "models.ErmcpTaAccountM": {
  22580. "type": "object",
  22581. "properties": {
  22582. "accountid": {
  22583. "description": "账户id",
  22584. "type": "integer"
  22585. },
  22586. "accountname": {
  22587. "description": "账户名称",
  22588. "type": "string"
  22589. },
  22590. "currencyid": {
  22591. "description": "币种id",
  22592. "type": "integer"
  22593. },
  22594. "fcid": {
  22595. "description": "期货公司id",
  22596. "type": "integer"
  22597. },
  22598. "fcname": {
  22599. "description": "期货公司代码",
  22600. "type": "string"
  22601. },
  22602. "hedgeaccountcode": {
  22603. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22604. "type": "string"
  22605. },
  22606. "ismain": {
  22607. "description": "是否主账户 0-否 1-是",
  22608. "type": "integer"
  22609. },
  22610. "parentaccountid": {
  22611. "description": "父账户id",
  22612. "type": "integer"
  22613. },
  22614. "relateduserid": {
  22615. "description": "关联userid",
  22616. "type": "integer"
  22617. },
  22618. "tradefeetmpid": {
  22619. "description": "手续费模板id",
  22620. "type": "integer"
  22621. },
  22622. "tradefeetmpname": {
  22623. "description": "手续费模板名称",
  22624. "type": "string"
  22625. },
  22626. "trademargintmpid": {
  22627. "description": "保证金模板id",
  22628. "type": "integer"
  22629. },
  22630. "trademargintmpname": {
  22631. "description": "保证金模板名称",
  22632. "type": "string"
  22633. },
  22634. "traderatetmpid": {
  22635. "description": "汇率模板id",
  22636. "type": "integer"
  22637. },
  22638. "traderatetmpname": {
  22639. "description": "汇率模板名称",
  22640. "type": "string"
  22641. },
  22642. "tradestatus": {
  22643. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22644. "type": "integer"
  22645. },
  22646. "userid": {
  22647. "description": "用户id",
  22648. "type": "integer"
  22649. }
  22650. }
  22651. },
  22652. "models.ErmcpTradeConfigTMP": {
  22653. "type": "object",
  22654. "properties": {
  22655. "areauserid": {
  22656. "description": "所属机构",
  22657. "type": "integer"
  22658. },
  22659. "basiccurrencyid": {
  22660. "description": "基本币种ID[汇率] - 目标币种",
  22661. "type": "integer"
  22662. },
  22663. "mainaccountid": {
  22664. "description": "主账户ID",
  22665. "type": "integer"
  22666. },
  22667. "modifierid": {
  22668. "description": "修改人",
  22669. "type": "integer"
  22670. },
  22671. "remark": {
  22672. "description": "备注",
  22673. "type": "string"
  22674. },
  22675. "tradeconfigtmpid": {
  22676. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  22677. "type": "integer"
  22678. },
  22679. "tradeconfigtmpname": {
  22680. "description": "交易配置模板名称",
  22681. "type": "string"
  22682. },
  22683. "tradeconfigtmptype": {
  22684. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  22685. "type": "integer"
  22686. },
  22687. "updatetime": {
  22688. "description": "更新时间",
  22689. "type": "string"
  22690. }
  22691. }
  22692. },
  22693. "models.ErmcpUserModel": {
  22694. "type": "object",
  22695. "properties": {
  22696. "address": {
  22697. "description": "通讯地址",
  22698. "type": "string"
  22699. },
  22700. "attachment1": {
  22701. "description": "附件1",
  22702. "type": "string"
  22703. },
  22704. "audittime": {
  22705. "description": "审核时间",
  22706. "type": "string"
  22707. },
  22708. "cardbackphotourl": {
  22709. "description": "证件反面图片地址",
  22710. "type": "string"
  22711. },
  22712. "cardfrontphotourl": {
  22713. "description": "证件正面图片地址",
  22714. "type": "string"
  22715. },
  22716. "cardnum": {
  22717. "description": "证件号码",
  22718. "type": "string"
  22719. },
  22720. "cardtype": {
  22721. "description": "证件类型",
  22722. "type": "integer"
  22723. },
  22724. "cardtypename": {
  22725. "description": "证件类型名称",
  22726. "type": "string"
  22727. },
  22728. "cityid": {
  22729. "description": "市",
  22730. "type": "integer"
  22731. },
  22732. "contactname": {
  22733. "description": "联系人",
  22734. "type": "string"
  22735. },
  22736. "countryid": {
  22737. "description": "国家",
  22738. "type": "integer"
  22739. },
  22740. "createtime": {
  22741. "description": "创建时间",
  22742. "type": "string"
  22743. },
  22744. "customername": {
  22745. "description": "企业名称",
  22746. "type": "string"
  22747. },
  22748. "districtid": {
  22749. "description": "区域",
  22750. "type": "integer"
  22751. },
  22752. "email": {
  22753. "description": "邮件",
  22754. "type": "string"
  22755. },
  22756. "legalpersonname": {
  22757. "description": "法人姓名(企业)",
  22758. "type": "string"
  22759. },
  22760. "memberuserid": {
  22761. "description": "所属机构ID",
  22762. "type": "integer"
  22763. },
  22764. "mobile": {
  22765. "description": "手机号码",
  22766. "type": "string"
  22767. },
  22768. "modifytime": {
  22769. "description": "修改时间",
  22770. "type": "string"
  22771. },
  22772. "nickname": {
  22773. "description": "昵称",
  22774. "type": "string"
  22775. },
  22776. "provinceid": {
  22777. "description": "省",
  22778. "type": "integer"
  22779. },
  22780. "remark": {
  22781. "description": "备注",
  22782. "type": "string"
  22783. },
  22784. "status": {
  22785. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22786. "type": "integer"
  22787. },
  22788. "statusdesc": {
  22789. "description": "账户状态中文描述",
  22790. "type": "string"
  22791. },
  22792. "taxpayernum": {
  22793. "description": "纳税人识别号",
  22794. "type": "string"
  22795. },
  22796. "telphone": {
  22797. "description": "联系电话",
  22798. "type": "string"
  22799. },
  22800. "userid": {
  22801. "description": "用户ID",
  22802. "type": "integer"
  22803. },
  22804. "userinfotype": {
  22805. "description": "客户类型",
  22806. "type": "string"
  22807. }
  22808. }
  22809. },
  22810. "models.ErmcpWareHouseInfo": {
  22811. "type": "object",
  22812. "properties": {
  22813. "address": {
  22814. "description": "详细地址",
  22815. "type": "string"
  22816. },
  22817. "areauserid": {
  22818. "description": "所属机构",
  22819. "type": "integer"
  22820. },
  22821. "autoid": {
  22822. "description": "自增ID(仓库ID)",
  22823. "type": "integer"
  22824. },
  22825. "cityid": {
  22826. "description": "市",
  22827. "type": "integer"
  22828. },
  22829. "contactname": {
  22830. "description": "联系人",
  22831. "type": "string"
  22832. },
  22833. "contactnum": {
  22834. "description": "联系电话",
  22835. "type": "string"
  22836. },
  22837. "countryid": {
  22838. "description": "国家",
  22839. "type": "integer"
  22840. },
  22841. "createtime": {
  22842. "description": "创建时间",
  22843. "type": "string"
  22844. },
  22845. "districtid": {
  22846. "description": "区",
  22847. "type": "integer"
  22848. },
  22849. "hasvideo": {
  22850. "description": "是否有视频 - 0:无 1:有",
  22851. "type": "integer"
  22852. },
  22853. "provinceid": {
  22854. "description": "省",
  22855. "type": "integer"
  22856. },
  22857. "remark": {
  22858. "description": "审核备注",
  22859. "type": "string"
  22860. },
  22861. "videourl": {
  22862. "description": "视频地址",
  22863. "type": "string"
  22864. },
  22865. "warehousecode": {
  22866. "description": "仓库代码",
  22867. "type": "string"
  22868. },
  22869. "warehousename": {
  22870. "description": "仓库名称",
  22871. "type": "string"
  22872. },
  22873. "warehousestatus": {
  22874. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22875. "type": "integer"
  22876. },
  22877. "warehousetype": {
  22878. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22879. "type": "integer"
  22880. }
  22881. }
  22882. },
  22883. "models.Externalexchange": {
  22884. "type": "object",
  22885. "required": [
  22886. "autoid"
  22887. ],
  22888. "properties": {
  22889. "autoid": {
  22890. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  22891. "type": "integer"
  22892. },
  22893. "exchangefullname": {
  22894. "description": "外部交易所全称",
  22895. "type": "string"
  22896. },
  22897. "exexchangecode": {
  22898. "description": "外部交易所代码",
  22899. "type": "string"
  22900. },
  22901. "exexchangename": {
  22902. "description": "外部交易所名称(简称)",
  22903. "type": "string"
  22904. },
  22905. "ismarketprice": {
  22906. "description": "是否支持市价 - 0:不支持 1:支持",
  22907. "type": "integer"
  22908. },
  22909. "quotegear": {
  22910. "description": "行情档位(1-10)",
  22911. "type": "integer"
  22912. },
  22913. "showbrokerflag": {
  22914. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  22915. "type": "integer"
  22916. },
  22917. "updatetime": {
  22918. "description": "更新时间",
  22919. "type": "string"
  22920. }
  22921. }
  22922. },
  22923. "models.Funcmenulist": {
  22924. "type": "object",
  22925. "required": [
  22926. "resourcecode"
  22927. ],
  22928. "properties": {
  22929. "iconame": {
  22930. "description": "菜单图标",
  22931. "type": "string"
  22932. },
  22933. "menutype": {
  22934. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  22935. "type": "integer"
  22936. },
  22937. "parentcode": {
  22938. "description": "上级资源代码",
  22939. "type": "string"
  22940. },
  22941. "remark": {
  22942. "description": "备注",
  22943. "type": "string"
  22944. },
  22945. "resourcecode": {
  22946. "description": "资源代码",
  22947. "type": "string"
  22948. },
  22949. "resourcelevel": {
  22950. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  22951. "type": "integer"
  22952. },
  22953. "resourcename": {
  22954. "description": "资源名",
  22955. "type": "string"
  22956. },
  22957. "sort": {
  22958. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  22959. "type": "integer"
  22960. },
  22961. "url": {
  22962. "description": "URL",
  22963. "type": "string"
  22964. }
  22965. }
  22966. },
  22967. "models.Goods": {
  22968. "type": "object",
  22969. "required": [
  22970. "goodscode",
  22971. "goodsid",
  22972. "goodsname",
  22973. "marketid"
  22974. ],
  22975. "properties": {
  22976. "agreeunit": {
  22977. "description": "合约单位",
  22978. "type": "number"
  22979. },
  22980. "areauserid": {
  22981. "description": "所属机构",
  22982. "type": "integer"
  22983. },
  22984. "auditaccountid": {
  22985. "description": "审核操作员账号",
  22986. "type": "integer"
  22987. },
  22988. "audittime": {
  22989. "description": "审核时间",
  22990. "type": "string"
  22991. },
  22992. "cancelaccountid": {
  22993. "description": "注销操作员账号",
  22994. "type": "integer"
  22995. },
  22996. "canceltime": {
  22997. "description": "注销时间",
  22998. "type": "string"
  22999. },
  23000. "closepricemode": {
  23001. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23002. "type": "integer"
  23003. },
  23004. "closepriceparam": {
  23005. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23006. "type": "number"
  23007. },
  23008. "createtime": {
  23009. "description": "创建时间",
  23010. "type": "string"
  23011. },
  23012. "creatorid": {
  23013. "description": "创建人",
  23014. "type": "integer"
  23015. },
  23016. "currencyid": {
  23017. "description": "报价货币ID",
  23018. "type": "integer"
  23019. },
  23020. "cutmode": {
  23021. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23022. "type": "integer"
  23023. },
  23024. "decimalplace": {
  23025. "description": "报价小数位",
  23026. "type": "integer"
  23027. },
  23028. "delistingdate": {
  23029. "description": "商品退市时间(状态:退市) -- 已作废",
  23030. "type": "string"
  23031. },
  23032. "delistingmode": {
  23033. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23034. "type": "integer"
  23035. },
  23036. "deliveryflag": {
  23037. "description": "交割标志 - 0:不可交割 1:可交割",
  23038. "type": "integer"
  23039. },
  23040. "forceclosemode": {
  23041. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23042. "type": "integer"
  23043. },
  23044. "forceclosevalue": {
  23045. "description": "定期强平参数 [收益权]",
  23046. "type": "integer"
  23047. },
  23048. "goodscode": {
  23049. "description": "商品代码(内部)",
  23050. "type": "string"
  23051. },
  23052. "goodscurrencyid": {
  23053. "description": "合约货币ID",
  23054. "type": "integer"
  23055. },
  23056. "goodsgroupid": {
  23057. "description": "所属商品组ID",
  23058. "type": "integer"
  23059. },
  23060. "goodsid": {
  23061. "description": "商品ID(自增ID SEQ_GOODS)",
  23062. "type": "integer"
  23063. },
  23064. "goodsname": {
  23065. "description": "商品名称",
  23066. "type": "string"
  23067. },
  23068. "goodsquotetype": {
  23069. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23070. "type": "integer"
  23071. },
  23072. "goodsstatus": {
  23073. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23074. "type": "integer"
  23075. },
  23076. "goodstradetype": {
  23077. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23078. "type": "integer"
  23079. },
  23080. "goodunitid": {
  23081. "description": "报价单位ID",
  23082. "type": "integer"
  23083. },
  23084. "hasquoter": {
  23085. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23086. "type": "integer"
  23087. },
  23088. "hqprotecttime": {
  23089. "description": "行情保护时间(秒)",
  23090. "type": "integer"
  23091. },
  23092. "innerdealmode": {
  23093. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23094. "type": "integer"
  23095. },
  23096. "isbuylimited": {
  23097. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23098. "type": "integer"
  23099. },
  23100. "isvisible": {
  23101. "description": "游客是否可见 - 0:不可见 1:可见",
  23102. "type": "integer"
  23103. },
  23104. "lasttradedate": {
  23105. "description": "最后交易日期(状态:待退市)",
  23106. "type": "string"
  23107. },
  23108. "listingdate": {
  23109. "description": "交易开始日期",
  23110. "type": "string"
  23111. },
  23112. "marketid": {
  23113. "description": "所属市场ID",
  23114. "type": "integer"
  23115. },
  23116. "modifierid": {
  23117. "description": "修改人",
  23118. "type": "integer"
  23119. },
  23120. "modifystatus": {
  23121. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23122. "type": "integer"
  23123. },
  23124. "modifytime": {
  23125. "description": "修改时间",
  23126. "type": "string"
  23127. },
  23128. "outerdealmode": {
  23129. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23130. "type": "integer"
  23131. },
  23132. "outgoodscode": {
  23133. "description": "商品代码(外部)",
  23134. "type": "string"
  23135. },
  23136. "pictureurl": {
  23137. "description": "商品图片",
  23138. "type": "string"
  23139. },
  23140. "qtydecimalplace": {
  23141. "description": "成交量小数位",
  23142. "type": "integer"
  23143. },
  23144. "quotegear": {
  23145. "description": "行情档位(1-10)",
  23146. "type": "integer"
  23147. },
  23148. "quoteminunit": {
  23149. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23150. "type": "integer"
  23151. },
  23152. "quoteshowtype": {
  23153. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23154. "type": "integer"
  23155. },
  23156. "quoteshowtypeinterval": {
  23157. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23158. "type": "integer"
  23159. },
  23160. "remark": {
  23161. "description": "备注",
  23162. "type": "string"
  23163. }
  23164. }
  23165. },
  23166. "models.GoodsIDAndName": {
  23167. "type": "object",
  23168. "required": [
  23169. "goodscode",
  23170. "goodsid",
  23171. "goodsname",
  23172. "marketid"
  23173. ],
  23174. "properties": {
  23175. "goodscode": {
  23176. "description": "商品代码(内部)",
  23177. "type": "string"
  23178. },
  23179. "goodsid": {
  23180. "description": "商品ID(自增ID SEQ_GOODS)",
  23181. "type": "integer"
  23182. },
  23183. "goodsname": {
  23184. "description": "商品名称",
  23185. "type": "string"
  23186. },
  23187. "marketid": {
  23188. "description": "所属市场ID",
  23189. "type": "integer"
  23190. }
  23191. }
  23192. },
  23193. "models.Goodsgroup": {
  23194. "type": "object",
  23195. "required": [
  23196. "goodsgroupid",
  23197. "goodsgroupname",
  23198. "goodsgroupstatus",
  23199. "marketid"
  23200. ],
  23201. "properties": {
  23202. "agreeunit": {
  23203. "description": "合约单位",
  23204. "type": "number"
  23205. },
  23206. "canshort": {
  23207. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  23208. "type": "integer"
  23209. },
  23210. "closepricemode": {
  23211. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23212. "type": "integer"
  23213. },
  23214. "closepriceparam": {
  23215. "description": "强平最新价浮动比例 - 方式为2时使用",
  23216. "type": "number"
  23217. },
  23218. "createtime": {
  23219. "description": "创建时间",
  23220. "type": "string"
  23221. },
  23222. "creatorid": {
  23223. "description": "创建人",
  23224. "type": "integer"
  23225. },
  23226. "currencyid": {
  23227. "description": "报价货币ID",
  23228. "type": "integer"
  23229. },
  23230. "decimalplace": {
  23231. "description": "报价小数位",
  23232. "type": "integer"
  23233. },
  23234. "exercisetype": {
  23235. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  23236. "type": "integer"
  23237. },
  23238. "exexchangeid": {
  23239. "description": "外部交易所ID[通道交易]",
  23240. "type": "integer"
  23241. },
  23242. "goodsgroupid": {
  23243. "description": "商品组ID(自增ID)",
  23244. "type": "integer"
  23245. },
  23246. "goodsgroupname": {
  23247. "description": "商品组名称",
  23248. "type": "string"
  23249. },
  23250. "goodsgroupstatus": {
  23251. "description": "商品组状态 - 1:正常 2:注销",
  23252. "type": "integer"
  23253. },
  23254. "goodunitid": {
  23255. "description": "报价单位ID",
  23256. "type": "integer"
  23257. },
  23258. "innerdealmode": {
  23259. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23260. "type": "integer"
  23261. },
  23262. "isbuylimited": {
  23263. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23264. "type": "integer"
  23265. },
  23266. "marketid": {
  23267. "description": "所属市场ID",
  23268. "type": "integer"
  23269. },
  23270. "modifierid": {
  23271. "description": "修改人",
  23272. "type": "integer"
  23273. },
  23274. "modifytime": {
  23275. "description": "修改时间",
  23276. "type": "string"
  23277. },
  23278. "outerdealmode": {
  23279. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23280. "type": "integer"
  23281. },
  23282. "outergroupcode": {
  23283. "description": "外部商品组代码[通道交易]",
  23284. "type": "string"
  23285. },
  23286. "premiumdecimalplace": {
  23287. "description": "权利金小数位[场外期权]",
  23288. "type": "integer"
  23289. },
  23290. "premiumspreadalgorithm": {
  23291. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  23292. "type": "integer"
  23293. },
  23294. "premiumspreadvalue": {
  23295. "description": "权利金点差值[场外期权]",
  23296. "type": "number"
  23297. },
  23298. "qtydecimalplace": {
  23299. "description": "成交量小数位",
  23300. "type": "integer"
  23301. },
  23302. "quotegear": {
  23303. "description": "行情档位(1-10)",
  23304. "type": "integer"
  23305. },
  23306. "quoteminunit": {
  23307. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23308. "type": "integer"
  23309. },
  23310. "quoterid": {
  23311. "description": "报价商ID[场外期权]",
  23312. "type": "integer"
  23313. },
  23314. "quotesourcegroupid": {
  23315. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  23316. "type": "integer"
  23317. },
  23318. "syncgoodsqty": {
  23319. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  23320. "type": "integer"
  23321. }
  23322. }
  23323. },
  23324. "models.Goodssortbypreposition": {
  23325. "type": "object",
  23326. "required": [
  23327. "goodscode",
  23328. "tradedate"
  23329. ],
  23330. "properties": {
  23331. "goodscode": {
  23332. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  23333. "type": "string"
  23334. },
  23335. "goodsgroupcode": {
  23336. "description": "品种代码",
  23337. "type": "string"
  23338. },
  23339. "prepositionqty": {
  23340. "description": "昨持仓量",
  23341. "type": "integer"
  23342. },
  23343. "sortindex": {
  23344. "description": "排序",
  23345. "type": "integer"
  23346. },
  23347. "tradedate": {
  23348. "description": "交易日",
  23349. "type": "string"
  23350. },
  23351. "updatetime": {
  23352. "description": "更新时间",
  23353. "type": "string"
  23354. }
  23355. }
  23356. },
  23357. "models.Hedgeinnerholderdetail": {
  23358. "type": "object",
  23359. "required": [
  23360. "buyorsell",
  23361. "tradeid"
  23362. ],
  23363. "properties": {
  23364. "accountid": {
  23365. "description": "账号ID",
  23366. "type": "integer"
  23367. },
  23368. "buyorsell": {
  23369. "description": "方向 - 0:买 1:卖",
  23370. "type": "integer"
  23371. },
  23372. "freezeqty": {
  23373. "description": "冻结数量 - 按单平使用",
  23374. "type": "integer"
  23375. },
  23376. "goodsid": {
  23377. "description": "商品ID",
  23378. "type": "integer"
  23379. },
  23380. "holderamount": {
  23381. "description": "持仓金额 [商品币种]",
  23382. "type": "number"
  23383. },
  23384. "holderdays": {
  23385. "description": "剩余冻结天数",
  23386. "type": "integer"
  23387. },
  23388. "holderprice": {
  23389. "description": "持仓价格",
  23390. "type": "number"
  23391. },
  23392. "holderqty": {
  23393. "description": "持仓数量",
  23394. "type": "integer"
  23395. },
  23396. "marketid": {
  23397. "description": "市场ID",
  23398. "type": "integer"
  23399. },
  23400. "openprice": {
  23401. "description": "建仓价格",
  23402. "type": "number"
  23403. },
  23404. "openqty": {
  23405. "description": "建仓数量",
  23406. "type": "integer"
  23407. },
  23408. "parentaccountid": {
  23409. "description": "所属母账户",
  23410. "type": "integer"
  23411. },
  23412. "releaseamount": {
  23413. "description": "释放持仓金额[商品币种]",
  23414. "type": "number"
  23415. },
  23416. "tradeamount": {
  23417. "description": "成交金额[账户]",
  23418. "type": "number"
  23419. },
  23420. "tradedate": {
  23421. "description": "交易日(yyyyMMdd)",
  23422. "type": "string"
  23423. },
  23424. "tradeid": {
  23425. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23426. "type": "string"
  23427. },
  23428. "tradetime": {
  23429. "description": "交易时间",
  23430. "type": "string"
  23431. }
  23432. }
  23433. },
  23434. "models.Hedgemarketopenlog": {
  23435. "type": "object",
  23436. "required": [
  23437. "accountid"
  23438. ],
  23439. "properties": {
  23440. "accountid": {
  23441. "description": "资金账号[外部母账户]",
  23442. "type": "integer"
  23443. },
  23444. "fcname": {
  23445. "description": "期货公司名称",
  23446. "type": "string"
  23447. },
  23448. "handlestatus": {
  23449. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  23450. "type": "integer"
  23451. },
  23452. "marketid": {
  23453. "description": "市场ID",
  23454. "type": "integer"
  23455. },
  23456. "status": {
  23457. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  23458. "type": "integer"
  23459. },
  23460. "tradedate": {
  23461. "description": "交易日(yyyyMMdd)",
  23462. "type": "string"
  23463. },
  23464. "updatetime": {
  23465. "description": "更新时间",
  23466. "type": "string"
  23467. }
  23468. }
  23469. },
  23470. "models.HsbyBuyMyPayOrder": {
  23471. "type": "object",
  23472. "required": [
  23473. "goodscode",
  23474. "goodsname",
  23475. "tradeid",
  23476. "trademode"
  23477. ],
  23478. "properties": {
  23479. "agreeunit": {
  23480. "description": "合约单位",
  23481. "type": "number"
  23482. },
  23483. "buyaccountid": {
  23484. "description": "买方账号ID[报价币种]",
  23485. "type": "integer"
  23486. },
  23487. "buyorderid": {
  23488. "description": "买方委托单号",
  23489. "type": "string"
  23490. },
  23491. "createtime": {
  23492. "description": "创建时间",
  23493. "type": "string"
  23494. },
  23495. "currencysign": {
  23496. "description": "货币符号",
  23497. "type": "string"
  23498. },
  23499. "decimalplace": {
  23500. "description": "报价小数位",
  23501. "type": "integer"
  23502. },
  23503. "goodscode": {
  23504. "description": "商品代码(内部)",
  23505. "type": "string"
  23506. },
  23507. "goodsid": {
  23508. "description": "商品ID",
  23509. "type": "integer"
  23510. },
  23511. "goodsname": {
  23512. "description": "商品名称",
  23513. "type": "string"
  23514. },
  23515. "marketid": {
  23516. "description": "市场ID",
  23517. "type": "integer"
  23518. },
  23519. "offamount": {
  23520. "description": "优惠金额",
  23521. "type": "number"
  23522. },
  23523. "originalamount": {
  23524. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  23525. "type": "number"
  23526. },
  23527. "payamount": {
  23528. "description": "支付金额 = TradeAmount + TradeCharge",
  23529. "type": "number"
  23530. },
  23531. "payflag": {
  23532. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23533. "type": "integer"
  23534. },
  23535. "paylimitedtime": {
  23536. "description": "支付期限",
  23537. "type": "string"
  23538. },
  23539. "paytime": {
  23540. "description": "付款时间",
  23541. "type": "string"
  23542. },
  23543. "picurls1": {
  23544. "description": "预售商品介绍图片[多张用逗号分隔]",
  23545. "type": "string"
  23546. },
  23547. "picurls2": {
  23548. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23549. "type": "string"
  23550. },
  23551. "sellaccountid": {
  23552. "description": "卖方账号ID[报价币种]",
  23553. "type": "integer"
  23554. },
  23555. "sellorderid": {
  23556. "description": "卖方委托单号",
  23557. "type": "string"
  23558. },
  23559. "tradeamount": {
  23560. "description": "成交金额",
  23561. "type": "number"
  23562. },
  23563. "tradecharge": {
  23564. "description": "成交手续费(买方)",
  23565. "type": "number"
  23566. },
  23567. "tradedate": {
  23568. "description": "交易日(yyyyMMdd)",
  23569. "type": "string"
  23570. },
  23571. "tradeid": {
  23572. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23573. "type": "string"
  23574. },
  23575. "trademode": {
  23576. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23577. "type": "integer"
  23578. },
  23579. "tradeprice": {
  23580. "description": "成交价格",
  23581. "type": "number"
  23582. },
  23583. "tradeqty": {
  23584. "description": "成交数量",
  23585. "type": "integer"
  23586. },
  23587. "vendorname1": {
  23588. "description": "预售商品供应商名称",
  23589. "type": "string"
  23590. },
  23591. "vendorname2": {
  23592. "description": "挂牌商品供应商名称",
  23593. "type": "string"
  23594. }
  23595. }
  23596. },
  23597. "models.HsbyBuyMyTradeDetail": {
  23598. "type": "object",
  23599. "required": [
  23600. "accountid",
  23601. "buyorsell",
  23602. "goodscode",
  23603. "goodsid",
  23604. "goodsname",
  23605. "marketid",
  23606. "orderid",
  23607. "qty",
  23608. "time",
  23609. "trademode"
  23610. ],
  23611. "properties": {
  23612. "accountid": {
  23613. "description": "账户ID[报价币种]",
  23614. "type": "integer"
  23615. },
  23616. "agreeunit": {
  23617. "description": "合约单位",
  23618. "type": "number"
  23619. },
  23620. "amount": {
  23621. "description": "金额 = 价格 * 数量 * 合约单位",
  23622. "type": "number"
  23623. },
  23624. "buyorsell": {
  23625. "description": "买卖 - 0:买 1:卖",
  23626. "type": "integer"
  23627. },
  23628. "currencysign": {
  23629. "description": "货币符号",
  23630. "type": "string"
  23631. },
  23632. "decimalplace": {
  23633. "description": "报价小数位",
  23634. "type": "integer"
  23635. },
  23636. "goodscode": {
  23637. "description": "商品代码(内部)",
  23638. "type": "string"
  23639. },
  23640. "goodsid": {
  23641. "description": "商品ID",
  23642. "type": "integer"
  23643. },
  23644. "goodsname": {
  23645. "description": "商品名称",
  23646. "type": "string"
  23647. },
  23648. "marketid": {
  23649. "description": "市场ID",
  23650. "type": "integer"
  23651. },
  23652. "orderamount": {
  23653. "description": "委托金额",
  23654. "type": "number"
  23655. },
  23656. "orderid": {
  23657. "description": "单号(成交单号)",
  23658. "type": "string"
  23659. },
  23660. "picurls1": {
  23661. "description": "预售商品介绍图片[多张用逗号分隔]",
  23662. "type": "string"
  23663. },
  23664. "picurls2": {
  23665. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23666. "type": "string"
  23667. },
  23668. "price": {
  23669. "description": "价格",
  23670. "type": "number"
  23671. },
  23672. "qty": {
  23673. "description": "数量",
  23674. "type": "integer"
  23675. },
  23676. "time": {
  23677. "description": "时间",
  23678. "type": "string"
  23679. },
  23680. "trademode": {
  23681. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23682. "type": "integer"
  23683. },
  23684. "vendorname1": {
  23685. "description": "预售商品供应商名称",
  23686. "type": "string"
  23687. },
  23688. "vendorname2": {
  23689. "description": "挂牌商品供应商名称",
  23690. "type": "string"
  23691. }
  23692. }
  23693. },
  23694. "models.HsbyGoodsOrderDetail": {
  23695. "type": "object",
  23696. "required": [
  23697. "buyorsell",
  23698. "orderid",
  23699. "ordertime"
  23700. ],
  23701. "properties": {
  23702. "buyorsell": {
  23703. "description": "买卖 - 0:买 1:卖",
  23704. "type": "integer"
  23705. },
  23706. "currencysign": {
  23707. "description": "货币符号",
  23708. "type": "string"
  23709. },
  23710. "customername": {
  23711. "description": "客户名称(企业名称),已脱敏",
  23712. "type": "string"
  23713. },
  23714. "enableqty": {
  23715. "description": "可用数量",
  23716. "type": "integer"
  23717. },
  23718. "goodunit": {
  23719. "description": "报价单位",
  23720. "type": "string"
  23721. },
  23722. "orderid": {
  23723. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23724. "type": "string"
  23725. },
  23726. "orderprice": {
  23727. "description": "委托价格",
  23728. "type": "number"
  23729. },
  23730. "ordertime": {
  23731. "description": "委托时间",
  23732. "type": "string"
  23733. }
  23734. }
  23735. },
  23736. "models.HsbyListingGoodsDetail": {
  23737. "type": "object",
  23738. "required": [
  23739. "goodscode",
  23740. "goodsid",
  23741. "goodsname",
  23742. "marketid",
  23743. "trademode"
  23744. ],
  23745. "properties": {
  23746. "agreeunit": {
  23747. "description": "合约单位",
  23748. "type": "number"
  23749. },
  23750. "buymaxqty": {
  23751. "description": "购买上限 [71] - 0为不限",
  23752. "type": "integer"
  23753. },
  23754. "currency": {
  23755. "description": "货币",
  23756. "type": "string"
  23757. },
  23758. "currencysign": {
  23759. "description": "货币符号",
  23760. "type": "string"
  23761. },
  23762. "decimalplace": {
  23763. "description": "报价小数位",
  23764. "type": "integer"
  23765. },
  23766. "desccityid": {
  23767. "description": "目的地(市)ID",
  23768. "type": "integer"
  23769. },
  23770. "descprovinceid": {
  23771. "description": "目的地(省)ID",
  23772. "type": "integer"
  23773. },
  23774. "goodscode": {
  23775. "description": "商品代码(内部)",
  23776. "type": "string"
  23777. },
  23778. "goodsdesc": {
  23779. "description": "商品详情",
  23780. "type": "string"
  23781. },
  23782. "goodsid": {
  23783. "description": "商品ID(自增ID SEQ_GOODS)",
  23784. "type": "integer"
  23785. },
  23786. "goodsname": {
  23787. "description": "商品名称",
  23788. "type": "string"
  23789. },
  23790. "goodsprice": {
  23791. "description": "商品价格",
  23792. "type": "number"
  23793. },
  23794. "hotindex": {
  23795. "description": "景点热度",
  23796. "type": "integer"
  23797. },
  23798. "last": {
  23799. "description": "现价",
  23800. "type": "number"
  23801. },
  23802. "limitdown": {
  23803. "description": "跌停价",
  23804. "type": "number"
  23805. },
  23806. "limitup": {
  23807. "description": "涨停价",
  23808. "type": "number"
  23809. },
  23810. "lotsize": {
  23811. "description": "手数最小变动单位",
  23812. "type": "integer"
  23813. },
  23814. "marketid": {
  23815. "description": "所属市场ID",
  23816. "type": "integer"
  23817. },
  23818. "picurls": {
  23819. "description": "介绍图片[多张用逗号分隔]",
  23820. "type": "string"
  23821. },
  23822. "quoteminunit": {
  23823. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23824. "type": "integer"
  23825. },
  23826. "stepvalue": {
  23827. "description": "价格最小变动单位",
  23828. "type": "number"
  23829. },
  23830. "trademode": {
  23831. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23832. "type": "integer"
  23833. },
  23834. "vendorattr": {
  23835. "description": "供应商附件(多张,逗号分隔)",
  23836. "type": "string"
  23837. },
  23838. "vendorname": {
  23839. "description": "供应商名称",
  23840. "type": "string"
  23841. },
  23842. "vendorphone": {
  23843. "description": "供应商客服电话",
  23844. "type": "string"
  23845. },
  23846. "videourls": {
  23847. "description": "介绍视频[多张用逗号分隔]",
  23848. "type": "string"
  23849. }
  23850. }
  23851. },
  23852. "models.HsbyMarketGoods": {
  23853. "type": "object",
  23854. "required": [
  23855. "accountid",
  23856. "buyorsell",
  23857. "goodscode",
  23858. "goodsid",
  23859. "goodsname",
  23860. "marketid",
  23861. "orderid",
  23862. "trademode"
  23863. ],
  23864. "properties": {
  23865. "accountid": {
  23866. "description": "账户ID[报价币种]",
  23867. "type": "integer"
  23868. },
  23869. "agreeunit": {
  23870. "description": "合约单位",
  23871. "type": "number"
  23872. },
  23873. "buyorsell": {
  23874. "description": "买卖 - 0:买 1:卖",
  23875. "type": "integer"
  23876. },
  23877. "categoryid": {
  23878. "description": "类别ID(WRCATEGORY)",
  23879. "type": "integer"
  23880. },
  23881. "currency": {
  23882. "description": "货币",
  23883. "type": "string"
  23884. },
  23885. "currencysign": {
  23886. "description": "货币符号",
  23887. "type": "string"
  23888. },
  23889. "customername": {
  23890. "description": "卖家名称",
  23891. "type": "string"
  23892. },
  23893. "decimalplace": {
  23894. "description": "报价小数位",
  23895. "type": "integer"
  23896. },
  23897. "goodscode": {
  23898. "description": "商品代码(内部)",
  23899. "type": "string"
  23900. },
  23901. "goodsid": {
  23902. "description": "商品ID",
  23903. "type": "integer"
  23904. },
  23905. "goodsname": {
  23906. "description": "商品名称",
  23907. "type": "string"
  23908. },
  23909. "goodsprice": {
  23910. "description": "商品价格",
  23911. "type": "number"
  23912. },
  23913. "hascoupon": {
  23914. "description": "是否可用优惠卷",
  23915. "type": "boolean"
  23916. },
  23917. "hotindex": {
  23918. "description": "景点热度",
  23919. "type": "integer"
  23920. },
  23921. "marketid": {
  23922. "description": "市场ID",
  23923. "type": "integer"
  23924. },
  23925. "orderid": {
  23926. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23927. "type": "string"
  23928. },
  23929. "orderprice": {
  23930. "description": "委托价格",
  23931. "type": "number"
  23932. },
  23933. "orderstatus": {
  23934. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23935. "type": "integer"
  23936. },
  23937. "picurls": {
  23938. "description": "介绍图片[多张用逗号分隔]",
  23939. "type": "string"
  23940. },
  23941. "quoteminunit": {
  23942. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23943. "type": "integer"
  23944. },
  23945. "sellUserID": {
  23946. "description": "卖方UserID",
  23947. "type": "integer"
  23948. },
  23949. "trademode": {
  23950. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23951. "type": "integer"
  23952. },
  23953. "videourls": {
  23954. "description": "介绍视频[多张用逗号分隔]",
  23955. "type": "string"
  23956. }
  23957. }
  23958. },
  23959. "models.HsbyMarketGoodsDetail": {
  23960. "type": "object",
  23961. "required": [
  23962. "accountid",
  23963. "buyorsell",
  23964. "goodscode",
  23965. "goodsid",
  23966. "goodsname",
  23967. "marketid",
  23968. "orderid",
  23969. "orderqty",
  23970. "trademode"
  23971. ],
  23972. "properties": {
  23973. "accountid": {
  23974. "description": "账户ID[报价币种]",
  23975. "type": "integer"
  23976. },
  23977. "agreeunit": {
  23978. "description": "合约单位",
  23979. "type": "number"
  23980. },
  23981. "buymaxqty": {
  23982. "description": "购买上限 [71] - 0为不限",
  23983. "type": "integer"
  23984. },
  23985. "buyorsell": {
  23986. "description": "买卖 - 0:买 1:卖",
  23987. "type": "integer"
  23988. },
  23989. "cancelqty": {
  23990. "description": "撤单数量",
  23991. "type": "integer"
  23992. },
  23993. "categoryid": {
  23994. "description": "类别ID(WRCATEGORY)",
  23995. "type": "integer"
  23996. },
  23997. "currency": {
  23998. "description": "货币",
  23999. "type": "string"
  24000. },
  24001. "currencysign": {
  24002. "description": "货币符号",
  24003. "type": "string"
  24004. },
  24005. "customername": {
  24006. "description": "卖家名称",
  24007. "type": "string"
  24008. },
  24009. "decimalplace": {
  24010. "description": "报价小数位",
  24011. "type": "integer"
  24012. },
  24013. "goodscode": {
  24014. "description": "商品代码(内部)",
  24015. "type": "string"
  24016. },
  24017. "goodsdesc": {
  24018. "description": "商品详情",
  24019. "type": "string"
  24020. },
  24021. "goodsid": {
  24022. "description": "商品ID",
  24023. "type": "integer"
  24024. },
  24025. "goodsname": {
  24026. "description": "商品名称",
  24027. "type": "string"
  24028. },
  24029. "goodsprice": {
  24030. "description": "商品价格",
  24031. "type": "number"
  24032. },
  24033. "hotindex": {
  24034. "description": "景点热度",
  24035. "type": "integer"
  24036. },
  24037. "lotsize": {
  24038. "description": "手数最小变动单位",
  24039. "type": "integer"
  24040. },
  24041. "marketid": {
  24042. "description": "市场ID",
  24043. "type": "integer"
  24044. },
  24045. "orderid": {
  24046. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24047. "type": "string"
  24048. },
  24049. "orderprice": {
  24050. "description": "委托价格",
  24051. "type": "number"
  24052. },
  24053. "orderqty": {
  24054. "description": "委托数量",
  24055. "type": "integer"
  24056. },
  24057. "orderstatus": {
  24058. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24059. "type": "integer"
  24060. },
  24061. "picurls": {
  24062. "description": "介绍图片[多张用逗号分隔]",
  24063. "type": "string"
  24064. },
  24065. "quoteminunit": {
  24066. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24067. "type": "integer"
  24068. },
  24069. "sellUserID": {
  24070. "description": "卖方UserID",
  24071. "type": "integer"
  24072. },
  24073. "trademode": {
  24074. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24075. "type": "integer"
  24076. },
  24077. "tradeqty": {
  24078. "description": "成交数量",
  24079. "type": "integer"
  24080. },
  24081. "vendorattr": {
  24082. "description": "供应商附件(多张,逗号分隔)",
  24083. "type": "string"
  24084. },
  24085. "vendorname": {
  24086. "description": "供应商名称",
  24087. "type": "string"
  24088. },
  24089. "vendorphone": {
  24090. "description": "供应商客服电话",
  24091. "type": "string"
  24092. },
  24093. "videourls": {
  24094. "description": "介绍视频[多张用逗号分隔]",
  24095. "type": "string"
  24096. }
  24097. }
  24098. },
  24099. "models.HsbyMarketInfo": {
  24100. "type": "object",
  24101. "required": [
  24102. "marketid",
  24103. "marketstatus",
  24104. "trademode"
  24105. ],
  24106. "properties": {
  24107. "marketid": {
  24108. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24109. "type": "integer"
  24110. },
  24111. "marketname": {
  24112. "description": "市场名称",
  24113. "type": "string"
  24114. },
  24115. "marketstatus": {
  24116. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24117. "type": "integer"
  24118. },
  24119. "trademode": {
  24120. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24121. "type": "integer"
  24122. }
  24123. }
  24124. },
  24125. "models.HsbyMyGoods": {
  24126. "type": "object",
  24127. "required": [
  24128. "accountid",
  24129. "goodscode",
  24130. "goodsid",
  24131. "goodsname",
  24132. "marketid",
  24133. "trademode"
  24134. ],
  24135. "properties": {
  24136. "accountid": {
  24137. "description": "账号Id",
  24138. "type": "integer"
  24139. },
  24140. "agreeunit": {
  24141. "description": "合约单位",
  24142. "type": "number"
  24143. },
  24144. "buyaverageprice": {
  24145. "description": "持仓均价",
  24146. "type": "number"
  24147. },
  24148. "buycurholderamount": {
  24149. "description": "买当前持仓总金额[商品币种]",
  24150. "type": "number"
  24151. },
  24152. "buycurpositionqty": {
  24153. "description": "买当前持仓总数量",
  24154. "type": "integer"
  24155. },
  24156. "buymaxqty": {
  24157. "description": "购买上限 [71] - 0为不限",
  24158. "type": "integer"
  24159. },
  24160. "currencysign": {
  24161. "description": "货币符号",
  24162. "type": "string"
  24163. },
  24164. "decimalplace": {
  24165. "description": "报价小数位",
  24166. "type": "integer"
  24167. },
  24168. "enableqty": {
  24169. "description": "可用数量",
  24170. "type": "integer"
  24171. },
  24172. "goodscode": {
  24173. "description": "商品代码(内部)",
  24174. "type": "string"
  24175. },
  24176. "goodsid": {
  24177. "description": "商品Id",
  24178. "type": "integer"
  24179. },
  24180. "goodsname": {
  24181. "description": "商品名称",
  24182. "type": "string"
  24183. },
  24184. "goodsprice": {
  24185. "description": "商品价格",
  24186. "type": "number"
  24187. },
  24188. "goodsstatus": {
  24189. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24190. "type": "integer"
  24191. },
  24192. "last": {
  24193. "description": "现价(仅使用于挂牌点选)",
  24194. "type": "number"
  24195. },
  24196. "limitdown": {
  24197. "description": "跌停价(仅使用于挂牌点选)",
  24198. "type": "number"
  24199. },
  24200. "limitup": {
  24201. "description": "涨停价(仅使用于挂牌点选)",
  24202. "type": "number"
  24203. },
  24204. "lotsize": {
  24205. "description": "手数最小变动单位",
  24206. "type": "integer"
  24207. },
  24208. "marketid": {
  24209. "description": "所属市场ID",
  24210. "type": "integer"
  24211. },
  24212. "picurls": {
  24213. "description": "介绍图片[多张用逗号分隔]",
  24214. "type": "string"
  24215. },
  24216. "quoteminunit": {
  24217. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24218. "type": "integer"
  24219. },
  24220. "stepvalue": {
  24221. "description": "价格最小变动单位",
  24222. "type": "number"
  24223. },
  24224. "trademode": {
  24225. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24226. "type": "integer"
  24227. }
  24228. }
  24229. },
  24230. "models.HsbyMyPackage": {
  24231. "type": "object",
  24232. "required": [
  24233. "goodscode",
  24234. "goodsname",
  24235. "takeorderid",
  24236. "trademode"
  24237. ],
  24238. "properties": {
  24239. "accountid": {
  24240. "description": "账户ID",
  24241. "type": "integer"
  24242. },
  24243. "address": {
  24244. "description": "提货人详细地址",
  24245. "type": "string"
  24246. },
  24247. "agreeunit": {
  24248. "description": "合约单位",
  24249. "type": "number"
  24250. },
  24251. "amount": {
  24252. "description": "提货金额",
  24253. "type": "number"
  24254. },
  24255. "auditer": {
  24256. "description": "审核人",
  24257. "type": "integer"
  24258. },
  24259. "audittime": {
  24260. "description": "审核时间",
  24261. "type": "string"
  24262. },
  24263. "averageprice": {
  24264. "description": "均价",
  24265. "type": "number"
  24266. },
  24267. "cardnum": {
  24268. "description": "提货人证件号码",
  24269. "type": "string"
  24270. },
  24271. "cardtypeid": {
  24272. "description": "提货人证件类型",
  24273. "type": "integer"
  24274. },
  24275. "checkremark": {
  24276. "description": "审核备注",
  24277. "type": "string"
  24278. },
  24279. "currencysign": {
  24280. "description": "货币符号",
  24281. "type": "string"
  24282. },
  24283. "decimalplace": {
  24284. "description": "报价小数位",
  24285. "type": "integer"
  24286. },
  24287. "goodscode": {
  24288. "description": "商品代码(内部)",
  24289. "type": "string"
  24290. },
  24291. "goodsid": {
  24292. "description": "商品ID",
  24293. "type": "integer"
  24294. },
  24295. "goodsname": {
  24296. "description": "商品名称",
  24297. "type": "string"
  24298. },
  24299. "handlestatus": {
  24300. "description": "处理状态",
  24301. "type": "integer"
  24302. },
  24303. "marketid": {
  24304. "description": "市场ID",
  24305. "type": "integer"
  24306. },
  24307. "phonenum": {
  24308. "description": "提货人联系方式",
  24309. "type": "string"
  24310. },
  24311. "picurls": {
  24312. "description": "介绍图片[多张用逗号分隔]",
  24313. "type": "string"
  24314. },
  24315. "qty": {
  24316. "description": "提货数量",
  24317. "type": "number"
  24318. },
  24319. "recivername": {
  24320. "description": "提货人姓名",
  24321. "type": "string"
  24322. },
  24323. "reqtime": {
  24324. "description": "更新时间",
  24325. "type": "string"
  24326. },
  24327. "takemode": {
  24328. "description": "提货方式 - 2:自提 3:配送",
  24329. "type": "integer"
  24330. },
  24331. "takeorderid": {
  24332. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24333. "type": "string"
  24334. },
  24335. "takeorderstatus": {
  24336. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24337. "type": "integer"
  24338. },
  24339. "takeremark": {
  24340. "description": "提货备注",
  24341. "type": "string"
  24342. },
  24343. "tradedate": {
  24344. "description": "交易日(yyyyMMdd)",
  24345. "type": "string"
  24346. },
  24347. "trademode": {
  24348. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24349. "type": "integer"
  24350. },
  24351. "userid": {
  24352. "description": "用户ID",
  24353. "type": "integer"
  24354. },
  24355. "vendorname": {
  24356. "description": "供应商名称",
  24357. "type": "string"
  24358. }
  24359. }
  24360. },
  24361. "models.HsbyPreGoods": {
  24362. "type": "object",
  24363. "required": [
  24364. "goodscode",
  24365. "goodsid",
  24366. "goodsname",
  24367. "marketid",
  24368. "trademode"
  24369. ],
  24370. "properties": {
  24371. "agreeunit": {
  24372. "description": "合约单位",
  24373. "type": "number"
  24374. },
  24375. "currency": {
  24376. "description": "货币",
  24377. "type": "string"
  24378. },
  24379. "currencysign": {
  24380. "description": "货币符号",
  24381. "type": "string"
  24382. },
  24383. "decimalplace": {
  24384. "description": "报价小数位",
  24385. "type": "integer"
  24386. },
  24387. "desccityid": {
  24388. "description": "目的地(市)",
  24389. "type": "integer"
  24390. },
  24391. "descprovinceid": {
  24392. "description": "目的地(省)",
  24393. "type": "integer"
  24394. },
  24395. "enableqty": {
  24396. "description": "剩余数量",
  24397. "type": "integer"
  24398. },
  24399. "goodscode": {
  24400. "description": "商品代码(内部)",
  24401. "type": "string"
  24402. },
  24403. "goodsid": {
  24404. "description": "商品ID(自增ID SEQ_GOODS)",
  24405. "type": "integer"
  24406. },
  24407. "goodsname": {
  24408. "description": "商品名称",
  24409. "type": "string"
  24410. },
  24411. "goodsstatus": {
  24412. "description": "商品状态- 2:未上市 3:上市",
  24413. "type": "integer"
  24414. },
  24415. "lasttradedate": {
  24416. "description": "最后交易日期(状态:待退市)",
  24417. "type": "string"
  24418. },
  24419. "listingdate": {
  24420. "description": "交易开始日期",
  24421. "type": "string"
  24422. },
  24423. "marketid": {
  24424. "description": "所属市场ID",
  24425. "type": "integer"
  24426. },
  24427. "picurls": {
  24428. "description": "介绍图片[多张用逗号分隔]",
  24429. "type": "string"
  24430. },
  24431. "presaledqty": {
  24432. "description": "已预售量(预售结束时更新)",
  24433. "type": "integer"
  24434. },
  24435. "presaleqty": {
  24436. "description": "预售数量",
  24437. "type": "integer"
  24438. },
  24439. "quoteminunit": {
  24440. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24441. "type": "integer"
  24442. },
  24443. "refprice": {
  24444. "description": "参考价格[一口价]",
  24445. "type": "number"
  24446. },
  24447. "relatedgoodsid": {
  24448. "description": "关联交易合约ID",
  24449. "type": "integer"
  24450. },
  24451. "trademode": {
  24452. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24453. "type": "integer"
  24454. },
  24455. "videourls": {
  24456. "description": "介绍视频[多张用逗号分隔]",
  24457. "type": "string"
  24458. }
  24459. }
  24460. },
  24461. "models.HsbyPreGoodsDetail": {
  24462. "type": "object",
  24463. "required": [
  24464. "goodscode",
  24465. "goodsid",
  24466. "goodsname",
  24467. "marketid",
  24468. "trademode"
  24469. ],
  24470. "properties": {
  24471. "agreeunit": {
  24472. "description": "合约单位",
  24473. "type": "number"
  24474. },
  24475. "buymaxqty": {
  24476. "description": "购买上限 [71] - 0为不限",
  24477. "type": "integer"
  24478. },
  24479. "currency": {
  24480. "description": "货币",
  24481. "type": "string"
  24482. },
  24483. "currencysign": {
  24484. "description": "货币符号",
  24485. "type": "string"
  24486. },
  24487. "customername": {
  24488. "description": "发行单位",
  24489. "type": "string"
  24490. },
  24491. "decimalplace": {
  24492. "description": "报价小数位",
  24493. "type": "integer"
  24494. },
  24495. "desccityid": {
  24496. "description": "目的地(市)ID",
  24497. "type": "integer"
  24498. },
  24499. "descprovinceid": {
  24500. "description": "目的地(省)ID",
  24501. "type": "integer"
  24502. },
  24503. "enableqty": {
  24504. "description": "剩余数量",
  24505. "type": "integer"
  24506. },
  24507. "goodscode": {
  24508. "description": "商品代码(内部)",
  24509. "type": "string"
  24510. },
  24511. "goodsdesc": {
  24512. "description": "商品详情",
  24513. "type": "string"
  24514. },
  24515. "goodsid": {
  24516. "description": "商品ID(自增ID SEQ_GOODS)",
  24517. "type": "integer"
  24518. },
  24519. "goodsname": {
  24520. "description": "商品名称",
  24521. "type": "string"
  24522. },
  24523. "goodsstatus": {
  24524. "description": "商品状态- 2:未上市 3:上市",
  24525. "type": "integer"
  24526. },
  24527. "goodunit": {
  24528. "description": "报价单位",
  24529. "type": "string"
  24530. },
  24531. "lasttradedate": {
  24532. "description": "最后交易日期(状态:待退市)",
  24533. "type": "string"
  24534. },
  24535. "listingdate": {
  24536. "description": "交易开始日期",
  24537. "type": "string"
  24538. },
  24539. "lotsize": {
  24540. "description": "手数最小变动单位",
  24541. "type": "integer"
  24542. },
  24543. "marketid": {
  24544. "description": "所属市场ID",
  24545. "type": "integer"
  24546. },
  24547. "picurls": {
  24548. "description": "介绍图片[多张用逗号分隔]",
  24549. "type": "string"
  24550. },
  24551. "presaledqty": {
  24552. "description": "已预售量(预售结束时更新)",
  24553. "type": "integer"
  24554. },
  24555. "presaleqty": {
  24556. "description": "预售数量",
  24557. "type": "integer"
  24558. },
  24559. "quoteminunit": {
  24560. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24561. "type": "integer"
  24562. },
  24563. "refprice": {
  24564. "description": "参考价格[一口价]",
  24565. "type": "number"
  24566. },
  24567. "relatedgoodsid": {
  24568. "description": "关联交易合约ID",
  24569. "type": "integer"
  24570. },
  24571. "stepvalue": {
  24572. "description": "价格最小变动单位",
  24573. "type": "number"
  24574. },
  24575. "trademode": {
  24576. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24577. "type": "integer"
  24578. },
  24579. "vendorattr": {
  24580. "description": "供应商附件(多张,逗号分隔)",
  24581. "type": "string"
  24582. },
  24583. "vendorname": {
  24584. "description": "供应商名称",
  24585. "type": "string"
  24586. },
  24587. "vendorphone": {
  24588. "description": "供应商客服电话",
  24589. "type": "string"
  24590. },
  24591. "videourls": {
  24592. "description": "介绍视频[多张用逗号分隔]",
  24593. "type": "string"
  24594. }
  24595. }
  24596. },
  24597. "models.HsbySellCollectionOrder": {
  24598. "type": "object",
  24599. "required": [
  24600. "goodscode",
  24601. "goodsname",
  24602. "tradeid",
  24603. "trademode"
  24604. ],
  24605. "properties": {
  24606. "agreeunit": {
  24607. "description": "合约单位",
  24608. "type": "number"
  24609. },
  24610. "buyaccountid": {
  24611. "description": "买方账号ID[报价币种]",
  24612. "type": "integer"
  24613. },
  24614. "buyorderid": {
  24615. "description": "买方委托单号",
  24616. "type": "string"
  24617. },
  24618. "createtime": {
  24619. "description": "创建时间",
  24620. "type": "string"
  24621. },
  24622. "currencysign": {
  24623. "description": "货币符号",
  24624. "type": "string"
  24625. },
  24626. "decimalplace": {
  24627. "description": "报价小数位",
  24628. "type": "integer"
  24629. },
  24630. "goodscode": {
  24631. "description": "商品代码(内部)",
  24632. "type": "string"
  24633. },
  24634. "goodsid": {
  24635. "description": "商品ID",
  24636. "type": "integer"
  24637. },
  24638. "goodsname": {
  24639. "description": "商品名称",
  24640. "type": "string"
  24641. },
  24642. "marketid": {
  24643. "description": "市场ID",
  24644. "type": "integer"
  24645. },
  24646. "offamount": {
  24647. "description": "优惠金额",
  24648. "type": "number"
  24649. },
  24650. "payamount": {
  24651. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  24652. "type": "number"
  24653. },
  24654. "payflag": {
  24655. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24656. "type": "integer"
  24657. },
  24658. "paylimitedtime": {
  24659. "description": "支付期限",
  24660. "type": "string"
  24661. },
  24662. "paytime": {
  24663. "description": "付款时间",
  24664. "type": "string"
  24665. },
  24666. "picurls": {
  24667. "description": "商品介绍图片[多张用逗号分隔]",
  24668. "type": "string"
  24669. },
  24670. "sellaccountid": {
  24671. "description": "卖方账号ID[报价币种]",
  24672. "type": "integer"
  24673. },
  24674. "sellorderid": {
  24675. "description": "卖方委托单号",
  24676. "type": "string"
  24677. },
  24678. "tradeamount": {
  24679. "description": "成交金额",
  24680. "type": "number"
  24681. },
  24682. "tradecharge": {
  24683. "description": "成交手续费(买方)",
  24684. "type": "number"
  24685. },
  24686. "tradedate": {
  24687. "description": "交易日(yyyyMMdd)",
  24688. "type": "string"
  24689. },
  24690. "tradeid": {
  24691. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24692. "type": "string"
  24693. },
  24694. "trademode": {
  24695. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24696. "type": "integer"
  24697. },
  24698. "tradeprice": {
  24699. "description": "成交价格",
  24700. "type": "number"
  24701. },
  24702. "tradeqty": {
  24703. "description": "成交数量",
  24704. "type": "integer"
  24705. }
  24706. }
  24707. },
  24708. "models.HsbySellMyDetail": {
  24709. "type": "object",
  24710. "required": [
  24711. "accountid",
  24712. "buyorsell",
  24713. "goodscode",
  24714. "goodsid",
  24715. "goodsname",
  24716. "marketid",
  24717. "orderid",
  24718. "time",
  24719. "trademode"
  24720. ],
  24721. "properties": {
  24722. "accountid": {
  24723. "description": "账户ID[报价币种]",
  24724. "type": "integer"
  24725. },
  24726. "agreeunit": {
  24727. "description": "合约单位",
  24728. "type": "number"
  24729. },
  24730. "buyorsell": {
  24731. "description": "买卖 - 0:买 1:卖",
  24732. "type": "integer"
  24733. },
  24734. "currencysign": {
  24735. "description": "货币符号",
  24736. "type": "string"
  24737. },
  24738. "decimalplace": {
  24739. "description": "报价小数位",
  24740. "type": "integer"
  24741. },
  24742. "goodscode": {
  24743. "description": "商品代码(内部)",
  24744. "type": "string"
  24745. },
  24746. "goodsid": {
  24747. "description": "商品ID",
  24748. "type": "integer"
  24749. },
  24750. "goodsname": {
  24751. "description": "商品名称",
  24752. "type": "string"
  24753. },
  24754. "marketid": {
  24755. "description": "市场ID",
  24756. "type": "integer"
  24757. },
  24758. "orderid": {
  24759. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  24760. "type": "string"
  24761. },
  24762. "ordertype": {
  24763. "description": "单据类型:0 - 发布中, 1 - 已完成",
  24764. "type": "integer"
  24765. },
  24766. "picurls": {
  24767. "description": "介绍图片[多张用逗号分隔]",
  24768. "type": "string"
  24769. },
  24770. "price": {
  24771. "description": "价格",
  24772. "type": "number"
  24773. },
  24774. "qty": {
  24775. "description": "数量",
  24776. "type": "integer"
  24777. },
  24778. "time": {
  24779. "description": "时间",
  24780. "type": "string"
  24781. },
  24782. "trademode": {
  24783. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24784. "type": "integer"
  24785. },
  24786. "vendorname": {
  24787. "description": "供应商名称",
  24788. "type": "string"
  24789. }
  24790. }
  24791. },
  24792. "models.HsbyTopGoods": {
  24793. "type": "object",
  24794. "required": [
  24795. "goodscode",
  24796. "goodsid",
  24797. "goodsname",
  24798. "marketid",
  24799. "trademode"
  24800. ],
  24801. "properties": {
  24802. "agreeunit": {
  24803. "description": "合约单位",
  24804. "type": "number"
  24805. },
  24806. "currency": {
  24807. "description": "货币",
  24808. "type": "string"
  24809. },
  24810. "currencysign": {
  24811. "description": "货币符号",
  24812. "type": "string"
  24813. },
  24814. "decimalplace": {
  24815. "description": "报价小数位",
  24816. "type": "integer"
  24817. },
  24818. "desccityid": {
  24819. "description": "目的地(市)",
  24820. "type": "integer"
  24821. },
  24822. "descprovinceid": {
  24823. "description": "目的地(省)",
  24824. "type": "integer"
  24825. },
  24826. "goodscode": {
  24827. "description": "商品代码(内部)",
  24828. "type": "string"
  24829. },
  24830. "goodsid": {
  24831. "description": "商品ID(自增ID SEQ_GOODS)",
  24832. "type": "integer"
  24833. },
  24834. "goodsname": {
  24835. "description": "商品名称",
  24836. "type": "string"
  24837. },
  24838. "hotindex": {
  24839. "description": "景点热度",
  24840. "type": "integer"
  24841. },
  24842. "last": {
  24843. "description": "现价",
  24844. "type": "number"
  24845. },
  24846. "marketid": {
  24847. "description": "所属市场ID",
  24848. "type": "integer"
  24849. },
  24850. "picurls": {
  24851. "description": "介绍图片[多张用逗号分隔]",
  24852. "type": "string"
  24853. },
  24854. "quoteminunit": {
  24855. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24856. "type": "integer"
  24857. },
  24858. "trademode": {
  24859. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24860. "type": "integer"
  24861. },
  24862. "videourls": {
  24863. "description": "介绍视频[多张用逗号分隔]",
  24864. "type": "string"
  24865. }
  24866. }
  24867. },
  24868. "models.HybsMyBuyOrderDetail": {
  24869. "type": "object",
  24870. "required": [
  24871. "accountid",
  24872. "buyorsell",
  24873. "goodscode",
  24874. "goodsid",
  24875. "goodsname",
  24876. "marketid",
  24877. "orderid",
  24878. "orderqty",
  24879. "ordertime",
  24880. "trademode"
  24881. ],
  24882. "properties": {
  24883. "accountid": {
  24884. "description": "账户ID[报价币种]",
  24885. "type": "integer"
  24886. },
  24887. "agreeunit": {
  24888. "description": "合约单位",
  24889. "type": "number"
  24890. },
  24891. "buyorsell": {
  24892. "description": "买卖 - 0:买 1:卖",
  24893. "type": "integer"
  24894. },
  24895. "cancelqty": {
  24896. "description": "撤单数量",
  24897. "type": "integer"
  24898. },
  24899. "currencysign": {
  24900. "description": "货币符号",
  24901. "type": "string"
  24902. },
  24903. "decimalplace": {
  24904. "description": "报价小数位",
  24905. "type": "integer"
  24906. },
  24907. "goodscode": {
  24908. "description": "商品代码(内部)",
  24909. "type": "string"
  24910. },
  24911. "goodsid": {
  24912. "description": "商品ID",
  24913. "type": "integer"
  24914. },
  24915. "goodsname": {
  24916. "description": "商品名称",
  24917. "type": "string"
  24918. },
  24919. "listingselecttype": {
  24920. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24921. "type": "integer"
  24922. },
  24923. "marketid": {
  24924. "description": "市场ID",
  24925. "type": "integer"
  24926. },
  24927. "mybuystatus": {
  24928. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  24929. "type": "integer"
  24930. },
  24931. "orderamount": {
  24932. "description": "委托金额",
  24933. "type": "number"
  24934. },
  24935. "orderid": {
  24936. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24937. "type": "string"
  24938. },
  24939. "orderprice": {
  24940. "description": "委托价格",
  24941. "type": "number"
  24942. },
  24943. "orderqty": {
  24944. "description": "委托数量",
  24945. "type": "integer"
  24946. },
  24947. "orderstatus": {
  24948. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24949. "type": "integer"
  24950. },
  24951. "ordertime": {
  24952. "description": "委托时间",
  24953. "type": "string"
  24954. },
  24955. "picurls1": {
  24956. "description": "预售商品介绍图片[多张用逗号分隔]",
  24957. "type": "string"
  24958. },
  24959. "picurls2": {
  24960. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  24961. "type": "string"
  24962. },
  24963. "trademode": {
  24964. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24965. "type": "integer"
  24966. },
  24967. "tradeqty": {
  24968. "description": "成交数量",
  24969. "type": "integer"
  24970. },
  24971. "vendorname1": {
  24972. "description": "预售商品供应商名称",
  24973. "type": "string"
  24974. },
  24975. "vendorname2": {
  24976. "description": "挂牌商品供应商名称",
  24977. "type": "string"
  24978. }
  24979. }
  24980. },
  24981. "models.Loginaccount": {
  24982. "type": "object",
  24983. "required": [
  24984. "loginid"
  24985. ],
  24986. "properties": {
  24987. "accountname": {
  24988. "description": "账户名称",
  24989. "type": "string"
  24990. },
  24991. "canoutin": {
  24992. "description": "是否可出入金 - 0:不可 1:可",
  24993. "type": "integer"
  24994. },
  24995. "clientroleid": {
  24996. "description": "终端角色ID",
  24997. "type": "integer"
  24998. },
  24999. "haslogined": {
  25000. "description": "是否已登录 - 0:未登录 1:已登录",
  25001. "type": "integer"
  25002. },
  25003. "hasupdatedpwd": {
  25004. "description": "是否已更改密码 - 0:未修改 1:已修改",
  25005. "type": "integer"
  25006. },
  25007. "lastloginip": {
  25008. "description": "最新登录地址",
  25009. "type": "string"
  25010. },
  25011. "lastloginmode": {
  25012. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  25013. "type": "integer"
  25014. },
  25015. "lastloginremark": {
  25016. "description": "最新登录描述",
  25017. "type": "string"
  25018. },
  25019. "lastlogintime": {
  25020. "description": "最新登录时间",
  25021. "type": "string"
  25022. },
  25023. "logincode": {
  25024. "description": "登录代码",
  25025. "type": "string"
  25026. },
  25027. "loginfailnum": {
  25028. "description": "连续登录失败次数(登录成功时清零)",
  25029. "type": "integer"
  25030. },
  25031. "loginid": {
  25032. "description": "登陆账号",
  25033. "type": "integer"
  25034. },
  25035. "loginport": {
  25036. "description": "最新登录端口",
  25037. "type": "integer"
  25038. },
  25039. "loginstatus": {
  25040. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  25041. "type": "integer"
  25042. },
  25043. "loginusertype": {
  25044. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  25045. "type": "integer"
  25046. },
  25047. "mobile": {
  25048. "description": "手机号码(加密存储)",
  25049. "type": "string"
  25050. },
  25051. "modifierid": {
  25052. "description": "修改人",
  25053. "type": "integer"
  25054. },
  25055. "modifysrc": {
  25056. "description": "审核来源 - 1:管理端 2:终端",
  25057. "type": "integer"
  25058. },
  25059. "modifytime": {
  25060. "description": "修改时间",
  25061. "type": "string"
  25062. },
  25063. "password": {
  25064. "description": "登陆密码",
  25065. "type": "string"
  25066. },
  25067. "pwdwrongcount": {
  25068. "description": "密码错误次数",
  25069. "type": "integer"
  25070. },
  25071. "relateduserid": {
  25072. "description": "关联用户ID(机构)",
  25073. "type": "integer"
  25074. },
  25075. "taaccountrighttype": {
  25076. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  25077. "type": "integer"
  25078. },
  25079. "unfreezetime": {
  25080. "description": "账户解冻时间",
  25081. "type": "string"
  25082. },
  25083. "userid": {
  25084. "description": "用户ID",
  25085. "type": "integer"
  25086. }
  25087. }
  25088. },
  25089. "models.MainAccountInfo": {
  25090. "type": "object",
  25091. "properties": {
  25092. "accountid": {
  25093. "description": "账号id",
  25094. "type": "integer"
  25095. },
  25096. "accountname": {
  25097. "description": "账号名称(taaccount表中的名称)",
  25098. "type": "string"
  25099. },
  25100. "appid": {
  25101. "description": "AppID",
  25102. "type": "string"
  25103. },
  25104. "authcode": {
  25105. "description": "授权码",
  25106. "type": "string"
  25107. },
  25108. "brokerid": {
  25109. "description": "经纪商id",
  25110. "type": "string"
  25111. },
  25112. "fcid": {
  25113. "description": "期货公司id",
  25114. "type": "integer"
  25115. },
  25116. "fcname": {
  25117. "description": "期货公司代码",
  25118. "type": "string"
  25119. },
  25120. "hedgeaccountcode": {
  25121. "description": "外部账号代码(主账号登录代码)",
  25122. "type": "string"
  25123. },
  25124. "hedgeaccountpwd": {
  25125. "description": "密码",
  25126. "type": "string"
  25127. },
  25128. "ismain": {
  25129. "description": "是否主账号",
  25130. "type": "integer"
  25131. },
  25132. "relateduserid": {
  25133. "description": "关联用户id",
  25134. "type": "integer"
  25135. },
  25136. "userid": {
  25137. "description": "关联用户id",
  25138. "type": "integer"
  25139. }
  25140. }
  25141. },
  25142. "models.Market": {
  25143. "type": "object",
  25144. "required": [
  25145. "marketid",
  25146. "marketstatus",
  25147. "openmethod",
  25148. "reckonpricealgorithm",
  25149. "trademode",
  25150. "tradeproperty"
  25151. ],
  25152. "properties": {
  25153. "auctionwrtype": {
  25154. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  25155. "type": "integer"
  25156. },
  25157. "canacceptquote": {
  25158. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  25159. "type": "integer"
  25160. },
  25161. "cangoodsexercise": {
  25162. "description": "[期权]是否可现货行权- 0:否 1:是",
  25163. "type": "integer"
  25164. },
  25165. "cangoodsexercisetype": {
  25166. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  25167. "type": "integer"
  25168. },
  25169. "canmanualquotestrike": {
  25170. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  25171. "type": "integer"
  25172. },
  25173. "canmutistage": {
  25174. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  25175. "type": "integer"
  25176. },
  25177. "canpreexercise": {
  25178. "description": "[期权]是否可预申报- 0:否 1:是",
  25179. "type": "integer"
  25180. },
  25181. "clearinterval": {
  25182. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  25183. "type": "integer"
  25184. },
  25185. "contracttmp": {
  25186. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  25187. "type": "string"
  25188. },
  25189. "exchareaid": {
  25190. "description": "所属交易所,可以没有",
  25191. "type": "integer"
  25192. },
  25193. "goodstype": {
  25194. "description": "商品类型 - 1:交易商品 2:仓单商品",
  25195. "type": "integer"
  25196. },
  25197. "hasrebate": {
  25198. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  25199. "type": "integer"
  25200. },
  25201. "hastradecredit": {
  25202. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  25203. "type": "integer"
  25204. },
  25205. "haswr": {
  25206. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  25207. "type": "integer"
  25208. },
  25209. "isdeductmargin": {
  25210. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  25211. "type": "integer"
  25212. },
  25213. "isrecordsource": {
  25214. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  25215. "type": "integer"
  25216. },
  25217. "isreleasemargin": {
  25218. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  25219. "type": "integer"
  25220. },
  25221. "marginformula": {
  25222. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25223. "type": "integer"
  25224. },
  25225. "marginformula2": {
  25226. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25227. "type": "integer"
  25228. },
  25229. "marketid": {
  25230. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  25231. "type": "integer"
  25232. },
  25233. "marketname": {
  25234. "description": "市场名称",
  25235. "type": "string"
  25236. },
  25237. "marketserviceid": {
  25238. "description": "市场服务ID",
  25239. "type": "integer"
  25240. },
  25241. "marketstatus": {
  25242. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  25243. "type": "integer"
  25244. },
  25245. "markettype": {
  25246. "description": "市场类型- 1:非交易服务 2:交易服务",
  25247. "type": "integer"
  25248. },
  25249. "matchermode": {
  25250. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  25251. "type": "integer"
  25252. },
  25253. "openmethod": {
  25254. "description": "开盘模式 - 0 自动 1手动",
  25255. "type": "integer"
  25256. },
  25257. "otcuserid": {
  25258. "description": "场外期权做市商[场外期权]",
  25259. "type": "integer"
  25260. },
  25261. "outersynctime": {
  25262. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  25263. "type": "string"
  25264. },
  25265. "pendingflag": {
  25266. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  25267. "type": "integer"
  25268. },
  25269. "pendingtime": {
  25270. "description": "待开市时间[通道交易-对冲](HH:mm)",
  25271. "type": "string"
  25272. },
  25273. "performancetempid": {
  25274. "description": "履约计划模板ID - 作废",
  25275. "type": "integer"
  25276. },
  25277. "premiumquotemode": {
  25278. "description": "权利金报价方式 - 1:自动 2:手动",
  25279. "type": "integer"
  25280. },
  25281. "rebateratio": {
  25282. "description": "返利比率[竞价式]",
  25283. "type": "number"
  25284. },
  25285. "reckonorder": {
  25286. "description": "结算顺序",
  25287. "type": "integer"
  25288. },
  25289. "reckonpricealgorithm": {
  25290. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  25291. "type": "integer"
  25292. },
  25293. "reckonpriceparam": {
  25294. "description": "结算价参数",
  25295. "type": "integer"
  25296. },
  25297. "reckontime": {
  25298. "description": "结算时间[通道交易-对冲](HH:mm)",
  25299. "type": "string"
  25300. },
  25301. "roleprioritytype": {
  25302. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  25303. "type": "integer"
  25304. },
  25305. "selllistingauditflag": {
  25306. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  25307. "type": "integer"
  25308. },
  25309. "trademarkettype": {
  25310. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  25311. "type": "integer"
  25312. },
  25313. "trademode": {
  25314. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25315. "type": "integer"
  25316. },
  25317. "tradeproperty": {
  25318. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  25319. "type": "integer"
  25320. },
  25321. "tradetype": {
  25322. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  25323. "type": "integer"
  25324. }
  25325. }
  25326. },
  25327. "models.Marketrun": {
  25328. "type": "object",
  25329. "required": [
  25330. "marketid",
  25331. "nexttradedate",
  25332. "reckonflag",
  25333. "runstatus",
  25334. "tradedate",
  25335. "tradedate2"
  25336. ],
  25337. "properties": {
  25338. "afternexttradedate": {
  25339. "description": "下下交易日",
  25340. "type": "string"
  25341. },
  25342. "clearquoteflag": {
  25343. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  25344. "type": "integer"
  25345. },
  25346. "lastreckondate": {
  25347. "description": "最新交易日(结算成功)",
  25348. "type": "string"
  25349. },
  25350. "machinedate": {
  25351. "description": "机器时间",
  25352. "type": "string"
  25353. },
  25354. "manualflag": {
  25355. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  25356. "type": "integer"
  25357. },
  25358. "marketid": {
  25359. "description": "市场ID",
  25360. "type": "integer"
  25361. },
  25362. "nexttradedate": {
  25363. "description": "下一交易日",
  25364. "type": "string"
  25365. },
  25366. "pretradedate": {
  25367. "description": "上一交易日",
  25368. "type": "string"
  25369. },
  25370. "reckonflag": {
  25371. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  25372. "type": "integer"
  25373. },
  25374. "runstatus": {
  25375. "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.今日免清算",
  25376. "type": "integer"
  25377. },
  25378. "sectionid": {
  25379. "description": "时间段号[多时段时用]",
  25380. "type": "integer"
  25381. },
  25382. "tradedate": {
  25383. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  25384. "type": "string"
  25385. },
  25386. "tradedate2": {
  25387. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  25388. "type": "string"
  25389. },
  25390. "updatetime": {
  25391. "description": "更新时间",
  25392. "type": "string"
  25393. }
  25394. }
  25395. },
  25396. "models.Messageboard": {
  25397. "type": "object",
  25398. "required": [
  25399. "messageboardid"
  25400. ],
  25401. "properties": {
  25402. "contactnum": {
  25403. "description": "联系电话",
  25404. "type": "string"
  25405. },
  25406. "createtime": {
  25407. "description": "创建时间",
  25408. "type": "string"
  25409. },
  25410. "message": {
  25411. "description": "留言信息",
  25412. "type": "string"
  25413. },
  25414. "messageboardid": {
  25415. "description": "留言簿ID(SEQ_MessageBoard)",
  25416. "type": "integer"
  25417. },
  25418. "userid": {
  25419. "description": "用户ID",
  25420. "type": "integer"
  25421. }
  25422. }
  25423. },
  25424. "models.MyCoupon": {
  25425. "type": "object",
  25426. "required": [
  25427. "accountid",
  25428. "coupontypeid"
  25429. ],
  25430. "properties": {
  25431. "accountid": {
  25432. "description": "资金账户ID",
  25433. "type": "integer"
  25434. },
  25435. "areauserid": {
  25436. "description": "所属机构",
  25437. "type": "integer"
  25438. },
  25439. "conditionvalue": {
  25440. "description": "条件阈值(可为0)",
  25441. "type": "number"
  25442. },
  25443. "couponcategroy": {
  25444. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  25445. "type": "integer"
  25446. },
  25447. "couponname": {
  25448. "description": "优惠券名称",
  25449. "type": "string"
  25450. },
  25451. "coupontypeid": {
  25452. "description": "优惠券类型ID",
  25453. "type": "string"
  25454. },
  25455. "couponvalue": {
  25456. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25457. "type": "number"
  25458. },
  25459. "curfreezeqty": {
  25460. "description": "期末冻结数量",
  25461. "type": "integer"
  25462. },
  25463. "curqty": {
  25464. "description": "期末数量",
  25465. "type": "integer"
  25466. },
  25467. "isgeneral": {
  25468. "description": "是否通用券 - 0:否 1:是",
  25469. "type": "integer"
  25470. },
  25471. "isunusable": {
  25472. "description": "是否不可用",
  25473. "type": "boolean"
  25474. },
  25475. "limitedflag": {
  25476. "description": "是否指定商品 - 0:不限 1:限制",
  25477. "type": "integer"
  25478. },
  25479. "limitedgoodsids": {
  25480. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  25481. "type": "string"
  25482. },
  25483. "orifreezeqty": {
  25484. "description": "期初冻结数量",
  25485. "type": "integer"
  25486. },
  25487. "oriqty": {
  25488. "description": "期初数量",
  25489. "type": "integer"
  25490. },
  25491. "reasontype": {
  25492. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  25493. "type": "integer"
  25494. },
  25495. "todaydecrease": {
  25496. "description": "今日减少",
  25497. "type": "integer"
  25498. },
  25499. "todayincrease": {
  25500. "description": "今日增加",
  25501. "type": "integer"
  25502. },
  25503. "userid": {
  25504. "description": "用户ID",
  25505. "type": "integer"
  25506. },
  25507. "userscope": {
  25508. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  25509. "type": "string"
  25510. }
  25511. }
  25512. },
  25513. "models.MyCouponHold": {
  25514. "type": "object",
  25515. "required": [
  25516. "couponholdid"
  25517. ],
  25518. "properties": {
  25519. "accountid": {
  25520. "description": "资金账户ID",
  25521. "type": "integer"
  25522. },
  25523. "conditionvalue": {
  25524. "description": "条件阈值(可为0)",
  25525. "type": "number"
  25526. },
  25527. "couponcategroy": {
  25528. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  25529. "type": "integer"
  25530. },
  25531. "couponholdid": {
  25532. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  25533. "type": "string"
  25534. },
  25535. "couponname": {
  25536. "description": "优惠券名称",
  25537. "type": "string"
  25538. },
  25539. "coupontypeid": {
  25540. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  25541. "type": "string"
  25542. },
  25543. "couponvalue": {
  25544. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25545. "type": "number"
  25546. },
  25547. "createtime": {
  25548. "description": "创建时间",
  25549. "type": "string"
  25550. },
  25551. "enddate": {
  25552. "description": "结束日期",
  25553. "type": "string"
  25554. },
  25555. "giveapplyid": {
  25556. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  25557. "type": "integer"
  25558. },
  25559. "holdstatus": {
  25560. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  25561. "type": "integer"
  25562. },
  25563. "isgeneral": {
  25564. "description": "是否通用券 - 0:否 1:是",
  25565. "type": "integer"
  25566. },
  25567. "limitedflag": {
  25568. "description": "是否指定商品 - 0:不限 1:限制",
  25569. "type": "integer"
  25570. },
  25571. "limitedgoodsids": {
  25572. "description": "指定商品IDs[逗号分隔]",
  25573. "type": "string"
  25574. },
  25575. "qty": {
  25576. "description": "数量(按1平铺)",
  25577. "type": "integer"
  25578. },
  25579. "startdate": {
  25580. "description": "开始日期",
  25581. "type": "string"
  25582. },
  25583. "userid": {
  25584. "description": "用户ID",
  25585. "type": "integer"
  25586. },
  25587. "userscope": {
  25588. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  25589. "type": "string"
  25590. }
  25591. }
  25592. },
  25593. "models.MyUsedCoupon": {
  25594. "type": "object",
  25595. "required": [
  25596. "coupontypeid",
  25597. "orderid"
  25598. ],
  25599. "properties": {
  25600. "accountid": {
  25601. "description": "资金账户ID(买方)",
  25602. "type": "integer"
  25603. },
  25604. "conditionvalue": {
  25605. "description": "条件阈值(可为0)",
  25606. "type": "number"
  25607. },
  25608. "couponcategroy": {
  25609. "description": "种类 - 1:现金券 2:折扣券",
  25610. "type": "integer"
  25611. },
  25612. "couponname": {
  25613. "description": "优惠券名称",
  25614. "type": "string"
  25615. },
  25616. "coupontypeid": {
  25617. "description": "优惠券类型ID(买方)",
  25618. "type": "string"
  25619. },
  25620. "couponvalue": {
  25621. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  25622. "type": "number"
  25623. },
  25624. "createtime": {
  25625. "description": "创建时间",
  25626. "type": "string"
  25627. },
  25628. "goodsid": {
  25629. "description": "商品ID",
  25630. "type": "integer"
  25631. },
  25632. "handlestatus": {
  25633. "description": "处理状态",
  25634. "type": "integer"
  25635. },
  25636. "marketid": {
  25637. "description": "市场ID",
  25638. "type": "integer"
  25639. },
  25640. "offamount": {
  25641. "description": "优惠金额",
  25642. "type": "number"
  25643. },
  25644. "orderid": {
  25645. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25646. "type": "string"
  25647. },
  25648. "sellaccountid": {
  25649. "description": "资金账户ID(卖方)",
  25650. "type": "integer"
  25651. },
  25652. "tradeamount": {
  25653. "description": "成交金额",
  25654. "type": "number"
  25655. },
  25656. "tradeid": {
  25657. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25658. "type": "string"
  25659. },
  25660. "usedqty": {
  25661. "description": "使用数量",
  25662. "type": "integer"
  25663. }
  25664. }
  25665. },
  25666. "models.OperationPrimaryMenu": {
  25667. "type": "object",
  25668. "properties": {
  25669. "Children": {
  25670. "description": "二级功能菜单",
  25671. "type": "array",
  25672. "items": {
  25673. "$ref": "#/definitions/models.OperationSecondaryMenu"
  25674. }
  25675. },
  25676. "Key": {
  25677. "description": "菜单KEY",
  25678. "type": "string"
  25679. },
  25680. "Label": {
  25681. "description": "菜单标题",
  25682. "type": "string"
  25683. }
  25684. }
  25685. },
  25686. "models.OperationSecondaryMenu": {
  25687. "type": "object",
  25688. "properties": {
  25689. "Key": {
  25690. "description": "菜单KEY",
  25691. "type": "string"
  25692. },
  25693. "Label": {
  25694. "description": "菜单标题",
  25695. "type": "string"
  25696. },
  25697. "TabList": {
  25698. "description": "三级功能菜单",
  25699. "type": "array",
  25700. "items": {
  25701. "$ref": "#/definitions/models.OperationTabMenu"
  25702. }
  25703. }
  25704. }
  25705. },
  25706. "models.OperationTabMenu": {
  25707. "type": "object",
  25708. "properties": {
  25709. "Key": {
  25710. "description": "菜单KEY",
  25711. "type": "string"
  25712. },
  25713. "Label": {
  25714. "description": "菜单标题",
  25715. "type": "string"
  25716. }
  25717. }
  25718. },
  25719. "models.PendingAuditBizModel": {
  25720. "type": "object",
  25721. "properties": {
  25722. "accountid": {
  25723. "description": "现货账户",
  25724. "type": "string"
  25725. },
  25726. "areaname": {
  25727. "description": "所属部门",
  25728. "type": "string"
  25729. },
  25730. "bizid": {
  25731. "description": "业务ID",
  25732. "type": "string"
  25733. },
  25734. "bizname": {
  25735. "description": "业务名称",
  25736. "type": "string"
  25737. },
  25738. "status": {
  25739. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  25740. "type": "integer"
  25741. },
  25742. "type": {
  25743. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  25744. "type": "integer"
  25745. }
  25746. }
  25747. },
  25748. "models.QhjAccountOutInApply": {
  25749. "type": "object",
  25750. "properties": {
  25751. "accountcode": {
  25752. "description": "资金账号",
  25753. "type": "string"
  25754. },
  25755. "accountname": {
  25756. "description": "用户名称(名称)",
  25757. "type": "string"
  25758. },
  25759. "accountpwd": {
  25760. "description": "资金密码",
  25761. "type": "string"
  25762. },
  25763. "accountticket": {
  25764. "description": "最新账户服务流水号",
  25765. "type": "string"
  25766. },
  25767. "amount": {
  25768. "description": "金额",
  25769. "type": "number"
  25770. },
  25771. "applyremark": {
  25772. "description": "申请备注",
  25773. "type": "string"
  25774. },
  25775. "applystatus": {
  25776. "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: 复审通过,账户冻结金额检查中;",
  25777. "type": "integer"
  25778. },
  25779. "auditid": {
  25780. "description": "审核人",
  25781. "type": "integer"
  25782. },
  25783. "audittime": {
  25784. "description": "审核时间",
  25785. "type": "string"
  25786. },
  25787. "bank_apply_ticket": {
  25788. "description": "银行申请流水",
  25789. "type": "string"
  25790. },
  25791. "bankaccountname": {
  25792. "description": "银行账户名",
  25793. "type": "string"
  25794. },
  25795. "bankaccountno": {
  25796. "description": "银行卡号",
  25797. "type": "string"
  25798. },
  25799. "bankid": {
  25800. "description": "银行编号",
  25801. "type": "string"
  25802. },
  25803. "bankticket": {
  25804. "description": "银行流水",
  25805. "type": "string"
  25806. },
  25807. "branchbankid": {
  25808. "description": "银行支行号",
  25809. "type": "string"
  25810. },
  25811. "branchbankname": {
  25812. "description": "银行支行名称",
  25813. "type": "string"
  25814. },
  25815. "capamountout": {
  25816. "description": "出金(劣后本金) - 外部子账户",
  25817. "type": "number"
  25818. },
  25819. "certificatephotourl": {
  25820. "description": "凭证地址",
  25821. "type": "string"
  25822. },
  25823. "charge": {
  25824. "description": "手续费",
  25825. "type": "number"
  25826. },
  25827. "checkerrorflag": {
  25828. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25829. "type": "integer"
  25830. },
  25831. "currency": {
  25832. "description": "币种",
  25833. "type": "string"
  25834. },
  25835. "cusbankid": {
  25836. "description": "托管银行编号",
  25837. "type": "string"
  25838. },
  25839. "exchticket": {
  25840. "description": "银行服务流水号",
  25841. "type": "string"
  25842. },
  25843. "executetype": {
  25844. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25845. "type": "integer"
  25846. },
  25847. "extendinfo": {
  25848. "description": "扩展信息",
  25849. "type": "string"
  25850. },
  25851. "extoperateid": {
  25852. "description": "交易服务流水号",
  25853. "type": "integer"
  25854. },
  25855. "infamount": {
  25856. "description": "劣后金额(自有)",
  25857. "type": "number"
  25858. },
  25859. "logincode": {
  25860. "description": "登录账号(账号)",
  25861. "type": "string"
  25862. },
  25863. "netaddr": {
  25864. "description": "调转网址",
  25865. "type": "string"
  25866. },
  25867. "priamount": {
  25868. "description": "优先金额(授信)",
  25869. "type": "number"
  25870. },
  25871. "reauditid": {
  25872. "description": "复审人",
  25873. "type": "integer"
  25874. },
  25875. "reauditremark": {
  25876. "description": "复审备注",
  25877. "type": "string"
  25878. },
  25879. "reaudittime": {
  25880. "description": "复审时间",
  25881. "type": "string"
  25882. },
  25883. "relatedorderid": {
  25884. "description": "三方关联ID",
  25885. "type": "string"
  25886. },
  25887. "remark": {
  25888. "description": "备注",
  25889. "type": "string"
  25890. },
  25891. "remark2": {
  25892. "description": "备注(失败原因)",
  25893. "type": "string"
  25894. },
  25895. "soucreamount": {
  25896. "description": "原始出入金金额",
  25897. "type": "number"
  25898. },
  25899. "soucrecurrencyid": {
  25900. "description": "原始出入金币种",
  25901. "type": "integer"
  25902. },
  25903. "tradedate": {
  25904. "description": "交易日(yyyyMMdd)",
  25905. "type": "string"
  25906. },
  25907. "updatetime": {
  25908. "description": "更新时间(申请时间)",
  25909. "type": "string"
  25910. },
  25911. "userid": {
  25912. "description": "用户id",
  25913. "type": "integer"
  25914. },
  25915. "userinfotype": {
  25916. "description": "账户类型 1-个人 2-企业",
  25917. "type": "integer"
  25918. }
  25919. }
  25920. },
  25921. "models.QhjAgreementChangeLog": {
  25922. "type": "object",
  25923. "properties": {
  25924. "agreementcontent": {
  25925. "description": "协议内容",
  25926. "type": "string"
  25927. },
  25928. "agreementfrequency": {
  25929. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25930. "type": "integer"
  25931. },
  25932. "agreementid": {
  25933. "description": "协议ID",
  25934. "type": "integer"
  25935. },
  25936. "agreementname": {
  25937. "description": "协议名称",
  25938. "type": "string"
  25939. },
  25940. "agreementno": {
  25941. "description": "协议编号",
  25942. "type": "string"
  25943. },
  25944. "agreementtype": {
  25945. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25946. "type": "integer"
  25947. },
  25948. "agreementversion": {
  25949. "description": "协议版本号",
  25950. "type": "integer"
  25951. },
  25952. "logid": {
  25953. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  25954. "type": "integer"
  25955. },
  25956. "reviserid": {
  25957. "description": "修改人",
  25958. "type": "integer"
  25959. },
  25960. "revisersrc": {
  25961. "description": "修改来源 - 1:管理端 2:终端",
  25962. "type": "integer"
  25963. },
  25964. "updatetime": {
  25965. "description": "更新时间",
  25966. "type": "string"
  25967. }
  25968. }
  25969. },
  25970. "models.QhjAgreementConfig": {
  25971. "type": "object",
  25972. "properties": {
  25973. "agreementcontent": {
  25974. "description": "协议内容",
  25975. "type": "string"
  25976. },
  25977. "agreementfrequency": {
  25978. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25979. "type": "integer"
  25980. },
  25981. "agreementid": {
  25982. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  25983. "type": "integer"
  25984. },
  25985. "agreementname": {
  25986. "description": "协议名称",
  25987. "type": "string"
  25988. },
  25989. "agreementno": {
  25990. "description": "协议编号",
  25991. "type": "string"
  25992. },
  25993. "agreementtype": {
  25994. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25995. "type": "integer"
  25996. },
  25997. "agreementversion": {
  25998. "description": "协议版本号(从1开始每次修改加1)",
  25999. "type": "integer"
  26000. },
  26001. "createtime": {
  26002. "description": "创建时间",
  26003. "type": "string"
  26004. },
  26005. "creatorid": {
  26006. "description": "创建人",
  26007. "type": "integer"
  26008. },
  26009. "creatorsrc": {
  26010. "description": "创建来源 - 1:管理端 2:终端",
  26011. "type": "integer"
  26012. },
  26013. "isvalid": {
  26014. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  26015. "type": "integer"
  26016. },
  26017. "reviserid": {
  26018. "description": "修改人",
  26019. "type": "integer"
  26020. },
  26021. "revisersrc": {
  26022. "description": "修改来源 - 1:管理端 2:终端",
  26023. "type": "integer"
  26024. },
  26025. "updatetime": {
  26026. "description": "更新时间",
  26027. "type": "string"
  26028. }
  26029. }
  26030. },
  26031. "models.QhjAreaFinanceConfig": {
  26032. "type": "object",
  26033. "properties": {
  26034. "additionalratio": {
  26035. "description": "追加款比例",
  26036. "type": "number"
  26037. },
  26038. "advanceratio": {
  26039. "description": "预付款比例",
  26040. "type": "number"
  26041. },
  26042. "alarmratio": {
  26043. "description": "告警比例",
  26044. "type": "number"
  26045. },
  26046. "consumptiondirectreward": {
  26047. "description": "消费直推奖励值",
  26048. "type": "number"
  26049. },
  26050. "consumptionenabled": {
  26051. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  26052. "type": "integer"
  26053. },
  26054. "consumptionindirectreward": {
  26055. "description": "消费间推奖励值",
  26056. "type": "number"
  26057. },
  26058. "consumptionmodel": {
  26059. "description": "消费奖励方式 - 1:比率 2:固定",
  26060. "type": "integer"
  26061. },
  26062. "customerservicenum": {
  26063. "description": "客服电话",
  26064. "type": "string"
  26065. },
  26066. "dayinterestrate": {
  26067. "description": "日利率",
  26068. "type": "number"
  26069. },
  26070. "disableconsumptiontips": {
  26071. "description": "关闭消费奖励提示",
  26072. "type": "string"
  26073. },
  26074. "modifierid": {
  26075. "description": "修改人ID",
  26076. "type": "integer"
  26077. },
  26078. "modifysrc": {
  26079. "description": "审核来源 - 1:管理端 2:终端",
  26080. "type": "integer"
  26081. },
  26082. "modifytime": {
  26083. "description": "修改时间",
  26084. "type": "string"
  26085. },
  26086. "promotionvalue": {
  26087. "description": "推广奖励值(固定)",
  26088. "type": "number"
  26089. },
  26090. "scoreconfigvalue1": {
  26091. "description": "提货积分配置1",
  26092. "type": "integer"
  26093. },
  26094. "scoreconfigvalue2": {
  26095. "description": "提货积分配置2",
  26096. "type": "integer"
  26097. },
  26098. "userid": {
  26099. "description": "机构用户ID其他做市关系,都设置为 1",
  26100. "type": "integer"
  26101. },
  26102. "username": {
  26103. "description": "用户名称",
  26104. "type": "string"
  26105. }
  26106. }
  26107. },
  26108. "models.QhjBankAccountSign": {
  26109. "type": "object",
  26110. "properties": {
  26111. "accountcode": {
  26112. "description": "资金账号",
  26113. "type": "string"
  26114. },
  26115. "accountname": {
  26116. "description": "资金账号对应的账号名(UserName)",
  26117. "type": "string"
  26118. },
  26119. "accountname2": {
  26120. "description": "资金账号对应的账号名(UserName) - 密文",
  26121. "type": "string"
  26122. },
  26123. "accounttype": {
  26124. "description": "账户类型(UserType)",
  26125. "type": "integer"
  26126. },
  26127. "applicationtime": {
  26128. "description": "最后一次更新的时间",
  26129. "type": "string"
  26130. },
  26131. "applyexchticket": {
  26132. "description": "申请流水",
  26133. "type": "string"
  26134. },
  26135. "auditid": {
  26136. "description": "审核人",
  26137. "type": "integer"
  26138. },
  26139. "audittime": {
  26140. "description": "审核时间",
  26141. "type": "string"
  26142. },
  26143. "bankaccountname": {
  26144. "description": "签约银行卡账号名",
  26145. "type": "string"
  26146. },
  26147. "bankaccountname2": {
  26148. "description": "签约银行卡账号名 - 密文",
  26149. "type": "string"
  26150. },
  26151. "bankaccountno": {
  26152. "description": "银行卡号",
  26153. "type": "string"
  26154. },
  26155. "bankaccountno2": {
  26156. "description": "银行卡号 - 密文",
  26157. "type": "string"
  26158. },
  26159. "bankaccounttype": {
  26160. "description": "银行账户类型 - 1-对私; 2-对公",
  26161. "type": "integer"
  26162. },
  26163. "bankcardtype": {
  26164. "description": "银行卡类型",
  26165. "type": "integer"
  26166. },
  26167. "bankchildaccount": {
  26168. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  26169. "type": "string"
  26170. },
  26171. "bankcity": {
  26172. "description": "开户行城市",
  26173. "type": "string"
  26174. },
  26175. "bankid": {
  26176. "description": "签约银行ID",
  26177. "type": "string"
  26178. },
  26179. "bankname": {
  26180. "description": "签约银行名称",
  26181. "type": "string"
  26182. },
  26183. "bankprovince": {
  26184. "description": "开户行省份",
  26185. "type": "string"
  26186. },
  26187. "branchbankid": {
  26188. "description": "签约银行支行号",
  26189. "type": "string"
  26190. },
  26191. "branchbankname": {
  26192. "description": "签约银行支行名称",
  26193. "type": "string"
  26194. },
  26195. "cardno": {
  26196. "description": "证件号码",
  26197. "type": "string"
  26198. },
  26199. "cardno2": {
  26200. "description": "证件号码 - 密文",
  26201. "type": "string"
  26202. },
  26203. "cardtype": {
  26204. "description": "证件类型",
  26205. "type": "string"
  26206. },
  26207. "currency": {
  26208. "description": "币种",
  26209. "type": "string"
  26210. },
  26211. "cusbankid": {
  26212. "description": "托管银行编号",
  26213. "type": "string"
  26214. },
  26215. "direct": {
  26216. "description": "方向(可以判断那方先发起的签约)",
  26217. "type": "integer"
  26218. },
  26219. "exchticket": {
  26220. "description": "最后一次签约成功的流水号",
  26221. "type": "string"
  26222. },
  26223. "extendinfo": {
  26224. "description": "扩展信息(JSON字符串)",
  26225. "type": "string"
  26226. },
  26227. "mobilephone": {
  26228. "description": "手机号",
  26229. "type": "string"
  26230. },
  26231. "mobilephone2": {
  26232. "description": "手机号 - 密文",
  26233. "type": "string"
  26234. },
  26235. "netaddr": {
  26236. "description": "调转网址",
  26237. "type": "string"
  26238. },
  26239. "relateduserid": {
  26240. "description": "关联使用者userid",
  26241. "type": "integer"
  26242. },
  26243. "signstatus": {
  26244. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  26245. "type": "integer"
  26246. },
  26247. "updatetime": {
  26248. "description": "更新时间(签解约更新时间)",
  26249. "type": "string"
  26250. }
  26251. }
  26252. },
  26253. "models.QhjBankInfo": {
  26254. "type": "object",
  26255. "properties": {
  26256. "bankid": {
  26257. "description": "银行ID",
  26258. "type": "string"
  26259. },
  26260. "bankname": {
  26261. "description": "银行名称",
  26262. "type": "string"
  26263. },
  26264. "clearbankno": {
  26265. "description": "清算系统银行编号",
  26266. "type": "string"
  26267. },
  26268. "orderindex": {
  26269. "description": "排序顺序",
  26270. "type": "integer"
  26271. },
  26272. "status": {
  26273. "description": "状态 - 0:正常 1:注销",
  26274. "type": "integer"
  26275. }
  26276. }
  26277. },
  26278. "models.QhjBrokerApply": {
  26279. "type": "object",
  26280. "properties": {
  26281. "applicantid": {
  26282. "description": "申请人",
  26283. "type": "integer"
  26284. },
  26285. "applysrc": {
  26286. "description": "申请来源 - 1:管理端 2:终端",
  26287. "type": "integer"
  26288. },
  26289. "applystatus": {
  26290. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26291. "type": "integer"
  26292. },
  26293. "applytime": {
  26294. "description": "申请时间",
  26295. "type": "string"
  26296. },
  26297. "auditorid": {
  26298. "description": "审核人",
  26299. "type": "integer"
  26300. },
  26301. "auditremark": {
  26302. "description": "审核备注",
  26303. "type": "string"
  26304. },
  26305. "auditsrc": {
  26306. "description": "审核来源 - 1:管理端 2:终端",
  26307. "type": "integer"
  26308. },
  26309. "audittime": {
  26310. "description": "审核时间",
  26311. "type": "string"
  26312. },
  26313. "audittradedate": {
  26314. "description": "审核交易日(yyyyMMdd)",
  26315. "type": "string"
  26316. },
  26317. "brokerapplyid": {
  26318. "description": "申请ID(SEQ_BROKERAPPLY)",
  26319. "type": "integer"
  26320. },
  26321. "cardbackphotourl": {
  26322. "description": "证件背面图片地址",
  26323. "type": "string"
  26324. },
  26325. "cardfrontphotourl": {
  26326. "description": "证件正面图片地址",
  26327. "type": "string"
  26328. },
  26329. "cardnum": {
  26330. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26331. "type": "string"
  26332. },
  26333. "customername": {
  26334. "description": "姓名",
  26335. "type": "string"
  26336. },
  26337. "logincode": {
  26338. "description": "登录代码",
  26339. "type": "string"
  26340. },
  26341. "mobile": {
  26342. "description": "手机号码",
  26343. "type": "string"
  26344. },
  26345. "parentuserid": {
  26346. "description": "所属机构id",
  26347. "type": "integer"
  26348. },
  26349. "parentusername": {
  26350. "description": "所属机构名称",
  26351. "type": "string"
  26352. },
  26353. "refereeuserid": {
  26354. "description": "推荐人id(经纪人)",
  26355. "type": "integer"
  26356. },
  26357. "refernum": {
  26358. "description": "推荐码",
  26359. "type": "string"
  26360. },
  26361. "remark": {
  26362. "description": "备注",
  26363. "type": "string"
  26364. },
  26365. "subarealevelpath": {
  26366. "description": "层级路径",
  26367. "type": "string"
  26368. },
  26369. "tradedate": {
  26370. "description": "交易日(yyyyMMdd)",
  26371. "type": "string"
  26372. },
  26373. "userid": {
  26374. "description": "申请人用户ID",
  26375. "type": "integer"
  26376. },
  26377. "userinfotype": {
  26378. "description": "用户类型 1-个人 2-企业",
  26379. "type": "integer"
  26380. },
  26381. "username": {
  26382. "description": "用户名称",
  26383. "type": "string"
  26384. }
  26385. }
  26386. },
  26387. "models.QhjBrokerApplyEx": {
  26388. "type": "object",
  26389. "properties": {
  26390. "applylist": {
  26391. "description": "经纪人申请记录(只返回最新一条)",
  26392. "type": "array",
  26393. "items": {
  26394. "$ref": "#/definitions/models.QhjBrokerApply"
  26395. }
  26396. },
  26397. "canrecommend": {
  26398. "description": "是否经纪人 0-不是 1-是",
  26399. "type": "integer"
  26400. },
  26401. "refernum": {
  26402. "description": "推荐码",
  26403. "type": "string"
  26404. },
  26405. "userid": {
  26406. "description": "用户id",
  26407. "type": "integer"
  26408. },
  26409. "userinfotype": {
  26410. "description": "用户类型 1-个人 2-企业",
  26411. "type": "integer"
  26412. }
  26413. }
  26414. },
  26415. "models.QhjBrokerRewardLog": {
  26416. "type": "object",
  26417. "properties": {
  26418. "accountid": {
  26419. "description": "资金账号ID",
  26420. "type": "integer"
  26421. },
  26422. "createtime": {
  26423. "description": "创建时间(时间)",
  26424. "type": "string"
  26425. },
  26426. "handlestatus": {
  26427. "description": "处理状态",
  26428. "type": "integer"
  26429. },
  26430. "logid": {
  26431. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26432. "type": "string"
  26433. },
  26434. "marketid": {
  26435. "description": "市场ID",
  26436. "type": "integer"
  26437. },
  26438. "mmaccountid": {
  26439. "description": "做市商资金账号ID",
  26440. "type": "string"
  26441. },
  26442. "mmuserid": {
  26443. "description": "做市商用户ID",
  26444. "type": "string"
  26445. },
  26446. "rewardamount": {
  26447. "description": "奖励金额",
  26448. "type": "number"
  26449. },
  26450. "rewardmodel": {
  26451. "description": "消费奖励方式 - 1:比率 2:固定",
  26452. "type": "integer"
  26453. },
  26454. "rewardtype": {
  26455. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  26456. "type": "integer"
  26457. },
  26458. "rewardvalue": {
  26459. "description": "配置奖励值",
  26460. "type": "number"
  26461. },
  26462. "srcamount": {
  26463. "description": "成交金额 [消费奖励] (金额)",
  26464. "type": "number"
  26465. },
  26466. "srcgoodsid": {
  26467. "description": "来源商品ID [消费奖励]",
  26468. "type": "string"
  26469. },
  26470. "srctime": {
  26471. "description": "来源时间 (成交时间) [消费奖励]",
  26472. "type": "string"
  26473. },
  26474. "srctradeid": {
  26475. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  26476. "type": "string"
  26477. },
  26478. "srcuserid": {
  26479. "description": "来源用户ID(推广账户)",
  26480. "type": "string"
  26481. },
  26482. "srcusername": {
  26483. "description": "推广账户名称",
  26484. "type": "string"
  26485. },
  26486. "tradedate": {
  26487. "description": "交易日(yyyyMMdd)",
  26488. "type": "string"
  26489. },
  26490. "userid": {
  26491. "description": "经纪人用户ID",
  26492. "type": "integer"
  26493. }
  26494. }
  26495. },
  26496. "models.QhjContract": {
  26497. "type": "object",
  26498. "properties": {
  26499. "contractconfirmtime": {
  26500. "description": "合同确认时间(时间)",
  26501. "type": "string"
  26502. },
  26503. "currisklevel": {
  26504. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26505. "type": "integer"
  26506. },
  26507. "decimalplace": {
  26508. "description": "商品报价小数位",
  26509. "type": "integer"
  26510. },
  26511. "enumdicname": {
  26512. "description": "单位名称",
  26513. "type": "string"
  26514. },
  26515. "goodscode": {
  26516. "description": "商品代码",
  26517. "type": "string"
  26518. },
  26519. "goodsid": {
  26520. "description": "商品ID [5:融资单]",
  26521. "type": "integer"
  26522. },
  26523. "goodsname": {
  26524. "description": "商品名称",
  26525. "type": "string"
  26526. },
  26527. "goodunitid": {
  26528. "description": "商品单位id",
  26529. "type": "integer"
  26530. },
  26531. "initmargin": {
  26532. "description": "初始保证金(首付款)",
  26533. "type": "number"
  26534. },
  26535. "lenderamount": {
  26536. "description": "贷款金额(总额|订单总额)",
  26537. "type": "number"
  26538. },
  26539. "marginratio": {
  26540. "description": "保证金比率(首付比例)",
  26541. "type": "number"
  26542. },
  26543. "payamount": {
  26544. "description": "已付(已付货款)",
  26545. "type": "number"
  26546. },
  26547. "reckonrecovermargin": {
  26548. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26549. "type": "number"
  26550. },
  26551. "recoveredmargin": {
  26552. "description": "已追缴保证金",
  26553. "type": "number"
  26554. },
  26555. "remainamount": {
  26556. "description": "合同剩余金额(融资额)",
  26557. "type": "number"
  26558. },
  26559. "scfcontractid": {
  26560. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26561. "type": "string"
  26562. },
  26563. "scfcontractstatus": {
  26564. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26565. "type": "integer"
  26566. },
  26567. "scfcontracttype": {
  26568. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26569. "type": "integer"
  26570. },
  26571. "totalinterest": {
  26572. "description": "已计总利息(利息)",
  26573. "type": "number"
  26574. },
  26575. "tradeprice": {
  26576. "description": "成交价格(成本价格)",
  26577. "type": "number"
  26578. },
  26579. "userid": {
  26580. "description": "用户ID",
  26581. "type": "integer"
  26582. },
  26583. "username": {
  26584. "description": "用户名称",
  26585. "type": "string"
  26586. },
  26587. "wrqty": {
  26588. "description": "仓单数量(数量)",
  26589. "type": "number"
  26590. }
  26591. }
  26592. },
  26593. "models.QhjContractLog": {
  26594. "type": "object",
  26595. "properties": {
  26596. "amount": {
  26597. "description": "支付金额",
  26598. "type": "number"
  26599. },
  26600. "amounttype": {
  26601. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  26602. "type": "integer"
  26603. },
  26604. "logid": {
  26605. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26606. "type": "string"
  26607. },
  26608. "remainamount": {
  26609. "description": "剩余货款",
  26610. "type": "number"
  26611. },
  26612. "scfcontractid": {
  26613. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26614. "type": "integer"
  26615. },
  26616. "updatetime": {
  26617. "description": "更新时间",
  26618. "type": "string"
  26619. }
  26620. }
  26621. },
  26622. "models.QhjCusBankSignBankEx": {
  26623. "type": "object",
  26624. "properties": {
  26625. "banklst": {
  26626. "description": "银行列表",
  26627. "type": "array",
  26628. "items": {
  26629. "$ref": "#/definitions/models.QhjBankInfo"
  26630. }
  26631. },
  26632. "canallot": {
  26633. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  26634. "type": "integer"
  26635. },
  26636. "canallotquery": {
  26637. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  26638. "type": "integer"
  26639. },
  26640. "canbindcard": {
  26641. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  26642. "type": "integer"
  26643. },
  26644. "caninamount": {
  26645. "description": "是否可入金 - 0:不可 1:可以",
  26646. "type": "integer"
  26647. },
  26648. "caninamount2": {
  26649. "description": "是否可入金(网银端) - 0:不可 1:可以",
  26650. "type": "integer"
  26651. },
  26652. "canmodifybankcard": {
  26653. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  26654. "type": "integer"
  26655. },
  26656. "canmodifyphone": {
  26657. "description": "是否可修改手机号 - 0:不可 1:可以",
  26658. "type": "integer"
  26659. },
  26660. "canmodifysigninfo": {
  26661. "description": "是否可修改签约信息 - 0:不可 1:可以",
  26662. "type": "integer"
  26663. },
  26664. "canoutamount": {
  26665. "description": "是否可出金 - 0:不可 1:可以",
  26666. "type": "integer"
  26667. },
  26668. "canoutamount2": {
  26669. "description": "是否可出金(网银端) - 0:不可 1:可以",
  26670. "type": "integer"
  26671. },
  26672. "canrelease": {
  26673. "description": "是否可解约 - 0:不可 1:可以",
  26674. "type": "integer"
  26675. },
  26676. "canrelease2": {
  26677. "description": "是否可解约(网银端) - 0:不可 1:可以",
  26678. "type": "integer"
  26679. },
  26680. "cansign": {
  26681. "description": "是否可签约 - 0:不可 1:可以",
  26682. "type": "integer"
  26683. },
  26684. "cansign2": {
  26685. "description": "是否可签约(网银端) - 0:不可 1:可以",
  26686. "type": "integer"
  26687. },
  26688. "currency": {
  26689. "description": "币种",
  26690. "type": "string"
  26691. },
  26692. "cusbankid": {
  26693. "description": "托管银行编号(对应清算中心TRAN_NO)",
  26694. "type": "string"
  26695. },
  26696. "cusbankname": {
  26697. "description": "银行业务名称",
  26698. "type": "string"
  26699. },
  26700. "cusbankshortname": {
  26701. "description": "银行业务简称",
  26702. "type": "string"
  26703. },
  26704. "exchbankid": {
  26705. "description": "交易所开户银行ID",
  26706. "type": "string"
  26707. },
  26708. "exchpaybankaccname": {
  26709. "description": "交易所支出结算账户户名",
  26710. "type": "string"
  26711. },
  26712. "exchpaybankaccno": {
  26713. "description": "交易所支出结算账户",
  26714. "type": "string"
  26715. },
  26716. "isneedcheck": {
  26717. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  26718. "type": "integer"
  26719. },
  26720. "isneedclear": {
  26721. "description": "是否需要清算 - 0:不需要 1:需要",
  26722. "type": "integer"
  26723. },
  26724. "lastcheckstatus": {
  26725. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  26726. "type": "integer"
  26727. },
  26728. "lastchecktime": {
  26729. "description": "最后对账时间",
  26730. "type": "string"
  26731. },
  26732. "lastclearstatus": {
  26733. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  26734. "type": "integer"
  26735. },
  26736. "lastcleartime": {
  26737. "description": "最后清算时间",
  26738. "type": "string"
  26739. },
  26740. "lastsignintime": {
  26741. "description": "最后签到时间",
  26742. "type": "string"
  26743. },
  26744. "lastsignouttime": {
  26745. "description": "最后签退时间",
  26746. "type": "string"
  26747. },
  26748. "riskinfo": {
  26749. "description": "签约风险提示书",
  26750. "type": "string"
  26751. },
  26752. "signstatus": {
  26753. "description": "当前签到/签退状态 - 1:签到 2:签退",
  26754. "type": "integer"
  26755. },
  26756. "tradedate": {
  26757. "description": "交易日(yyyyMMdd)",
  26758. "type": "string"
  26759. },
  26760. "updatetime": {
  26761. "description": "当前签到/签退更新时间",
  26762. "type": "string"
  26763. }
  26764. }
  26765. },
  26766. "models.QhjCustomer": {
  26767. "type": "object",
  26768. "properties": {
  26769. "address": {
  26770. "description": "通讯地址",
  26771. "type": "string"
  26772. },
  26773. "attachment1": {
  26774. "description": "附件1",
  26775. "type": "string"
  26776. },
  26777. "audittime": {
  26778. "description": "审核时间",
  26779. "type": "string"
  26780. },
  26781. "cardbackphotourl": {
  26782. "description": "证件反面图片地址",
  26783. "type": "string"
  26784. },
  26785. "cardfrontphotourl": {
  26786. "description": "证件正面图片地址",
  26787. "type": "string"
  26788. },
  26789. "cardnum": {
  26790. "description": "证件号码",
  26791. "type": "string"
  26792. },
  26793. "cardtype": {
  26794. "description": "证件类型",
  26795. "type": "integer"
  26796. },
  26797. "cardtypename": {
  26798. "description": "证件类型名称",
  26799. "type": "string"
  26800. },
  26801. "cityid": {
  26802. "description": "市",
  26803. "type": "integer"
  26804. },
  26805. "cityname": {
  26806. "description": "城市名称",
  26807. "type": "string"
  26808. },
  26809. "contactname": {
  26810. "description": "联系人",
  26811. "type": "string"
  26812. },
  26813. "countryid": {
  26814. "description": "国家",
  26815. "type": "integer"
  26816. },
  26817. "countryname": {
  26818. "description": "国家名称",
  26819. "type": "string"
  26820. },
  26821. "createtime": {
  26822. "description": "创建时间",
  26823. "type": "string"
  26824. },
  26825. "customername": {
  26826. "description": "客户名称",
  26827. "type": "string"
  26828. },
  26829. "districtid": {
  26830. "description": "区域",
  26831. "type": "integer"
  26832. },
  26833. "districtname": {
  26834. "description": "地区名称",
  26835. "type": "string"
  26836. },
  26837. "email": {
  26838. "description": "邮件",
  26839. "type": "string"
  26840. },
  26841. "legalpersonname": {
  26842. "description": "法人姓名(企业)",
  26843. "type": "string"
  26844. },
  26845. "logincode": {
  26846. "description": "登录账号(代码)",
  26847. "type": "string"
  26848. },
  26849. "memberuserid": {
  26850. "description": "所属机构ID(所属会员)",
  26851. "type": "integer"
  26852. },
  26853. "memberusername": {
  26854. "description": "所属会员名称",
  26855. "type": "string"
  26856. },
  26857. "mobile": {
  26858. "description": "手机号码",
  26859. "type": "string"
  26860. },
  26861. "modifytime": {
  26862. "description": "修改时间",
  26863. "type": "string"
  26864. },
  26865. "nickname": {
  26866. "description": "昵称",
  26867. "type": "string"
  26868. },
  26869. "parentuserid": {
  26870. "description": "上级机构(所属机构)",
  26871. "type": "integer"
  26872. },
  26873. "parentusername": {
  26874. "description": "所属机构名称",
  26875. "type": "string"
  26876. },
  26877. "provinceid": {
  26878. "description": "省",
  26879. "type": "integer"
  26880. },
  26881. "provincename": {
  26882. "description": "省名称",
  26883. "type": "string"
  26884. },
  26885. "proxystatementurl": {
  26886. "description": "授权委托书",
  26887. "type": "string"
  26888. },
  26889. "remark": {
  26890. "description": "备注",
  26891. "type": "string"
  26892. },
  26893. "status": {
  26894. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  26895. "type": "integer"
  26896. },
  26897. "statusdesc": {
  26898. "description": "账户状态中文描述",
  26899. "type": "string"
  26900. },
  26901. "taxpayernum": {
  26902. "description": "纳税人识别号",
  26903. "type": "string"
  26904. },
  26905. "telphone": {
  26906. "description": "联系电话",
  26907. "type": "string"
  26908. },
  26909. "userid": {
  26910. "description": "用户ID",
  26911. "type": "integer"
  26912. },
  26913. "userinfotype": {
  26914. "description": "客户类型 1-个人 2-企业",
  26915. "type": "integer"
  26916. },
  26917. "username": {
  26918. "description": "用户名称",
  26919. "type": "string"
  26920. }
  26921. }
  26922. },
  26923. "models.QhjCustomerSignLog": {
  26924. "type": "object",
  26925. "properties": {
  26926. "agreementcontent": {
  26927. "description": "协议内容",
  26928. "type": "string"
  26929. },
  26930. "agreementid": {
  26931. "description": "协议ID",
  26932. "type": "integer"
  26933. },
  26934. "agreementname": {
  26935. "description": "协议名称",
  26936. "type": "string"
  26937. },
  26938. "agreementno": {
  26939. "description": "协议编号",
  26940. "type": "string"
  26941. },
  26942. "agreementtype": {
  26943. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26944. "type": "integer"
  26945. },
  26946. "agreementversion": {
  26947. "description": "协议版本号",
  26948. "type": "integer"
  26949. },
  26950. "createtime": {
  26951. "description": "创建时间",
  26952. "type": "string"
  26953. },
  26954. "goodscode": {
  26955. "description": "商品代码",
  26956. "type": "string"
  26957. },
  26958. "goodsid": {
  26959. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26960. "type": "integer"
  26961. },
  26962. "goodsname": {
  26963. "description": "商品名称",
  26964. "type": "string"
  26965. },
  26966. "logid": {
  26967. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  26968. "type": "integer"
  26969. },
  26970. "nodetype": {
  26971. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26972. "type": "integer"
  26973. },
  26974. "signadressurl": {
  26975. "description": "签约文件地址",
  26976. "type": "string"
  26977. },
  26978. "signtimestamp": {
  26979. "description": "签约状态时间戳",
  26980. "type": "string"
  26981. },
  26982. "userid": {
  26983. "description": "客户ID",
  26984. "type": "integer"
  26985. },
  26986. "username": {
  26987. "description": "客户名称",
  26988. "type": "string"
  26989. }
  26990. }
  26991. },
  26992. "models.QhjCustomerSignStatus": {
  26993. "type": "object",
  26994. "properties": {
  26995. "createtime": {
  26996. "description": "创建时间",
  26997. "type": "string"
  26998. },
  26999. "goodscode": {
  27000. "description": "商品代码",
  27001. "type": "string"
  27002. },
  27003. "goodsid": {
  27004. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27005. "type": "integer"
  27006. },
  27007. "goodsname": {
  27008. "description": "商品名称",
  27009. "type": "string"
  27010. },
  27011. "nodetype": {
  27012. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  27013. "type": "integer"
  27014. },
  27015. "signtimestamp": {
  27016. "description": "签约状态时间戳",
  27017. "type": "string"
  27018. },
  27019. "tradedate": {
  27020. "description": "创建交易日(yyyyMMdd)",
  27021. "type": "string"
  27022. },
  27023. "updatetime": {
  27024. "description": "更新时间",
  27025. "type": "string"
  27026. },
  27027. "userid": {
  27028. "description": "客户ID",
  27029. "type": "integer"
  27030. },
  27031. "username": {
  27032. "description": "客户名称",
  27033. "type": "string"
  27034. }
  27035. }
  27036. },
  27037. "models.QhjMgrAccountOutInApply": {
  27038. "type": "object",
  27039. "properties": {
  27040. "accountcode": {
  27041. "description": "资金账号",
  27042. "type": "string"
  27043. },
  27044. "accountname": {
  27045. "description": "用户名称(名称)",
  27046. "type": "string"
  27047. },
  27048. "accountpwd": {
  27049. "description": "资金密码",
  27050. "type": "string"
  27051. },
  27052. "accountticket": {
  27053. "description": "最新账户服务流水号",
  27054. "type": "string"
  27055. },
  27056. "amount": {
  27057. "description": "金额",
  27058. "type": "number"
  27059. },
  27060. "applyremark": {
  27061. "description": "申请备注",
  27062. "type": "string"
  27063. },
  27064. "applystatus": {
  27065. "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: 复审通过,账户冻结金额检查中;",
  27066. "type": "integer"
  27067. },
  27068. "auditid": {
  27069. "description": "审核人",
  27070. "type": "integer"
  27071. },
  27072. "audittime": {
  27073. "description": "审核时间",
  27074. "type": "string"
  27075. },
  27076. "bank_apply_ticket": {
  27077. "description": "银行申请流水",
  27078. "type": "string"
  27079. },
  27080. "bankaccountname": {
  27081. "description": "银行账户名",
  27082. "type": "string"
  27083. },
  27084. "bankaccountno": {
  27085. "description": "银行卡号",
  27086. "type": "string"
  27087. },
  27088. "bankid": {
  27089. "description": "银行编号",
  27090. "type": "string"
  27091. },
  27092. "bankname": {
  27093. "description": "银行名称",
  27094. "type": "string"
  27095. },
  27096. "bankticket": {
  27097. "description": "银行流水",
  27098. "type": "string"
  27099. },
  27100. "branchbankid": {
  27101. "description": "银行支行号",
  27102. "type": "string"
  27103. },
  27104. "branchbankname": {
  27105. "description": "银行支行名称",
  27106. "type": "string"
  27107. },
  27108. "capamountout": {
  27109. "description": "出金(劣后本金) - 外部子账户",
  27110. "type": "number"
  27111. },
  27112. "certificatephotourl": {
  27113. "description": "凭证地址",
  27114. "type": "string"
  27115. },
  27116. "charge": {
  27117. "description": "手续费",
  27118. "type": "number"
  27119. },
  27120. "checkerrorflag": {
  27121. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27122. "type": "integer"
  27123. },
  27124. "currency": {
  27125. "description": "币种",
  27126. "type": "string"
  27127. },
  27128. "cusbankid": {
  27129. "description": "托管银行编号",
  27130. "type": "string"
  27131. },
  27132. "exchticket": {
  27133. "description": "银行服务流水号",
  27134. "type": "string"
  27135. },
  27136. "executetype": {
  27137. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27138. "type": "integer"
  27139. },
  27140. "extendinfo": {
  27141. "description": "扩展信息",
  27142. "type": "string"
  27143. },
  27144. "extoperateid": {
  27145. "description": "交易服务流水号",
  27146. "type": "integer"
  27147. },
  27148. "infamount": {
  27149. "description": "劣后金额(自有)",
  27150. "type": "number"
  27151. },
  27152. "logincode": {
  27153. "description": "登录账号(账号)",
  27154. "type": "string"
  27155. },
  27156. "netaddr": {
  27157. "description": "调转网址",
  27158. "type": "string"
  27159. },
  27160. "priamount": {
  27161. "description": "优先金额(授信)",
  27162. "type": "number"
  27163. },
  27164. "reauditid": {
  27165. "description": "复审人",
  27166. "type": "integer"
  27167. },
  27168. "reauditremark": {
  27169. "description": "复审备注",
  27170. "type": "string"
  27171. },
  27172. "reaudittime": {
  27173. "description": "复审时间",
  27174. "type": "string"
  27175. },
  27176. "relatedorderid": {
  27177. "description": "三方关联ID",
  27178. "type": "string"
  27179. },
  27180. "remark": {
  27181. "description": "备注",
  27182. "type": "string"
  27183. },
  27184. "remark2": {
  27185. "description": "备注(失败原因)",
  27186. "type": "string"
  27187. },
  27188. "soucreamount": {
  27189. "description": "原始出入金金额",
  27190. "type": "number"
  27191. },
  27192. "soucrecurrencyid": {
  27193. "description": "原始出入金币种",
  27194. "type": "integer"
  27195. },
  27196. "tradedate": {
  27197. "description": "交易日(yyyyMMdd)",
  27198. "type": "string"
  27199. },
  27200. "updatetime": {
  27201. "description": "更新时间(申请时间)",
  27202. "type": "string"
  27203. },
  27204. "userid": {
  27205. "description": "用户id",
  27206. "type": "integer"
  27207. },
  27208. "userinfotype": {
  27209. "description": "账户类型 1-个人 2-企业",
  27210. "type": "integer"
  27211. }
  27212. }
  27213. },
  27214. "models.QhjMgrBrokerApply": {
  27215. "type": "object",
  27216. "properties": {
  27217. "applicantid": {
  27218. "description": "申请人",
  27219. "type": "integer"
  27220. },
  27221. "applysrc": {
  27222. "description": "申请来源 - 1:管理端 2:终端",
  27223. "type": "integer"
  27224. },
  27225. "applystatus": {
  27226. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  27227. "type": "integer"
  27228. },
  27229. "applytime": {
  27230. "description": "申请时间",
  27231. "type": "string"
  27232. },
  27233. "auditorid": {
  27234. "description": "审核人",
  27235. "type": "integer"
  27236. },
  27237. "auditremark": {
  27238. "description": "审核备注",
  27239. "type": "string"
  27240. },
  27241. "auditsrc": {
  27242. "description": "审核来源 - 1:管理端 2:终端",
  27243. "type": "integer"
  27244. },
  27245. "audittime": {
  27246. "description": "审核时间",
  27247. "type": "string"
  27248. },
  27249. "audittradedate": {
  27250. "description": "审核交易日(yyyyMMdd)",
  27251. "type": "string"
  27252. },
  27253. "brokerapplyid": {
  27254. "description": "申请ID(SEQ_BROKERAPPLY)",
  27255. "type": "integer"
  27256. },
  27257. "cardbackphotourl": {
  27258. "description": "证件背面图片地址",
  27259. "type": "string"
  27260. },
  27261. "cardfrontphotourl": {
  27262. "description": "证件正面图片地址",
  27263. "type": "string"
  27264. },
  27265. "cardnum": {
  27266. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  27267. "type": "string"
  27268. },
  27269. "customername": {
  27270. "description": "姓名",
  27271. "type": "string"
  27272. },
  27273. "filterstatus": {
  27274. "description": "筛选条件",
  27275. "type": "string"
  27276. },
  27277. "logincode": {
  27278. "description": "登录代码",
  27279. "type": "string"
  27280. },
  27281. "mobile": {
  27282. "description": "手机号码",
  27283. "type": "string"
  27284. },
  27285. "parentuserid": {
  27286. "description": "所属机构id",
  27287. "type": "integer"
  27288. },
  27289. "parentusername": {
  27290. "description": "所属机构名称",
  27291. "type": "string"
  27292. },
  27293. "refereeuserid": {
  27294. "description": "推荐人id(经纪人)",
  27295. "type": "integer"
  27296. },
  27297. "refernum": {
  27298. "description": "推荐码",
  27299. "type": "string"
  27300. },
  27301. "remark": {
  27302. "description": "备注",
  27303. "type": "string"
  27304. },
  27305. "subarealevelpath": {
  27306. "description": "层级路径",
  27307. "type": "string"
  27308. },
  27309. "tradedate": {
  27310. "description": "交易日(yyyyMMdd)",
  27311. "type": "string"
  27312. },
  27313. "userid": {
  27314. "description": "申请人用户ID",
  27315. "type": "integer"
  27316. },
  27317. "userinfotype": {
  27318. "description": "用户类型 1-个人 2-企业",
  27319. "type": "integer"
  27320. },
  27321. "username": {
  27322. "description": "用户名称",
  27323. "type": "string"
  27324. }
  27325. }
  27326. },
  27327. "models.QhjMgrBrokerRewardReport": {
  27328. "type": "object",
  27329. "properties": {
  27330. "createtime": {
  27331. "description": "创建时间(注册时间)",
  27332. "type": "string"
  27333. },
  27334. "cycletime": {
  27335. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  27336. "type": "string"
  27337. },
  27338. "cycletype": {
  27339. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27340. "type": "integer"
  27341. },
  27342. "directtotalnum": {
  27343. "description": "直推总人数【期末】",
  27344. "type": "integer"
  27345. },
  27346. "indirecttotalnum": {
  27347. "description": "间推总人数【期末】",
  27348. "type": "integer"
  27349. },
  27350. "mobile": {
  27351. "description": "电话号码",
  27352. "type": "string"
  27353. },
  27354. "refereeuserid": {
  27355. "description": "推荐人id(经纪人id)",
  27356. "type": "integer"
  27357. },
  27358. "refereeusername": {
  27359. "description": "推荐人名称(经纪人) 上级经纪人名称",
  27360. "type": "string"
  27361. },
  27362. "refernum": {
  27363. "description": "推荐码",
  27364. "type": "string"
  27365. },
  27366. "subarealevelpath": {
  27367. "description": "用户层级路径",
  27368. "type": "string"
  27369. },
  27370. "todayrewardamount": {
  27371. "description": "奖励总金额【汇总】",
  27372. "type": "number"
  27373. },
  27374. "updatetime": {
  27375. "description": "更新时间",
  27376. "type": "string"
  27377. },
  27378. "userid": {
  27379. "description": "经纪人用户ID",
  27380. "type": "integer"
  27381. },
  27382. "userinfotype": {
  27383. "description": "用户类型 1-个人 2-企业",
  27384. "type": "integer"
  27385. },
  27386. "username": {
  27387. "description": "用户名称",
  27388. "type": "string"
  27389. }
  27390. }
  27391. },
  27392. "models.QhjMgrContract": {
  27393. "type": "object",
  27394. "properties": {
  27395. "contractconfirmtime": {
  27396. "description": "合同确认时间(时间)",
  27397. "type": "string"
  27398. },
  27399. "currisklevel": {
  27400. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  27401. "type": "integer"
  27402. },
  27403. "decimalplace": {
  27404. "description": "商品报价小数位",
  27405. "type": "integer"
  27406. },
  27407. "enumdicname": {
  27408. "description": "单位名称",
  27409. "type": "string"
  27410. },
  27411. "goodscode": {
  27412. "description": "商品代码",
  27413. "type": "string"
  27414. },
  27415. "goodsid": {
  27416. "description": "商品ID [5:融资单]",
  27417. "type": "integer"
  27418. },
  27419. "goodsname": {
  27420. "description": "商品名称",
  27421. "type": "string"
  27422. },
  27423. "goodunitid": {
  27424. "description": "商品单位id",
  27425. "type": "integer"
  27426. },
  27427. "initmargin": {
  27428. "description": "初始保证金(首付款)",
  27429. "type": "number"
  27430. },
  27431. "lenderamount": {
  27432. "description": "贷款金额(总额|订单总额)",
  27433. "type": "number"
  27434. },
  27435. "logincode": {
  27436. "description": "账号(登录代码)",
  27437. "type": "string"
  27438. },
  27439. "marginratio": {
  27440. "description": "保证金比率(首付比例)",
  27441. "type": "number"
  27442. },
  27443. "mobile": {
  27444. "description": "电话号码(用户资料里的电话)",
  27445. "type": "string"
  27446. },
  27447. "payamount": {
  27448. "description": "已付(已付货款)",
  27449. "type": "number"
  27450. },
  27451. "reckonrecovermargin": {
  27452. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  27453. "type": "number"
  27454. },
  27455. "recoveredmargin": {
  27456. "description": "已追缴保证金",
  27457. "type": "number"
  27458. },
  27459. "remainamount": {
  27460. "description": "合同剩余金额(融资额)",
  27461. "type": "number"
  27462. },
  27463. "scfcontractid": {
  27464. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  27465. "type": "string"
  27466. },
  27467. "scfcontractstatus": {
  27468. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  27469. "type": "integer"
  27470. },
  27471. "scfcontracttype": {
  27472. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  27473. "type": "integer"
  27474. },
  27475. "totalinterest": {
  27476. "description": "已计总利息(利息)",
  27477. "type": "number"
  27478. },
  27479. "tradedate": {
  27480. "description": "交易日",
  27481. "type": "string"
  27482. },
  27483. "tradeprice": {
  27484. "description": "成交价格(成本价格)",
  27485. "type": "number"
  27486. },
  27487. "userid": {
  27488. "description": "用户ID",
  27489. "type": "integer"
  27490. },
  27491. "userinfotype": {
  27492. "description": "用户类型 1-个人 2-企业",
  27493. "type": "integer"
  27494. },
  27495. "username": {
  27496. "description": "用户名称",
  27497. "type": "string"
  27498. },
  27499. "wrqty": {
  27500. "description": "仓单数量(数量)",
  27501. "type": "number"
  27502. }
  27503. }
  27504. },
  27505. "models.QhjMgrCustomer": {
  27506. "type": "object",
  27507. "properties": {
  27508. "address": {
  27509. "description": "通讯地址",
  27510. "type": "string"
  27511. },
  27512. "attachment1": {
  27513. "description": "附件1",
  27514. "type": "string"
  27515. },
  27516. "audittime": {
  27517. "description": "审核时间",
  27518. "type": "string"
  27519. },
  27520. "birthday": {
  27521. "description": "生日",
  27522. "type": "string"
  27523. },
  27524. "brokerid": {
  27525. "description": "所属客户经理id",
  27526. "type": "integer"
  27527. },
  27528. "brokername": {
  27529. "description": "所属客户经理名称",
  27530. "type": "string"
  27531. },
  27532. "cardbackphotourl": {
  27533. "description": "证件反面图片地址",
  27534. "type": "string"
  27535. },
  27536. "cardfrontphotourl": {
  27537. "description": "证件正面图片地址",
  27538. "type": "string"
  27539. },
  27540. "cardnum": {
  27541. "description": "证件号码",
  27542. "type": "string"
  27543. },
  27544. "cardtype": {
  27545. "description": "证件类型",
  27546. "type": "integer"
  27547. },
  27548. "cardtypename": {
  27549. "description": "证件类型名称",
  27550. "type": "string"
  27551. },
  27552. "cityid": {
  27553. "description": "市",
  27554. "type": "integer"
  27555. },
  27556. "cityname": {
  27557. "description": "城市名称",
  27558. "type": "string"
  27559. },
  27560. "contactname": {
  27561. "description": "联系人",
  27562. "type": "string"
  27563. },
  27564. "countryid": {
  27565. "description": "国家",
  27566. "type": "integer"
  27567. },
  27568. "countryname": {
  27569. "description": "国家名称",
  27570. "type": "string"
  27571. },
  27572. "createtime": {
  27573. "description": "创建时间",
  27574. "type": "string"
  27575. },
  27576. "customername": {
  27577. "description": "客户名称",
  27578. "type": "string"
  27579. },
  27580. "districtid": {
  27581. "description": "区域",
  27582. "type": "integer"
  27583. },
  27584. "districtname": {
  27585. "description": "地区名称",
  27586. "type": "string"
  27587. },
  27588. "email": {
  27589. "description": "邮件",
  27590. "type": "string"
  27591. },
  27592. "legalpersonname": {
  27593. "description": "法人姓名(企业)",
  27594. "type": "string"
  27595. },
  27596. "logincode": {
  27597. "description": "登录账号(代码)",
  27598. "type": "string"
  27599. },
  27600. "memberuserid": {
  27601. "description": "所属机构ID(所属会员)",
  27602. "type": "integer"
  27603. },
  27604. "memberusername": {
  27605. "description": "所属会员名称",
  27606. "type": "string"
  27607. },
  27608. "mobile": {
  27609. "description": "手机号码",
  27610. "type": "string"
  27611. },
  27612. "modifytime": {
  27613. "description": "修改时间",
  27614. "type": "string"
  27615. },
  27616. "nickname": {
  27617. "description": "昵称",
  27618. "type": "string"
  27619. },
  27620. "parentuserid": {
  27621. "description": "上级机构(所属机构)",
  27622. "type": "integer"
  27623. },
  27624. "parentusername": {
  27625. "description": "所属机构名称",
  27626. "type": "string"
  27627. },
  27628. "provinceid": {
  27629. "description": "省",
  27630. "type": "integer"
  27631. },
  27632. "provincename": {
  27633. "description": "省名称",
  27634. "type": "string"
  27635. },
  27636. "proxystatementurl": {
  27637. "description": "授权委托书",
  27638. "type": "string"
  27639. },
  27640. "querytype": {
  27641. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  27642. "type": "integer"
  27643. },
  27644. "remark": {
  27645. "description": "备注",
  27646. "type": "string"
  27647. },
  27648. "sex": {
  27649. "description": "性别 0-女 1-男",
  27650. "type": "integer"
  27651. },
  27652. "status": {
  27653. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27654. "type": "integer"
  27655. },
  27656. "statusdesc": {
  27657. "description": "账户状态中文描述",
  27658. "type": "string"
  27659. },
  27660. "taxpayernum": {
  27661. "description": "纳税人识别号",
  27662. "type": "string"
  27663. },
  27664. "telphone": {
  27665. "description": "联系电话",
  27666. "type": "string"
  27667. },
  27668. "userid": {
  27669. "description": "用户ID",
  27670. "type": "integer"
  27671. },
  27672. "userinfotype": {
  27673. "description": "客户类型 1-个人 2-企业",
  27674. "type": "integer"
  27675. },
  27676. "username": {
  27677. "description": "用户名称",
  27678. "type": "string"
  27679. }
  27680. }
  27681. },
  27682. "models.QhjMgrPickGoods": {
  27683. "type": "object",
  27684. "properties": {
  27685. "enumdicname": {
  27686. "description": "单位名称(提货商品)",
  27687. "type": "string"
  27688. },
  27689. "goodsid": {
  27690. "description": "商品id",
  27691. "type": "integer"
  27692. },
  27693. "imageaddress": {
  27694. "description": "图片",
  27695. "type": "string"
  27696. },
  27697. "modifierid": {
  27698. "description": "修改人",
  27699. "type": "integer"
  27700. },
  27701. "modifiername": {
  27702. "description": "修改人名称",
  27703. "type": "string"
  27704. },
  27705. "modifysrc": {
  27706. "description": "修改来源 - 1:管理端 2:终端",
  27707. "type": "integer"
  27708. },
  27709. "pickupgoodsagreeunit": {
  27710. "description": "合约乘数",
  27711. "type": "number"
  27712. },
  27713. "pickupgoodsdesc": {
  27714. "description": "描述",
  27715. "type": "string"
  27716. },
  27717. "pickupgoodsid": {
  27718. "description": "提货商品ID",
  27719. "type": "string"
  27720. },
  27721. "pickupgoodsname": {
  27722. "description": "提货商品名称",
  27723. "type": "string"
  27724. },
  27725. "pickupgoodsstatus": {
  27726. "description": "状态 - 1:正常 2:停用 3:注销",
  27727. "type": "integer"
  27728. },
  27729. "pickupgoodsunitid": {
  27730. "description": "单位ID",
  27731. "type": "integer"
  27732. },
  27733. "pickupratio": {
  27734. "description": "提货系数",
  27735. "type": "number"
  27736. },
  27737. "preparedays": {
  27738. "description": "备货期(天)",
  27739. "type": "integer"
  27740. },
  27741. "remark": {
  27742. "description": "备注",
  27743. "type": "string"
  27744. },
  27745. "updatetime": {
  27746. "description": "更新时间",
  27747. "type": "string"
  27748. }
  27749. }
  27750. },
  27751. "models.QhjMgrPositionRsp": {
  27752. "type": "object",
  27753. "properties": {
  27754. "accountid": {
  27755. "description": "账号Id",
  27756. "type": "integer"
  27757. },
  27758. "accountname": {
  27759. "description": "用户名称",
  27760. "type": "string"
  27761. },
  27762. "agreeunit": {
  27763. "description": "合约乘数",
  27764. "type": "number"
  27765. },
  27766. "averageprice": {
  27767. "description": "均价",
  27768. "type": "number"
  27769. },
  27770. "avialqty": {
  27771. "description": "可用数量",
  27772. "type": "number"
  27773. },
  27774. "decimalplace": {
  27775. "description": "报价小数位",
  27776. "type": "integer"
  27777. },
  27778. "enumdicname": {
  27779. "description": "单位名称(商品)",
  27780. "type": "string"
  27781. },
  27782. "frozenqty": {
  27783. "description": "冻结数量",
  27784. "type": "number"
  27785. },
  27786. "goodscode": {
  27787. "description": "商品代码(内部)",
  27788. "type": "string"
  27789. },
  27790. "goodsid": {
  27791. "description": "商品Id",
  27792. "type": "integer"
  27793. },
  27794. "goodsname": {
  27795. "description": "商品名称",
  27796. "type": "string"
  27797. },
  27798. "goodunitid": {
  27799. "description": "报价单位ID",
  27800. "type": "integer"
  27801. },
  27802. "holderamount": {
  27803. "description": "金额",
  27804. "type": "number"
  27805. },
  27806. "holderqty": {
  27807. "description": "持有数量",
  27808. "type": "number"
  27809. },
  27810. "holdertype": {
  27811. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  27812. "type": "integer"
  27813. },
  27814. "logincode": {
  27815. "description": "登录代码(账户)",
  27816. "type": "string"
  27817. },
  27818. "marketid": {
  27819. "description": "市场id",
  27820. "type": "integer"
  27821. },
  27822. "qtydecimalplace": {
  27823. "description": "成交量小数位",
  27824. "type": "integer"
  27825. },
  27826. "trademode": {
  27827. "description": "交易模式",
  27828. "type": "integer"
  27829. },
  27830. "userid": {
  27831. "description": "用户id",
  27832. "type": "integer"
  27833. },
  27834. "userinfotype": {
  27835. "description": "账户类型 1-个人 2-企业",
  27836. "type": "integer"
  27837. }
  27838. }
  27839. },
  27840. "models.QhjMgrSubArea": {
  27841. "type": "object",
  27842. "properties": {
  27843. "accountname": {
  27844. "description": "账户名称(机构名称)",
  27845. "type": "string"
  27846. },
  27847. "memberuserid": {
  27848. "description": "所属会员ID",
  27849. "type": "integer"
  27850. },
  27851. "parenttopuser": {
  27852. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27853. "type": "string"
  27854. },
  27855. "parentuserid": {
  27856. "description": "所属机构ID",
  27857. "type": "integer"
  27858. },
  27859. "rootuserid": {
  27860. "description": "根用户ID",
  27861. "type": "string"
  27862. },
  27863. "subaccountlevel": {
  27864. "description": "子账户层数",
  27865. "type": "integer"
  27866. },
  27867. "subarealevelpath": {
  27868. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27869. "type": "string"
  27870. },
  27871. "userid": {
  27872. "description": "用户ID",
  27873. "type": "integer"
  27874. },
  27875. "usertype": {
  27876. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27877. "type": "integer"
  27878. }
  27879. }
  27880. },
  27881. "models.QhjMgrTradeDetailRsp": {
  27882. "type": "object",
  27883. "properties": {
  27884. "accountid": {
  27885. "description": "资金账号",
  27886. "type": "integer"
  27887. },
  27888. "accountname": {
  27889. "description": "用户名称",
  27890. "type": "string"
  27891. },
  27892. "agreeunit": {
  27893. "description": "合约乘数",
  27894. "type": "number"
  27895. },
  27896. "buyorsell": {
  27897. "description": "成交类型(方向) 0:买 1:卖",
  27898. "type": "integer"
  27899. },
  27900. "decimalplace": {
  27901. "description": "报价小数位",
  27902. "type": "integer"
  27903. },
  27904. "enumdicname": {
  27905. "description": "单位名称(商品)",
  27906. "type": "string"
  27907. },
  27908. "goodscode": {
  27909. "description": "商品代码(内部)",
  27910. "type": "string"
  27911. },
  27912. "goodsid": {
  27913. "description": "商品id",
  27914. "type": "integer"
  27915. },
  27916. "goodsname": {
  27917. "description": "商品名称",
  27918. "type": "string"
  27919. },
  27920. "goodunitid": {
  27921. "description": "报价单位ID",
  27922. "type": "integer"
  27923. },
  27924. "logincode": {
  27925. "description": "登录代码(账户)",
  27926. "type": "string"
  27927. },
  27928. "marketid": {
  27929. "description": "市场id",
  27930. "type": "integer"
  27931. },
  27932. "orderid": {
  27933. "description": "关联委托单号",
  27934. "type": "string"
  27935. },
  27936. "qtydecimalplace": {
  27937. "description": "成交量小数位",
  27938. "type": "integer"
  27939. },
  27940. "tradeamount": {
  27941. "description": "金额",
  27942. "type": "number"
  27943. },
  27944. "tradedate": {
  27945. "description": "交易日",
  27946. "type": "string"
  27947. },
  27948. "tradeid": {
  27949. "description": "成交单号",
  27950. "type": "string"
  27951. },
  27952. "trademode": {
  27953. "description": "交易模式",
  27954. "type": "integer"
  27955. },
  27956. "tradeprice": {
  27957. "description": "价格",
  27958. "type": "number"
  27959. },
  27960. "tradeqty": {
  27961. "description": "数量",
  27962. "type": "number"
  27963. },
  27964. "tradetime": {
  27965. "description": "成交时间",
  27966. "type": "string"
  27967. },
  27968. "userid": {
  27969. "description": "用户id",
  27970. "type": "integer"
  27971. },
  27972. "userinfotype": {
  27973. "description": "账户类型 1-个人 2-企业",
  27974. "type": "integer"
  27975. }
  27976. }
  27977. },
  27978. "models.QhjMgrTradeOrderDetailRsp": {
  27979. "type": "object",
  27980. "properties": {
  27981. "accountid": {
  27982. "description": "资金账号",
  27983. "type": "integer"
  27984. },
  27985. "accountname": {
  27986. "description": "用户名称",
  27987. "type": "string"
  27988. },
  27989. "agreeunit": {
  27990. "description": "合约乘数",
  27991. "type": "number"
  27992. },
  27993. "amount": {
  27994. "description": "金额",
  27995. "type": "number"
  27996. },
  27997. "decimalplace": {
  27998. "description": "报价小数位",
  27999. "type": "integer"
  28000. },
  28001. "enumdicname": {
  28002. "description": "单位名称(商品)",
  28003. "type": "string"
  28004. },
  28005. "goodscode": {
  28006. "description": "商品代码(内部)",
  28007. "type": "string"
  28008. },
  28009. "goodsid": {
  28010. "description": "商品id",
  28011. "type": "integer"
  28012. },
  28013. "goodsname": {
  28014. "description": "商品名称",
  28015. "type": "string"
  28016. },
  28017. "goodunitid": {
  28018. "description": "报价单位ID",
  28019. "type": "integer"
  28020. },
  28021. "logincode": {
  28022. "description": "登录代码(账户)",
  28023. "type": "string"
  28024. },
  28025. "marketid": {
  28026. "description": "市场id",
  28027. "type": "integer"
  28028. },
  28029. "orderid": {
  28030. "description": "关联委托单号",
  28031. "type": "string"
  28032. },
  28033. "orderprice": {
  28034. "description": "价格",
  28035. "type": "number"
  28036. },
  28037. "orderqty": {
  28038. "description": "数量",
  28039. "type": "number"
  28040. },
  28041. "orderstatus": {
  28042. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28043. "type": "integer"
  28044. },
  28045. "ordertime": {
  28046. "description": "委托时间",
  28047. "type": "string"
  28048. },
  28049. "qtydecimalplace": {
  28050. "description": "成交量小数位",
  28051. "type": "integer"
  28052. },
  28053. "tradedate": {
  28054. "description": "交易日",
  28055. "type": "string"
  28056. },
  28057. "trademode": {
  28058. "description": "交易模式",
  28059. "type": "integer"
  28060. },
  28061. "userid": {
  28062. "description": "用户id",
  28063. "type": "integer"
  28064. },
  28065. "userinfotype": {
  28066. "description": "账户类型 1-个人 2-企业",
  28067. "type": "integer"
  28068. }
  28069. }
  28070. },
  28071. "models.QhjMgrTradePayOrder": {
  28072. "type": "object",
  28073. "properties": {
  28074. "accountname": {
  28075. "description": "用户名称",
  28076. "type": "string"
  28077. },
  28078. "advanceratio": {
  28079. "description": "首付比率",
  28080. "type": "number"
  28081. },
  28082. "agreeunit": {
  28083. "description": "合约乘数",
  28084. "type": "number"
  28085. },
  28086. "buyaccountid": {
  28087. "description": "买方账号ID[报价币种]",
  28088. "type": "integer"
  28089. },
  28090. "buyorderid": {
  28091. "description": "买方委托单号(关联单号)",
  28092. "type": "string"
  28093. },
  28094. "createtime": {
  28095. "description": "创建时间",
  28096. "type": "string"
  28097. },
  28098. "decimalplace": {
  28099. "description": "报价小数位",
  28100. "type": "integer"
  28101. },
  28102. "enumdicname": {
  28103. "description": "单位名称(商品)",
  28104. "type": "string"
  28105. },
  28106. "goodscode": {
  28107. "description": "商品代码(内部)",
  28108. "type": "string"
  28109. },
  28110. "goodsid": {
  28111. "description": "商品ID",
  28112. "type": "integer"
  28113. },
  28114. "goodsname": {
  28115. "description": "商品名称",
  28116. "type": "string"
  28117. },
  28118. "goodunitid": {
  28119. "description": "报价单位ID",
  28120. "type": "integer"
  28121. },
  28122. "logincode": {
  28123. "description": "登录代码(账户)",
  28124. "type": "string"
  28125. },
  28126. "marketid": {
  28127. "description": "市场id",
  28128. "type": "integer"
  28129. },
  28130. "offamount": {
  28131. "description": "优惠金额",
  28132. "type": "number"
  28133. },
  28134. "operatetype": {
  28135. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28136. "type": "integer"
  28137. },
  28138. "payamount": {
  28139. "description": "支付金额(金额)",
  28140. "type": "number"
  28141. },
  28142. "payflag": {
  28143. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28144. "type": "integer"
  28145. },
  28146. "paylimitedtime": {
  28147. "description": "支付期限",
  28148. "type": "string"
  28149. },
  28150. "paytime": {
  28151. "description": "付款时间",
  28152. "type": "string"
  28153. },
  28154. "qtydecimalplace": {
  28155. "description": "成交量小数位",
  28156. "type": "integer"
  28157. },
  28158. "sellaccountid": {
  28159. "description": "卖方账号ID[报价币种]",
  28160. "type": "integer"
  28161. },
  28162. "sellorderid": {
  28163. "description": "卖方委托单号",
  28164. "type": "string"
  28165. },
  28166. "tradeamount": {
  28167. "description": "成交金额(优惠后金额)",
  28168. "type": "number"
  28169. },
  28170. "tradecharge": {
  28171. "description": "成交手续费(买方)",
  28172. "type": "number"
  28173. },
  28174. "tradedate": {
  28175. "description": "交易日(yyyyMMdd)",
  28176. "type": "string"
  28177. },
  28178. "tradeid": {
  28179. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28180. "type": "string"
  28181. },
  28182. "trademode": {
  28183. "description": "交易模式",
  28184. "type": "integer"
  28185. },
  28186. "tradeprice": {
  28187. "description": "成交价格(价格)",
  28188. "type": "number"
  28189. },
  28190. "tradeqty": {
  28191. "description": "成交数量(数量)",
  28192. "type": "number"
  28193. },
  28194. "tradetime": {
  28195. "description": "成交时间",
  28196. "type": "string"
  28197. },
  28198. "userid": {
  28199. "description": "用户id",
  28200. "type": "integer"
  28201. },
  28202. "userinfotype": {
  28203. "description": "账户类型 1-个人 2-企业",
  28204. "type": "integer"
  28205. }
  28206. }
  28207. },
  28208. "models.QhjMyTeamEx": {
  28209. "type": "object",
  28210. "properties": {
  28211. "accountname": {
  28212. "description": "用户名称",
  28213. "type": "string"
  28214. },
  28215. "accountstatus": {
  28216. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28217. "type": "integer"
  28218. },
  28219. "createtime": {
  28220. "description": "创建时间",
  28221. "type": "string"
  28222. },
  28223. "mobile": {
  28224. "description": "手机号码",
  28225. "type": "string"
  28226. },
  28227. "refereeuserid": {
  28228. "description": "推荐人id",
  28229. "type": "integer"
  28230. },
  28231. "refernum": {
  28232. "description": "推荐码",
  28233. "type": "string"
  28234. },
  28235. "subList": {
  28236. "type": "array",
  28237. "items": {
  28238. "$ref": "#/definitions/models.QhjMyTeamEx"
  28239. }
  28240. },
  28241. "userid": {
  28242. "description": "用户id",
  28243. "type": "integer"
  28244. },
  28245. "userinfotype": {
  28246. "description": "用户类型 1-个人 2-企业",
  28247. "type": "integer"
  28248. }
  28249. }
  28250. },
  28251. "models.QhjNodeAgreementConfig": {
  28252. "type": "object",
  28253. "properties": {
  28254. "agreementcontent": {
  28255. "description": "协议内容",
  28256. "type": "string"
  28257. },
  28258. "agreementid": {
  28259. "description": "协议ID",
  28260. "type": "integer"
  28261. },
  28262. "agreementname": {
  28263. "description": "协议名称",
  28264. "type": "string"
  28265. },
  28266. "agreementno": {
  28267. "description": "协议编号",
  28268. "type": "string"
  28269. },
  28270. "agreementtype": {
  28271. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28272. "type": "integer"
  28273. },
  28274. "agreementversion": {
  28275. "description": "协议版本号",
  28276. "type": "integer"
  28277. },
  28278. "configid": {
  28279. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28280. "type": "integer"
  28281. },
  28282. "createtime": {
  28283. "description": "创建时间",
  28284. "type": "string"
  28285. },
  28286. "goodsid": {
  28287. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28288. "type": "integer"
  28289. },
  28290. "nodetype": {
  28291. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28292. "type": "integer"
  28293. }
  28294. }
  28295. },
  28296. "models.QhjParentAreaList": {
  28297. "type": "object",
  28298. "properties": {
  28299. "accountname": {
  28300. "description": "账户名称(机构名称)",
  28301. "type": "string"
  28302. },
  28303. "userid": {
  28304. "description": "用户ID",
  28305. "type": "integer"
  28306. },
  28307. "usertype": {
  28308. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28309. "type": "integer"
  28310. }
  28311. }
  28312. },
  28313. "models.QhjPayOrder": {
  28314. "type": "object",
  28315. "properties": {
  28316. "advanceratio": {
  28317. "description": "首付比率",
  28318. "type": "number"
  28319. },
  28320. "buyaccountid": {
  28321. "description": "买方账号ID[报价币种]",
  28322. "type": "integer"
  28323. },
  28324. "buyorderid": {
  28325. "description": "买方委托单号",
  28326. "type": "string"
  28327. },
  28328. "createtime": {
  28329. "description": "创建时间",
  28330. "type": "string"
  28331. },
  28332. "decimalplace": {
  28333. "description": "商品报价小数位",
  28334. "type": "integer"
  28335. },
  28336. "enumdicname": {
  28337. "description": "单位名称",
  28338. "type": "string"
  28339. },
  28340. "goodscode": {
  28341. "description": "商品代码",
  28342. "type": "string"
  28343. },
  28344. "goodsid": {
  28345. "description": "商品ID",
  28346. "type": "integer"
  28347. },
  28348. "goodsname": {
  28349. "description": "商品名称",
  28350. "type": "string"
  28351. },
  28352. "goodunitid": {
  28353. "description": "商品单位id",
  28354. "type": "integer"
  28355. },
  28356. "marketid": {
  28357. "description": "市场ID",
  28358. "type": "integer"
  28359. },
  28360. "offamount": {
  28361. "description": "优惠金额",
  28362. "type": "number"
  28363. },
  28364. "operatetype": {
  28365. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28366. "type": "integer"
  28367. },
  28368. "payamount": {
  28369. "description": "支付金额",
  28370. "type": "number"
  28371. },
  28372. "payflag": {
  28373. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28374. "type": "integer"
  28375. },
  28376. "paylimitedtime": {
  28377. "description": "支付期限",
  28378. "type": "string"
  28379. },
  28380. "paytime": {
  28381. "description": "付款时间",
  28382. "type": "string"
  28383. },
  28384. "qtydecimalplace": {
  28385. "description": "成交量小数位",
  28386. "type": "integer"
  28387. },
  28388. "sellaccountid": {
  28389. "description": "卖方账号ID[报价币种]",
  28390. "type": "integer"
  28391. },
  28392. "sellorderid": {
  28393. "description": "卖方委托单号",
  28394. "type": "string"
  28395. },
  28396. "tradeamount": {
  28397. "description": "成交金额(优惠后金额)",
  28398. "type": "number"
  28399. },
  28400. "tradecharge": {
  28401. "description": "成交手续费(买方)",
  28402. "type": "number"
  28403. },
  28404. "tradedate": {
  28405. "description": "交易日(yyyyMMdd)",
  28406. "type": "string"
  28407. },
  28408. "tradeid": {
  28409. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28410. "type": "string"
  28411. },
  28412. "tradeprice": {
  28413. "description": "成交价格",
  28414. "type": "number"
  28415. },
  28416. "tradeqty": {
  28417. "description": "成交数量",
  28418. "type": "number"
  28419. }
  28420. }
  28421. },
  28422. "models.QhjPickArea": {
  28423. "type": "object",
  28424. "properties": {
  28425. "address": {
  28426. "description": "详细地址",
  28427. "type": "string"
  28428. },
  28429. "cityid": {
  28430. "description": "市",
  28431. "type": "integer"
  28432. },
  28433. "cityname": {
  28434. "description": "城市名称",
  28435. "type": "string"
  28436. },
  28437. "countryid": {
  28438. "description": "国家",
  28439. "type": "integer"
  28440. },
  28441. "countryname": {
  28442. "description": "国家名称",
  28443. "type": "string"
  28444. },
  28445. "districtid": {
  28446. "description": "地区",
  28447. "type": "integer"
  28448. },
  28449. "districtname": {
  28450. "description": "地区名称",
  28451. "type": "string"
  28452. },
  28453. "fromuserid": {
  28454. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  28455. "type": "integer"
  28456. },
  28457. "fromusername": {
  28458. "description": "所属机构名称",
  28459. "type": "string"
  28460. },
  28461. "provinceid": {
  28462. "description": "省",
  28463. "type": "integer"
  28464. },
  28465. "provincename": {
  28466. "description": "省名称",
  28467. "type": "string"
  28468. },
  28469. "suborgtype": {
  28470. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  28471. "type": "integer"
  28472. },
  28473. "userid": {
  28474. "description": "机构用户ID 其他做市关系,都设置为 1",
  28475. "type": "integer"
  28476. },
  28477. "username": {
  28478. "description": "机构用户名称(门店门称)",
  28479. "type": "string"
  28480. }
  28481. }
  28482. },
  28483. "models.QhjPickGoods": {
  28484. "type": "object",
  28485. "properties": {
  28486. "enumdicname": {
  28487. "description": "单位名称(提货商品)",
  28488. "type": "string"
  28489. },
  28490. "goodsid": {
  28491. "description": "商品id",
  28492. "type": "integer"
  28493. },
  28494. "imageaddress": {
  28495. "description": "图片",
  28496. "type": "string"
  28497. },
  28498. "modifierid": {
  28499. "description": "修改人",
  28500. "type": "integer"
  28501. },
  28502. "modifiername": {
  28503. "description": "修改人名称",
  28504. "type": "string"
  28505. },
  28506. "modifysrc": {
  28507. "description": "修改来源 - 1:管理端 2:终端",
  28508. "type": "integer"
  28509. },
  28510. "pickupgoodsagreeunit": {
  28511. "description": "合约乘数",
  28512. "type": "number"
  28513. },
  28514. "pickupgoodsdesc": {
  28515. "description": "描述",
  28516. "type": "string"
  28517. },
  28518. "pickupgoodsid": {
  28519. "description": "提货商品ID",
  28520. "type": "string"
  28521. },
  28522. "pickupgoodsname": {
  28523. "description": "提货商品名称",
  28524. "type": "string"
  28525. },
  28526. "pickupgoodsstatus": {
  28527. "description": "状态 - 1:正常 2:停用 3:注销",
  28528. "type": "integer"
  28529. },
  28530. "pickupgoodsunitid": {
  28531. "description": "单位ID",
  28532. "type": "integer"
  28533. },
  28534. "pickupratio": {
  28535. "description": "提货系数",
  28536. "type": "number"
  28537. },
  28538. "preparedays": {
  28539. "description": "备货期(天)",
  28540. "type": "integer"
  28541. },
  28542. "remark": {
  28543. "description": "备注",
  28544. "type": "string"
  28545. },
  28546. "updatetime": {
  28547. "description": "更新时间",
  28548. "type": "string"
  28549. }
  28550. }
  28551. },
  28552. "models.QhjRSTriggerLog": {
  28553. "type": "object",
  28554. "properties": {
  28555. "accountid": {
  28556. "description": "用户资金账户",
  28557. "type": "integer"
  28558. },
  28559. "accountname": {
  28560. "description": "账号名称(ACCOUNTID对应的名称)",
  28561. "type": "string"
  28562. },
  28563. "currencyid": {
  28564. "description": "币种id",
  28565. "type": "integer"
  28566. },
  28567. "currencyname": {
  28568. "description": "币种名称",
  28569. "type": "string"
  28570. },
  28571. "decimalplace": {
  28572. "description": "商品报价小数位",
  28573. "type": "integer"
  28574. },
  28575. "enumdicname": {
  28576. "description": "单位名称",
  28577. "type": "string"
  28578. },
  28579. "goodscode": {
  28580. "description": "定投商品代码",
  28581. "type": "string"
  28582. },
  28583. "goodsid": {
  28584. "description": "定投商品ID",
  28585. "type": "integer"
  28586. },
  28587. "goodsname": {
  28588. "description": "定投商品名称",
  28589. "type": "string"
  28590. },
  28591. "goodunitid": {
  28592. "description": "定投商品单位id",
  28593. "type": "integer"
  28594. },
  28595. "logid": {
  28596. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  28597. "type": "string"
  28598. },
  28599. "logincode": {
  28600. "description": "账号(登录代码)",
  28601. "type": "string"
  28602. },
  28603. "qtydecimalplace": {
  28604. "description": "成交量小数位",
  28605. "type": "integer"
  28606. },
  28607. "regularlycycle": {
  28608. "description": "定投频率 - 1:每周 2:每月",
  28609. "type": "integer"
  28610. },
  28611. "regularlycyclevalue": {
  28612. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28613. "type": "string"
  28614. },
  28615. "regularlymode": {
  28616. "description": "定投方式 - 1:按数量 2:按金额",
  28617. "type": "integer"
  28618. },
  28619. "regularlymodevalue": {
  28620. "description": "定投方式值 - 数量或金额",
  28621. "type": "number"
  28622. },
  28623. "regularlystrategyid": {
  28624. "description": "定投策略ID",
  28625. "type": "integer"
  28626. },
  28627. "retcode": {
  28628. "description": "错误码",
  28629. "type": "string"
  28630. },
  28631. "tradeid": {
  28632. "description": "成交单ID",
  28633. "type": "string"
  28634. },
  28635. "triggeramount": {
  28636. "description": "触发金额",
  28637. "type": "number"
  28638. },
  28639. "triggerqty": {
  28640. "description": "触发数量",
  28641. "type": "number"
  28642. },
  28643. "triggerstatus": {
  28644. "description": "触发状态 - 1:成功 2:失败",
  28645. "type": "integer"
  28646. },
  28647. "triggertime": {
  28648. "description": "触发时间",
  28649. "type": "string"
  28650. },
  28651. "triggertradedate": {
  28652. "description": "触发交易日",
  28653. "type": "string"
  28654. },
  28655. "userid": {
  28656. "description": "所属用户ID",
  28657. "type": "integer"
  28658. },
  28659. "userinfotype": {
  28660. "description": "用户类型 1-个人 2-企业",
  28661. "type": "integer"
  28662. },
  28663. "username": {
  28664. "description": "用户名称(userid对应的名称)",
  28665. "type": "string"
  28666. }
  28667. }
  28668. },
  28669. "models.QhjRStrategy": {
  28670. "type": "object",
  28671. "properties": {
  28672. "accountid": {
  28673. "description": "用户资金账户",
  28674. "type": "integer"
  28675. },
  28676. "accountname": {
  28677. "description": "账号名称(ACCOUNTID对应的名称)",
  28678. "type": "string"
  28679. },
  28680. "currencyid": {
  28681. "description": "币种id",
  28682. "type": "integer"
  28683. },
  28684. "currencyname": {
  28685. "description": "币种名称",
  28686. "type": "string"
  28687. },
  28688. "decimalplace": {
  28689. "description": "商品报价小数位",
  28690. "type": "integer"
  28691. },
  28692. "enumdicname": {
  28693. "description": "单位名称",
  28694. "type": "string"
  28695. },
  28696. "goodscode": {
  28697. "description": "定投商品代码",
  28698. "type": "string"
  28699. },
  28700. "goodsid": {
  28701. "description": "定投商品ID",
  28702. "type": "integer"
  28703. },
  28704. "goodsname": {
  28705. "description": "定投商品名称",
  28706. "type": "string"
  28707. },
  28708. "goodunitid": {
  28709. "description": "定投商品单位id",
  28710. "type": "integer"
  28711. },
  28712. "lasteffecttradedate": {
  28713. "description": "最新生效交易日",
  28714. "type": "string"
  28715. },
  28716. "laststoptradedate": {
  28717. "description": "最新暂停交易日",
  28718. "type": "string"
  28719. },
  28720. "lasttriggertradedate": {
  28721. "description": "最新触发交易日",
  28722. "type": "string"
  28723. },
  28724. "logincode": {
  28725. "description": "账号(登录代码)",
  28726. "type": "string"
  28727. },
  28728. "nexttriggeramount": {
  28729. "description": "下次触发金额",
  28730. "type": "number"
  28731. },
  28732. "nexttriggerdate": {
  28733. "description": "下次触发日期",
  28734. "type": "string"
  28735. },
  28736. "nexttriggerqty": {
  28737. "description": "下次触发数量 [按小数位放大值]",
  28738. "type": "number"
  28739. },
  28740. "qtydecimalplace": {
  28741. "description": "成交量小数位",
  28742. "type": "integer"
  28743. },
  28744. "regularlycycle": {
  28745. "description": "定投频率 - 1:每周 2:每月",
  28746. "type": "integer"
  28747. },
  28748. "regularlycyclevalue": {
  28749. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28750. "type": "string"
  28751. },
  28752. "regularlymode": {
  28753. "description": "定投方式 - 1:按数量 2:按金额",
  28754. "type": "integer"
  28755. },
  28756. "regularlymodevalue": {
  28757. "description": "定投方式值 - 数量或金额",
  28758. "type": "number"
  28759. },
  28760. "regularlystrategyid": {
  28761. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  28762. "type": "integer"
  28763. },
  28764. "regularlystrategystatus": {
  28765. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  28766. "type": "integer"
  28767. },
  28768. "remark": {
  28769. "description": "备注",
  28770. "type": "string"
  28771. },
  28772. "triggersuccesstimes": {
  28773. "description": "累计定投成功次数",
  28774. "type": "string"
  28775. },
  28776. "triggertotalamount": {
  28777. "description": "累计定投金额(成功)",
  28778. "type": "number"
  28779. },
  28780. "triggertotalqty": {
  28781. "description": "累计定投数量(成功) [按小数位放大值]",
  28782. "type": "number"
  28783. },
  28784. "triggertotaltimes": {
  28785. "description": "累计定投总次数",
  28786. "type": "string"
  28787. },
  28788. "updatesrc": {
  28789. "description": "更新来源 - 1:管理端 2:终端",
  28790. "type": "integer"
  28791. },
  28792. "updatetime": {
  28793. "description": "更新时间",
  28794. "type": "string"
  28795. },
  28796. "updatorid": {
  28797. "description": "更新人",
  28798. "type": "string"
  28799. },
  28800. "userid": {
  28801. "description": "所属用户ID",
  28802. "type": "integer"
  28803. },
  28804. "userinfotype": {
  28805. "description": "用户类型 1-个人 2-企业",
  28806. "type": "integer"
  28807. },
  28808. "username": {
  28809. "description": "用户名称(userid对应的名称)",
  28810. "type": "string"
  28811. }
  28812. }
  28813. },
  28814. "models.QhjReckonPriceLog": {
  28815. "type": "object",
  28816. "properties": {
  28817. "decimalplace": {
  28818. "description": "商品报价小数位",
  28819. "type": "integer"
  28820. },
  28821. "goodscode": {
  28822. "description": "商品代码",
  28823. "type": "string"
  28824. },
  28825. "goodsid": {
  28826. "description": "商品ID",
  28827. "type": "integer"
  28828. },
  28829. "goodsname": {
  28830. "description": "商品名称",
  28831. "type": "string"
  28832. },
  28833. "lastreckonprice": {
  28834. "description": "上日结算价",
  28835. "type": "number"
  28836. },
  28837. "nextdnlimitprice": {
  28838. "description": "下个交易日跌停价",
  28839. "type": "number"
  28840. },
  28841. "nexttrade": {
  28842. "description": "下个交易日",
  28843. "type": "string"
  28844. },
  28845. "nextuplimitprice": {
  28846. "description": "下个交易日涨停价",
  28847. "type": "number"
  28848. },
  28849. "reckonprice": {
  28850. "description": "今日结算价(定投价)",
  28851. "type": "number"
  28852. },
  28853. "reckontime": {
  28854. "description": "结算时间",
  28855. "type": "string"
  28856. },
  28857. "totalholderqty": {
  28858. "description": "总持仓数",
  28859. "type": "integer"
  28860. },
  28861. "totalstock": {
  28862. "description": "总库存",
  28863. "type": "integer"
  28864. },
  28865. "tradedate": {
  28866. "description": "交易日",
  28867. "type": "string"
  28868. },
  28869. "updowncount": {
  28870. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  28871. "type": "integer"
  28872. },
  28873. "updownflag": {
  28874. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  28875. "type": "integer"
  28876. },
  28877. "updownrate": {
  28878. "description": "今日涨跌幅",
  28879. "type": "number"
  28880. },
  28881. "updownrate_2d": {
  28882. "description": "连续两日涨跌幅",
  28883. "type": "number"
  28884. },
  28885. "updownrate_3d": {
  28886. "description": "连续三日涨跌幅",
  28887. "type": "number"
  28888. }
  28889. }
  28890. },
  28891. "models.QhjScoreLog": {
  28892. "type": "object",
  28893. "properties": {
  28894. "accountid": {
  28895. "description": "账户ID",
  28896. "type": "integer"
  28897. },
  28898. "createtime": {
  28899. "description": "创建时间(时间)",
  28900. "type": "string"
  28901. },
  28902. "goodsid": {
  28903. "description": "商品ID",
  28904. "type": "integer"
  28905. },
  28906. "hasuploaded": {
  28907. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  28908. "type": "integer"
  28909. },
  28910. "logid": {
  28911. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28912. "type": "string"
  28913. },
  28914. "marketid": {
  28915. "description": "市场ID",
  28916. "type": "integer"
  28917. },
  28918. "relatedamount": {
  28919. "description": "关联金额",
  28920. "type": "number"
  28921. },
  28922. "relatedorderid": {
  28923. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  28924. "type": "string"
  28925. },
  28926. "scoreconfigvalue1": {
  28927. "description": "积分配置1",
  28928. "type": "integer"
  28929. },
  28930. "scoreconfigvalue2": {
  28931. "description": "积分配置1",
  28932. "type": "integer"
  28933. },
  28934. "scoretype": {
  28935. "description": "积分类型 - 1:提货积分",
  28936. "type": "integer"
  28937. },
  28938. "scorevalue": {
  28939. "description": "积分",
  28940. "type": "number"
  28941. },
  28942. "tradedate": {
  28943. "description": "交易日(yyyyMMdd)",
  28944. "type": "string"
  28945. },
  28946. "uploadedtime": {
  28947. "description": "同步时间",
  28948. "type": "string"
  28949. },
  28950. "userid": {
  28951. "description": "用户ID",
  28952. "type": "integer"
  28953. }
  28954. }
  28955. },
  28956. "models.QhjSiteColumnDetail": {
  28957. "type": "object",
  28958. "properties": {
  28959. "author": {
  28960. "description": "作者",
  28961. "type": "string"
  28962. },
  28963. "brief": {
  28964. "description": "简介",
  28965. "type": "string"
  28966. },
  28967. "columnid": {
  28968. "description": "所属栏目",
  28969. "type": "integer"
  28970. },
  28971. "context": {
  28972. "description": "内容",
  28973. "type": "string"
  28974. },
  28975. "coverimage": {
  28976. "description": "封面图片",
  28977. "type": "string"
  28978. },
  28979. "creaedate": {
  28980. "description": "创建时间",
  28981. "type": "string"
  28982. },
  28983. "creatorid": {
  28984. "description": "创建人",
  28985. "type": "integer"
  28986. },
  28987. "hits": {
  28988. "description": "点击数",
  28989. "type": "integer"
  28990. },
  28991. "id": {
  28992. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  28993. "type": "integer"
  28994. },
  28995. "isshow": {
  28996. "description": "是否展示 - 0:不展示 1:展示",
  28997. "type": "integer"
  28998. },
  28999. "istop": {
  29000. "description": "是否置顶 - 0:不置 1:置顶",
  29001. "type": "integer"
  29002. },
  29003. "modifierid": {
  29004. "description": "操作人",
  29005. "type": "integer"
  29006. },
  29007. "publishdate": {
  29008. "description": "发布日期",
  29009. "type": "string"
  29010. },
  29011. "status": {
  29012. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  29013. "type": "integer"
  29014. },
  29015. "title": {
  29016. "description": "标题",
  29017. "type": "string"
  29018. },
  29019. "updatedate": {
  29020. "description": "修改时间",
  29021. "type": "string"
  29022. },
  29023. "userid": {
  29024. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  29025. "type": "integer"
  29026. },
  29027. "username": {
  29028. "description": "用户名称",
  29029. "type": "string"
  29030. }
  29031. }
  29032. },
  29033. "models.QhjTeamOrder": {
  29034. "type": "object",
  29035. "properties": {
  29036. "accountid": {
  29037. "description": "账户ID[报价币种]",
  29038. "type": "integer"
  29039. },
  29040. "accountname": {
  29041. "description": "账户名称",
  29042. "type": "string"
  29043. },
  29044. "agreeunit": {
  29045. "description": "合约乘数",
  29046. "type": "number"
  29047. },
  29048. "buyorsell": {
  29049. "description": "方向 - 0:买 1:卖",
  29050. "type": "integer"
  29051. },
  29052. "decimalplace": {
  29053. "description": "报价小数位",
  29054. "type": "integer"
  29055. },
  29056. "enumdicname": {
  29057. "description": "单位名称",
  29058. "type": "string"
  29059. },
  29060. "goodscode": {
  29061. "description": "商品代码(内部)",
  29062. "type": "string"
  29063. },
  29064. "goodsid": {
  29065. "description": "商品ID",
  29066. "type": "integer"
  29067. },
  29068. "goodsname": {
  29069. "description": "商品名称",
  29070. "type": "string"
  29071. },
  29072. "goodunitid": {
  29073. "description": "报价单位ID",
  29074. "type": "integer"
  29075. },
  29076. "marketid": {
  29077. "description": "市场ID",
  29078. "type": "integer"
  29079. },
  29080. "marketname": {
  29081. "description": "市场名称",
  29082. "type": "string"
  29083. },
  29084. "qtydecimalplace": {
  29085. "description": "成交量小数位",
  29086. "type": "integer"
  29087. },
  29088. "refereeuserid": {
  29089. "description": "推荐人ID",
  29090. "type": "integer"
  29091. },
  29092. "tradeamount": {
  29093. "description": "成交金额[账户币种,用于所有权]",
  29094. "type": "number"
  29095. },
  29096. "tradedate": {
  29097. "description": "交易日(yyyyMMdd)",
  29098. "type": "string"
  29099. },
  29100. "trademode": {
  29101. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29102. "type": "integer"
  29103. },
  29104. "tradeprice": {
  29105. "description": "成交价格",
  29106. "type": "number"
  29107. },
  29108. "tradeqty": {
  29109. "description": "成交数量",
  29110. "type": "number"
  29111. },
  29112. "tradetime": {
  29113. "description": "成交时间",
  29114. "type": "string"
  29115. },
  29116. "userid": {
  29117. "description": "用户ID",
  29118. "type": "integer"
  29119. }
  29120. }
  29121. },
  29122. "models.QhjTradeGoodsPickup": {
  29123. "type": "object",
  29124. "properties": {
  29125. "accountid": {
  29126. "description": "账户ID",
  29127. "type": "integer"
  29128. },
  29129. "address": {
  29130. "description": "提货人详细地址",
  29131. "type": "string"
  29132. },
  29133. "amount": {
  29134. "description": "提货金额",
  29135. "type": "number"
  29136. },
  29137. "artradedate": {
  29138. "description": "自动收货交易日(yyyyMMdd)",
  29139. "type": "string"
  29140. },
  29141. "auditer": {
  29142. "description": "审核人",
  29143. "type": "integer"
  29144. },
  29145. "auditsrc": {
  29146. "description": "更新来源 - 1:管理端 2:终端",
  29147. "type": "integer"
  29148. },
  29149. "audittime": {
  29150. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  29151. "type": "string"
  29152. },
  29153. "audittradedate": {
  29154. "description": "审核交易日(yyyyMMdd)",
  29155. "type": "string"
  29156. },
  29157. "cardnum": {
  29158. "description": "提货人证件号码",
  29159. "type": "string"
  29160. },
  29161. "cardtypeid": {
  29162. "description": "提货人证件类型",
  29163. "type": "integer"
  29164. },
  29165. "checkremark": {
  29166. "description": "审核备注",
  29167. "type": "string"
  29168. },
  29169. "cityid": {
  29170. "description": "市",
  29171. "type": "integer"
  29172. },
  29173. "cityname": {
  29174. "description": "城市名称",
  29175. "type": "string"
  29176. },
  29177. "confirmtime": {
  29178. "description": "取货时间 或 收货时间",
  29179. "type": "string"
  29180. },
  29181. "countryid": {
  29182. "description": "国家",
  29183. "type": "integer"
  29184. },
  29185. "countryname": {
  29186. "description": "国家名称",
  29187. "type": "string"
  29188. },
  29189. "decimalplace": {
  29190. "description": "商品报价小数位",
  29191. "type": "integer"
  29192. },
  29193. "districtid": {
  29194. "description": "地区",
  29195. "type": "integer"
  29196. },
  29197. "districtname": {
  29198. "description": "地区名称",
  29199. "type": "string"
  29200. },
  29201. "enumdicname": {
  29202. "description": "单位名称(提货商品)",
  29203. "type": "string"
  29204. },
  29205. "expresscompany": {
  29206. "description": "物流公司",
  29207. "type": "string"
  29208. },
  29209. "expressnum": {
  29210. "description": "物流单号",
  29211. "type": "string"
  29212. },
  29213. "goodsagreeunit": {
  29214. "description": "交易商品乘数",
  29215. "type": "number"
  29216. },
  29217. "goodscode": {
  29218. "description": "商品代码",
  29219. "type": "string"
  29220. },
  29221. "goodsid": {
  29222. "description": "商品ID",
  29223. "type": "integer"
  29224. },
  29225. "goodsname": {
  29226. "description": "商品名称",
  29227. "type": "string"
  29228. },
  29229. "goodsqty": {
  29230. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  29231. "type": "number"
  29232. },
  29233. "handlestatus": {
  29234. "description": "处理状态",
  29235. "type": "integer"
  29236. },
  29237. "logincode": {
  29238. "description": "账号(登录代码, 有可能为空)",
  29239. "type": "string"
  29240. },
  29241. "marketid": {
  29242. "description": "市场ID",
  29243. "type": "integer"
  29244. },
  29245. "phonenum": {
  29246. "description": "提货人联系方式",
  29247. "type": "string"
  29248. },
  29249. "pickupgoodsagreeunit": {
  29250. "description": "提货商品合约乘数",
  29251. "type": "number"
  29252. },
  29253. "pickupgoodsid": {
  29254. "description": "提货商品ID",
  29255. "type": "string"
  29256. },
  29257. "pickupgoodsname": {
  29258. "description": "提货商品名称",
  29259. "type": "string"
  29260. },
  29261. "pickupgoodsqty": {
  29262. "description": "提货商品手数(数量)",
  29263. "type": "number"
  29264. },
  29265. "pickupgoodsunitid": {
  29266. "description": "单位ID(提货商品)",
  29267. "type": "integer"
  29268. },
  29269. "pickupratio": {
  29270. "description": "提货系数",
  29271. "type": "number"
  29272. },
  29273. "preparedays": {
  29274. "description": "备货期(天)-提货单明细表",
  29275. "type": "integer"
  29276. },
  29277. "provinceid": {
  29278. "description": "省",
  29279. "type": "integer"
  29280. },
  29281. "provincename": {
  29282. "description": "省名称",
  29283. "type": "string"
  29284. },
  29285. "qty": {
  29286. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  29287. "type": "number"
  29288. },
  29289. "qtydecimalplace": {
  29290. "description": "商品数量小数位",
  29291. "type": "integer"
  29292. },
  29293. "recivername": {
  29294. "description": "提货人姓名",
  29295. "type": "string"
  29296. },
  29297. "reqtime": {
  29298. "description": "提货申请时间",
  29299. "type": "string"
  29300. },
  29301. "storeuserid": {
  29302. "description": "门店用户ID (千海金)",
  29303. "type": "integer"
  29304. },
  29305. "storeusername": {
  29306. "description": "门店用户名称",
  29307. "type": "string"
  29308. },
  29309. "takemode": {
  29310. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  29311. "type": "integer"
  29312. },
  29313. "takeorderid": {
  29314. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29315. "type": "string"
  29316. },
  29317. "takeorderstatus": {
  29318. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  29319. "type": "integer"
  29320. },
  29321. "takeremark": {
  29322. "description": "提货备注",
  29323. "type": "string"
  29324. },
  29325. "tradedate": {
  29326. "description": "交易日(yyyyMMdd)",
  29327. "type": "string"
  29328. },
  29329. "updatetime": {
  29330. "description": "更新时间",
  29331. "type": "string"
  29332. },
  29333. "userid": {
  29334. "description": "用户ID",
  29335. "type": "integer"
  29336. },
  29337. "userinfotype": {
  29338. "description": "客户类型 1-个人 2-企业",
  29339. "type": "integer"
  29340. },
  29341. "username": {
  29342. "description": "用户名称",
  29343. "type": "string"
  29344. }
  29345. }
  29346. },
  29347. "models.QhjUserNodeCfgAndStatus": {
  29348. "type": "object",
  29349. "properties": {
  29350. "agreementcontent": {
  29351. "description": "协议内容",
  29352. "type": "string"
  29353. },
  29354. "agreementid": {
  29355. "description": "协议ID",
  29356. "type": "integer"
  29357. },
  29358. "agreementname": {
  29359. "description": "协议名称",
  29360. "type": "string"
  29361. },
  29362. "agreementno": {
  29363. "description": "协议编号",
  29364. "type": "string"
  29365. },
  29366. "agreementtype": {
  29367. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29368. "type": "integer"
  29369. },
  29370. "agreementversion": {
  29371. "description": "协议版本号",
  29372. "type": "integer"
  29373. },
  29374. "configid": {
  29375. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  29376. "type": "integer"
  29377. },
  29378. "createtime": {
  29379. "description": "创建时间",
  29380. "type": "string"
  29381. },
  29382. "goodsid": {
  29383. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29384. "type": "integer"
  29385. },
  29386. "nodetype": {
  29387. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29388. "type": "integer"
  29389. },
  29390. "signtimestamp": {
  29391. "description": "签约状态时间戳(最近一次)",
  29392. "type": "string"
  29393. },
  29394. "tradedate": {
  29395. "description": "签约交易日(yyyyMMdd)",
  29396. "type": "string"
  29397. },
  29398. "userid": {
  29399. "description": "客户ID",
  29400. "type": "integer"
  29401. }
  29402. }
  29403. },
  29404. "models.Qhjgoodsex": {
  29405. "type": "object",
  29406. "properties": {
  29407. "canfinance": {
  29408. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  29409. "type": "integer"
  29410. },
  29411. "canregularlybuy": {
  29412. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  29413. "type": "integer"
  29414. },
  29415. "defaulttradeuserid": {
  29416. "description": "默认交易用户ID",
  29417. "type": "integer"
  29418. },
  29419. "deliverygoodsid": {
  29420. "description": "现货品种ID",
  29421. "type": "integer"
  29422. },
  29423. "goodsid": {
  29424. "description": "商品ID(自增ID SEQ_GOODS)",
  29425. "type": "integer"
  29426. },
  29427. "minamount": {
  29428. "description": "最小购买金额",
  29429. "type": "number"
  29430. },
  29431. "regularlybuyminamount": {
  29432. "description": "定投最小金额",
  29433. "type": "number"
  29434. },
  29435. "regularlybuyminqty": {
  29436. "description": "定投最小数量",
  29437. "type": "number"
  29438. },
  29439. "spotgoodsbrandid": {
  29440. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  29441. "type": "integer"
  29442. },
  29443. "visibilityforenterprise": {
  29444. "description": "企业客户是否可见 - 0:不可见 1:可见",
  29445. "type": "integer"
  29446. },
  29447. "visibilityforpersonal": {
  29448. "description": "个人客户是否可见 - 0:不可见 1:可见",
  29449. "type": "integer"
  29450. },
  29451. "wrstandardid": {
  29452. "description": "现货商品ID",
  29453. "type": "integer"
  29454. }
  29455. }
  29456. },
  29457. "models.QueryErrorInfosRsp": {
  29458. "type": "object",
  29459. "required": [
  29460. "errorid"
  29461. ],
  29462. "properties": {
  29463. "description": {
  29464. "description": "异常描述",
  29465. "type": "string"
  29466. },
  29467. "errorcode": {
  29468. "description": "异常代码",
  29469. "type": "string"
  29470. },
  29471. "errorid": {
  29472. "description": "异常ID",
  29473. "type": "integer"
  29474. },
  29475. "modulecode": {
  29476. "description": "所属模块",
  29477. "type": "string"
  29478. },
  29479. "operatecode": {
  29480. "description": "所属操作",
  29481. "type": "string"
  29482. },
  29483. "rownumber": {
  29484. "description": "行号",
  29485. "type": "string"
  29486. }
  29487. }
  29488. },
  29489. "models.QueryHedgeOrderDetailRsp": {
  29490. "type": "object",
  29491. "properties": {
  29492. "accountid": {
  29493. "description": "账户ID",
  29494. "type": "integer"
  29495. },
  29496. "buyorsell": {
  29497. "description": "买卖 - 0:买 1:卖",
  29498. "type": "integer"
  29499. },
  29500. "cancellogincode": {
  29501. "description": "撤单人",
  29502. "type": "string"
  29503. },
  29504. "channelbuildtype": {
  29505. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  29506. "type": "integer"
  29507. },
  29508. "channelinnerorderstatus": {
  29509. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  29510. "type": "integer"
  29511. },
  29512. "channeloperatetype": {
  29513. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  29514. "type": "integer"
  29515. },
  29516. "closetype": {
  29517. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29518. "type": "integer"
  29519. },
  29520. "curexchangerate": {
  29521. "description": "当前汇率",
  29522. "type": "number"
  29523. },
  29524. "exchangefullname": {
  29525. "description": "外部交易所全称",
  29526. "type": "string"
  29527. },
  29528. "goodscode": {
  29529. "description": "商品代码(内部)",
  29530. "type": "string"
  29531. },
  29532. "goodsid": {
  29533. "description": "商品ID",
  29534. "type": "integer"
  29535. },
  29536. "goodsname": {
  29537. "description": "商品名称",
  29538. "type": "string"
  29539. },
  29540. "marketid": {
  29541. "description": "市场ID",
  29542. "type": "integer"
  29543. },
  29544. "openfreezemargin": {
  29545. "description": "冻结保证金(冻结交易金额)",
  29546. "type": "number"
  29547. },
  29548. "orderid": {
  29549. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29550. "type": "string"
  29551. },
  29552. "orderlogincode": {
  29553. "description": "委托人",
  29554. "type": "string"
  29555. },
  29556. "orderprice": {
  29557. "description": "委托价格(账户)",
  29558. "type": "number"
  29559. },
  29560. "orderqty": {
  29561. "description": "委托数量",
  29562. "type": "integer"
  29563. },
  29564. "ordertime": {
  29565. "description": "委托时间",
  29566. "type": "string"
  29567. },
  29568. "pricemode": {
  29569. "description": "取价方式 - 1:市价 2: 限价",
  29570. "type": "integer"
  29571. },
  29572. "tradedate": {
  29573. "description": "交易日(yyyyMMdd)",
  29574. "type": "string"
  29575. },
  29576. "tradeqty": {
  29577. "description": "成交数量",
  29578. "type": "integer"
  29579. }
  29580. }
  29581. },
  29582. "models.QueryHedgeTradeDetailRsp": {
  29583. "type": "object",
  29584. "properties": {
  29585. "accountid": {
  29586. "description": "账号ID",
  29587. "type": "integer"
  29588. },
  29589. "buyorsell": {
  29590. "description": "方向 - 0:买 1:卖",
  29591. "type": "integer"
  29592. },
  29593. "channelbuildtype": {
  29594. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29595. "type": "integer"
  29596. },
  29597. "closecharge": {
  29598. "description": "平仓手续费(账户)",
  29599. "type": "number"
  29600. },
  29601. "closecharge2": {
  29602. "description": "平仓手续费(商品)",
  29603. "type": "number"
  29604. },
  29605. "closepl": {
  29606. "description": "平仓盈亏(账户)",
  29607. "type": "number"
  29608. },
  29609. "closepl2": {
  29610. "description": "平仓盈亏(商品)",
  29611. "type": "number"
  29612. },
  29613. "closepl3": {
  29614. "description": "平仓盈亏(账户)(逐笔)",
  29615. "type": "number"
  29616. },
  29617. "closepl4": {
  29618. "description": "平仓盈亏(商品)(逐笔)",
  29619. "type": "number"
  29620. },
  29621. "closetype": {
  29622. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29623. "type": "integer"
  29624. },
  29625. "curexchangerate": {
  29626. "description": "当前汇率",
  29627. "type": "number"
  29628. },
  29629. "exchangefullname": {
  29630. "description": "外部交易所全称",
  29631. "type": "string"
  29632. },
  29633. "goodscode": {
  29634. "description": "商品代码(内部)",
  29635. "type": "string"
  29636. },
  29637. "goodsid": {
  29638. "description": "商品ID",
  29639. "type": "integer"
  29640. },
  29641. "goodsname": {
  29642. "description": "商品名称",
  29643. "type": "string"
  29644. },
  29645. "marketid": {
  29646. "description": "市场ID",
  29647. "type": "integer"
  29648. },
  29649. "opencharge": {
  29650. "description": "建仓手续费(账户)",
  29651. "type": "number"
  29652. },
  29653. "opencharge2": {
  29654. "description": "建仓手续费(商品)",
  29655. "type": "number"
  29656. },
  29657. "orderid": {
  29658. "description": "委托单号",
  29659. "type": "string"
  29660. },
  29661. "orderlogincode": {
  29662. "description": "委托人",
  29663. "type": "string"
  29664. },
  29665. "tradeamount": {
  29666. "description": "成交金额(账户)",
  29667. "type": "number"
  29668. },
  29669. "tradedate": {
  29670. "description": "交易日(yyyyMMdd)",
  29671. "type": "string"
  29672. },
  29673. "tradeid": {
  29674. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29675. "type": "string"
  29676. },
  29677. "tradeprice": {
  29678. "description": "成交价格",
  29679. "type": "number"
  29680. },
  29681. "tradeqty": {
  29682. "description": "成交数量",
  29683. "type": "integer"
  29684. },
  29685. "tradetime": {
  29686. "description": "成交时间",
  29687. "type": "string"
  29688. },
  29689. "tradetype": {
  29690. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  29691. "type": "integer"
  29692. }
  29693. }
  29694. },
  29695. "models.QuotePrimaryMenu": {
  29696. "type": "object",
  29697. "properties": {
  29698. "Index": {
  29699. "description": "序号",
  29700. "type": "integer"
  29701. },
  29702. "Key": {
  29703. "description": "键名",
  29704. "type": "string"
  29705. },
  29706. "Name": {
  29707. "description": "菜单名称",
  29708. "type": "string"
  29709. },
  29710. "SubMenus": {
  29711. "description": "子菜单",
  29712. "type": "array",
  29713. "items": {
  29714. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  29715. }
  29716. },
  29717. "SubTitleType": {
  29718. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  29719. "type": "integer"
  29720. },
  29721. "TradeModes": {
  29722. "description": "包含市场交易类型",
  29723. "type": "string"
  29724. }
  29725. }
  29726. },
  29727. "models.QuoteSecondaryMenu": {
  29728. "type": "object",
  29729. "properties": {
  29730. "ExExchangeCode": {
  29731. "description": "外部交易所代码",
  29732. "type": "string"
  29733. },
  29734. "ExExchangeID": {
  29735. "description": "外部交易所ID",
  29736. "type": "integer"
  29737. },
  29738. "GoodsGroupIDs": {
  29739. "description": "商品组ID列表",
  29740. "type": "array",
  29741. "items": {
  29742. "type": "integer"
  29743. }
  29744. },
  29745. "Index": {
  29746. "description": "序号",
  29747. "type": "integer"
  29748. },
  29749. "MarketID": {
  29750. "description": "市场ID",
  29751. "type": "integer"
  29752. },
  29753. "MenuTitle": {
  29754. "description": "菜单标题(市场名称或外部交易所名称)",
  29755. "type": "string"
  29756. },
  29757. "TradeMode": {
  29758. "description": "交易模式",
  29759. "type": "integer"
  29760. }
  29761. }
  29762. },
  29763. "models.RoleMenu": {
  29764. "type": "object",
  29765. "properties": {
  29766. "hasright": {
  29767. "description": "是否有权限 0-没有权限 1-有权限",
  29768. "type": "integer"
  29769. },
  29770. "iconame": {
  29771. "description": "菜单图标",
  29772. "type": "string"
  29773. },
  29774. "menutype": {
  29775. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  29776. "type": "integer"
  29777. },
  29778. "parentcode": {
  29779. "description": "上级资源代码",
  29780. "type": "string"
  29781. },
  29782. "remark": {
  29783. "description": "菜单备注",
  29784. "type": "string"
  29785. },
  29786. "resourcecode": {
  29787. "description": "菜单代码",
  29788. "type": "string"
  29789. },
  29790. "resourcelevel": {
  29791. "description": "级别",
  29792. "type": "integer"
  29793. },
  29794. "resourcename": {
  29795. "description": "菜单名称",
  29796. "type": "string"
  29797. },
  29798. "roleid": {
  29799. "description": "角色id",
  29800. "type": "integer"
  29801. },
  29802. "sort": {
  29803. "description": "排序",
  29804. "type": "integer"
  29805. },
  29806. "subMenu": {
  29807. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29808. "type": "array",
  29809. "items": {
  29810. "$ref": "#/definitions/models.RoleMenu"
  29811. }
  29812. },
  29813. "url": {
  29814. "description": "URL",
  29815. "type": "string"
  29816. },
  29817. "userid": {
  29818. "description": "用户id",
  29819. "type": "integer"
  29820. }
  29821. }
  29822. },
  29823. "models.SearchGoods": {
  29824. "type": "object",
  29825. "required": [
  29826. "goodscode",
  29827. "goodsid",
  29828. "goodsname",
  29829. "marketid",
  29830. "trademode"
  29831. ],
  29832. "properties": {
  29833. "goodscode": {
  29834. "description": "商品代码(内部)",
  29835. "type": "string"
  29836. },
  29837. "goodsid": {
  29838. "description": "商品ID(自增ID SEQ_GOODS)",
  29839. "type": "integer"
  29840. },
  29841. "goodsname": {
  29842. "description": "商品名称",
  29843. "type": "string"
  29844. },
  29845. "marketid": {
  29846. "description": "所属市场ID",
  29847. "type": "integer"
  29848. },
  29849. "marketname": {
  29850. "description": "市场名称",
  29851. "type": "string"
  29852. },
  29853. "trademode": {
  29854. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29855. "type": "integer"
  29856. }
  29857. }
  29858. },
  29859. "models.Systemparam": {
  29860. "type": "object",
  29861. "required": [
  29862. "paramcode"
  29863. ],
  29864. "properties": {
  29865. "loginid": {
  29866. "description": "更新用户账号,登录账号",
  29867. "type": "string"
  29868. },
  29869. "modifyflag": {
  29870. "description": "修改标志0 不允许修改 1 允许修改",
  29871. "type": "integer"
  29872. },
  29873. "paramcode": {
  29874. "description": "参数代码",
  29875. "type": "string"
  29876. },
  29877. "paramname": {
  29878. "description": "参数名",
  29879. "type": "string"
  29880. },
  29881. "paramtype": {
  29882. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29883. "type": "integer"
  29884. },
  29885. "paramvalue": {
  29886. "description": "参数值",
  29887. "type": "string"
  29888. },
  29889. "paramvalue2": {
  29890. "description": "参数值(CLOB)",
  29891. "type": "string"
  29892. },
  29893. "regexpress": {
  29894. "description": "正则表达式",
  29895. "type": "string"
  29896. },
  29897. "remark": {
  29898. "description": "备注",
  29899. "type": "string"
  29900. },
  29901. "serverip": {
  29902. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  29903. "type": "string"
  29904. },
  29905. "showflag": {
  29906. "description": "是否显示0 不显示 1 显示",
  29907. "type": "integer"
  29908. },
  29909. "updatetime": {
  29910. "description": "更新时间",
  29911. "type": "string"
  29912. },
  29913. "userid": {
  29914. "description": "更新用户ID",
  29915. "type": "integer"
  29916. }
  29917. }
  29918. },
  29919. "models.Szdz3convertconfig": {
  29920. "type": "object",
  29921. "required": [
  29922. "converttype",
  29923. "innergoodsid",
  29924. "outergoodscode"
  29925. ],
  29926. "properties": {
  29927. "canin": {
  29928. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  29929. "type": "integer"
  29930. },
  29931. "canout": {
  29932. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  29933. "type": "integer"
  29934. },
  29935. "converttype": {
  29936. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  29937. "type": "integer"
  29938. },
  29939. "createtime": {
  29940. "description": "创建时间",
  29941. "type": "string"
  29942. },
  29943. "creatorid": {
  29944. "description": "创建人",
  29945. "type": "integer"
  29946. },
  29947. "daymaxvalue": {
  29948. "description": "当日最大转入限制",
  29949. "type": "number"
  29950. },
  29951. "freezedays": {
  29952. "description": "冻结天数 [5:花生米转交易]",
  29953. "type": "integer"
  29954. },
  29955. "innergoodsid": {
  29956. "description": "内部商品ID[交易]",
  29957. "type": "integer"
  29958. },
  29959. "inratio": {
  29960. "description": "目标值",
  29961. "type": "integer"
  29962. },
  29963. "modifierid": {
  29964. "description": "修改人",
  29965. "type": "integer"
  29966. },
  29967. "modifytime": {
  29968. "description": "修改时间",
  29969. "type": "string"
  29970. },
  29971. "outergoodscode": {
  29972. "description": "外部商品代码[JD\\PD]",
  29973. "type": "string"
  29974. },
  29975. "outratio": {
  29976. "description": "源值",
  29977. "type": "integer"
  29978. },
  29979. "pddecimalplace": {
  29980. "description": "PD小数位",
  29981. "type": "integer"
  29982. },
  29983. "timemaxvalue": {
  29984. "description": "单次最大转入限制",
  29985. "type": "number"
  29986. },
  29987. "timeminvalue": {
  29988. "description": "单次最小转入限制",
  29989. "type": "number"
  29990. }
  29991. }
  29992. },
  29993. "models.Szdz3searchwhitelist": {
  29994. "type": "object",
  29995. "required": [
  29996. "userid"
  29997. ],
  29998. "properties": {
  29999. "createtime": {
  30000. "description": "创建时间",
  30001. "type": "string"
  30002. },
  30003. "creatorid": {
  30004. "description": "创建人",
  30005. "type": "integer"
  30006. },
  30007. "modifierid": {
  30008. "description": "修改人",
  30009. "type": "integer"
  30010. },
  30011. "modifytime": {
  30012. "description": "修改时间",
  30013. "type": "string"
  30014. },
  30015. "userid": {
  30016. "description": "用户ID",
  30017. "type": "integer"
  30018. }
  30019. }
  30020. },
  30021. "models.TBGoods": {
  30022. "type": "object",
  30023. "properties": {
  30024. "agreeunit": {
  30025. "description": "合约乘数",
  30026. "type": "number"
  30027. },
  30028. "enumdicname": {
  30029. "description": "单位名称",
  30030. "type": "string"
  30031. },
  30032. "goodscode": {
  30033. "description": "商品代码(内部)",
  30034. "type": "string"
  30035. },
  30036. "goodsid": {
  30037. "description": "商品ID(自增ID SEQ_GOODS)",
  30038. "type": "integer"
  30039. },
  30040. "goodsname": {
  30041. "description": "商品名称",
  30042. "type": "string"
  30043. }
  30044. }
  30045. },
  30046. "models.TBGoodsGroup": {
  30047. "type": "object",
  30048. "properties": {
  30049. "convertratio": {
  30050. "description": "折算系数",
  30051. "type": "number"
  30052. },
  30053. "enumdicname": {
  30054. "description": "单位名称",
  30055. "type": "string"
  30056. },
  30057. "exexchangecode": {
  30058. "description": "交易所代码",
  30059. "type": "string"
  30060. },
  30061. "exexchangename": {
  30062. "description": "交易所名称",
  30063. "type": "string"
  30064. },
  30065. "gdlst": {
  30066. "description": "商品列表",
  30067. "type": "array",
  30068. "items": {
  30069. "$ref": "#/definitions/models.TBGoods"
  30070. }
  30071. },
  30072. "goodsgroupid": {
  30073. "description": "商品组ID(自增ID)",
  30074. "type": "integer"
  30075. },
  30076. "goodsgroupname": {
  30077. "description": "商品组名称",
  30078. "type": "string"
  30079. },
  30080. "goodunitid": {
  30081. "description": "报价单位ID",
  30082. "type": "integer"
  30083. }
  30084. }
  30085. },
  30086. "models.TBMiddleGoods": {
  30087. "type": "object",
  30088. "properties": {
  30089. "areauserid": {
  30090. "description": "机构用户ID",
  30091. "type": "integer"
  30092. },
  30093. "enumdicname": {
  30094. "description": "单位名称",
  30095. "type": "string"
  30096. },
  30097. "gplst": {
  30098. "description": "期货品种列表",
  30099. "type": "array",
  30100. "items": {
  30101. "$ref": "#/definitions/models.TBGoodsGroup"
  30102. }
  30103. },
  30104. "middlegoodscode": {
  30105. "description": "套保品种代码",
  30106. "type": "string"
  30107. },
  30108. "middlegoodsid": {
  30109. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  30110. "type": "integer"
  30111. },
  30112. "middlegoodsname": {
  30113. "description": "套保品种名称",
  30114. "type": "string"
  30115. },
  30116. "needarbitrageratio": {
  30117. "description": "套利比率",
  30118. "type": "number"
  30119. },
  30120. "needhedgeratio": {
  30121. "description": "套保比率",
  30122. "type": "number"
  30123. },
  30124. "wdlst": {
  30125. "description": "商品信息列表(现货品类)",
  30126. "type": "array",
  30127. "items": {
  30128. "$ref": "#/definitions/models.TBWrstandard"
  30129. }
  30130. }
  30131. }
  30132. },
  30133. "models.TBWrstandard": {
  30134. "type": "object",
  30135. "properties": {
  30136. "convertratio": {
  30137. "description": "折算系数",
  30138. "type": "number"
  30139. },
  30140. "deliverygoodsname": {
  30141. "description": "品种名称",
  30142. "type": "string"
  30143. },
  30144. "enumdicname": {
  30145. "description": "单位名称",
  30146. "type": "string"
  30147. },
  30148. "vatrate": {
  30149. "description": "增值税率",
  30150. "type": "number"
  30151. },
  30152. "wrstandardcode": {
  30153. "description": "现货商品代码",
  30154. "type": "string"
  30155. },
  30156. "wrstandardid": {
  30157. "description": "现货商品ID(SEQ_WRSTANDARD)",
  30158. "type": "integer"
  30159. },
  30160. "wrstandardname": {
  30161. "description": "现货商品名称",
  30162. "type": "string"
  30163. }
  30164. }
  30165. },
  30166. "models.Taaccount": {
  30167. "type": "object",
  30168. "required": [
  30169. "accountid",
  30170. "userid"
  30171. ],
  30172. "properties": {
  30173. "accountflag": {
  30174. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  30175. "type": "integer"
  30176. },
  30177. "accountid": {
  30178. "description": "资金账户ID",
  30179. "type": "integer"
  30180. },
  30181. "accountname": {
  30182. "description": "账户名称",
  30183. "type": "string"
  30184. },
  30185. "balance": {
  30186. "description": "期初余额",
  30187. "type": "number"
  30188. },
  30189. "capitalbalance": {
  30190. "description": "本金余额[外部子账户实际出入金余额]",
  30191. "type": "number"
  30192. },
  30193. "changeflag": {
  30194. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  30195. "type": "integer"
  30196. },
  30197. "changetime": {
  30198. "description": "账户状态变更时间",
  30199. "type": "string"
  30200. },
  30201. "closepl": {
  30202. "description": "今日平仓盈亏",
  30203. "type": "number"
  30204. },
  30205. "creditdecrease": {
  30206. "description": "今日授信减少",
  30207. "type": "number"
  30208. },
  30209. "creditincrease": {
  30210. "description": "今日授信增加",
  30211. "type": "number"
  30212. },
  30213. "curamount": {
  30214. "description": "总市值(从持仓中统计)",
  30215. "type": "number"
  30216. },
  30217. "currencyid": {
  30218. "description": "货币ID",
  30219. "type": "integer"
  30220. },
  30221. "currentbalance": {
  30222. "description": "期末余额",
  30223. "type": "number"
  30224. },
  30225. "freezecharge": {
  30226. "description": "手续费冻结",
  30227. "type": "number"
  30228. },
  30229. "freezemargin": {
  30230. "description": "冻结保证金",
  30231. "type": "number"
  30232. },
  30233. "fromaccountid": {
  30234. "description": "所属上级账户",
  30235. "type": "integer"
  30236. },
  30237. "inamount": {
  30238. "description": "今日入金金额(包括三方入金)",
  30239. "type": "number"
  30240. },
  30241. "ismain": {
  30242. "description": "是否母账号 0:不是母账户 1:是母账户",
  30243. "type": "integer"
  30244. },
  30245. "ismarketaccount": {
  30246. "description": "是否机构接单账号 0:不是 1:是",
  30247. "type": "integer"
  30248. },
  30249. "isreckonaccount": {
  30250. "description": "是否机构分润账号 0:不是 1:是",
  30251. "type": "integer"
  30252. },
  30253. "mortgagecredit": {
  30254. "description": "授信金额",
  30255. "type": "number"
  30256. },
  30257. "orifreezecharge": {
  30258. "description": "期初手续费冻结",
  30259. "type": "number"
  30260. },
  30261. "orifreezemargin": {
  30262. "description": "期初冻结保证金",
  30263. "type": "number"
  30264. },
  30265. "orimortgagecredit": {
  30266. "description": "期初授信金额",
  30267. "type": "number"
  30268. },
  30269. "oriothercredit": {
  30270. "description": "期初其它授信金额",
  30271. "type": "number"
  30272. },
  30273. "oriotherfreezemargin": {
  30274. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  30275. "type": "number"
  30276. },
  30277. "orioutamountfreeze": {
  30278. "description": "期初出金冻结",
  30279. "type": "number"
  30280. },
  30281. "oriusedmargin": {
  30282. "description": "期初占用保证金",
  30283. "type": "number"
  30284. },
  30285. "othercredit": {
  30286. "description": "其它授信金额",
  30287. "type": "number"
  30288. },
  30289. "othercreditdecrease": {
  30290. "description": "今日其它授信减少",
  30291. "type": "number"
  30292. },
  30293. "othercreditincrease": {
  30294. "description": "今日其它授信增加",
  30295. "type": "number"
  30296. },
  30297. "otherfreezemargin": {
  30298. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  30299. "type": "number"
  30300. },
  30301. "otherincome": {
  30302. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  30303. "type": "number"
  30304. },
  30305. "otherpay": {
  30306. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  30307. "type": "number"
  30308. },
  30309. "outamount": {
  30310. "description": "今日出金金额(包括三方出金)",
  30311. "type": "number"
  30312. },
  30313. "outamountfreeze": {
  30314. "description": "出金冻结",
  30315. "type": "number"
  30316. },
  30317. "outthreshold": {
  30318. "description": "出金阈值",
  30319. "type": "number"
  30320. },
  30321. "parentaccountid": {
  30322. "description": "所属根账号",
  30323. "type": "integer"
  30324. },
  30325. "paycharge": {
  30326. "description": "今日手续费支出",
  30327. "type": "number"
  30328. },
  30329. "relatedaccountstatus": {
  30330. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  30331. "type": "integer"
  30332. },
  30333. "relateduserid": {
  30334. "description": "关联用户",
  30335. "type": "integer"
  30336. },
  30337. "remainamount": {
  30338. "description": "融资额(从融资合同中统计)",
  30339. "type": "number"
  30340. },
  30341. "serivcegroup": {
  30342. "description": "服务分组",
  30343. "type": "integer"
  30344. },
  30345. "signstatus": {
  30346. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  30347. "type": "integer"
  30348. },
  30349. "sublevelpath": {
  30350. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  30351. "type": "string"
  30352. },
  30353. "taaccounttype": {
  30354. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  30355. "type": "integer"
  30356. },
  30357. "thirdinamount": {
  30358. "description": "今日三方入金",
  30359. "type": "number"
  30360. },
  30361. "thirdoutamount": {
  30362. "description": "今日三方出金",
  30363. "type": "number"
  30364. },
  30365. "tradestatus": {
  30366. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  30367. "type": "integer"
  30368. },
  30369. "tradestatuschangetime": {
  30370. "description": "激活时间",
  30371. "type": "string"
  30372. },
  30373. "transferamount": {
  30374. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  30375. "type": "number"
  30376. },
  30377. "usedmargin": {
  30378. "description": "占用保证金",
  30379. "type": "number"
  30380. },
  30381. "userid": {
  30382. "description": "用户ID",
  30383. "type": "integer"
  30384. }
  30385. }
  30386. },
  30387. "models.Tablecolumnconfig": {
  30388. "type": "object",
  30389. "required": [
  30390. "autoid"
  30391. ],
  30392. "properties": {
  30393. "aligntype": {
  30394. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  30395. "type": "integer"
  30396. },
  30397. "autoid": {
  30398. "description": "AutoID",
  30399. "type": "integer"
  30400. },
  30401. "columnfield": {
  30402. "description": "列字段",
  30403. "type": "string"
  30404. },
  30405. "columntitle": {
  30406. "description": "列Title",
  30407. "type": "string"
  30408. },
  30409. "columnwidth": {
  30410. "description": "列宽",
  30411. "type": "string"
  30412. },
  30413. "formatterstring": {
  30414. "description": "格式化字符",
  30415. "type": "string"
  30416. },
  30417. "formattertype": {
  30418. "description": "格式化类型",
  30419. "type": "string"
  30420. },
  30421. "groupname": {
  30422. "description": "表头分组名称",
  30423. "type": "string"
  30424. },
  30425. "isshow": {
  30426. "description": "是否显示 - 0:不显示 1:显示",
  30427. "type": "integer"
  30428. },
  30429. "needsummary": {
  30430. "description": "是否需要汇总 - 0:不需要 1:需要",
  30431. "type": "integer"
  30432. },
  30433. "orderindex": {
  30434. "description": "顺序",
  30435. "type": "integer"
  30436. },
  30437. "remark": {
  30438. "description": "备注",
  30439. "type": "string"
  30440. },
  30441. "summarytype": {
  30442. "description": "汇总类型 - 1:加总 2:最后一个",
  30443. "type": "integer"
  30444. },
  30445. "tablekey": {
  30446. "description": "列表Key",
  30447. "type": "string"
  30448. }
  30449. }
  30450. },
  30451. "models.TjmdQuoteGoods": {
  30452. "type": "object",
  30453. "properties": {
  30454. "buyqty": {
  30455. "description": "买量(暂不做, 无值, 保留字段)",
  30456. "type": "number"
  30457. },
  30458. "goodscode": {
  30459. "description": "合约代码",
  30460. "type": "string"
  30461. },
  30462. "goodsgroupid": {
  30463. "description": "商品组ID(自增ID)",
  30464. "type": "integer"
  30465. },
  30466. "goodsgroupname": {
  30467. "description": "商品组名称",
  30468. "type": "string"
  30469. },
  30470. "goodsid": {
  30471. "description": "合约id",
  30472. "type": "integer"
  30473. },
  30474. "goodsname": {
  30475. "description": "合约名称",
  30476. "type": "string"
  30477. },
  30478. "refgoodscode": {
  30479. "description": "标的合约代码",
  30480. "type": "string"
  30481. },
  30482. "refgoodsid": {
  30483. "description": "标的合约id",
  30484. "type": "integer"
  30485. },
  30486. "refgoodsname": {
  30487. "description": "标的合约名称",
  30488. "type": "string"
  30489. },
  30490. "sellqty": {
  30491. "description": "卖量(暂不做, 无值, 保留字段)",
  30492. "type": "number"
  30493. }
  30494. }
  30495. },
  30496. "models.TjmdTodayAccountMargin": {
  30497. "type": "object",
  30498. "properties": {
  30499. "accountid": {
  30500. "description": "账号ID",
  30501. "type": "integer"
  30502. },
  30503. "goodsid": {
  30504. "description": "商品ID",
  30505. "type": "integer"
  30506. },
  30507. "infoc": {
  30508. "description": "配置参数",
  30509. "type": "object",
  30510. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  30511. },
  30512. "marketid": {
  30513. "description": "市场ID",
  30514. "type": "integer"
  30515. }
  30516. }
  30517. },
  30518. "models.TjmdTradeOrderDetail": {
  30519. "type": "object",
  30520. "properties": {
  30521. "buyorsell": {
  30522. "description": "买卖方向 0-买 1-卖",
  30523. "type": "integer"
  30524. },
  30525. "goodsid": {
  30526. "description": "商品id",
  30527. "type": "integer"
  30528. },
  30529. "marketmaxsub": {
  30530. "description": "市价最大偏移范围 [浮动价 - 点差]",
  30531. "type": "number"
  30532. },
  30533. "orderid": {
  30534. "description": "委托单号",
  30535. "type": "string"
  30536. },
  30537. "orderprice": {
  30538. "description": "委托价格",
  30539. "type": "number"
  30540. },
  30541. "orderqty": {
  30542. "description": "委托数量",
  30543. "type": "integer"
  30544. },
  30545. "pricemode": {
  30546. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  30547. "type": "integer"
  30548. },
  30549. "userid": {
  30550. "description": "用户id",
  30551. "type": "integer"
  30552. },
  30553. "username": {
  30554. "description": "用户名称(已脱敏)",
  30555. "type": "string"
  30556. }
  30557. }
  30558. },
  30559. "models.TjmdTransferApply": {
  30560. "type": "object",
  30561. "properties": {
  30562. "applyid": {
  30563. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  30564. "type": "integer"
  30565. },
  30566. "applystatus": {
  30567. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  30568. "type": "integer"
  30569. },
  30570. "applytime": {
  30571. "description": "申请时间(时间)",
  30572. "type": "string"
  30573. },
  30574. "auditremark": {
  30575. "description": "审核备注(拒绝原因?)",
  30576. "type": "string"
  30577. },
  30578. "buyorsell": {
  30579. "description": "买卖 - 0:买 1:卖",
  30580. "type": "integer"
  30581. },
  30582. "goodscode": {
  30583. "description": "商品代码",
  30584. "type": "string"
  30585. },
  30586. "goodsid": {
  30587. "description": "商品ID",
  30588. "type": "integer"
  30589. },
  30590. "goodsname": {
  30591. "description": "商品名称",
  30592. "type": "string"
  30593. },
  30594. "marketid": {
  30595. "description": "市场ID",
  30596. "type": "integer"
  30597. },
  30598. "qty": {
  30599. "description": "转让数量(数量)",
  30600. "type": "number"
  30601. },
  30602. "tradeid": {
  30603. "description": "成交单号(关联持仓)",
  30604. "type": "string"
  30605. },
  30606. "transferamount": {
  30607. "description": "转让总金额(金额)",
  30608. "type": "number"
  30609. },
  30610. "transferprice": {
  30611. "description": "转让价格(协议价格)",
  30612. "type": "number"
  30613. }
  30614. }
  30615. },
  30616. "models.TradeHolderDetail": {
  30617. "type": "object",
  30618. "properties": {
  30619. "accountid": {
  30620. "description": "账号ID",
  30621. "type": "integer"
  30622. },
  30623. "agreeunit": {
  30624. "description": "合约乘数",
  30625. "type": "number"
  30626. },
  30627. "buyorsell": {
  30628. "description": "方向 - 0:买 1:卖",
  30629. "type": "integer"
  30630. },
  30631. "currencyid": {
  30632. "description": "商品币种id",
  30633. "type": "integer"
  30634. },
  30635. "currencyname": {
  30636. "description": "币种名称",
  30637. "type": "string"
  30638. },
  30639. "decimalplace": {
  30640. "description": "商品价格小数位",
  30641. "type": "integer"
  30642. },
  30643. "enumdicname": {
  30644. "description": "商品单位名称",
  30645. "type": "string"
  30646. },
  30647. "expirecycle": {
  30648. "description": "行权周期(天) - 1:滚动行权时填写",
  30649. "type": "integer"
  30650. },
  30651. "expiredate": {
  30652. "description": "行权日(yyyyMMdd) - 到期日",
  30653. "type": "string"
  30654. },
  30655. "expiretype": {
  30656. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  30657. "type": "integer"
  30658. },
  30659. "freezeqty": {
  30660. "description": "冻结数量",
  30661. "type": "number"
  30662. },
  30663. "goodscode": {
  30664. "description": "商品代码",
  30665. "type": "string"
  30666. },
  30667. "goodsid": {
  30668. "description": "商品ID",
  30669. "type": "integer"
  30670. },
  30671. "goodsname": {
  30672. "description": "商品名称",
  30673. "type": "string"
  30674. },
  30675. "goodunitid": {
  30676. "description": "商品单位id",
  30677. "type": "integer"
  30678. },
  30679. "holderamount": {
  30680. "description": "持仓金额",
  30681. "type": "number"
  30682. },
  30683. "holdercredit": {
  30684. "description": "持仓授信金额",
  30685. "type": "number"
  30686. },
  30687. "holderdays": {
  30688. "description": "剩余冻结天数",
  30689. "type": "integer"
  30690. },
  30691. "holderprice": {
  30692. "description": "持仓价格",
  30693. "type": "number"
  30694. },
  30695. "holderqty": {
  30696. "description": "持仓数量",
  30697. "type": "number"
  30698. },
  30699. "isconfirmexercise": {
  30700. "description": "是否确认行权- 0:否 1:是",
  30701. "type": "integer"
  30702. },
  30703. "ispreexercise": {
  30704. "description": "是否预申报- 0:否 1:是 2:不可行权",
  30705. "type": "integer"
  30706. },
  30707. "marketid": {
  30708. "description": "市场id",
  30709. "type": "integer"
  30710. },
  30711. "marketname": {
  30712. "description": "市场名称",
  30713. "type": "string"
  30714. },
  30715. "openprice": {
  30716. "description": "建仓价格",
  30717. "type": "number"
  30718. },
  30719. "openqty": {
  30720. "description": "建仓数量",
  30721. "type": "number"
  30722. },
  30723. "optiontype": {
  30724. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30725. "type": "integer"
  30726. },
  30727. "preexerciseprice": {
  30728. "description": "预申报价格",
  30729. "type": "number"
  30730. },
  30731. "premium": {
  30732. "description": "权利金",
  30733. "type": "number"
  30734. },
  30735. "qtydecimalplace": {
  30736. "description": "商品成交量小数位",
  30737. "type": "integer"
  30738. },
  30739. "refgoodscode": {
  30740. "description": "标的合约代码",
  30741. "type": "string"
  30742. },
  30743. "refgoodsid": {
  30744. "description": "标的合约id",
  30745. "type": "integer"
  30746. },
  30747. "releaseamount": {
  30748. "description": "释放持仓金额",
  30749. "type": "number"
  30750. },
  30751. "releaseholdercredit": {
  30752. "description": "释放持仓授信金额",
  30753. "type": "number"
  30754. },
  30755. "taname": {
  30756. "description": "资金账号名称",
  30757. "type": "string"
  30758. },
  30759. "tradeamount": {
  30760. "description": "成交金额",
  30761. "type": "number"
  30762. },
  30763. "tradedate": {
  30764. "description": "交易日(yyyyMMdd)",
  30765. "type": "string"
  30766. },
  30767. "tradeid": {
  30768. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30769. "type": "string"
  30770. },
  30771. "trademode": {
  30772. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  30773. "type": "integer"
  30774. },
  30775. "tradeproperty": {
  30776. "description": "交易属性",
  30777. "type": "integer"
  30778. },
  30779. "tradetime": {
  30780. "description": "交易时间",
  30781. "type": "string"
  30782. },
  30783. "userid": {
  30784. "description": "用户id",
  30785. "type": "integer"
  30786. },
  30787. "username": {
  30788. "description": "用户名称",
  30789. "type": "string"
  30790. }
  30791. }
  30792. },
  30793. "models.UserCollectConfig": {
  30794. "type": "object",
  30795. "properties": {
  30796. "accountstatus": {
  30797. "description": "账户状态 - 1:正常 2:停用 3:注销",
  30798. "type": "integer"
  30799. },
  30800. "collectaccountname": {
  30801. "description": "收款人账户名称",
  30802. "type": "string"
  30803. },
  30804. "collectaccountno": {
  30805. "description": "收款人账户",
  30806. "type": "string"
  30807. },
  30808. "collectbankname": {
  30809. "description": "收款人开户行",
  30810. "type": "string"
  30811. },
  30812. "collectbranchbankname": {
  30813. "description": "收款人开户支行",
  30814. "type": "string"
  30815. },
  30816. "collectconfigid": {
  30817. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  30818. "type": "string"
  30819. },
  30820. "remark": {
  30821. "description": "备注",
  30822. "type": "string"
  30823. },
  30824. "userid": {
  30825. "description": "收款人用户ID",
  30826. "type": "integer"
  30827. }
  30828. }
  30829. },
  30830. "models.UserReceiveInfo": {
  30831. "type": "object",
  30832. "properties": {
  30833. "address": {
  30834. "description": "提货人详细地址",
  30835. "type": "string"
  30836. },
  30837. "autoid": {
  30838. "description": "AutoID",
  30839. "type": "integer"
  30840. },
  30841. "cardnum": {
  30842. "description": "证件号码(加密存储)",
  30843. "type": "string"
  30844. },
  30845. "cardtypeid": {
  30846. "description": "证件类型",
  30847. "type": "integer"
  30848. },
  30849. "cityid": {
  30850. "description": "市",
  30851. "type": "integer"
  30852. },
  30853. "cityname": {
  30854. "description": "城市名称",
  30855. "type": "string"
  30856. },
  30857. "countryid": {
  30858. "description": "国家",
  30859. "type": "integer"
  30860. },
  30861. "countryname": {
  30862. "description": "国家名称",
  30863. "type": "string"
  30864. },
  30865. "districtid": {
  30866. "description": "地区",
  30867. "type": "integer"
  30868. },
  30869. "districtname": {
  30870. "description": "地区名称",
  30871. "type": "string"
  30872. },
  30873. "hasencrypt": {
  30874. "description": "数据是否已加密 - 0:未加密 1:已加密",
  30875. "type": "integer"
  30876. },
  30877. "isdefault": {
  30878. "description": "是否默认地址 - 0:否 1:是",
  30879. "type": "integer"
  30880. },
  30881. "phonenum": {
  30882. "description": "提货人联系方式(加密存储)",
  30883. "type": "string"
  30884. },
  30885. "provinceid": {
  30886. "description": "省",
  30887. "type": "integer"
  30888. },
  30889. "provincename": {
  30890. "description": "省名称",
  30891. "type": "string"
  30892. },
  30893. "receivername": {
  30894. "description": "提货人姓名",
  30895. "type": "string"
  30896. },
  30897. "takeremark": {
  30898. "description": "提货备注",
  30899. "type": "string"
  30900. },
  30901. "userid": {
  30902. "description": "用户ID",
  30903. "type": "integer"
  30904. }
  30905. }
  30906. },
  30907. "models.Useraccount": {
  30908. "type": "object",
  30909. "required": [
  30910. "userid"
  30911. ],
  30912. "properties": {
  30913. "accountname": {
  30914. "description": "账户名称(机构名称)",
  30915. "type": "string"
  30916. },
  30917. "accountstatus": {
  30918. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30919. "type": "integer"
  30920. },
  30921. "applysrc": {
  30922. "description": "申请来源 - 1:管理端 2:终端",
  30923. "type": "integer"
  30924. },
  30925. "auditremark": {
  30926. "description": "审核备注",
  30927. "type": "string"
  30928. },
  30929. "auditsrc": {
  30930. "description": "审核来源 - 1:管理端 2:终端",
  30931. "type": "integer"
  30932. },
  30933. "audittime": {
  30934. "description": "审核时间",
  30935. "type": "string"
  30936. },
  30937. "audituserid": {
  30938. "description": "审核人",
  30939. "type": "integer"
  30940. },
  30941. "broker": {
  30942. "description": "所属经纪人ID",
  30943. "type": "integer"
  30944. },
  30945. "canceltime": {
  30946. "description": "销户时间",
  30947. "type": "string"
  30948. },
  30949. "canceluserid": {
  30950. "description": "销户人",
  30951. "type": "integer"
  30952. },
  30953. "canrecommend": {
  30954. "description": "是否可推荐 - 0:不可 1;可",
  30955. "type": "integer"
  30956. },
  30957. "createtime": {
  30958. "description": "创建时间",
  30959. "type": "string"
  30960. },
  30961. "creatorid": {
  30962. "description": "创建人",
  30963. "type": "integer"
  30964. },
  30965. "hasauth": {
  30966. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  30967. "type": "integer"
  30968. },
  30969. "isanonymous": {
  30970. "description": "是否匿名下单 - 0:否 1:是",
  30971. "type": "integer"
  30972. },
  30973. "maxinvestornum": {
  30974. "description": "最大用户数(经纪会员下投资者个数)",
  30975. "type": "integer"
  30976. },
  30977. "memberuserid": {
  30978. "description": "所属会员ID",
  30979. "type": "integer"
  30980. },
  30981. "modifierid": {
  30982. "description": "修改人",
  30983. "type": "integer"
  30984. },
  30985. "modifyremark": {
  30986. "description": "变更备注",
  30987. "type": "string"
  30988. },
  30989. "modifystatus": {
  30990. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  30991. "type": "integer"
  30992. },
  30993. "modifytime": {
  30994. "description": "修改时间",
  30995. "type": "string"
  30996. },
  30997. "parenttopuser": {
  30998. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  30999. "type": "string"
  31000. },
  31001. "parentuserid": {
  31002. "description": "所属机构ID",
  31003. "type": "integer"
  31004. },
  31005. "reckonaccountid": {
  31006. "description": "默认结算资金账号ID(机构分润使用) 作废",
  31007. "type": "integer"
  31008. },
  31009. "refercount": {
  31010. "description": "推荐总人数",
  31011. "type": "integer"
  31012. },
  31013. "refereeuserid": {
  31014. "description": "推荐人ID",
  31015. "type": "integer"
  31016. },
  31017. "refernum": {
  31018. "description": "推荐码",
  31019. "type": "string"
  31020. },
  31021. "rootuserid": {
  31022. "description": "根用户ID",
  31023. "type": "integer"
  31024. },
  31025. "subaccountlevel": {
  31026. "description": "子账户层数",
  31027. "type": "integer"
  31028. },
  31029. "subarealevelpath": {
  31030. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  31031. "type": "string"
  31032. },
  31033. "userid": {
  31034. "description": "用户ID",
  31035. "type": "integer"
  31036. },
  31037. "usertype": {
  31038. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  31039. "type": "integer"
  31040. }
  31041. }
  31042. },
  31043. "models.Userfavoritegoods": {
  31044. "type": "object",
  31045. "required": [
  31046. "goodsid"
  31047. ],
  31048. "properties": {
  31049. "goodsid": {
  31050. "description": "商品ID",
  31051. "type": "integer"
  31052. }
  31053. }
  31054. },
  31055. "models.Userinfo": {
  31056. "type": "object",
  31057. "required": [
  31058. "userid"
  31059. ],
  31060. "properties": {
  31061. "address": {
  31062. "description": "地址",
  31063. "type": "string"
  31064. },
  31065. "attachment1": {
  31066. "description": "附件1",
  31067. "type": "string"
  31068. },
  31069. "attachment2": {
  31070. "description": "附件2",
  31071. "type": "string"
  31072. },
  31073. "bankaccount": {
  31074. "description": "银行帐号 (加密存储)",
  31075. "type": "string"
  31076. },
  31077. "bankaccountname": {
  31078. "description": "收款人名称",
  31079. "type": "string"
  31080. },
  31081. "bankcardfrontphotourl": {
  31082. "description": "银行卡正面照地址",
  31083. "type": "string"
  31084. },
  31085. "bankid": {
  31086. "description": "银行编码",
  31087. "type": "string"
  31088. },
  31089. "bankname": {
  31090. "description": "银行名称",
  31091. "type": "string"
  31092. },
  31093. "biznature": {
  31094. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  31095. "type": "integer"
  31096. },
  31097. "bizscope": {
  31098. "description": "企业经营范围(企业)",
  31099. "type": "string"
  31100. },
  31101. "cardbackphotourl": {
  31102. "description": "证件背面图片地址",
  31103. "type": "string"
  31104. },
  31105. "cardfrontphotourl": {
  31106. "description": "证件正面图片地址",
  31107. "type": "string"
  31108. },
  31109. "cardnum": {
  31110. "description": "证件号码(加密存储)",
  31111. "type": "string"
  31112. },
  31113. "cardtypeid": {
  31114. "description": "证件类型ID",
  31115. "type": "integer"
  31116. },
  31117. "cityid": {
  31118. "description": "市",
  31119. "type": "integer"
  31120. },
  31121. "company": {
  31122. "description": "公司(个人)",
  31123. "type": "string"
  31124. },
  31125. "contactname": {
  31126. "description": "联系人",
  31127. "type": "string"
  31128. },
  31129. "countryid": {
  31130. "description": "国家",
  31131. "type": "integer"
  31132. },
  31133. "createtime": {
  31134. "description": "创建时间",
  31135. "type": "string"
  31136. },
  31137. "creatorid": {
  31138. "description": "创建人",
  31139. "type": "integer"
  31140. },
  31141. "customername": {
  31142. "description": "客户名称(企业名称)",
  31143. "type": "string"
  31144. },
  31145. "districtid": {
  31146. "description": "地区",
  31147. "type": "integer"
  31148. },
  31149. "email": {
  31150. "description": "邮件(加密存储)",
  31151. "type": "string"
  31152. },
  31153. "fax": {
  31154. "description": "传真(加密存储)",
  31155. "type": "string"
  31156. },
  31157. "halfbodyphotourl": {
  31158. "description": "半身照地址",
  31159. "type": "string"
  31160. },
  31161. "hasencrypt": {
  31162. "description": "数据是否已加密 - 0:未加密 1:已加密",
  31163. "type": "integer"
  31164. },
  31165. "headurl": {
  31166. "description": "头像地址",
  31167. "type": "string"
  31168. },
  31169. "legalcardbackphotourl": {
  31170. "description": "法人身份证背面照地址",
  31171. "type": "string"
  31172. },
  31173. "legalcardfrontphotourl": {
  31174. "description": "法人身份证正面照地址",
  31175. "type": "string"
  31176. },
  31177. "legalpersonname": {
  31178. "description": "法人姓名(企业)",
  31179. "type": "string"
  31180. },
  31181. "mobile": {
  31182. "description": "手机号码(加密存储)",
  31183. "type": "string"
  31184. },
  31185. "mobile2": {
  31186. "description": "手机号码[明文-尚志]",
  31187. "type": "string"
  31188. },
  31189. "modifierid": {
  31190. "description": "修改人",
  31191. "type": "integer"
  31192. },
  31193. "modifiertime": {
  31194. "description": "修改时间",
  31195. "type": "string"
  31196. },
  31197. "needinvoice": {
  31198. "description": "是否需要发票 - 0:不需要 1:需要",
  31199. "type": "integer"
  31200. },
  31201. "nickname": {
  31202. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  31203. "type": "string"
  31204. },
  31205. "openmode": {
  31206. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  31207. "type": "integer"
  31208. },
  31209. "otherurl": {
  31210. "description": "其它图片地址[使用分号分隔]",
  31211. "type": "string"
  31212. },
  31213. "postalcode": {
  31214. "description": "邮政编码",
  31215. "type": "string"
  31216. },
  31217. "provinceid": {
  31218. "description": "省",
  31219. "type": "integer"
  31220. },
  31221. "qq": {
  31222. "description": "QQ(加密存储",
  31223. "type": "string"
  31224. },
  31225. "remark": {
  31226. "description": "备注",
  31227. "type": "string"
  31228. },
  31229. "sex": {
  31230. "description": "用户性别 0: 女 1: 男",
  31231. "type": "integer"
  31232. },
  31233. "signpdfurl": {
  31234. "description": "签约pdf文件",
  31235. "type": "string"
  31236. },
  31237. "telphone": {
  31238. "description": "联系电话(加密存储)",
  31239. "type": "string"
  31240. },
  31241. "userid": {
  31242. "description": "用户ID",
  31243. "type": "integer"
  31244. },
  31245. "userinfotype": {
  31246. "description": "用户信息类型 - 1:个人 2:企业",
  31247. "type": "integer"
  31248. },
  31249. "userstatus": {
  31250. "description": "用户状态 - 1:正常 2:注销",
  31251. "type": "integer"
  31252. },
  31253. "usertype": {
  31254. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  31255. "type": "integer"
  31256. },
  31257. "wechat": {
  31258. "description": "微信(加密存储)",
  31259. "type": "string"
  31260. },
  31261. "wskhinfo": {
  31262. "description": "开户申请信息(JSON)",
  31263. "type": "string"
  31264. }
  31265. }
  31266. },
  31267. "models.WRSConverTDetail": {
  31268. "type": "object",
  31269. "properties": {
  31270. "convertratio": {
  31271. "description": "套保系数",
  31272. "type": "number"
  31273. },
  31274. "deliverygoodscode": {
  31275. "description": "现货商品代码",
  31276. "type": "string"
  31277. },
  31278. "deliverygoodsid": {
  31279. "description": "现货品种ID",
  31280. "type": "integer"
  31281. },
  31282. "deliverygoodsname": {
  31283. "description": "现货商品名称",
  31284. "type": "string"
  31285. },
  31286. "enumdicname": {
  31287. "description": "单位名称",
  31288. "type": "string"
  31289. },
  31290. "goodsunitid": {
  31291. "description": "套保品种单位id",
  31292. "type": "integer"
  31293. },
  31294. "middlegoodscode": {
  31295. "description": "套保品种代码",
  31296. "type": "string"
  31297. },
  31298. "middlegoodsid": {
  31299. "description": "套保品种ID",
  31300. "type": "integer"
  31301. },
  31302. "middlegoodsname": {
  31303. "description": "套保品种名称",
  31304. "type": "string"
  31305. },
  31306. "modifytime": {
  31307. "description": "修改时间",
  31308. "type": "string"
  31309. },
  31310. "wrstandardid": {
  31311. "description": "品类ID",
  31312. "type": "integer"
  31313. }
  31314. }
  31315. },
  31316. "models.WRStandardInfo": {
  31317. "type": "object",
  31318. "required": [
  31319. "wrstandardid"
  31320. ],
  31321. "properties": {
  31322. "areauserid": {
  31323. "description": "所属机构",
  31324. "type": "integer"
  31325. },
  31326. "convertfactor": {
  31327. "description": "标仓系数",
  31328. "type": "number"
  31329. },
  31330. "createtime": {
  31331. "description": "创建时间",
  31332. "type": "string"
  31333. },
  31334. "creatorid": {
  31335. "description": "创建人",
  31336. "type": "integer"
  31337. },
  31338. "deliverygoodsid": {
  31339. "description": "品种ID",
  31340. "type": "integer"
  31341. },
  31342. "deliverygoodsname": {
  31343. "description": "交割商品名称",
  31344. "type": "string"
  31345. },
  31346. "factoryitemjson": {
  31347. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  31348. "type": "string"
  31349. },
  31350. "isvalid": {
  31351. "description": "是否有效 - 0:无效 1:有效",
  31352. "type": "integer"
  31353. },
  31354. "minivalue": {
  31355. "description": "最小变动值",
  31356. "type": "integer"
  31357. },
  31358. "minivaluedp": {
  31359. "description": "最小变动值小数位",
  31360. "type": "integer"
  31361. },
  31362. "realminivalue": {
  31363. "description": "实际最小变动值",
  31364. "type": "integer"
  31365. },
  31366. "realminivaluedp": {
  31367. "description": "实际最小变动值小数位",
  31368. "type": "integer"
  31369. },
  31370. "remark": {
  31371. "description": "备注",
  31372. "type": "string"
  31373. },
  31374. "unitid": {
  31375. "description": "单位ID",
  31376. "type": "integer"
  31377. },
  31378. "unitname": {
  31379. "description": "单位",
  31380. "type": "string"
  31381. },
  31382. "updatetime": {
  31383. "description": "更新时间",
  31384. "type": "string"
  31385. },
  31386. "updatorid": {
  31387. "description": "更新人",
  31388. "type": "integer"
  31389. },
  31390. "wrsstatus": {
  31391. "description": "状态 - 作废 - 0:未激活 1:正常",
  31392. "type": "integer"
  31393. },
  31394. "wrstandardcode": {
  31395. "description": "现货品类代码",
  31396. "type": "string"
  31397. },
  31398. "wrstandardid": {
  31399. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31400. "type": "integer"
  31401. },
  31402. "wrstandardname": {
  31403. "description": "现货品类名称",
  31404. "type": "string"
  31405. }
  31406. }
  31407. },
  31408. "models.WRTradeBargainApply": {
  31409. "type": "object",
  31410. "properties": {
  31411. "accountid": {
  31412. "description": "摘牌资金账号",
  31413. "type": "integer"
  31414. },
  31415. "applyprice": {
  31416. "description": "申请价格(议价价格)",
  31417. "type": "string"
  31418. },
  31419. "applyqty": {
  31420. "description": "摘牌数量(议价数量)",
  31421. "type": "number"
  31422. },
  31423. "applyremark": {
  31424. "description": "申请备注",
  31425. "type": "string"
  31426. },
  31427. "applystatus": {
  31428. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  31429. "type": "integer"
  31430. },
  31431. "applytime": {
  31432. "description": "申请时间(议价时间)",
  31433. "type": "string"
  31434. },
  31435. "buyorsell": {
  31436. "description": "买卖(挂牌类型) - 0:买 1:卖",
  31437. "type": "integer"
  31438. },
  31439. "confirmremark": {
  31440. "description": "确认备注",
  31441. "type": "string"
  31442. },
  31443. "confirmtime": {
  31444. "description": "确认时间",
  31445. "type": "string"
  31446. },
  31447. "confirmuserid": {
  31448. "description": "确认人",
  31449. "type": "integer"
  31450. },
  31451. "deliverygoodscode": {
  31452. "description": "品种代码",
  31453. "type": "string"
  31454. },
  31455. "deliverygoodsid": {
  31456. "description": "品种ID",
  31457. "type": "integer"
  31458. },
  31459. "deliverygoodsname": {
  31460. "description": "品种名称",
  31461. "type": "string"
  31462. },
  31463. "deliverymonth": {
  31464. "description": "交收月",
  31465. "type": "string"
  31466. },
  31467. "enumdicname": {
  31468. "description": "单位名称",
  31469. "type": "string"
  31470. },
  31471. "fixedprice": {
  31472. "description": "挂牌价格",
  31473. "type": "number"
  31474. },
  31475. "handlestatus": {
  31476. "description": "处理状态",
  31477. "type": "integer"
  31478. },
  31479. "marginvalue": {
  31480. "description": "履约保证金比例",
  31481. "type": "number"
  31482. },
  31483. "marketid": {
  31484. "description": "市场ID",
  31485. "type": "integer"
  31486. },
  31487. "matchaccountid": {
  31488. "description": "挂牌方资金账号",
  31489. "type": "integer"
  31490. },
  31491. "matchuserid": {
  31492. "description": "挂牌方用户id",
  31493. "type": "integer"
  31494. },
  31495. "matchusername": {
  31496. "description": "挂牌方用户名称(已脱敏)",
  31497. "type": "string"
  31498. },
  31499. "minivalue": {
  31500. "description": "现货商品最小变动值",
  31501. "type": "integer"
  31502. },
  31503. "optioncompare": {
  31504. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31505. "type": "string"
  31506. },
  31507. "orderqty": {
  31508. "description": "挂牌数量",
  31509. "type": "integer"
  31510. },
  31511. "refprice": {
  31512. "description": "参考价格",
  31513. "type": "string"
  31514. },
  31515. "retcode": {
  31516. "description": "委托返回代码",
  31517. "type": "integer"
  31518. },
  31519. "templatename": {
  31520. "description": "履约方式(履约模板名称)",
  31521. "type": "string"
  31522. },
  31523. "tradedate": {
  31524. "description": "交易日(yyyyMMdd)",
  31525. "type": "string"
  31526. },
  31527. "userid": {
  31528. "description": "摘牌人用户ID(议价人ID)",
  31529. "type": "integer"
  31530. },
  31531. "username": {
  31532. "description": "议价人名字(已脱敏)",
  31533. "type": "string"
  31534. },
  31535. "validtime": {
  31536. "description": "有效期限",
  31537. "type": "string"
  31538. },
  31539. "warehouseid": {
  31540. "description": "仓库ID",
  31541. "type": "integer"
  31542. },
  31543. "warehousename": {
  31544. "description": "仓库名称",
  31545. "type": "string"
  31546. },
  31547. "wrbargainid": {
  31548. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  31549. "type": "string"
  31550. },
  31551. "wrfactortypeid": {
  31552. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31553. "type": "string"
  31554. },
  31555. "wrfactortypename": {
  31556. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31557. "type": "string"
  31558. },
  31559. "wrstandardcode": {
  31560. "description": "现货商品代码",
  31561. "type": "string"
  31562. },
  31563. "wrstandardid": {
  31564. "description": "现货商品ID",
  31565. "type": "integer"
  31566. },
  31567. "wrstandardname": {
  31568. "description": "商品名称",
  31569. "type": "string"
  31570. },
  31571. "wrtradeorderid": {
  31572. "description": "关联委托单ID",
  31573. "type": "string"
  31574. },
  31575. "wrtypename": {
  31576. "description": "商品",
  31577. "type": "string"
  31578. }
  31579. }
  31580. },
  31581. "models.Warehouseinfo": {
  31582. "type": "object",
  31583. "required": [
  31584. "autoid",
  31585. "warehousecode"
  31586. ],
  31587. "properties": {
  31588. "address": {
  31589. "description": "详细地址",
  31590. "type": "string"
  31591. },
  31592. "areauserid": {
  31593. "description": "所属机构",
  31594. "type": "integer"
  31595. },
  31596. "autoid": {
  31597. "description": "自增ID",
  31598. "type": "integer"
  31599. },
  31600. "cityid": {
  31601. "description": "市",
  31602. "type": "integer"
  31603. },
  31604. "contactname": {
  31605. "description": "联系人",
  31606. "type": "string"
  31607. },
  31608. "contactnum": {
  31609. "description": "联系电话",
  31610. "type": "string"
  31611. },
  31612. "countryid": {
  31613. "description": "国家",
  31614. "type": "integer"
  31615. },
  31616. "createtime": {
  31617. "description": "创建时间",
  31618. "type": "string"
  31619. },
  31620. "districtid": {
  31621. "description": "区",
  31622. "type": "integer"
  31623. },
  31624. "hasvideo": {
  31625. "description": "是否有视频 - 0:无 1:有",
  31626. "type": "integer"
  31627. },
  31628. "provinceid": {
  31629. "description": "省",
  31630. "type": "integer"
  31631. },
  31632. "remark": {
  31633. "description": "审核备注",
  31634. "type": "string"
  31635. },
  31636. "videourl": {
  31637. "description": "视频地址",
  31638. "type": "string"
  31639. },
  31640. "warehousecode": {
  31641. "description": "仓库代码",
  31642. "type": "string"
  31643. },
  31644. "warehousename": {
  31645. "description": "仓库名称",
  31646. "type": "string"
  31647. },
  31648. "warehousestatus": {
  31649. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  31650. "type": "integer"
  31651. },
  31652. "warehousetype": {
  31653. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  31654. "type": "integer"
  31655. }
  31656. }
  31657. },
  31658. "models.WrAverageTradePrice": {
  31659. "type": "object",
  31660. "properties": {
  31661. "averageprice": {
  31662. "description": "成交均价",
  31663. "type": "number"
  31664. },
  31665. "tradedate": {
  31666. "description": "交易日yyyymm",
  31667. "type": "string"
  31668. }
  31669. }
  31670. },
  31671. "models.WrBsGoodsInfo": {
  31672. "type": "object",
  31673. "properties": {
  31674. "buyorsell": {
  31675. "description": "买卖方向 0-买 1-卖",
  31676. "type": "integer"
  31677. },
  31678. "goodsid": {
  31679. "description": "交易合约ID",
  31680. "type": "integer"
  31681. },
  31682. "lstitem": {
  31683. "description": "商品信息项",
  31684. "type": "array",
  31685. "items": {
  31686. "$ref": "#/definitions/models.WrTypeItem"
  31687. }
  31688. },
  31689. "lststep": {
  31690. "description": "履约规则",
  31691. "type": "array",
  31692. "items": {
  31693. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  31694. }
  31695. }
  31696. }
  31697. },
  31698. "models.WrBuybackDetail": {
  31699. "type": "object",
  31700. "properties": {
  31701. "buybackamount": {
  31702. "description": "回购金额",
  31703. "type": "number"
  31704. },
  31705. "buybackqty": {
  31706. "description": "回购数量",
  31707. "type": "number"
  31708. },
  31709. "buybackreleasemargin": {
  31710. "description": "回购释放保证金",
  31711. "type": "number"
  31712. },
  31713. "buybacktime": {
  31714. "description": "回购时间",
  31715. "type": "string"
  31716. },
  31717. "errordesc": {
  31718. "description": "错误描述",
  31719. "type": "string"
  31720. },
  31721. "handlestatus": {
  31722. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  31723. "type": "integer"
  31724. },
  31725. "relatedwrid": {
  31726. "description": "关联仓单ID",
  31727. "type": "integer"
  31728. },
  31729. "scfcontractid": {
  31730. "description": "SCF合同ID",
  31731. "type": "string"
  31732. },
  31733. "scfwrbuybackid": {
  31734. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  31735. "type": "integer"
  31736. },
  31737. "tradedate": {
  31738. "description": "交易日(yyyyMMdd)",
  31739. "type": "string"
  31740. }
  31741. }
  31742. },
  31743. "models.WrDeliveryAvalidHoldLB": {
  31744. "type": "object",
  31745. "properties": {
  31746. "accountid": {
  31747. "description": "资金账号",
  31748. "type": "integer"
  31749. },
  31750. "avalidqty": {
  31751. "description": "数量(可点选数量)",
  31752. "type": "number"
  31753. },
  31754. "deliverygoodsid": {
  31755. "description": "品种id",
  31756. "type": "integer"
  31757. },
  31758. "enumdicname": {
  31759. "description": "单位名称",
  31760. "type": "string"
  31761. },
  31762. "goodsid": {
  31763. "description": "x合约商品id",
  31764. "type": "integer"
  31765. },
  31766. "ladingbillid": {
  31767. "description": "提单id",
  31768. "type": "string"
  31769. },
  31770. "pgoodscode": {
  31771. "description": "p商品代码(点价合约)",
  31772. "type": "string"
  31773. },
  31774. "pgoodsid": {
  31775. "description": "p商品id(点价合约)",
  31776. "type": "integer"
  31777. },
  31778. "pgoodsname": {
  31779. "description": "p商品名称(点价合约)",
  31780. "type": "string"
  31781. },
  31782. "pricemove": {
  31783. "description": "升贴水",
  31784. "type": "number"
  31785. },
  31786. "subnum": {
  31787. "description": "提单子id",
  31788. "type": "integer"
  31789. },
  31790. "userid": {
  31791. "description": "用户id",
  31792. "type": "integer"
  31793. },
  31794. "username": {
  31795. "description": "仓单持有人",
  31796. "type": "string"
  31797. },
  31798. "warehousecode": {
  31799. "description": "仓库代码",
  31800. "type": "string"
  31801. },
  31802. "warehouseid": {
  31803. "description": "仓库id",
  31804. "type": "integer"
  31805. },
  31806. "warehousename": {
  31807. "description": "仓库名称",
  31808. "type": "string"
  31809. },
  31810. "wrfactortypeid": {
  31811. "description": "仓单要素id",
  31812. "type": "string"
  31813. },
  31814. "wrstandardcode": {
  31815. "description": "品代码",
  31816. "type": "string"
  31817. },
  31818. "wrstandardid": {
  31819. "description": "品类d",
  31820. "type": "integer"
  31821. },
  31822. "wrstandardname": {
  31823. "description": "品类名称",
  31824. "type": "string"
  31825. },
  31826. "wrtypename": {
  31827. "description": "商品",
  31828. "type": "string"
  31829. },
  31830. "xgoodscode": {
  31831. "description": "x合约代码",
  31832. "type": "string"
  31833. },
  31834. "xgoodsname": {
  31835. "description": "x合约名称",
  31836. "type": "string"
  31837. }
  31838. }
  31839. },
  31840. "models.WrDeliveryDetail": {
  31841. "type": "object",
  31842. "properties": {
  31843. "accountid": {
  31844. "description": "账号ID",
  31845. "type": "integer"
  31846. },
  31847. "averageprice": {
  31848. "description": "交割均价 = 交割金额 / 交割数量",
  31849. "type": "number"
  31850. },
  31851. "buyorsell": {
  31852. "description": "方向 - 0:买 1:卖",
  31853. "type": "integer"
  31854. },
  31855. "deliveryamount": {
  31856. "description": "货款金额(X总货款+P总货款)",
  31857. "type": "number"
  31858. },
  31859. "deliveryid": {
  31860. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  31861. "type": "string"
  31862. },
  31863. "deliveryorderid": {
  31864. "description": "申报单号",
  31865. "type": "string"
  31866. },
  31867. "deliverypricemove": {
  31868. "description": "升贴水(升贴水总额)",
  31869. "type": "number"
  31870. },
  31871. "deliveryqty": {
  31872. "description": "交收数量(点选数量)",
  31873. "type": "number"
  31874. },
  31875. "deliverystatus": {
  31876. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  31877. "type": "integer"
  31878. },
  31879. "deliverytime": {
  31880. "description": "交割时间",
  31881. "type": "string"
  31882. },
  31883. "deliverytotalamount": {
  31884. "description": "交收金额",
  31885. "type": "number"
  31886. },
  31887. "enumdicname": {
  31888. "description": "单位名称",
  31889. "type": "string"
  31890. },
  31891. "matchaccountid": {
  31892. "description": "对手账号ID",
  31893. "type": "integer"
  31894. },
  31895. "matchusername": {
  31896. "description": "对手方名称(仓单持有人)",
  31897. "type": "string"
  31898. },
  31899. "p1goodsremainamount": {
  31900. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31901. "type": "number"
  31902. },
  31903. "pdeliverycloseqty": {
  31904. "description": "p合约平仓数量",
  31905. "type": "number"
  31906. },
  31907. "pdeliveryprice": {
  31908. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31909. "type": "number"
  31910. },
  31911. "pgoodscode": {
  31912. "description": "商品代码",
  31913. "type": "string"
  31914. },
  31915. "pgoodsid": {
  31916. "description": "p点选合约id",
  31917. "type": "integer"
  31918. },
  31919. "pgoodsname": {
  31920. "description": "商品名称",
  31921. "type": "string"
  31922. },
  31923. "ppricemode": {
  31924. "description": "点价价格方式 - 1:商品价 2:固定值",
  31925. "type": "integer"
  31926. },
  31927. "tradedate": {
  31928. "description": "交易日(yyyymmdd)",
  31929. "type": "string"
  31930. },
  31931. "userid": {
  31932. "description": "用户id",
  31933. "type": "integer"
  31934. },
  31935. "username": {
  31936. "description": "用户名称",
  31937. "type": "string"
  31938. },
  31939. "warehousename": {
  31940. "description": "仓库名称",
  31941. "type": "string"
  31942. },
  31943. "wrfactortypeid": {
  31944. "description": "仓单要素类型ID",
  31945. "type": "string"
  31946. },
  31947. "wrtypename": {
  31948. "description": "商品",
  31949. "type": "string"
  31950. },
  31951. "xdeliverycloseqty": {
  31952. "description": "合约数量",
  31953. "type": "number"
  31954. },
  31955. "xgoodsamount": {
  31956. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  31957. "type": "number"
  31958. },
  31959. "xgoodscode": {
  31960. "description": "商品代码",
  31961. "type": "string"
  31962. },
  31963. "xgoodsid": {
  31964. "description": "x交易合约ID",
  31965. "type": "integer"
  31966. },
  31967. "xgoodsname": {
  31968. "description": "商品名称",
  31969. "type": "string"
  31970. }
  31971. }
  31972. },
  31973. "models.WrFAProductDetail": {
  31974. "type": "object",
  31975. "properties": {
  31976. "accountid": {
  31977. "description": "资金账号",
  31978. "type": "integer"
  31979. },
  31980. "areauserid": {
  31981. "description": "金融机构ID",
  31982. "type": "integer"
  31983. },
  31984. "financingdays": {
  31985. "description": "天数(天)",
  31986. "type": "integer"
  31987. },
  31988. "interestminlen": {
  31989. "description": "最小起息天数",
  31990. "type": "integer"
  31991. },
  31992. "interestrate": {
  31993. "description": "利率",
  31994. "type": "number"
  31995. },
  31996. "interestratemode": {
  31997. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  31998. "type": "integer"
  31999. },
  32000. "interestsettlemode": {
  32001. "description": "结息方式 - 1:按日结息 3:按月结息",
  32002. "type": "integer"
  32003. },
  32004. "interestsettlevalue": {
  32005. "description": "结息方式值",
  32006. "type": "integer"
  32007. },
  32008. "isautoloan": {
  32009. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  32010. "type": "integer"
  32011. },
  32012. "loantag": {
  32013. "description": "放款标识: \"放款快\" 或者为空",
  32014. "type": "string"
  32015. },
  32016. "marginratio": {
  32017. "description": "保证金比率质押率 - [仓单质押]",
  32018. "type": "number"
  32019. },
  32020. "productdetailid": {
  32021. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  32022. "type": "integer"
  32023. },
  32024. "productid": {
  32025. "description": "金融产品ID",
  32026. "type": "integer"
  32027. },
  32028. "productname": {
  32029. "description": "产品名称",
  32030. "type": "string"
  32031. },
  32032. "updatetime": {
  32033. "description": "更新时间",
  32034. "type": "string"
  32035. },
  32036. "username": {
  32037. "description": "融出方",
  32038. "type": "string"
  32039. }
  32040. }
  32041. },
  32042. "models.WrFactorTypeInfo": {
  32043. "type": "object",
  32044. "properties": {
  32045. "deliverygoodscode": {
  32046. "description": "品种代码",
  32047. "type": "string"
  32048. },
  32049. "deliverygoodsname": {
  32050. "description": "品种名称",
  32051. "type": "string"
  32052. },
  32053. "dgfactoryitemid": {
  32054. "description": "选择项id",
  32055. "type": "integer"
  32056. },
  32057. "dgfactoryitemtypeid": {
  32058. "description": "要素选择项ID (1-仓库 2-品牌)",
  32059. "type": "integer"
  32060. },
  32061. "dgfactoryitemvalue": {
  32062. "description": "要素项值",
  32063. "type": "string"
  32064. },
  32065. "itemtypename": {
  32066. "description": "要素项名称",
  32067. "type": "string"
  32068. },
  32069. "optioncompare": {
  32070. "description": "选择比较串",
  32071. "type": "string"
  32072. },
  32073. "warehouseid": {
  32074. "description": "仓库id",
  32075. "type": "integer"
  32076. },
  32077. "wrfactortypeid": {
  32078. "description": "仓单要素ID",
  32079. "type": "string"
  32080. },
  32081. "wrfactortypename": {
  32082. "description": "要素名称",
  32083. "type": "string"
  32084. },
  32085. "wrfactortypename2": {
  32086. "description": "要素名称(不含仓库)",
  32087. "type": "string"
  32088. },
  32089. "wrstandardcode": {
  32090. "description": "品类代码",
  32091. "type": "string"
  32092. },
  32093. "wrstandardid": {
  32094. "description": "品类id",
  32095. "type": "integer"
  32096. },
  32097. "wrstandardname": {
  32098. "description": "品类名称",
  32099. "type": "string"
  32100. }
  32101. }
  32102. },
  32103. "models.WrFilterItem": {
  32104. "type": "object",
  32105. "properties": {
  32106. "itemcode": {
  32107. "description": "代码",
  32108. "type": "string"
  32109. },
  32110. "itemid": {
  32111. "description": "项id",
  32112. "type": "integer"
  32113. },
  32114. "itemname": {
  32115. "description": "名称",
  32116. "type": "string"
  32117. },
  32118. "itemtype": {
  32119. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  32120. "type": "integer"
  32121. }
  32122. }
  32123. },
  32124. "models.WrFinanceBuyApply": {
  32125. "type": "object",
  32126. "properties": {
  32127. "applydate": {
  32128. "description": "申请时间",
  32129. "type": "string"
  32130. },
  32131. "applystatus": {
  32132. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  32133. "type": "integer"
  32134. },
  32135. "applyuserid": {
  32136. "description": "申请人",
  32137. "type": "integer"
  32138. },
  32139. "auditdate": {
  32140. "description": "审核时间",
  32141. "type": "string"
  32142. },
  32143. "auditremark": {
  32144. "description": "审核备注",
  32145. "type": "string"
  32146. },
  32147. "audituserid": {
  32148. "description": "审核人",
  32149. "type": "integer"
  32150. },
  32151. "buyaccountid": {
  32152. "description": "买方资金账号",
  32153. "type": "integer"
  32154. },
  32155. "buyorsell": {
  32156. "description": "买卖 - 0:买 1:卖",
  32157. "type": "integer"
  32158. },
  32159. "buyuserid": {
  32160. "description": "买方用户ID",
  32161. "type": "integer"
  32162. },
  32163. "buyusername": {
  32164. "description": "买方名称",
  32165. "type": "string"
  32166. },
  32167. "buywrtradeorderid": {
  32168. "description": "融资方买委托单ID",
  32169. "type": "string"
  32170. },
  32171. "deliverygoodscode": {
  32172. "description": "品种代码",
  32173. "type": "string"
  32174. },
  32175. "deliverygoodsid": {
  32176. "description": "品种ID",
  32177. "type": "integer"
  32178. },
  32179. "deliverygoodsname": {
  32180. "description": "品种名称",
  32181. "type": "string"
  32182. },
  32183. "deliverymonth": {
  32184. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  32185. "type": "string"
  32186. },
  32187. "enumdicname": {
  32188. "description": "单位名称",
  32189. "type": "string"
  32190. },
  32191. "financeaccountid": {
  32192. "description": "融资方资金帐户ID",
  32193. "type": "integer"
  32194. },
  32195. "financeapplyid": {
  32196. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32197. "type": "string"
  32198. },
  32199. "financeareauserid": {
  32200. "description": "融资方用户ID",
  32201. "type": "string"
  32202. },
  32203. "financename": {
  32204. "description": "融出方名称",
  32205. "type": "string"
  32206. },
  32207. "financetype": {
  32208. "description": "融资类型 1-融资回购",
  32209. "type": "integer"
  32210. },
  32211. "financingdays": {
  32212. "description": "天数(天)",
  32213. "type": "integer"
  32214. },
  32215. "freezebuymargin": {
  32216. "description": "冻结融资保证金(买方)",
  32217. "type": "number"
  32218. },
  32219. "handleremark": {
  32220. "description": "处理备注",
  32221. "type": "string"
  32222. },
  32223. "handlestatus": {
  32224. "description": "处理状态",
  32225. "type": "integer"
  32226. },
  32227. "interestminlen": {
  32228. "description": "最小起息天数",
  32229. "type": "integer"
  32230. },
  32231. "interestrate": {
  32232. "description": "利率",
  32233. "type": "number"
  32234. },
  32235. "interestratemode": {
  32236. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32237. "type": "integer"
  32238. },
  32239. "interestsettlemode": {
  32240. "description": "结息方式 - 1:按日结息 3:按月结息",
  32241. "type": "integer"
  32242. },
  32243. "interestsettlevalue": {
  32244. "description": "结息方式值",
  32245. "type": "integer"
  32246. },
  32247. "isautoloan": {
  32248. "description": "是否自动放款 - 0:手动 1:自动",
  32249. "type": "integer"
  32250. },
  32251. "marginratio": {
  32252. "description": "保证金比率质押率 - [仓单质押]",
  32253. "type": "number"
  32254. },
  32255. "marketid": {
  32256. "description": "市场ID",
  32257. "type": "integer"
  32258. },
  32259. "minivalue": {
  32260. "description": "现货商品最小变动值",
  32261. "type": "integer"
  32262. },
  32263. "optioncompare": {
  32264. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32265. "type": "string"
  32266. },
  32267. "orderqty": {
  32268. "description": "委托数量(商品数量)",
  32269. "type": "number"
  32270. },
  32271. "productdetailid": {
  32272. "description": "产品组合ID",
  32273. "type": "integer"
  32274. },
  32275. "productid": {
  32276. "description": "金融产品ID",
  32277. "type": "integer"
  32278. },
  32279. "productname": {
  32280. "description": "产品名称",
  32281. "type": "string"
  32282. },
  32283. "remark": {
  32284. "description": "备注",
  32285. "type": "string"
  32286. },
  32287. "scfcontractid": {
  32288. "description": "仓单回购合同ID",
  32289. "type": "string"
  32290. },
  32291. "sellaccountid": {
  32292. "description": "卖方资金账号",
  32293. "type": "integer"
  32294. },
  32295. "selluserid": {
  32296. "description": "卖方用户ID",
  32297. "type": "integer"
  32298. },
  32299. "sellwrtradeorderid": {
  32300. "description": "卖方委托单ID",
  32301. "type": "string"
  32302. },
  32303. "tradeamount": {
  32304. "description": "成交金额(借款金额)",
  32305. "type": "number"
  32306. },
  32307. "tradedate": {
  32308. "description": "交易日(yyyyMMdd)",
  32309. "type": "string"
  32310. },
  32311. "tradeprice": {
  32312. "description": "成交价格",
  32313. "type": "number"
  32314. },
  32315. "warehouseid": {
  32316. "description": "仓库ID",
  32317. "type": "integer"
  32318. },
  32319. "warehousename": {
  32320. "description": "仓库名称",
  32321. "type": "string"
  32322. },
  32323. "wrfactortypeid": {
  32324. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32325. "type": "string"
  32326. },
  32327. "wrfactortypename": {
  32328. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32329. "type": "string"
  32330. },
  32331. "wrpricetype": {
  32332. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  32333. "type": "integer"
  32334. },
  32335. "wrstandardcode": {
  32336. "description": "现货商品代码",
  32337. "type": "string"
  32338. },
  32339. "wrstandardid": {
  32340. "description": "现货商品ID",
  32341. "type": "integer"
  32342. },
  32343. "wrstandardname": {
  32344. "description": "商品名称",
  32345. "type": "string"
  32346. },
  32347. "wrtypename": {
  32348. "description": "商品",
  32349. "type": "string"
  32350. }
  32351. }
  32352. },
  32353. "models.WrFriendApply": {
  32354. "type": "object",
  32355. "properties": {
  32356. "applicantid": {
  32357. "description": "申请人",
  32358. "type": "integer"
  32359. },
  32360. "applyname": {
  32361. "description": "申请人名称",
  32362. "type": "string"
  32363. },
  32364. "applysrc": {
  32365. "description": "申请来源 - 1:管理端 2:终端",
  32366. "type": "integer"
  32367. },
  32368. "applystatus": {
  32369. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32370. "type": "integer"
  32371. },
  32372. "applytime": {
  32373. "description": "申请时间",
  32374. "type": "string"
  32375. },
  32376. "auditname": {
  32377. "description": "审核人名称",
  32378. "type": "string"
  32379. },
  32380. "auditorid": {
  32381. "description": "审核人",
  32382. "type": "integer"
  32383. },
  32384. "auditremark": {
  32385. "description": "审核备注",
  32386. "type": "string"
  32387. },
  32388. "auditsrc": {
  32389. "description": "审核来源 - 1:管理端 2:终端",
  32390. "type": "integer"
  32391. },
  32392. "audittime": {
  32393. "description": "审核时间",
  32394. "type": "string"
  32395. },
  32396. "friendapplyid": {
  32397. "description": "申请ID(SEQ_FRIENDAPPLY)",
  32398. "type": "string"
  32399. },
  32400. "friendname": {
  32401. "description": "好友名字(已脱敏)",
  32402. "type": "string"
  32403. },
  32404. "frienduserid": {
  32405. "description": "好友用户ID",
  32406. "type": "string"
  32407. },
  32408. "remark": {
  32409. "description": "备注",
  32410. "type": "string"
  32411. },
  32412. "userid": {
  32413. "description": "申请人用户ID",
  32414. "type": "integer"
  32415. }
  32416. }
  32417. },
  32418. "models.WrFtDeliveryGoods": {
  32419. "type": "object",
  32420. "properties": {
  32421. "deliverygoodscode": {
  32422. "description": "品种代码",
  32423. "type": "string"
  32424. },
  32425. "deliverygoodsid": {
  32426. "description": "品种ID",
  32427. "type": "integer"
  32428. },
  32429. "deliverygoodsname": {
  32430. "description": "品种名称",
  32431. "type": "string"
  32432. },
  32433. "wdlst": {
  32434. "description": "商品列表",
  32435. "type": "array",
  32436. "items": {
  32437. "$ref": "#/definitions/models.WrFtWrstandard"
  32438. }
  32439. }
  32440. }
  32441. },
  32442. "models.WrFtWrstandard": {
  32443. "type": "object",
  32444. "properties": {
  32445. "enumdicname": {
  32446. "description": "单位名称",
  32447. "type": "string"
  32448. },
  32449. "minivalue": {
  32450. "description": "最小变动值",
  32451. "type": "integer"
  32452. },
  32453. "wrstandardcode": {
  32454. "description": "现货商品代码",
  32455. "type": "string"
  32456. },
  32457. "wrstandardid": {
  32458. "description": "现货商品ID",
  32459. "type": "integer"
  32460. },
  32461. "wrstandardname": {
  32462. "description": "商品名称",
  32463. "type": "string"
  32464. }
  32465. }
  32466. },
  32467. "models.WrGoodsInfo": {
  32468. "type": "object",
  32469. "properties": {
  32470. "haswr": {
  32471. "description": "0:仓单预售 1:仓单贸易",
  32472. "type": "integer"
  32473. },
  32474. "lstitem": {
  32475. "description": "商品信息项",
  32476. "type": "array",
  32477. "items": {
  32478. "$ref": "#/definitions/models.WrTypeItem"
  32479. }
  32480. },
  32481. "lststep": {
  32482. "description": "履约规则",
  32483. "type": "array",
  32484. "items": {
  32485. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32486. }
  32487. },
  32488. "marketid": {
  32489. "description": "市场id",
  32490. "type": "integer"
  32491. }
  32492. }
  32493. },
  32494. "models.WrGoodsPerformanceStep": {
  32495. "type": "object",
  32496. "properties": {
  32497. "autoid": {
  32498. "description": "AutoID",
  32499. "type": "integer"
  32500. },
  32501. "isauto": {
  32502. "description": "是否自动 - 0:不自动 1:自动",
  32503. "type": "integer"
  32504. },
  32505. "remark": {
  32506. "description": "备注",
  32507. "type": "string"
  32508. },
  32509. "stepdate": {
  32510. "description": "天数信息(T+N)",
  32511. "type": "string"
  32512. },
  32513. "stepdays": {
  32514. "description": "距离上一步天数",
  32515. "type": "integer"
  32516. },
  32517. "stepindex": {
  32518. "description": "步骤序号",
  32519. "type": "integer"
  32520. },
  32521. "stepinfo": {
  32522. "description": "步骤信息(步骤名称+步骤值)",
  32523. "type": "string"
  32524. },
  32525. "steptypeid": {
  32526. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32527. "type": "integer"
  32528. },
  32529. "steptypename": {
  32530. "description": "步骤名称",
  32531. "type": "string"
  32532. },
  32533. "stepvalue": {
  32534. "description": "步骤值",
  32535. "type": "number"
  32536. },
  32537. "templateid": {
  32538. "description": "履约计划模板ID",
  32539. "type": "integer"
  32540. }
  32541. }
  32542. },
  32543. "models.WrHoldLB": {
  32544. "type": "object",
  32545. "properties": {
  32546. "accountid": {
  32547. "description": "持有人帐户ID",
  32548. "type": "integer"
  32549. },
  32550. "createtime": {
  32551. "description": "创建时间(过户时间)",
  32552. "type": "string"
  32553. },
  32554. "deliverygoodscode": {
  32555. "description": "品种代码",
  32556. "type": "string"
  32557. },
  32558. "deliverygoodsid": {
  32559. "description": "品种ID",
  32560. "type": "integer"
  32561. },
  32562. "deliverygoodsname": {
  32563. "description": "品种名称",
  32564. "type": "string"
  32565. },
  32566. "enableqty": {
  32567. "description": "可用数量",
  32568. "type": "number"
  32569. },
  32570. "enumdicname": {
  32571. "description": "单位名称",
  32572. "type": "string"
  32573. },
  32574. "freezerqty": {
  32575. "description": "冻结数量",
  32576. "type": "number"
  32577. },
  32578. "ladingbillid": {
  32579. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32580. "type": "string"
  32581. },
  32582. "minivalue": {
  32583. "description": "现货商品最小变动值",
  32584. "type": "integer"
  32585. },
  32586. "optioncompare": {
  32587. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32588. "type": "string"
  32589. },
  32590. "parentsubnum": {
  32591. "description": "拆分父子单号",
  32592. "type": "integer"
  32593. },
  32594. "pledgeqty": {
  32595. "description": "质押数量",
  32596. "type": "number"
  32597. },
  32598. "qty": {
  32599. "description": "数量",
  32600. "type": "number"
  32601. },
  32602. "subnum": {
  32603. "description": "提单子单号",
  32604. "type": "integer"
  32605. },
  32606. "tradedate": {
  32607. "description": "交易日(yyyyMMdd)",
  32608. "type": "string"
  32609. },
  32610. "userid": {
  32611. "description": "持有人ID",
  32612. "type": "integer"
  32613. },
  32614. "warehouseid": {
  32615. "description": "仓库ID",
  32616. "type": "integer"
  32617. },
  32618. "warehousename": {
  32619. "description": "仓库名称",
  32620. "type": "string"
  32621. },
  32622. "wrfactortypeid": {
  32623. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32624. "type": "string"
  32625. },
  32626. "wrfactortypename": {
  32627. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32628. "type": "string"
  32629. },
  32630. "wrholdeno": {
  32631. "description": "仓单编号",
  32632. "type": "string"
  32633. },
  32634. "wrid": {
  32635. "description": "仓单变更ID",
  32636. "type": "string"
  32637. },
  32638. "wrstandardcode": {
  32639. "description": "现货商品代码",
  32640. "type": "string"
  32641. },
  32642. "wrstandardid": {
  32643. "description": "现货商品ID",
  32644. "type": "integer"
  32645. },
  32646. "wrstandardname": {
  32647. "description": "商品名称",
  32648. "type": "string"
  32649. },
  32650. "wrtypename": {
  32651. "description": "商品",
  32652. "type": "string"
  32653. }
  32654. }
  32655. },
  32656. "models.WrMarketTradeConfig": {
  32657. "type": "object",
  32658. "properties": {
  32659. "basisdownratio": {
  32660. "description": "浮动价基差下限比例(仓单贸易)",
  32661. "type": "number"
  32662. },
  32663. "basisupratio": {
  32664. "description": "浮动价基差上限比例(仓单贸易)",
  32665. "type": "number"
  32666. },
  32667. "buychargealgorithm": {
  32668. "description": "买方手续费收取方式 1:比率 2:固定",
  32669. "type": "integer"
  32670. },
  32671. "buychargealgorithm2": {
  32672. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32673. "type": "integer"
  32674. },
  32675. "buychargealgorithmvalue": {
  32676. "description": "买方手续费设置值(交易所部分)",
  32677. "type": "number"
  32678. },
  32679. "buychargealgorithmvalue2": {
  32680. "description": "买方手续费设置值(会员部分)",
  32681. "type": "number"
  32682. },
  32683. "buychargealgorithmvalue3": {
  32684. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  32685. "type": "number"
  32686. },
  32687. "buychargealgorithmvalue4": {
  32688. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  32689. "type": "number"
  32690. },
  32691. "buyfirstmarginalgorithm": {
  32692. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  32693. "type": "integer"
  32694. },
  32695. "buyfirstmarginvalue": {
  32696. "description": "买方出价保证金设置值 - [竞拍]",
  32697. "type": "number"
  32698. },
  32699. "buymarginalgorithm": {
  32700. "description": "买方保证金方式 - 1:比率 2:固定",
  32701. "type": "integer"
  32702. },
  32703. "buymarginvalue": {
  32704. "description": "买方保证金设置值",
  32705. "type": "number"
  32706. },
  32707. "buyreleaseratio": {
  32708. "description": "买方释放比率[2:分步履约]",
  32709. "type": "number"
  32710. },
  32711. "executemode": {
  32712. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  32713. "type": "integer"
  32714. },
  32715. "executeside": {
  32716. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  32717. "type": "integer"
  32718. },
  32719. "failedchargealgorithm": {
  32720. "description": "流拍手续费收取方式 1:比率 2:固定",
  32721. "type": "integer"
  32722. },
  32723. "failedchargevalue": {
  32724. "description": "流拍手续费设置值",
  32725. "type": "number"
  32726. },
  32727. "failedchargevalue2": {
  32728. "description": "流拍卖方手续费设置值",
  32729. "type": "number"
  32730. },
  32731. "holddays": {
  32732. "description": "合同期限[2:分步履约]",
  32733. "type": "integer"
  32734. },
  32735. "marketid": {
  32736. "description": "市场ID-仓单贸易、竞拍、预售",
  32737. "type": "integer"
  32738. },
  32739. "minqty": {
  32740. "description": "最小执行量[2:分步履约]",
  32741. "type": "number"
  32742. },
  32743. "modifierid": {
  32744. "description": "修改人",
  32745. "type": "integer"
  32746. },
  32747. "performancetempid": {
  32748. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  32749. "type": "integer"
  32750. },
  32751. "performancetempid2": {
  32752. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  32753. "type": "integer"
  32754. },
  32755. "performanceway": {
  32756. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  32757. "type": "integer"
  32758. },
  32759. "sellchargealgorithm": {
  32760. "description": "卖方手续费收取方式 1:比率 2:固定",
  32761. "type": "integer"
  32762. },
  32763. "sellchargealgorithm2": {
  32764. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32765. "type": "integer"
  32766. },
  32767. "sellchargealgorithmvalue": {
  32768. "description": "卖方手续费设置值(交易所部分)",
  32769. "type": "number"
  32770. },
  32771. "sellchargealgorithmvalue2": {
  32772. "description": "卖方手续费设置值(会员部分)",
  32773. "type": "number"
  32774. },
  32775. "sellchargealgorithmvalue3": {
  32776. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  32777. "type": "number"
  32778. },
  32779. "sellchargealgorithmvalue4": {
  32780. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  32781. "type": "number"
  32782. },
  32783. "sellmarginalgorithm": {
  32784. "description": "卖方保证金方式 - 1:比率 2:固定",
  32785. "type": "integer"
  32786. },
  32787. "sellmarginvalue": {
  32788. "description": "卖方保证金设置值",
  32789. "type": "number"
  32790. },
  32791. "sellmarginvalue2": {
  32792. "description": "卖方保证金设置值(无仓单)",
  32793. "type": "number"
  32794. },
  32795. "sellreleaseratio": {
  32796. "description": "卖方释放比率[2:分步履约]",
  32797. "type": "number"
  32798. },
  32799. "updatetime": {
  32800. "description": "更新时间",
  32801. "type": "string"
  32802. }
  32803. }
  32804. },
  32805. "models.WrOrderDetail": {
  32806. "type": "object",
  32807. "properties": {
  32808. "accountid": {
  32809. "description": "交易账号(资金账号)",
  32810. "type": "integer"
  32811. },
  32812. "allfriendsflag": {
  32813. "description": "是否全好友可见 - 0:否 1:是",
  32814. "type": "integer"
  32815. },
  32816. "amount": {
  32817. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  32818. "type": "number"
  32819. },
  32820. "buyorsell": {
  32821. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  32822. "type": "integer"
  32823. },
  32824. "canbargain": {
  32825. "description": "是否可议价 - 0:不可 1:可",
  32826. "type": "integer"
  32827. },
  32828. "cancelqty": {
  32829. "description": "撤销数量",
  32830. "type": "number"
  32831. },
  32832. "canpart": {
  32833. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  32834. "type": "integer"
  32835. },
  32836. "delistminqty": {
  32837. "description": "起摘数量",
  32838. "type": "integer"
  32839. },
  32840. "deliverygoodscode": {
  32841. "description": "品种代码",
  32842. "type": "string"
  32843. },
  32844. "deliverygoodsid": {
  32845. "description": "品种ID",
  32846. "type": "integer"
  32847. },
  32848. "deliverygoodsname": {
  32849. "description": "品种名称",
  32850. "type": "string"
  32851. },
  32852. "deliverymonth": {
  32853. "description": "交收月",
  32854. "type": "string"
  32855. },
  32856. "enumdicname": {
  32857. "description": "单位名称",
  32858. "type": "string"
  32859. },
  32860. "fixedprice": {
  32861. "description": "固定价格 - [挂牌]",
  32862. "type": "number"
  32863. },
  32864. "freezemargin": {
  32865. "description": "冻结保证金(保证金)",
  32866. "type": "number"
  32867. },
  32868. "futupricemove": {
  32869. "description": "期货升贴水",
  32870. "type": "number"
  32871. },
  32872. "futushow": {
  32873. "description": "期货合约/升贴水",
  32874. "type": "string"
  32875. },
  32876. "goodscode": {
  32877. "description": "期货合约",
  32878. "type": "string"
  32879. },
  32880. "goodsid": {
  32881. "description": "期货商品id",
  32882. "type": "integer"
  32883. },
  32884. "goodsname": {
  32885. "description": "商品名称",
  32886. "type": "string"
  32887. },
  32888. "haswr": {
  32889. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32890. "type": "integer"
  32891. },
  32892. "isspecified": {
  32893. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  32894. "type": "integer"
  32895. },
  32896. "ladingbillid": {
  32897. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32898. "type": "string"
  32899. },
  32900. "marginvalue": {
  32901. "description": "保证金设置值(履约保证金)",
  32902. "type": "number"
  32903. },
  32904. "marketid": {
  32905. "description": "市场ID",
  32906. "type": "integer"
  32907. },
  32908. "matchusername": {
  32909. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  32910. "type": "string"
  32911. },
  32912. "minivalue": {
  32913. "description": "现货商品最小变动值",
  32914. "type": "integer"
  32915. },
  32916. "optioncompare": {
  32917. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32918. "type": "string"
  32919. },
  32920. "orderqty": {
  32921. "description": "委托数量",
  32922. "type": "number"
  32923. },
  32924. "ordertime": {
  32925. "description": "委托时间(挂牌时间)",
  32926. "type": "string"
  32927. },
  32928. "performancetemplateid": {
  32929. "description": "履约模板id",
  32930. "type": "integer"
  32931. },
  32932. "pricemove": {
  32933. "description": "升贴水(浮动价时填写) - [挂牌]",
  32934. "type": "number"
  32935. },
  32936. "taname": {
  32937. "description": "交易用户名称(资金账号名称)",
  32938. "type": "string"
  32939. },
  32940. "tradedate": {
  32941. "description": "交易日(yyyyMMdd)",
  32942. "type": "string"
  32943. },
  32944. "tradeprice": {
  32945. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  32946. "type": "number"
  32947. },
  32948. "tradeqty": {
  32949. "description": "成交数量",
  32950. "type": "number"
  32951. },
  32952. "userid": {
  32953. "description": "用户ID",
  32954. "type": "integer"
  32955. },
  32956. "validtime": {
  32957. "description": "挂牌有效期",
  32958. "type": "string"
  32959. },
  32960. "warehouseid": {
  32961. "description": "仓库ID",
  32962. "type": "integer"
  32963. },
  32964. "warehousename": {
  32965. "description": "仓库名称",
  32966. "type": "string"
  32967. },
  32968. "wrfactortypeid": {
  32969. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32970. "type": "string"
  32971. },
  32972. "wrfactortypename": {
  32973. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32974. "type": "string"
  32975. },
  32976. "wrpricetype": {
  32977. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  32978. "type": "integer"
  32979. },
  32980. "wrstandardcode": {
  32981. "description": "现货商品代码",
  32982. "type": "string"
  32983. },
  32984. "wrstandardid": {
  32985. "description": "现货商品ID",
  32986. "type": "integer"
  32987. },
  32988. "wrstandardname": {
  32989. "description": "商品名称",
  32990. "type": "string"
  32991. },
  32992. "wrtradeorderid": {
  32993. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32994. "type": "string"
  32995. },
  32996. "wrtradeorderstatus": {
  32997. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败",
  32998. "type": "integer"
  32999. },
  33000. "wrtradetype": {
  33001. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33002. "type": "integer"
  33003. },
  33004. "wrtypename": {
  33005. "description": "商品",
  33006. "type": "string"
  33007. }
  33008. }
  33009. },
  33010. "models.WrOrderQuote": {
  33011. "type": "object",
  33012. "properties": {
  33013. "buyprice": {
  33014. "description": "买价",
  33015. "type": "number"
  33016. },
  33017. "buypricemove": {
  33018. "description": "买升贴水(基差)",
  33019. "type": "number"
  33020. },
  33021. "buyqty": {
  33022. "description": "买量",
  33023. "type": "number"
  33024. },
  33025. "deliverygoodscode": {
  33026. "description": "品种代码",
  33027. "type": "string"
  33028. },
  33029. "deliverygoodsid": {
  33030. "description": "品种id",
  33031. "type": "integer"
  33032. },
  33033. "deliverygoodsname": {
  33034. "description": "品种名称",
  33035. "type": "string"
  33036. },
  33037. "deliverymonth": {
  33038. "description": "交收月",
  33039. "type": "string"
  33040. },
  33041. "enumdicname": {
  33042. "description": "单位名称",
  33043. "type": "string"
  33044. },
  33045. "goodscode": {
  33046. "description": "商品合约(浮动价列表才有)",
  33047. "type": "string"
  33048. },
  33049. "goodsid": {
  33050. "description": "商品id(浮动价列表才有)",
  33051. "type": "integer"
  33052. },
  33053. "minivalue": {
  33054. "description": "现货商品最小变动值",
  33055. "type": "integer"
  33056. },
  33057. "sellprice": {
  33058. "description": "卖价",
  33059. "type": "number"
  33060. },
  33061. "sellpricemove": {
  33062. "description": "卖升贴水(基差)",
  33063. "type": "number"
  33064. },
  33065. "sellqty": {
  33066. "description": "卖量",
  33067. "type": "number"
  33068. },
  33069. "warehousecode": {
  33070. "description": "仓库代码",
  33071. "type": "string"
  33072. },
  33073. "warehouseid": {
  33074. "description": "仓库id",
  33075. "type": "integer"
  33076. },
  33077. "warehousename": {
  33078. "description": "仓库名称",
  33079. "type": "string"
  33080. },
  33081. "wrfactortypeid": {
  33082. "description": "仓单要素id",
  33083. "type": "string"
  33084. },
  33085. "wrfactortypename": {
  33086. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33087. "type": "string"
  33088. },
  33089. "wrgoodsname": {
  33090. "description": "商品(商品名称+仓库要素名称 拼接)",
  33091. "type": "string"
  33092. },
  33093. "wrstandardcode": {
  33094. "description": "商品代码",
  33095. "type": "string"
  33096. },
  33097. "wrstandardid": {
  33098. "description": "商品id",
  33099. "type": "integer"
  33100. },
  33101. "wrstandardname": {
  33102. "description": "商品名称",
  33103. "type": "string"
  33104. }
  33105. }
  33106. },
  33107. "models.WrOrderQuoteDetail": {
  33108. "type": "object",
  33109. "properties": {
  33110. "buyorsell": {
  33111. "description": "买卖 - 0:买 1:卖",
  33112. "type": "integer"
  33113. },
  33114. "delistminqty": {
  33115. "description": "起摘数量",
  33116. "type": "number"
  33117. },
  33118. "deliverymonth": {
  33119. "description": "交收月",
  33120. "type": "string"
  33121. },
  33122. "enumdicname": {
  33123. "description": "单位名称",
  33124. "type": "string"
  33125. },
  33126. "fixedprice": {
  33127. "description": "买(卖)价",
  33128. "type": "number"
  33129. },
  33130. "minivalue": {
  33131. "description": "现货商品最小变动值",
  33132. "type": "integer"
  33133. },
  33134. "orderqty": {
  33135. "description": "买(卖)量(=委托量-成交量)",
  33136. "type": "number"
  33137. },
  33138. "ordertime": {
  33139. "description": "委托时间",
  33140. "type": "string"
  33141. },
  33142. "pricemove": {
  33143. "description": "买(卖)升贴水- 基差",
  33144. "type": "number"
  33145. },
  33146. "userid": {
  33147. "description": "购买方(销售方)用户ID",
  33148. "type": "integer"
  33149. },
  33150. "username": {
  33151. "description": "购买方(销售方)",
  33152. "type": "string"
  33153. },
  33154. "wrtradeorderid": {
  33155. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33156. "type": "string"
  33157. }
  33158. }
  33159. },
  33160. "models.WrOutInApply": {
  33161. "type": "object",
  33162. "properties": {
  33163. "applyid": {
  33164. "description": "申请单id",
  33165. "type": "string"
  33166. },
  33167. "applystatus": {
  33168. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  33169. "type": "integer"
  33170. },
  33171. "applytime": {
  33172. "description": "申请时间",
  33173. "type": "string"
  33174. },
  33175. "applytype": {
  33176. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  33177. "type": "integer"
  33178. },
  33179. "deliverygoodscode": {
  33180. "description": "品种代码",
  33181. "type": "string"
  33182. },
  33183. "deliverygoodsid": {
  33184. "description": "品种ID",
  33185. "type": "integer"
  33186. },
  33187. "deliverygoodsname": {
  33188. "description": "品种名称",
  33189. "type": "string"
  33190. },
  33191. "enumdicname": {
  33192. "description": "单位名称",
  33193. "type": "string"
  33194. },
  33195. "expresscompany": {
  33196. "description": "物流公司",
  33197. "type": "string"
  33198. },
  33199. "expressnum": {
  33200. "description": "物流单号",
  33201. "type": "string"
  33202. },
  33203. "minivalue": {
  33204. "description": "现货商品最小变动值",
  33205. "type": "integer"
  33206. },
  33207. "optioncompare": {
  33208. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33209. "type": "string"
  33210. },
  33211. "qty": {
  33212. "description": "数量",
  33213. "type": "integer"
  33214. },
  33215. "userid": {
  33216. "description": "用户id",
  33217. "type": "integer"
  33218. },
  33219. "warehouseid": {
  33220. "description": "仓库ID",
  33221. "type": "integer"
  33222. },
  33223. "warehousename": {
  33224. "description": "仓库名称",
  33225. "type": "string"
  33226. },
  33227. "wrfactortypeid": {
  33228. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33229. "type": "string"
  33230. },
  33231. "wrfactortypename": {
  33232. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33233. "type": "string"
  33234. },
  33235. "wrstandardcode": {
  33236. "description": "现货商品代码",
  33237. "type": "string"
  33238. },
  33239. "wrstandardid": {
  33240. "description": "现货商品ID",
  33241. "type": "integer"
  33242. },
  33243. "wrstandardname": {
  33244. "description": "商品名称",
  33245. "type": "string"
  33246. },
  33247. "wrtypename": {
  33248. "description": "商品",
  33249. "type": "string"
  33250. }
  33251. }
  33252. },
  33253. "models.WrPerformancePlan": {
  33254. "type": "object",
  33255. "required": [
  33256. "userid"
  33257. ],
  33258. "properties": {
  33259. "activatemonth": {
  33260. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  33261. "type": "string"
  33262. },
  33263. "amount": {
  33264. "description": "履约金额(总金额)",
  33265. "type": "number"
  33266. },
  33267. "buyaccountid": {
  33268. "description": "买方账号",
  33269. "type": "integer"
  33270. },
  33271. "buyerfreezeamount": {
  33272. "description": "履约冻结(买履约)",
  33273. "type": "number"
  33274. },
  33275. "buyerfreezeamountremain": {
  33276. "description": "履约冻结剩余(买履约)",
  33277. "type": "number"
  33278. },
  33279. "buyorsell": {
  33280. "description": "买卖方向 0-买 1-卖",
  33281. "type": "integer"
  33282. },
  33283. "buypaidamount": {
  33284. "description": "买方已冻/已扣金额 (已付金额)",
  33285. "type": "number"
  33286. },
  33287. "buyusername": {
  33288. "description": "买方名字",
  33289. "type": "string"
  33290. },
  33291. "contractid": {
  33292. "description": "合同ID",
  33293. "type": "integer"
  33294. },
  33295. "createtime": {
  33296. "description": "创建时间",
  33297. "type": "string"
  33298. },
  33299. "creatorid": {
  33300. "description": "创建人",
  33301. "type": "integer"
  33302. },
  33303. "curstepdeadline": {
  33304. "description": "当前步骤到期时间",
  33305. "type": "string"
  33306. },
  33307. "curstepid": {
  33308. "description": "当前步骤ID",
  33309. "type": "string"
  33310. },
  33311. "curstepname": {
  33312. "description": "当前步骤名称",
  33313. "type": "string"
  33314. },
  33315. "deliverygoodscode": {
  33316. "description": "品种代码",
  33317. "type": "string"
  33318. },
  33319. "deliverygoodsid": {
  33320. "description": "品种ID",
  33321. "type": "integer"
  33322. },
  33323. "deliverygoodsname": {
  33324. "description": "品种名称",
  33325. "type": "string"
  33326. },
  33327. "enumdicname": {
  33328. "description": "单位名称",
  33329. "type": "string"
  33330. },
  33331. "expressfee": {
  33332. "description": "运费",
  33333. "type": "number"
  33334. },
  33335. "expressfeeconfirmed": {
  33336. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  33337. "type": "integer"
  33338. },
  33339. "hasovershort": {
  33340. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  33341. "type": "integer"
  33342. },
  33343. "haswr": {
  33344. "description": "类型 0-仓单预售 1-仓单贸易",
  33345. "type": "integer"
  33346. },
  33347. "marketid": {
  33348. "description": "市场ID",
  33349. "type": "integer"
  33350. },
  33351. "middleaccountid": {
  33352. "description": "中间商资金账号ID",
  33353. "type": "integer"
  33354. },
  33355. "middleuserid": {
  33356. "description": "中间商用户ID",
  33357. "type": "integer"
  33358. },
  33359. "minivalue": {
  33360. "description": "现货商品最小变动值",
  33361. "type": "integer"
  33362. },
  33363. "optioncompare": {
  33364. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33365. "type": "string"
  33366. },
  33367. "overshortamount": {
  33368. "description": "溢短金额",
  33369. "type": "number"
  33370. },
  33371. "overshortqty": {
  33372. "description": "溢短数量",
  33373. "type": "number"
  33374. },
  33375. "paymenttype": {
  33376. "description": "付款方式 - 1:冻结 2:扣款",
  33377. "type": "integer"
  33378. },
  33379. "performanceplanid": {
  33380. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  33381. "type": "string"
  33382. },
  33383. "performancestatus": {
  33384. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  33385. "type": "integer"
  33386. },
  33387. "performancetype": {
  33388. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  33389. "type": "integer"
  33390. },
  33391. "qty": {
  33392. "description": "履约数量",
  33393. "type": "number"
  33394. },
  33395. "relatedorderid": {
  33396. "description": "关联单号(履约类型的关联单号)",
  33397. "type": "string"
  33398. },
  33399. "remark": {
  33400. "description": "备注",
  33401. "type": "string"
  33402. },
  33403. "sellaccountid": {
  33404. "description": "卖方账号",
  33405. "type": "integer"
  33406. },
  33407. "sellerfreezeamount": {
  33408. "description": "履约冻结(卖履约)",
  33409. "type": "number"
  33410. },
  33411. "sellerfreezeamountremain": {
  33412. "description": "履约冻结剩余(卖履约)",
  33413. "type": "number"
  33414. },
  33415. "sellreceivedamount": {
  33416. "description": "卖方已收金额",
  33417. "type": "number"
  33418. },
  33419. "sellusername": {
  33420. "description": "卖方名字",
  33421. "type": "string"
  33422. },
  33423. "shipremark": {
  33424. "description": "发货备注[物流单号]",
  33425. "type": "string"
  33426. },
  33427. "starttime": {
  33428. "description": "开始时间",
  33429. "type": "string"
  33430. },
  33431. "steptypeid": {
  33432. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33433. "type": "integer"
  33434. },
  33435. "typename": {
  33436. "description": "履约类型 名称",
  33437. "type": "string"
  33438. },
  33439. "unpaidamount": {
  33440. "description": "剩余款(待支付金额)",
  33441. "type": "number"
  33442. },
  33443. "userid": {
  33444. "description": "用户id",
  33445. "type": "integer"
  33446. },
  33447. "warehouseid": {
  33448. "description": "仓库ID",
  33449. "type": "integer"
  33450. },
  33451. "warehousename": {
  33452. "description": "仓库名称",
  33453. "type": "string"
  33454. },
  33455. "wrfactortypeid": {
  33456. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33457. "type": "string"
  33458. },
  33459. "wrfactortypename": {
  33460. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33461. "type": "string"
  33462. },
  33463. "wrstandardcode": {
  33464. "description": "现货商品代码",
  33465. "type": "string"
  33466. },
  33467. "wrstandardid": {
  33468. "description": "现货商品ID",
  33469. "type": "integer"
  33470. },
  33471. "wrstandardname": {
  33472. "description": "商品名称",
  33473. "type": "string"
  33474. },
  33475. "wrtransferuserid": {
  33476. "description": "仓单受让用户",
  33477. "type": "integer"
  33478. },
  33479. "wrtypename": {
  33480. "description": "商品",
  33481. "type": "string"
  33482. }
  33483. }
  33484. },
  33485. "models.WrPerformancePlanStep": {
  33486. "type": "object",
  33487. "properties": {
  33488. "delaydays": {
  33489. "description": "延期申请天数",
  33490. "type": "integer"
  33491. },
  33492. "deliverygoodscode": {
  33493. "description": "品种代码",
  33494. "type": "string"
  33495. },
  33496. "deliverygoodsid": {
  33497. "description": "品种ID",
  33498. "type": "integer"
  33499. },
  33500. "deliverygoodsname": {
  33501. "description": "品种名称",
  33502. "type": "string"
  33503. },
  33504. "endtime": {
  33505. "description": "结束日期",
  33506. "type": "string"
  33507. },
  33508. "enumdicname": {
  33509. "description": "单位名称",
  33510. "type": "string"
  33511. },
  33512. "executeside": {
  33513. "description": "步骤执行方 - 1:买方 2:卖方",
  33514. "type": "integer"
  33515. },
  33516. "handlestatus": {
  33517. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  33518. "type": "integer"
  33519. },
  33520. "isauto": {
  33521. "description": "是否自动 - 0:不自动 1:自动",
  33522. "type": "integer"
  33523. },
  33524. "islastreceivestep": {
  33525. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  33526. "type": "integer"
  33527. },
  33528. "minivalue": {
  33529. "description": "现货商品最小变动值",
  33530. "type": "integer"
  33531. },
  33532. "optioncompare": {
  33533. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33534. "type": "string"
  33535. },
  33536. "overdays": {
  33537. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  33538. "type": "integer"
  33539. },
  33540. "performancestepid": {
  33541. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  33542. "type": "string"
  33543. },
  33544. "planid": {
  33545. "description": "所属履约计划ID",
  33546. "type": "string"
  33547. },
  33548. "realamount": {
  33549. "description": "实际完成金额",
  33550. "type": "number"
  33551. },
  33552. "relatedorderid": {
  33553. "description": "关联单号",
  33554. "type": "string"
  33555. },
  33556. "remaindays": {
  33557. "description": "剩余天数",
  33558. "type": "integer"
  33559. },
  33560. "remark": {
  33561. "description": "错误备注",
  33562. "type": "string"
  33563. },
  33564. "starttime": {
  33565. "description": "开始日期",
  33566. "type": "string"
  33567. },
  33568. "stepamount": {
  33569. "description": "步骤金额",
  33570. "type": "number"
  33571. },
  33572. "stepdays": {
  33573. "description": "距离上一步天数(分钟)",
  33574. "type": "integer"
  33575. },
  33576. "stepindex": {
  33577. "description": "步骤序号",
  33578. "type": "integer"
  33579. },
  33580. "steplanchtype": {
  33581. "description": "步骤启动类型 - 1:系统自动 2:手动",
  33582. "type": "integer"
  33583. },
  33584. "stepremark": {
  33585. "description": "步骤备注",
  33586. "type": "string"
  33587. },
  33588. "stepstatus": {
  33589. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  33590. "type": "integer"
  33591. },
  33592. "steptypeid": {
  33593. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33594. "type": "integer"
  33595. },
  33596. "steptypename": {
  33597. "description": "步骤名称",
  33598. "type": "string"
  33599. },
  33600. "stepvalue": {
  33601. "description": "步骤值",
  33602. "type": "number"
  33603. },
  33604. "warehouseid": {
  33605. "description": "仓库ID",
  33606. "type": "integer"
  33607. },
  33608. "warehousename": {
  33609. "description": "仓库名称",
  33610. "type": "string"
  33611. },
  33612. "wrfactortypeid": {
  33613. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33614. "type": "string"
  33615. },
  33616. "wrfactortypename": {
  33617. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33618. "type": "string"
  33619. },
  33620. "wrstandardcode": {
  33621. "description": "现货商品代码",
  33622. "type": "string"
  33623. },
  33624. "wrstandardid": {
  33625. "description": "现货商品ID",
  33626. "type": "integer"
  33627. },
  33628. "wrstandardname": {
  33629. "description": "商品名称",
  33630. "type": "string"
  33631. },
  33632. "wrtypename": {
  33633. "description": "商品",
  33634. "type": "string"
  33635. }
  33636. }
  33637. },
  33638. "models.WrPerformanceStepType": {
  33639. "type": "object",
  33640. "properties": {
  33641. "canauto": {
  33642. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  33643. "type": "integer"
  33644. },
  33645. "steptypeid": {
  33646. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  33647. "type": "integer"
  33648. },
  33649. "steptypename": {
  33650. "description": "步骤类型名称",
  33651. "type": "string"
  33652. }
  33653. }
  33654. },
  33655. "models.WrPerformanceTemplateEx": {
  33656. "type": "object",
  33657. "properties": {
  33658. "autoid": {
  33659. "description": "AutoID 模板id",
  33660. "type": "integer"
  33661. },
  33662. "createtime": {
  33663. "description": "创建时间",
  33664. "type": "string"
  33665. },
  33666. "creatorid": {
  33667. "description": "创建人",
  33668. "type": "integer"
  33669. },
  33670. "lstStep": {
  33671. "description": "步骤信息列表",
  33672. "type": "array",
  33673. "items": {
  33674. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33675. }
  33676. },
  33677. "paymenttype": {
  33678. "description": "支付方式 - 1:冻结 2:扣款",
  33679. "type": "integer"
  33680. },
  33681. "takemode": {
  33682. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  33683. "type": "integer"
  33684. },
  33685. "templatename": {
  33686. "description": "模板名称",
  33687. "type": "string"
  33688. },
  33689. "templatetype": {
  33690. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  33691. "type": "integer"
  33692. },
  33693. "userid": {
  33694. "description": "所属用户",
  33695. "type": "integer"
  33696. }
  33697. }
  33698. },
  33699. "models.WrPosition": {
  33700. "type": "object",
  33701. "properties": {
  33702. "accountid": {
  33703. "description": "帐户ID",
  33704. "type": "integer"
  33705. },
  33706. "buyexcuteqty": {
  33707. "description": "采购履约中数量",
  33708. "type": "number"
  33709. },
  33710. "creditcurqty": {
  33711. "description": "授信当前数量(预售仓单:预售当前量)",
  33712. "type": "number"
  33713. },
  33714. "creditenableqty": {
  33715. "description": "授信可用数量(预售仓单: 可用数量)",
  33716. "type": "number"
  33717. },
  33718. "creditfreezeqty": {
  33719. "description": "授信冻结数量(预售仓单: 当前数量)",
  33720. "type": "number"
  33721. },
  33722. "credittotalqty": {
  33723. "description": "授信总数量(预售仓单:预售总量)",
  33724. "type": "number"
  33725. },
  33726. "credittradeqty": {
  33727. "description": "授信成交数量(预售仓单:成交总量)",
  33728. "type": "number"
  33729. },
  33730. "deliverygoodscode": {
  33731. "description": "品种代码",
  33732. "type": "string"
  33733. },
  33734. "deliverygoodsid": {
  33735. "description": "品种ID",
  33736. "type": "integer"
  33737. },
  33738. "deliverygoodsname": {
  33739. "description": "品种名称",
  33740. "type": "string"
  33741. },
  33742. "enalbeqty": {
  33743. "description": "可用数量",
  33744. "type": "number"
  33745. },
  33746. "enumdicname": {
  33747. "description": "单位名称",
  33748. "type": "string"
  33749. },
  33750. "freezeqty": {
  33751. "description": "总冻结数量",
  33752. "type": "number"
  33753. },
  33754. "haswr": {
  33755. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33756. "type": "integer"
  33757. },
  33758. "minivalue": {
  33759. "description": "现货商品最小变动值",
  33760. "type": "integer"
  33761. },
  33762. "modifytime": {
  33763. "description": "修改时间(过户时间)",
  33764. "type": "string"
  33765. },
  33766. "optioncompare": {
  33767. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33768. "type": "string"
  33769. },
  33770. "pledgeqty": {
  33771. "description": "质押数量",
  33772. "type": "number"
  33773. },
  33774. "querytype": {
  33775. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  33776. "type": "integer"
  33777. },
  33778. "sellexcuteqty": {
  33779. "description": "销售履约中数量",
  33780. "type": "number"
  33781. },
  33782. "totalqty": {
  33783. "description": "总数量(库存数量)",
  33784. "type": "number"
  33785. },
  33786. "warehouseid": {
  33787. "description": "仓库ID",
  33788. "type": "integer"
  33789. },
  33790. "warehousename": {
  33791. "description": "仓库名称",
  33792. "type": "string"
  33793. },
  33794. "wrfactortypeid": {
  33795. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33796. "type": "string"
  33797. },
  33798. "wrfactortypename": {
  33799. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33800. "type": "string"
  33801. },
  33802. "wrpositionid": {
  33803. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  33804. "type": "string"
  33805. },
  33806. "wrpositionno": {
  33807. "description": "仓单编号",
  33808. "type": "string"
  33809. },
  33810. "wrstandardcode": {
  33811. "description": "现货商品代码",
  33812. "type": "string"
  33813. },
  33814. "wrstandardid": {
  33815. "description": "现货商品ID",
  33816. "type": "integer"
  33817. },
  33818. "wrstandardname": {
  33819. "description": "商品名称",
  33820. "type": "string"
  33821. },
  33822. "wrtypename": {
  33823. "description": "商品",
  33824. "type": "string"
  33825. },
  33826. "wruserid": {
  33827. "description": "持有人ID",
  33828. "type": "integer"
  33829. }
  33830. }
  33831. },
  33832. "models.WrQuoteOrderMyq": {
  33833. "type": "object",
  33834. "properties": {
  33835. "buyorsell": {
  33836. "description": "买卖 - 0:买 1:卖",
  33837. "type": "integer"
  33838. },
  33839. "canbargain": {
  33840. "description": "是否可议价 - 0:不可 1:可",
  33841. "type": "integer"
  33842. },
  33843. "canpart": {
  33844. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  33845. "type": "integer"
  33846. },
  33847. "delistminqty": {
  33848. "description": "起摘数量",
  33849. "type": "number"
  33850. },
  33851. "deliverygoodscode": {
  33852. "description": "品种代码",
  33853. "type": "string"
  33854. },
  33855. "deliverygoodsid": {
  33856. "description": "品种ID",
  33857. "type": "integer"
  33858. },
  33859. "deliverygoodsname": {
  33860. "description": "品种名称",
  33861. "type": "string"
  33862. },
  33863. "deliverymonth": {
  33864. "description": "交收月",
  33865. "type": "string"
  33866. },
  33867. "enumdicname": {
  33868. "description": "单位名称",
  33869. "type": "string"
  33870. },
  33871. "fixedprice": {
  33872. "description": "买(卖)价",
  33873. "type": "number"
  33874. },
  33875. "goodscode": {
  33876. "description": "商品合约代码",
  33877. "type": "string"
  33878. },
  33879. "marginflag": {
  33880. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  33881. "type": "integer"
  33882. },
  33883. "marginvalue": {
  33884. "description": "保证金设置值",
  33885. "type": "number"
  33886. },
  33887. "minivalue": {
  33888. "description": "现货商品最小变动值",
  33889. "type": "integer"
  33890. },
  33891. "orderqty": {
  33892. "description": "买(卖)量(=委托量-成交量)",
  33893. "type": "number"
  33894. },
  33895. "ordertime": {
  33896. "description": "委托时间",
  33897. "type": "string"
  33898. },
  33899. "performancetemplateid": {
  33900. "description": "履约模板id",
  33901. "type": "integer"
  33902. },
  33903. "pricemove": {
  33904. "description": "买(卖)升贴水- 基差",
  33905. "type": "number"
  33906. },
  33907. "templatename": {
  33908. "description": "履约模板名称",
  33909. "type": "string"
  33910. },
  33911. "userid": {
  33912. "description": "购买方(销售方)用户ID",
  33913. "type": "integer"
  33914. },
  33915. "username": {
  33916. "description": "购买方(销售方)",
  33917. "type": "string"
  33918. },
  33919. "validtime": {
  33920. "description": "有效期限",
  33921. "type": "string"
  33922. },
  33923. "validtype": {
  33924. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33925. "type": "integer"
  33926. },
  33927. "warehousename": {
  33928. "description": "仓库名称",
  33929. "type": "string"
  33930. },
  33931. "wrfactortypeid": {
  33932. "description": "仓单要素id",
  33933. "type": "string"
  33934. },
  33935. "wrstandardcode": {
  33936. "description": "现货商品代码",
  33937. "type": "string"
  33938. },
  33939. "wrstandardid": {
  33940. "description": "现货商品ID",
  33941. "type": "integer"
  33942. },
  33943. "wrstandardname": {
  33944. "description": "商品名称",
  33945. "type": "string"
  33946. },
  33947. "wrtradeorderid": {
  33948. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33949. "type": "string"
  33950. },
  33951. "wrtypename": {
  33952. "description": "商品",
  33953. "type": "string"
  33954. }
  33955. }
  33956. },
  33957. "models.WrScfContract": {
  33958. "type": "object",
  33959. "properties": {
  33960. "borroweruserid": {
  33961. "description": "借款用户ID",
  33962. "type": "integer"
  33963. },
  33964. "buybackwrpositionqty": {
  33965. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  33966. "type": "number"
  33967. },
  33968. "closeinterest": {
  33969. "description": "已结利息 -\u003e 已结费用",
  33970. "type": "number"
  33971. },
  33972. "currisklevel": {
  33973. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33974. "type": "integer"
  33975. },
  33976. "deadline": {
  33977. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  33978. "type": "string"
  33979. },
  33980. "deliverygoodscode": {
  33981. "description": "品种代码",
  33982. "type": "string"
  33983. },
  33984. "deliverygoodsid": {
  33985. "description": "品种ID",
  33986. "type": "integer"
  33987. },
  33988. "deliverygoodsname": {
  33989. "description": "品种名称",
  33990. "type": "string"
  33991. },
  33992. "enumdicname": {
  33993. "description": "单位名称",
  33994. "type": "string"
  33995. },
  33996. "financingdays": {
  33997. "description": "天数(天)",
  33998. "type": "integer"
  33999. },
  34000. "initmargin": {
  34001. "description": "保证金 - [仓单回购]",
  34002. "type": "number"
  34003. },
  34004. "interestamount": {
  34005. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  34006. "type": "number"
  34007. },
  34008. "interestdebt": {
  34009. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  34010. "type": "number"
  34011. },
  34012. "interestminlen": {
  34013. "description": "最小起息天数",
  34014. "type": "integer"
  34015. },
  34016. "interestrate": {
  34017. "description": "利率",
  34018. "type": "number"
  34019. },
  34020. "interestratemode": {
  34021. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34022. "type": "integer"
  34023. },
  34024. "interestsettlemode": {
  34025. "description": "结息方式 - 1:按日结息 3:按月结息",
  34026. "type": "integer"
  34027. },
  34028. "interestsettlevalue": {
  34029. "description": "结息方式值",
  34030. "type": "integer"
  34031. },
  34032. "isautoloan": {
  34033. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  34034. "type": "integer"
  34035. },
  34036. "lastcloseinterestday": {
  34037. "description": "最近结息日(yyyyMMdd)",
  34038. "type": "string"
  34039. },
  34040. "lenderamount": {
  34041. "description": "贷款金额 -\u003e 借款金额",
  34042. "type": "number"
  34043. },
  34044. "lenderuserid": {
  34045. "description": "贷款方用户ID -\u003e 融出方用户ID",
  34046. "type": "integer"
  34047. },
  34048. "lenderusername": {
  34049. "description": "融出方",
  34050. "type": "string"
  34051. },
  34052. "marginratio": {
  34053. "description": "保证金比率质押率 - [仓单质押]",
  34054. "type": "number"
  34055. },
  34056. "marketid": {
  34057. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  34058. "type": "integer"
  34059. },
  34060. "minivalue": {
  34061. "description": "现货商品最小变动值",
  34062. "type": "integer"
  34063. },
  34064. "optioncompare": {
  34065. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34066. "type": "string"
  34067. },
  34068. "pricemove": {
  34069. "description": "估值升贴水值",
  34070. "type": "number"
  34071. },
  34072. "productdetailid": {
  34073. "description": "产品组合ID",
  34074. "type": "integer"
  34075. },
  34076. "productid": {
  34077. "description": "金融产品ID",
  34078. "type": "integer"
  34079. },
  34080. "productname": {
  34081. "description": "产品名称",
  34082. "type": "string"
  34083. },
  34084. "remainamount": {
  34085. "description": "合同剩余金额 -\u003e 剩余金额",
  34086. "type": "number"
  34087. },
  34088. "remainwrpositionqty": {
  34089. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  34090. "type": "number"
  34091. },
  34092. "remark": {
  34093. "description": "备注",
  34094. "type": "string"
  34095. },
  34096. "scfcontractid": {
  34097. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34098. "type": "string"
  34099. },
  34100. "scfcontractstatus": {
  34101. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34102. "type": "integer"
  34103. },
  34104. "scfcontracttype": {
  34105. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  34106. "type": "integer"
  34107. },
  34108. "startinterestday": {
  34109. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  34110. "type": "string"
  34111. },
  34112. "totalinterest": {
  34113. "description": "已计利息 -\u003e 已计费用",
  34114. "type": "number"
  34115. },
  34116. "unpaidinterest": {
  34117. "description": "未结费用",
  34118. "type": "number"
  34119. },
  34120. "updatetime": {
  34121. "description": "更新时间",
  34122. "type": "string"
  34123. },
  34124. "warehouseid": {
  34125. "description": "仓库ID",
  34126. "type": "integer"
  34127. },
  34128. "warehousename": {
  34129. "description": "仓库名称",
  34130. "type": "string"
  34131. },
  34132. "wrfactortypeid": {
  34133. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34134. "type": "string"
  34135. },
  34136. "wrfactortypename": {
  34137. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34138. "type": "string"
  34139. },
  34140. "wrqty": {
  34141. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  34142. "type": "number"
  34143. },
  34144. "wrstandardcode": {
  34145. "description": "现货商品代码",
  34146. "type": "string"
  34147. },
  34148. "wrstandardid": {
  34149. "description": "现货商品ID",
  34150. "type": "integer"
  34151. },
  34152. "wrstandardname": {
  34153. "description": "商品名称",
  34154. "type": "string"
  34155. },
  34156. "wrtypename": {
  34157. "description": "商品",
  34158. "type": "string"
  34159. }
  34160. }
  34161. },
  34162. "models.WrScfContractInterest": {
  34163. "type": "object",
  34164. "properties": {
  34165. "closeinterest": {
  34166. "description": "已结利息",
  34167. "type": "number"
  34168. },
  34169. "closeintereststatus": {
  34170. "description": "结息状态 - 1:未结 2:已结",
  34171. "type": "integer"
  34172. },
  34173. "closetime": {
  34174. "description": "结息时间",
  34175. "type": "string"
  34176. },
  34177. "closetradedate": {
  34178. "description": "结息交易日",
  34179. "type": "string"
  34180. },
  34181. "creatorid": {
  34182. "description": "操作人ID",
  34183. "type": "integer"
  34184. },
  34185. "dayrate": {
  34186. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  34187. "type": "number"
  34188. },
  34189. "interest": {
  34190. "description": "利息",
  34191. "type": "number"
  34192. },
  34193. "interestamount": {
  34194. "description": "计息金额",
  34195. "type": "number"
  34196. },
  34197. "interestday": {
  34198. "description": "计息日(yyyyMMdd)",
  34199. "type": "string"
  34200. },
  34201. "scfcontractid": {
  34202. "description": "SCF合同ID",
  34203. "type": "string"
  34204. },
  34205. "scfcontractinterestid": {
  34206. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  34207. "type": "integer"
  34208. },
  34209. "updatetime": {
  34210. "description": "更新时间",
  34211. "type": "string"
  34212. }
  34213. }
  34214. },
  34215. "models.WrSpecialMatchOrder": {
  34216. "type": "object",
  34217. "properties": {
  34218. "amount": {
  34219. "description": "金额 = 数量 * 价格",
  34220. "type": "number"
  34221. },
  34222. "buyorsell": {
  34223. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34224. "type": "integer"
  34225. },
  34226. "cancelqty": {
  34227. "description": "撤销数量",
  34228. "type": "number"
  34229. },
  34230. "deliverygoodscode": {
  34231. "description": "品种代码",
  34232. "type": "string"
  34233. },
  34234. "deliverygoodsid": {
  34235. "description": "品种ID",
  34236. "type": "integer"
  34237. },
  34238. "deliverygoodsname": {
  34239. "description": "品种名称",
  34240. "type": "string"
  34241. },
  34242. "enumdicname": {
  34243. "description": "单位名称",
  34244. "type": "string"
  34245. },
  34246. "fixedprice": {
  34247. "description": "固定价格(价格)",
  34248. "type": "number"
  34249. },
  34250. "haswr": {
  34251. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34252. "type": "integer"
  34253. },
  34254. "marketid": {
  34255. "description": "市场ID",
  34256. "type": "integer"
  34257. },
  34258. "matchuserid": {
  34259. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  34260. "type": "integer"
  34261. },
  34262. "matchusername": {
  34263. "description": "指定方",
  34264. "type": "string"
  34265. },
  34266. "minivalue": {
  34267. "description": "现货商品最小变动值",
  34268. "type": "integer"
  34269. },
  34270. "optioncompare": {
  34271. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34272. "type": "string"
  34273. },
  34274. "orderqty": {
  34275. "description": "委托数量",
  34276. "type": "number"
  34277. },
  34278. "ordertime": {
  34279. "description": "委托时间",
  34280. "type": "string"
  34281. },
  34282. "pricemove": {
  34283. "description": "升贴水(浮动价时填写) - [挂牌]",
  34284. "type": "number"
  34285. },
  34286. "tradedate": {
  34287. "description": "交易日(yyyyMMdd)",
  34288. "type": "string"
  34289. },
  34290. "tradeprice": {
  34291. "description": "成交价格",
  34292. "type": "number"
  34293. },
  34294. "tradeqty": {
  34295. "description": "成交数量",
  34296. "type": "number"
  34297. },
  34298. "userid": {
  34299. "description": "用户ID",
  34300. "type": "integer"
  34301. },
  34302. "username": {
  34303. "description": "发起方",
  34304. "type": "string"
  34305. },
  34306. "warehouseid": {
  34307. "description": "仓库ID",
  34308. "type": "integer"
  34309. },
  34310. "warehousename": {
  34311. "description": "仓库名称",
  34312. "type": "string"
  34313. },
  34314. "wrfactortypeid": {
  34315. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34316. "type": "string"
  34317. },
  34318. "wrfactortypename": {
  34319. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34320. "type": "string"
  34321. },
  34322. "wrpricetype": {
  34323. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34324. "type": "integer"
  34325. },
  34326. "wrstandardcode": {
  34327. "description": "现货商品代码",
  34328. "type": "string"
  34329. },
  34330. "wrstandardid": {
  34331. "description": "现货商品ID",
  34332. "type": "integer"
  34333. },
  34334. "wrstandardname": {
  34335. "description": "商品名称",
  34336. "type": "string"
  34337. },
  34338. "wrtradeorderid": {
  34339. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34340. "type": "string"
  34341. },
  34342. "wrtradeorderstatus": {
  34343. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  34344. "type": "integer"
  34345. },
  34346. "wrtradetype": {
  34347. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34348. "type": "integer"
  34349. },
  34350. "wrtypename": {
  34351. "description": "商品",
  34352. "type": "string"
  34353. }
  34354. }
  34355. },
  34356. "models.WrStandardFactoryItem": {
  34357. "type": "object",
  34358. "properties": {
  34359. "dgfactoryitemid": {
  34360. "description": "选择项id",
  34361. "type": "integer"
  34362. },
  34363. "dgfactoryitemvalue": {
  34364. "description": "要素项值",
  34365. "type": "string"
  34366. },
  34367. "warehouseid": {
  34368. "description": "仓库id",
  34369. "type": "integer"
  34370. }
  34371. }
  34372. },
  34373. "models.WrStandardFactoryItemEx": {
  34374. "type": "object",
  34375. "properties": {
  34376. "dgfactoryitemtypeid": {
  34377. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  34378. "type": "integer"
  34379. },
  34380. "itemlst": {
  34381. "description": "要素项列表",
  34382. "type": "array",
  34383. "items": {
  34384. "$ref": "#/definitions/models.WrStandardFactoryItem"
  34385. }
  34386. },
  34387. "itemtypename": {
  34388. "description": "要素项类型名称",
  34389. "type": "string"
  34390. },
  34391. "wrstandardid": {
  34392. "description": "品类",
  34393. "type": "integer"
  34394. }
  34395. }
  34396. },
  34397. "models.WrTradeDetail": {
  34398. "type": "object",
  34399. "properties": {
  34400. "accountid": {
  34401. "description": "资金账号",
  34402. "type": "integer"
  34403. },
  34404. "buyorsell": {
  34405. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34406. "type": "integer"
  34407. },
  34408. "chargevalue": {
  34409. "description": "手续费",
  34410. "type": "number"
  34411. },
  34412. "deliverygoodscode": {
  34413. "description": "品种代码",
  34414. "type": "string"
  34415. },
  34416. "deliverygoodsid": {
  34417. "description": "品种ID",
  34418. "type": "integer"
  34419. },
  34420. "deliverygoodsname": {
  34421. "description": "品种名称",
  34422. "type": "string"
  34423. },
  34424. "deliverymonth": {
  34425. "description": "交收月",
  34426. "type": "string"
  34427. },
  34428. "enumdicname": {
  34429. "description": "单位名称",
  34430. "type": "string"
  34431. },
  34432. "haswr": {
  34433. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34434. "type": "integer"
  34435. },
  34436. "marketid": {
  34437. "description": "市场ID",
  34438. "type": "integer"
  34439. },
  34440. "matchaccountid": {
  34441. "description": "对手账号",
  34442. "type": "integer"
  34443. },
  34444. "matchusername": {
  34445. "description": "对手方",
  34446. "type": "string"
  34447. },
  34448. "minivalue": {
  34449. "description": "现货商品最小变动值",
  34450. "type": "integer"
  34451. },
  34452. "optioncompare": {
  34453. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34454. "type": "string"
  34455. },
  34456. "tradedate": {
  34457. "description": "交易日(yyyyMMdd)",
  34458. "type": "string"
  34459. },
  34460. "tradeprice": {
  34461. "description": "成交价格",
  34462. "type": "number"
  34463. },
  34464. "tradeqty": {
  34465. "description": "成交数量",
  34466. "type": "number"
  34467. },
  34468. "tradetime": {
  34469. "description": "成交时间",
  34470. "type": "string"
  34471. },
  34472. "userid": {
  34473. "description": "用户ID",
  34474. "type": "integer"
  34475. },
  34476. "warehouseid": {
  34477. "description": "仓库ID",
  34478. "type": "integer"
  34479. },
  34480. "warehousename": {
  34481. "description": "仓库名称",
  34482. "type": "string"
  34483. },
  34484. "wrfactortypeid": {
  34485. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34486. "type": "string"
  34487. },
  34488. "wrfactortypename": {
  34489. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34490. "type": "string"
  34491. },
  34492. "wrstandardcode": {
  34493. "description": "现货商品代码",
  34494. "type": "string"
  34495. },
  34496. "wrstandardid": {
  34497. "description": "现货商品ID",
  34498. "type": "integer"
  34499. },
  34500. "wrstandardname": {
  34501. "description": "商品名称",
  34502. "type": "string"
  34503. },
  34504. "wrtradedetailid": {
  34505. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  34506. "type": "string"
  34507. },
  34508. "wrtradetype": {
  34509. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34510. "type": "integer"
  34511. },
  34512. "wrtypename": {
  34513. "description": "商品",
  34514. "type": "string"
  34515. }
  34516. }
  34517. },
  34518. "models.WrTradeOrderDetail": {
  34519. "type": "object",
  34520. "properties": {
  34521. "buyorsell": {
  34522. "description": "买卖方向 0-买 1-卖",
  34523. "type": "integer"
  34524. },
  34525. "goodsid": {
  34526. "description": "商品id",
  34527. "type": "integer"
  34528. },
  34529. "orderid": {
  34530. "description": "委托单号",
  34531. "type": "string"
  34532. },
  34533. "orderprice": {
  34534. "description": "委托价格",
  34535. "type": "number"
  34536. },
  34537. "orderqty": {
  34538. "description": "委托数量",
  34539. "type": "integer"
  34540. },
  34541. "userid": {
  34542. "description": "用户id",
  34543. "type": "integer"
  34544. },
  34545. "username": {
  34546. "description": "用户名称(已脱敏)",
  34547. "type": "string"
  34548. }
  34549. }
  34550. },
  34551. "models.WrTypeItem": {
  34552. "type": "object",
  34553. "properties": {
  34554. "name": {
  34555. "description": "名称",
  34556. "type": "string"
  34557. },
  34558. "value": {
  34559. "description": "值",
  34560. "type": "string"
  34561. }
  34562. }
  34563. },
  34564. "models.WrUserFriend": {
  34565. "type": "object",
  34566. "properties": {
  34567. "friendname": {
  34568. "description": "朋友名称(已脱敏)",
  34569. "type": "string"
  34570. },
  34571. "frienduserid": {
  34572. "description": "朋友id",
  34573. "type": "integer"
  34574. },
  34575. "isfriend": {
  34576. "description": "是否好友 0-不是 1-是",
  34577. "type": "integer"
  34578. },
  34579. "userid": {
  34580. "description": "用户id",
  34581. "type": "integer"
  34582. }
  34583. }
  34584. },
  34585. "models.XHBRAND": {
  34586. "type": "object",
  34587. "properties": {
  34588. "brandid": {
  34589. "description": "品牌id",
  34590. "type": "integer"
  34591. },
  34592. "brandname": {
  34593. "description": "品牌名称",
  34594. "type": "string"
  34595. }
  34596. }
  34597. },
  34598. "models.XHDeliveryGoods": {
  34599. "type": "object",
  34600. "properties": {
  34601. "areauserid": {
  34602. "description": "所属机构",
  34603. "type": "integer"
  34604. },
  34605. "bdlst": {
  34606. "description": "品牌列表",
  34607. "type": "array",
  34608. "items": {
  34609. "$ref": "#/definitions/models.XHBRAND"
  34610. }
  34611. },
  34612. "deliverygoodscode": {
  34613. "description": "现货品种代码",
  34614. "type": "string"
  34615. },
  34616. "deliverygoodsid": {
  34617. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34618. "type": "integer"
  34619. },
  34620. "deliverygoodsname": {
  34621. "description": "现货品种名称",
  34622. "type": "string"
  34623. },
  34624. "dgstatus": {
  34625. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  34626. "type": "integer"
  34627. },
  34628. "isvalid": {
  34629. "description": "是否有效 - 0:无效 1:有效",
  34630. "type": "integer"
  34631. },
  34632. "remark": {
  34633. "description": "备注",
  34634. "type": "string"
  34635. },
  34636. "wdlst": {
  34637. "description": "品类(现货商品)列表",
  34638. "type": "array",
  34639. "items": {
  34640. "$ref": "#/definitions/models.XHWrstandard"
  34641. }
  34642. }
  34643. }
  34644. },
  34645. "models.XHMiddleGoods": {
  34646. "type": "object",
  34647. "properties": {
  34648. "convertratio": {
  34649. "description": "拆算系数",
  34650. "type": "number"
  34651. },
  34652. "enumdicname": {
  34653. "description": "单位名称",
  34654. "type": "string"
  34655. },
  34656. "middlegoodscode": {
  34657. "description": "套保品种代码",
  34658. "type": "string"
  34659. },
  34660. "middlegoodsid": {
  34661. "description": "套保品种id",
  34662. "type": "integer"
  34663. },
  34664. "middlegoodsname": {
  34665. "description": "套保品种名称",
  34666. "type": "string"
  34667. }
  34668. }
  34669. },
  34670. "models.XHWrstandard": {
  34671. "type": "object",
  34672. "properties": {
  34673. "deliverygoodsid": {
  34674. "description": "品种ID",
  34675. "type": "integer"
  34676. },
  34677. "enumdicname": {
  34678. "description": "单位名称",
  34679. "type": "string"
  34680. },
  34681. "mglst": {
  34682. "description": "套保品列表",
  34683. "type": "array",
  34684. "items": {
  34685. "$ref": "#/definitions/models.XHMiddleGoods"
  34686. }
  34687. },
  34688. "vatrate": {
  34689. "description": "增值税率",
  34690. "type": "number"
  34691. },
  34692. "wrstandardcode": {
  34693. "description": "现货商品代码",
  34694. "type": "string"
  34695. },
  34696. "wrstandardid": {
  34697. "description": "现货商品ID(SEQ_WRSTANDARD)",
  34698. "type": "integer"
  34699. },
  34700. "wrstandardname": {
  34701. "description": "现货商品名称",
  34702. "type": "string"
  34703. }
  34704. }
  34705. },
  34706. "order.QueryHisTradeDetailRsp": {
  34707. "type": "object",
  34708. "required": [
  34709. "accountid",
  34710. "buyorsell",
  34711. "goodsid",
  34712. "histradedate",
  34713. "marketid",
  34714. "memberuserid",
  34715. "orderid",
  34716. "tradeamount",
  34717. "tradedate",
  34718. "tradeid",
  34719. "tradeprice",
  34720. "tradeqty",
  34721. "tradetime"
  34722. ],
  34723. "properties": {
  34724. "accountid": {
  34725. "description": "账户ID[报价币种]",
  34726. "type": "integer"
  34727. },
  34728. "advanceratio": {
  34729. "description": "首付比率",
  34730. "type": "number"
  34731. },
  34732. "buildtype": {
  34733. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  34734. "type": "integer"
  34735. },
  34736. "buyorsell": {
  34737. "description": "方向 - 0:买 1:卖",
  34738. "type": "integer"
  34739. },
  34740. "charge": {
  34741. "description": "手续费",
  34742. "type": "number"
  34743. },
  34744. "closecharge": {
  34745. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34746. "type": "number"
  34747. },
  34748. "closeexchagechargevalue": {
  34749. "description": "平仓交易所手续费设置值",
  34750. "type": "number"
  34751. },
  34752. "closefeealgorithm": {
  34753. "description": "平仓手续费收取方式 1:比率 2:固定",
  34754. "type": "integer"
  34755. },
  34756. "closememberchargevalue": {
  34757. "description": "平仓会员手续费设置值",
  34758. "type": "number"
  34759. },
  34760. "closepl": {
  34761. "description": "平仓盈亏",
  34762. "type": "number"
  34763. },
  34764. "closepl2": {
  34765. "description": "平仓盈亏[逐笔]",
  34766. "type": "number"
  34767. },
  34768. "closeqty": {
  34769. "description": "平仓数量(先建后平操作 需要记录)",
  34770. "type": "number"
  34771. },
  34772. "creditamount": {
  34773. "description": "授信金额",
  34774. "type": "number"
  34775. },
  34776. "decimalplace": {
  34777. "description": "商品报价小数位",
  34778. "type": "integer"
  34779. },
  34780. "enumdicname": {
  34781. "description": "单位名称",
  34782. "type": "string"
  34783. },
  34784. "gcaccountid": {
  34785. "description": "账户ID[合约币种]",
  34786. "type": "integer"
  34787. },
  34788. "goodscode": {
  34789. "description": "商品代码",
  34790. "type": "string"
  34791. },
  34792. "goodsid": {
  34793. "description": "商品ID",
  34794. "type": "integer"
  34795. },
  34796. "goodsname": {
  34797. "description": "商品名称",
  34798. "type": "string"
  34799. },
  34800. "goodunitid": {
  34801. "description": "商品单位id",
  34802. "type": "integer"
  34803. },
  34804. "histradedate": {
  34805. "description": "历史交易日",
  34806. "type": "string"
  34807. },
  34808. "intclosepl": {
  34809. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  34810. "type": "integer"
  34811. },
  34812. "isconfirmexercise": {
  34813. "description": "是否确认行权- 0:否 1:是",
  34814. "type": "integer"
  34815. },
  34816. "ismain": {
  34817. "description": "是否主单 - 0:不是 1:是",
  34818. "type": "integer"
  34819. },
  34820. "ispreexercise": {
  34821. "description": "是否预申报- 0:否 1:是",
  34822. "type": "integer"
  34823. },
  34824. "isreckoned": {
  34825. "description": "是否结算 - 0:未结算 1:已结算",
  34826. "type": "integer"
  34827. },
  34828. "isvaliddata": {
  34829. "description": "是否有效 - 0:无效 1:有效",
  34830. "type": "integer"
  34831. },
  34832. "listingselecttype": {
  34833. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34834. "type": "integer"
  34835. },
  34836. "marketid": {
  34837. "description": "市场ID",
  34838. "type": "integer"
  34839. },
  34840. "marketname": {
  34841. "description": "市场名称",
  34842. "type": "string"
  34843. },
  34844. "matchaccountid": {
  34845. "description": "对手账号id",
  34846. "type": "integer"
  34847. },
  34848. "memberuserid": {
  34849. "description": "会员id 个人投资者 需要填写",
  34850. "type": "integer"
  34851. },
  34852. "opencharge": {
  34853. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34854. "type": "number"
  34855. },
  34856. "openexchagechargevalue": {
  34857. "description": "建仓交易所手续费设置值",
  34858. "type": "number"
  34859. },
  34860. "openfeealgorithm": {
  34861. "description": "建仓手续费收取方式 1:比率 2:固定",
  34862. "type": "integer"
  34863. },
  34864. "openmemberchargevalue": {
  34865. "description": "建仓会员手续费设置值",
  34866. "type": "number"
  34867. },
  34868. "openqty": {
  34869. "description": "开仓数量(先建后平操作 需要记录)",
  34870. "type": "number"
  34871. },
  34872. "optiontype": {
  34873. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34874. "type": "integer"
  34875. },
  34876. "orderid": {
  34877. "description": "委托单号",
  34878. "type": "string"
  34879. },
  34880. "payamount": {
  34881. "description": "支付金额(付款金额)",
  34882. "type": "number"
  34883. },
  34884. "performanceplanid": {
  34885. "description": "履约计划ID[期权]",
  34886. "type": "integer"
  34887. },
  34888. "performancestatus": {
  34889. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  34890. "type": "integer"
  34891. },
  34892. "preexerciseprice": {
  34893. "description": "预申报价格",
  34894. "type": "number"
  34895. },
  34896. "premium": {
  34897. "description": "权利金 - [持仓单的权利金]",
  34898. "type": "number"
  34899. },
  34900. "qtydecimalplace": {
  34901. "description": "商品报价小数位",
  34902. "type": "integer"
  34903. },
  34904. "recvamount": {
  34905. "description": "到账金额 = 成交金额 - 手续费",
  34906. "type": "number"
  34907. },
  34908. "relatedouttradeid": {
  34909. "description": "关联外部成交单ID",
  34910. "type": "integer"
  34911. },
  34912. "status": {
  34913. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  34914. "type": "integer"
  34915. },
  34916. "totalamount": {
  34917. "description": "订单总额 = 成交金额 + 手续费",
  34918. "type": "number"
  34919. },
  34920. "tradeamount": {
  34921. "description": "成交金额[账户币种,用于所有权]",
  34922. "type": "number"
  34923. },
  34924. "tradedate": {
  34925. "description": "交易日(yyyyMMdd)",
  34926. "type": "string"
  34927. },
  34928. "tradeid": {
  34929. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34930. "type": "string"
  34931. },
  34932. "trademode": {
  34933. "description": "交易模式",
  34934. "type": "integer"
  34935. },
  34936. "tradeprice": {
  34937. "description": "成交价格",
  34938. "type": "number"
  34939. },
  34940. "tradeproperty": {
  34941. "description": "交易属性",
  34942. "type": "integer"
  34943. },
  34944. "tradeqty": {
  34945. "description": "成交数量",
  34946. "type": "number"
  34947. },
  34948. "tradetime": {
  34949. "description": "成交时间",
  34950. "type": "string"
  34951. },
  34952. "tradetype": {
  34953. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  34954. "type": "integer"
  34955. }
  34956. }
  34957. },
  34958. "order.QueryHisTradeOrderDetailRsp": {
  34959. "type": "object",
  34960. "required": [
  34961. "accountid",
  34962. "buildtype",
  34963. "buyorsell",
  34964. "goodsid",
  34965. "histradedate",
  34966. "marketid",
  34967. "memberuserid",
  34968. "operatetype",
  34969. "orderid",
  34970. "orderqty",
  34971. "ordertime",
  34972. "pricemode",
  34973. "tradedate",
  34974. "validtype"
  34975. ],
  34976. "properties": {
  34977. "accountid": {
  34978. "description": "账户ID[报价币种]",
  34979. "type": "integer"
  34980. },
  34981. "buildtype": {
  34982. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  34983. "type": "integer"
  34984. },
  34985. "buyorsell": {
  34986. "description": "买卖 - 0:买 1:卖",
  34987. "type": "integer"
  34988. },
  34989. "cancelorderid": {
  34990. "description": "撤单单号(撤单时填写)",
  34991. "type": "string"
  34992. },
  34993. "cancelqty": {
  34994. "description": "撤单数量",
  34995. "type": "number"
  34996. },
  34997. "clientordertime": {
  34998. "description": "客户端委托时间",
  34999. "type": "string"
  35000. },
  35001. "clientticket": {
  35002. "description": "客户端流水号",
  35003. "type": "string"
  35004. },
  35005. "clienttype": {
  35006. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35007. "type": "integer"
  35008. },
  35009. "closeexchagechargevalue": {
  35010. "description": "平仓交易所手续费设置值",
  35011. "type": "number"
  35012. },
  35013. "closefeealgorithm": {
  35014. "description": "平仓手续费收取方式 1:比率 2:固定",
  35015. "type": "integer"
  35016. },
  35017. "closefreezecharge": {
  35018. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  35019. "type": "number"
  35020. },
  35021. "closememberchargevalue": {
  35022. "description": "平仓会员手续费设置值",
  35023. "type": "number"
  35024. },
  35025. "closeqty": {
  35026. "description": "平仓数量(先建后平操作 需要记录)",
  35027. "type": "number"
  35028. },
  35029. "closetradeqty": {
  35030. "description": "平仓成交数量(先建后平操作,需要记录)",
  35031. "type": "number"
  35032. },
  35033. "closeunfreezecharge": {
  35034. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  35035. "type": "number"
  35036. },
  35037. "decimalplace": {
  35038. "description": "商品报价小数位",
  35039. "type": "integer"
  35040. },
  35041. "delistingtype": {
  35042. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  35043. "type": "integer"
  35044. },
  35045. "enumdicname": {
  35046. "description": "单位名称",
  35047. "type": "string"
  35048. },
  35049. "freezecharge": {
  35050. "description": "冻结手续费",
  35051. "type": "number"
  35052. },
  35053. "freezemargin": {
  35054. "description": "冻结保证金(冻结交易金额)",
  35055. "type": "number"
  35056. },
  35057. "gcaccountid": {
  35058. "description": "账户ID[合约币种]",
  35059. "type": "integer"
  35060. },
  35061. "goodscode": {
  35062. "description": "商品代码",
  35063. "type": "string"
  35064. },
  35065. "goodsid": {
  35066. "description": "商品ID",
  35067. "type": "integer"
  35068. },
  35069. "goodsname": {
  35070. "description": "商品名称",
  35071. "type": "string"
  35072. },
  35073. "goodunitid": {
  35074. "description": "商品单位id",
  35075. "type": "integer"
  35076. },
  35077. "histradedate": {
  35078. "description": "历史交易日",
  35079. "type": "string"
  35080. },
  35081. "isconfirmexercise": {
  35082. "description": "是否确认行权- 0:否 1:是",
  35083. "type": "integer"
  35084. },
  35085. "ispreexercise": {
  35086. "description": "是否预申报- 0:否 1:是",
  35087. "type": "integer"
  35088. },
  35089. "isvaliddata": {
  35090. "description": "是否有效 - 0:无效 1:有效",
  35091. "type": "integer"
  35092. },
  35093. "listingselecttype": {
  35094. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35095. "type": "integer"
  35096. },
  35097. "marginalgorithm": {
  35098. "description": "保证金收取方式 1:比率 2:固定",
  35099. "type": "integer"
  35100. },
  35101. "marginvalue": {
  35102. "description": "即市保证金设置值",
  35103. "type": "number"
  35104. },
  35105. "marketid": {
  35106. "description": "市场ID",
  35107. "type": "integer"
  35108. },
  35109. "marketmaxsub": {
  35110. "description": "市价最大偏移范围",
  35111. "type": "number"
  35112. },
  35113. "marketname": {
  35114. "description": "市场名称",
  35115. "type": "string"
  35116. },
  35117. "memberuserid": {
  35118. "description": "所属会员UserID",
  35119. "type": "integer"
  35120. },
  35121. "openexchagechargevalue": {
  35122. "description": "建仓交易所手续费设置值",
  35123. "type": "number"
  35124. },
  35125. "openfeealgorithm": {
  35126. "description": "建仓手续费收取方式 1:比率 2:固定",
  35127. "type": "integer"
  35128. },
  35129. "openfreezecharge": {
  35130. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  35131. "type": "number"
  35132. },
  35133. "openmemberchargevalue": {
  35134. "description": "建仓会员手续费设置值",
  35135. "type": "number"
  35136. },
  35137. "openqty": {
  35138. "description": "开仓数量(先建后平操作,需要记录)",
  35139. "type": "number"
  35140. },
  35141. "opentradeqty": {
  35142. "description": "开仓成交数量(先建后平操作,需要记录)",
  35143. "type": "number"
  35144. },
  35145. "openunfreezecharge": {
  35146. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  35147. "type": "number"
  35148. },
  35149. "operatetype": {
  35150. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  35151. "type": "integer"
  35152. },
  35153. "operatorid": {
  35154. "description": "登录账号(LoginID)",
  35155. "type": "integer"
  35156. },
  35157. "optiontype": {
  35158. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35159. "type": "integer"
  35160. },
  35161. "orderid": {
  35162. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35163. "type": "string"
  35164. },
  35165. "orderprice": {
  35166. "description": "委托价格",
  35167. "type": "number"
  35168. },
  35169. "orderqty": {
  35170. "description": "委托数量",
  35171. "type": "number"
  35172. },
  35173. "ordersrc": {
  35174. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  35175. "type": "integer"
  35176. },
  35177. "orderstatus": {
  35178. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35179. "type": "integer"
  35180. },
  35181. "ordertime": {
  35182. "description": "委托时间",
  35183. "type": "string"
  35184. },
  35185. "preexerciseprice": {
  35186. "description": "预申报价格",
  35187. "type": "number"
  35188. },
  35189. "premium": {
  35190. "description": "权利金",
  35191. "type": "number"
  35192. },
  35193. "preorderid": {
  35194. "description": "关联预埋单号(止盈止损单时填写)",
  35195. "type": "string"
  35196. },
  35197. "pricemode": {
  35198. "description": "取价方式 - 1:市价 2: 限价",
  35199. "type": "integer"
  35200. },
  35201. "qtydecimalplace": {
  35202. "description": "成交量小数位",
  35203. "type": "integer"
  35204. },
  35205. "quoteid": {
  35206. "description": "报价单ID",
  35207. "type": "integer"
  35208. },
  35209. "relatedid": {
  35210. "description": "关联单号(交割单)",
  35211. "type": "string"
  35212. },
  35213. "retcode": {
  35214. "description": "错误代码",
  35215. "type": "integer"
  35216. },
  35217. "sessionid": {
  35218. "description": "会话ID",
  35219. "type": "integer"
  35220. },
  35221. "tradedate": {
  35222. "description": "交易日(yyyyMMdd)",
  35223. "type": "string"
  35224. },
  35225. "trademode": {
  35226. "description": "交易模式",
  35227. "type": "integer"
  35228. },
  35229. "tradeproperty": {
  35230. "description": "交易属性",
  35231. "type": "integer"
  35232. },
  35233. "tradeqty": {
  35234. "description": "成交数量",
  35235. "type": "number"
  35236. },
  35237. "unfreezecharge": {
  35238. "description": "解冻手续费",
  35239. "type": "number"
  35240. },
  35241. "unfreezemargin": {
  35242. "description": "解冻保证金",
  35243. "type": "number"
  35244. },
  35245. "updatetime": {
  35246. "description": "更新时间",
  35247. "type": "string"
  35248. },
  35249. "uuid": {
  35250. "description": "发起端唯一id",
  35251. "type": "string"
  35252. },
  35253. "validtime": {
  35254. "description": "有效期限",
  35255. "type": "string"
  35256. },
  35257. "validtype": {
  35258. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  35259. "type": "integer"
  35260. },
  35261. "volumetype": {
  35262. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  35263. "type": "integer"
  35264. }
  35265. }
  35266. },
  35267. "order.QueryTradeDetailRsp": {
  35268. "type": "object",
  35269. "required": [
  35270. "accountid",
  35271. "buyorsell",
  35272. "goodsid",
  35273. "marketid",
  35274. "memberuserid",
  35275. "orderid",
  35276. "tradeamount",
  35277. "tradedate",
  35278. "tradeid",
  35279. "tradeprice",
  35280. "tradeqty",
  35281. "tradetime"
  35282. ],
  35283. "properties": {
  35284. "accountid": {
  35285. "description": "账户ID[报价币种]",
  35286. "type": "integer"
  35287. },
  35288. "advanceratio": {
  35289. "description": "首付比率",
  35290. "type": "number"
  35291. },
  35292. "buildtype": {
  35293. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  35294. "type": "integer"
  35295. },
  35296. "buyorsell": {
  35297. "description": "方向 - 0:买 1:卖",
  35298. "type": "integer"
  35299. },
  35300. "charge": {
  35301. "description": "手续费",
  35302. "type": "number"
  35303. },
  35304. "closecharge": {
  35305. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35306. "type": "number"
  35307. },
  35308. "closeexchagechargevalue": {
  35309. "description": "平仓交易所手续费设置值",
  35310. "type": "number"
  35311. },
  35312. "closefeealgorithm": {
  35313. "description": "平仓手续费收取方式 1:比率 2:固定",
  35314. "type": "integer"
  35315. },
  35316. "closememberchargevalue": {
  35317. "description": "平仓会员手续费设置值",
  35318. "type": "number"
  35319. },
  35320. "closepl": {
  35321. "description": "平仓盈亏",
  35322. "type": "number"
  35323. },
  35324. "closepl2": {
  35325. "description": "平仓盈亏[逐笔]",
  35326. "type": "number"
  35327. },
  35328. "closeqty": {
  35329. "description": "平仓数量(先建后平操作 需要记录)",
  35330. "type": "number"
  35331. },
  35332. "creditamount": {
  35333. "description": "授信金额",
  35334. "type": "number"
  35335. },
  35336. "decimalplace": {
  35337. "description": "商品报价小数位",
  35338. "type": "integer"
  35339. },
  35340. "enumdicname": {
  35341. "description": "单位名称",
  35342. "type": "string"
  35343. },
  35344. "gcaccountid": {
  35345. "description": "账户ID[合约币种]",
  35346. "type": "integer"
  35347. },
  35348. "goodscode": {
  35349. "description": "商品代码",
  35350. "type": "string"
  35351. },
  35352. "goodsid": {
  35353. "description": "商品ID",
  35354. "type": "integer"
  35355. },
  35356. "goodsname": {
  35357. "description": "商品名称",
  35358. "type": "string"
  35359. },
  35360. "goodunitid": {
  35361. "description": "商品单位id",
  35362. "type": "integer"
  35363. },
  35364. "intclosepl": {
  35365. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  35366. "type": "integer"
  35367. },
  35368. "isconfirmexercise": {
  35369. "description": "是否确认行权- 0:否 1:是",
  35370. "type": "integer"
  35371. },
  35372. "ismain": {
  35373. "description": "是否主单 - 0:不是 1:是",
  35374. "type": "integer"
  35375. },
  35376. "ispreexercise": {
  35377. "description": "是否预申报- 0:否 1:是",
  35378. "type": "integer"
  35379. },
  35380. "isreckoned": {
  35381. "description": "是否结算 - 0:未结算 1:已结算",
  35382. "type": "integer"
  35383. },
  35384. "listingselecttype": {
  35385. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35386. "type": "integer"
  35387. },
  35388. "marketid": {
  35389. "description": "市场ID",
  35390. "type": "integer"
  35391. },
  35392. "marketname": {
  35393. "description": "市场名称",
  35394. "type": "string"
  35395. },
  35396. "matchaccountid": {
  35397. "description": "对手账号id",
  35398. "type": "integer"
  35399. },
  35400. "memberuserid": {
  35401. "description": "会员id 个人投资者 需要填写",
  35402. "type": "integer"
  35403. },
  35404. "opencharge": {
  35405. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35406. "type": "number"
  35407. },
  35408. "openexchagechargevalue": {
  35409. "description": "建仓交易所手续费设置值",
  35410. "type": "number"
  35411. },
  35412. "openfeealgorithm": {
  35413. "description": "建仓手续费收取方式 1:比率 2:固定",
  35414. "type": "integer"
  35415. },
  35416. "openmemberchargevalue": {
  35417. "description": "建仓会员手续费设置值",
  35418. "type": "number"
  35419. },
  35420. "openqty": {
  35421. "description": "开仓数量(先建后平操作 需要记录)",
  35422. "type": "number"
  35423. },
  35424. "optiontype": {
  35425. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35426. "type": "integer"
  35427. },
  35428. "orderid": {
  35429. "description": "委托单号",
  35430. "type": "string"
  35431. },
  35432. "payamount": {
  35433. "description": "支付金额(付款金额)",
  35434. "type": "number"
  35435. },
  35436. "performanceplanid": {
  35437. "description": "履约计划ID[期权]",
  35438. "type": "integer"
  35439. },
  35440. "performancestatus": {
  35441. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  35442. "type": "integer"
  35443. },
  35444. "preexerciseprice": {
  35445. "description": "预申报价格",
  35446. "type": "number"
  35447. },
  35448. "premium": {
  35449. "description": "权利金 - [持仓单的权利金]",
  35450. "type": "number"
  35451. },
  35452. "qtydecimalplace": {
  35453. "description": "商品报价小数位",
  35454. "type": "integer"
  35455. },
  35456. "recvamount": {
  35457. "description": "到账金额 = 成交金额 - 手续费",
  35458. "type": "number"
  35459. },
  35460. "relatedouttradeid": {
  35461. "description": "关联外部成交单ID",
  35462. "type": "integer"
  35463. },
  35464. "status": {
  35465. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  35466. "type": "integer"
  35467. },
  35468. "totalamount": {
  35469. "description": "订单总额 = 成交金额 + 手续费",
  35470. "type": "number"
  35471. },
  35472. "tradeamount": {
  35473. "description": "成交金额[账户币种,用于所有权]",
  35474. "type": "number"
  35475. },
  35476. "tradedate": {
  35477. "description": "交易日(yyyyMMdd)",
  35478. "type": "string"
  35479. },
  35480. "tradeid": {
  35481. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35482. "type": "string"
  35483. },
  35484. "trademode": {
  35485. "description": "交易模式",
  35486. "type": "integer"
  35487. },
  35488. "tradeprice": {
  35489. "description": "成交价格",
  35490. "type": "number"
  35491. },
  35492. "tradeproperty": {
  35493. "description": "交易属性",
  35494. "type": "integer"
  35495. },
  35496. "tradeqty": {
  35497. "description": "成交数量",
  35498. "type": "number"
  35499. },
  35500. "tradetime": {
  35501. "description": "成交时间",
  35502. "type": "string"
  35503. },
  35504. "tradetype": {
  35505. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  35506. "type": "integer"
  35507. }
  35508. }
  35509. },
  35510. "order.QueryTradeOrderDetailRsp": {
  35511. "type": "object",
  35512. "required": [
  35513. "accountid",
  35514. "buildtype",
  35515. "buyorsell",
  35516. "goodsid",
  35517. "marketid",
  35518. "operatetype",
  35519. "orderqty",
  35520. "ordertime",
  35521. "pricemode",
  35522. "tradedate",
  35523. "validtype"
  35524. ],
  35525. "properties": {
  35526. "accountid": {
  35527. "description": "账户ID[报价币种]",
  35528. "type": "integer"
  35529. },
  35530. "buildtype": {
  35531. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  35532. "type": "integer"
  35533. },
  35534. "buyorsell": {
  35535. "description": "买卖 - 0:买 1:卖",
  35536. "type": "integer"
  35537. },
  35538. "cancelorderid": {
  35539. "description": "撤单单号(撤单时填写)",
  35540. "type": "string"
  35541. },
  35542. "cancelqty": {
  35543. "description": "撤单数量",
  35544. "type": "number"
  35545. },
  35546. "clienttype": {
  35547. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35548. "type": "integer"
  35549. },
  35550. "closefreezecharge": {
  35551. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  35552. "type": "number"
  35553. },
  35554. "closeqty": {
  35555. "description": "平仓数量(先建后平操作 需要记录)",
  35556. "type": "number"
  35557. },
  35558. "closetradeqty": {
  35559. "description": "平仓成交数量(先建后平操作,需要记录)",
  35560. "type": "number"
  35561. },
  35562. "closeunfreezecharge": {
  35563. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  35564. "type": "number"
  35565. },
  35566. "decimalplace": {
  35567. "description": "商品报价小数位",
  35568. "type": "integer"
  35569. },
  35570. "delistingtype": {
  35571. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  35572. "type": "integer"
  35573. },
  35574. "enableqty": {
  35575. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  35576. "type": "number"
  35577. },
  35578. "enumdicname": {
  35579. "description": "单位名称",
  35580. "type": "string"
  35581. },
  35582. "freezecharge": {
  35583. "description": "冻结手续费",
  35584. "type": "number"
  35585. },
  35586. "freezemargin": {
  35587. "description": "冻结保证金(冻结交易金额)",
  35588. "type": "number"
  35589. },
  35590. "goodscode": {
  35591. "description": "商品代码",
  35592. "type": "string"
  35593. },
  35594. "goodsid": {
  35595. "description": "商品ID",
  35596. "type": "integer"
  35597. },
  35598. "goodsname": {
  35599. "description": "商品名称",
  35600. "type": "string"
  35601. },
  35602. "goodunitid": {
  35603. "description": "商品单位id",
  35604. "type": "integer"
  35605. },
  35606. "listingselecttype": {
  35607. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35608. "type": "integer"
  35609. },
  35610. "marketid": {
  35611. "description": "市场ID",
  35612. "type": "integer"
  35613. },
  35614. "marketname": {
  35615. "description": "市场名称",
  35616. "type": "string"
  35617. },
  35618. "openfreezecharge": {
  35619. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  35620. "type": "number"
  35621. },
  35622. "openqty": {
  35623. "description": "开仓数量(先建后平操作,需要记录)",
  35624. "type": "number"
  35625. },
  35626. "opentradeqty": {
  35627. "description": "开仓成交数量(先建后平操作,需要记录)",
  35628. "type": "number"
  35629. },
  35630. "openunfreezecharge": {
  35631. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  35632. "type": "number"
  35633. },
  35634. "operatetype": {
  35635. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  35636. "type": "integer"
  35637. },
  35638. "operatorid": {
  35639. "description": "登录账号(LoginID)",
  35640. "type": "integer"
  35641. },
  35642. "orderid": {
  35643. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35644. "type": "string"
  35645. },
  35646. "orderprice": {
  35647. "description": "委托价格",
  35648. "type": "number"
  35649. },
  35650. "orderqty": {
  35651. "description": "委托数量",
  35652. "type": "number"
  35653. },
  35654. "ordersrc": {
  35655. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  35656. "type": "integer"
  35657. },
  35658. "orderstatus": {
  35659. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35660. "type": "integer"
  35661. },
  35662. "ordertime": {
  35663. "description": "委托时间",
  35664. "type": "string"
  35665. },
  35666. "preorderid": {
  35667. "description": "关联预埋单号(止盈止损单时填写)",
  35668. "type": "string"
  35669. },
  35670. "pricemode": {
  35671. "description": "取价方式 - 1:市价 2: 限价",
  35672. "type": "integer"
  35673. },
  35674. "qtydecimalplace": {
  35675. "description": "商品报价小数位",
  35676. "type": "integer"
  35677. },
  35678. "relatedid": {
  35679. "description": "关联单号(交割单)",
  35680. "type": "string"
  35681. },
  35682. "tradedate": {
  35683. "description": "交易日(yyyyMMdd)",
  35684. "type": "string"
  35685. },
  35686. "trademode": {
  35687. "description": "交易模式",
  35688. "type": "integer"
  35689. },
  35690. "tradeqty": {
  35691. "description": "成交数量",
  35692. "type": "number"
  35693. },
  35694. "unfreezecharge": {
  35695. "description": "解冻手续费",
  35696. "type": "number"
  35697. },
  35698. "unfreezemargin": {
  35699. "description": "解冻保证金",
  35700. "type": "number"
  35701. },
  35702. "validtime": {
  35703. "description": "有效期限",
  35704. "type": "string"
  35705. },
  35706. "validtype": {
  35707. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  35708. "type": "integer"
  35709. },
  35710. "volumetype": {
  35711. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  35712. "type": "integer"
  35713. }
  35714. }
  35715. },
  35716. "order.QueryTradePositionRsp": {
  35717. "type": "object",
  35718. "required": [
  35719. "goodsid"
  35720. ],
  35721. "properties": {
  35722. "accountid": {
  35723. "description": "资金账户",
  35724. "type": "integer"
  35725. },
  35726. "agreeunit": {
  35727. "description": "合约单位",
  35728. "type": "number"
  35729. },
  35730. "averageprice": {
  35731. "description": "持仓均价",
  35732. "type": "number"
  35733. },
  35734. "buyorsell": {
  35735. "description": "方向 - 0:买 1:卖",
  35736. "type": "integer"
  35737. },
  35738. "closetotalqty": {
  35739. "description": "平仓总数量",
  35740. "type": "number"
  35741. },
  35742. "curholderamount": {
  35743. "description": "当前持仓总金额[商品币种]",
  35744. "type": "number"
  35745. },
  35746. "curpositionqty": {
  35747. "description": "当前持仓总数量",
  35748. "type": "number"
  35749. },
  35750. "currencyid": {
  35751. "description": "报价货币ID",
  35752. "type": "integer"
  35753. },
  35754. "curtdposition": {
  35755. "description": "期末今日头寸",
  35756. "type": "number"
  35757. },
  35758. "decimalplace": {
  35759. "description": "报价小数位",
  35760. "type": "integer"
  35761. },
  35762. "enableqty": {
  35763. "description": "可用量",
  35764. "type": "number"
  35765. },
  35766. "fretdposition": {
  35767. "description": "冻结今日头寸",
  35768. "type": "number"
  35769. },
  35770. "frozenqty": {
  35771. "description": "持仓冻结数量",
  35772. "type": "number"
  35773. },
  35774. "goodscode": {
  35775. "description": "商品代码",
  35776. "type": "string"
  35777. },
  35778. "goodsid": {
  35779. "description": "商品Id",
  35780. "type": "integer"
  35781. },
  35782. "goodsname": {
  35783. "description": "商品名称",
  35784. "type": "string"
  35785. },
  35786. "goodunit": {
  35787. "description": "报价单位",
  35788. "type": "string"
  35789. },
  35790. "goodunitid": {
  35791. "description": "报价单位ID",
  35792. "type": "integer"
  35793. },
  35794. "holderamount": {
  35795. "description": "期初持仓总金额[商品币种]",
  35796. "type": "number"
  35797. },
  35798. "lastprice": {
  35799. "description": "最新价",
  35800. "type": "number"
  35801. },
  35802. "marketamount": {
  35803. "description": "市值",
  35804. "type": "number"
  35805. },
  35806. "marketid": {
  35807. "description": "所属市场ID",
  35808. "type": "integer"
  35809. },
  35810. "openreqqty": {
  35811. "description": "开仓申请数量(用于比较最大持仓数量)",
  35812. "type": "number"
  35813. },
  35814. "opentotalqty": {
  35815. "description": "开仓总数量",
  35816. "type": "number"
  35817. },
  35818. "otherfrozenqty": {
  35819. "description": "持仓其他冻结数量(交割冻结)",
  35820. "type": "number"
  35821. },
  35822. "positionpl": {
  35823. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  35824. "type": "number"
  35825. },
  35826. "positionplrate": {
  35827. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  35828. "type": "number"
  35829. },
  35830. "positionqty": {
  35831. "description": "期初持仓数量",
  35832. "type": "number"
  35833. },
  35834. "qtydecimalplace": {
  35835. "description": "成交量小数位",
  35836. "type": "integer"
  35837. },
  35838. "tnqty": {
  35839. "description": "T+N冻结总量",
  35840. "type": "number"
  35841. },
  35842. "tnusedqty": {
  35843. "description": "T+N使用量(可以使用T+N的冻结数量)",
  35844. "type": "number"
  35845. },
  35846. "trademode": {
  35847. "description": "交易模式",
  35848. "type": "integer"
  35849. },
  35850. "usedmargin": {
  35851. "description": "占用保证金[商品币种]",
  35852. "type": "number"
  35853. }
  35854. }
  35855. },
  35856. "pb.GoodsMarginCfgStruct": {
  35857. "type": "object",
  35858. "properties": {
  35859. "CustomerTypeID": {
  35860. "description": "投资者客户类型",
  35861. "type": "integer"
  35862. },
  35863. "GoodsID": {
  35864. "description": "商品ID",
  35865. "type": "integer"
  35866. },
  35867. "IsDefault": {
  35868. "description": "是否默认标志位",
  35869. "type": "integer"
  35870. },
  35871. "LockMarginValue": {
  35872. "description": "锁仓保证金",
  35873. "type": "number"
  35874. },
  35875. "MarginAlgorithm": {
  35876. "description": "保证金计算方式",
  35877. "type": "integer"
  35878. },
  35879. "MarketMarginValue": {
  35880. "description": "即市保证金值",
  35881. "type": "number"
  35882. },
  35883. "RealMarginAlgorithm": {
  35884. "description": "实付保证金计算方式",
  35885. "type": "integer"
  35886. },
  35887. "RealMarginValue": {
  35888. "description": "实付比例",
  35889. "type": "number"
  35890. },
  35891. "ReckonMarginValue": {
  35892. "description": "结算保证金值",
  35893. "type": "number"
  35894. }
  35895. }
  35896. },
  35897. "quote.HistoryData": {
  35898. "type": "object",
  35899. "properties": {
  35900. "c": {
  35901. "description": "收盘价",
  35902. "type": "number"
  35903. },
  35904. "f": {
  35905. "description": "是否补充数据",
  35906. "type": "boolean"
  35907. },
  35908. "h": {
  35909. "description": "最高价",
  35910. "type": "number"
  35911. },
  35912. "hv": {
  35913. "description": "持仓量",
  35914. "type": "integer"
  35915. },
  35916. "l": {
  35917. "description": "最低价",
  35918. "type": "number"
  35919. },
  35920. "o": {
  35921. "description": "开盘价",
  35922. "type": "number"
  35923. },
  35924. "s": {
  35925. "description": "结算价,日线周期(包括)以上才有",
  35926. "type": "number"
  35927. },
  35928. "ts": {
  35929. "description": "时间",
  35930. "type": "string"
  35931. },
  35932. "tt": {
  35933. "description": "总金额",
  35934. "type": "number"
  35935. },
  35936. "tv": {
  35937. "description": "总量",
  35938. "type": "integer"
  35939. }
  35940. }
  35941. },
  35942. "quote.HistoryTikData": {
  35943. "type": "object",
  35944. "properties": {
  35945. "AV": {
  35946. "description": "卖量",
  35947. "type": "integer"
  35948. },
  35949. "Ask": {
  35950. "description": "卖价",
  35951. "type": "number"
  35952. },
  35953. "BV": {
  35954. "description": "买量",
  35955. "type": "integer"
  35956. },
  35957. "Bid": {
  35958. "description": "买价",
  35959. "type": "number"
  35960. },
  35961. "HI": {
  35962. "description": "单笔持仓",
  35963. "type": "integer"
  35964. },
  35965. "HV": {
  35966. "description": "持仓量",
  35967. "type": "integer"
  35968. },
  35969. "PE": {
  35970. "description": "现价",
  35971. "type": "number"
  35972. },
  35973. "TDR": {
  35974. "description": "交易方向,0:买 1:卖",
  35975. "type": "integer"
  35976. },
  35977. "TK": {
  35978. "description": "交易类型",
  35979. "type": "integer"
  35980. },
  35981. "TS": {
  35982. "description": "行情时间文本",
  35983. "type": "string"
  35984. },
  35985. "TT": {
  35986. "description": "现金额",
  35987. "type": "number"
  35988. },
  35989. "Vol": {
  35990. "description": "现量",
  35991. "type": "integer"
  35992. }
  35993. }
  35994. },
  35995. "quote.QueryQuoteDayRsp": {
  35996. "type": "object",
  35997. "properties": {
  35998. "ask": {
  35999. "description": "卖1",
  36000. "type": "number"
  36001. },
  36002. "ask10": {
  36003. "description": "卖10",
  36004. "type": "number"
  36005. },
  36006. "ask2": {
  36007. "description": "卖2",
  36008. "type": "number"
  36009. },
  36010. "ask3": {
  36011. "description": "卖3",
  36012. "type": "number"
  36013. },
  36014. "ask4": {
  36015. "description": "卖4",
  36016. "type": "number"
  36017. },
  36018. "ask5": {
  36019. "description": "卖5",
  36020. "type": "number"
  36021. },
  36022. "ask6": {
  36023. "description": "卖6",
  36024. "type": "number"
  36025. },
  36026. "ask7": {
  36027. "description": "卖7",
  36028. "type": "number"
  36029. },
  36030. "ask8": {
  36031. "description": "卖8",
  36032. "type": "number"
  36033. },
  36034. "ask9": {
  36035. "description": "卖9",
  36036. "type": "number"
  36037. },
  36038. "askorderid": {
  36039. "description": "卖单号1",
  36040. "type": "integer"
  36041. },
  36042. "askorderid2": {
  36043. "description": "卖单号2",
  36044. "type": "integer"
  36045. },
  36046. "askorderid3": {
  36047. "description": "卖单号3",
  36048. "type": "integer"
  36049. },
  36050. "askorderid4": {
  36051. "description": "卖单号4",
  36052. "type": "integer"
  36053. },
  36054. "askorderid5": {
  36055. "description": "卖单号5",
  36056. "type": "integer"
  36057. },
  36058. "askordervolume": {
  36059. "description": "卖单量1",
  36060. "type": "integer"
  36061. },
  36062. "askordervolume10": {
  36063. "description": "卖单量10",
  36064. "type": "integer"
  36065. },
  36066. "askordervolume2": {
  36067. "description": "卖单量2",
  36068. "type": "integer"
  36069. },
  36070. "askordervolume3": {
  36071. "description": "卖单量3",
  36072. "type": "integer"
  36073. },
  36074. "askordervolume4": {
  36075. "description": "卖单量4",
  36076. "type": "integer"
  36077. },
  36078. "askordervolume5": {
  36079. "description": "卖单量5",
  36080. "type": "integer"
  36081. },
  36082. "askordervolume6": {
  36083. "description": "卖单量6",
  36084. "type": "integer"
  36085. },
  36086. "askordervolume7": {
  36087. "description": "卖单量7",
  36088. "type": "integer"
  36089. },
  36090. "askordervolume8": {
  36091. "description": "卖单量8",
  36092. "type": "integer"
  36093. },
  36094. "askordervolume9": {
  36095. "description": "卖单量9",
  36096. "type": "integer"
  36097. },
  36098. "askqueueinfo": {
  36099. "description": "大利市卖港股用",
  36100. "type": "string"
  36101. },
  36102. "askvolume": {
  36103. "description": "卖量1",
  36104. "type": "integer"
  36105. },
  36106. "askvolume10": {
  36107. "description": "卖量10",
  36108. "type": "integer"
  36109. },
  36110. "askvolume2": {
  36111. "description": "卖量2",
  36112. "type": "integer"
  36113. },
  36114. "askvolume3": {
  36115. "description": "卖量3",
  36116. "type": "integer"
  36117. },
  36118. "askvolume4": {
  36119. "description": "卖量4",
  36120. "type": "integer"
  36121. },
  36122. "askvolume5": {
  36123. "description": "卖量5",
  36124. "type": "integer"
  36125. },
  36126. "askvolume6": {
  36127. "description": "卖量6",
  36128. "type": "integer"
  36129. },
  36130. "askvolume7": {
  36131. "description": "卖量7",
  36132. "type": "integer"
  36133. },
  36134. "askvolume8": {
  36135. "description": "卖量8",
  36136. "type": "integer"
  36137. },
  36138. "askvolume9": {
  36139. "description": "卖量9",
  36140. "type": "integer"
  36141. },
  36142. "averageprice": {
  36143. "description": "均价",
  36144. "type": "number"
  36145. },
  36146. "bid": {
  36147. "description": "买1",
  36148. "type": "number"
  36149. },
  36150. "bid10": {
  36151. "description": "买10",
  36152. "type": "number"
  36153. },
  36154. "bid2": {
  36155. "description": "买2",
  36156. "type": "number"
  36157. },
  36158. "bid3": {
  36159. "description": "买3",
  36160. "type": "number"
  36161. },
  36162. "bid4": {
  36163. "description": "买4",
  36164. "type": "number"
  36165. },
  36166. "bid5": {
  36167. "description": "买5",
  36168. "type": "number"
  36169. },
  36170. "bid6": {
  36171. "description": "买6",
  36172. "type": "number"
  36173. },
  36174. "bid7": {
  36175. "description": "买7",
  36176. "type": "number"
  36177. },
  36178. "bid8": {
  36179. "description": "买8",
  36180. "type": "number"
  36181. },
  36182. "bid9": {
  36183. "description": "买9",
  36184. "type": "number"
  36185. },
  36186. "bidorderid": {
  36187. "description": "买单号1",
  36188. "type": "integer"
  36189. },
  36190. "bidorderid2": {
  36191. "description": "买单号2",
  36192. "type": "integer"
  36193. },
  36194. "bidorderid3": {
  36195. "description": "买单号3",
  36196. "type": "integer"
  36197. },
  36198. "bidorderid4": {
  36199. "description": "买单号4",
  36200. "type": "integer"
  36201. },
  36202. "bidorderid5": {
  36203. "description": "买单号5",
  36204. "type": "integer"
  36205. },
  36206. "bidordervolume": {
  36207. "description": "买单量1",
  36208. "type": "integer"
  36209. },
  36210. "bidordervolume10": {
  36211. "description": "买单量10",
  36212. "type": "integer"
  36213. },
  36214. "bidordervolume2": {
  36215. "description": "买单量2",
  36216. "type": "integer"
  36217. },
  36218. "bidordervolume3": {
  36219. "description": "买单量3",
  36220. "type": "integer"
  36221. },
  36222. "bidordervolume4": {
  36223. "description": "买单量4",
  36224. "type": "integer"
  36225. },
  36226. "bidordervolume5": {
  36227. "description": "买单量5",
  36228. "type": "integer"
  36229. },
  36230. "bidordervolume6": {
  36231. "description": "买单量6",
  36232. "type": "integer"
  36233. },
  36234. "bidordervolume7": {
  36235. "description": "买单量7",
  36236. "type": "integer"
  36237. },
  36238. "bidordervolume8": {
  36239. "description": "买单量8",
  36240. "type": "integer"
  36241. },
  36242. "bidordervolume9": {
  36243. "description": "买单量9",
  36244. "type": "integer"
  36245. },
  36246. "bidqueueinfo": {
  36247. "description": "大利市买港股用",
  36248. "type": "string"
  36249. },
  36250. "bidvolume": {
  36251. "description": "买量1",
  36252. "type": "integer"
  36253. },
  36254. "bidvolume10": {
  36255. "description": "买量10",
  36256. "type": "integer"
  36257. },
  36258. "bidvolume2": {
  36259. "description": "买量2",
  36260. "type": "integer"
  36261. },
  36262. "bidvolume3": {
  36263. "description": "买量3",
  36264. "type": "integer"
  36265. },
  36266. "bidvolume4": {
  36267. "description": "买量4",
  36268. "type": "integer"
  36269. },
  36270. "bidvolume5": {
  36271. "description": "买量5",
  36272. "type": "integer"
  36273. },
  36274. "bidvolume6": {
  36275. "description": "买量6",
  36276. "type": "integer"
  36277. },
  36278. "bidvolume7": {
  36279. "description": "买量7",
  36280. "type": "integer"
  36281. },
  36282. "bidvolume8": {
  36283. "description": "买量8",
  36284. "type": "integer"
  36285. },
  36286. "bidvolume9": {
  36287. "description": "买量9",
  36288. "type": "integer"
  36289. },
  36290. "calloptionpremiums": {
  36291. "description": "认购期权1",
  36292. "type": "integer"
  36293. },
  36294. "calloptionpremiums2": {
  36295. "description": "认购期权2",
  36296. "type": "integer"
  36297. },
  36298. "calloptionpremiums3": {
  36299. "description": "认购期权3",
  36300. "type": "integer"
  36301. },
  36302. "calloptionpremiums4": {
  36303. "description": "认购期权4",
  36304. "type": "integer"
  36305. },
  36306. "calloptionpremiums5": {
  36307. "description": "认购期权5",
  36308. "type": "integer"
  36309. },
  36310. "cleartime": {
  36311. "description": "清盘时间",
  36312. "type": "integer"
  36313. },
  36314. "exchangecode": {
  36315. "description": "交易所代码",
  36316. "type": "integer"
  36317. },
  36318. "exchangedate": {
  36319. "description": "交易日",
  36320. "type": "integer"
  36321. },
  36322. "goodscode": {
  36323. "description": "商品代码",
  36324. "type": "string"
  36325. },
  36326. "grepmarketprice": {
  36327. "description": "暗盘价 港股专用",
  36328. "type": "number"
  36329. },
  36330. "highest": {
  36331. "description": "最高价",
  36332. "type": "number"
  36333. },
  36334. "holdincrement": {
  36335. "description": "单笔持仓",
  36336. "type": "integer"
  36337. },
  36338. "holdvolume": {
  36339. "description": "持仓",
  36340. "type": "integer"
  36341. },
  36342. "iep": {
  36343. "description": "平衡价 港股专用",
  36344. "type": "number"
  36345. },
  36346. "iev": {
  36347. "description": "平衡量 港股专用",
  36348. "type": "number"
  36349. },
  36350. "inventory": {
  36351. "description": "库存",
  36352. "type": "integer"
  36353. },
  36354. "iscleared": {
  36355. "description": "是否清盘标志",
  36356. "type": "integer"
  36357. },
  36358. "issettled": {
  36359. "description": "是否结算标志",
  36360. "type": "integer"
  36361. },
  36362. "last": {
  36363. "description": "最新价",
  36364. "type": "number"
  36365. },
  36366. "lastlot": {
  36367. "description": "最新成交手数",
  36368. "type": "integer"
  36369. },
  36370. "lasttime": {
  36371. "description": "行情时间(只有现价变化行情时间才变化)",
  36372. "type": "string"
  36373. },
  36374. "lastturnover": {
  36375. "description": "最新成交金额",
  36376. "type": "number"
  36377. },
  36378. "lastvolume": {
  36379. "description": "最新成交量",
  36380. "type": "integer"
  36381. },
  36382. "limitdown": {
  36383. "description": "跌停价",
  36384. "type": "number"
  36385. },
  36386. "limitup": {
  36387. "description": "涨停价",
  36388. "type": "number"
  36389. },
  36390. "lowest": {
  36391. "description": "最低价",
  36392. "type": "number"
  36393. },
  36394. "nontotalholdervolume": {
  36395. "description": "非交易持仓量",
  36396. "type": "integer"
  36397. },
  36398. "nontotallot": {
  36399. "description": "非交易总手数",
  36400. "type": "integer"
  36401. },
  36402. "nontotalturnover": {
  36403. "description": "非交易总金额",
  36404. "type": "integer"
  36405. },
  36406. "nontotalvolume": {
  36407. "description": "非交易总量",
  36408. "type": "integer"
  36409. },
  36410. "opened": {
  36411. "description": "开盘价",
  36412. "type": "number"
  36413. },
  36414. "opentime": {
  36415. "description": "开盘时间",
  36416. "type": "string"
  36417. },
  36418. "orderid": {
  36419. "description": "序号",
  36420. "type": "integer"
  36421. },
  36422. "preclose": {
  36423. "description": "昨收",
  36424. "type": "number"
  36425. },
  36426. "preholdvolume": {
  36427. "description": "昨持仓",
  36428. "type": "integer"
  36429. },
  36430. "presettle": {
  36431. "description": "昨结价",
  36432. "type": "number"
  36433. },
  36434. "publictradetype": {
  36435. "description": "公共交易标志类型 港股专用",
  36436. "type": "string"
  36437. },
  36438. "putoptionpremiums": {
  36439. "description": "认沽期权1",
  36440. "type": "integer"
  36441. },
  36442. "putoptionpremiums2": {
  36443. "description": "认沽期权2",
  36444. "type": "integer"
  36445. },
  36446. "putoptionpremiums3": {
  36447. "description": "认沽期权3",
  36448. "type": "integer"
  36449. },
  36450. "putoptionpremiums4": {
  36451. "description": "认沽期权4",
  36452. "type": "integer"
  36453. },
  36454. "putoptionpremiums5": {
  36455. "description": "认沽期权5",
  36456. "type": "integer"
  36457. },
  36458. "settle": {
  36459. "description": "结算价",
  36460. "type": "number"
  36461. },
  36462. "strikeprice": {
  36463. "description": "发行价",
  36464. "type": "number"
  36465. },
  36466. "totalaskvolume": {
  36467. "description": "内盘",
  36468. "type": "integer"
  36469. },
  36470. "totalbidvolume": {
  36471. "description": "外盘",
  36472. "type": "integer"
  36473. },
  36474. "totallot": {
  36475. "description": "总手数",
  36476. "type": "integer"
  36477. },
  36478. "totalturnover": {
  36479. "description": "总金额",
  36480. "type": "number"
  36481. },
  36482. "totalvolume": {
  36483. "description": "总量",
  36484. "type": "integer"
  36485. },
  36486. "utclasttime": {
  36487. "description": "utc的行情时间",
  36488. "type": "string"
  36489. }
  36490. }
  36491. },
  36492. "quote.QueryTSDataRsp": {
  36493. "type": "object",
  36494. "properties": {
  36495. "Count": {
  36496. "description": "交易日应有数据个数",
  36497. "type": "integer"
  36498. },
  36499. "decimalPlace": {
  36500. "description": "小数位",
  36501. "type": "integer"
  36502. },
  36503. "endTime": {
  36504. "description": "结束时间",
  36505. "type": "string"
  36506. },
  36507. "goodsCode": {
  36508. "description": "商品代码",
  36509. "type": "string"
  36510. },
  36511. "historyDatas": {
  36512. "description": "历史数据",
  36513. "type": "array",
  36514. "items": {
  36515. "$ref": "#/definitions/quote.HistoryData"
  36516. }
  36517. },
  36518. "outGoodsCode": {
  36519. "description": "外部商品代码",
  36520. "type": "string"
  36521. },
  36522. "preSettle": {
  36523. "description": "昨结价",
  36524. "type": "number"
  36525. },
  36526. "runSteps": {
  36527. "description": "交易日开休市计划",
  36528. "type": "array",
  36529. "items": {
  36530. "$ref": "#/definitions/quote.TSDataRunStep"
  36531. }
  36532. },
  36533. "startTime": {
  36534. "description": "开始时间",
  36535. "type": "string"
  36536. },
  36537. "tradeDate": {
  36538. "description": "交易日",
  36539. "type": "string"
  36540. }
  36541. }
  36542. },
  36543. "quote.TSDataRunStep": {
  36544. "type": "object",
  36545. "properties": {
  36546. "end": {
  36547. "description": "真实结束时间",
  36548. "type": "string"
  36549. },
  36550. "endflag": {
  36551. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  36552. "type": "integer"
  36553. },
  36554. "endtime": {
  36555. "description": "结束时间(HH:mm)",
  36556. "type": "string"
  36557. },
  36558. "endweekday": {
  36559. "description": "结束周几",
  36560. "type": "integer"
  36561. },
  36562. "groupid": {
  36563. "description": "分组ID",
  36564. "type": "integer"
  36565. },
  36566. "runstep": {
  36567. "description": "运行阶段 - 2:连续交易",
  36568. "type": "integer"
  36569. },
  36570. "sectionid": {
  36571. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  36572. "type": "integer"
  36573. },
  36574. "start": {
  36575. "description": "真实开始时间",
  36576. "type": "string"
  36577. },
  36578. "startflag": {
  36579. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  36580. "type": "integer"
  36581. },
  36582. "starttime": {
  36583. "description": "起始时间(HH:mm)",
  36584. "type": "string"
  36585. },
  36586. "startweekday": {
  36587. "description": "起始周几",
  36588. "type": "integer"
  36589. },
  36590. "tradeweekday": {
  36591. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  36592. "type": "integer"
  36593. }
  36594. }
  36595. },
  36596. "szdz.QueryConvertLogRsp": {
  36597. "type": "object",
  36598. "required": [
  36599. "logid"
  36600. ],
  36601. "properties": {
  36602. "accountid": {
  36603. "description": "资金账户ID",
  36604. "type": "integer"
  36605. },
  36606. "clientticket": {
  36607. "description": "客户端流水号",
  36608. "type": "string"
  36609. },
  36610. "converttype": {
  36611. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  36612. "type": "integer"
  36613. },
  36614. "createtime": {
  36615. "description": "记账时间",
  36616. "type": "string"
  36617. },
  36618. "daymaxvalue": {
  36619. "description": "配置当日最大转入限制",
  36620. "type": "number"
  36621. },
  36622. "daymaxvalue2": {
  36623. "description": "配置当日最大转入限制(转入)",
  36624. "type": "number"
  36625. },
  36626. "goodscode": {
  36627. "description": "商品代码",
  36628. "type": "string"
  36629. },
  36630. "goodsname": {
  36631. "description": "商品名称",
  36632. "type": "string"
  36633. },
  36634. "handlestatus": {
  36635. "description": "处理状态",
  36636. "type": "integer"
  36637. },
  36638. "innergoodsid": {
  36639. "description": "内部商品ID",
  36640. "type": "integer"
  36641. },
  36642. "inratio": {
  36643. "description": "配置转入比值",
  36644. "type": "integer"
  36645. },
  36646. "invalue": {
  36647. "description": "目标值",
  36648. "type": "number"
  36649. },
  36650. "logid": {
  36651. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36652. "type": "integer"
  36653. },
  36654. "mobile": {
  36655. "description": "手机号码(加密存储)",
  36656. "type": "string"
  36657. },
  36658. "outergoodscode": {
  36659. "description": "外部商品代码[JD\\PD]",
  36660. "type": "string"
  36661. },
  36662. "outratio": {
  36663. "description": "配置转出比值",
  36664. "type": "integer"
  36665. },
  36666. "outvalue": {
  36667. "description": "源值",
  36668. "type": "number"
  36669. },
  36670. "pddecimalplace": {
  36671. "description": "PD小数位",
  36672. "type": "integer"
  36673. },
  36674. "qty": {
  36675. "description": "数量",
  36676. "type": "string"
  36677. },
  36678. "remark": {
  36679. "description": "备注",
  36680. "type": "string"
  36681. },
  36682. "sessionid": {
  36683. "description": "会话ID",
  36684. "type": "integer"
  36685. },
  36686. "timemaxvalue": {
  36687. "description": "配置单次最大转入限制",
  36688. "type": "number"
  36689. },
  36690. "timemaxvalue2": {
  36691. "description": "配置单次最大转入限制(转入)",
  36692. "type": "number"
  36693. },
  36694. "timeminvalue": {
  36695. "description": "配置单次最小数量限制",
  36696. "type": "number"
  36697. },
  36698. "timeminvalue2": {
  36699. "description": "配置单次最小数量限制(转入)",
  36700. "type": "number"
  36701. },
  36702. "tradedate": {
  36703. "description": "交易日(yyyyMMdd)",
  36704. "type": "string"
  36705. },
  36706. "userid": {
  36707. "description": "用户ID",
  36708. "type": "integer"
  36709. }
  36710. }
  36711. },
  36712. "szdz.QueryGoodsPickupRsp": {
  36713. "type": "object",
  36714. "required": [
  36715. "takeorderid"
  36716. ],
  36717. "properties": {
  36718. "accountid": {
  36719. "description": "账户ID",
  36720. "type": "integer"
  36721. },
  36722. "address": {
  36723. "description": "提货人详细地址",
  36724. "type": "string"
  36725. },
  36726. "auditer": {
  36727. "description": "审核人",
  36728. "type": "integer"
  36729. },
  36730. "audittime": {
  36731. "description": "审核时间",
  36732. "type": "string"
  36733. },
  36734. "cardnum": {
  36735. "description": "提货人证件号码",
  36736. "type": "string"
  36737. },
  36738. "cardtypeid": {
  36739. "description": "提货人证件类型",
  36740. "type": "integer"
  36741. },
  36742. "checkremark": {
  36743. "description": "审核备注",
  36744. "type": "string"
  36745. },
  36746. "goodscode": {
  36747. "description": "商品代码",
  36748. "type": "string"
  36749. },
  36750. "goodsid": {
  36751. "description": "商品ID",
  36752. "type": "integer"
  36753. },
  36754. "goodsname": {
  36755. "description": "商品名称",
  36756. "type": "string"
  36757. },
  36758. "handlestatus": {
  36759. "description": "处理状态",
  36760. "type": "integer"
  36761. },
  36762. "marketid": {
  36763. "description": "市场ID",
  36764. "type": "integer"
  36765. },
  36766. "phonenum": {
  36767. "description": "提货人联系方式",
  36768. "type": "string"
  36769. },
  36770. "qty": {
  36771. "description": "提货数量",
  36772. "type": "number"
  36773. },
  36774. "recivername": {
  36775. "description": "提货人姓名",
  36776. "type": "string"
  36777. },
  36778. "reqtime": {
  36779. "description": "更新时间",
  36780. "type": "string"
  36781. },
  36782. "takemode": {
  36783. "description": "提货方式 - 2:自提 3:配送",
  36784. "type": "integer"
  36785. },
  36786. "takeorderid": {
  36787. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  36788. "type": "string"
  36789. },
  36790. "takeorderstatus": {
  36791. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  36792. "type": "integer"
  36793. },
  36794. "takeremark": {
  36795. "description": "提货备注",
  36796. "type": "string"
  36797. },
  36798. "tradedate": {
  36799. "description": "交易日(yyyyMMdd)",
  36800. "type": "string"
  36801. },
  36802. "userid": {
  36803. "description": "用户ID",
  36804. "type": "integer"
  36805. }
  36806. }
  36807. },
  36808. "szdz.QueryRecieptOrderRsp": {
  36809. "type": "object",
  36810. "required": [
  36811. "ordertime"
  36812. ],
  36813. "properties": {
  36814. "accountName": {
  36815. "description": "所属账号名称(已脱敏)",
  36816. "type": "string"
  36817. },
  36818. "accountid": {
  36819. "description": "资金账号",
  36820. "type": "integer"
  36821. },
  36822. "buyorsell": {
  36823. "description": "方向 - 0:买 1:卖",
  36824. "type": "integer"
  36825. },
  36826. "enableqty": {
  36827. "description": "可摘数量",
  36828. "type": "integer"
  36829. },
  36830. "goodscode": {
  36831. "description": "商品代码",
  36832. "type": "string"
  36833. },
  36834. "goodsid": {
  36835. "description": "商品ID",
  36836. "type": "integer"
  36837. },
  36838. "goodsname": {
  36839. "description": "商品名称",
  36840. "type": "string"
  36841. },
  36842. "orderid": {
  36843. "description": "委托单号",
  36844. "type": "string"
  36845. },
  36846. "orderprice": {
  36847. "description": "委托价格",
  36848. "type": "number"
  36849. },
  36850. "ordertime": {
  36851. "description": "委托时间",
  36852. "type": "string"
  36853. },
  36854. "tradedate": {
  36855. "description": "交易日(yyyyMMdd)",
  36856. "type": "string"
  36857. }
  36858. }
  36859. },
  36860. "szdz.QuerySZDZTradePositionRsp": {
  36861. "type": "object",
  36862. "properties": {
  36863. "accountid": {
  36864. "description": "账号Id",
  36865. "type": "integer"
  36866. },
  36867. "agreeunit": {
  36868. "description": "合约单位",
  36869. "type": "number"
  36870. },
  36871. "averageprice": {
  36872. "description": "持仓均价",
  36873. "type": "number"
  36874. },
  36875. "buyorsell": {
  36876. "description": "方向 - 0:买 1:卖",
  36877. "type": "integer"
  36878. },
  36879. "closetotalqty": {
  36880. "description": "平仓总数量",
  36881. "type": "integer"
  36882. },
  36883. "curholderamount": {
  36884. "description": "当前持仓总金额",
  36885. "type": "number"
  36886. },
  36887. "curpositionqty": {
  36888. "description": "当前持仓总数量",
  36889. "type": "integer"
  36890. },
  36891. "currencyid": {
  36892. "description": "报价货币ID",
  36893. "type": "integer"
  36894. },
  36895. "curtdposition": {
  36896. "description": "期末今日头寸",
  36897. "type": "integer"
  36898. },
  36899. "decimalplace": {
  36900. "description": "报价小数位",
  36901. "type": "integer"
  36902. },
  36903. "enableqty": {
  36904. "description": "可用量",
  36905. "type": "integer"
  36906. },
  36907. "fretdposition": {
  36908. "description": "冻结今日头寸",
  36909. "type": "integer"
  36910. },
  36911. "frozenqty": {
  36912. "description": "持仓冻结数量",
  36913. "type": "integer"
  36914. },
  36915. "goodscode": {
  36916. "description": "商品代码(内部)",
  36917. "type": "string"
  36918. },
  36919. "goodsid": {
  36920. "description": "商品Id",
  36921. "type": "integer"
  36922. },
  36923. "goodsname": {
  36924. "description": "商品名称",
  36925. "type": "string"
  36926. },
  36927. "goodunit": {
  36928. "description": "报价单位",
  36929. "type": "string"
  36930. },
  36931. "goodunitid": {
  36932. "description": "报价单位ID",
  36933. "type": "integer"
  36934. },
  36935. "holderamount": {
  36936. "description": "期初持仓总金额",
  36937. "type": "number"
  36938. },
  36939. "marketid": {
  36940. "description": "市场ID",
  36941. "type": "integer"
  36942. },
  36943. "openreqqty": {
  36944. "description": "开仓申请数量",
  36945. "type": "integer"
  36946. },
  36947. "opentotalqty": {
  36948. "description": "开仓总数量",
  36949. "type": "integer"
  36950. },
  36951. "otherfrozenqty": {
  36952. "description": "持仓其他冻结数量(交割冻结)",
  36953. "type": "integer"
  36954. },
  36955. "positionqty": {
  36956. "description": "期初持仓数量",
  36957. "type": "integer"
  36958. },
  36959. "szdz3freezqty": {
  36960. "description": "尚志大宗转换冻结总数量",
  36961. "type": "integer"
  36962. },
  36963. "tnqty": {
  36964. "description": "T+N冻结总量",
  36965. "type": "integer"
  36966. },
  36967. "tnusedqty": {
  36968. "description": "T+N使用量",
  36969. "type": "integer"
  36970. },
  36971. "trademode": {
  36972. "description": "交易模式",
  36973. "type": "integer"
  36974. },
  36975. "usedmargin": {
  36976. "description": "占用保证金",
  36977. "type": "number"
  36978. }
  36979. }
  36980. },
  36981. "taaccount.QueryAmountLogRsp": {
  36982. "type": "object",
  36983. "required": [
  36984. "accountid",
  36985. "amount",
  36986. "amountadjusttype",
  36987. "autoid",
  36988. "balance",
  36989. "createtime",
  36990. "currentbalance",
  36991. "operatetype"
  36992. ],
  36993. "properties": {
  36994. "OPERATETYPENAME": {
  36995. "description": "资金操作类型名称",
  36996. "type": "string"
  36997. },
  36998. "accountid": {
  36999. "description": "资金账户ID",
  37000. "type": "integer"
  37001. },
  37002. "agoodscode": {
  37003. "description": "竞拍商品代码",
  37004. "type": "string"
  37005. },
  37006. "agoodsname": {
  37007. "description": "竞拍商品名称",
  37008. "type": "string"
  37009. },
  37010. "amount": {
  37011. "description": "资金金额",
  37012. "type": "number"
  37013. },
  37014. "amountadjusttype": {
  37015. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  37016. "type": "integer"
  37017. },
  37018. "autoid": {
  37019. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  37020. "type": "integer"
  37021. },
  37022. "balance": {
  37023. "description": "期初余额",
  37024. "type": "number"
  37025. },
  37026. "businesscode": {
  37027. "description": "业务编号",
  37028. "type": "integer"
  37029. },
  37030. "createtime": {
  37031. "description": "发生时间",
  37032. "type": "string"
  37033. },
  37034. "currencyid": {
  37035. "description": "币种ID",
  37036. "type": "integer"
  37037. },
  37038. "currentbalance": {
  37039. "description": "期末余额(变动后金额)",
  37040. "type": "number"
  37041. },
  37042. "dgoodscode": {
  37043. "description": "交割商品代码",
  37044. "type": "string"
  37045. },
  37046. "dgoodsname": {
  37047. "description": "交割商品名称",
  37048. "type": "string"
  37049. },
  37050. "goodscode": {
  37051. "description": "商品代码",
  37052. "type": "string"
  37053. },
  37054. "goodsid": {
  37055. "description": "商品ID",
  37056. "type": "integer"
  37057. },
  37058. "goodsname": {
  37059. "description": "商品名称",
  37060. "type": "string"
  37061. },
  37062. "marketid": {
  37063. "description": "市场ID",
  37064. "type": "integer"
  37065. },
  37066. "marketname": {
  37067. "description": "市场名称",
  37068. "type": "string"
  37069. },
  37070. "moneyticket": {
  37071. "description": "资金流水号:银行端流水号",
  37072. "type": "integer"
  37073. },
  37074. "operatetype": {
  37075. "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:营销收款",
  37076. "type": "integer"
  37077. },
  37078. "relationorderid": {
  37079. "description": "关联单号",
  37080. "type": "string"
  37081. },
  37082. "remark": {
  37083. "description": "备注",
  37084. "type": "string"
  37085. },
  37086. "trademode": {
  37087. "description": "交易模式",
  37088. "type": "integer"
  37089. }
  37090. }
  37091. },
  37092. "taaccount.QueryHisAmountLogRsp": {
  37093. "type": "object",
  37094. "required": [
  37095. "accountid",
  37096. "amount",
  37097. "amountadjusttype",
  37098. "autoid",
  37099. "balance",
  37100. "createtime",
  37101. "currentbalance",
  37102. "histradedate",
  37103. "operatetype"
  37104. ],
  37105. "properties": {
  37106. "OPERATETYPENAME": {
  37107. "description": "资金操作类型名称",
  37108. "type": "string"
  37109. },
  37110. "accountid": {
  37111. "description": "资金账户ID",
  37112. "type": "integer"
  37113. },
  37114. "agoodscode": {
  37115. "description": "竞拍商品代码",
  37116. "type": "string"
  37117. },
  37118. "agoodsname": {
  37119. "description": "竞拍商品名称",
  37120. "type": "string"
  37121. },
  37122. "amount": {
  37123. "description": "资金金额",
  37124. "type": "number"
  37125. },
  37126. "amountadjusttype": {
  37127. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  37128. "type": "integer"
  37129. },
  37130. "autoid": {
  37131. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  37132. "type": "integer"
  37133. },
  37134. "balance": {
  37135. "description": "期初余额",
  37136. "type": "number"
  37137. },
  37138. "businesscode": {
  37139. "description": "业务编号",
  37140. "type": "integer"
  37141. },
  37142. "createtime": {
  37143. "description": "发生时间",
  37144. "type": "string"
  37145. },
  37146. "currencyid": {
  37147. "description": "币种ID",
  37148. "type": "integer"
  37149. },
  37150. "currentbalance": {
  37151. "description": "期末余额(变动后金额)",
  37152. "type": "number"
  37153. },
  37154. "dgoodscode": {
  37155. "description": "交割商品代码",
  37156. "type": "string"
  37157. },
  37158. "dgoodsname": {
  37159. "description": "交割商品名称",
  37160. "type": "string"
  37161. },
  37162. "goodscode": {
  37163. "description": "商品代码",
  37164. "type": "string"
  37165. },
  37166. "goodsid": {
  37167. "description": "商品ID",
  37168. "type": "integer"
  37169. },
  37170. "goodsname": {
  37171. "description": "商品名称",
  37172. "type": "string"
  37173. },
  37174. "histradedate": {
  37175. "description": "历史交易日",
  37176. "type": "string"
  37177. },
  37178. "isvaliddata": {
  37179. "description": "是否有效 - 0:无效 1:有效",
  37180. "type": "integer"
  37181. },
  37182. "marketid": {
  37183. "description": "市场ID",
  37184. "type": "integer"
  37185. },
  37186. "marketname": {
  37187. "description": "市场名称",
  37188. "type": "string"
  37189. },
  37190. "moneyticket": {
  37191. "description": "资金流水号:银行端流水号",
  37192. "type": "integer"
  37193. },
  37194. "operatetype": {
  37195. "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:营销收款",
  37196. "type": "integer"
  37197. },
  37198. "relationorderid": {
  37199. "description": "关联单号",
  37200. "type": "string"
  37201. },
  37202. "remark": {
  37203. "description": "备注",
  37204. "type": "string"
  37205. },
  37206. "trademode": {
  37207. "description": "交易模式",
  37208. "type": "integer"
  37209. }
  37210. }
  37211. },
  37212. "trade.QueryRecieptOrderRsp": {
  37213. "type": "object",
  37214. "required": [
  37215. "ordertime"
  37216. ],
  37217. "properties": {
  37218. "accountName": {
  37219. "description": "所属账号名称(已脱敏)",
  37220. "type": "string"
  37221. },
  37222. "accountid": {
  37223. "description": "资金账号",
  37224. "type": "integer"
  37225. },
  37226. "buyorsell": {
  37227. "description": "方向 - 0:买 1:卖",
  37228. "type": "integer"
  37229. },
  37230. "enableqty": {
  37231. "description": "可摘数量",
  37232. "type": "integer"
  37233. },
  37234. "goodscode": {
  37235. "description": "商品代码",
  37236. "type": "string"
  37237. },
  37238. "goodsid": {
  37239. "description": "商品ID",
  37240. "type": "integer"
  37241. },
  37242. "goodsname": {
  37243. "description": "商品名称",
  37244. "type": "string"
  37245. },
  37246. "orderid": {
  37247. "description": "委托单号",
  37248. "type": "string"
  37249. },
  37250. "orderprice": {
  37251. "description": "委托价格",
  37252. "type": "number"
  37253. },
  37254. "ordertime": {
  37255. "description": "委托时间",
  37256. "type": "string"
  37257. },
  37258. "tradedate": {
  37259. "description": "交易日(yyyyMMdd)",
  37260. "type": "string"
  37261. }
  37262. }
  37263. },
  37264. "user.LoginQueryRsp": {
  37265. "type": "object",
  37266. "properties": {
  37267. "areaRoles": {
  37268. "description": "所属角色信息",
  37269. "type": "array",
  37270. "items": {
  37271. "$ref": "#/definitions/models.Arearole"
  37272. }
  37273. },
  37274. "externalExchanges": {
  37275. "description": "外部交易所",
  37276. "type": "array",
  37277. "items": {
  37278. "$ref": "#/definitions/models.Externalexchange"
  37279. }
  37280. },
  37281. "goodsgroups": {
  37282. "description": "商品组",
  37283. "type": "array",
  37284. "items": {
  37285. "$ref": "#/definitions/models.Goodsgroup"
  37286. }
  37287. },
  37288. "loginAccount": {
  37289. "description": "登录账号",
  37290. "type": "object",
  37291. "$ref": "#/definitions/models.Loginaccount"
  37292. },
  37293. "markets": {
  37294. "description": "市场",
  37295. "type": "array",
  37296. "items": {
  37297. "$ref": "#/definitions/models.Market"
  37298. }
  37299. },
  37300. "systemParams": {
  37301. "description": "系统参数",
  37302. "type": "array",
  37303. "items": {
  37304. "$ref": "#/definitions/models.Systemparam"
  37305. }
  37306. },
  37307. "userAccount": {
  37308. "description": "用户账号",
  37309. "type": "object",
  37310. "$ref": "#/definitions/models.Useraccount"
  37311. },
  37312. "userInfo": {
  37313. "description": "用户信息",
  37314. "type": "object",
  37315. "$ref": "#/definitions/models.Userinfo"
  37316. },
  37317. "username": {
  37318. "description": "用户姓名",
  37319. "type": "string"
  37320. }
  37321. }
  37322. }
  37323. },
  37324. "securityDefinitions": {
  37325. "ApiKeyAuth": {
  37326. "type": "apiKey",
  37327. "name": "Authorization",
  37328. "in": "header"
  37329. }
  37330. }
  37331. }