swagger.json 1.3 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362
  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-采购, -1-销售",
  4647. "name": "contracttype",
  4648. "in": "query"
  4649. },
  4650. {
  4651. "type": "integer",
  4652. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4653. "name": "querytype",
  4654. "in": "query",
  4655. "required": true
  4656. },
  4657. {
  4658. "type": "string",
  4659. "description": "合同ID(SpotContractId)",
  4660. "name": "contractid",
  4661. "in": "query"
  4662. }
  4663. ],
  4664. "responses": {
  4665. "200": {
  4666. "description": "OK",
  4667. "schema": {
  4668. "type": "array",
  4669. "items": {
  4670. "$ref": "#/definitions/models.Ermcp3Contract"
  4671. }
  4672. }
  4673. },
  4674. "500": {
  4675. "description": "Internal Server Error",
  4676. "schema": {
  4677. "$ref": "#/definitions/app.Response"
  4678. }
  4679. }
  4680. }
  4681. }
  4682. },
  4683. "/Ermcp3/QuerySpotContractBS": {
  4684. "get": {
  4685. "security": [
  4686. {
  4687. "ApiKeyAuth": []
  4688. }
  4689. ],
  4690. "produces": [
  4691. "application/json"
  4692. ],
  4693. "tags": [
  4694. "企业风险管理v3(app)"
  4695. ],
  4696. "summary": "查询合同(采购/销售)",
  4697. "parameters": [
  4698. {
  4699. "type": "integer",
  4700. "description": "用户id",
  4701. "name": "userid",
  4702. "in": "query",
  4703. "required": true
  4704. },
  4705. {
  4706. "type": "integer",
  4707. "description": "用户类型 2-机构 7-企业成员",
  4708. "name": "usertype",
  4709. "in": "query"
  4710. },
  4711. {
  4712. "type": "integer",
  4713. "description": "合同类型 1-采购, -1-销售",
  4714. "name": "contracttype",
  4715. "in": "query",
  4716. "required": true
  4717. },
  4718. {
  4719. "type": "integer",
  4720. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4721. "name": "querytype",
  4722. "in": "query",
  4723. "required": true
  4724. },
  4725. {
  4726. "type": "string",
  4727. "description": "合同ID(SpotContractId)",
  4728. "name": "contractid",
  4729. "in": "query"
  4730. }
  4731. ],
  4732. "responses": {
  4733. "200": {
  4734. "description": "OK",
  4735. "schema": {
  4736. "type": "array",
  4737. "items": {
  4738. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4739. }
  4740. }
  4741. },
  4742. "500": {
  4743. "description": "Internal Server Error",
  4744. "schema": {
  4745. "$ref": "#/definitions/app.Response"
  4746. }
  4747. }
  4748. }
  4749. }
  4750. },
  4751. "/Ermcp3/QuerySpotGoodsPrice": {
  4752. "get": {
  4753. "security": [
  4754. {
  4755. "ApiKeyAuth": []
  4756. }
  4757. ],
  4758. "produces": [
  4759. "application/json"
  4760. ],
  4761. "tags": [
  4762. "企业风险管理v3(app)"
  4763. ],
  4764. "summary": "查询现货市价(现货市价)",
  4765. "parameters": [
  4766. {
  4767. "type": "integer",
  4768. "description": "用户ID",
  4769. "name": "userid",
  4770. "in": "query",
  4771. "required": true
  4772. }
  4773. ],
  4774. "responses": {
  4775. "200": {
  4776. "description": "OK",
  4777. "schema": {
  4778. "type": "array",
  4779. "items": {
  4780. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4781. }
  4782. }
  4783. },
  4784. "500": {
  4785. "description": "Internal Server Error",
  4786. "schema": {
  4787. "$ref": "#/definitions/app.Response"
  4788. }
  4789. }
  4790. }
  4791. }
  4792. },
  4793. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4794. "get": {
  4795. "security": [
  4796. {
  4797. "ApiKeyAuth": []
  4798. }
  4799. ],
  4800. "produces": [
  4801. "application/json"
  4802. ],
  4803. "tags": [
  4804. "企业风险管理v3(app)"
  4805. ],
  4806. "summary": "查询现货市价详情(现货市价/详情)",
  4807. "parameters": [
  4808. {
  4809. "type": "integer",
  4810. "description": "用户ID",
  4811. "name": "userid",
  4812. "in": "query",
  4813. "required": true
  4814. },
  4815. {
  4816. "type": "integer",
  4817. "description": "现货商品ID",
  4818. "name": "deliverygoodsid",
  4819. "in": "query",
  4820. "required": true
  4821. },
  4822. {
  4823. "type": "integer",
  4824. "description": "品牌ID",
  4825. "name": "brandid",
  4826. "in": "query"
  4827. },
  4828. {
  4829. "type": "integer",
  4830. "description": "品类ID",
  4831. "name": "wrstandardid",
  4832. "in": "query"
  4833. }
  4834. ],
  4835. "responses": {
  4836. "200": {
  4837. "description": "OK",
  4838. "schema": {
  4839. "type": "array",
  4840. "items": {
  4841. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4842. }
  4843. }
  4844. },
  4845. "500": {
  4846. "description": "Internal Server Error",
  4847. "schema": {
  4848. "$ref": "#/definitions/app.Response"
  4849. }
  4850. }
  4851. }
  4852. }
  4853. },
  4854. "/Erms2/QueryArbitrageStrategy": {
  4855. "get": {
  4856. "security": [
  4857. {
  4858. "ApiKeyAuth": []
  4859. }
  4860. ],
  4861. "produces": [
  4862. "application/json"
  4863. ],
  4864. "tags": [
  4865. "风险管理"
  4866. ],
  4867. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4868. "parameters": [
  4869. {
  4870. "type": "integer",
  4871. "description": "账户ID",
  4872. "name": "userid",
  4873. "in": "query",
  4874. "required": true
  4875. },
  4876. {
  4877. "type": "string",
  4878. "description": "商品组ID(品种ID)",
  4879. "name": "goodsgroupid",
  4880. "in": "query"
  4881. }
  4882. ],
  4883. "responses": {
  4884. "200": {
  4885. "description": "OK",
  4886. "schema": {
  4887. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4888. }
  4889. },
  4890. "500": {
  4891. "description": "Internal Server Error",
  4892. "schema": {
  4893. "$ref": "#/definitions/app.Response"
  4894. }
  4895. }
  4896. }
  4897. }
  4898. },
  4899. "/Erms2/QueryInnerTradeDetail": {
  4900. "get": {
  4901. "security": [
  4902. {
  4903. "ApiKeyAuth": []
  4904. }
  4905. ],
  4906. "produces": [
  4907. "application/json"
  4908. ],
  4909. "tags": [
  4910. "风险管理"
  4911. ],
  4912. "summary": "查询内部成交单信息",
  4913. "parameters": [
  4914. {
  4915. "type": "integer",
  4916. "description": "资金账户",
  4917. "name": "accountid",
  4918. "in": "query",
  4919. "required": true
  4920. }
  4921. ],
  4922. "responses": {
  4923. "200": {
  4924. "description": "OK",
  4925. "schema": {
  4926. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4927. }
  4928. },
  4929. "500": {
  4930. "description": "Internal Server Error",
  4931. "schema": {
  4932. "$ref": "#/definitions/app.Response"
  4933. }
  4934. }
  4935. }
  4936. }
  4937. },
  4938. "/Erms2/QuerySpotContract": {
  4939. "get": {
  4940. "security": [
  4941. {
  4942. "ApiKeyAuth": []
  4943. }
  4944. ],
  4945. "produces": [
  4946. "application/json"
  4947. ],
  4948. "tags": [
  4949. "风险管理"
  4950. ],
  4951. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4952. "parameters": [
  4953. {
  4954. "type": "integer",
  4955. "description": "策略申请ID",
  4956. "name": "asapplyid",
  4957. "in": "query",
  4958. "required": true
  4959. },
  4960. {
  4961. "type": "integer",
  4962. "description": "现货合同ID",
  4963. "name": "spotcontractid",
  4964. "in": "query"
  4965. }
  4966. ],
  4967. "responses": {
  4968. "200": {
  4969. "description": "OK",
  4970. "schema": {
  4971. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4972. }
  4973. },
  4974. "500": {
  4975. "description": "Internal Server Error",
  4976. "schema": {
  4977. "$ref": "#/definitions/app.Response"
  4978. }
  4979. }
  4980. }
  4981. }
  4982. },
  4983. "/Erms3/AddErms2ASApply": {
  4984. "post": {
  4985. "security": [
  4986. {
  4987. "ApiKeyAuth": []
  4988. }
  4989. ],
  4990. "produces": [
  4991. "application/json"
  4992. ],
  4993. "tags": [
  4994. "风险管理v3"
  4995. ],
  4996. "summary": "新增期现套利业务申请",
  4997. "parameters": [
  4998. {
  4999. "description": "申请参数",
  5000. "name": "jsonBody",
  5001. "in": "body",
  5002. "required": true,
  5003. "schema": {
  5004. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5005. }
  5006. }
  5007. ],
  5008. "responses": {
  5009. "200": {
  5010. "description": "OK",
  5011. "schema": {
  5012. "$ref": "#/definitions/app.Response"
  5013. }
  5014. },
  5015. "500": {
  5016. "description": "Internal Server Error",
  5017. "schema": {
  5018. "$ref": "#/definitions/app.Response"
  5019. }
  5020. }
  5021. }
  5022. }
  5023. },
  5024. "/Erms3/AddErms2SpotTradeApply": {
  5025. "post": {
  5026. "security": [
  5027. {
  5028. "ApiKeyAuth": []
  5029. }
  5030. ],
  5031. "produces": [
  5032. "application/json"
  5033. ],
  5034. "tags": [
  5035. "风险管理v3"
  5036. ],
  5037. "summary": "新增现货贸易业务申请",
  5038. "parameters": [
  5039. {
  5040. "description": "申请参数",
  5041. "name": "jsonBody",
  5042. "in": "body",
  5043. "required": true,
  5044. "schema": {
  5045. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5046. }
  5047. }
  5048. ],
  5049. "responses": {
  5050. "200": {
  5051. "description": "OK",
  5052. "schema": {
  5053. "$ref": "#/definitions/app.Response"
  5054. }
  5055. },
  5056. "500": {
  5057. "description": "Internal Server Error",
  5058. "schema": {
  5059. "$ref": "#/definitions/app.Response"
  5060. }
  5061. }
  5062. }
  5063. }
  5064. },
  5065. "/Erms3/AddSpotContractApply": {
  5066. "post": {
  5067. "security": [
  5068. {
  5069. "ApiKeyAuth": []
  5070. }
  5071. ],
  5072. "produces": [
  5073. "application/json"
  5074. ],
  5075. "tags": [
  5076. "风险管理v3"
  5077. ],
  5078. "summary": "新增现货合同申请",
  5079. "parameters": [
  5080. {
  5081. "description": "申请参数",
  5082. "name": "jsonBody",
  5083. "in": "body",
  5084. "required": true,
  5085. "schema": {
  5086. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5087. }
  5088. }
  5089. ],
  5090. "responses": {
  5091. "200": {
  5092. "description": "OK",
  5093. "schema": {
  5094. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5095. }
  5096. },
  5097. "500": {
  5098. "description": "Internal Server Error",
  5099. "schema": {
  5100. "$ref": "#/definitions/app.Response"
  5101. }
  5102. }
  5103. }
  5104. }
  5105. },
  5106. "/Erms3/AddUserInfoApply": {
  5107. "post": {
  5108. "security": [
  5109. {
  5110. "ApiKeyAuth": []
  5111. }
  5112. ],
  5113. "produces": [
  5114. "application/json"
  5115. ],
  5116. "tags": [
  5117. "风险管理v3"
  5118. ],
  5119. "summary": "新增客户申请",
  5120. "parameters": [
  5121. {
  5122. "description": "用户信息",
  5123. "name": "jsonBody",
  5124. "in": "body",
  5125. "required": true,
  5126. "schema": {
  5127. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5128. }
  5129. }
  5130. ],
  5131. "responses": {
  5132. "200": {
  5133. "description": "OK",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. },
  5138. "500": {
  5139. "description": "Internal Server Error",
  5140. "schema": {
  5141. "$ref": "#/definitions/app.Response"
  5142. }
  5143. }
  5144. }
  5145. }
  5146. },
  5147. "/Erms3/DeleteUserInfoApply": {
  5148. "get": {
  5149. "security": [
  5150. {
  5151. "ApiKeyAuth": []
  5152. }
  5153. ],
  5154. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5155. "produces": [
  5156. "application/json"
  5157. ],
  5158. "tags": [
  5159. "风险管理v3"
  5160. ],
  5161. "summary": "删除客户申请",
  5162. "parameters": [
  5163. {
  5164. "type": "integer",
  5165. "description": "用户ID",
  5166. "name": "userID",
  5167. "in": "query",
  5168. "required": true
  5169. }
  5170. ],
  5171. "responses": {
  5172. "200": {
  5173. "description": "OK",
  5174. "schema": {
  5175. "$ref": "#/definitions/app.Response"
  5176. }
  5177. },
  5178. "500": {
  5179. "description": "Internal Server Error",
  5180. "schema": {
  5181. "$ref": "#/definitions/app.Response"
  5182. }
  5183. }
  5184. }
  5185. }
  5186. },
  5187. "/Erms3/ModifyUserInfoApply": {
  5188. "post": {
  5189. "security": [
  5190. {
  5191. "ApiKeyAuth": []
  5192. }
  5193. ],
  5194. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5195. "produces": [
  5196. "application/json"
  5197. ],
  5198. "tags": [
  5199. "风险管理v3"
  5200. ],
  5201. "summary": "修改客户申请",
  5202. "parameters": [
  5203. {
  5204. "description": "用户信息",
  5205. "name": "jsonBody",
  5206. "in": "body",
  5207. "required": true,
  5208. "schema": {
  5209. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5210. }
  5211. }
  5212. ],
  5213. "responses": {
  5214. "200": {
  5215. "description": "OK",
  5216. "schema": {
  5217. "$ref": "#/definitions/app.Response"
  5218. }
  5219. },
  5220. "500": {
  5221. "description": "Internal Server Error",
  5222. "schema": {
  5223. "$ref": "#/definitions/app.Response"
  5224. }
  5225. }
  5226. }
  5227. }
  5228. },
  5229. "/Erms3/QueryBusinessInfo": {
  5230. "get": {
  5231. "security": [
  5232. {
  5233. "ApiKeyAuth": []
  5234. }
  5235. ],
  5236. "produces": [
  5237. "application/json"
  5238. ],
  5239. "tags": [
  5240. "风险管理v3"
  5241. ],
  5242. "summary": "查询业务表单数据",
  5243. "parameters": [
  5244. {
  5245. "type": "string",
  5246. "description": "资金账号ID列表,用逗号分隔",
  5247. "name": "accountids",
  5248. "in": "query",
  5249. "required": true
  5250. },
  5251. {
  5252. "type": "integer",
  5253. "description": "状态,0为未结束 1为已结束",
  5254. "name": "status",
  5255. "in": "query",
  5256. "required": true
  5257. }
  5258. ],
  5259. "responses": {
  5260. "200": {
  5261. "description": "OK",
  5262. "schema": {
  5263. "type": "array",
  5264. "items": {
  5265. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5266. }
  5267. }
  5268. },
  5269. "500": {
  5270. "description": "Internal Server Error",
  5271. "schema": {
  5272. "$ref": "#/definitions/app.Response"
  5273. }
  5274. }
  5275. }
  5276. }
  5277. },
  5278. "/Erms3/QueryPendingAuditContract": {
  5279. "get": {
  5280. "security": [
  5281. {
  5282. "ApiKeyAuth": []
  5283. }
  5284. ],
  5285. "produces": [
  5286. "application/json"
  5287. ],
  5288. "tags": [
  5289. "风险管理v3"
  5290. ],
  5291. "summary": "查询待审核合同",
  5292. "parameters": [
  5293. {
  5294. "type": "string",
  5295. "description": "资金账号ID列表,逗号隔开",
  5296. "name": "accountids",
  5297. "in": "query",
  5298. "required": true
  5299. },
  5300. {
  5301. "type": "integer",
  5302. "description": "合同类型 1-采购 -1-销售",
  5303. "name": "contracttype",
  5304. "in": "query",
  5305. "required": true
  5306. },
  5307. {
  5308. "type": "integer",
  5309. "description": "合同模式 1-普通 2-回购",
  5310. "name": "contractmode",
  5311. "in": "query",
  5312. "required": true
  5313. }
  5314. ],
  5315. "responses": {
  5316. "200": {
  5317. "description": "OK",
  5318. "schema": {
  5319. "type": "array",
  5320. "items": {
  5321. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5322. }
  5323. }
  5324. },
  5325. "500": {
  5326. "description": "Internal Server Error",
  5327. "schema": {
  5328. "$ref": "#/definitions/app.Response"
  5329. }
  5330. }
  5331. }
  5332. }
  5333. },
  5334. "/Erms3/QueryPendingBusiness": {
  5335. "get": {
  5336. "security": [
  5337. {
  5338. "ApiKeyAuth": []
  5339. }
  5340. ],
  5341. "produces": [
  5342. "application/json"
  5343. ],
  5344. "tags": [
  5345. "风险管理v3"
  5346. ],
  5347. "summary": "查询待审核基差贸易业务",
  5348. "parameters": [
  5349. {
  5350. "type": "string",
  5351. "description": "资金账号ID列表,逗号隔开",
  5352. "name": "accountids",
  5353. "in": "query",
  5354. "required": true
  5355. }
  5356. ],
  5357. "responses": {
  5358. "200": {
  5359. "description": "OK",
  5360. "schema": {
  5361. "type": "array",
  5362. "items": {
  5363. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5364. }
  5365. }
  5366. },
  5367. "500": {
  5368. "description": "Internal Server Error",
  5369. "schema": {
  5370. "$ref": "#/definitions/app.Response"
  5371. }
  5372. }
  5373. }
  5374. }
  5375. },
  5376. "/Erms3/QuerySpotContractAppleForm": {
  5377. "get": {
  5378. "security": [
  5379. {
  5380. "ApiKeyAuth": []
  5381. }
  5382. ],
  5383. "produces": [
  5384. "application/json"
  5385. ],
  5386. "tags": [
  5387. "风险管理v3"
  5388. ],
  5389. "summary": "查询合同申请表单数据",
  5390. "parameters": [
  5391. {
  5392. "type": "integer",
  5393. "description": "登录账号",
  5394. "name": "loginID",
  5395. "in": "query",
  5396. "required": true
  5397. }
  5398. ],
  5399. "responses": {
  5400. "200": {
  5401. "description": "OK",
  5402. "schema": {
  5403. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5404. }
  5405. },
  5406. "500": {
  5407. "description": "Internal Server Error",
  5408. "schema": {
  5409. "$ref": "#/definitions/app.Response"
  5410. }
  5411. }
  5412. }
  5413. }
  5414. },
  5415. "/Erms3/QuerySpotContractDetail": {
  5416. "get": {
  5417. "security": [
  5418. {
  5419. "ApiKeyAuth": []
  5420. }
  5421. ],
  5422. "produces": [
  5423. "application/json"
  5424. ],
  5425. "tags": [
  5426. "风险管理v3"
  5427. ],
  5428. "summary": "查询合同详细信息",
  5429. "parameters": [
  5430. {
  5431. "type": "string",
  5432. "description": "资金账号ID列表,用逗号分隔",
  5433. "name": "accountids",
  5434. "in": "query",
  5435. "required": true
  5436. },
  5437. {
  5438. "type": "integer",
  5439. "description": "合同类型,1为采购合同 -1为销售合同",
  5440. "name": "contracttype",
  5441. "in": "query",
  5442. "required": true
  5443. },
  5444. {
  5445. "type": "integer",
  5446. "description": "合同模式,1为普通合同 2为回购销售合同",
  5447. "name": "contractmode",
  5448. "in": "query",
  5449. "required": true
  5450. },
  5451. {
  5452. "type": "integer",
  5453. "description": "状态,0为履约中 1为已完成",
  5454. "name": "status",
  5455. "in": "query",
  5456. "required": true
  5457. }
  5458. ],
  5459. "responses": {
  5460. "200": {
  5461. "description": "OK",
  5462. "schema": {
  5463. "type": "array",
  5464. "items": {
  5465. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5466. }
  5467. }
  5468. },
  5469. "500": {
  5470. "description": "Internal Server Error",
  5471. "schema": {
  5472. "$ref": "#/definitions/app.Response"
  5473. }
  5474. }
  5475. }
  5476. }
  5477. },
  5478. "/Erms3/QueryUserInfoApplies": {
  5479. "get": {
  5480. "security": [
  5481. {
  5482. "ApiKeyAuth": []
  5483. }
  5484. ],
  5485. "produces": [
  5486. "application/json"
  5487. ],
  5488. "tags": [
  5489. "风险管理v3"
  5490. ],
  5491. "summary": "客户申请信息查询",
  5492. "parameters": [
  5493. {
  5494. "type": "integer",
  5495. "description": "页码",
  5496. "name": "page",
  5497. "in": "query"
  5498. },
  5499. {
  5500. "type": "integer",
  5501. "description": "每页条数",
  5502. "name": "pagesize",
  5503. "in": "query"
  5504. },
  5505. {
  5506. "type": "string",
  5507. "description": "客户名称,支持模糊查询",
  5508. "name": "userName",
  5509. "in": "query"
  5510. }
  5511. ],
  5512. "responses": {
  5513. "200": {
  5514. "description": "OK",
  5515. "schema": {
  5516. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5517. }
  5518. },
  5519. "500": {
  5520. "description": "Internal Server Error",
  5521. "schema": {
  5522. "$ref": "#/definitions/app.Response"
  5523. }
  5524. }
  5525. }
  5526. }
  5527. },
  5528. "/Erms3/QueryUserInfos": {
  5529. "get": {
  5530. "security": [
  5531. {
  5532. "ApiKeyAuth": []
  5533. }
  5534. ],
  5535. "produces": [
  5536. "application/json"
  5537. ],
  5538. "tags": [
  5539. "风险管理v3"
  5540. ],
  5541. "summary": "客户信息查询",
  5542. "parameters": [
  5543. {
  5544. "type": "integer",
  5545. "description": "页码",
  5546. "name": "page",
  5547. "in": "query"
  5548. },
  5549. {
  5550. "type": "integer",
  5551. "description": "每页条数",
  5552. "name": "pagesize",
  5553. "in": "query"
  5554. },
  5555. {
  5556. "type": "string",
  5557. "description": "客户名称,支持模糊查询",
  5558. "name": "userName",
  5559. "in": "query"
  5560. }
  5561. ],
  5562. "responses": {
  5563. "200": {
  5564. "description": "OK",
  5565. "schema": {
  5566. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5567. }
  5568. },
  5569. "500": {
  5570. "description": "Internal Server Error",
  5571. "schema": {
  5572. "$ref": "#/definitions/app.Response"
  5573. }
  5574. }
  5575. }
  5576. }
  5577. },
  5578. "/HSBY/GetHsbyMyCount": {
  5579. "get": {
  5580. "security": [
  5581. {
  5582. "ApiKeyAuth": []
  5583. }
  5584. ],
  5585. "description": "说明: 不包括已完成的数量。",
  5586. "produces": [
  5587. "application/json"
  5588. ],
  5589. "tags": [
  5590. "定制【海商报业】"
  5591. ],
  5592. "summary": "获取我的订单与包裹数量",
  5593. "parameters": [
  5594. {
  5595. "type": "string",
  5596. "description": "资金账户列表,格式:1,2,3",
  5597. "name": "accountIDs",
  5598. "in": "query",
  5599. "required": true
  5600. }
  5601. ],
  5602. "responses": {
  5603. "200": {
  5604. "description": "OK",
  5605. "schema": {
  5606. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5607. }
  5608. },
  5609. "500": {
  5610. "description": "Internal Server Error",
  5611. "schema": {
  5612. "$ref": "#/definitions/app.Response"
  5613. }
  5614. }
  5615. }
  5616. }
  5617. },
  5618. "/HSBY/QueryClientFixedADConfigs": {
  5619. "get": {
  5620. "security": [
  5621. {
  5622. "ApiKeyAuth": []
  5623. }
  5624. ],
  5625. "produces": [
  5626. "application/json"
  5627. ],
  5628. "tags": [
  5629. "定制【海商报业】"
  5630. ],
  5631. "summary": "获取终端固定广告配置",
  5632. "responses": {
  5633. "200": {
  5634. "description": "OK",
  5635. "schema": {
  5636. "$ref": "#/definitions/models.Clientfixedadconfig"
  5637. }
  5638. },
  5639. "500": {
  5640. "description": "Internal Server Error",
  5641. "schema": {
  5642. "$ref": "#/definitions/app.Response"
  5643. }
  5644. }
  5645. }
  5646. }
  5647. },
  5648. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5649. "get": {
  5650. "security": [
  5651. {
  5652. "ApiKeyAuth": []
  5653. }
  5654. ],
  5655. "produces": [
  5656. "application/json"
  5657. ],
  5658. "tags": [
  5659. "定制【海商报业】"
  5660. ],
  5661. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5662. "parameters": [
  5663. {
  5664. "type": "integer",
  5665. "description": "页码",
  5666. "name": "page",
  5667. "in": "query"
  5668. },
  5669. {
  5670. "type": "integer",
  5671. "description": "每页条数",
  5672. "name": "pagesize",
  5673. "in": "query"
  5674. },
  5675. {
  5676. "type": "string",
  5677. "description": "资金账户列表,格式:1,2,3",
  5678. "name": "accountIDs",
  5679. "in": "query",
  5680. "required": true
  5681. }
  5682. ],
  5683. "responses": {
  5684. "200": {
  5685. "description": "OK",
  5686. "schema": {
  5687. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5688. }
  5689. },
  5690. "500": {
  5691. "description": "Internal Server Error",
  5692. "schema": {
  5693. "$ref": "#/definitions/app.Response"
  5694. }
  5695. }
  5696. }
  5697. }
  5698. },
  5699. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5700. "get": {
  5701. "security": [
  5702. {
  5703. "ApiKeyAuth": []
  5704. }
  5705. ],
  5706. "description": "说明:查询结果已按委托价格和委托时间排序",
  5707. "produces": [
  5708. "application/json"
  5709. ],
  5710. "tags": [
  5711. "定制【海商报业】"
  5712. ],
  5713. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5714. "parameters": [
  5715. {
  5716. "type": "integer",
  5717. "description": "商品ID",
  5718. "name": "goodsID",
  5719. "in": "query",
  5720. "required": true
  5721. },
  5722. {
  5723. "type": "string",
  5724. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5725. "name": "accountIDs",
  5726. "in": "query"
  5727. },
  5728. {
  5729. "type": "integer",
  5730. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5731. "name": "buyOrSell",
  5732. "in": "query"
  5733. },
  5734. {
  5735. "type": "number",
  5736. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5737. "name": "price",
  5738. "in": "query"
  5739. },
  5740. {
  5741. "type": "integer",
  5742. "description": "档位,不传则默认为3档",
  5743. "name": "speed",
  5744. "in": "query"
  5745. }
  5746. ],
  5747. "responses": {
  5748. "200": {
  5749. "description": "OK",
  5750. "schema": {
  5751. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5752. }
  5753. },
  5754. "500": {
  5755. "description": "Internal Server Error",
  5756. "schema": {
  5757. "$ref": "#/definitions/app.Response"
  5758. }
  5759. }
  5760. }
  5761. }
  5762. },
  5763. "/HSBY/QueryHsbyListingGoodsDetail": {
  5764. "get": {
  5765. "security": [
  5766. {
  5767. "ApiKeyAuth": []
  5768. }
  5769. ],
  5770. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5771. "produces": [
  5772. "application/json"
  5773. ],
  5774. "tags": [
  5775. "定制【海商报业】"
  5776. ],
  5777. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5778. "parameters": [
  5779. {
  5780. "type": "integer",
  5781. "description": "商品ID",
  5782. "name": "goodsID",
  5783. "in": "query",
  5784. "required": true
  5785. },
  5786. {
  5787. "type": "integer",
  5788. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5789. "name": "accountID",
  5790. "in": "query"
  5791. }
  5792. ],
  5793. "responses": {
  5794. "200": {
  5795. "description": "OK",
  5796. "schema": {
  5797. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5798. }
  5799. },
  5800. "500": {
  5801. "description": "Internal Server Error",
  5802. "schema": {
  5803. "$ref": "#/definitions/app.Response"
  5804. }
  5805. }
  5806. }
  5807. }
  5808. },
  5809. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5810. "get": {
  5811. "security": [
  5812. {
  5813. "ApiKeyAuth": []
  5814. }
  5815. ],
  5816. "produces": [
  5817. "application/json"
  5818. ],
  5819. "tags": [
  5820. "定制【海商报业】"
  5821. ],
  5822. "summary": "查询三级市场(商城)商品信息详情",
  5823. "parameters": [
  5824. {
  5825. "type": "integer",
  5826. "description": "委托单号",
  5827. "name": "orderID",
  5828. "in": "query",
  5829. "required": true
  5830. },
  5831. {
  5832. "type": "integer",
  5833. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5834. "name": "accountID",
  5835. "in": "query"
  5836. }
  5837. ],
  5838. "responses": {
  5839. "200": {
  5840. "description": "OK",
  5841. "schema": {
  5842. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5843. }
  5844. },
  5845. "500": {
  5846. "description": "Internal Server Error",
  5847. "schema": {
  5848. "$ref": "#/definitions/app.Response"
  5849. }
  5850. }
  5851. }
  5852. }
  5853. },
  5854. "/HSBY/QueryHsbyMarketGoodses": {
  5855. "get": {
  5856. "security": [
  5857. {
  5858. "ApiKeyAuth": []
  5859. }
  5860. ],
  5861. "produces": [
  5862. "application/json"
  5863. ],
  5864. "tags": [
  5865. "定制【海商报业】"
  5866. ],
  5867. "summary": "查询特卖商品列表(三级商城)",
  5868. "parameters": [
  5869. {
  5870. "type": "integer",
  5871. "description": "页码",
  5872. "name": "page",
  5873. "in": "query"
  5874. },
  5875. {
  5876. "type": "integer",
  5877. "description": "每页条数",
  5878. "name": "pagesize",
  5879. "in": "query"
  5880. },
  5881. {
  5882. "type": "string",
  5883. "description": "市场ID列表,格式:1,2,3",
  5884. "name": "marketIDs",
  5885. "in": "query",
  5886. "required": true
  5887. },
  5888. {
  5889. "type": "integer",
  5890. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5891. "name": "accountID",
  5892. "in": "query",
  5893. "required": true
  5894. },
  5895. {
  5896. "type": "integer",
  5897. "description": "类别ID",
  5898. "name": "categoryID",
  5899. "in": "query"
  5900. },
  5901. {
  5902. "type": "string",
  5903. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5904. "name": "goodsIDs",
  5905. "in": "query"
  5906. },
  5907. {
  5908. "type": "integer",
  5909. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5910. "name": "couponTypeID",
  5911. "in": "query"
  5912. }
  5913. ],
  5914. "responses": {
  5915. "200": {
  5916. "description": "OK",
  5917. "schema": {
  5918. "$ref": "#/definitions/models.HsbyMarketGoods"
  5919. }
  5920. },
  5921. "500": {
  5922. "description": "Internal Server Error",
  5923. "schema": {
  5924. "$ref": "#/definitions/app.Response"
  5925. }
  5926. }
  5927. }
  5928. }
  5929. },
  5930. "/HSBY/QueryHsbyMarkets": {
  5931. "get": {
  5932. "security": [
  5933. {
  5934. "ApiKeyAuth": []
  5935. }
  5936. ],
  5937. "produces": [
  5938. "application/json"
  5939. ],
  5940. "tags": [
  5941. "定制【海商报业】"
  5942. ],
  5943. "summary": "查询海商报业相关市场信息",
  5944. "responses": {
  5945. "200": {
  5946. "description": "OK",
  5947. "schema": {
  5948. "$ref": "#/definitions/models.HsbyMarketInfo"
  5949. }
  5950. },
  5951. "500": {
  5952. "description": "Internal Server Error",
  5953. "schema": {
  5954. "$ref": "#/definitions/app.Response"
  5955. }
  5956. }
  5957. }
  5958. }
  5959. },
  5960. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5961. "get": {
  5962. "security": [
  5963. {
  5964. "ApiKeyAuth": []
  5965. }
  5966. ],
  5967. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5968. "produces": [
  5969. "application/json"
  5970. ],
  5971. "tags": [
  5972. "定制【海商报业】"
  5973. ],
  5974. "summary": "查询“我的订单”信息",
  5975. "parameters": [
  5976. {
  5977. "type": "string",
  5978. "description": "资金账户列表,格式:1,2,3",
  5979. "name": "accountIDs",
  5980. "in": "query",
  5981. "required": true
  5982. }
  5983. ],
  5984. "responses": {
  5985. "200": {
  5986. "description": "OK",
  5987. "schema": {
  5988. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5989. }
  5990. },
  5991. "500": {
  5992. "description": "Internal Server Error",
  5993. "schema": {
  5994. "$ref": "#/definitions/app.Response"
  5995. }
  5996. }
  5997. }
  5998. }
  5999. },
  6000. "/HSBY/QueryHsbyMyGoods": {
  6001. "get": {
  6002. "security": [
  6003. {
  6004. "ApiKeyAuth": []
  6005. }
  6006. ],
  6007. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6008. "produces": [
  6009. "application/json"
  6010. ],
  6011. "tags": [
  6012. "定制【海商报业】"
  6013. ],
  6014. "summary": "查询“我的商品”信息",
  6015. "parameters": [
  6016. {
  6017. "type": "string",
  6018. "description": "资金账户列表,格式:1,2,3",
  6019. "name": "accountIDs",
  6020. "in": "query",
  6021. "required": true
  6022. }
  6023. ],
  6024. "responses": {
  6025. "200": {
  6026. "description": "OK",
  6027. "schema": {
  6028. "$ref": "#/definitions/models.HsbyMyGoods"
  6029. }
  6030. },
  6031. "500": {
  6032. "description": "Internal Server Error",
  6033. "schema": {
  6034. "$ref": "#/definitions/app.Response"
  6035. }
  6036. }
  6037. }
  6038. }
  6039. },
  6040. "/HSBY/QueryHsbyMyPackages": {
  6041. "get": {
  6042. "security": [
  6043. {
  6044. "ApiKeyAuth": []
  6045. }
  6046. ],
  6047. "produces": [
  6048. "application/json"
  6049. ],
  6050. "tags": [
  6051. "定制【海商报业】"
  6052. ],
  6053. "summary": "查询我的包裹信息",
  6054. "parameters": [
  6055. {
  6056. "type": "string",
  6057. "description": "资金账户列表,格式:1,2,3",
  6058. "name": "accountIDs",
  6059. "in": "query",
  6060. "required": true
  6061. },
  6062. {
  6063. "type": "integer",
  6064. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6065. "name": "takeOrderStatus",
  6066. "in": "query"
  6067. }
  6068. ],
  6069. "responses": {
  6070. "200": {
  6071. "description": "OK",
  6072. "schema": {
  6073. "$ref": "#/definitions/models.HsbyMyPackage"
  6074. }
  6075. },
  6076. "500": {
  6077. "description": "Internal Server Error",
  6078. "schema": {
  6079. "$ref": "#/definitions/app.Response"
  6080. }
  6081. }
  6082. }
  6083. }
  6084. },
  6085. "/HSBY/QueryHsbyPreGoodsDetail": {
  6086. "get": {
  6087. "security": [
  6088. {
  6089. "ApiKeyAuth": []
  6090. }
  6091. ],
  6092. "produces": [
  6093. "application/json"
  6094. ],
  6095. "tags": [
  6096. "定制【海商报业】"
  6097. ],
  6098. "summary": "查询一级市场(预售)商品信息详情",
  6099. "parameters": [
  6100. {
  6101. "type": "integer",
  6102. "description": "商品ID",
  6103. "name": "goodsID",
  6104. "in": "query",
  6105. "required": true
  6106. },
  6107. {
  6108. "type": "integer",
  6109. "description": "资金账户,主要用于获取预售商品购买上限",
  6110. "name": "accountID",
  6111. "in": "query"
  6112. }
  6113. ],
  6114. "responses": {
  6115. "200": {
  6116. "description": "OK",
  6117. "schema": {
  6118. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6119. }
  6120. },
  6121. "500": {
  6122. "description": "Internal Server Error",
  6123. "schema": {
  6124. "$ref": "#/definitions/app.Response"
  6125. }
  6126. }
  6127. }
  6128. }
  6129. },
  6130. "/HSBY/QueryHsbyPreGoodses": {
  6131. "get": {
  6132. "security": [
  6133. {
  6134. "ApiKeyAuth": []
  6135. }
  6136. ],
  6137. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6138. "produces": [
  6139. "application/json"
  6140. ],
  6141. "tags": [
  6142. "定制【海商报业】"
  6143. ],
  6144. "summary": "查询新品上市商品列表(一级市场预售)",
  6145. "parameters": [
  6146. {
  6147. "type": "integer",
  6148. "description": "页码",
  6149. "name": "page",
  6150. "in": "query"
  6151. },
  6152. {
  6153. "type": "integer",
  6154. "description": "每页条数",
  6155. "name": "pagesize",
  6156. "in": "query"
  6157. },
  6158. {
  6159. "type": "string",
  6160. "description": "市场ID列表,格式:1,2,3",
  6161. "name": "marketIDs",
  6162. "in": "query",
  6163. "required": true
  6164. },
  6165. {
  6166. "type": "integer",
  6167. "description": "目的地(省)ID",
  6168. "name": "descProvinceID",
  6169. "in": "query"
  6170. },
  6171. {
  6172. "type": "integer",
  6173. "description": "目的地(市)ID",
  6174. "name": "descCityID",
  6175. "in": "query"
  6176. }
  6177. ],
  6178. "responses": {
  6179. "200": {
  6180. "description": "OK",
  6181. "schema": {
  6182. "$ref": "#/definitions/models.HsbyPreGoods"
  6183. }
  6184. },
  6185. "500": {
  6186. "description": "Internal Server Error",
  6187. "schema": {
  6188. "$ref": "#/definitions/app.Response"
  6189. }
  6190. }
  6191. }
  6192. }
  6193. },
  6194. "/HSBY/QueryHsbySellMyDetails": {
  6195. "get": {
  6196. "security": [
  6197. {
  6198. "ApiKeyAuth": []
  6199. }
  6200. ],
  6201. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6202. "produces": [
  6203. "application/json"
  6204. ],
  6205. "tags": [
  6206. "定制【海商报业】"
  6207. ],
  6208. "summary": "查询\"我的闲置\"单据信息",
  6209. "parameters": [
  6210. {
  6211. "type": "integer",
  6212. "description": "页码",
  6213. "name": "page",
  6214. "in": "query"
  6215. },
  6216. {
  6217. "type": "integer",
  6218. "description": "每页条数",
  6219. "name": "pagesize",
  6220. "in": "query"
  6221. },
  6222. {
  6223. "type": "string",
  6224. "description": "资金账户列表,格式:1,2,3",
  6225. "name": "accountIDs",
  6226. "in": "query",
  6227. "required": true
  6228. },
  6229. {
  6230. "type": "integer",
  6231. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6232. "name": "orderType",
  6233. "in": "query"
  6234. }
  6235. ],
  6236. "responses": {
  6237. "200": {
  6238. "description": "OK",
  6239. "schema": {
  6240. "$ref": "#/definitions/models.HsbySellMyDetail"
  6241. }
  6242. },
  6243. "500": {
  6244. "description": "Internal Server Error",
  6245. "schema": {
  6246. "$ref": "#/definitions/app.Response"
  6247. }
  6248. }
  6249. }
  6250. }
  6251. },
  6252. "/HSBY/QueryHsbyTopGoodses": {
  6253. "get": {
  6254. "security": [
  6255. {
  6256. "ApiKeyAuth": []
  6257. }
  6258. ],
  6259. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6260. "produces": [
  6261. "application/json"
  6262. ],
  6263. "tags": [
  6264. "定制【海商报业】"
  6265. ],
  6266. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6267. "parameters": [
  6268. {
  6269. "type": "integer",
  6270. "description": "页码",
  6271. "name": "page",
  6272. "in": "query"
  6273. },
  6274. {
  6275. "type": "integer",
  6276. "description": "每页条数",
  6277. "name": "pagesize",
  6278. "in": "query"
  6279. },
  6280. {
  6281. "type": "string",
  6282. "description": "市场ID列表,格式:1,2,3",
  6283. "name": "marketIDs",
  6284. "in": "query",
  6285. "required": true
  6286. },
  6287. {
  6288. "type": "integer",
  6289. "description": "目的地(省)ID",
  6290. "name": "descProvinceID",
  6291. "in": "query"
  6292. },
  6293. {
  6294. "type": "integer",
  6295. "description": "目的地(市)ID",
  6296. "name": "descCityID",
  6297. "in": "query"
  6298. }
  6299. ],
  6300. "responses": {
  6301. "200": {
  6302. "description": "OK",
  6303. "schema": {
  6304. "$ref": "#/definitions/models.HsbyTopGoods"
  6305. }
  6306. },
  6307. "500": {
  6308. "description": "Internal Server Error",
  6309. "schema": {
  6310. "$ref": "#/definitions/app.Response"
  6311. }
  6312. }
  6313. }
  6314. }
  6315. },
  6316. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6317. "get": {
  6318. "security": [
  6319. {
  6320. "ApiKeyAuth": []
  6321. }
  6322. ],
  6323. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6324. "produces": [
  6325. "application/json"
  6326. ],
  6327. "tags": [
  6328. "定制【海商报业】"
  6329. ],
  6330. "summary": "查询游客三级市场(商城)商品信息详情",
  6331. "parameters": [
  6332. {
  6333. "type": "integer",
  6334. "description": "商品ID",
  6335. "name": "goodsID",
  6336. "in": "query",
  6337. "required": true
  6338. }
  6339. ],
  6340. "responses": {
  6341. "200": {
  6342. "description": "OK",
  6343. "schema": {
  6344. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6345. }
  6346. },
  6347. "500": {
  6348. "description": "Internal Server Error",
  6349. "schema": {
  6350. "$ref": "#/definitions/app.Response"
  6351. }
  6352. }
  6353. }
  6354. }
  6355. },
  6356. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6357. "get": {
  6358. "security": [
  6359. {
  6360. "ApiKeyAuth": []
  6361. }
  6362. ],
  6363. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6364. "produces": [
  6365. "application/json"
  6366. ],
  6367. "tags": [
  6368. "定制【海商报业】"
  6369. ],
  6370. "summary": "查询游客特卖商品列表(三级商城)",
  6371. "parameters": [
  6372. {
  6373. "type": "integer",
  6374. "description": "页码",
  6375. "name": "page",
  6376. "in": "query"
  6377. },
  6378. {
  6379. "type": "integer",
  6380. "description": "每页条数",
  6381. "name": "pagesize",
  6382. "in": "query"
  6383. },
  6384. {
  6385. "type": "string",
  6386. "description": "市场ID列表,格式:1,2,3",
  6387. "name": "marketIDs",
  6388. "in": "query",
  6389. "required": true
  6390. },
  6391. {
  6392. "type": "integer",
  6393. "description": "类别ID",
  6394. "name": "categoryID",
  6395. "in": "query"
  6396. },
  6397. {
  6398. "type": "string",
  6399. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6400. "name": "goodsIDs",
  6401. "in": "query"
  6402. }
  6403. ],
  6404. "responses": {
  6405. "200": {
  6406. "description": "OK",
  6407. "schema": {
  6408. "$ref": "#/definitions/models.HsbyMarketGoods"
  6409. }
  6410. },
  6411. "500": {
  6412. "description": "Internal Server Error",
  6413. "schema": {
  6414. "$ref": "#/definitions/app.Response"
  6415. }
  6416. }
  6417. }
  6418. }
  6419. },
  6420. "/HSBY/QueryMyCollectionOrders": {
  6421. "get": {
  6422. "security": [
  6423. {
  6424. "ApiKeyAuth": []
  6425. }
  6426. ],
  6427. "produces": [
  6428. "application/json"
  6429. ],
  6430. "tags": [
  6431. "定制【海商报业】"
  6432. ],
  6433. "summary": "我的闲置中收款信息查询",
  6434. "parameters": [
  6435. {
  6436. "type": "integer",
  6437. "description": "页码",
  6438. "name": "page",
  6439. "in": "query"
  6440. },
  6441. {
  6442. "type": "integer",
  6443. "description": "每页条数",
  6444. "name": "pagesize",
  6445. "in": "query"
  6446. },
  6447. {
  6448. "type": "string",
  6449. "description": "资金账户,格式:1,2,3",
  6450. "name": "accountIDs",
  6451. "in": "query",
  6452. "required": true
  6453. }
  6454. ],
  6455. "responses": {
  6456. "200": {
  6457. "description": "OK",
  6458. "schema": {
  6459. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6460. }
  6461. },
  6462. "500": {
  6463. "description": "Internal Server Error",
  6464. "schema": {
  6465. "$ref": "#/definitions/app.Response"
  6466. }
  6467. }
  6468. }
  6469. }
  6470. },
  6471. "/HSBY/QueryMyCouponHolds": {
  6472. "get": {
  6473. "security": [
  6474. {
  6475. "ApiKeyAuth": []
  6476. }
  6477. ],
  6478. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6479. "produces": [
  6480. "application/json"
  6481. ],
  6482. "tags": [
  6483. "定制【海商报业】"
  6484. ],
  6485. "summary": "我的优惠卷持仓查询",
  6486. "parameters": [
  6487. {
  6488. "type": "string",
  6489. "description": "资金账户列表,格式:1,2,3",
  6490. "name": "accountIDs",
  6491. "in": "query",
  6492. "required": true
  6493. },
  6494. {
  6495. "type": "string",
  6496. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6497. "name": "holdStatus",
  6498. "in": "query"
  6499. }
  6500. ],
  6501. "responses": {
  6502. "200": {
  6503. "description": "OK",
  6504. "schema": {
  6505. "$ref": "#/definitions/models.MyCouponHold"
  6506. }
  6507. },
  6508. "500": {
  6509. "description": "Internal Server Error",
  6510. "schema": {
  6511. "$ref": "#/definitions/app.Response"
  6512. }
  6513. }
  6514. }
  6515. }
  6516. },
  6517. "/HSBY/QueryMyCoupons": {
  6518. "get": {
  6519. "security": [
  6520. {
  6521. "ApiKeyAuth": []
  6522. }
  6523. ],
  6524. "produces": [
  6525. "application/json"
  6526. ],
  6527. "tags": [
  6528. "定制【海商报业】"
  6529. ],
  6530. "summary": "我的优惠卷查询",
  6531. "parameters": [
  6532. {
  6533. "type": "string",
  6534. "description": "资金账户列表,格式:1,2,3",
  6535. "name": "accountIDs",
  6536. "in": "query",
  6537. "required": true
  6538. },
  6539. {
  6540. "type": "integer",
  6541. "description": "商品ID, 一般与sellUserID配套传入",
  6542. "name": "goodsID",
  6543. "in": "query"
  6544. },
  6545. {
  6546. "type": "integer",
  6547. "description": "卖方UserID",
  6548. "name": "sellUserID",
  6549. "in": "query"
  6550. }
  6551. ],
  6552. "responses": {
  6553. "200": {
  6554. "description": "OK",
  6555. "schema": {
  6556. "$ref": "#/definitions/models.MyCoupon"
  6557. }
  6558. },
  6559. "500": {
  6560. "description": "Internal Server Error",
  6561. "schema": {
  6562. "$ref": "#/definitions/app.Response"
  6563. }
  6564. }
  6565. }
  6566. }
  6567. },
  6568. "/HSBY/QueryMyPayOrders": {
  6569. "get": {
  6570. "security": [
  6571. {
  6572. "ApiKeyAuth": []
  6573. }
  6574. ],
  6575. "produces": [
  6576. "application/json"
  6577. ],
  6578. "tags": [
  6579. "定制【海商报业】"
  6580. ],
  6581. "summary": "获取我的订单中待付款信息",
  6582. "parameters": [
  6583. {
  6584. "type": "integer",
  6585. "description": "页码",
  6586. "name": "page",
  6587. "in": "query"
  6588. },
  6589. {
  6590. "type": "integer",
  6591. "description": "每页条数",
  6592. "name": "pagesize",
  6593. "in": "query"
  6594. },
  6595. {
  6596. "type": "string",
  6597. "description": "资金账户列表,格式:1,2,3",
  6598. "name": "accountIDs",
  6599. "in": "query",
  6600. "required": true
  6601. },
  6602. {
  6603. "type": "integer",
  6604. "description": "买方委托单号",
  6605. "name": "buyOrderID",
  6606. "in": "query"
  6607. },
  6608. {
  6609. "type": "integer",
  6610. "description": "卖方委托单号",
  6611. "name": "sellOrderID",
  6612. "in": "query"
  6613. }
  6614. ],
  6615. "responses": {
  6616. "200": {
  6617. "description": "OK",
  6618. "schema": {
  6619. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6620. }
  6621. },
  6622. "500": {
  6623. "description": "Internal Server Error",
  6624. "schema": {
  6625. "$ref": "#/definitions/app.Response"
  6626. }
  6627. }
  6628. }
  6629. }
  6630. },
  6631. "/HSBY/QueryMyUsedCoupon": {
  6632. "get": {
  6633. "security": [
  6634. {
  6635. "ApiKeyAuth": []
  6636. }
  6637. ],
  6638. "produces": [
  6639. "application/json"
  6640. ],
  6641. "tags": [
  6642. "定制【海商报业】"
  6643. ],
  6644. "summary": "已使用优惠卷查询",
  6645. "parameters": [
  6646. {
  6647. "type": "string",
  6648. "description": "资金账户列表,格式:1,2,3",
  6649. "name": "accountIDs",
  6650. "in": "query",
  6651. "required": true
  6652. }
  6653. ],
  6654. "responses": {
  6655. "200": {
  6656. "description": "OK",
  6657. "schema": {
  6658. "$ref": "#/definitions/models.MyUsedCoupon"
  6659. }
  6660. },
  6661. "500": {
  6662. "description": "Internal Server Error",
  6663. "schema": {
  6664. "$ref": "#/definitions/app.Response"
  6665. }
  6666. }
  6667. }
  6668. }
  6669. },
  6670. "/HSBY/QueryProvincesAndCities": {
  6671. "get": {
  6672. "security": [
  6673. {
  6674. "ApiKeyAuth": []
  6675. }
  6676. ],
  6677. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6678. "produces": [
  6679. "application/json"
  6680. ],
  6681. "tags": [
  6682. "定制【海商报业】"
  6683. ],
  6684. "summary": "查询省市信息(不包括区)",
  6685. "parameters": [
  6686. {
  6687. "type": "integer",
  6688. "description": "省ID",
  6689. "name": "provinceID",
  6690. "in": "query"
  6691. }
  6692. ],
  6693. "responses": {
  6694. "200": {
  6695. "description": "OK",
  6696. "schema": {
  6697. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6698. }
  6699. },
  6700. "500": {
  6701. "description": "Internal Server Error",
  6702. "schema": {
  6703. "$ref": "#/definitions/app.Response"
  6704. }
  6705. }
  6706. }
  6707. }
  6708. },
  6709. "/HSBY/SetHsbyMyPackagesStatus": {
  6710. "post": {
  6711. "security": [
  6712. {
  6713. "ApiKeyAuth": []
  6714. }
  6715. ],
  6716. "produces": [
  6717. "application/json"
  6718. ],
  6719. "tags": [
  6720. "定制【海商报业】"
  6721. ],
  6722. "summary": "设置我的包裹已收货状态",
  6723. "parameters": [
  6724. {
  6725. "type": "string",
  6726. "description": "提货单号",
  6727. "name": "takeOrderID",
  6728. "in": "query",
  6729. "required": true
  6730. },
  6731. {
  6732. "type": "integer",
  6733. "description": "资金账号",
  6734. "name": "accountID",
  6735. "in": "query",
  6736. "required": true
  6737. }
  6738. ],
  6739. "responses": {
  6740. "200": {
  6741. "description": "OK",
  6742. "schema": {
  6743. "$ref": "#/definitions/app.Response"
  6744. }
  6745. },
  6746. "500": {
  6747. "description": "Internal Server Error",
  6748. "schema": {
  6749. "$ref": "#/definitions/app.Response"
  6750. }
  6751. }
  6752. }
  6753. }
  6754. },
  6755. "/Market/GetAllExExchanges": {
  6756. "get": {
  6757. "security": [
  6758. {
  6759. "ApiKeyAuth": []
  6760. }
  6761. ],
  6762. "produces": [
  6763. "application/json"
  6764. ],
  6765. "tags": [
  6766. "通用市场"
  6767. ],
  6768. "summary": "获取所有外部交易所信息",
  6769. "responses": {
  6770. "200": {
  6771. "description": "OK",
  6772. "schema": {
  6773. "$ref": "#/definitions/models.Goods"
  6774. }
  6775. },
  6776. "500": {
  6777. "description": "Internal Server Error",
  6778. "schema": {
  6779. "$ref": "#/definitions/app.Response"
  6780. }
  6781. }
  6782. }
  6783. }
  6784. },
  6785. "/Market/QueryGoodsesByLoginID": {
  6786. "get": {
  6787. "security": [
  6788. {
  6789. "ApiKeyAuth": []
  6790. }
  6791. ],
  6792. "produces": [
  6793. "application/json"
  6794. ],
  6795. "tags": [
  6796. "通用市场"
  6797. ],
  6798. "summary": "获取登录账号有权限的商品信息",
  6799. "parameters": [
  6800. {
  6801. "type": "integer",
  6802. "description": "登录账号",
  6803. "name": "loginID",
  6804. "in": "query",
  6805. "required": true
  6806. },
  6807. {
  6808. "type": "string",
  6809. "description": "市场ID列表,格式:1,2,3",
  6810. "name": "marketIDs",
  6811. "in": "query"
  6812. }
  6813. ],
  6814. "responses": {
  6815. "200": {
  6816. "description": "OK",
  6817. "schema": {
  6818. "$ref": "#/definitions/models.Goods"
  6819. }
  6820. },
  6821. "500": {
  6822. "description": "Internal Server Error",
  6823. "schema": {
  6824. "$ref": "#/definitions/app.Response"
  6825. }
  6826. }
  6827. }
  6828. }
  6829. },
  6830. "/Market/QueryMarketRun": {
  6831. "get": {
  6832. "security": [
  6833. {
  6834. "ApiKeyAuth": []
  6835. }
  6836. ],
  6837. "produces": [
  6838. "application/json"
  6839. ],
  6840. "tags": [
  6841. "通用市场"
  6842. ],
  6843. "summary": "查询市场运行信息",
  6844. "parameters": [
  6845. {
  6846. "type": "integer",
  6847. "description": "市场ID,不传返回所有",
  6848. "name": "marketID",
  6849. "in": "query"
  6850. }
  6851. ],
  6852. "responses": {
  6853. "200": {
  6854. "description": "OK",
  6855. "schema": {
  6856. "$ref": "#/definitions/models.Marketrun"
  6857. }
  6858. },
  6859. "500": {
  6860. "description": "Internal Server Error",
  6861. "schema": {
  6862. "$ref": "#/definitions/app.Response"
  6863. }
  6864. }
  6865. }
  6866. }
  6867. },
  6868. "/Market/QueryMarketsByLoginID": {
  6869. "get": {
  6870. "security": [
  6871. {
  6872. "ApiKeyAuth": []
  6873. }
  6874. ],
  6875. "produces": [
  6876. "application/json"
  6877. ],
  6878. "tags": [
  6879. "通用市场"
  6880. ],
  6881. "summary": "获取登录账号有权限的市场信息",
  6882. "parameters": [
  6883. {
  6884. "type": "integer",
  6885. "description": "登录账号",
  6886. "name": "loginID",
  6887. "in": "query",
  6888. "required": true
  6889. }
  6890. ],
  6891. "responses": {
  6892. "200": {
  6893. "description": "OK",
  6894. "schema": {
  6895. "$ref": "#/definitions/models.Market"
  6896. }
  6897. },
  6898. "500": {
  6899. "description": "Internal Server Error",
  6900. "schema": {
  6901. "$ref": "#/definitions/app.Response"
  6902. }
  6903. }
  6904. }
  6905. }
  6906. },
  6907. "/Order/QueryHisTradeDetail": {
  6908. "get": {
  6909. "security": [
  6910. {
  6911. "ApiKeyAuth": []
  6912. }
  6913. ],
  6914. "produces": [
  6915. "application/json"
  6916. ],
  6917. "tags": [
  6918. "通用单据"
  6919. ],
  6920. "summary": "历史成交单查询(合约市场)",
  6921. "parameters": [
  6922. {
  6923. "type": "string",
  6924. "description": "资金账户 - 格式:1,2,3",
  6925. "name": "accountID",
  6926. "in": "query",
  6927. "required": true
  6928. },
  6929. {
  6930. "type": "integer",
  6931. "description": "成交单号",
  6932. "name": "tradeID",
  6933. "in": "query"
  6934. },
  6935. {
  6936. "type": "integer",
  6937. "description": "委托单号",
  6938. "name": "orderID",
  6939. "in": "query"
  6940. },
  6941. {
  6942. "type": "integer",
  6943. "description": "商品ID",
  6944. "name": "goodsID",
  6945. "in": "query"
  6946. },
  6947. {
  6948. "type": "string",
  6949. "description": "交易模式 - 格式:1,2,3",
  6950. "name": "tradeMode",
  6951. "in": "query"
  6952. },
  6953. {
  6954. "type": "integer",
  6955. "description": "委托单据类型",
  6956. "name": "buildType",
  6957. "in": "query"
  6958. },
  6959. {
  6960. "type": "string",
  6961. "description": "成交类别 - 格式:1,2,3",
  6962. "name": "tradeType",
  6963. "in": "query"
  6964. },
  6965. {
  6966. "type": "string",
  6967. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6968. "name": "startDate",
  6969. "in": "query"
  6970. },
  6971. {
  6972. "type": "string",
  6973. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6974. "name": "endDate",
  6975. "in": "query"
  6976. }
  6977. ],
  6978. "responses": {
  6979. "200": {
  6980. "description": "OK",
  6981. "schema": {
  6982. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6983. }
  6984. },
  6985. "500": {
  6986. "description": "Internal Server Error",
  6987. "schema": {
  6988. "$ref": "#/definitions/app.Response"
  6989. }
  6990. }
  6991. }
  6992. }
  6993. },
  6994. "/Order/QueryHisTradeOrderDetail": {
  6995. "get": {
  6996. "security": [
  6997. {
  6998. "ApiKeyAuth": []
  6999. }
  7000. ],
  7001. "produces": [
  7002. "application/json"
  7003. ],
  7004. "tags": [
  7005. "通用单据"
  7006. ],
  7007. "summary": "历史委托单查询请求(合约市场)",
  7008. "parameters": [
  7009. {
  7010. "type": "string",
  7011. "description": "资金账户 - 格式:1,2,3",
  7012. "name": "accountID",
  7013. "in": "query",
  7014. "required": true
  7015. },
  7016. {
  7017. "type": "string",
  7018. "description": "交易模式 - 格式:1,2,3",
  7019. "name": "tradeMode",
  7020. "in": "query"
  7021. },
  7022. {
  7023. "type": "string",
  7024. "description": "委托状态 - 格式:1,2,3",
  7025. "name": "orderStatus",
  7026. "in": "query"
  7027. },
  7028. {
  7029. "type": "integer",
  7030. "description": "委托单号",
  7031. "name": "orderID",
  7032. "in": "query"
  7033. },
  7034. {
  7035. "type": "string",
  7036. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7037. "name": "startDate",
  7038. "in": "query"
  7039. },
  7040. {
  7041. "type": "string",
  7042. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7043. "name": "endDate",
  7044. "in": "query"
  7045. }
  7046. ],
  7047. "responses": {
  7048. "200": {
  7049. "description": "OK",
  7050. "schema": {
  7051. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7052. }
  7053. },
  7054. "500": {
  7055. "description": "Internal Server Error",
  7056. "schema": {
  7057. "$ref": "#/definitions/app.Response"
  7058. }
  7059. }
  7060. }
  7061. }
  7062. },
  7063. "/Order/QueryTradeDetail": {
  7064. "get": {
  7065. "security": [
  7066. {
  7067. "ApiKeyAuth": []
  7068. }
  7069. ],
  7070. "produces": [
  7071. "application/json"
  7072. ],
  7073. "tags": [
  7074. "通用单据"
  7075. ],
  7076. "summary": "成交单查询(合约市场)",
  7077. "parameters": [
  7078. {
  7079. "type": "string",
  7080. "description": "资金账户 - 格式:1,2,3",
  7081. "name": "accountID",
  7082. "in": "query",
  7083. "required": true
  7084. },
  7085. {
  7086. "type": "integer",
  7087. "description": "成交单号",
  7088. "name": "tradeID",
  7089. "in": "query"
  7090. },
  7091. {
  7092. "type": "integer",
  7093. "description": "委托单号",
  7094. "name": "orderID",
  7095. "in": "query"
  7096. },
  7097. {
  7098. "type": "string",
  7099. "description": "交易模式 - 格式:1,2,3",
  7100. "name": "tradeMode",
  7101. "in": "query"
  7102. },
  7103. {
  7104. "type": "integer",
  7105. "description": "委托单据类型",
  7106. "name": "buildType",
  7107. "in": "query"
  7108. },
  7109. {
  7110. "type": "string",
  7111. "description": "成交类别 - 格式:1,2,3",
  7112. "name": "tradeType",
  7113. "in": "query"
  7114. },
  7115. {
  7116. "type": "integer",
  7117. "description": "商品ID",
  7118. "name": "goodsID",
  7119. "in": "query"
  7120. }
  7121. ],
  7122. "responses": {
  7123. "200": {
  7124. "description": "OK",
  7125. "schema": {
  7126. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7127. }
  7128. },
  7129. "500": {
  7130. "description": "Internal Server Error",
  7131. "schema": {
  7132. "$ref": "#/definitions/app.Response"
  7133. }
  7134. }
  7135. }
  7136. }
  7137. },
  7138. "/Order/QueryTradeHolderDetail": {
  7139. "get": {
  7140. "security": [
  7141. {
  7142. "ApiKeyAuth": []
  7143. }
  7144. ],
  7145. "produces": [
  7146. "application/json"
  7147. ],
  7148. "tags": [
  7149. "通用单据"
  7150. ],
  7151. "summary": "查询持仓明细",
  7152. "parameters": [
  7153. {
  7154. "type": "integer",
  7155. "description": "用户id",
  7156. "name": "userid",
  7157. "in": "query"
  7158. },
  7159. {
  7160. "type": "string",
  7161. "description": "资金账号, 格式 1,2,3",
  7162. "name": "accids",
  7163. "in": "query"
  7164. },
  7165. {
  7166. "type": "string",
  7167. "description": "交易模式, 格式 1,2,3",
  7168. "name": "trademodes",
  7169. "in": "query"
  7170. },
  7171. {
  7172. "type": "string",
  7173. "description": "市场id, 格式 1,2,3",
  7174. "name": "marketids",
  7175. "in": "query"
  7176. },
  7177. {
  7178. "type": "integer",
  7179. "description": "商品id",
  7180. "name": "goodsid",
  7181. "in": "query"
  7182. },
  7183. {
  7184. "type": "integer",
  7185. "description": "买卖方向 0-买 1-卖",
  7186. "name": "buyorsell",
  7187. "in": "query"
  7188. }
  7189. ],
  7190. "responses": {
  7191. "200": {
  7192. "description": "OK",
  7193. "schema": {
  7194. "type": "array",
  7195. "items": {
  7196. "$ref": "#/definitions/models.TradeHolderDetail"
  7197. }
  7198. }
  7199. },
  7200. "500": {
  7201. "description": "Internal Server Error",
  7202. "schema": {
  7203. "$ref": "#/definitions/app.Response"
  7204. }
  7205. }
  7206. }
  7207. }
  7208. },
  7209. "/Order/QueryTradeOrderDetail": {
  7210. "get": {
  7211. "security": [
  7212. {
  7213. "ApiKeyAuth": []
  7214. }
  7215. ],
  7216. "produces": [
  7217. "application/json"
  7218. ],
  7219. "tags": [
  7220. "通用单据"
  7221. ],
  7222. "summary": "委托单查询请求(合约市场)",
  7223. "parameters": [
  7224. {
  7225. "type": "string",
  7226. "description": "资金账户 - 格式:1,2,3",
  7227. "name": "accountID",
  7228. "in": "query",
  7229. "required": true
  7230. },
  7231. {
  7232. "type": "string",
  7233. "description": "交易模式 - 格式:1,2,3",
  7234. "name": "tradeMode",
  7235. "in": "query"
  7236. },
  7237. {
  7238. "type": "string",
  7239. "description": "委托状态 - 格式:1,2,3",
  7240. "name": "orderStatus",
  7241. "in": "query"
  7242. },
  7243. {
  7244. "type": "integer",
  7245. "description": "委托单号",
  7246. "name": "orderID",
  7247. "in": "query"
  7248. }
  7249. ],
  7250. "responses": {
  7251. "200": {
  7252. "description": "OK",
  7253. "schema": {
  7254. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7255. }
  7256. },
  7257. "500": {
  7258. "description": "Internal Server Error",
  7259. "schema": {
  7260. "$ref": "#/definitions/app.Response"
  7261. }
  7262. }
  7263. }
  7264. }
  7265. },
  7266. "/Order/QueryTradePosition": {
  7267. "get": {
  7268. "security": [
  7269. {
  7270. "ApiKeyAuth": []
  7271. }
  7272. ],
  7273. "produces": [
  7274. "application/json"
  7275. ],
  7276. "tags": [
  7277. "通用单据"
  7278. ],
  7279. "summary": "持仓汇总查询(合约市场)",
  7280. "parameters": [
  7281. {
  7282. "type": "string",
  7283. "description": "资金账户 - 格式:1,2,3",
  7284. "name": "accountID",
  7285. "in": "query",
  7286. "required": true
  7287. },
  7288. {
  7289. "type": "string",
  7290. "description": "交易模式 - 格式:1,2,3",
  7291. "name": "tradeMode",
  7292. "in": "query"
  7293. }
  7294. ],
  7295. "responses": {
  7296. "200": {
  7297. "description": "OK",
  7298. "schema": {
  7299. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7300. }
  7301. },
  7302. "500": {
  7303. "description": "Internal Server Error",
  7304. "schema": {
  7305. "$ref": "#/definitions/app.Response"
  7306. }
  7307. }
  7308. }
  7309. }
  7310. },
  7311. "/Qhj/QueryAccountInOutApply": {
  7312. "get": {
  7313. "security": [
  7314. {
  7315. "ApiKeyAuth": []
  7316. }
  7317. ],
  7318. "produces": [
  7319. "application/json"
  7320. ],
  7321. "tags": [
  7322. "大连千海金"
  7323. ],
  7324. "summary": "查询充值提现",
  7325. "parameters": [
  7326. {
  7327. "type": "integer",
  7328. "description": "用户ID",
  7329. "name": "userid",
  7330. "in": "query",
  7331. "required": true
  7332. },
  7333. {
  7334. "type": "string",
  7335. "description": "申请起始日期(格式yyyymmdd)",
  7336. "name": "begindate",
  7337. "in": "query"
  7338. },
  7339. {
  7340. "type": "string",
  7341. "description": "申请截止日期(格式yyyymmdd)",
  7342. "name": "enddate",
  7343. "in": "query"
  7344. },
  7345. {
  7346. "type": "string",
  7347. "description": "模糊搜索名称",
  7348. "name": "likename",
  7349. "in": "query"
  7350. }
  7351. ],
  7352. "responses": {
  7353. "200": {
  7354. "description": "OK",
  7355. "schema": {
  7356. "type": "array",
  7357. "items": {
  7358. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7359. }
  7360. }
  7361. },
  7362. "500": {
  7363. "description": "Internal Server Error",
  7364. "schema": {
  7365. "$ref": "#/definitions/app.Response"
  7366. }
  7367. }
  7368. }
  7369. }
  7370. },
  7371. "/Qhj/QueryAreaFinanceConfig": {
  7372. "get": {
  7373. "security": [
  7374. {
  7375. "ApiKeyAuth": []
  7376. }
  7377. ],
  7378. "produces": [
  7379. "application/json"
  7380. ],
  7381. "tags": [
  7382. "大连千海金"
  7383. ],
  7384. "summary": "查询企业配置表",
  7385. "parameters": [
  7386. {
  7387. "type": "integer",
  7388. "description": "机构用户ID 其他做市关系,都设置为 1",
  7389. "name": "userid",
  7390. "in": "query"
  7391. }
  7392. ],
  7393. "responses": {
  7394. "200": {
  7395. "description": "OK",
  7396. "schema": {
  7397. "type": "array",
  7398. "items": {
  7399. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7400. }
  7401. }
  7402. },
  7403. "500": {
  7404. "description": "Internal Server Error",
  7405. "schema": {
  7406. "$ref": "#/definitions/app.Response"
  7407. }
  7408. }
  7409. }
  7410. }
  7411. },
  7412. "/Qhj/QueryBankAccountSign": {
  7413. "get": {
  7414. "security": [
  7415. {
  7416. "ApiKeyAuth": []
  7417. }
  7418. ],
  7419. "produces": [
  7420. "application/json"
  7421. ],
  7422. "tags": [
  7423. "大连千海金"
  7424. ],
  7425. "summary": "查询签约银行信息(提现账户管理)",
  7426. "parameters": [
  7427. {
  7428. "type": "integer",
  7429. "description": "用户ID",
  7430. "name": "userid",
  7431. "in": "query",
  7432. "required": true
  7433. }
  7434. ],
  7435. "responses": {
  7436. "200": {
  7437. "description": "OK",
  7438. "schema": {
  7439. "type": "array",
  7440. "items": {
  7441. "$ref": "#/definitions/models.QhjBankAccountSign"
  7442. }
  7443. }
  7444. },
  7445. "500": {
  7446. "description": "Internal Server Error",
  7447. "schema": {
  7448. "$ref": "#/definitions/app.Response"
  7449. }
  7450. }
  7451. }
  7452. }
  7453. },
  7454. "/Qhj/QueryBankInfo": {
  7455. "get": {
  7456. "security": [
  7457. {
  7458. "ApiKeyAuth": []
  7459. }
  7460. ],
  7461. "produces": [
  7462. "application/json"
  7463. ],
  7464. "tags": [
  7465. "大连千海金"
  7466. ],
  7467. "summary": "查询开户行",
  7468. "responses": {
  7469. "200": {
  7470. "description": "OK",
  7471. "schema": {
  7472. "type": "array",
  7473. "items": {
  7474. "$ref": "#/definitions/models.QhjBankInfo"
  7475. }
  7476. }
  7477. },
  7478. "500": {
  7479. "description": "Internal Server Error",
  7480. "schema": {
  7481. "$ref": "#/definitions/app.Response"
  7482. }
  7483. }
  7484. }
  7485. }
  7486. },
  7487. "/Qhj/QueryBrokerApply": {
  7488. "get": {
  7489. "security": [
  7490. {
  7491. "ApiKeyAuth": []
  7492. }
  7493. ],
  7494. "produces": [
  7495. "application/json"
  7496. ],
  7497. "tags": [
  7498. "大连千海金"
  7499. ],
  7500. "summary": "查询经纪人申请",
  7501. "parameters": [
  7502. {
  7503. "type": "integer",
  7504. "description": "所属机构ID",
  7505. "name": "userid",
  7506. "in": "query"
  7507. },
  7508. {
  7509. "type": "string",
  7510. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7511. "name": "filterstatus",
  7512. "in": "query"
  7513. }
  7514. ],
  7515. "responses": {
  7516. "200": {
  7517. "description": "OK",
  7518. "schema": {
  7519. "type": "array",
  7520. "items": {
  7521. "$ref": "#/definitions/models.QhjBrokerApply"
  7522. }
  7523. }
  7524. },
  7525. "500": {
  7526. "description": "Internal Server Error",
  7527. "schema": {
  7528. "$ref": "#/definitions/app.Response"
  7529. }
  7530. }
  7531. }
  7532. }
  7533. },
  7534. "/Qhj/QueryBrokerApplyEx": {
  7535. "get": {
  7536. "security": [
  7537. {
  7538. "ApiKeyAuth": []
  7539. }
  7540. ],
  7541. "produces": [
  7542. "application/json"
  7543. ],
  7544. "tags": [
  7545. "大连千海金"
  7546. ],
  7547. "summary": "查询经纪人信息和申请记录",
  7548. "parameters": [
  7549. {
  7550. "type": "integer",
  7551. "description": "所属机构ID",
  7552. "name": "userid",
  7553. "in": "query"
  7554. }
  7555. ],
  7556. "responses": {
  7557. "200": {
  7558. "description": "OK",
  7559. "schema": {
  7560. "type": "array",
  7561. "items": {
  7562. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7563. }
  7564. }
  7565. },
  7566. "500": {
  7567. "description": "Internal Server Error",
  7568. "schema": {
  7569. "$ref": "#/definitions/app.Response"
  7570. }
  7571. }
  7572. }
  7573. }
  7574. },
  7575. "/Qhj/QueryBrokerRewardLog": {
  7576. "get": {
  7577. "security": [
  7578. {
  7579. "ApiKeyAuth": []
  7580. }
  7581. ],
  7582. "produces": [
  7583. "application/json"
  7584. ],
  7585. "tags": [
  7586. "大连千海金"
  7587. ],
  7588. "summary": "查询奖励流水(我的奖励)",
  7589. "parameters": [
  7590. {
  7591. "type": "integer",
  7592. "description": "用户ID",
  7593. "name": "userid",
  7594. "in": "query",
  7595. "required": true
  7596. },
  7597. {
  7598. "type": "string",
  7599. "description": "开始交易日(yyyymmdd)",
  7600. "name": "begindate",
  7601. "in": "query"
  7602. },
  7603. {
  7604. "type": "string",
  7605. "description": "结束交易日(yyyymmdd)",
  7606. "name": "enddate",
  7607. "in": "query"
  7608. }
  7609. ],
  7610. "responses": {
  7611. "200": {
  7612. "description": "OK",
  7613. "schema": {
  7614. "type": "array",
  7615. "items": {
  7616. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7617. }
  7618. }
  7619. },
  7620. "500": {
  7621. "description": "Internal Server Error",
  7622. "schema": {
  7623. "$ref": "#/definitions/app.Response"
  7624. }
  7625. }
  7626. }
  7627. }
  7628. },
  7629. "/Qhj/QueryContract": {
  7630. "get": {
  7631. "security": [
  7632. {
  7633. "ApiKeyAuth": []
  7634. }
  7635. ],
  7636. "produces": [
  7637. "application/json"
  7638. ],
  7639. "tags": [
  7640. "大连千海金"
  7641. ],
  7642. "summary": "查询融资明细(合同)",
  7643. "parameters": [
  7644. {
  7645. "type": "integer",
  7646. "description": "用户ID",
  7647. "name": "userid",
  7648. "in": "query"
  7649. },
  7650. {
  7651. "type": "integer",
  7652. "description": "scf合同id",
  7653. "name": "scfcontractid",
  7654. "in": "query"
  7655. }
  7656. ],
  7657. "responses": {
  7658. "200": {
  7659. "description": "OK",
  7660. "schema": {
  7661. "type": "array",
  7662. "items": {
  7663. "$ref": "#/definitions/models.QhjContract"
  7664. }
  7665. }
  7666. },
  7667. "500": {
  7668. "description": "Internal Server Error",
  7669. "schema": {
  7670. "$ref": "#/definitions/app.Response"
  7671. }
  7672. }
  7673. }
  7674. }
  7675. },
  7676. "/Qhj/QueryContractLog": {
  7677. "get": {
  7678. "security": [
  7679. {
  7680. "ApiKeyAuth": []
  7681. }
  7682. ],
  7683. "produces": [
  7684. "application/json"
  7685. ],
  7686. "tags": [
  7687. "大连千海金"
  7688. ],
  7689. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7690. "parameters": [
  7691. {
  7692. "type": "integer",
  7693. "description": "scf合同id",
  7694. "name": "scfcontractid",
  7695. "in": "query",
  7696. "required": true
  7697. },
  7698. {
  7699. "type": "string",
  7700. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7701. "name": "amounttype",
  7702. "in": "query"
  7703. }
  7704. ],
  7705. "responses": {
  7706. "200": {
  7707. "description": "OK",
  7708. "schema": {
  7709. "type": "array",
  7710. "items": {
  7711. "$ref": "#/definitions/models.QhjContractLog"
  7712. }
  7713. }
  7714. },
  7715. "500": {
  7716. "description": "Internal Server Error",
  7717. "schema": {
  7718. "$ref": "#/definitions/app.Response"
  7719. }
  7720. }
  7721. }
  7722. }
  7723. },
  7724. "/Qhj/QueryCusBankSignBank": {
  7725. "get": {
  7726. "security": [
  7727. {
  7728. "ApiKeyAuth": []
  7729. }
  7730. ],
  7731. "produces": [
  7732. "application/json"
  7733. ],
  7734. "tags": [
  7735. "大连千海金"
  7736. ],
  7737. "summary": "查询托管银行",
  7738. "responses": {
  7739. "200": {
  7740. "description": "OK",
  7741. "schema": {
  7742. "type": "array",
  7743. "items": {
  7744. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7745. }
  7746. }
  7747. },
  7748. "500": {
  7749. "description": "Internal Server Error",
  7750. "schema": {
  7751. "$ref": "#/definitions/app.Response"
  7752. }
  7753. }
  7754. }
  7755. }
  7756. },
  7757. "/Qhj/QueryCustomerInfo": {
  7758. "get": {
  7759. "security": [
  7760. {
  7761. "ApiKeyAuth": []
  7762. }
  7763. ],
  7764. "produces": [
  7765. "application/json"
  7766. ],
  7767. "tags": [
  7768. "大连千海金"
  7769. ],
  7770. "summary": "查询客户资料",
  7771. "parameters": [
  7772. {
  7773. "type": "integer",
  7774. "description": "用户ID",
  7775. "name": "userid",
  7776. "in": "query",
  7777. "required": true
  7778. },
  7779. {
  7780. "type": "integer",
  7781. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7782. "name": "querytype",
  7783. "in": "query",
  7784. "required": true
  7785. },
  7786. {
  7787. "type": "integer",
  7788. "description": "客户类型 1-个人 2-企业",
  7789. "name": "userinfotype",
  7790. "in": "query"
  7791. },
  7792. {
  7793. "type": "string",
  7794. "description": "客户名称(模糊匹配)",
  7795. "name": "customername",
  7796. "in": "query"
  7797. },
  7798. {
  7799. "type": "string",
  7800. "description": "昵称(模糊匹配)",
  7801. "name": "nickname",
  7802. "in": "query"
  7803. },
  7804. {
  7805. "type": "integer",
  7806. "description": "是否包含子级 1-包含",
  7807. "name": "includesub",
  7808. "in": "query"
  7809. }
  7810. ],
  7811. "responses": {
  7812. "200": {
  7813. "description": "OK",
  7814. "schema": {
  7815. "type": "array",
  7816. "items": {
  7817. "$ref": "#/definitions/models.QhjCustomer"
  7818. }
  7819. }
  7820. },
  7821. "500": {
  7822. "description": "Internal Server Error",
  7823. "schema": {
  7824. "$ref": "#/definitions/app.Response"
  7825. }
  7826. }
  7827. }
  7828. }
  7829. },
  7830. "/Qhj/QueryGoodsEx": {
  7831. "get": {
  7832. "security": [
  7833. {
  7834. "ApiKeyAuth": []
  7835. }
  7836. ],
  7837. "produces": [
  7838. "application/json"
  7839. ],
  7840. "tags": [
  7841. "大连千海金"
  7842. ],
  7843. "summary": "交易商品扩展表",
  7844. "parameters": [
  7845. {
  7846. "type": "integer",
  7847. "description": "商品id",
  7848. "name": "goodsid",
  7849. "in": "query"
  7850. }
  7851. ],
  7852. "responses": {
  7853. "200": {
  7854. "description": "OK",
  7855. "schema": {
  7856. "type": "array",
  7857. "items": {
  7858. "$ref": "#/definitions/models.Qhjgoodsex"
  7859. }
  7860. }
  7861. },
  7862. "500": {
  7863. "description": "Internal Server Error",
  7864. "schema": {
  7865. "$ref": "#/definitions/app.Response"
  7866. }
  7867. }
  7868. }
  7869. }
  7870. },
  7871. "/Qhj/QueryMyTeam": {
  7872. "get": {
  7873. "security": [
  7874. {
  7875. "ApiKeyAuth": []
  7876. }
  7877. ],
  7878. "produces": [
  7879. "application/json"
  7880. ],
  7881. "tags": [
  7882. "大连千海金"
  7883. ],
  7884. "summary": "查询我的团队",
  7885. "parameters": [
  7886. {
  7887. "type": "integer",
  7888. "description": "用户ID",
  7889. "name": "userid",
  7890. "in": "query",
  7891. "required": true
  7892. }
  7893. ],
  7894. "responses": {
  7895. "200": {
  7896. "description": "OK",
  7897. "schema": {
  7898. "type": "array",
  7899. "items": {
  7900. "$ref": "#/definitions/models.QhjMyTeamEx"
  7901. }
  7902. }
  7903. },
  7904. "500": {
  7905. "description": "Internal Server Error",
  7906. "schema": {
  7907. "$ref": "#/definitions/app.Response"
  7908. }
  7909. }
  7910. }
  7911. }
  7912. },
  7913. "/Qhj/QueryMyTeamOrder": {
  7914. "get": {
  7915. "security": [
  7916. {
  7917. "ApiKeyAuth": []
  7918. }
  7919. ],
  7920. "produces": [
  7921. "application/json"
  7922. ],
  7923. "tags": [
  7924. "大连千海金"
  7925. ],
  7926. "summary": "查询团队订单(我的团队/团队订单)",
  7927. "parameters": [
  7928. {
  7929. "type": "integer",
  7930. "description": "页码",
  7931. "name": "page",
  7932. "in": "query"
  7933. },
  7934. {
  7935. "type": "integer",
  7936. "description": "每页条数",
  7937. "name": "pagesize",
  7938. "in": "query"
  7939. },
  7940. {
  7941. "type": "integer",
  7942. "description": "用户ID",
  7943. "name": "userid",
  7944. "in": "query",
  7945. "required": true
  7946. },
  7947. {
  7948. "type": "integer",
  7949. "description": "交易模式",
  7950. "name": "trademode",
  7951. "in": "query"
  7952. },
  7953. {
  7954. "type": "string",
  7955. "description": "名称(模糊搜索账户)",
  7956. "name": "filtername",
  7957. "in": "query"
  7958. }
  7959. ],
  7960. "responses": {
  7961. "200": {
  7962. "description": "OK",
  7963. "schema": {
  7964. "type": "array",
  7965. "items": {
  7966. "$ref": "#/definitions/models.QhjTeamOrder"
  7967. }
  7968. }
  7969. },
  7970. "500": {
  7971. "description": "Internal Server Error",
  7972. "schema": {
  7973. "$ref": "#/definitions/app.Response"
  7974. }
  7975. }
  7976. }
  7977. }
  7978. },
  7979. "/Qhj/QueryParentAreaList": {
  7980. "get": {
  7981. "security": [
  7982. {
  7983. "ApiKeyAuth": []
  7984. }
  7985. ],
  7986. "produces": [
  7987. "application/json"
  7988. ],
  7989. "tags": [
  7990. "大连千海金"
  7991. ],
  7992. "summary": "查询所属机构列表",
  7993. "parameters": [
  7994. {
  7995. "type": "integer",
  7996. "description": "用户ID",
  7997. "name": "userid",
  7998. "in": "query",
  7999. "required": true
  8000. }
  8001. ],
  8002. "responses": {
  8003. "200": {
  8004. "description": "OK",
  8005. "schema": {
  8006. "type": "array",
  8007. "items": {
  8008. "$ref": "#/definitions/models.QhjParentAreaList"
  8009. }
  8010. }
  8011. },
  8012. "500": {
  8013. "description": "Internal Server Error",
  8014. "schema": {
  8015. "$ref": "#/definitions/app.Response"
  8016. }
  8017. }
  8018. }
  8019. }
  8020. },
  8021. "/Qhj/QueryPayOrder": {
  8022. "get": {
  8023. "security": [
  8024. {
  8025. "ApiKeyAuth": []
  8026. }
  8027. ],
  8028. "produces": [
  8029. "application/json"
  8030. ],
  8031. "tags": [
  8032. "大连千海金"
  8033. ],
  8034. "summary": "查询待付款单据",
  8035. "parameters": [
  8036. {
  8037. "type": "integer",
  8038. "description": "资金账号id",
  8039. "name": "accountid",
  8040. "in": "query",
  8041. "required": true
  8042. },
  8043. {
  8044. "type": "integer",
  8045. "description": "成交单号",
  8046. "name": "tradeid",
  8047. "in": "query"
  8048. },
  8049. {
  8050. "type": "string",
  8051. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8052. "name": "payflag",
  8053. "in": "query"
  8054. }
  8055. ],
  8056. "responses": {
  8057. "200": {
  8058. "description": "OK",
  8059. "schema": {
  8060. "type": "array",
  8061. "items": {
  8062. "$ref": "#/definitions/models.QhjPayOrder"
  8063. }
  8064. }
  8065. },
  8066. "500": {
  8067. "description": "Internal Server Error",
  8068. "schema": {
  8069. "$ref": "#/definitions/app.Response"
  8070. }
  8071. }
  8072. }
  8073. }
  8074. },
  8075. "/Qhj/QueryPickArea": {
  8076. "get": {
  8077. "security": [
  8078. {
  8079. "ApiKeyAuth": []
  8080. }
  8081. ],
  8082. "produces": [
  8083. "application/json"
  8084. ],
  8085. "tags": [
  8086. "大连千海金"
  8087. ],
  8088. "summary": "查询提货门店",
  8089. "parameters": [
  8090. {
  8091. "type": "integer",
  8092. "description": "用户ID",
  8093. "name": "userid",
  8094. "in": "query"
  8095. }
  8096. ],
  8097. "responses": {
  8098. "200": {
  8099. "description": "OK",
  8100. "schema": {
  8101. "type": "array",
  8102. "items": {
  8103. "$ref": "#/definitions/models.QhjPickArea"
  8104. }
  8105. }
  8106. },
  8107. "500": {
  8108. "description": "Internal Server Error",
  8109. "schema": {
  8110. "$ref": "#/definitions/app.Response"
  8111. }
  8112. }
  8113. }
  8114. }
  8115. },
  8116. "/Qhj/QueryPickGoods": {
  8117. "get": {
  8118. "security": [
  8119. {
  8120. "ApiKeyAuth": []
  8121. }
  8122. ],
  8123. "produces": [
  8124. "application/json"
  8125. ],
  8126. "tags": [
  8127. "大连千海金"
  8128. ],
  8129. "summary": "查询提货商品",
  8130. "parameters": [
  8131. {
  8132. "type": "integer",
  8133. "description": "交易商品id",
  8134. "name": "goodsid",
  8135. "in": "query",
  8136. "required": true
  8137. },
  8138. {
  8139. "type": "string",
  8140. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8141. "name": "status",
  8142. "in": "query"
  8143. }
  8144. ],
  8145. "responses": {
  8146. "200": {
  8147. "description": "OK",
  8148. "schema": {
  8149. "type": "array",
  8150. "items": {
  8151. "$ref": "#/definitions/models.QhjPickGoods"
  8152. }
  8153. }
  8154. },
  8155. "500": {
  8156. "description": "Internal Server Error",
  8157. "schema": {
  8158. "$ref": "#/definitions/app.Response"
  8159. }
  8160. }
  8161. }
  8162. }
  8163. },
  8164. "/Qhj/QueryRSTriggerLog": {
  8165. "get": {
  8166. "security": [
  8167. {
  8168. "ApiKeyAuth": []
  8169. }
  8170. ],
  8171. "produces": [
  8172. "application/json"
  8173. ],
  8174. "tags": [
  8175. "大连千海金"
  8176. ],
  8177. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8178. "parameters": [
  8179. {
  8180. "type": "integer",
  8181. "description": "用户ID",
  8182. "name": "userid",
  8183. "in": "query"
  8184. },
  8185. {
  8186. "type": "integer",
  8187. "description": "定投策略id",
  8188. "name": "regularlystrategyid",
  8189. "in": "query"
  8190. },
  8191. {
  8192. "type": "integer",
  8193. "description": "商品id",
  8194. "name": "goodsid",
  8195. "in": "query"
  8196. },
  8197. {
  8198. "type": "string",
  8199. "description": "开始交易日(yyyymmdd)",
  8200. "name": "begindate",
  8201. "in": "query"
  8202. },
  8203. {
  8204. "type": "string",
  8205. "description": "结束交易日(yyyymmdd)",
  8206. "name": "enddate",
  8207. "in": "query"
  8208. },
  8209. {
  8210. "type": "string",
  8211. "description": "名称(模糊搜索账户)",
  8212. "name": "filtername",
  8213. "in": "query"
  8214. }
  8215. ],
  8216. "responses": {
  8217. "200": {
  8218. "description": "OK",
  8219. "schema": {
  8220. "type": "array",
  8221. "items": {
  8222. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8223. }
  8224. }
  8225. },
  8226. "500": {
  8227. "description": "Internal Server Error",
  8228. "schema": {
  8229. "$ref": "#/definitions/app.Response"
  8230. }
  8231. }
  8232. }
  8233. }
  8234. },
  8235. "/Qhj/QueryRStrategy": {
  8236. "get": {
  8237. "security": [
  8238. {
  8239. "ApiKeyAuth": []
  8240. }
  8241. ],
  8242. "produces": [
  8243. "application/json"
  8244. ],
  8245. "tags": [
  8246. "大连千海金"
  8247. ],
  8248. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8249. "parameters": [
  8250. {
  8251. "type": "integer",
  8252. "description": "用户ID",
  8253. "name": "userid",
  8254. "in": "query"
  8255. },
  8256. {
  8257. "type": "integer",
  8258. "description": "商品id",
  8259. "name": "goodsid",
  8260. "in": "query"
  8261. },
  8262. {
  8263. "type": "string",
  8264. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8265. "name": "status",
  8266. "in": "query"
  8267. },
  8268. {
  8269. "type": "string",
  8270. "description": "名称(模糊搜索账户)",
  8271. "name": "filtername",
  8272. "in": "query"
  8273. }
  8274. ],
  8275. "responses": {
  8276. "200": {
  8277. "description": "OK",
  8278. "schema": {
  8279. "type": "array",
  8280. "items": {
  8281. "$ref": "#/definitions/models.QhjRStrategy"
  8282. }
  8283. }
  8284. },
  8285. "500": {
  8286. "description": "Internal Server Error",
  8287. "schema": {
  8288. "$ref": "#/definitions/app.Response"
  8289. }
  8290. }
  8291. }
  8292. }
  8293. },
  8294. "/Qhj/QueryReckonPriceLog": {
  8295. "get": {
  8296. "security": [
  8297. {
  8298. "ApiKeyAuth": []
  8299. }
  8300. ],
  8301. "produces": [
  8302. "application/json"
  8303. ],
  8304. "tags": [
  8305. "大连千海金"
  8306. ],
  8307. "summary": "查询定投价(结算价)",
  8308. "parameters": [
  8309. {
  8310. "type": "integer",
  8311. "description": "商品ID",
  8312. "name": "goodsid",
  8313. "in": "query"
  8314. },
  8315. {
  8316. "type": "string",
  8317. "description": "交易日 格式(yyyymmdd)",
  8318. "name": "tradedate",
  8319. "in": "query"
  8320. }
  8321. ],
  8322. "responses": {
  8323. "200": {
  8324. "description": "OK",
  8325. "schema": {
  8326. "type": "array",
  8327. "items": {
  8328. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8329. }
  8330. }
  8331. },
  8332. "500": {
  8333. "description": "Internal Server Error",
  8334. "schema": {
  8335. "$ref": "#/definitions/app.Response"
  8336. }
  8337. }
  8338. }
  8339. }
  8340. },
  8341. "/Qhj/QueryScoreLog": {
  8342. "get": {
  8343. "security": [
  8344. {
  8345. "ApiKeyAuth": []
  8346. }
  8347. ],
  8348. "produces": [
  8349. "application/json"
  8350. ],
  8351. "tags": [
  8352. "大连千海金"
  8353. ],
  8354. "summary": "查询积分流水(我的积分)",
  8355. "parameters": [
  8356. {
  8357. "type": "integer",
  8358. "description": "用户ID",
  8359. "name": "userid",
  8360. "in": "query",
  8361. "required": true
  8362. },
  8363. {
  8364. "type": "string",
  8365. "description": "开始交易日(yyyymmdd)",
  8366. "name": "begindate",
  8367. "in": "query"
  8368. },
  8369. {
  8370. "type": "string",
  8371. "description": "结束交易日(yyyymmdd)",
  8372. "name": "enddate",
  8373. "in": "query"
  8374. },
  8375. {
  8376. "type": "integer",
  8377. "description": "最近多少条",
  8378. "name": "lastnum",
  8379. "in": "query"
  8380. }
  8381. ],
  8382. "responses": {
  8383. "200": {
  8384. "description": "OK",
  8385. "schema": {
  8386. "type": "array",
  8387. "items": {
  8388. "$ref": "#/definitions/models.QhjScoreLog"
  8389. }
  8390. }
  8391. },
  8392. "500": {
  8393. "description": "Internal Server Error",
  8394. "schema": {
  8395. "$ref": "#/definitions/app.Response"
  8396. }
  8397. }
  8398. }
  8399. }
  8400. },
  8401. "/Qhj/QuerySiteColumnDetail": {
  8402. "get": {
  8403. "security": [
  8404. {
  8405. "ApiKeyAuth": []
  8406. }
  8407. ],
  8408. "produces": [
  8409. "application/json"
  8410. ],
  8411. "tags": [
  8412. "大连千海金"
  8413. ],
  8414. "summary": "查询资讯",
  8415. "parameters": [
  8416. {
  8417. "type": "integer",
  8418. "description": "用户ID",
  8419. "name": "userid",
  8420. "in": "query",
  8421. "required": true
  8422. }
  8423. ],
  8424. "responses": {
  8425. "200": {
  8426. "description": "OK",
  8427. "schema": {
  8428. "type": "array",
  8429. "items": {
  8430. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8431. }
  8432. }
  8433. },
  8434. "500": {
  8435. "description": "Internal Server Error",
  8436. "schema": {
  8437. "$ref": "#/definitions/app.Response"
  8438. }
  8439. }
  8440. }
  8441. }
  8442. },
  8443. "/Qhj/QueryTradeGoodsPickup": {
  8444. "get": {
  8445. "security": [
  8446. {
  8447. "ApiKeyAuth": []
  8448. }
  8449. ],
  8450. "produces": [
  8451. "application/json"
  8452. ],
  8453. "tags": [
  8454. "大连千海金"
  8455. ],
  8456. "summary": "查询提货",
  8457. "parameters": [
  8458. {
  8459. "type": "integer",
  8460. "description": "用户ID",
  8461. "name": "userid",
  8462. "in": "query",
  8463. "required": true
  8464. },
  8465. {
  8466. "type": "integer",
  8467. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8468. "name": "takeorderstatus",
  8469. "in": "query"
  8470. }
  8471. ],
  8472. "responses": {
  8473. "200": {
  8474. "description": "OK",
  8475. "schema": {
  8476. "type": "array",
  8477. "items": {
  8478. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8479. }
  8480. }
  8481. },
  8482. "500": {
  8483. "description": "Internal Server Error",
  8484. "schema": {
  8485. "$ref": "#/definitions/app.Response"
  8486. }
  8487. }
  8488. }
  8489. }
  8490. },
  8491. "/Qhj/QueryUserCollectConfig": {
  8492. "get": {
  8493. "security": [
  8494. {
  8495. "ApiKeyAuth": []
  8496. }
  8497. ],
  8498. "produces": [
  8499. "application/json"
  8500. ],
  8501. "tags": [
  8502. "大连千海金"
  8503. ],
  8504. "summary": "查询提现账户设置",
  8505. "parameters": [
  8506. {
  8507. "type": "integer",
  8508. "description": "用户ID",
  8509. "name": "userid",
  8510. "in": "query",
  8511. "required": true
  8512. }
  8513. ],
  8514. "responses": {
  8515. "200": {
  8516. "description": "OK",
  8517. "schema": {
  8518. "type": "array",
  8519. "items": {
  8520. "$ref": "#/definitions/models.UserCollectConfig"
  8521. }
  8522. }
  8523. },
  8524. "500": {
  8525. "description": "Internal Server Error",
  8526. "schema": {
  8527. "$ref": "#/definitions/app.Response"
  8528. }
  8529. }
  8530. }
  8531. }
  8532. },
  8533. "/Qhj/QueryUserReceiveInfo": {
  8534. "get": {
  8535. "security": [
  8536. {
  8537. "ApiKeyAuth": []
  8538. }
  8539. ],
  8540. "produces": [
  8541. "application/json"
  8542. ],
  8543. "tags": [
  8544. "大连千海金"
  8545. ],
  8546. "summary": "查询收货地址信息",
  8547. "parameters": [
  8548. {
  8549. "type": "integer",
  8550. "description": "用户ID",
  8551. "name": "userid",
  8552. "in": "query",
  8553. "required": true
  8554. }
  8555. ],
  8556. "responses": {
  8557. "200": {
  8558. "description": "OK",
  8559. "schema": {
  8560. "type": "array",
  8561. "items": {
  8562. "$ref": "#/definitions/models.UserReceiveInfo"
  8563. }
  8564. }
  8565. },
  8566. "500": {
  8567. "description": "Internal Server Error",
  8568. "schema": {
  8569. "$ref": "#/definitions/app.Response"
  8570. }
  8571. }
  8572. }
  8573. }
  8574. },
  8575. "/QhjMgr/QueryAccountInOutApply": {
  8576. "get": {
  8577. "security": [
  8578. {
  8579. "ApiKeyAuth": []
  8580. }
  8581. ],
  8582. "produces": [
  8583. "application/json"
  8584. ],
  8585. "tags": [
  8586. "大连千海金(PCWeb)"
  8587. ],
  8588. "summary": "查询充值提现",
  8589. "parameters": [
  8590. {
  8591. "type": "integer",
  8592. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8593. "name": "querytype",
  8594. "in": "query",
  8595. "required": true
  8596. },
  8597. {
  8598. "type": "integer",
  8599. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8600. "name": "applystatus",
  8601. "in": "query"
  8602. },
  8603. {
  8604. "type": "string",
  8605. "description": "申请起始日期(格式yyyymmdd)",
  8606. "name": "begindate",
  8607. "in": "query"
  8608. },
  8609. {
  8610. "type": "string",
  8611. "description": "申请截止日期(格式yyyymmdd)",
  8612. "name": "enddate",
  8613. "in": "query"
  8614. },
  8615. {
  8616. "type": "string",
  8617. "description": "模糊搜索名称",
  8618. "name": "likename",
  8619. "in": "query"
  8620. }
  8621. ],
  8622. "responses": {
  8623. "200": {
  8624. "description": "OK",
  8625. "schema": {
  8626. "type": "array",
  8627. "items": {
  8628. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8629. }
  8630. }
  8631. },
  8632. "500": {
  8633. "description": "Internal Server Error",
  8634. "schema": {
  8635. "$ref": "#/definitions/app.Response"
  8636. }
  8637. }
  8638. }
  8639. }
  8640. },
  8641. "/QhjMgr/QueryBrokerApply": {
  8642. "get": {
  8643. "security": [
  8644. {
  8645. "ApiKeyAuth": []
  8646. }
  8647. ],
  8648. "produces": [
  8649. "application/json"
  8650. ],
  8651. "tags": [
  8652. "大连千海金(PCWeb)"
  8653. ],
  8654. "summary": "查询经纪人申请",
  8655. "parameters": [
  8656. {
  8657. "type": "integer",
  8658. "description": "所属机构ID",
  8659. "name": "userid",
  8660. "in": "query"
  8661. },
  8662. {
  8663. "type": "string",
  8664. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8665. "name": "filterstatus",
  8666. "in": "query"
  8667. },
  8668. {
  8669. "type": "string",
  8670. "description": "名称(模糊匹配)",
  8671. "name": "filtername",
  8672. "in": "query"
  8673. },
  8674. {
  8675. "type": "integer",
  8676. "description": "是否包含子级 1-包含",
  8677. "name": "includesub",
  8678. "in": "query"
  8679. }
  8680. ],
  8681. "responses": {
  8682. "200": {
  8683. "description": "OK",
  8684. "schema": {
  8685. "type": "array",
  8686. "items": {
  8687. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8688. }
  8689. }
  8690. },
  8691. "500": {
  8692. "description": "Internal Server Error",
  8693. "schema": {
  8694. "$ref": "#/definitions/app.Response"
  8695. }
  8696. }
  8697. }
  8698. }
  8699. },
  8700. "/QhjMgr/QueryBrokerRewardReport": {
  8701. "get": {
  8702. "security": [
  8703. {
  8704. "ApiKeyAuth": []
  8705. }
  8706. ],
  8707. "produces": [
  8708. "application/json"
  8709. ],
  8710. "tags": [
  8711. "大连千海金(PCWeb)"
  8712. ],
  8713. "summary": "查询经纪人奖励报表(废弃)",
  8714. "parameters": [
  8715. {
  8716. "type": "integer",
  8717. "description": "所属机构ID",
  8718. "name": "userid",
  8719. "in": "query",
  8720. "required": true
  8721. },
  8722. {
  8723. "type": "integer",
  8724. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8725. "name": "cycletype",
  8726. "in": "query",
  8727. "required": true
  8728. },
  8729. {
  8730. "type": "string",
  8731. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8732. "name": "cycletime",
  8733. "in": "query",
  8734. "required": true
  8735. },
  8736. {
  8737. "type": "string",
  8738. "description": "名称(模糊匹配)",
  8739. "name": "filtername",
  8740. "in": "query"
  8741. },
  8742. {
  8743. "type": "integer",
  8744. "description": "是否包含子级 1-包含",
  8745. "name": "includesub",
  8746. "in": "query"
  8747. }
  8748. ],
  8749. "responses": {
  8750. "200": {
  8751. "description": "OK",
  8752. "schema": {
  8753. "type": "array",
  8754. "items": {
  8755. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8756. }
  8757. }
  8758. },
  8759. "500": {
  8760. "description": "Internal Server Error",
  8761. "schema": {
  8762. "$ref": "#/definitions/app.Response"
  8763. }
  8764. }
  8765. }
  8766. }
  8767. },
  8768. "/QhjMgr/QueryContract": {
  8769. "get": {
  8770. "security": [
  8771. {
  8772. "ApiKeyAuth": []
  8773. }
  8774. ],
  8775. "produces": [
  8776. "application/json"
  8777. ],
  8778. "tags": [
  8779. "大连千海金(PCWeb)"
  8780. ],
  8781. "summary": "查询融资信息(合同)",
  8782. "parameters": [
  8783. {
  8784. "type": "integer",
  8785. "description": "用户ID",
  8786. "name": "userid",
  8787. "in": "query"
  8788. },
  8789. {
  8790. "type": "integer",
  8791. "description": "商品id",
  8792. "name": "goodsid",
  8793. "in": "query"
  8794. },
  8795. {
  8796. "type": "string",
  8797. "description": "名称(模糊搜索账户)",
  8798. "name": "filtername",
  8799. "in": "query"
  8800. },
  8801. {
  8802. "type": "string",
  8803. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8804. "name": "risklevel",
  8805. "in": "query"
  8806. },
  8807. {
  8808. "type": "string",
  8809. "description": "开始交易日(yyyymmdd)",
  8810. "name": "begindate",
  8811. "in": "query"
  8812. },
  8813. {
  8814. "type": "string",
  8815. "description": "结束交易日(yyyymmdd)",
  8816. "name": "enddate",
  8817. "in": "query"
  8818. }
  8819. ],
  8820. "responses": {
  8821. "200": {
  8822. "description": "OK",
  8823. "schema": {
  8824. "type": "array",
  8825. "items": {
  8826. "$ref": "#/definitions/models.QhjMgrContract"
  8827. }
  8828. }
  8829. },
  8830. "500": {
  8831. "description": "Internal Server Error",
  8832. "schema": {
  8833. "$ref": "#/definitions/app.Response"
  8834. }
  8835. }
  8836. }
  8837. }
  8838. },
  8839. "/QhjMgr/QueryCustomerInfo": {
  8840. "get": {
  8841. "security": [
  8842. {
  8843. "ApiKeyAuth": []
  8844. }
  8845. ],
  8846. "produces": [
  8847. "application/json"
  8848. ],
  8849. "tags": [
  8850. "大连千海金(PCWeb)"
  8851. ],
  8852. "summary": "查询客户资料",
  8853. "parameters": [
  8854. {
  8855. "type": "integer",
  8856. "description": "用户ID",
  8857. "name": "userid",
  8858. "in": "query",
  8859. "required": true
  8860. },
  8861. {
  8862. "type": "integer",
  8863. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8864. "name": "querytype",
  8865. "in": "query",
  8866. "required": true
  8867. },
  8868. {
  8869. "type": "integer",
  8870. "description": "客户类型 1-个人 2-企业",
  8871. "name": "userinfotype",
  8872. "in": "query"
  8873. },
  8874. {
  8875. "type": "string",
  8876. "description": "客户名称(模糊匹配)",
  8877. "name": "customername",
  8878. "in": "query"
  8879. },
  8880. {
  8881. "type": "string",
  8882. "description": "昵称(模糊匹配)",
  8883. "name": "nickname",
  8884. "in": "query"
  8885. },
  8886. {
  8887. "type": "string",
  8888. "description": "所属客户经理(模糊匹配)",
  8889. "name": "brokername",
  8890. "in": "query"
  8891. },
  8892. {
  8893. "type": "string",
  8894. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  8895. "name": "birthday",
  8896. "in": "query"
  8897. },
  8898. {
  8899. "type": "integer",
  8900. "description": "是否包含子级 1-包含",
  8901. "name": "includesub",
  8902. "in": "query"
  8903. }
  8904. ],
  8905. "responses": {
  8906. "200": {
  8907. "description": "OK",
  8908. "schema": {
  8909. "type": "array",
  8910. "items": {
  8911. "$ref": "#/definitions/models.QhjMgrCustomer"
  8912. }
  8913. }
  8914. },
  8915. "500": {
  8916. "description": "Internal Server Error",
  8917. "schema": {
  8918. "$ref": "#/definitions/app.Response"
  8919. }
  8920. }
  8921. }
  8922. }
  8923. },
  8924. "/QhjMgr/QueryPickGoods": {
  8925. "get": {
  8926. "security": [
  8927. {
  8928. "ApiKeyAuth": []
  8929. }
  8930. ],
  8931. "produces": [
  8932. "application/json"
  8933. ],
  8934. "tags": [
  8935. "大连千海金(PCWeb)"
  8936. ],
  8937. "summary": "查询提货商品",
  8938. "parameters": [
  8939. {
  8940. "type": "string",
  8941. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8942. "name": "status",
  8943. "in": "query"
  8944. }
  8945. ],
  8946. "responses": {
  8947. "200": {
  8948. "description": "OK",
  8949. "schema": {
  8950. "type": "array",
  8951. "items": {
  8952. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8953. }
  8954. }
  8955. },
  8956. "500": {
  8957. "description": "Internal Server Error",
  8958. "schema": {
  8959. "$ref": "#/definitions/app.Response"
  8960. }
  8961. }
  8962. }
  8963. }
  8964. },
  8965. "/QhjMgr/QuerySubArea": {
  8966. "get": {
  8967. "security": [
  8968. {
  8969. "ApiKeyAuth": []
  8970. }
  8971. ],
  8972. "produces": [
  8973. "application/json"
  8974. ],
  8975. "tags": [
  8976. "大连千海金(PCWeb)"
  8977. ],
  8978. "summary": "查询子机构列表",
  8979. "parameters": [
  8980. {
  8981. "type": "integer",
  8982. "description": "用户ID",
  8983. "name": "userid",
  8984. "in": "query",
  8985. "required": true
  8986. }
  8987. ],
  8988. "responses": {
  8989. "200": {
  8990. "description": "OK",
  8991. "schema": {
  8992. "type": "array",
  8993. "items": {
  8994. "$ref": "#/definitions/models.QhjMgrSubArea"
  8995. }
  8996. }
  8997. },
  8998. "500": {
  8999. "description": "Internal Server Error",
  9000. "schema": {
  9001. "$ref": "#/definitions/app.Response"
  9002. }
  9003. }
  9004. }
  9005. }
  9006. },
  9007. "/QhjMgr/QueryTradeDetail": {
  9008. "get": {
  9009. "security": [
  9010. {
  9011. "ApiKeyAuth": []
  9012. }
  9013. ],
  9014. "produces": [
  9015. "application/json"
  9016. ],
  9017. "tags": [
  9018. "大连千海金(PCWeb)"
  9019. ],
  9020. "summary": "查询成交明细",
  9021. "parameters": [
  9022. {
  9023. "type": "integer",
  9024. "description": "用户ID",
  9025. "name": "userid",
  9026. "in": "query",
  9027. "required": true
  9028. },
  9029. {
  9030. "type": "integer",
  9031. "description": "用户类型 1-个人 2-企业",
  9032. "name": "userinfotype",
  9033. "in": "query"
  9034. },
  9035. {
  9036. "type": "integer",
  9037. "description": "交易模式",
  9038. "name": "trademode",
  9039. "in": "query"
  9040. },
  9041. {
  9042. "type": "integer",
  9043. "description": "商品id",
  9044. "name": "goodsid",
  9045. "in": "query"
  9046. },
  9047. {
  9048. "type": "string",
  9049. "description": "名称(模糊搜索账户)",
  9050. "name": "filtername",
  9051. "in": "query"
  9052. },
  9053. {
  9054. "type": "string",
  9055. "description": "开始交易日(yyyymmdd)",
  9056. "name": "begindate",
  9057. "in": "query"
  9058. },
  9059. {
  9060. "type": "string",
  9061. "description": "结束交易日(yyyymmdd)",
  9062. "name": "enddate",
  9063. "in": "query"
  9064. },
  9065. {
  9066. "type": "integer",
  9067. "description": "是否包含子级 1-包含",
  9068. "name": "includesub",
  9069. "in": "query"
  9070. }
  9071. ],
  9072. "responses": {
  9073. "200": {
  9074. "description": "OK",
  9075. "schema": {
  9076. "type": "array",
  9077. "items": {
  9078. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9079. }
  9080. }
  9081. },
  9082. "500": {
  9083. "description": "Internal Server Error",
  9084. "schema": {
  9085. "$ref": "#/definitions/app.Response"
  9086. }
  9087. }
  9088. }
  9089. }
  9090. },
  9091. "/QhjMgr/QueryTradeOrderDetail": {
  9092. "get": {
  9093. "security": [
  9094. {
  9095. "ApiKeyAuth": []
  9096. }
  9097. ],
  9098. "produces": [
  9099. "application/json"
  9100. ],
  9101. "tags": [
  9102. "大连千海金(PCWeb)"
  9103. ],
  9104. "summary": "查询委托明细",
  9105. "parameters": [
  9106. {
  9107. "type": "integer",
  9108. "description": "用户ID",
  9109. "name": "userid",
  9110. "in": "query",
  9111. "required": true
  9112. },
  9113. {
  9114. "type": "integer",
  9115. "description": "用户类型 1-个人 2-企业",
  9116. "name": "userinfotype",
  9117. "in": "query"
  9118. },
  9119. {
  9120. "type": "integer",
  9121. "description": "交易模式",
  9122. "name": "trademode",
  9123. "in": "query"
  9124. },
  9125. {
  9126. "type": "integer",
  9127. "description": "商品id",
  9128. "name": "goodsid",
  9129. "in": "query"
  9130. },
  9131. {
  9132. "type": "string",
  9133. "description": "名称(模糊搜索账户)",
  9134. "name": "filtername",
  9135. "in": "query"
  9136. },
  9137. {
  9138. "type": "string",
  9139. "description": "开始交易日(yyyymmdd)",
  9140. "name": "begindate",
  9141. "in": "query"
  9142. },
  9143. {
  9144. "type": "string",
  9145. "description": "结束交易日(yyyymmdd)",
  9146. "name": "enddate",
  9147. "in": "query"
  9148. },
  9149. {
  9150. "type": "integer",
  9151. "description": "是否包含子级 1-包含",
  9152. "name": "includesub",
  9153. "in": "query"
  9154. }
  9155. ],
  9156. "responses": {
  9157. "200": {
  9158. "description": "OK",
  9159. "schema": {
  9160. "type": "array",
  9161. "items": {
  9162. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9163. }
  9164. }
  9165. },
  9166. "500": {
  9167. "description": "Internal Server Error",
  9168. "schema": {
  9169. "$ref": "#/definitions/app.Response"
  9170. }
  9171. }
  9172. }
  9173. }
  9174. },
  9175. "/QhjMgr/QueryTradePayOrder": {
  9176. "get": {
  9177. "security": [
  9178. {
  9179. "ApiKeyAuth": []
  9180. }
  9181. ],
  9182. "produces": [
  9183. "application/json"
  9184. ],
  9185. "tags": [
  9186. "大连千海金(PCWeb)"
  9187. ],
  9188. "summary": "查询待付款单",
  9189. "parameters": [
  9190. {
  9191. "type": "integer",
  9192. "description": "用户ID",
  9193. "name": "userid",
  9194. "in": "query",
  9195. "required": true
  9196. },
  9197. {
  9198. "type": "string",
  9199. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9200. "name": "payflag",
  9201. "in": "query"
  9202. },
  9203. {
  9204. "type": "integer",
  9205. "description": "用户类型 1-个人 2-企业",
  9206. "name": "userinfotype",
  9207. "in": "query"
  9208. },
  9209. {
  9210. "type": "integer",
  9211. "description": "交易模式",
  9212. "name": "trademode",
  9213. "in": "query"
  9214. },
  9215. {
  9216. "type": "integer",
  9217. "description": "商品id",
  9218. "name": "goodsid",
  9219. "in": "query"
  9220. },
  9221. {
  9222. "type": "string",
  9223. "description": "名称(模糊搜索账户)",
  9224. "name": "filtername",
  9225. "in": "query"
  9226. },
  9227. {
  9228. "type": "string",
  9229. "description": "开始交易日(yyyymmdd)",
  9230. "name": "begindate",
  9231. "in": "query"
  9232. },
  9233. {
  9234. "type": "string",
  9235. "description": "结束交易日(yyyymmdd)",
  9236. "name": "enddate",
  9237. "in": "query"
  9238. },
  9239. {
  9240. "type": "integer",
  9241. "description": "是否包含子级 1-包含",
  9242. "name": "includesub",
  9243. "in": "query"
  9244. }
  9245. ],
  9246. "responses": {
  9247. "200": {
  9248. "description": "OK",
  9249. "schema": {
  9250. "type": "array",
  9251. "items": {
  9252. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9253. }
  9254. }
  9255. },
  9256. "500": {
  9257. "description": "Internal Server Error",
  9258. "schema": {
  9259. "$ref": "#/definitions/app.Response"
  9260. }
  9261. }
  9262. }
  9263. }
  9264. },
  9265. "/QhjMgr/QueryTradePosition": {
  9266. "get": {
  9267. "security": [
  9268. {
  9269. "ApiKeyAuth": []
  9270. }
  9271. ],
  9272. "produces": [
  9273. "application/json"
  9274. ],
  9275. "tags": [
  9276. "大连千海金(PCWeb)"
  9277. ],
  9278. "summary": "查询持仓汇总",
  9279. "parameters": [
  9280. {
  9281. "type": "integer",
  9282. "description": "用户ID",
  9283. "name": "userid",
  9284. "in": "query",
  9285. "required": true
  9286. },
  9287. {
  9288. "type": "integer",
  9289. "description": "用户类型 1-个人 2-企业",
  9290. "name": "userinfotype",
  9291. "in": "query"
  9292. },
  9293. {
  9294. "type": "integer",
  9295. "description": "交易模式",
  9296. "name": "trademode",
  9297. "in": "query"
  9298. },
  9299. {
  9300. "type": "integer",
  9301. "description": "商品id",
  9302. "name": "goodsid",
  9303. "in": "query"
  9304. },
  9305. {
  9306. "type": "string",
  9307. "description": "名称(模糊搜索账户)",
  9308. "name": "filtername",
  9309. "in": "query"
  9310. },
  9311. {
  9312. "type": "integer",
  9313. "description": "是否包含子级 1-包含",
  9314. "name": "includesub",
  9315. "in": "query"
  9316. }
  9317. ],
  9318. "responses": {
  9319. "200": {
  9320. "description": "OK",
  9321. "schema": {
  9322. "type": "array",
  9323. "items": {
  9324. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9325. }
  9326. }
  9327. },
  9328. "500": {
  9329. "description": "Internal Server Error",
  9330. "schema": {
  9331. "$ref": "#/definitions/app.Response"
  9332. }
  9333. }
  9334. }
  9335. }
  9336. },
  9337. "/QhjSys/QueryAgreementChangeLog": {
  9338. "get": {
  9339. "security": [
  9340. {
  9341. "ApiKeyAuth": []
  9342. }
  9343. ],
  9344. "produces": [
  9345. "application/json"
  9346. ],
  9347. "tags": [
  9348. "大连千海金(协议和签约信息)"
  9349. ],
  9350. "summary": "查询协议配置变更流水",
  9351. "parameters": [
  9352. {
  9353. "type": "integer",
  9354. "description": "协议ID",
  9355. "name": "agreementid",
  9356. "in": "query"
  9357. },
  9358. {
  9359. "type": "integer",
  9360. "description": "协议版本号",
  9361. "name": "agreementversion",
  9362. "in": "query"
  9363. },
  9364. {
  9365. "type": "integer",
  9366. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9367. "name": "agreementtype",
  9368. "in": "query"
  9369. },
  9370. {
  9371. "type": "string",
  9372. "description": "协议编号(模糊匹配)",
  9373. "name": "agreementno",
  9374. "in": "query"
  9375. },
  9376. {
  9377. "type": "string",
  9378. "description": "协议名称(模糊匹配)",
  9379. "name": "agreementname",
  9380. "in": "query"
  9381. }
  9382. ],
  9383. "responses": {
  9384. "200": {
  9385. "description": "OK",
  9386. "schema": {
  9387. "type": "array",
  9388. "items": {
  9389. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9390. }
  9391. }
  9392. },
  9393. "500": {
  9394. "description": "Internal Server Error",
  9395. "schema": {
  9396. "$ref": "#/definitions/app.Response"
  9397. }
  9398. }
  9399. }
  9400. }
  9401. },
  9402. "/QhjSys/QueryAgreementConfig": {
  9403. "get": {
  9404. "security": [
  9405. {
  9406. "ApiKeyAuth": []
  9407. }
  9408. ],
  9409. "produces": [
  9410. "application/json"
  9411. ],
  9412. "tags": [
  9413. "大连千海金(协议和签约信息)"
  9414. ],
  9415. "summary": "查询协议配置",
  9416. "parameters": [
  9417. {
  9418. "type": "integer",
  9419. "description": "协议ID",
  9420. "name": "agreementid",
  9421. "in": "query"
  9422. },
  9423. {
  9424. "type": "integer",
  9425. "description": "协议版本号",
  9426. "name": "agreementversion",
  9427. "in": "query"
  9428. },
  9429. {
  9430. "type": "integer",
  9431. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9432. "name": "agreementtype",
  9433. "in": "query"
  9434. },
  9435. {
  9436. "type": "integer",
  9437. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9438. "name": "isvalid",
  9439. "in": "query"
  9440. },
  9441. {
  9442. "type": "string",
  9443. "description": "协议编号(模糊匹配)",
  9444. "name": "agreementno",
  9445. "in": "query"
  9446. },
  9447. {
  9448. "type": "string",
  9449. "description": "协议名称(模糊匹配)",
  9450. "name": "agreementname",
  9451. "in": "query"
  9452. }
  9453. ],
  9454. "responses": {
  9455. "200": {
  9456. "description": "OK",
  9457. "schema": {
  9458. "type": "array",
  9459. "items": {
  9460. "$ref": "#/definitions/models.QhjAgreementConfig"
  9461. }
  9462. }
  9463. },
  9464. "500": {
  9465. "description": "Internal Server Error",
  9466. "schema": {
  9467. "$ref": "#/definitions/app.Response"
  9468. }
  9469. }
  9470. }
  9471. }
  9472. },
  9473. "/QhjSys/QueryCustomerSignStatus": {
  9474. "get": {
  9475. "security": [
  9476. {
  9477. "ApiKeyAuth": []
  9478. }
  9479. ],
  9480. "produces": [
  9481. "application/json"
  9482. ],
  9483. "tags": [
  9484. "大连千海金(协议和签约信息)"
  9485. ],
  9486. "summary": "查询客户协议签约状态",
  9487. "parameters": [
  9488. {
  9489. "type": "integer",
  9490. "description": "客户ID",
  9491. "name": "userid",
  9492. "in": "query"
  9493. },
  9494. {
  9495. "type": "integer",
  9496. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9497. "name": "nodetype",
  9498. "in": "query"
  9499. },
  9500. {
  9501. "type": "integer",
  9502. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9503. "name": "goodsid",
  9504. "in": "query"
  9505. },
  9506. {
  9507. "type": "string",
  9508. "description": "创建交易日(yyyyMMdd)",
  9509. "name": "tradedate",
  9510. "in": "query"
  9511. },
  9512. {
  9513. "type": "string",
  9514. "description": "用户名称(模糊匹配)",
  9515. "name": "username",
  9516. "in": "query"
  9517. }
  9518. ],
  9519. "responses": {
  9520. "200": {
  9521. "description": "OK",
  9522. "schema": {
  9523. "type": "array",
  9524. "items": {
  9525. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9526. }
  9527. }
  9528. },
  9529. "500": {
  9530. "description": "Internal Server Error",
  9531. "schema": {
  9532. "$ref": "#/definitions/app.Response"
  9533. }
  9534. }
  9535. }
  9536. }
  9537. },
  9538. "/QhjSys/QueryNodeAgreementConfig": {
  9539. "get": {
  9540. "security": [
  9541. {
  9542. "ApiKeyAuth": []
  9543. }
  9544. ],
  9545. "produces": [
  9546. "application/json"
  9547. ],
  9548. "tags": [
  9549. "大连千海金(协议和签约信息)"
  9550. ],
  9551. "summary": "查询协议节点配置",
  9552. "parameters": [
  9553. {
  9554. "type": "integer",
  9555. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9556. "name": "configid",
  9557. "in": "query"
  9558. },
  9559. {
  9560. "type": "integer",
  9561. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9562. "name": "nodetype",
  9563. "in": "query"
  9564. },
  9565. {
  9566. "type": "integer",
  9567. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9568. "name": "goodsid",
  9569. "in": "query"
  9570. },
  9571. {
  9572. "type": "integer",
  9573. "description": "协议ID",
  9574. "name": "agreementid",
  9575. "in": "query"
  9576. },
  9577. {
  9578. "type": "integer",
  9579. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9580. "name": "agreementtype",
  9581. "in": "query"
  9582. },
  9583. {
  9584. "type": "integer",
  9585. "description": "协议版本号",
  9586. "name": "agreementversion",
  9587. "in": "query"
  9588. },
  9589. {
  9590. "type": "string",
  9591. "description": "协议编号(模糊匹配)",
  9592. "name": "agreementno",
  9593. "in": "query"
  9594. },
  9595. {
  9596. "type": "string",
  9597. "description": "协议名称(模糊匹配)",
  9598. "name": "agreementname",
  9599. "in": "query"
  9600. }
  9601. ],
  9602. "responses": {
  9603. "200": {
  9604. "description": "OK",
  9605. "schema": {
  9606. "type": "array",
  9607. "items": {
  9608. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9609. }
  9610. }
  9611. },
  9612. "500": {
  9613. "description": "Internal Server Error",
  9614. "schema": {
  9615. "$ref": "#/definitions/app.Response"
  9616. }
  9617. }
  9618. }
  9619. }
  9620. },
  9621. "/QhjSys/QueryQhjCustomerSignLog": {
  9622. "get": {
  9623. "security": [
  9624. {
  9625. "ApiKeyAuth": []
  9626. }
  9627. ],
  9628. "produces": [
  9629. "application/json"
  9630. ],
  9631. "tags": [
  9632. "大连千海金(协议和签约信息)"
  9633. ],
  9634. "summary": "查询客户协议签约流水",
  9635. "parameters": [
  9636. {
  9637. "type": "integer",
  9638. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9639. "name": "logid",
  9640. "in": "query"
  9641. },
  9642. {
  9643. "type": "integer",
  9644. "description": "客户ID",
  9645. "name": "userid",
  9646. "in": "query"
  9647. },
  9648. {
  9649. "type": "integer",
  9650. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9651. "name": "nodetype",
  9652. "in": "query"
  9653. },
  9654. {
  9655. "type": "integer",
  9656. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9657. "name": "goodsid",
  9658. "in": "query"
  9659. },
  9660. {
  9661. "type": "integer",
  9662. "description": "协议ID",
  9663. "name": "agreementid",
  9664. "in": "query"
  9665. },
  9666. {
  9667. "type": "string",
  9668. "description": "用户名称(模糊匹配)",
  9669. "name": "username",
  9670. "in": "query"
  9671. },
  9672. {
  9673. "type": "string",
  9674. "description": "协议编号(模糊匹配)",
  9675. "name": "agreementno",
  9676. "in": "query"
  9677. },
  9678. {
  9679. "type": "string",
  9680. "description": "协议名称(模糊匹配)",
  9681. "name": "agreementname",
  9682. "in": "query"
  9683. }
  9684. ],
  9685. "responses": {
  9686. "200": {
  9687. "description": "OK",
  9688. "schema": {
  9689. "type": "array",
  9690. "items": {
  9691. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9692. }
  9693. }
  9694. },
  9695. "500": {
  9696. "description": "Internal Server Error",
  9697. "schema": {
  9698. "$ref": "#/definitions/app.Response"
  9699. }
  9700. }
  9701. }
  9702. }
  9703. },
  9704. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9705. "get": {
  9706. "security": [
  9707. {
  9708. "ApiKeyAuth": []
  9709. }
  9710. ],
  9711. "produces": [
  9712. "application/json"
  9713. ],
  9714. "tags": [
  9715. "大连千海金(协议和签约信息)"
  9716. ],
  9717. "summary": "查询用户协议节点配置和状态",
  9718. "parameters": [
  9719. {
  9720. "type": "integer",
  9721. "description": "客户ID",
  9722. "name": "userid",
  9723. "in": "query"
  9724. },
  9725. {
  9726. "type": "integer",
  9727. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9728. "name": "configid",
  9729. "in": "query"
  9730. },
  9731. {
  9732. "type": "string",
  9733. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9734. "name": "nodetype",
  9735. "in": "query"
  9736. },
  9737. {
  9738. "type": "integer",
  9739. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9740. "name": "goodsid",
  9741. "in": "query"
  9742. },
  9743. {
  9744. "type": "integer",
  9745. "description": "协议ID",
  9746. "name": "agreementid",
  9747. "in": "query"
  9748. },
  9749. {
  9750. "type": "integer",
  9751. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9752. "name": "agreementtype",
  9753. "in": "query"
  9754. },
  9755. {
  9756. "type": "integer",
  9757. "description": "协议版本号",
  9758. "name": "agreementversion",
  9759. "in": "query"
  9760. },
  9761. {
  9762. "type": "string",
  9763. "description": "协议编号(模糊匹配)",
  9764. "name": "agreementno",
  9765. "in": "query"
  9766. },
  9767. {
  9768. "type": "string",
  9769. "description": "协议名称(模糊匹配)",
  9770. "name": "agreementname",
  9771. "in": "query"
  9772. }
  9773. ],
  9774. "responses": {
  9775. "200": {
  9776. "description": "OK",
  9777. "schema": {
  9778. "type": "array",
  9779. "items": {
  9780. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9781. }
  9782. }
  9783. },
  9784. "500": {
  9785. "description": "Internal Server Error",
  9786. "schema": {
  9787. "$ref": "#/definitions/app.Response"
  9788. }
  9789. }
  9790. }
  9791. }
  9792. },
  9793. "/Quote/QueryHistoryDatas": {
  9794. "get": {
  9795. "security": [
  9796. {
  9797. "ApiKeyAuth": []
  9798. }
  9799. ],
  9800. "produces": [
  9801. "application/json"
  9802. ],
  9803. "tags": [
  9804. "行情服务"
  9805. ],
  9806. "summary": "查询行情历史数据",
  9807. "parameters": [
  9808. {
  9809. "type": "integer",
  9810. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9811. "name": "cycleType",
  9812. "in": "query",
  9813. "required": true
  9814. },
  9815. {
  9816. "type": "string",
  9817. "description": "商品代码",
  9818. "name": "goodsCode",
  9819. "in": "query",
  9820. "required": true
  9821. },
  9822. {
  9823. "type": "string",
  9824. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9825. "name": "startTime",
  9826. "in": "query"
  9827. },
  9828. {
  9829. "type": "string",
  9830. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9831. "name": "endTime",
  9832. "in": "query"
  9833. },
  9834. {
  9835. "type": "integer",
  9836. "description": "条数",
  9837. "name": "count",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "boolean",
  9842. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9843. "name": "isAsc",
  9844. "in": "query"
  9845. }
  9846. ],
  9847. "responses": {
  9848. "200": {
  9849. "description": "OK",
  9850. "schema": {
  9851. "$ref": "#/definitions/quote.HistoryData"
  9852. }
  9853. },
  9854. "500": {
  9855. "description": "Internal Server Error",
  9856. "schema": {
  9857. "$ref": "#/definitions/app.Response"
  9858. }
  9859. }
  9860. }
  9861. }
  9862. },
  9863. "/Quote/QueryHistoryTikDatas": {
  9864. "get": {
  9865. "security": [
  9866. {
  9867. "ApiKeyAuth": []
  9868. }
  9869. ],
  9870. "produces": [
  9871. "application/json"
  9872. ],
  9873. "tags": [
  9874. "行情服务"
  9875. ],
  9876. "summary": "查询行情Tik数据",
  9877. "parameters": [
  9878. {
  9879. "type": "string",
  9880. "description": "商品代码",
  9881. "name": "goodsCode",
  9882. "in": "query",
  9883. "required": true
  9884. },
  9885. {
  9886. "type": "string",
  9887. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9888. "name": "startTime",
  9889. "in": "query"
  9890. },
  9891. {
  9892. "type": "string",
  9893. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9894. "name": "endTime",
  9895. "in": "query"
  9896. },
  9897. {
  9898. "type": "integer",
  9899. "description": "条数",
  9900. "name": "count",
  9901. "in": "query"
  9902. },
  9903. {
  9904. "type": "boolean",
  9905. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9906. "name": "isAsc",
  9907. "in": "query"
  9908. }
  9909. ],
  9910. "responses": {
  9911. "200": {
  9912. "description": "OK",
  9913. "schema": {
  9914. "$ref": "#/definitions/quote.HistoryTikData"
  9915. }
  9916. },
  9917. "500": {
  9918. "description": "Internal Server Error",
  9919. "schema": {
  9920. "$ref": "#/definitions/app.Response"
  9921. }
  9922. }
  9923. }
  9924. }
  9925. },
  9926. "/Quote/QueryQuoteDay": {
  9927. "get": {
  9928. "security": [
  9929. {
  9930. "ApiKeyAuth": []
  9931. }
  9932. ],
  9933. "produces": [
  9934. "application/json"
  9935. ],
  9936. "tags": [
  9937. "行情服务"
  9938. ],
  9939. "summary": "获取商品盘面信息",
  9940. "parameters": [
  9941. {
  9942. "type": "string",
  9943. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9944. "name": "goodsCodes",
  9945. "in": "query",
  9946. "required": true
  9947. }
  9948. ],
  9949. "responses": {
  9950. "200": {
  9951. "description": "OK",
  9952. "schema": {
  9953. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9954. }
  9955. },
  9956. "500": {
  9957. "description": "Internal Server Error",
  9958. "schema": {
  9959. "$ref": "#/definitions/app.Response"
  9960. }
  9961. }
  9962. }
  9963. }
  9964. },
  9965. "/Quote/QueryTSData": {
  9966. "get": {
  9967. "security": [
  9968. {
  9969. "ApiKeyAuth": []
  9970. }
  9971. ],
  9972. "produces": [
  9973. "application/json"
  9974. ],
  9975. "tags": [
  9976. "行情服务"
  9977. ],
  9978. "summary": "分时图数据查询",
  9979. "parameters": [
  9980. {
  9981. "type": "string",
  9982. "description": "商品代码",
  9983. "name": "goodsCode",
  9984. "in": "query",
  9985. "required": true
  9986. }
  9987. ],
  9988. "responses": {
  9989. "200": {
  9990. "description": "OK",
  9991. "schema": {
  9992. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9993. }
  9994. },
  9995. "500": {
  9996. "description": "Internal Server Error",
  9997. "schema": {
  9998. "$ref": "#/definitions/app.Response"
  9999. }
  10000. }
  10001. }
  10002. }
  10003. },
  10004. "/SZDZ/QueryConvertConfig": {
  10005. "get": {
  10006. "security": [
  10007. {
  10008. "ApiKeyAuth": []
  10009. }
  10010. ],
  10011. "produces": [
  10012. "application/json"
  10013. ],
  10014. "tags": [
  10015. "定制【尚志大宗】"
  10016. ],
  10017. "summary": "查询交易系统转换设置",
  10018. "parameters": [
  10019. {
  10020. "type": "integer",
  10021. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10022. "name": "convertType",
  10023. "in": "query"
  10024. },
  10025. {
  10026. "type": "string",
  10027. "description": "外部商品代码[JD\\PD]",
  10028. "name": "outerGoodsCode",
  10029. "in": "query"
  10030. },
  10031. {
  10032. "type": "string",
  10033. "description": "内部商品ID列表[交易],格式:1,2,3",
  10034. "name": "innerGoodsIDs",
  10035. "in": "query"
  10036. }
  10037. ],
  10038. "responses": {
  10039. "200": {
  10040. "description": "OK",
  10041. "schema": {
  10042. "$ref": "#/definitions/models.Szdz3convertconfig"
  10043. }
  10044. },
  10045. "500": {
  10046. "description": "Internal Server Error",
  10047. "schema": {
  10048. "$ref": "#/definitions/app.Response"
  10049. }
  10050. }
  10051. }
  10052. }
  10053. },
  10054. "/SZDZ/QueryConvertLog": {
  10055. "get": {
  10056. "security": [
  10057. {
  10058. "ApiKeyAuth": []
  10059. }
  10060. ],
  10061. "produces": [
  10062. "application/json"
  10063. ],
  10064. "tags": [
  10065. "定制【尚志大宗】"
  10066. ],
  10067. "summary": "交易系统转换流水查询",
  10068. "parameters": [
  10069. {
  10070. "type": "string",
  10071. "description": "资金账户 - 格式:1,2,3",
  10072. "name": "accountID",
  10073. "in": "query",
  10074. "required": true
  10075. },
  10076. {
  10077. "type": "string",
  10078. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10079. "name": "startDate",
  10080. "in": "query"
  10081. },
  10082. {
  10083. "type": "string",
  10084. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10085. "name": "endDate",
  10086. "in": "query"
  10087. }
  10088. ],
  10089. "responses": {
  10090. "200": {
  10091. "description": "OK",
  10092. "schema": {
  10093. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10094. }
  10095. },
  10096. "500": {
  10097. "description": "Internal Server Error",
  10098. "schema": {
  10099. "$ref": "#/definitions/app.Response"
  10100. }
  10101. }
  10102. }
  10103. }
  10104. },
  10105. "/SZDZ/QueryGoodsPickup": {
  10106. "get": {
  10107. "security": [
  10108. {
  10109. "ApiKeyAuth": []
  10110. }
  10111. ],
  10112. "produces": [
  10113. "application/json"
  10114. ],
  10115. "tags": [
  10116. "定制【尚志大宗】"
  10117. ],
  10118. "summary": "商品提货单查询",
  10119. "parameters": [
  10120. {
  10121. "type": "string",
  10122. "description": "资金账户 - 格式:1,2,3",
  10123. "name": "accountID",
  10124. "in": "query",
  10125. "required": true
  10126. },
  10127. {
  10128. "type": "integer",
  10129. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10130. "name": "takeOrderStatus",
  10131. "in": "query"
  10132. }
  10133. ],
  10134. "responses": {
  10135. "200": {
  10136. "description": "OK",
  10137. "schema": {
  10138. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10139. }
  10140. },
  10141. "500": {
  10142. "description": "Internal Server Error",
  10143. "schema": {
  10144. "$ref": "#/definitions/app.Response"
  10145. }
  10146. }
  10147. }
  10148. }
  10149. },
  10150. "/SZDZ/QueryRecieptOrder": {
  10151. "get": {
  10152. "security": [
  10153. {
  10154. "ApiKeyAuth": []
  10155. }
  10156. ],
  10157. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10158. "produces": [
  10159. "application/json"
  10160. ],
  10161. "tags": [
  10162. "定制【尚志大宗】"
  10163. ],
  10164. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10165. "parameters": [
  10166. {
  10167. "type": "integer",
  10168. "description": "页码",
  10169. "name": "page",
  10170. "in": "query"
  10171. },
  10172. {
  10173. "type": "integer",
  10174. "description": "每页条数",
  10175. "name": "pagesize",
  10176. "in": "query"
  10177. },
  10178. {
  10179. "type": "integer",
  10180. "description": "商品ID",
  10181. "name": "goodsID",
  10182. "in": "query",
  10183. "required": true
  10184. },
  10185. {
  10186. "type": "string",
  10187. "description": "所属账户名称",
  10188. "name": "accountName",
  10189. "in": "query"
  10190. },
  10191. {
  10192. "type": "integer",
  10193. "description": "市场ID",
  10194. "name": "marketID",
  10195. "in": "query"
  10196. },
  10197. {
  10198. "type": "integer",
  10199. "description": "方向 - 0:买 1:卖",
  10200. "name": "buyorsell",
  10201. "in": "query",
  10202. "required": true
  10203. }
  10204. ],
  10205. "responses": {
  10206. "200": {
  10207. "description": "OK",
  10208. "schema": {
  10209. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10210. }
  10211. },
  10212. "500": {
  10213. "description": "Internal Server Error",
  10214. "schema": {
  10215. "$ref": "#/definitions/app.Response"
  10216. }
  10217. }
  10218. }
  10219. }
  10220. },
  10221. "/SZDZ/QuerySZDZTradePosition": {
  10222. "get": {
  10223. "security": [
  10224. {
  10225. "ApiKeyAuth": []
  10226. }
  10227. ],
  10228. "produces": [
  10229. "application/json"
  10230. ],
  10231. "tags": [
  10232. "定制【尚志大宗】"
  10233. ],
  10234. "summary": "持仓汇总查询(尚志大宗)",
  10235. "parameters": [
  10236. {
  10237. "type": "integer",
  10238. "description": "资金账户",
  10239. "name": "accountID",
  10240. "in": "query",
  10241. "required": true
  10242. }
  10243. ],
  10244. "responses": {
  10245. "200": {
  10246. "description": "OK",
  10247. "schema": {
  10248. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10249. }
  10250. },
  10251. "500": {
  10252. "description": "Internal Server Error",
  10253. "schema": {
  10254. "$ref": "#/definitions/app.Response"
  10255. }
  10256. }
  10257. }
  10258. }
  10259. },
  10260. "/SZDZ/SearchWhite": {
  10261. "get": {
  10262. "security": [
  10263. {
  10264. "ApiKeyAuth": []
  10265. }
  10266. ],
  10267. "produces": [
  10268. "application/json"
  10269. ],
  10270. "tags": [
  10271. "定制【尚志大宗】"
  10272. ],
  10273. "summary": "搜索白名单",
  10274. "parameters": [
  10275. {
  10276. "type": "integer",
  10277. "description": "用户ID",
  10278. "name": "userID",
  10279. "in": "query",
  10280. "required": true
  10281. }
  10282. ],
  10283. "responses": {
  10284. "200": {
  10285. "description": "OK",
  10286. "schema": {
  10287. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10288. }
  10289. },
  10290. "500": {
  10291. "description": "Internal Server Error",
  10292. "schema": {
  10293. "$ref": "#/definitions/app.Response"
  10294. }
  10295. }
  10296. }
  10297. }
  10298. },
  10299. "/Search/SearchGoodses": {
  10300. "get": {
  10301. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10302. "produces": [
  10303. "application/json"
  10304. ],
  10305. "tags": [
  10306. "检索服务"
  10307. ],
  10308. "summary": "检索商品信息",
  10309. "parameters": [
  10310. {
  10311. "type": "string",
  10312. "description": "检索内容",
  10313. "name": "content",
  10314. "in": "query",
  10315. "required": true
  10316. },
  10317. {
  10318. "type": "string",
  10319. "description": "交易模式,格式:1,2,3",
  10320. "name": "tradeModes",
  10321. "in": "query"
  10322. }
  10323. ],
  10324. "responses": {
  10325. "200": {
  10326. "description": "OK",
  10327. "schema": {
  10328. "$ref": "#/definitions/models.SearchGoods"
  10329. }
  10330. },
  10331. "500": {
  10332. "description": "Internal Server Error",
  10333. "schema": {
  10334. "$ref": "#/definitions/app.Response"
  10335. }
  10336. }
  10337. }
  10338. }
  10339. },
  10340. "/TaAccount/GetTaAccounts": {
  10341. "get": {
  10342. "security": [
  10343. {
  10344. "ApiKeyAuth": []
  10345. }
  10346. ],
  10347. "produces": [
  10348. "application/json"
  10349. ],
  10350. "tags": [
  10351. "资金账户"
  10352. ],
  10353. "summary": "获取资金账户信息",
  10354. "parameters": [
  10355. {
  10356. "type": "integer",
  10357. "description": "登录账户",
  10358. "name": "loginID",
  10359. "in": "query",
  10360. "required": true
  10361. },
  10362. {
  10363. "type": "integer",
  10364. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10365. "name": "taAccountType",
  10366. "in": "query"
  10367. }
  10368. ],
  10369. "responses": {
  10370. "200": {
  10371. "description": "OK",
  10372. "schema": {
  10373. "$ref": "#/definitions/models.Taaccount"
  10374. }
  10375. },
  10376. "500": {
  10377. "description": "Internal Server Error",
  10378. "schema": {
  10379. "$ref": "#/definitions/app.Response"
  10380. }
  10381. }
  10382. }
  10383. }
  10384. },
  10385. "/TaAccount/QueryAmountLog": {
  10386. "get": {
  10387. "security": [
  10388. {
  10389. "ApiKeyAuth": []
  10390. }
  10391. ],
  10392. "produces": [
  10393. "application/json"
  10394. ],
  10395. "tags": [
  10396. "资金账户"
  10397. ],
  10398. "summary": "资金流水查询(当前)",
  10399. "parameters": [
  10400. {
  10401. "type": "integer",
  10402. "description": "页码",
  10403. "name": "page",
  10404. "in": "query"
  10405. },
  10406. {
  10407. "type": "integer",
  10408. "description": "每页条数",
  10409. "name": "pagesize",
  10410. "in": "query"
  10411. },
  10412. {
  10413. "type": "string",
  10414. "description": "资金账户 - 格式:1,2,3",
  10415. "name": "accountID",
  10416. "in": "query",
  10417. "required": true
  10418. },
  10419. {
  10420. "type": "string",
  10421. "description": "资金操作类型 - 格式:1,2,3",
  10422. "name": "OperateType",
  10423. "in": "query"
  10424. }
  10425. ],
  10426. "responses": {
  10427. "200": {
  10428. "description": "OK",
  10429. "schema": {
  10430. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10431. }
  10432. },
  10433. "500": {
  10434. "description": "Internal Server Error",
  10435. "schema": {
  10436. "$ref": "#/definitions/app.Response"
  10437. }
  10438. }
  10439. }
  10440. }
  10441. },
  10442. "/TaAccount/QueryHisAmountLog": {
  10443. "get": {
  10444. "security": [
  10445. {
  10446. "ApiKeyAuth": []
  10447. }
  10448. ],
  10449. "produces": [
  10450. "application/json"
  10451. ],
  10452. "tags": [
  10453. "资金账户"
  10454. ],
  10455. "summary": "资金流水查询(历史)",
  10456. "parameters": [
  10457. {
  10458. "type": "integer",
  10459. "description": "页码",
  10460. "name": "page",
  10461. "in": "query"
  10462. },
  10463. {
  10464. "type": "integer",
  10465. "description": "每页条数",
  10466. "name": "pagesize",
  10467. "in": "query"
  10468. },
  10469. {
  10470. "type": "string",
  10471. "description": "资金账户 - 格式:1,2,3",
  10472. "name": "accountID",
  10473. "in": "query",
  10474. "required": true
  10475. },
  10476. {
  10477. "type": "string",
  10478. "description": "资金操作类型 - 格式:1,2,3",
  10479. "name": "OperateType",
  10480. "in": "query"
  10481. },
  10482. {
  10483. "type": "string",
  10484. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10485. "name": "startDate",
  10486. "in": "query"
  10487. },
  10488. {
  10489. "type": "string",
  10490. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10491. "name": "endDate",
  10492. "in": "query"
  10493. }
  10494. ],
  10495. "responses": {
  10496. "200": {
  10497. "description": "OK",
  10498. "schema": {
  10499. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10500. }
  10501. },
  10502. "500": {
  10503. "description": "Internal Server Error",
  10504. "schema": {
  10505. "$ref": "#/definitions/app.Response"
  10506. }
  10507. }
  10508. }
  10509. }
  10510. },
  10511. "/Tjmd/QueryQuoteGoodsList": {
  10512. "get": {
  10513. "security": [
  10514. {
  10515. "ApiKeyAuth": []
  10516. }
  10517. ],
  10518. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  10519. "produces": [
  10520. "application/json"
  10521. ],
  10522. "tags": [
  10523. "天津麦顿"
  10524. ],
  10525. "summary": "查询掉期报价列表",
  10526. "parameters": [
  10527. {
  10528. "type": "integer",
  10529. "description": "用户类型",
  10530. "name": "usertype",
  10531. "in": "query",
  10532. "required": true
  10533. },
  10534. {
  10535. "type": "string",
  10536. "description": "市场id, 格式 1,2,3",
  10537. "name": "marketids",
  10538. "in": "query"
  10539. },
  10540. {
  10541. "type": "integer",
  10542. "description": "商品组id",
  10543. "name": "goodsgroupid",
  10544. "in": "query"
  10545. },
  10546. {
  10547. "type": "integer",
  10548. "description": "商品id",
  10549. "name": "goodsid",
  10550. "in": "query"
  10551. }
  10552. ],
  10553. "responses": {
  10554. "200": {
  10555. "description": "OK",
  10556. "schema": {
  10557. "type": "array",
  10558. "items": {
  10559. "$ref": "#/definitions/models.TjmdQuoteGoods"
  10560. }
  10561. }
  10562. },
  10563. "500": {
  10564. "description": "Internal Server Error",
  10565. "schema": {
  10566. "$ref": "#/definitions/app.Response"
  10567. }
  10568. }
  10569. }
  10570. }
  10571. },
  10572. "/Tjmd/QueryTjmdTodayAccountMargin": {
  10573. "get": {
  10574. "security": [
  10575. {
  10576. "ApiKeyAuth": []
  10577. }
  10578. ],
  10579. "produces": [
  10580. "application/json"
  10581. ],
  10582. "tags": [
  10583. "天津麦顿"
  10584. ],
  10585. "summary": "查询今日账户保证金配置",
  10586. "parameters": [
  10587. {
  10588. "type": "string",
  10589. "description": "市场id",
  10590. "name": "marketid",
  10591. "in": "query"
  10592. },
  10593. {
  10594. "type": "string",
  10595. "description": "商品id",
  10596. "name": "goodsid",
  10597. "in": "query"
  10598. },
  10599. {
  10600. "type": "string",
  10601. "description": "资金账号",
  10602. "name": "accountid",
  10603. "in": "query"
  10604. }
  10605. ],
  10606. "responses": {
  10607. "200": {
  10608. "description": "OK",
  10609. "schema": {
  10610. "type": "array",
  10611. "items": {
  10612. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  10613. }
  10614. }
  10615. },
  10616. "500": {
  10617. "description": "Internal Server Error",
  10618. "schema": {
  10619. "$ref": "#/definitions/app.Response"
  10620. }
  10621. }
  10622. }
  10623. }
  10624. },
  10625. "/Tjmd/QueryTjmdTradeOrderDetail": {
  10626. "get": {
  10627. "security": [
  10628. {
  10629. "ApiKeyAuth": []
  10630. }
  10631. ],
  10632. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  10633. "produces": [
  10634. "application/json"
  10635. ],
  10636. "tags": [
  10637. "天津麦顿"
  10638. ],
  10639. "summary": "查询掉期买卖大厅",
  10640. "parameters": [
  10641. {
  10642. "type": "integer",
  10643. "description": "页码",
  10644. "name": "page",
  10645. "in": "query"
  10646. },
  10647. {
  10648. "type": "integer",
  10649. "description": "每页条数",
  10650. "name": "pagesize",
  10651. "in": "query"
  10652. },
  10653. {
  10654. "type": "integer",
  10655. "description": "用户id",
  10656. "name": "userid",
  10657. "in": "query",
  10658. "required": true
  10659. },
  10660. {
  10661. "type": "integer",
  10662. "description": "用户类型",
  10663. "name": "usertype",
  10664. "in": "query",
  10665. "required": true
  10666. },
  10667. {
  10668. "type": "string",
  10669. "description": "市场id, 格式 1,2,3",
  10670. "name": "marketids",
  10671. "in": "query"
  10672. },
  10673. {
  10674. "type": "integer",
  10675. "description": "商品id",
  10676. "name": "goodsid",
  10677. "in": "query",
  10678. "required": true
  10679. },
  10680. {
  10681. "type": "integer",
  10682. "description": "买卖方向 0-买 1-卖",
  10683. "name": "buyorsell",
  10684. "in": "query",
  10685. "required": true
  10686. }
  10687. ],
  10688. "responses": {
  10689. "200": {
  10690. "description": "OK",
  10691. "schema": {
  10692. "type": "array",
  10693. "items": {
  10694. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  10695. }
  10696. }
  10697. },
  10698. "500": {
  10699. "description": "Internal Server Error",
  10700. "schema": {
  10701. "$ref": "#/definitions/app.Response"
  10702. }
  10703. }
  10704. }
  10705. }
  10706. },
  10707. "/Tjmd/QueryTjmdTransferApply": {
  10708. "get": {
  10709. "security": [
  10710. {
  10711. "ApiKeyAuth": []
  10712. }
  10713. ],
  10714. "produces": [
  10715. "application/json"
  10716. ],
  10717. "tags": [
  10718. "天津麦顿"
  10719. ],
  10720. "summary": "查询掉期协议单",
  10721. "parameters": [
  10722. {
  10723. "type": "integer",
  10724. "description": "类型 1-我的申请 2-对方申请",
  10725. "name": "applytype",
  10726. "in": "query",
  10727. "required": true
  10728. },
  10729. {
  10730. "type": "string",
  10731. "description": "市场id, 格式 1,2,3",
  10732. "name": "marketids",
  10733. "in": "query"
  10734. },
  10735. {
  10736. "type": "string",
  10737. "description": "资金账号, 格式 25000000001,25000000003",
  10738. "name": "accountids",
  10739. "in": "query"
  10740. }
  10741. ],
  10742. "responses": {
  10743. "200": {
  10744. "description": "OK",
  10745. "schema": {
  10746. "type": "array",
  10747. "items": {
  10748. "$ref": "#/definitions/models.TjmdTransferApply"
  10749. }
  10750. }
  10751. },
  10752. "500": {
  10753. "description": "Internal Server Error",
  10754. "schema": {
  10755. "$ref": "#/definitions/app.Response"
  10756. }
  10757. }
  10758. }
  10759. }
  10760. },
  10761. "/Trade/QueryRecieptOrder": {
  10762. "get": {
  10763. "security": [
  10764. {
  10765. "ApiKeyAuth": []
  10766. }
  10767. ],
  10768. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10769. "produces": [
  10770. "application/json"
  10771. ],
  10772. "tags": [
  10773. "通用交易"
  10774. ],
  10775. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10776. "parameters": [
  10777. {
  10778. "type": "integer",
  10779. "description": "页码",
  10780. "name": "page",
  10781. "in": "query"
  10782. },
  10783. {
  10784. "type": "integer",
  10785. "description": "每页条数",
  10786. "name": "pagesize",
  10787. "in": "query"
  10788. },
  10789. {
  10790. "type": "integer",
  10791. "description": "商品ID",
  10792. "name": "goodsID",
  10793. "in": "query",
  10794. "required": true
  10795. },
  10796. {
  10797. "type": "string",
  10798. "description": "所属账户名称",
  10799. "name": "accountName",
  10800. "in": "query"
  10801. },
  10802. {
  10803. "type": "integer",
  10804. "description": "市场ID",
  10805. "name": "marketID",
  10806. "in": "query"
  10807. },
  10808. {
  10809. "type": "integer",
  10810. "description": "方向 - 0:买 1:卖",
  10811. "name": "buyorsell",
  10812. "in": "query",
  10813. "required": true
  10814. }
  10815. ],
  10816. "responses": {
  10817. "200": {
  10818. "description": "OK",
  10819. "schema": {
  10820. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10821. }
  10822. },
  10823. "500": {
  10824. "description": "Internal Server Error",
  10825. "schema": {
  10826. "$ref": "#/definitions/app.Response"
  10827. }
  10828. }
  10829. }
  10830. }
  10831. },
  10832. "/User/AddMessageBoard": {
  10833. "post": {
  10834. "security": [
  10835. {
  10836. "ApiKeyAuth": []
  10837. }
  10838. ],
  10839. "produces": [
  10840. "application/json"
  10841. ],
  10842. "tags": [
  10843. "用户信息"
  10844. ],
  10845. "summary": "添加用户留言板信息",
  10846. "parameters": [
  10847. {
  10848. "type": "integer",
  10849. "description": "用户ID",
  10850. "name": "userID",
  10851. "in": "query",
  10852. "required": true
  10853. },
  10854. {
  10855. "type": "string",
  10856. "description": "留言信息",
  10857. "name": "message",
  10858. "in": "query",
  10859. "required": true
  10860. },
  10861. {
  10862. "type": "string",
  10863. "description": "联系电话",
  10864. "name": "contactNum",
  10865. "in": "query",
  10866. "required": true
  10867. }
  10868. ],
  10869. "responses": {
  10870. "200": {
  10871. "description": "OK",
  10872. "schema": {
  10873. "$ref": "#/definitions/app.Response"
  10874. }
  10875. },
  10876. "500": {
  10877. "description": "Internal Server Error",
  10878. "schema": {
  10879. "$ref": "#/definitions/app.Response"
  10880. }
  10881. }
  10882. }
  10883. }
  10884. },
  10885. "/User/AddUserFavoriteGoods": {
  10886. "post": {
  10887. "security": [
  10888. {
  10889. "ApiKeyAuth": []
  10890. }
  10891. ],
  10892. "produces": [
  10893. "application/json"
  10894. ],
  10895. "tags": [
  10896. "用户信息"
  10897. ],
  10898. "summary": "添加用户商品收藏信息",
  10899. "parameters": [
  10900. {
  10901. "type": "integer",
  10902. "description": "用户ID",
  10903. "name": "userID",
  10904. "in": "query",
  10905. "required": true
  10906. },
  10907. {
  10908. "type": "integer",
  10909. "description": "商品ID",
  10910. "name": "goodsID",
  10911. "in": "query",
  10912. "required": true
  10913. }
  10914. ],
  10915. "responses": {
  10916. "200": {
  10917. "description": "OK",
  10918. "schema": {
  10919. "$ref": "#/definitions/app.Response"
  10920. }
  10921. },
  10922. "500": {
  10923. "description": "Internal Server Error",
  10924. "schema": {
  10925. "$ref": "#/definitions/app.Response"
  10926. }
  10927. }
  10928. }
  10929. }
  10930. },
  10931. "/User/GetLoginID": {
  10932. "get": {
  10933. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10934. "produces": [
  10935. "application/json"
  10936. ],
  10937. "tags": [
  10938. "用户信息"
  10939. ],
  10940. "summary": "获取登录ID",
  10941. "parameters": [
  10942. {
  10943. "type": "string",
  10944. "description": "登录代码",
  10945. "name": "username",
  10946. "in": "query",
  10947. "required": true
  10948. }
  10949. ],
  10950. "responses": {
  10951. "200": {
  10952. "description": "OK",
  10953. "schema": {
  10954. "$ref": "#/definitions/app.Response"
  10955. }
  10956. },
  10957. "500": {
  10958. "description": "Internal Server Error",
  10959. "schema": {
  10960. "$ref": "#/definitions/app.Response"
  10961. }
  10962. }
  10963. }
  10964. }
  10965. },
  10966. "/User/GetUserAccount": {
  10967. "get": {
  10968. "security": [
  10969. {
  10970. "ApiKeyAuth": []
  10971. }
  10972. ],
  10973. "produces": [
  10974. "application/json"
  10975. ],
  10976. "tags": [
  10977. "用户信息"
  10978. ],
  10979. "summary": "获取用户账号信息",
  10980. "parameters": [
  10981. {
  10982. "type": "integer",
  10983. "description": "用户ID",
  10984. "name": "userID",
  10985. "in": "query",
  10986. "required": true
  10987. }
  10988. ],
  10989. "responses": {
  10990. "200": {
  10991. "description": "OK",
  10992. "schema": {
  10993. "$ref": "#/definitions/models.Useraccount"
  10994. }
  10995. },
  10996. "500": {
  10997. "description": "Internal Server Error",
  10998. "schema": {
  10999. "$ref": "#/definitions/app.Response"
  11000. }
  11001. }
  11002. }
  11003. }
  11004. },
  11005. "/User/GetUserAuthStatus": {
  11006. "get": {
  11007. "security": [
  11008. {
  11009. "ApiKeyAuth": []
  11010. }
  11011. ],
  11012. "produces": [
  11013. "application/json"
  11014. ],
  11015. "tags": [
  11016. "用户信息"
  11017. ],
  11018. "summary": "获取用户实名认证状态",
  11019. "parameters": [
  11020. {
  11021. "type": "integer",
  11022. "description": "用户ID",
  11023. "name": "userID",
  11024. "in": "query",
  11025. "required": true
  11026. }
  11027. ],
  11028. "responses": {
  11029. "200": {
  11030. "description": "OK",
  11031. "schema": {
  11032. "$ref": "#/definitions/app.Response"
  11033. }
  11034. },
  11035. "500": {
  11036. "description": "Internal Server Error",
  11037. "schema": {
  11038. "$ref": "#/definitions/app.Response"
  11039. }
  11040. }
  11041. }
  11042. }
  11043. },
  11044. "/User/LoginQuery": {
  11045. "get": {
  11046. "security": [
  11047. {
  11048. "ApiKeyAuth": []
  11049. }
  11050. ],
  11051. "produces": [
  11052. "application/json"
  11053. ],
  11054. "tags": [
  11055. "用户信息"
  11056. ],
  11057. "summary": "账户登录后信息查询",
  11058. "parameters": [
  11059. {
  11060. "type": "integer",
  11061. "description": "登录账号",
  11062. "name": "loginID",
  11063. "in": "query",
  11064. "required": true
  11065. }
  11066. ],
  11067. "responses": {
  11068. "200": {
  11069. "description": "OK",
  11070. "schema": {
  11071. "$ref": "#/definitions/user.LoginQueryRsp"
  11072. }
  11073. },
  11074. "500": {
  11075. "description": "Internal Server Error",
  11076. "schema": {
  11077. "$ref": "#/definitions/app.Response"
  11078. }
  11079. }
  11080. }
  11081. }
  11082. },
  11083. "/User/QueryMessageBoard": {
  11084. "get": {
  11085. "security": [
  11086. {
  11087. "ApiKeyAuth": []
  11088. }
  11089. ],
  11090. "produces": [
  11091. "application/json"
  11092. ],
  11093. "tags": [
  11094. "用户信息"
  11095. ],
  11096. "summary": "获取用户留言板信息",
  11097. "parameters": [
  11098. {
  11099. "type": "integer",
  11100. "description": "用户ID",
  11101. "name": "userID",
  11102. "in": "query",
  11103. "required": true
  11104. }
  11105. ],
  11106. "responses": {
  11107. "200": {
  11108. "description": "OK",
  11109. "schema": {
  11110. "$ref": "#/definitions/models.Messageboard"
  11111. }
  11112. },
  11113. "500": {
  11114. "description": "Internal Server Error",
  11115. "schema": {
  11116. "$ref": "#/definitions/app.Response"
  11117. }
  11118. }
  11119. }
  11120. }
  11121. },
  11122. "/User/QueryUserFavoriteGoodses": {
  11123. "get": {
  11124. "security": [
  11125. {
  11126. "ApiKeyAuth": []
  11127. }
  11128. ],
  11129. "produces": [
  11130. "application/json"
  11131. ],
  11132. "tags": [
  11133. "用户信息"
  11134. ],
  11135. "summary": "获取用户商品收藏信息",
  11136. "parameters": [
  11137. {
  11138. "type": "integer",
  11139. "description": "用户ID",
  11140. "name": "userID",
  11141. "in": "query",
  11142. "required": true
  11143. }
  11144. ],
  11145. "responses": {
  11146. "200": {
  11147. "description": "OK",
  11148. "schema": {
  11149. "$ref": "#/definitions/models.Userfavoritegoods"
  11150. }
  11151. },
  11152. "500": {
  11153. "description": "Internal Server Error",
  11154. "schema": {
  11155. "$ref": "#/definitions/app.Response"
  11156. }
  11157. }
  11158. }
  11159. }
  11160. },
  11161. "/User/QueryUserInfo": {
  11162. "get": {
  11163. "security": [
  11164. {
  11165. "ApiKeyAuth": []
  11166. }
  11167. ],
  11168. "produces": [
  11169. "application/json"
  11170. ],
  11171. "tags": [
  11172. "用户信息"
  11173. ],
  11174. "summary": "获取用户信息",
  11175. "parameters": [
  11176. {
  11177. "type": "integer",
  11178. "description": "用户ID",
  11179. "name": "userID",
  11180. "in": "query",
  11181. "required": true
  11182. },
  11183. {
  11184. "type": "boolean",
  11185. "description": "是否解密",
  11186. "name": "isDecrypt",
  11187. "in": "query"
  11188. }
  11189. ],
  11190. "responses": {
  11191. "200": {
  11192. "description": "OK",
  11193. "schema": {
  11194. "$ref": "#/definitions/models.Userinfo"
  11195. }
  11196. },
  11197. "500": {
  11198. "description": "Internal Server Error",
  11199. "schema": {
  11200. "$ref": "#/definitions/app.Response"
  11201. }
  11202. }
  11203. }
  11204. }
  11205. },
  11206. "/User/QueryUserReferNum": {
  11207. "get": {
  11208. "produces": [
  11209. "application/json"
  11210. ],
  11211. "tags": [
  11212. "用户信息"
  11213. ],
  11214. "summary": "获取用户邀请码",
  11215. "parameters": [
  11216. {
  11217. "type": "integer",
  11218. "description": "用户ID",
  11219. "name": "userID",
  11220. "in": "query",
  11221. "required": true
  11222. }
  11223. ],
  11224. "responses": {
  11225. "200": {
  11226. "description": "OK",
  11227. "schema": {
  11228. "$ref": "#/definitions/app.Response"
  11229. }
  11230. },
  11231. "500": {
  11232. "description": "Internal Server Error",
  11233. "schema": {
  11234. "$ref": "#/definitions/app.Response"
  11235. }
  11236. }
  11237. }
  11238. }
  11239. },
  11240. "/User/RemoveUserFavoriteGoods": {
  11241. "post": {
  11242. "security": [
  11243. {
  11244. "ApiKeyAuth": []
  11245. }
  11246. ],
  11247. "produces": [
  11248. "application/json"
  11249. ],
  11250. "tags": [
  11251. "用户信息"
  11252. ],
  11253. "summary": "移除用户商品收藏信息",
  11254. "parameters": [
  11255. {
  11256. "type": "integer",
  11257. "description": "用户ID",
  11258. "name": "userID",
  11259. "in": "query",
  11260. "required": true
  11261. },
  11262. {
  11263. "type": "integer",
  11264. "description": "商品ID",
  11265. "name": "goodsID",
  11266. "in": "query",
  11267. "required": true
  11268. }
  11269. ],
  11270. "responses": {
  11271. "200": {
  11272. "description": "OK",
  11273. "schema": {
  11274. "$ref": "#/definitions/app.Response"
  11275. }
  11276. },
  11277. "500": {
  11278. "description": "Internal Server Error",
  11279. "schema": {
  11280. "$ref": "#/definitions/app.Response"
  11281. }
  11282. }
  11283. }
  11284. }
  11285. },
  11286. "/User/UpdateUserAccountStatus": {
  11287. "post": {
  11288. "security": [
  11289. {
  11290. "ApiKeyAuth": []
  11291. }
  11292. ],
  11293. "produces": [
  11294. "application/json"
  11295. ],
  11296. "tags": [
  11297. "用户信息"
  11298. ],
  11299. "summary": "更新用户状态",
  11300. "parameters": [
  11301. {
  11302. "type": "integer",
  11303. "description": "用户ID",
  11304. "name": "userID",
  11305. "in": "query",
  11306. "required": true
  11307. },
  11308. {
  11309. "type": "integer",
  11310. "description": "账户状态 - 4:正常 6:注销(停用)",
  11311. "name": "accountStatus",
  11312. "in": "query",
  11313. "required": true
  11314. }
  11315. ],
  11316. "responses": {
  11317. "200": {
  11318. "description": "OK",
  11319. "schema": {
  11320. "$ref": "#/definitions/app.Response"
  11321. }
  11322. },
  11323. "500": {
  11324. "description": "Internal Server Error",
  11325. "schema": {
  11326. "$ref": "#/definitions/app.Response"
  11327. }
  11328. }
  11329. }
  11330. }
  11331. },
  11332. "/WRTrade/GetAllDeliveryGoods": {
  11333. "get": {
  11334. "security": [
  11335. {
  11336. "ApiKeyAuth": []
  11337. },
  11338. {
  11339. "ApiKeyAuth": []
  11340. }
  11341. ],
  11342. "produces": [
  11343. "application/json",
  11344. "application/json"
  11345. ],
  11346. "tags": [
  11347. "仓单贸易",
  11348. "仓单贸易"
  11349. ],
  11350. "summary": "获取带仓单分类的种类信息",
  11351. "responses": {
  11352. "200": {
  11353. "description": "OK",
  11354. "schema": {
  11355. "$ref": "#/definitions/app.Response"
  11356. }
  11357. },
  11358. "500": {
  11359. "description": "Internal Server Error",
  11360. "schema": {
  11361. "$ref": "#/definitions/app.Response"
  11362. }
  11363. }
  11364. }
  11365. }
  11366. },
  11367. "/WrTrade2/QueryFaProductDetail": {
  11368. "get": {
  11369. "security": [
  11370. {
  11371. "ApiKeyAuth": []
  11372. }
  11373. ],
  11374. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11375. "produces": [
  11376. "application/json"
  11377. ],
  11378. "tags": [
  11379. "仓单贸易v2"
  11380. ],
  11381. "summary": "查询融资产品列表",
  11382. "parameters": [
  11383. {
  11384. "type": "integer",
  11385. "description": "仓单要素id",
  11386. "name": "wrfactortypeid",
  11387. "in": "query",
  11388. "required": true
  11389. }
  11390. ],
  11391. "responses": {
  11392. "200": {
  11393. "description": "OK",
  11394. "schema": {
  11395. "type": "array",
  11396. "items": {
  11397. "$ref": "#/definitions/models.WrFAProductDetail"
  11398. }
  11399. }
  11400. },
  11401. "500": {
  11402. "description": "Internal Server Error",
  11403. "schema": {
  11404. "$ref": "#/definitions/app.Response"
  11405. }
  11406. }
  11407. }
  11408. }
  11409. },
  11410. "/WrTrade2/QueryFilterItem": {
  11411. "get": {
  11412. "security": [
  11413. {
  11414. "ApiKeyAuth": []
  11415. }
  11416. ],
  11417. "produces": [
  11418. "application/json"
  11419. ],
  11420. "tags": [
  11421. "仓单贸易v2"
  11422. ],
  11423. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  11424. "parameters": [
  11425. {
  11426. "type": "string",
  11427. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  11428. "name": "itype",
  11429. "in": "query",
  11430. "required": true
  11431. }
  11432. ],
  11433. "responses": {
  11434. "200": {
  11435. "description": "OK",
  11436. "schema": {
  11437. "type": "array",
  11438. "items": {
  11439. "$ref": "#/definitions/models.WrFilterItem"
  11440. }
  11441. }
  11442. },
  11443. "500": {
  11444. "description": "Internal Server Error",
  11445. "schema": {
  11446. "$ref": "#/definitions/app.Response"
  11447. }
  11448. }
  11449. }
  11450. }
  11451. },
  11452. "/WrTrade2/QueryFtDeliveryGoods": {
  11453. "get": {
  11454. "security": [
  11455. {
  11456. "ApiKeyAuth": []
  11457. }
  11458. ],
  11459. "produces": [
  11460. "application/json"
  11461. ],
  11462. "tags": [
  11463. "仓单贸易v2"
  11464. ],
  11465. "summary": "查询品种品类筛选框列表",
  11466. "responses": {
  11467. "200": {
  11468. "description": "OK",
  11469. "schema": {
  11470. "type": "array",
  11471. "items": {
  11472. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11473. }
  11474. }
  11475. },
  11476. "500": {
  11477. "description": "Internal Server Error",
  11478. "schema": {
  11479. "$ref": "#/definitions/app.Response"
  11480. }
  11481. }
  11482. }
  11483. }
  11484. },
  11485. "/WrTrade2/QueryHoldLB": {
  11486. "get": {
  11487. "security": [
  11488. {
  11489. "ApiKeyAuth": []
  11490. }
  11491. ],
  11492. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11493. "produces": [
  11494. "application/json"
  11495. ],
  11496. "tags": [
  11497. "仓单贸易v2"
  11498. ],
  11499. "summary": "查询仓单持有记录",
  11500. "parameters": [
  11501. {
  11502. "type": "integer",
  11503. "description": "资金账号",
  11504. "name": "accountid",
  11505. "in": "query",
  11506. "required": true
  11507. },
  11508. {
  11509. "type": "integer",
  11510. "description": "仓库id",
  11511. "name": "warehouseid",
  11512. "in": "query"
  11513. },
  11514. {
  11515. "type": "integer",
  11516. "description": "品种id",
  11517. "name": "deliverygoodsid",
  11518. "in": "query"
  11519. },
  11520. {
  11521. "type": "integer",
  11522. "description": "品类id",
  11523. "name": "wrstandardid",
  11524. "in": "query"
  11525. },
  11526. {
  11527. "type": "integer",
  11528. "description": "仓单要素id",
  11529. "name": "wrfactortypeid",
  11530. "in": "query"
  11531. }
  11532. ],
  11533. "responses": {
  11534. "200": {
  11535. "description": "OK",
  11536. "schema": {
  11537. "type": "array",
  11538. "items": {
  11539. "$ref": "#/definitions/models.WrHoldLB"
  11540. }
  11541. }
  11542. },
  11543. "500": {
  11544. "description": "Internal Server Error",
  11545. "schema": {
  11546. "$ref": "#/definitions/app.Response"
  11547. }
  11548. }
  11549. }
  11550. }
  11551. },
  11552. "/WrTrade2/QueryOrderQuote": {
  11553. "get": {
  11554. "security": [
  11555. {
  11556. "ApiKeyAuth": []
  11557. }
  11558. ],
  11559. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11560. "produces": [
  11561. "application/json"
  11562. ],
  11563. "tags": [
  11564. "仓单贸易v2"
  11565. ],
  11566. "summary": "查询大厅行情列表",
  11567. "parameters": [
  11568. {
  11569. "type": "integer",
  11570. "description": "页码",
  11571. "name": "page",
  11572. "in": "query"
  11573. },
  11574. {
  11575. "type": "integer",
  11576. "description": "每页条数",
  11577. "name": "pagesize",
  11578. "in": "query"
  11579. },
  11580. {
  11581. "type": "integer",
  11582. "description": "仓单贸易市场id",
  11583. "name": "marketid",
  11584. "in": "query"
  11585. },
  11586. {
  11587. "type": "integer",
  11588. "description": "价格方式 - 1:固定价 2-浮动价",
  11589. "name": "wrpricetype",
  11590. "in": "query",
  11591. "required": true
  11592. },
  11593. {
  11594. "type": "integer",
  11595. "description": "0:仓单预售 1:仓单贸易",
  11596. "name": "haswr",
  11597. "in": "query",
  11598. "required": true
  11599. },
  11600. {
  11601. "type": "string",
  11602. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11603. "name": "dgitemname",
  11604. "in": "query"
  11605. },
  11606. {
  11607. "type": "integer",
  11608. "description": "仓库id(筛选条件)",
  11609. "name": "warehouseid",
  11610. "in": "query"
  11611. },
  11612. {
  11613. "type": "integer",
  11614. "description": "品种id",
  11615. "name": "deliverygoodsid",
  11616. "in": "query"
  11617. },
  11618. {
  11619. "type": "integer",
  11620. "description": "品类id",
  11621. "name": "wrstandardid",
  11622. "in": "query"
  11623. },
  11624. {
  11625. "type": "integer",
  11626. "description": "仓单要素id",
  11627. "name": "wrfactortypeid",
  11628. "in": "query"
  11629. },
  11630. {
  11631. "type": "string",
  11632. "description": "交收月(yyyy-mm) 仓单预售填写",
  11633. "name": "deliverymonth",
  11634. "in": "query"
  11635. }
  11636. ],
  11637. "responses": {
  11638. "200": {
  11639. "description": "OK",
  11640. "schema": {
  11641. "type": "array",
  11642. "items": {
  11643. "$ref": "#/definitions/models.WrOrderQuote"
  11644. }
  11645. }
  11646. },
  11647. "500": {
  11648. "description": "Internal Server Error",
  11649. "schema": {
  11650. "$ref": "#/definitions/app.Response"
  11651. }
  11652. }
  11653. }
  11654. }
  11655. },
  11656. "/WrTrade2/QueryOrderQuoteDetail": {
  11657. "get": {
  11658. "security": [
  11659. {
  11660. "ApiKeyAuth": []
  11661. }
  11662. ],
  11663. "produces": [
  11664. "application/json"
  11665. ],
  11666. "tags": [
  11667. "仓单贸易v2"
  11668. ],
  11669. "summary": "查询买卖大厅",
  11670. "parameters": [
  11671. {
  11672. "type": "integer",
  11673. "description": "页码",
  11674. "name": "page",
  11675. "in": "query"
  11676. },
  11677. {
  11678. "type": "integer",
  11679. "description": "每页条数",
  11680. "name": "pagesize",
  11681. "in": "query"
  11682. },
  11683. {
  11684. "type": "integer",
  11685. "description": "仓单贸易市场id",
  11686. "name": "marketid",
  11687. "in": "query"
  11688. },
  11689. {
  11690. "type": "integer",
  11691. "description": "价格方式 - 1:固定价 2-浮动价",
  11692. "name": "wrpricetype",
  11693. "in": "query",
  11694. "required": true
  11695. },
  11696. {
  11697. "type": "integer",
  11698. "description": "0:仓单预售 1:仓单贸易",
  11699. "name": "haswr",
  11700. "in": "query",
  11701. "required": true
  11702. },
  11703. {
  11704. "type": "integer",
  11705. "description": "仓单要素id",
  11706. "name": "wrfactortypeid",
  11707. "in": "query",
  11708. "required": true
  11709. },
  11710. {
  11711. "type": "integer",
  11712. "description": "期货商品id(浮动价方式时填)",
  11713. "name": "goodsid",
  11714. "in": "query"
  11715. },
  11716. {
  11717. "type": "integer",
  11718. "description": "买卖方向 0-买 1-卖",
  11719. "name": "buyorsell",
  11720. "in": "query",
  11721. "required": true
  11722. },
  11723. {
  11724. "type": "string",
  11725. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11726. "name": "deliverymonth",
  11727. "in": "query"
  11728. }
  11729. ],
  11730. "responses": {
  11731. "200": {
  11732. "description": "OK",
  11733. "schema": {
  11734. "type": "array",
  11735. "items": {
  11736. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11737. }
  11738. }
  11739. },
  11740. "500": {
  11741. "description": "Internal Server Error",
  11742. "schema": {
  11743. "$ref": "#/definitions/app.Response"
  11744. }
  11745. }
  11746. }
  11747. }
  11748. },
  11749. "/WrTrade2/QueryOrderQuoteMyq": {
  11750. "get": {
  11751. "security": [
  11752. {
  11753. "ApiKeyAuth": []
  11754. }
  11755. ],
  11756. "produces": [
  11757. "application/json"
  11758. ],
  11759. "tags": [
  11760. "仓单贸易v2"
  11761. ],
  11762. "summary": "查询贸易圈挂牌大厅",
  11763. "parameters": [
  11764. {
  11765. "type": "integer",
  11766. "description": "页码",
  11767. "name": "page",
  11768. "in": "query"
  11769. },
  11770. {
  11771. "type": "integer",
  11772. "description": "每页条数",
  11773. "name": "pagesize",
  11774. "in": "query"
  11775. },
  11776. {
  11777. "type": "integer",
  11778. "description": "用户id",
  11779. "name": "userid",
  11780. "in": "query",
  11781. "required": true
  11782. },
  11783. {
  11784. "type": "integer",
  11785. "description": "仓单贸易市场id",
  11786. "name": "marketid",
  11787. "in": "query"
  11788. },
  11789. {
  11790. "type": "integer",
  11791. "description": "0:仓单预售 1:仓单贸易",
  11792. "name": "haswr",
  11793. "in": "query",
  11794. "required": true
  11795. },
  11796. {
  11797. "type": "integer",
  11798. "description": "买卖方向 0-买 1-卖",
  11799. "name": "buyorsell",
  11800. "in": "query",
  11801. "required": true
  11802. },
  11803. {
  11804. "type": "integer",
  11805. "description": "品种id",
  11806. "name": "deliverygoodsid",
  11807. "in": "query"
  11808. },
  11809. {
  11810. "type": "integer",
  11811. "description": "品类id",
  11812. "name": "wrstandardid",
  11813. "in": "query"
  11814. },
  11815. {
  11816. "type": "string",
  11817. "description": "交收月(yyyy-mm) 仓单预售填写",
  11818. "name": "deliverymonth",
  11819. "in": "query"
  11820. },
  11821. {
  11822. "type": "string",
  11823. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11824. "name": "dgitemname",
  11825. "in": "query"
  11826. }
  11827. ],
  11828. "responses": {
  11829. "200": {
  11830. "description": "OK",
  11831. "schema": {
  11832. "type": "array",
  11833. "items": {
  11834. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11835. }
  11836. }
  11837. },
  11838. "500": {
  11839. "description": "Internal Server Error",
  11840. "schema": {
  11841. "$ref": "#/definitions/app.Response"
  11842. }
  11843. }
  11844. }
  11845. }
  11846. },
  11847. "/WrTrade2/QueryPerformancePlan": {
  11848. "get": {
  11849. "security": [
  11850. {
  11851. "ApiKeyAuth": []
  11852. }
  11853. ],
  11854. "produces": [
  11855. "application/json"
  11856. ],
  11857. "tags": [
  11858. "仓单贸易v2"
  11859. ],
  11860. "summary": "查询履约信息",
  11861. "parameters": [
  11862. {
  11863. "type": "integer",
  11864. "description": "用户id",
  11865. "name": "userid",
  11866. "in": "query",
  11867. "required": true
  11868. },
  11869. {
  11870. "type": "integer",
  11871. "description": "买卖方向 0-买 1-卖",
  11872. "name": "buyorsell",
  11873. "in": "query",
  11874. "required": true
  11875. }
  11876. ],
  11877. "responses": {
  11878. "200": {
  11879. "description": "OK",
  11880. "schema": {
  11881. "type": "array",
  11882. "items": {
  11883. "$ref": "#/definitions/models.WrPerformancePlan"
  11884. }
  11885. }
  11886. },
  11887. "500": {
  11888. "description": "Internal Server Error",
  11889. "schema": {
  11890. "$ref": "#/definitions/app.Response"
  11891. }
  11892. }
  11893. }
  11894. }
  11895. },
  11896. "/WrTrade2/QueryPermancePlanTmp": {
  11897. "get": {
  11898. "security": [
  11899. {
  11900. "ApiKeyAuth": []
  11901. }
  11902. ],
  11903. "description": "返回指定用户的模板和公共模板(用户id为空)",
  11904. "produces": [
  11905. "application/json"
  11906. ],
  11907. "tags": [
  11908. "仓单贸易v2"
  11909. ],
  11910. "summary": "查询履约模板",
  11911. "parameters": [
  11912. {
  11913. "type": "integer",
  11914. "description": "用户id",
  11915. "name": "userid",
  11916. "in": "query"
  11917. },
  11918. {
  11919. "type": "string",
  11920. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  11921. "name": "tmptype",
  11922. "in": "query"
  11923. },
  11924. {
  11925. "type": "integer",
  11926. "description": "是否包含公共模板(用户id为空的) 1-包含",
  11927. "name": "includepub",
  11928. "in": "query"
  11929. }
  11930. ],
  11931. "responses": {
  11932. "200": {
  11933. "description": "OK",
  11934. "schema": {
  11935. "type": "array",
  11936. "items": {
  11937. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  11938. }
  11939. }
  11940. },
  11941. "500": {
  11942. "description": "Internal Server Error",
  11943. "schema": {
  11944. "$ref": "#/definitions/app.Response"
  11945. }
  11946. }
  11947. }
  11948. }
  11949. },
  11950. "/WrTrade2/QueryWrAverageTradePrice": {
  11951. "get": {
  11952. "security": [
  11953. {
  11954. "ApiKeyAuth": []
  11955. }
  11956. ],
  11957. "produces": [
  11958. "application/json"
  11959. ],
  11960. "tags": [
  11961. "仓单贸易v2"
  11962. ],
  11963. "summary": "查询成交价(历史走势)",
  11964. "parameters": [
  11965. {
  11966. "type": "integer",
  11967. "description": "页码",
  11968. "name": "page",
  11969. "in": "query"
  11970. },
  11971. {
  11972. "type": "integer",
  11973. "description": "每页条数",
  11974. "name": "pagesize",
  11975. "in": "query"
  11976. },
  11977. {
  11978. "type": "integer",
  11979. "description": "0:仓单预售 1:仓单贸易",
  11980. "name": "haswr",
  11981. "in": "query",
  11982. "required": true
  11983. },
  11984. {
  11985. "type": "integer",
  11986. "description": "仓单要素id",
  11987. "name": "wrfactortypeid",
  11988. "in": "query",
  11989. "required": true
  11990. }
  11991. ],
  11992. "responses": {
  11993. "200": {
  11994. "description": "OK",
  11995. "schema": {
  11996. "type": "array",
  11997. "items": {
  11998. "$ref": "#/definitions/models.WrAverageTradePrice"
  11999. }
  12000. }
  12001. },
  12002. "500": {
  12003. "description": "Internal Server Error",
  12004. "schema": {
  12005. "$ref": "#/definitions/app.Response"
  12006. }
  12007. }
  12008. }
  12009. }
  12010. },
  12011. "/WrTrade2/QueryWrBsGoodsInfo": {
  12012. "get": {
  12013. "security": [
  12014. {
  12015. "ApiKeyAuth": []
  12016. }
  12017. ],
  12018. "description": "合约交易/买卖大厅/详情",
  12019. "produces": [
  12020. "application/json"
  12021. ],
  12022. "tags": [
  12023. "仓单贸易v2"
  12024. ],
  12025. "summary": "查询合约交易买卖大厅详情",
  12026. "parameters": [
  12027. {
  12028. "type": "integer",
  12029. "description": "商品id",
  12030. "name": "goodsid",
  12031. "in": "query",
  12032. "required": true
  12033. }
  12034. ],
  12035. "responses": {
  12036. "200": {
  12037. "description": "OK",
  12038. "schema": {
  12039. "type": "array",
  12040. "items": {
  12041. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12042. }
  12043. }
  12044. },
  12045. "500": {
  12046. "description": "Internal Server Error",
  12047. "schema": {
  12048. "$ref": "#/definitions/app.Response"
  12049. }
  12050. }
  12051. }
  12052. }
  12053. },
  12054. "/WrTrade2/QueryWrBuybackDetail": {
  12055. "get": {
  12056. "security": [
  12057. {
  12058. "ApiKeyAuth": []
  12059. }
  12060. ],
  12061. "produces": [
  12062. "application/json"
  12063. ],
  12064. "tags": [
  12065. "仓单贸易v2"
  12066. ],
  12067. "summary": "查询仓单回购明细",
  12068. "parameters": [
  12069. {
  12070. "type": "integer",
  12071. "description": "融资合同id",
  12072. "name": "scfcontractid",
  12073. "in": "query"
  12074. }
  12075. ],
  12076. "responses": {
  12077. "200": {
  12078. "description": "OK",
  12079. "schema": {
  12080. "type": "array",
  12081. "items": {
  12082. "$ref": "#/definitions/models.WrBuybackDetail"
  12083. }
  12084. }
  12085. },
  12086. "500": {
  12087. "description": "Internal Server Error",
  12088. "schema": {
  12089. "$ref": "#/definitions/app.Response"
  12090. }
  12091. }
  12092. }
  12093. }
  12094. },
  12095. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12096. "get": {
  12097. "security": [
  12098. {
  12099. "ApiKeyAuth": []
  12100. }
  12101. ],
  12102. "produces": [
  12103. "application/json"
  12104. ],
  12105. "tags": [
  12106. "仓单贸易v2"
  12107. ],
  12108. "summary": "查询合约交收可点选仓单",
  12109. "parameters": [
  12110. {
  12111. "type": "integer",
  12112. "description": "资金账号",
  12113. "name": "accountid",
  12114. "in": "query",
  12115. "required": true
  12116. },
  12117. {
  12118. "type": "integer",
  12119. "description": "商品id",
  12120. "name": "goodsid",
  12121. "in": "query",
  12122. "required": true
  12123. }
  12124. ],
  12125. "responses": {
  12126. "200": {
  12127. "description": "OK",
  12128. "schema": {
  12129. "type": "array",
  12130. "items": {
  12131. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12132. }
  12133. }
  12134. },
  12135. "500": {
  12136. "description": "Internal Server Error",
  12137. "schema": {
  12138. "$ref": "#/definitions/app.Response"
  12139. }
  12140. }
  12141. }
  12142. }
  12143. },
  12144. "/WrTrade2/QueryWrDeliveryDetail": {
  12145. "get": {
  12146. "security": [
  12147. {
  12148. "ApiKeyAuth": []
  12149. }
  12150. ],
  12151. "produces": [
  12152. "application/json"
  12153. ],
  12154. "tags": [
  12155. "仓单贸易v2"
  12156. ],
  12157. "summary": "查询交收",
  12158. "parameters": [
  12159. {
  12160. "type": "integer",
  12161. "description": "用户id",
  12162. "name": "userid",
  12163. "in": "query",
  12164. "required": true
  12165. },
  12166. {
  12167. "type": "integer",
  12168. "description": "资金账号id",
  12169. "name": "accountid",
  12170. "in": "query"
  12171. }
  12172. ],
  12173. "responses": {
  12174. "200": {
  12175. "description": "OK",
  12176. "schema": {
  12177. "type": "array",
  12178. "items": {
  12179. "$ref": "#/definitions/models.WrDeliveryDetail"
  12180. }
  12181. }
  12182. },
  12183. "500": {
  12184. "description": "Internal Server Error",
  12185. "schema": {
  12186. "$ref": "#/definitions/app.Response"
  12187. }
  12188. }
  12189. }
  12190. }
  12191. },
  12192. "/WrTrade2/QueryWrFactorTypeInfo": {
  12193. "get": {
  12194. "security": [
  12195. {
  12196. "ApiKeyAuth": []
  12197. }
  12198. ],
  12199. "produces": [
  12200. "application/json"
  12201. ],
  12202. "tags": [
  12203. "仓单贸易v2"
  12204. ],
  12205. "summary": "查询仓单要素详细信息",
  12206. "parameters": [
  12207. {
  12208. "type": "integer",
  12209. "description": "仓单要素id",
  12210. "name": "wrfactortypeid",
  12211. "in": "query",
  12212. "required": true
  12213. }
  12214. ],
  12215. "responses": {
  12216. "200": {
  12217. "description": "OK",
  12218. "schema": {
  12219. "type": "array",
  12220. "items": {
  12221. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12222. }
  12223. }
  12224. },
  12225. "500": {
  12226. "description": "Internal Server Error",
  12227. "schema": {
  12228. "$ref": "#/definitions/app.Response"
  12229. }
  12230. }
  12231. }
  12232. }
  12233. },
  12234. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12235. "get": {
  12236. "security": [
  12237. {
  12238. "ApiKeyAuth": []
  12239. }
  12240. ],
  12241. "produces": [
  12242. "application/json"
  12243. ],
  12244. "tags": [
  12245. "仓单贸易v2"
  12246. ],
  12247. "summary": "查询仓单要素详细信息列表项",
  12248. "parameters": [
  12249. {
  12250. "type": "integer",
  12251. "description": "仓单要素id",
  12252. "name": "wrfactortypeid",
  12253. "in": "query",
  12254. "required": true
  12255. }
  12256. ],
  12257. "responses": {
  12258. "200": {
  12259. "description": "OK",
  12260. "schema": {
  12261. "type": "array",
  12262. "items": {
  12263. "$ref": "#/definitions/models.WrTypeItem"
  12264. }
  12265. }
  12266. },
  12267. "500": {
  12268. "description": "Internal Server Error",
  12269. "schema": {
  12270. "$ref": "#/definitions/app.Response"
  12271. }
  12272. }
  12273. }
  12274. }
  12275. },
  12276. "/WrTrade2/QueryWrFinanceBuyApply": {
  12277. "get": {
  12278. "security": [
  12279. {
  12280. "ApiKeyAuth": []
  12281. }
  12282. ],
  12283. "description": "页面 融资信息+ / 申请单",
  12284. "produces": [
  12285. "application/json"
  12286. ],
  12287. "tags": [
  12288. "仓单贸易v2"
  12289. ],
  12290. "summary": "查询融资购买申请",
  12291. "parameters": [
  12292. {
  12293. "type": "integer",
  12294. "description": "用户id",
  12295. "name": "userid",
  12296. "in": "query",
  12297. "required": true
  12298. }
  12299. ],
  12300. "responses": {
  12301. "200": {
  12302. "description": "OK",
  12303. "schema": {
  12304. "type": "array",
  12305. "items": {
  12306. "$ref": "#/definitions/models.WrFinanceBuyApply"
  12307. }
  12308. }
  12309. },
  12310. "500": {
  12311. "description": "Internal Server Error",
  12312. "schema": {
  12313. "$ref": "#/definitions/app.Response"
  12314. }
  12315. }
  12316. }
  12317. }
  12318. },
  12319. "/WrTrade2/QueryWrFriendApply": {
  12320. "get": {
  12321. "security": [
  12322. {
  12323. "ApiKeyAuth": []
  12324. }
  12325. ],
  12326. "produces": [
  12327. "application/json"
  12328. ],
  12329. "tags": [
  12330. "仓单贸易v2"
  12331. ],
  12332. "summary": "查询好友申请记录",
  12333. "parameters": [
  12334. {
  12335. "type": "integer",
  12336. "description": "用户id",
  12337. "name": "userid",
  12338. "in": "query",
  12339. "required": true
  12340. }
  12341. ],
  12342. "responses": {
  12343. "200": {
  12344. "description": "OK",
  12345. "schema": {
  12346. "type": "array",
  12347. "items": {
  12348. "$ref": "#/definitions/models.WrFriendApply"
  12349. }
  12350. }
  12351. },
  12352. "500": {
  12353. "description": "Internal Server Error",
  12354. "schema": {
  12355. "$ref": "#/definitions/app.Response"
  12356. }
  12357. }
  12358. }
  12359. }
  12360. },
  12361. "/WrTrade2/QueryWrGoodsInfo": {
  12362. "get": {
  12363. "security": [
  12364. {
  12365. "ApiKeyAuth": []
  12366. }
  12367. ],
  12368. "produces": [
  12369. "application/json"
  12370. ],
  12371. "tags": [
  12372. "仓单贸易v2"
  12373. ],
  12374. "summary": "查询仓单商品信息",
  12375. "parameters": [
  12376. {
  12377. "type": "integer",
  12378. "description": "仓单贸易市场id",
  12379. "name": "marketid",
  12380. "in": "query"
  12381. },
  12382. {
  12383. "type": "integer",
  12384. "description": "0:仓单预售 1:仓单贸易",
  12385. "name": "haswr",
  12386. "in": "query",
  12387. "required": true
  12388. },
  12389. {
  12390. "type": "integer",
  12391. "description": "仓单要素id",
  12392. "name": "wrfactortypeid",
  12393. "in": "query",
  12394. "required": true
  12395. },
  12396. {
  12397. "type": "integer",
  12398. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12399. "name": "tmplateid",
  12400. "in": "query"
  12401. }
  12402. ],
  12403. "responses": {
  12404. "200": {
  12405. "description": "OK",
  12406. "schema": {
  12407. "type": "array",
  12408. "items": {
  12409. "$ref": "#/definitions/models.WrGoodsInfo"
  12410. }
  12411. }
  12412. },
  12413. "500": {
  12414. "description": "Internal Server Error",
  12415. "schema": {
  12416. "$ref": "#/definitions/app.Response"
  12417. }
  12418. }
  12419. }
  12420. }
  12421. },
  12422. "/WrTrade2/QueryWrMarketTradeConfig": {
  12423. "get": {
  12424. "security": [
  12425. {
  12426. "ApiKeyAuth": []
  12427. }
  12428. ],
  12429. "produces": [
  12430. "application/json"
  12431. ],
  12432. "tags": [
  12433. "仓单贸易v2"
  12434. ],
  12435. "summary": "查询市场交易参数配置",
  12436. "parameters": [
  12437. {
  12438. "type": "integer",
  12439. "description": "市场id",
  12440. "name": "marketid",
  12441. "in": "query"
  12442. }
  12443. ],
  12444. "responses": {
  12445. "200": {
  12446. "description": "OK",
  12447. "schema": {
  12448. "type": "array",
  12449. "items": {
  12450. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12451. }
  12452. }
  12453. },
  12454. "500": {
  12455. "description": "Internal Server Error",
  12456. "schema": {
  12457. "$ref": "#/definitions/app.Response"
  12458. }
  12459. }
  12460. }
  12461. }
  12462. },
  12463. "/WrTrade2/QueryWrOrderDetail": {
  12464. "get": {
  12465. "security": [
  12466. {
  12467. "ApiKeyAuth": []
  12468. }
  12469. ],
  12470. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  12471. "produces": [
  12472. "application/json"
  12473. ],
  12474. "tags": [
  12475. "仓单贸易v2"
  12476. ],
  12477. "summary": "查询仓单委托单(挂单)",
  12478. "parameters": [
  12479. {
  12480. "type": "integer",
  12481. "description": "页码",
  12482. "name": "page",
  12483. "in": "query"
  12484. },
  12485. {
  12486. "type": "integer",
  12487. "description": "每页条数",
  12488. "name": "pagesize",
  12489. "in": "query"
  12490. },
  12491. {
  12492. "type": "integer",
  12493. "description": "用户id",
  12494. "name": "userid",
  12495. "in": "query",
  12496. "required": true
  12497. },
  12498. {
  12499. "type": "integer",
  12500. "description": "仓单贸易市场id",
  12501. "name": "marketid",
  12502. "in": "query"
  12503. },
  12504. {
  12505. "type": "integer",
  12506. "description": "0:仓单预售 1:仓单贸易",
  12507. "name": "haswr",
  12508. "in": "query",
  12509. "required": true
  12510. }
  12511. ],
  12512. "responses": {
  12513. "200": {
  12514. "description": "OK",
  12515. "schema": {
  12516. "type": "array",
  12517. "items": {
  12518. "$ref": "#/definitions/models.WrOrderDetail"
  12519. }
  12520. }
  12521. },
  12522. "500": {
  12523. "description": "Internal Server Error",
  12524. "schema": {
  12525. "$ref": "#/definitions/app.Response"
  12526. }
  12527. }
  12528. }
  12529. }
  12530. },
  12531. "/WrTrade2/QueryWrOutInApply": {
  12532. "get": {
  12533. "security": [
  12534. {
  12535. "ApiKeyAuth": []
  12536. }
  12537. ],
  12538. "produces": [
  12539. "application/json"
  12540. ],
  12541. "tags": [
  12542. "仓单贸易v2"
  12543. ],
  12544. "summary": "查询提货申请",
  12545. "parameters": [
  12546. {
  12547. "type": "integer",
  12548. "description": "用户id",
  12549. "name": "userid",
  12550. "in": "query",
  12551. "required": true
  12552. }
  12553. ],
  12554. "responses": {
  12555. "200": {
  12556. "description": "OK",
  12557. "schema": {
  12558. "type": "array",
  12559. "items": {
  12560. "$ref": "#/definitions/models.WrOutInApply"
  12561. }
  12562. }
  12563. },
  12564. "500": {
  12565. "description": "Internal Server Error",
  12566. "schema": {
  12567. "$ref": "#/definitions/app.Response"
  12568. }
  12569. }
  12570. }
  12571. }
  12572. },
  12573. "/WrTrade2/QueryWrPerformancePlanStep": {
  12574. "get": {
  12575. "security": [
  12576. {
  12577. "ApiKeyAuth": []
  12578. }
  12579. ],
  12580. "produces": [
  12581. "application/json"
  12582. ],
  12583. "tags": [
  12584. "仓单贸易v2"
  12585. ],
  12586. "summary": "查询履约信息详情",
  12587. "parameters": [
  12588. {
  12589. "type": "integer",
  12590. "description": "履约计划id(performanceplanid)",
  12591. "name": "planid",
  12592. "in": "query",
  12593. "required": true
  12594. },
  12595. {
  12596. "type": "integer",
  12597. "description": "当前步骤id",
  12598. "name": "curstepid",
  12599. "in": "query"
  12600. }
  12601. ],
  12602. "responses": {
  12603. "200": {
  12604. "description": "OK",
  12605. "schema": {
  12606. "type": "array",
  12607. "items": {
  12608. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12609. }
  12610. }
  12611. },
  12612. "500": {
  12613. "description": "Internal Server Error",
  12614. "schema": {
  12615. "$ref": "#/definitions/app.Response"
  12616. }
  12617. }
  12618. }
  12619. }
  12620. },
  12621. "/WrTrade2/QueryWrPerformanceStepType": {
  12622. "get": {
  12623. "security": [
  12624. {
  12625. "ApiKeyAuth": []
  12626. }
  12627. ],
  12628. "produces": [
  12629. "application/json"
  12630. ],
  12631. "tags": [
  12632. "仓单贸易v2"
  12633. ],
  12634. "summary": "查询履约步骤枚举",
  12635. "responses": {
  12636. "200": {
  12637. "description": "OK",
  12638. "schema": {
  12639. "type": "array",
  12640. "items": {
  12641. "$ref": "#/definitions/models.WrPerformanceStepType"
  12642. }
  12643. }
  12644. },
  12645. "500": {
  12646. "description": "Internal Server Error",
  12647. "schema": {
  12648. "$ref": "#/definitions/app.Response"
  12649. }
  12650. }
  12651. }
  12652. }
  12653. },
  12654. "/WrTrade2/QueryWrPosition": {
  12655. "get": {
  12656. "security": [
  12657. {
  12658. "ApiKeyAuth": []
  12659. }
  12660. ],
  12661. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12662. "produces": [
  12663. "application/json"
  12664. ],
  12665. "tags": [
  12666. "仓单贸易v2"
  12667. ],
  12668. "summary": "查询现货(预售)仓单持仓",
  12669. "parameters": [
  12670. {
  12671. "type": "integer",
  12672. "description": "用户id",
  12673. "name": "userid",
  12674. "in": "query",
  12675. "required": true
  12676. },
  12677. {
  12678. "type": "integer",
  12679. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12680. "name": "querytype",
  12681. "in": "query",
  12682. "required": true
  12683. },
  12684. {
  12685. "type": "integer",
  12686. "description": "0:仓单预售 1:仓单贸易",
  12687. "name": "haswr",
  12688. "in": "query",
  12689. "required": true
  12690. },
  12691. {
  12692. "type": "string",
  12693. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12694. "name": "dgitemname",
  12695. "in": "query"
  12696. },
  12697. {
  12698. "type": "integer",
  12699. "description": "仓库id(筛选条件)",
  12700. "name": "warehouseid",
  12701. "in": "query"
  12702. },
  12703. {
  12704. "type": "integer",
  12705. "description": "品种id",
  12706. "name": "deliverygoodsid",
  12707. "in": "query"
  12708. },
  12709. {
  12710. "type": "integer",
  12711. "description": "品类id",
  12712. "name": "wrstandardid",
  12713. "in": "query"
  12714. }
  12715. ],
  12716. "responses": {
  12717. "200": {
  12718. "description": "OK",
  12719. "schema": {
  12720. "type": "array",
  12721. "items": {
  12722. "$ref": "#/definitions/models.WrPosition"
  12723. }
  12724. }
  12725. },
  12726. "500": {
  12727. "description": "Internal Server Error",
  12728. "schema": {
  12729. "$ref": "#/definitions/app.Response"
  12730. }
  12731. }
  12732. }
  12733. }
  12734. },
  12735. "/WrTrade2/QueryWrScfContract": {
  12736. "get": {
  12737. "security": [
  12738. {
  12739. "ApiKeyAuth": []
  12740. }
  12741. ],
  12742. "produces": [
  12743. "application/json"
  12744. ],
  12745. "tags": [
  12746. "仓单贸易v2"
  12747. ],
  12748. "summary": "查询仓单贸易融资合同",
  12749. "parameters": [
  12750. {
  12751. "type": "integer",
  12752. "description": "用户id",
  12753. "name": "userid",
  12754. "in": "query",
  12755. "required": true
  12756. },
  12757. {
  12758. "type": "integer",
  12759. "description": "融资合同id",
  12760. "name": "scfcontractid",
  12761. "in": "query"
  12762. }
  12763. ],
  12764. "responses": {
  12765. "200": {
  12766. "description": "OK",
  12767. "schema": {
  12768. "type": "array",
  12769. "items": {
  12770. "$ref": "#/definitions/models.WrScfContract"
  12771. }
  12772. }
  12773. },
  12774. "500": {
  12775. "description": "Internal Server Error",
  12776. "schema": {
  12777. "$ref": "#/definitions/app.Response"
  12778. }
  12779. }
  12780. }
  12781. }
  12782. },
  12783. "/WrTrade2/QueryWrScfContractInterest": {
  12784. "get": {
  12785. "security": [
  12786. {
  12787. "ApiKeyAuth": []
  12788. }
  12789. ],
  12790. "produces": [
  12791. "application/json"
  12792. ],
  12793. "tags": [
  12794. "仓单贸易v2"
  12795. ],
  12796. "summary": "查询融资合同费用明细",
  12797. "parameters": [
  12798. {
  12799. "type": "integer",
  12800. "description": "融资合同id",
  12801. "name": "scfcontractid",
  12802. "in": "query"
  12803. }
  12804. ],
  12805. "responses": {
  12806. "200": {
  12807. "description": "OK",
  12808. "schema": {
  12809. "type": "array",
  12810. "items": {
  12811. "$ref": "#/definitions/models.WrScfContractInterest"
  12812. }
  12813. }
  12814. },
  12815. "500": {
  12816. "description": "Internal Server Error",
  12817. "schema": {
  12818. "$ref": "#/definitions/app.Response"
  12819. }
  12820. }
  12821. }
  12822. }
  12823. },
  12824. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12825. "get": {
  12826. "security": [
  12827. {
  12828. "ApiKeyAuth": []
  12829. }
  12830. ],
  12831. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12832. "produces": [
  12833. "application/json"
  12834. ],
  12835. "tags": [
  12836. "仓单贸易v2"
  12837. ],
  12838. "summary": "查询指定成交",
  12839. "parameters": [
  12840. {
  12841. "type": "integer",
  12842. "description": "页码",
  12843. "name": "page",
  12844. "in": "query"
  12845. },
  12846. {
  12847. "type": "integer",
  12848. "description": "每页条数",
  12849. "name": "pagesize",
  12850. "in": "query"
  12851. },
  12852. {
  12853. "type": "integer",
  12854. "description": "用户id",
  12855. "name": "userid",
  12856. "in": "query",
  12857. "required": true
  12858. },
  12859. {
  12860. "type": "integer",
  12861. "description": "仓单贸易市场id",
  12862. "name": "marketid",
  12863. "in": "query"
  12864. },
  12865. {
  12866. "type": "integer",
  12867. "description": "0:仓单预售 1:仓单贸易",
  12868. "name": "haswr",
  12869. "in": "query",
  12870. "required": true
  12871. }
  12872. ],
  12873. "responses": {
  12874. "200": {
  12875. "description": "OK",
  12876. "schema": {
  12877. "type": "array",
  12878. "items": {
  12879. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12880. }
  12881. }
  12882. },
  12883. "500": {
  12884. "description": "Internal Server Error",
  12885. "schema": {
  12886. "$ref": "#/definitions/app.Response"
  12887. }
  12888. }
  12889. }
  12890. }
  12891. },
  12892. "/WrTrade2/QueryWrStandardFactoryItem": {
  12893. "get": {
  12894. "security": [
  12895. {
  12896. "ApiKeyAuth": []
  12897. }
  12898. ],
  12899. "produces": [
  12900. "application/json"
  12901. ],
  12902. "tags": [
  12903. "仓单贸易v2"
  12904. ],
  12905. "summary": "查询品类要素定义项",
  12906. "parameters": [
  12907. {
  12908. "type": "integer",
  12909. "description": "品类id",
  12910. "name": "wrstandardid",
  12911. "in": "query",
  12912. "required": true
  12913. }
  12914. ],
  12915. "responses": {
  12916. "200": {
  12917. "description": "OK",
  12918. "schema": {
  12919. "type": "array",
  12920. "items": {
  12921. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12922. }
  12923. }
  12924. },
  12925. "500": {
  12926. "description": "Internal Server Error",
  12927. "schema": {
  12928. "$ref": "#/definitions/app.Response"
  12929. }
  12930. }
  12931. }
  12932. }
  12933. },
  12934. "/WrTrade2/QueryWrTradeBargainApply": {
  12935. "get": {
  12936. "security": [
  12937. {
  12938. "ApiKeyAuth": []
  12939. }
  12940. ],
  12941. "description": "1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid",
  12942. "produces": [
  12943. "application/json"
  12944. ],
  12945. "tags": [
  12946. "仓单贸易v2"
  12947. ],
  12948. "summary": "查询议价单",
  12949. "parameters": [
  12950. {
  12951. "type": "integer",
  12952. "description": "议价人id(摘牌方)",
  12953. "name": "userid",
  12954. "in": "query"
  12955. },
  12956. {
  12957. "type": "integer",
  12958. "description": "关联委托单id",
  12959. "name": "wrtradeorderid",
  12960. "in": "query"
  12961. },
  12962. {
  12963. "type": "integer",
  12964. "description": "0:仓单预售 1:仓单贸易",
  12965. "name": "haswr",
  12966. "in": "query",
  12967. "required": true
  12968. }
  12969. ],
  12970. "responses": {
  12971. "200": {
  12972. "description": "OK",
  12973. "schema": {
  12974. "type": "array",
  12975. "items": {
  12976. "$ref": "#/definitions/models.WRTradeBargainApply"
  12977. }
  12978. }
  12979. },
  12980. "500": {
  12981. "description": "Internal Server Error",
  12982. "schema": {
  12983. "$ref": "#/definitions/app.Response"
  12984. }
  12985. }
  12986. }
  12987. }
  12988. },
  12989. "/WrTrade2/QueryWrTradeDetail": {
  12990. "get": {
  12991. "security": [
  12992. {
  12993. "ApiKeyAuth": []
  12994. }
  12995. ],
  12996. "produces": [
  12997. "application/json"
  12998. ],
  12999. "tags": [
  13000. "仓单贸易v2"
  13001. ],
  13002. "summary": "查询仓单成交明细",
  13003. "parameters": [
  13004. {
  13005. "type": "integer",
  13006. "description": "页码",
  13007. "name": "page",
  13008. "in": "query"
  13009. },
  13010. {
  13011. "type": "integer",
  13012. "description": "每页条数",
  13013. "name": "pagesize",
  13014. "in": "query"
  13015. },
  13016. {
  13017. "type": "integer",
  13018. "description": "用户id",
  13019. "name": "userid",
  13020. "in": "query",
  13021. "required": true
  13022. },
  13023. {
  13024. "type": "integer",
  13025. "description": "仓单贸易市场id",
  13026. "name": "marketid",
  13027. "in": "query"
  13028. },
  13029. {
  13030. "type": "integer",
  13031. "description": "0:仓单预售 1:仓单贸易",
  13032. "name": "haswr",
  13033. "in": "query",
  13034. "required": true
  13035. }
  13036. ],
  13037. "responses": {
  13038. "200": {
  13039. "description": "OK",
  13040. "schema": {
  13041. "type": "array",
  13042. "items": {
  13043. "$ref": "#/definitions/models.WrTradeDetail"
  13044. }
  13045. }
  13046. },
  13047. "500": {
  13048. "description": "Internal Server Error",
  13049. "schema": {
  13050. "$ref": "#/definitions/app.Response"
  13051. }
  13052. }
  13053. }
  13054. }
  13055. },
  13056. "/WrTrade2/QueryWrTradeOrderDetail": {
  13057. "get": {
  13058. "security": [
  13059. {
  13060. "ApiKeyAuth": []
  13061. }
  13062. ],
  13063. "produces": [
  13064. "application/json"
  13065. ],
  13066. "tags": [
  13067. "仓单贸易v2"
  13068. ],
  13069. "summary": "查询合约交易买卖大厅",
  13070. "parameters": [
  13071. {
  13072. "type": "integer",
  13073. "description": "页码",
  13074. "name": "page",
  13075. "in": "query"
  13076. },
  13077. {
  13078. "type": "integer",
  13079. "description": "每页条数",
  13080. "name": "pagesize",
  13081. "in": "query"
  13082. },
  13083. {
  13084. "type": "integer",
  13085. "description": "商品id",
  13086. "name": "goodsid",
  13087. "in": "query",
  13088. "required": true
  13089. },
  13090. {
  13091. "type": "integer",
  13092. "description": "买卖方向 0-买 1-卖",
  13093. "name": "buyorsell",
  13094. "in": "query",
  13095. "required": true
  13096. }
  13097. ],
  13098. "responses": {
  13099. "200": {
  13100. "description": "OK",
  13101. "schema": {
  13102. "type": "array",
  13103. "items": {
  13104. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13105. }
  13106. }
  13107. },
  13108. "500": {
  13109. "description": "Internal Server Error",
  13110. "schema": {
  13111. "$ref": "#/definitions/app.Response"
  13112. }
  13113. }
  13114. }
  13115. }
  13116. },
  13117. "/WrTrade2/QueryWrUserFriend": {
  13118. "get": {
  13119. "security": [
  13120. {
  13121. "ApiKeyAuth": []
  13122. }
  13123. ],
  13124. "produces": [
  13125. "application/json"
  13126. ],
  13127. "tags": [
  13128. "仓单贸易v2"
  13129. ],
  13130. "summary": "查询我的朋友",
  13131. "parameters": [
  13132. {
  13133. "type": "integer",
  13134. "description": "用户id",
  13135. "name": "userid",
  13136. "in": "query",
  13137. "required": true
  13138. },
  13139. {
  13140. "type": "integer",
  13141. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13142. "name": "newuserid",
  13143. "in": "query"
  13144. }
  13145. ],
  13146. "responses": {
  13147. "200": {
  13148. "description": "OK",
  13149. "schema": {
  13150. "type": "array",
  13151. "items": {
  13152. "$ref": "#/definitions/models.WrUserFriend"
  13153. }
  13154. }
  13155. },
  13156. "500": {
  13157. "description": "Internal Server Error",
  13158. "schema": {
  13159. "$ref": "#/definitions/app.Response"
  13160. }
  13161. }
  13162. }
  13163. }
  13164. },
  13165. "/ZJ/GetBankTip": {
  13166. "get": {
  13167. "produces": [
  13168. "application/json"
  13169. ],
  13170. "tags": [
  13171. "中江"
  13172. ],
  13173. "summary": "获取中江网银端出入金提示信息",
  13174. "responses": {
  13175. "200": {
  13176. "description": "OK",
  13177. "schema": {
  13178. "$ref": "#/definitions/app.Response"
  13179. }
  13180. },
  13181. "500": {
  13182. "description": "Internal Server Error",
  13183. "schema": {
  13184. "$ref": "#/definitions/app.Response"
  13185. }
  13186. }
  13187. }
  13188. }
  13189. }
  13190. },
  13191. "definitions": {
  13192. "app.Response": {
  13193. "type": "object",
  13194. "properties": {
  13195. "code": {
  13196. "type": "integer"
  13197. },
  13198. "data": {
  13199. "type": "object"
  13200. },
  13201. "msg": {
  13202. "type": "string"
  13203. },
  13204. "page": {
  13205. "description": "页码",
  13206. "type": "integer"
  13207. },
  13208. "pagesize": {
  13209. "description": "每页条数",
  13210. "type": "integer"
  13211. },
  13212. "total": {
  13213. "description": "总条数",
  13214. "type": "integer"
  13215. }
  13216. }
  13217. },
  13218. "common.ClientMenu": {
  13219. "type": "object",
  13220. "properties": {
  13221. "children": {
  13222. "description": "子菜单列表",
  13223. "type": "array",
  13224. "items": {
  13225. "$ref": "#/definitions/common.ClientMenu"
  13226. }
  13227. },
  13228. "code": {
  13229. "description": "ID",
  13230. "type": "string"
  13231. },
  13232. "isshow": {
  13233. "description": "是否显示",
  13234. "type": "boolean"
  13235. },
  13236. "remark": {
  13237. "description": "备注",
  13238. "type": "string"
  13239. },
  13240. "rulekey": {
  13241. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13242. "type": "string"
  13243. },
  13244. "sort": {
  13245. "description": "排序",
  13246. "type": "integer"
  13247. },
  13248. "title": {
  13249. "description": "标题",
  13250. "type": "string"
  13251. },
  13252. "type": {
  13253. "description": "类型,1:菜单 2:按钮",
  13254. "type": "integer"
  13255. },
  13256. "url": {
  13257. "description": "URL",
  13258. "type": "string"
  13259. }
  13260. }
  13261. },
  13262. "common.QueryImageConfigsRsp": {
  13263. "type": "object",
  13264. "required": [
  13265. "configid"
  13266. ],
  13267. "properties": {
  13268. "areauserid": {
  13269. "description": "所属机构ID",
  13270. "type": "integer"
  13271. },
  13272. "configid": {
  13273. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13274. "type": "integer"
  13275. },
  13276. "createdate": {
  13277. "description": "创建时间",
  13278. "type": "string"
  13279. },
  13280. "creatorid": {
  13281. "description": "创建人",
  13282. "type": "integer"
  13283. },
  13284. "imagepath": {
  13285. "description": "图片",
  13286. "type": "string"
  13287. },
  13288. "imagetype": {
  13289. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13290. "type": "integer"
  13291. },
  13292. "isshow": {
  13293. "description": "是否展示 - 0:不展示 1:展示",
  13294. "type": "integer"
  13295. },
  13296. "marketid": {
  13297. "description": "市场ID",
  13298. "type": "integer"
  13299. },
  13300. "modifierid": {
  13301. "description": "操作人",
  13302. "type": "integer"
  13303. },
  13304. "sort": {
  13305. "description": "排序",
  13306. "type": "integer"
  13307. },
  13308. "title": {
  13309. "description": "标题",
  13310. "type": "string"
  13311. },
  13312. "trademode": {
  13313. "description": "交易模式",
  13314. "type": "integer"
  13315. },
  13316. "updatedate": {
  13317. "description": "修改时间",
  13318. "type": "string"
  13319. },
  13320. "url": {
  13321. "description": "链接(地址或商品ID)",
  13322. "type": "string"
  13323. },
  13324. "urltype": {
  13325. "description": "链接类型 - 1:直接地址 2:商品ID",
  13326. "type": "integer"
  13327. }
  13328. }
  13329. },
  13330. "common.QueryNoticeRsp": {
  13331. "type": "object",
  13332. "required": [
  13333. "autoid"
  13334. ],
  13335. "properties": {
  13336. "auditoruserid": {
  13337. "description": "审核人",
  13338. "type": "integer"
  13339. },
  13340. "auditremark": {
  13341. "description": "审核备注",
  13342. "type": "string"
  13343. },
  13344. "audittime": {
  13345. "description": "审核日期",
  13346. "type": "string"
  13347. },
  13348. "autoid": {
  13349. "description": "自增ID",
  13350. "type": "integer"
  13351. },
  13352. "content": {
  13353. "description": "内容",
  13354. "type": "string"
  13355. },
  13356. "createtime": {
  13357. "description": "创建时间",
  13358. "type": "string"
  13359. },
  13360. "creatorid": {
  13361. "description": "建仓人",
  13362. "type": "integer"
  13363. },
  13364. "endtime": {
  13365. "description": "结束时间",
  13366. "type": "string"
  13367. },
  13368. "istop": {
  13369. "description": "是否置顶 - 0:不置顶 1:置顶",
  13370. "type": "integer"
  13371. },
  13372. "msgiconurl": {
  13373. "description": "消息图标Url",
  13374. "type": "string"
  13375. },
  13376. "msgtype": {
  13377. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  13378. "type": "integer"
  13379. },
  13380. "publisher": {
  13381. "description": "消息发布者",
  13382. "type": "string"
  13383. },
  13384. "readed": {
  13385. "description": "是否已读",
  13386. "type": "boolean"
  13387. },
  13388. "scheduletime": {
  13389. "description": "计划发送时间",
  13390. "type": "string"
  13391. },
  13392. "sendtype": {
  13393. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  13394. "type": "integer"
  13395. },
  13396. "sentstatus": {
  13397. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  13398. "type": "integer"
  13399. },
  13400. "title": {
  13401. "description": "标题",
  13402. "type": "string"
  13403. },
  13404. "userid": {
  13405. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  13406. "type": "integer"
  13407. }
  13408. }
  13409. },
  13410. "common.QueryProvincesAndCitiesRsp": {
  13411. "type": "object",
  13412. "properties": {
  13413. "cities": {
  13414. "description": "市",
  13415. "type": "array",
  13416. "items": {
  13417. "$ref": "#/definitions/models.Division"
  13418. }
  13419. },
  13420. "province": {
  13421. "description": "省",
  13422. "type": "object",
  13423. "$ref": "#/definitions/models.Division"
  13424. }
  13425. }
  13426. },
  13427. "common.QueryTableDefineRsp": {
  13428. "type": "object",
  13429. "required": [
  13430. "tablekey"
  13431. ],
  13432. "properties": {
  13433. "columns": {
  13434. "description": "列头信息数组",
  13435. "type": "array",
  13436. "items": {
  13437. "$ref": "#/definitions/models.Tablecolumnconfig"
  13438. }
  13439. },
  13440. "remark": {
  13441. "description": "Remark",
  13442. "type": "string"
  13443. },
  13444. "tabelmenu": {
  13445. "description": "列表菜单",
  13446. "type": "string"
  13447. },
  13448. "tablekey": {
  13449. "description": "列表Key",
  13450. "type": "string"
  13451. },
  13452. "tablename": {
  13453. "description": "列表名称",
  13454. "type": "string"
  13455. },
  13456. "tabletype": {
  13457. "description": "列表类型 - 1:管理端 2:终端",
  13458. "type": "integer"
  13459. }
  13460. }
  13461. },
  13462. "common.QueryTraderMenuRsp": {
  13463. "type": "object",
  13464. "properties": {
  13465. "OperationMenu": {
  13466. "description": "功能菜单",
  13467. "type": "array",
  13468. "items": {
  13469. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13470. }
  13471. },
  13472. "QuoteMenu": {
  13473. "description": "报价牌分类菜单",
  13474. "type": "array",
  13475. "items": {
  13476. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13477. }
  13478. }
  13479. }
  13480. },
  13481. "cptrade.Cptradepositioncancel": {
  13482. "type": "object",
  13483. "required": [
  13484. "cancelid"
  13485. ],
  13486. "properties": {
  13487. "accountid": {
  13488. "description": "申请人账户ID",
  13489. "type": "integer"
  13490. },
  13491. "applystatus": {
  13492. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13493. "type": "integer"
  13494. },
  13495. "applytime": {
  13496. "description": "申请时间",
  13497. "type": "string"
  13498. },
  13499. "cancelid": {
  13500. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13501. "type": "integer"
  13502. },
  13503. "cancelqty": {
  13504. "description": "注销数量",
  13505. "type": "integer"
  13506. },
  13507. "createtime": {
  13508. "description": "创建时间",
  13509. "type": "string"
  13510. },
  13511. "creatorid": {
  13512. "description": "创建人ID",
  13513. "type": "integer"
  13514. },
  13515. "creatorname": {
  13516. "description": "创建人",
  13517. "type": "string"
  13518. },
  13519. "goodscode": {
  13520. "description": "订单商品代码",
  13521. "type": "string"
  13522. },
  13523. "goodsid": {
  13524. "description": "商品ID",
  13525. "type": "integer"
  13526. },
  13527. "goodsname": {
  13528. "description": "订单商品名称",
  13529. "type": "string"
  13530. },
  13531. "goodunit": {
  13532. "description": "报价单位",
  13533. "type": "string"
  13534. },
  13535. "handlestatus": {
  13536. "description": "处理状态",
  13537. "type": "integer"
  13538. },
  13539. "marketid": {
  13540. "description": "市场ID",
  13541. "type": "integer"
  13542. },
  13543. "marketname": {
  13544. "description": "市场名称",
  13545. "type": "string"
  13546. },
  13547. "tradedate": {
  13548. "description": "交易日(yyyyMMdd)",
  13549. "type": "string"
  13550. },
  13551. "userid": {
  13552. "description": "申请人ID",
  13553. "type": "integer"
  13554. }
  13555. }
  13556. },
  13557. "cptrade.Cptradepresaleapply": {
  13558. "type": "object",
  13559. "required": [
  13560. "applyid"
  13561. ],
  13562. "properties": {
  13563. "accountid": {
  13564. "description": "申请人账户ID",
  13565. "type": "integer"
  13566. },
  13567. "applyid": {
  13568. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13569. "type": "integer"
  13570. },
  13571. "applyremark": {
  13572. "description": "申请备注",
  13573. "type": "string"
  13574. },
  13575. "applystatus": {
  13576. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13577. "type": "integer"
  13578. },
  13579. "applytime": {
  13580. "description": "申请时间",
  13581. "type": "string"
  13582. },
  13583. "attachmenturl": {
  13584. "description": "附件地址",
  13585. "type": "string"
  13586. },
  13587. "endtime": {
  13588. "description": "预售结束时间",
  13589. "type": "string"
  13590. },
  13591. "goodscode": {
  13592. "description": "商品代码",
  13593. "type": "string"
  13594. },
  13595. "goodsid": {
  13596. "description": "商品ID",
  13597. "type": "integer"
  13598. },
  13599. "goodsname": {
  13600. "description": "商品名称",
  13601. "type": "string"
  13602. },
  13603. "goodunit": {
  13604. "description": "报价单位",
  13605. "type": "string"
  13606. },
  13607. "handlestatus": {
  13608. "description": "处理状态",
  13609. "type": "integer"
  13610. },
  13611. "marketid": {
  13612. "description": "预售市场ID",
  13613. "type": "integer"
  13614. },
  13615. "marketname": {
  13616. "description": "预售市场名称",
  13617. "type": "string"
  13618. },
  13619. "presaleqty": {
  13620. "description": "预售数量",
  13621. "type": "integer"
  13622. },
  13623. "relatedgoodscode": {
  13624. "description": "关联交易合约代码",
  13625. "type": "string"
  13626. },
  13627. "relatedgoodsid": {
  13628. "description": "关联交易合约ID",
  13629. "type": "integer"
  13630. },
  13631. "relatedgoodsname": {
  13632. "description": "关联交易合约名称",
  13633. "type": "string"
  13634. },
  13635. "starttime": {
  13636. "description": "预售开始时间",
  13637. "type": "string"
  13638. },
  13639. "tradedate": {
  13640. "description": "交易日(yyyyMMdd)",
  13641. "type": "string"
  13642. },
  13643. "trademode": {
  13644. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13645. "type": "integer"
  13646. },
  13647. "userid": {
  13648. "description": "申请人ID",
  13649. "type": "integer"
  13650. }
  13651. }
  13652. },
  13653. "cptrade.Cptradeusergoodsdata": {
  13654. "type": "object",
  13655. "required": [
  13656. "accountid",
  13657. "goodsid"
  13658. ],
  13659. "properties": {
  13660. "EnabledQty": {
  13661. "description": "可用量",
  13662. "type": "integer"
  13663. },
  13664. "GoodsCode": {
  13665. "description": "订单商品代码",
  13666. "type": "string"
  13667. },
  13668. "GoodsName": {
  13669. "description": "订单商品名称",
  13670. "type": "string"
  13671. },
  13672. "WRStandardCode": {
  13673. "description": "仓单标准代码",
  13674. "type": "string"
  13675. },
  13676. "WRStandardName": {
  13677. "description": "仓单标准名称",
  13678. "type": "string"
  13679. },
  13680. "accountid": {
  13681. "description": "账户ID",
  13682. "type": "integer"
  13683. },
  13684. "cancelqty": {
  13685. "description": "注销量",
  13686. "type": "integer"
  13687. },
  13688. "curpresaleqty": {
  13689. "description": "当前预售量",
  13690. "type": "integer"
  13691. },
  13692. "deliveryqty": {
  13693. "description": "交割量",
  13694. "type": "integer"
  13695. },
  13696. "freezeamount": {
  13697. "description": "冻结金额",
  13698. "type": "number"
  13699. },
  13700. "goodsid": {
  13701. "description": "商品ID",
  13702. "type": "integer"
  13703. },
  13704. "goodunit": {
  13705. "description": "报价单位",
  13706. "type": "string"
  13707. },
  13708. "hasspotfreeze": {
  13709. "description": "是否有现货冻结 - 0:否 1:有",
  13710. "type": "integer"
  13711. },
  13712. "inqty": {
  13713. "description": "转入量(总数量)",
  13714. "type": "integer"
  13715. },
  13716. "marketid": {
  13717. "description": "市场ID",
  13718. "type": "integer"
  13719. },
  13720. "presaledamount": {
  13721. "description": "已预售总金额",
  13722. "type": "integer"
  13723. },
  13724. "presaledqty": {
  13725. "description": "已预售量",
  13726. "type": "integer"
  13727. },
  13728. "userid": {
  13729. "description": "用户ID",
  13730. "type": "integer"
  13731. },
  13732. "wrstandardid": {
  13733. "description": "仓单标准ID",
  13734. "type": "integer"
  13735. }
  13736. }
  13737. },
  13738. "cptrade.QueryCPTradeMyBidRsp": {
  13739. "type": "object",
  13740. "required": [
  13741. "accountid",
  13742. "goodsid",
  13743. "marketid",
  13744. "orderid",
  13745. "orderqty",
  13746. "ordertime",
  13747. "tradeprice",
  13748. "tradeqty"
  13749. ],
  13750. "properties": {
  13751. "accountid": {
  13752. "description": "账户ID[报价币种]",
  13753. "type": "integer"
  13754. },
  13755. "goodsid": {
  13756. "description": "商品ID",
  13757. "type": "integer"
  13758. },
  13759. "goodunit": {
  13760. "description": "报价单位",
  13761. "type": "string"
  13762. },
  13763. "marketid": {
  13764. "description": "市场ID",
  13765. "type": "integer"
  13766. },
  13767. "orderid": {
  13768. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13769. "type": "integer"
  13770. },
  13771. "orderprice": {
  13772. "description": "委托价格",
  13773. "type": "number"
  13774. },
  13775. "orderqty": {
  13776. "description": "委托数量",
  13777. "type": "integer"
  13778. },
  13779. "ordertime": {
  13780. "description": "委托时间",
  13781. "type": "string"
  13782. },
  13783. "ordertotalprice": {
  13784. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13785. "type": "number"
  13786. },
  13787. "ordertotalweight": {
  13788. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13789. "type": "integer"
  13790. },
  13791. "totaltotalprice": {
  13792. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13793. "type": "number"
  13794. },
  13795. "tradeprice": {
  13796. "description": "成交价格",
  13797. "type": "number"
  13798. },
  13799. "tradeqty": {
  13800. "description": "成交数量",
  13801. "type": "integer"
  13802. }
  13803. }
  13804. },
  13805. "cptrade.QueryCPTradeOrderDetailRsq": {
  13806. "type": "object",
  13807. "required": [
  13808. "accountid",
  13809. "buildtype",
  13810. "buyorsell",
  13811. "goodsid",
  13812. "marketid",
  13813. "memberuserid",
  13814. "operatetype",
  13815. "orderqty",
  13816. "ordertime",
  13817. "pricemode",
  13818. "strorderid",
  13819. "tradedate",
  13820. "validtype"
  13821. ],
  13822. "properties": {
  13823. "accountid": {
  13824. "description": "账户ID[报价币种]",
  13825. "type": "integer"
  13826. },
  13827. "buildtype": {
  13828. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13829. "type": "integer"
  13830. },
  13831. "buyorsell": {
  13832. "description": "买卖 - 0:买 1:卖",
  13833. "type": "integer"
  13834. },
  13835. "cancelorderid": {
  13836. "description": "撤单单号(撤单时填写)",
  13837. "type": "integer"
  13838. },
  13839. "cancelqty": {
  13840. "description": "撤单数量",
  13841. "type": "integer"
  13842. },
  13843. "clientordertime": {
  13844. "description": "客户端委托时间",
  13845. "type": "string"
  13846. },
  13847. "clientticket": {
  13848. "description": "客户端流水号",
  13849. "type": "string"
  13850. },
  13851. "clienttype": {
  13852. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13853. "type": "integer"
  13854. },
  13855. "closeexchagechargevalue": {
  13856. "description": "平仓交易所手续费设置值",
  13857. "type": "number"
  13858. },
  13859. "closefeealgorithm": {
  13860. "description": "平仓手续费收取方式 1:比率 2:固定",
  13861. "type": "integer"
  13862. },
  13863. "closefreezecharge": {
  13864. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13865. "type": "number"
  13866. },
  13867. "closememberchargevalue": {
  13868. "description": "平仓会员手续费设置值",
  13869. "type": "number"
  13870. },
  13871. "closeqty": {
  13872. "description": "平仓数量(先建后平操作 需要记录)",
  13873. "type": "integer"
  13874. },
  13875. "closetradeqty": {
  13876. "description": "平仓成交数量(先建后平操作,需要记录)",
  13877. "type": "integer"
  13878. },
  13879. "closeunfreezecharge": {
  13880. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13881. "type": "number"
  13882. },
  13883. "delistingtype": {
  13884. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13885. "type": "integer"
  13886. },
  13887. "freezecharge": {
  13888. "description": "冻结手续费",
  13889. "type": "number"
  13890. },
  13891. "freezemargin": {
  13892. "description": "冻结保证金(冻结交易金额)",
  13893. "type": "number"
  13894. },
  13895. "gcaccountid": {
  13896. "description": "账户ID[合约币种]",
  13897. "type": "integer"
  13898. },
  13899. "goodsid": {
  13900. "description": "商品ID",
  13901. "type": "integer"
  13902. },
  13903. "isconfirmexercise": {
  13904. "description": "是否确认行权- 0:否 1:是",
  13905. "type": "integer"
  13906. },
  13907. "ispreexercise": {
  13908. "description": "是否预申报- 0:否 1:是",
  13909. "type": "integer"
  13910. },
  13911. "listingselecttype": {
  13912. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13913. "type": "integer"
  13914. },
  13915. "marginalgorithm": {
  13916. "description": "保证金收取方式 1:比率 2:固定",
  13917. "type": "integer"
  13918. },
  13919. "marginvalue": {
  13920. "description": "即市保证金设置值",
  13921. "type": "number"
  13922. },
  13923. "marketid": {
  13924. "description": "市场ID",
  13925. "type": "integer"
  13926. },
  13927. "marketmaxsub": {
  13928. "description": "市价最大偏移范围",
  13929. "type": "number"
  13930. },
  13931. "memberuserid": {
  13932. "description": "所属会员UserID",
  13933. "type": "integer"
  13934. },
  13935. "openexchagechargevalue": {
  13936. "description": "建仓交易所手续费设置值",
  13937. "type": "number"
  13938. },
  13939. "openfeealgorithm": {
  13940. "description": "建仓手续费收取方式 1:比率 2:固定",
  13941. "type": "integer"
  13942. },
  13943. "openfreezecharge": {
  13944. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13945. "type": "number"
  13946. },
  13947. "openmemberchargevalue": {
  13948. "description": "建仓会员手续费设置值",
  13949. "type": "number"
  13950. },
  13951. "openqty": {
  13952. "description": "开仓数量(先建后平操作,需要记录)",
  13953. "type": "integer"
  13954. },
  13955. "opentradeqty": {
  13956. "description": "开仓成交数量(先建后平操作,需要记录)",
  13957. "type": "integer"
  13958. },
  13959. "openunfreezecharge": {
  13960. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13961. "type": "number"
  13962. },
  13963. "operatetype": {
  13964. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13965. "type": "integer"
  13966. },
  13967. "operatorid": {
  13968. "description": "登录账号(LoginID)",
  13969. "type": "integer"
  13970. },
  13971. "optiontype": {
  13972. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13973. "type": "integer"
  13974. },
  13975. "orderprice": {
  13976. "description": "委托价格",
  13977. "type": "number"
  13978. },
  13979. "orderqty": {
  13980. "description": "委托数量",
  13981. "type": "integer"
  13982. },
  13983. "ordersrc": {
  13984. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13985. "type": "integer"
  13986. },
  13987. "orderstatus": {
  13988. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13989. "type": "integer"
  13990. },
  13991. "ordertime": {
  13992. "description": "委托时间",
  13993. "type": "string"
  13994. },
  13995. "preexerciseprice": {
  13996. "description": "预申报价格",
  13997. "type": "number"
  13998. },
  13999. "premium": {
  14000. "description": "权利金",
  14001. "type": "number"
  14002. },
  14003. "preorderid": {
  14004. "description": "关联预埋单号(止盈止损单时填写)",
  14005. "type": "integer"
  14006. },
  14007. "pricemode": {
  14008. "description": "取价方式 - 1:市价 2: 限价",
  14009. "type": "integer"
  14010. },
  14011. "quoteid": {
  14012. "description": "报价单ID",
  14013. "type": "integer"
  14014. },
  14015. "relatedid": {
  14016. "description": "关联单号(交割单)",
  14017. "type": "integer"
  14018. },
  14019. "retcode": {
  14020. "description": "错误代码",
  14021. "type": "integer"
  14022. },
  14023. "sessionid": {
  14024. "description": "会话ID",
  14025. "type": "integer"
  14026. },
  14027. "strorderid": {
  14028. "description": "委托单号",
  14029. "type": "string"
  14030. },
  14031. "tradedate": {
  14032. "description": "交易日(yyyyMMdd)",
  14033. "type": "string"
  14034. },
  14035. "tradeproperty": {
  14036. "description": "交易属性",
  14037. "type": "integer"
  14038. },
  14039. "tradeqty": {
  14040. "description": "成交数量",
  14041. "type": "integer"
  14042. },
  14043. "unfreezecharge": {
  14044. "description": "解冻手续费",
  14045. "type": "number"
  14046. },
  14047. "unfreezemargin": {
  14048. "description": "解冻保证金",
  14049. "type": "number"
  14050. },
  14051. "updatetime": {
  14052. "description": "更新时间",
  14053. "type": "string"
  14054. },
  14055. "uuid": {
  14056. "description": "发起端唯一id",
  14057. "type": "string"
  14058. },
  14059. "validtime": {
  14060. "description": "有效期限",
  14061. "type": "string"
  14062. },
  14063. "validtype": {
  14064. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14065. "type": "integer"
  14066. },
  14067. "volumetype": {
  14068. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14069. "type": "integer"
  14070. }
  14071. }
  14072. },
  14073. "cptrade.QueryMyCPTradeGoodsRsp": {
  14074. "type": "object",
  14075. "required": [
  14076. "goodscode",
  14077. "goodsid",
  14078. "goodsname",
  14079. "marketid",
  14080. "relatedgoodscode",
  14081. "relatedgoodsname"
  14082. ],
  14083. "properties": {
  14084. "accountid": {
  14085. "description": "卖方账户ID",
  14086. "type": "integer"
  14087. },
  14088. "agreeunit": {
  14089. "description": "合约单位",
  14090. "type": "number"
  14091. },
  14092. "applyid": {
  14093. "description": "关联申请ID",
  14094. "type": "integer"
  14095. },
  14096. "attachmenturl": {
  14097. "description": "附件地址",
  14098. "type": "string"
  14099. },
  14100. "createtime": {
  14101. "description": "创建时间",
  14102. "type": "string"
  14103. },
  14104. "currencyid": {
  14105. "description": "报价货币ID",
  14106. "type": "integer"
  14107. },
  14108. "decimalplace": {
  14109. "description": "报价小数位",
  14110. "type": "integer"
  14111. },
  14112. "endtime": {
  14113. "description": "预售结束时间",
  14114. "type": "string"
  14115. },
  14116. "floorprice": {
  14117. "description": "底价[大宗式竞拍]",
  14118. "type": "number"
  14119. },
  14120. "goodscode": {
  14121. "description": "商品代码(预售)",
  14122. "type": "string"
  14123. },
  14124. "goodsdetail": {
  14125. "description": "详情[大宗]",
  14126. "type": "string"
  14127. },
  14128. "goodsid": {
  14129. "description": "商品ID(自增ID SEQ_GOODS)",
  14130. "type": "integer"
  14131. },
  14132. "goodsname": {
  14133. "description": "商品名称(预售)",
  14134. "type": "string"
  14135. },
  14136. "goodunit": {
  14137. "description": "报价单位",
  14138. "type": "string"
  14139. },
  14140. "goodunitid": {
  14141. "description": "报价单位ID",
  14142. "type": "integer"
  14143. },
  14144. "marketid": {
  14145. "description": "所属市场ID",
  14146. "type": "integer"
  14147. },
  14148. "marketname": {
  14149. "description": "预售市场名称",
  14150. "type": "string"
  14151. },
  14152. "presaledamount": {
  14153. "description": "已预售总金额(预售结束时更新)",
  14154. "type": "number"
  14155. },
  14156. "presaledqty": {
  14157. "description": "已预售量(预售结束时更新)",
  14158. "type": "integer"
  14159. },
  14160. "presalemode": {
  14161. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14162. "type": "integer"
  14163. },
  14164. "presaleqty": {
  14165. "description": "预售数量",
  14166. "type": "integer"
  14167. },
  14168. "refprice": {
  14169. "description": "参考价格[一口价]",
  14170. "type": "number"
  14171. },
  14172. "relatedgoodscode": {
  14173. "description": "商品代码(订单)",
  14174. "type": "string"
  14175. },
  14176. "relatedgoodsid": {
  14177. "description": "关联交易合约ID",
  14178. "type": "integer"
  14179. },
  14180. "relatedgoodsname": {
  14181. "description": "商品名称(订单)",
  14182. "type": "string"
  14183. },
  14184. "relatedmarketid": {
  14185. "description": "关联交易合约市场ID",
  14186. "type": "integer"
  14187. },
  14188. "sellstatus": {
  14189. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14190. "type": "integer"
  14191. },
  14192. "startprice": {
  14193. "description": "起拍价[大宗式竞拍]",
  14194. "type": "number"
  14195. },
  14196. "starttime": {
  14197. "description": "预售开始时间",
  14198. "type": "string"
  14199. },
  14200. "tradedate": {
  14201. "description": "交易日(yyyyMMdd)",
  14202. "type": "string"
  14203. },
  14204. "tradeprice": {
  14205. "description": "成交价[大宗]",
  14206. "type": "number"
  14207. },
  14208. "userid": {
  14209. "description": "卖方用户ID",
  14210. "type": "integer"
  14211. }
  14212. }
  14213. },
  14214. "cptrade.QueryPresaleGoodsExRsp": {
  14215. "type": "object",
  14216. "required": [
  14217. "goodsid"
  14218. ],
  14219. "properties": {
  14220. "attachmenturl": {
  14221. "description": "附件地址",
  14222. "type": "string"
  14223. },
  14224. "createtime": {
  14225. "description": "创建时间",
  14226. "type": "string"
  14227. },
  14228. "endtime": {
  14229. "description": "预售结束时间",
  14230. "type": "string"
  14231. },
  14232. "floorprice": {
  14233. "description": "底价[大宗式竞拍]",
  14234. "type": "number"
  14235. },
  14236. "goodsdetail": {
  14237. "description": "详情[大宗]",
  14238. "type": "string"
  14239. },
  14240. "goodsid": {
  14241. "description": "商品ID(预售)",
  14242. "type": "integer"
  14243. },
  14244. "goodunit": {
  14245. "description": "报价单位",
  14246. "type": "string"
  14247. },
  14248. "marketid": {
  14249. "description": "预售市场ID - 根据预售模式选择市场",
  14250. "type": "integer"
  14251. },
  14252. "presaledamount": {
  14253. "description": "已预售总金额(预售结束时更新)",
  14254. "type": "number"
  14255. },
  14256. "presaledqty": {
  14257. "description": "已预售量(预售结束时更新)",
  14258. "type": "integer"
  14259. },
  14260. "presalemode": {
  14261. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14262. "type": "integer"
  14263. },
  14264. "presaleqty": {
  14265. "description": "预售数量",
  14266. "type": "integer"
  14267. },
  14268. "refprice": {
  14269. "description": "参考价格[一口价]",
  14270. "type": "number"
  14271. },
  14272. "relatedgoodsid": {
  14273. "description": "关联交易合约ID",
  14274. "type": "integer"
  14275. },
  14276. "relatedmarketid": {
  14277. "description": "关联交易合约市场ID",
  14278. "type": "integer"
  14279. },
  14280. "sellstatus": {
  14281. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14282. "type": "integer"
  14283. },
  14284. "startprice": {
  14285. "description": "起拍价[大宗式竞拍]",
  14286. "type": "number"
  14287. },
  14288. "starttime": {
  14289. "description": "预售开始时间",
  14290. "type": "string"
  14291. },
  14292. "tradedate": {
  14293. "description": "交易日(yyyyMMdd)",
  14294. "type": "string"
  14295. },
  14296. "tradeprice": {
  14297. "description": "成交价[大宗]",
  14298. "type": "number"
  14299. }
  14300. }
  14301. },
  14302. "delivery.QueryDeliveryRelationRsp": {
  14303. "type": "object",
  14304. "required": [
  14305. "begindate",
  14306. "enddate",
  14307. "goodsid",
  14308. "mindeliveryqty",
  14309. "xdeliveryratio"
  14310. ],
  14311. "properties": {
  14312. "begindate": {
  14313. "description": "起始日期(yyyyMMdd)",
  14314. "type": "string"
  14315. },
  14316. "buytemplateid": {
  14317. "description": "买履约计划模板ID",
  14318. "type": "integer"
  14319. },
  14320. "deliverygoodscode": {
  14321. "description": "品种代码",
  14322. "type": "string"
  14323. },
  14324. "deliverygoodsid": {
  14325. "description": "交割商品",
  14326. "type": "integer"
  14327. },
  14328. "deliverygoodsname": {
  14329. "description": "品种名称",
  14330. "type": "string"
  14331. },
  14332. "deliverymode": {
  14333. "description": "交割方式 - 1:点选式 2:申报式",
  14334. "type": "integer"
  14335. },
  14336. "deliverypricerule": {
  14337. "description": "交割价规则- 1:行情价 2:建仓价",
  14338. "type": "integer"
  14339. },
  14340. "deliverytype": {
  14341. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  14342. "type": "integer"
  14343. },
  14344. "enddate": {
  14345. "description": "结束日期(yyyyMMdd)",
  14346. "type": "string"
  14347. },
  14348. "enumdicname": {
  14349. "description": "品类单位名称",
  14350. "type": "string"
  14351. },
  14352. "goodscode": {
  14353. "description": "商品代码",
  14354. "type": "string"
  14355. },
  14356. "goodsid": {
  14357. "description": "交易合约ID",
  14358. "type": "integer"
  14359. },
  14360. "goodsname": {
  14361. "description": "商品名称",
  14362. "type": "string"
  14363. },
  14364. "marketid": {
  14365. "description": "市场ID",
  14366. "type": "integer"
  14367. },
  14368. "mindeliveryqty": {
  14369. "description": "最小交割系数(K)",
  14370. "type": "integer"
  14371. },
  14372. "p2deliveryprice": {
  14373. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  14374. "type": "number"
  14375. },
  14376. "p2deliveryratio": {
  14377. "description": "P2合约系数(p)",
  14378. "type": "integer"
  14379. },
  14380. "p2goodsid": {
  14381. "description": "P2合约ID",
  14382. "type": "integer"
  14383. },
  14384. "p2pricemode": {
  14385. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  14386. "type": "integer"
  14387. },
  14388. "pdeliveryprice": {
  14389. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  14390. "type": "number"
  14391. },
  14392. "pdeliveryratio": {
  14393. "description": "P合约系数(n)",
  14394. "type": "integer"
  14395. },
  14396. "pgoodscode": {
  14397. "description": "p合约代码",
  14398. "type": "string"
  14399. },
  14400. "pgoodsid": {
  14401. "description": "P合约ID",
  14402. "type": "integer"
  14403. },
  14404. "ppricemode": {
  14405. "description": "P合约价格方式 - 1:商品价 2:固定值",
  14406. "type": "integer"
  14407. },
  14408. "rratio": {
  14409. "description": "兑换系数(R)",
  14410. "type": "integer"
  14411. },
  14412. "rratio1": {
  14413. "description": "兑换系数(交易合约)(R1)",
  14414. "type": "integer"
  14415. },
  14416. "rratio2": {
  14417. "description": "兑换系数(仓单标准)(R2)",
  14418. "type": "integer"
  14419. },
  14420. "selltemplateid": {
  14421. "description": "卖履约计划模板ID",
  14422. "type": "integer"
  14423. },
  14424. "wrstandardid": {
  14425. "description": "仓单标准ID",
  14426. "type": "integer"
  14427. },
  14428. "xdeliveryratio": {
  14429. "description": "交易合约系数(m)",
  14430. "type": "integer"
  14431. }
  14432. }
  14433. },
  14434. "ermcp.ExposureDetailRsp": {
  14435. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  14436. },
  14437. "ermcp.ExposureHedgePosDetailRsp": {
  14438. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  14439. },
  14440. "ermcp.ExposureHedgePositionRsp": {
  14441. "$ref": "#/definitions/models.ErmcpHedgePosition"
  14442. },
  14443. "ermcp.ExposureSpotDetailRsp": {
  14444. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  14445. },
  14446. "ermcp.ExposureSpotRsp": {
  14447. "$ref": "#/definitions/models.AreaSpotModel"
  14448. },
  14449. "ermcp.HisExposureRsp": {
  14450. "$ref": "#/definitions/models.ErmcpHisExposureS"
  14451. },
  14452. "ermcp.PendingAuditCntRsp": {
  14453. "$ref": "#/definitions/models.ErmcpPendingAudit"
  14454. },
  14455. "ermcp.QryAvalidGPRsp": {
  14456. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  14457. },
  14458. "ermcp.QryBusinessDjRsp": {
  14459. "type": "object",
  14460. "properties": {
  14461. "amount": {
  14462. "description": "点价金额=(点价价格+升贴水)*点价数量",
  14463. "type": "number"
  14464. },
  14465. "applyid": {
  14466. "description": "申请人",
  14467. "type": "string"
  14468. },
  14469. "applyname": {
  14470. "description": "申请人名称",
  14471. "type": "string"
  14472. },
  14473. "applystatus": {
  14474. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14475. "type": "integer"
  14476. },
  14477. "applytime": {
  14478. "description": "申请时间",
  14479. "type": "string"
  14480. },
  14481. "attachurl": {
  14482. "description": "附件",
  14483. "type": "string"
  14484. },
  14485. "auditid": {
  14486. "description": "审核人ID",
  14487. "type": "string"
  14488. },
  14489. "auditname": {
  14490. "description": "审核人名称",
  14491. "type": "string"
  14492. },
  14493. "audittime": {
  14494. "description": "审核时间",
  14495. "type": "string"
  14496. },
  14497. "buyusername": {
  14498. "description": "采购方名称",
  14499. "type": "string"
  14500. },
  14501. "contractno": {
  14502. "description": "合同编号",
  14503. "type": "string"
  14504. },
  14505. "contractstatus": {
  14506. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14507. "type": "integer"
  14508. },
  14509. "contracttype": {
  14510. "description": "现货合同类型 - 1:采购 -1:销售",
  14511. "type": "integer"
  14512. },
  14513. "deliverygoodscode": {
  14514. "description": "现货品种代码",
  14515. "type": "string"
  14516. },
  14517. "deliverygoodsid": {
  14518. "description": "现货商品ID",
  14519. "type": "integer"
  14520. },
  14521. "deliverygoodsname": {
  14522. "description": "现货品种名称",
  14523. "type": "string"
  14524. },
  14525. "enumdicname": {
  14526. "description": "单位名称",
  14527. "type": "string"
  14528. },
  14529. "goodscode": {
  14530. "description": "点价合约",
  14531. "type": "string"
  14532. },
  14533. "goodsname": {
  14534. "description": "商品名称",
  14535. "type": "string"
  14536. },
  14537. "operateapplyid": {
  14538. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14539. "type": "string"
  14540. },
  14541. "operateapplytype": {
  14542. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14543. "type": "integer"
  14544. },
  14545. "pricedPrice": {
  14546. "description": "点价价格(非必填)",
  14547. "type": "number"
  14548. },
  14549. "pricedQty": {
  14550. "description": "点价数量(非必填)",
  14551. "type": "number"
  14552. },
  14553. "pricemove": {
  14554. "description": "升贴水",
  14555. "type": "number"
  14556. },
  14557. "pricetype": {
  14558. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14559. "type": "integer"
  14560. },
  14561. "relatedid": {
  14562. "description": "现货合同ID",
  14563. "type": "string"
  14564. },
  14565. "sellusername": {
  14566. "description": "销售方名字",
  14567. "type": "string"
  14568. },
  14569. "userid": {
  14570. "description": "用户ID",
  14571. "type": "integer"
  14572. },
  14573. "wrstandardcode": {
  14574. "description": "品类代码",
  14575. "type": "string"
  14576. },
  14577. "wrstandardid": {
  14578. "description": "品类id",
  14579. "type": "integer"
  14580. },
  14581. "wrstandardname": {
  14582. "description": "品类名称",
  14583. "type": "string"
  14584. }
  14585. }
  14586. },
  14587. "ermcp.QryBussinessFpRsp": {
  14588. "type": "object",
  14589. "properties": {
  14590. "applyid": {
  14591. "description": "申请人",
  14592. "type": "string"
  14593. },
  14594. "applyname": {
  14595. "description": "申请人名称",
  14596. "type": "string"
  14597. },
  14598. "applystatus": {
  14599. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14600. "type": "integer"
  14601. },
  14602. "applytime": {
  14603. "description": "申请时间",
  14604. "type": "string"
  14605. },
  14606. "attachurl": {
  14607. "description": "附件",
  14608. "type": "string"
  14609. },
  14610. "auditid": {
  14611. "description": "审核人ID",
  14612. "type": "string"
  14613. },
  14614. "auditname": {
  14615. "description": "审核人名称",
  14616. "type": "string"
  14617. },
  14618. "audittime": {
  14619. "description": "审核时间",
  14620. "type": "string"
  14621. },
  14622. "buyusername": {
  14623. "description": "采购方名称",
  14624. "type": "string"
  14625. },
  14626. "contractno": {
  14627. "description": "合同编号",
  14628. "type": "string"
  14629. },
  14630. "contractstatus": {
  14631. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14632. "type": "integer"
  14633. },
  14634. "contracttype": {
  14635. "description": "现货合同类型 - 1:采购 -1:销售",
  14636. "type": "integer"
  14637. },
  14638. "deliverygoodscode": {
  14639. "description": "现货品种代码",
  14640. "type": "string"
  14641. },
  14642. "deliverygoodsid": {
  14643. "description": "现货商品ID",
  14644. "type": "integer"
  14645. },
  14646. "deliverygoodsname": {
  14647. "description": "现货品种名称",
  14648. "type": "string"
  14649. },
  14650. "enumdicname": {
  14651. "description": "单位名称",
  14652. "type": "string"
  14653. },
  14654. "goodscode": {
  14655. "description": "点价合约",
  14656. "type": "string"
  14657. },
  14658. "goodsname": {
  14659. "description": "商品名称",
  14660. "type": "string"
  14661. },
  14662. "invoiceAmount": {
  14663. "description": "已开收票金额(销售为开票,采购为收票)",
  14664. "type": "number"
  14665. },
  14666. "operateapplyid": {
  14667. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14668. "type": "string"
  14669. },
  14670. "operateapplytype": {
  14671. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14672. "type": "integer"
  14673. },
  14674. "pricemove": {
  14675. "description": "升贴水",
  14676. "type": "number"
  14677. },
  14678. "pricetype": {
  14679. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14680. "type": "integer"
  14681. },
  14682. "relatedid": {
  14683. "description": "现货合同ID",
  14684. "type": "string"
  14685. },
  14686. "sellusername": {
  14687. "description": "销售方名字",
  14688. "type": "string"
  14689. },
  14690. "userid": {
  14691. "description": "用户ID",
  14692. "type": "integer"
  14693. },
  14694. "wrstandardcode": {
  14695. "description": "品类代码",
  14696. "type": "string"
  14697. },
  14698. "wrstandardid": {
  14699. "description": "品类id",
  14700. "type": "integer"
  14701. },
  14702. "wrstandardname": {
  14703. "description": "品类名称",
  14704. "type": "string"
  14705. }
  14706. }
  14707. },
  14708. "ermcp.QryBussinessJsExRsp": {
  14709. "type": "object",
  14710. "properties": {
  14711. "applyid": {
  14712. "description": "申请人",
  14713. "type": "string"
  14714. },
  14715. "applyname": {
  14716. "description": "申请人名称",
  14717. "type": "string"
  14718. },
  14719. "applystatus": {
  14720. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14721. "type": "integer"
  14722. },
  14723. "applytime": {
  14724. "description": "申请时间",
  14725. "type": "string"
  14726. },
  14727. "attachurl": {
  14728. "description": "附件",
  14729. "type": "string"
  14730. },
  14731. "auditid": {
  14732. "description": "审核人ID",
  14733. "type": "string"
  14734. },
  14735. "auditname": {
  14736. "description": "审核人名称",
  14737. "type": "string"
  14738. },
  14739. "audittime": {
  14740. "description": "审核时间",
  14741. "type": "string"
  14742. },
  14743. "buyusername": {
  14744. "description": "采购方名称",
  14745. "type": "string"
  14746. },
  14747. "contractno": {
  14748. "description": "合同编号",
  14749. "type": "string"
  14750. },
  14751. "contractstatus": {
  14752. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14753. "type": "integer"
  14754. },
  14755. "contracttype": {
  14756. "description": "现货合同类型 - 1:采购 -1:销售",
  14757. "type": "integer"
  14758. },
  14759. "deliverygoodscode": {
  14760. "description": "现货品种代码",
  14761. "type": "string"
  14762. },
  14763. "deliverygoodsid": {
  14764. "description": "现货商品ID",
  14765. "type": "integer"
  14766. },
  14767. "deliverygoodsname": {
  14768. "description": "现货品种名称",
  14769. "type": "string"
  14770. },
  14771. "enumdicname": {
  14772. "description": "单位名称",
  14773. "type": "string"
  14774. },
  14775. "goodscode": {
  14776. "description": "点价合约",
  14777. "type": "string"
  14778. },
  14779. "goodsname": {
  14780. "description": "商品名称",
  14781. "type": "string"
  14782. },
  14783. "operateapplyid": {
  14784. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14785. "type": "string"
  14786. },
  14787. "operateapplytype": {
  14788. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14789. "type": "integer"
  14790. },
  14791. "pricemove": {
  14792. "description": "升贴水",
  14793. "type": "number"
  14794. },
  14795. "pricetype": {
  14796. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14797. "type": "integer"
  14798. },
  14799. "reckontype": {
  14800. "description": "结算类型",
  14801. "type": "string"
  14802. },
  14803. "reckonvalue": {
  14804. "description": "值",
  14805. "type": "number"
  14806. },
  14807. "relatedid": {
  14808. "description": "现货合同ID",
  14809. "type": "string"
  14810. },
  14811. "sellusername": {
  14812. "description": "销售方名字",
  14813. "type": "string"
  14814. },
  14815. "userid": {
  14816. "description": "用户ID",
  14817. "type": "integer"
  14818. },
  14819. "wrstandardcode": {
  14820. "description": "品类代码",
  14821. "type": "string"
  14822. },
  14823. "wrstandardid": {
  14824. "description": "品类id",
  14825. "type": "integer"
  14826. },
  14827. "wrstandardname": {
  14828. "description": "品类名称",
  14829. "type": "string"
  14830. }
  14831. }
  14832. },
  14833. "ermcp.QryBussinessJsRsp": {
  14834. "type": "object",
  14835. "properties": {
  14836. "addmargin": {
  14837. "description": "追加保证金(非必填)",
  14838. "type": "number"
  14839. },
  14840. "applyid": {
  14841. "description": "申请人",
  14842. "type": "string"
  14843. },
  14844. "applyname": {
  14845. "description": "申请人名称",
  14846. "type": "string"
  14847. },
  14848. "applystatus": {
  14849. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14850. "type": "integer"
  14851. },
  14852. "applytime": {
  14853. "description": "申请时间",
  14854. "type": "string"
  14855. },
  14856. "attachurl": {
  14857. "description": "附件",
  14858. "type": "string"
  14859. },
  14860. "auditid": {
  14861. "description": "审核人ID",
  14862. "type": "string"
  14863. },
  14864. "auditname": {
  14865. "description": "审核人名称",
  14866. "type": "string"
  14867. },
  14868. "audittime": {
  14869. "description": "审核时间",
  14870. "type": "string"
  14871. },
  14872. "buyusername": {
  14873. "description": "采购方名称",
  14874. "type": "string"
  14875. },
  14876. "contractno": {
  14877. "description": "合同编号",
  14878. "type": "string"
  14879. },
  14880. "contractstatus": {
  14881. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14882. "type": "integer"
  14883. },
  14884. "contracttype": {
  14885. "description": "现货合同类型 - 1:采购 -1:销售",
  14886. "type": "integer"
  14887. },
  14888. "decmargin": {
  14889. "description": "减少保证金(非必填)",
  14890. "type": "number"
  14891. },
  14892. "deliverygoodscode": {
  14893. "description": "现货品种代码",
  14894. "type": "string"
  14895. },
  14896. "deliverygoodsid": {
  14897. "description": "现货商品ID",
  14898. "type": "integer"
  14899. },
  14900. "deliverygoodsname": {
  14901. "description": "现货品种名称",
  14902. "type": "string"
  14903. },
  14904. "enumdicname": {
  14905. "description": "单位名称",
  14906. "type": "string"
  14907. },
  14908. "goodscode": {
  14909. "description": "点价合约",
  14910. "type": "string"
  14911. },
  14912. "goodsname": {
  14913. "description": "商品名称",
  14914. "type": "string"
  14915. },
  14916. "operateapplyid": {
  14917. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14918. "type": "string"
  14919. },
  14920. "operateapplytype": {
  14921. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14922. "type": "integer"
  14923. },
  14924. "pricemove": {
  14925. "description": "升贴水",
  14926. "type": "number"
  14927. },
  14928. "pricetype": {
  14929. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14930. "type": "integer"
  14931. },
  14932. "reckonadjustamount": {
  14933. "description": "结算调整金额(非必填)",
  14934. "type": "number"
  14935. },
  14936. "reckonosamount": {
  14937. "description": "结算溢短金额(非必填)",
  14938. "type": "number"
  14939. },
  14940. "reckonotheramount": {
  14941. "description": "结算其他费用(非必填)",
  14942. "type": "number"
  14943. },
  14944. "reckonrealqty": {
  14945. "description": "结算实际数量(非必填)",
  14946. "type": "number"
  14947. },
  14948. "relatedid": {
  14949. "description": "现货合同ID",
  14950. "type": "string"
  14951. },
  14952. "sellusername": {
  14953. "description": "销售方名字",
  14954. "type": "string"
  14955. },
  14956. "userid": {
  14957. "description": "用户ID",
  14958. "type": "integer"
  14959. },
  14960. "wrstandardcode": {
  14961. "description": "品类代码",
  14962. "type": "string"
  14963. },
  14964. "wrstandardid": {
  14965. "description": "品类id",
  14966. "type": "integer"
  14967. },
  14968. "wrstandardname": {
  14969. "description": "品类名称",
  14970. "type": "string"
  14971. }
  14972. }
  14973. },
  14974. "ermcp.QryBussinessKxRsp": {
  14975. "type": "object",
  14976. "properties": {
  14977. "applyid": {
  14978. "description": "申请人",
  14979. "type": "string"
  14980. },
  14981. "applyname": {
  14982. "description": "申请人名称",
  14983. "type": "string"
  14984. },
  14985. "applystatus": {
  14986. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14987. "type": "integer"
  14988. },
  14989. "applytime": {
  14990. "description": "申请时间",
  14991. "type": "string"
  14992. },
  14993. "attachurl": {
  14994. "description": "附件",
  14995. "type": "string"
  14996. },
  14997. "auditid": {
  14998. "description": "审核人ID",
  14999. "type": "string"
  15000. },
  15001. "auditname": {
  15002. "description": "审核人名称",
  15003. "type": "string"
  15004. },
  15005. "audittime": {
  15006. "description": "审核时间",
  15007. "type": "string"
  15008. },
  15009. "buyusername": {
  15010. "description": "采购方名称",
  15011. "type": "string"
  15012. },
  15013. "contractno": {
  15014. "description": "合同编号",
  15015. "type": "string"
  15016. },
  15017. "contractstatus": {
  15018. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15019. "type": "integer"
  15020. },
  15021. "contracttype": {
  15022. "description": "现货合同类型 - 1:采购 -1:销售",
  15023. "type": "integer"
  15024. },
  15025. "deductamount": {
  15026. "description": "退款(非必填)",
  15027. "type": "number"
  15028. },
  15029. "deliverygoodscode": {
  15030. "description": "现货品种代码",
  15031. "type": "string"
  15032. },
  15033. "deliverygoodsid": {
  15034. "description": "现货商品ID",
  15035. "type": "integer"
  15036. },
  15037. "deliverygoodsname": {
  15038. "description": "现货品种名称",
  15039. "type": "string"
  15040. },
  15041. "enumdicname": {
  15042. "description": "单位名称",
  15043. "type": "string"
  15044. },
  15045. "goodscode": {
  15046. "description": "点价合约",
  15047. "type": "string"
  15048. },
  15049. "goodsname": {
  15050. "description": "商品名称",
  15051. "type": "string"
  15052. },
  15053. "kxtype": {
  15054. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  15055. "type": "integer"
  15056. },
  15057. "operateapplyid": {
  15058. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15059. "type": "string"
  15060. },
  15061. "operateapplytype": {
  15062. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15063. "type": "integer"
  15064. },
  15065. "payamount": {
  15066. "description": "收付款(非必填)",
  15067. "type": "number"
  15068. },
  15069. "pricemove": {
  15070. "description": "升贴水",
  15071. "type": "number"
  15072. },
  15073. "pricetype": {
  15074. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15075. "type": "integer"
  15076. },
  15077. "relatedid": {
  15078. "description": "现货合同ID",
  15079. "type": "string"
  15080. },
  15081. "sellusername": {
  15082. "description": "销售方名字",
  15083. "type": "string"
  15084. },
  15085. "userid": {
  15086. "description": "用户ID",
  15087. "type": "integer"
  15088. },
  15089. "wrstandardcode": {
  15090. "description": "品类代码",
  15091. "type": "string"
  15092. },
  15093. "wrstandardid": {
  15094. "description": "品类id",
  15095. "type": "integer"
  15096. },
  15097. "wrstandardname": {
  15098. "description": "品类名称",
  15099. "type": "string"
  15100. }
  15101. }
  15102. },
  15103. "ermcp.QryGGCovertCfgRsp": {
  15104. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15105. },
  15106. "ermcp.QryMGChangeLogRsp": {
  15107. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  15108. },
  15109. "ermcp.QryMiddleGoodsDetailRsp": {
  15110. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  15111. },
  15112. "ermcp.QryMiddleGoodsRsp": {
  15113. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15114. },
  15115. "ermcp.QryOPLogRsp": {
  15116. "$ref": "#/definitions/models.ErmcpOPLogModel"
  15117. },
  15118. "ermcp.QryUserInfoRsp": {
  15119. "$ref": "#/definitions/models.ErmcpUserModel"
  15120. },
  15121. "ermcp.QryWarehouseRsp": {
  15122. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  15123. },
  15124. "ermcp.QueryErmcpTradePositionRsp": {
  15125. "type": "object",
  15126. "properties": {
  15127. "agreeunit": {
  15128. "description": "合约单位",
  15129. "type": "number"
  15130. },
  15131. "buyorsell": {
  15132. "description": "方向 - 0:买 1:卖",
  15133. "type": "integer"
  15134. },
  15135. "curpositionqty": {
  15136. "description": "持仓(总仓数量, 期末头寸)",
  15137. "type": "integer"
  15138. },
  15139. "curtdposition": {
  15140. "description": "今仓数量(期末今日头寸)",
  15141. "type": "integer"
  15142. },
  15143. "curtdpositionenabled": {
  15144. "description": "今仓可用",
  15145. "type": "integer"
  15146. },
  15147. "decimalplace": {
  15148. "description": "报价小数位",
  15149. "type": "integer"
  15150. },
  15151. "enableqty": {
  15152. "description": "可用(总仓可用)",
  15153. "type": "integer"
  15154. },
  15155. "exexchangename": {
  15156. "description": "外部交易所名称",
  15157. "type": "string"
  15158. },
  15159. "goodscode": {
  15160. "description": "商品代码(内部)",
  15161. "type": "string"
  15162. },
  15163. "goodsid": {
  15164. "description": "商品ID(自增ID SEQ_GOODS)",
  15165. "type": "integer"
  15166. },
  15167. "goodsname": {
  15168. "description": "商品名称",
  15169. "type": "string"
  15170. },
  15171. "last": {
  15172. "description": "现价",
  15173. "type": "number"
  15174. },
  15175. "marketid": {
  15176. "description": "所属市场ID",
  15177. "type": "integer"
  15178. },
  15179. "openaverageprice": {
  15180. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  15181. "type": "number"
  15182. },
  15183. "opencost": {
  15184. "description": "开仓成本",
  15185. "type": "number"
  15186. },
  15187. "openpl": {
  15188. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  15189. "type": "number"
  15190. },
  15191. "outgoodscode": {
  15192. "description": "商品代码(外部)",
  15193. "type": "string"
  15194. },
  15195. "positionaverageprice": {
  15196. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  15197. "type": "number"
  15198. },
  15199. "positioncost": {
  15200. "description": "持仓成本",
  15201. "type": "number"
  15202. },
  15203. "positionpl": {
  15204. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  15205. "type": "number"
  15206. },
  15207. "positionplrate": {
  15208. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  15209. "type": "number"
  15210. },
  15211. "usedmargin": {
  15212. "description": "占用保证金",
  15213. "type": "number"
  15214. }
  15215. }
  15216. },
  15217. "ermcp.RealtimeExposurePositionRsp": {
  15218. "$ref": "#/definitions/models.ErmcpExposurePostion"
  15219. },
  15220. "ermcp.RealtimeExposureRsp": {
  15221. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  15222. },
  15223. "erms2.QueryArbitrageStrategyRsp": {
  15224. "type": "object",
  15225. "required": [
  15226. "asapplyid"
  15227. ],
  15228. "properties": {
  15229. "applybasis": {
  15230. "description": "申请基差",
  15231. "type": "number"
  15232. },
  15233. "asapplyid": {
  15234. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  15235. "type": "string"
  15236. },
  15237. "asname": {
  15238. "description": "策略名称",
  15239. "type": "string"
  15240. },
  15241. "asno": {
  15242. "description": "策略编号",
  15243. "type": "string"
  15244. },
  15245. "basischangepl": {
  15246. "description": "基差变动损益[结算更新]",
  15247. "type": "number"
  15248. },
  15249. "biztype": {
  15250. "description": "业务类型 - 1:正向套利 -1:反向套利",
  15251. "type": "integer"
  15252. },
  15253. "closetradedate": {
  15254. "description": "完结交易日(yyyyMMdd)",
  15255. "type": "string"
  15256. },
  15257. "curbasis": {
  15258. "description": "当前基差[结算更新]",
  15259. "type": "number"
  15260. },
  15261. "deliverygoodsid": {
  15262. "description": "现货品种ID",
  15263. "type": "integer"
  15264. },
  15265. "futureavgprice": {
  15266. "description": "期货建仓均价",
  15267. "type": "number"
  15268. },
  15269. "futurecloseamount": {
  15270. "description": "期货平仓金额",
  15271. "type": "number"
  15272. },
  15273. "futurecloseqty": {
  15274. "description": "期货平仓数量",
  15275. "type": "number"
  15276. },
  15277. "futureopenamount": {
  15278. "description": "期货开仓金额",
  15279. "type": "number"
  15280. },
  15281. "futureopenqty": {
  15282. "description": "期货开仓数量",
  15283. "type": "number"
  15284. },
  15285. "futurepl": {
  15286. "description": "期货总盈亏[结算更新]",
  15287. "type": "number"
  15288. },
  15289. "futureqty": {
  15290. "description": "期货持仓数量",
  15291. "type": "number"
  15292. },
  15293. "futurequote": {
  15294. "description": "期货额度",
  15295. "type": "number"
  15296. },
  15297. "goodsgroupid": {
  15298. "description": "期货品种ID",
  15299. "type": "integer"
  15300. },
  15301. "marketid": {
  15302. "description": "市场ID",
  15303. "type": "integer"
  15304. },
  15305. "netexposure": {
  15306. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  15307. "type": "number"
  15308. },
  15309. "netexposurepl": {
  15310. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  15311. "type": "number"
  15312. },
  15313. "netexposurerate": {
  15314. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  15315. "type": "number"
  15316. },
  15317. "openbasis": {
  15318. "description": "建仓基差",
  15319. "type": "number"
  15320. },
  15321. "pricedspotqty": {
  15322. "description": "已定价现货数量",
  15323. "type": "number"
  15324. },
  15325. "pricedspotqtynotax": {
  15326. "description": "已定价现货不含税数量",
  15327. "type": "number"
  15328. },
  15329. "remark": {
  15330. "description": "备注",
  15331. "type": "string"
  15332. },
  15333. "spotavgprice": {
  15334. "description": "现货均价",
  15335. "type": "number"
  15336. },
  15337. "spotbuyamount": {
  15338. "description": "现货采购金额",
  15339. "type": "number"
  15340. },
  15341. "spotbuyqty": {
  15342. "description": "现货采购数量",
  15343. "type": "number"
  15344. },
  15345. "spotpl": {
  15346. "description": "现货总盈亏[结算更新]",
  15347. "type": "number"
  15348. },
  15349. "spotquota": {
  15350. "description": "现货额度",
  15351. "type": "number"
  15352. },
  15353. "spotsellamount": {
  15354. "description": "现货销售金额",
  15355. "type": "number"
  15356. },
  15357. "spotsellqty": {
  15358. "description": "现货销售数量",
  15359. "type": "number"
  15360. },
  15361. "spotusedquota": {
  15362. "description": "现货占用资金",
  15363. "type": "number"
  15364. },
  15365. "strategystatus": {
  15366. "description": "策略状态 - 0:未结束 1:已结束",
  15367. "type": "integer"
  15368. },
  15369. "totalpl": {
  15370. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  15371. "type": "number"
  15372. },
  15373. "tradedate": {
  15374. "description": "交易日(yyyyMMdd)",
  15375. "type": "string"
  15376. },
  15377. "updatetime": {
  15378. "description": "更新时间",
  15379. "type": "string"
  15380. },
  15381. "usedquota": {
  15382. "description": "已占用资金",
  15383. "type": "number"
  15384. },
  15385. "userid": {
  15386. "description": "所属机构",
  15387. "type": "integer"
  15388. }
  15389. }
  15390. },
  15391. "erms2.QueryInnerTradeDetailRsp": {
  15392. "type": "object",
  15393. "required": [
  15394. "asapplyid",
  15395. "buyorsell",
  15396. "goodscode",
  15397. "goodsgroupid",
  15398. "goodsgroupname",
  15399. "goodsname",
  15400. "tradeid"
  15401. ],
  15402. "properties": {
  15403. "accountid": {
  15404. "description": "账号ID",
  15405. "type": "integer"
  15406. },
  15407. "agreeunit": {
  15408. "description": "合约单位",
  15409. "type": "number"
  15410. },
  15411. "asapplyid": {
  15412. "description": "策略申请ID",
  15413. "type": "integer"
  15414. },
  15415. "asname": {
  15416. "description": "策略名称",
  15417. "type": "string"
  15418. },
  15419. "asno": {
  15420. "description": "策略编号",
  15421. "type": "string"
  15422. },
  15423. "buyorsell": {
  15424. "description": "方向 - 0:买 1:卖",
  15425. "type": "integer"
  15426. },
  15427. "channelbuildtype": {
  15428. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  15429. "type": "integer"
  15430. },
  15431. "closetype": {
  15432. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15433. "type": "integer"
  15434. },
  15435. "decimalplace": {
  15436. "description": "报价小数位",
  15437. "type": "integer"
  15438. },
  15439. "detailtype": {
  15440. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  15441. "type": "integer"
  15442. },
  15443. "exexchangecode": {
  15444. "description": "外部交易所代码",
  15445. "type": "string"
  15446. },
  15447. "exexchangename": {
  15448. "description": "外部交易所名称",
  15449. "type": "string"
  15450. },
  15451. "goodscode": {
  15452. "description": "商品代码(合约)",
  15453. "type": "string"
  15454. },
  15455. "goodsgroupid": {
  15456. "description": "商品组ID(品种ID)",
  15457. "type": "integer"
  15458. },
  15459. "goodsgroupname": {
  15460. "description": "商品组名称(品种)",
  15461. "type": "string"
  15462. },
  15463. "goodsid": {
  15464. "description": "商品ID",
  15465. "type": "integer"
  15466. },
  15467. "goodsname": {
  15468. "description": "商品名称(合约)",
  15469. "type": "string"
  15470. },
  15471. "goodunit": {
  15472. "description": "报价单位",
  15473. "type": "string"
  15474. },
  15475. "marketid": {
  15476. "description": "市场ID",
  15477. "type": "integer"
  15478. },
  15479. "orderid": {
  15480. "description": "委托单号",
  15481. "type": "string"
  15482. },
  15483. "outgoodscode": {
  15484. "description": "商品代码(外部)",
  15485. "type": "string"
  15486. },
  15487. "relatedouttradeid": {
  15488. "description": "关联外部成交单ID",
  15489. "type": "string"
  15490. },
  15491. "remark": {
  15492. "description": "备注",
  15493. "type": "string"
  15494. },
  15495. "spotcontractid": {
  15496. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  15497. "type": "integer"
  15498. },
  15499. "spotcontractno": {
  15500. "description": "现货合同编号",
  15501. "type": "string"
  15502. },
  15503. "tradeid": {
  15504. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15505. "type": "string"
  15506. },
  15507. "tradeprice": {
  15508. "description": "成交价格",
  15509. "type": "number"
  15510. },
  15511. "tradeqty": {
  15512. "description": "成交数量",
  15513. "type": "integer"
  15514. },
  15515. "tradetime": {
  15516. "description": "成交时间",
  15517. "type": "string"
  15518. },
  15519. "updatetime": {
  15520. "description": "更新时间",
  15521. "type": "string"
  15522. }
  15523. }
  15524. },
  15525. "erms2.QuerySpotContractRsp": {
  15526. "type": "object",
  15527. "required": [
  15528. "spotcontractid"
  15529. ],
  15530. "properties": {
  15531. "accountid": {
  15532. "description": "资金账户ID",
  15533. "type": "integer"
  15534. },
  15535. "areauserid": {
  15536. "description": "所属机构",
  15537. "type": "integer"
  15538. },
  15539. "closedate": {
  15540. "description": "终止日期",
  15541. "type": "string"
  15542. },
  15543. "closeremark": {
  15544. "description": "结束备注",
  15545. "type": "string"
  15546. },
  15547. "closetradedate": {
  15548. "description": "完结交易日(yyyyMMdd)",
  15549. "type": "string"
  15550. },
  15551. "closetype": {
  15552. "description": "终止类型 - 1:违约 2:提前终止",
  15553. "type": "integer"
  15554. },
  15555. "contractamount": {
  15556. "description": "合同金额",
  15557. "type": "number"
  15558. },
  15559. "contractattachment": {
  15560. "description": "合同附件",
  15561. "type": "string"
  15562. },
  15563. "contractno": {
  15564. "description": "现货合同编号",
  15565. "type": "string"
  15566. },
  15567. "contractqty": {
  15568. "description": "合同数量(数值) (用于计算)",
  15569. "type": "number"
  15570. },
  15571. "contractqtychar": {
  15572. "description": "合同数量\\已订价数量 (用于显示)",
  15573. "type": "string"
  15574. },
  15575. "contractstatus": {
  15576. "description": "合同状态 - 0:未结束 1:已结束",
  15577. "type": "integer"
  15578. },
  15579. "contracttype": {
  15580. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  15581. "type": "integer"
  15582. },
  15583. "customeraccountid": {
  15584. "description": "客户资金账户ID",
  15585. "type": "integer"
  15586. },
  15587. "customeruserid": {
  15588. "description": "客户ID",
  15589. "type": "integer"
  15590. },
  15591. "deliverygoodsdesc": {
  15592. "description": "品种说明",
  15593. "type": "string"
  15594. },
  15595. "deliverygoodsid": {
  15596. "description": "现货品种ID",
  15597. "type": "integer"
  15598. },
  15599. "handlestatus": {
  15600. "description": "处理状态",
  15601. "type": "integer"
  15602. },
  15603. "invoiceatt": {
  15604. "description": "发票附件",
  15605. "type": "string"
  15606. },
  15607. "invoicedatetime": {
  15608. "description": "开收票更新时间",
  15609. "type": "string"
  15610. },
  15611. "invoiceopentime": {
  15612. "description": "开票时间",
  15613. "type": "string"
  15614. },
  15615. "invoiceremark": {
  15616. "description": "发票备注",
  15617. "type": "string"
  15618. },
  15619. "invoicestatus": {
  15620. "description": "开收票状态 - 0:未开票 1:已开票",
  15621. "type": "integer"
  15622. },
  15623. "lastdate": {
  15624. "description": "交货时间",
  15625. "type": "string"
  15626. },
  15627. "marketid": {
  15628. "description": "市场ID",
  15629. "type": "integer"
  15630. },
  15631. "paydatetime": {
  15632. "description": "收付款更新时间",
  15633. "type": "string"
  15634. },
  15635. "payremark": {
  15636. "description": "收付款备注",
  15637. "type": "string"
  15638. },
  15639. "paystatus": {
  15640. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  15641. "type": "integer"
  15642. },
  15643. "positionqty": {
  15644. "description": "头寸数量 - 合同数量去小数部分",
  15645. "type": "integer"
  15646. },
  15647. "producttype": {
  15648. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15649. "type": "integer"
  15650. },
  15651. "relatedqty": {
  15652. "description": "已关联数量",
  15653. "type": "number"
  15654. },
  15655. "relatedstatus": {
  15656. "description": "关联完结状态 - 0:未结束 1:已结束",
  15657. "type": "integer"
  15658. },
  15659. "remark": {
  15660. "description": "备注",
  15661. "type": "string"
  15662. },
  15663. "signdate": {
  15664. "description": "签订日期",
  15665. "type": "string"
  15666. },
  15667. "spotcontractid": {
  15668. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  15669. "type": "string"
  15670. },
  15671. "spotdatetime": {
  15672. "description": "收发货更新时间",
  15673. "type": "string"
  15674. },
  15675. "spotprice": {
  15676. "description": "价格",
  15677. "type": "number"
  15678. },
  15679. "spotremark": {
  15680. "description": "收发货备注",
  15681. "type": "string"
  15682. },
  15683. "spotstatus": {
  15684. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  15685. "type": "integer"
  15686. },
  15687. "tradedate": {
  15688. "description": "交易日(yyyyMMdd)",
  15689. "type": "string"
  15690. },
  15691. "userid": {
  15692. "description": "业务员用户ID",
  15693. "type": "integer"
  15694. },
  15695. "warehouseid": {
  15696. "description": "仓库ID",
  15697. "type": "integer"
  15698. },
  15699. "wrfactortypeid": {
  15700. "description": "仓单要素类型ID",
  15701. "type": "integer"
  15702. },
  15703. "wrstandardid": {
  15704. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15705. "type": "integer"
  15706. }
  15707. }
  15708. },
  15709. "erms3.AddErms2ASApplyReq": {
  15710. "type": "object",
  15711. "required": [
  15712. "asapplyid"
  15713. ],
  15714. "properties": {
  15715. "applybasis": {
  15716. "description": "申请基差",
  15717. "type": "number"
  15718. },
  15719. "applystatus": {
  15720. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15721. "type": "integer"
  15722. },
  15723. "asapplyid": {
  15724. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  15725. "type": "integer"
  15726. },
  15727. "asname": {
  15728. "description": "策略名称",
  15729. "type": "string"
  15730. },
  15731. "asno": {
  15732. "description": "策略编号",
  15733. "type": "string"
  15734. },
  15735. "auditid": {
  15736. "description": "审核人",
  15737. "type": "integer"
  15738. },
  15739. "auditremark": {
  15740. "description": "审核备注",
  15741. "type": "string"
  15742. },
  15743. "audittime": {
  15744. "description": "审核时间",
  15745. "type": "string"
  15746. },
  15747. "biztype": {
  15748. "description": "业务类型 - 1:正向套利 2:反向套利",
  15749. "type": "integer"
  15750. },
  15751. "createtime": {
  15752. "description": "创建时间",
  15753. "type": "string"
  15754. },
  15755. "creatorid": {
  15756. "description": "创建人",
  15757. "type": "integer"
  15758. },
  15759. "deliverygoodsid": {
  15760. "description": "现货品种ID",
  15761. "type": "integer"
  15762. },
  15763. "futurequote": {
  15764. "description": "期货额度",
  15765. "type": "number"
  15766. },
  15767. "goodsgroupid": {
  15768. "description": "期货品种ID",
  15769. "type": "integer"
  15770. },
  15771. "marketid": {
  15772. "description": "市场ID",
  15773. "type": "integer"
  15774. },
  15775. "remark": {
  15776. "description": "备注",
  15777. "type": "string"
  15778. },
  15779. "spotquota": {
  15780. "description": "现货额度",
  15781. "type": "number"
  15782. },
  15783. "tradedate": {
  15784. "description": "交易日(yyyyMMdd)",
  15785. "type": "string"
  15786. },
  15787. "userid": {
  15788. "description": "所属机构",
  15789. "type": "integer"
  15790. }
  15791. }
  15792. },
  15793. "erms3.AddErms2SpotTradeApplyReq": {
  15794. "type": "object",
  15795. "required": [
  15796. "spottradeid"
  15797. ],
  15798. "properties": {
  15799. "applyjsondetail": {
  15800. "description": "申请明细(JSON)",
  15801. "type": "string"
  15802. },
  15803. "applystatus": {
  15804. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15805. "type": "integer"
  15806. },
  15807. "areauserid": {
  15808. "description": "所属机构",
  15809. "type": "integer"
  15810. },
  15811. "auditid": {
  15812. "description": "审核人",
  15813. "type": "integer"
  15814. },
  15815. "auditremark": {
  15816. "description": "审核备注",
  15817. "type": "string"
  15818. },
  15819. "audittime": {
  15820. "description": "审核时间",
  15821. "type": "string"
  15822. },
  15823. "createtime": {
  15824. "description": "创建时间",
  15825. "type": "string"
  15826. },
  15827. "creatorid": {
  15828. "description": "创建人",
  15829. "type": "integer"
  15830. },
  15831. "deliverygoodsid": {
  15832. "description": "现货品种ID",
  15833. "type": "integer"
  15834. },
  15835. "futureaccountid": {
  15836. "description": "期货资金账户",
  15837. "type": "integer"
  15838. },
  15839. "goodsgroupid": {
  15840. "description": "期货品种",
  15841. "type": "integer"
  15842. },
  15843. "marketid": {
  15844. "description": "市场ID",
  15845. "type": "integer"
  15846. },
  15847. "remark": {
  15848. "description": "备注",
  15849. "type": "string"
  15850. },
  15851. "spotaccountid": {
  15852. "description": "现货资金账户",
  15853. "type": "integer"
  15854. },
  15855. "spottradeid": {
  15856. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  15857. "type": "integer"
  15858. },
  15859. "spottradename": {
  15860. "description": "业务名称",
  15861. "type": "string"
  15862. },
  15863. "spottradeno": {
  15864. "description": "业务编号",
  15865. "type": "string"
  15866. },
  15867. "tradedate": {
  15868. "description": "交易日(yyyyMMdd)",
  15869. "type": "string"
  15870. },
  15871. "wrstandardid": {
  15872. "description": "仓单标准ID",
  15873. "type": "integer"
  15874. }
  15875. }
  15876. },
  15877. "erms3.AddSpotContractApplyReq": {
  15878. "type": "object",
  15879. "required": [
  15880. "accountid",
  15881. "areauserid",
  15882. "contractno",
  15883. "contracttype",
  15884. "customeraccountid",
  15885. "customeruserid",
  15886. "details",
  15887. "orimargin",
  15888. "signdate"
  15889. ],
  15890. "properties": {
  15891. "accountid": {
  15892. "description": "资金账户ID",
  15893. "type": "integer"
  15894. },
  15895. "areauserid": {
  15896. "description": "所属机构",
  15897. "type": "integer"
  15898. },
  15899. "contractattachment": {
  15900. "description": "合同附件",
  15901. "type": "string"
  15902. },
  15903. "contractno": {
  15904. "description": "现货合同编号",
  15905. "type": "string"
  15906. },
  15907. "contracttype": {
  15908. "description": "现货合同类型 - 1:采购 -1:销售",
  15909. "type": "integer"
  15910. },
  15911. "creatorid": {
  15912. "description": "申请人",
  15913. "type": "integer"
  15914. },
  15915. "customeraccountid": {
  15916. "description": "客户资金账户ID",
  15917. "type": "integer"
  15918. },
  15919. "customeruserid": {
  15920. "description": "客户ID",
  15921. "type": "integer"
  15922. },
  15923. "details": {
  15924. "description": "明细",
  15925. "type": "array",
  15926. "items": {
  15927. "$ref": "#/definitions/erms3.SoptContractDetail"
  15928. }
  15929. },
  15930. "orimargin": {
  15931. "description": "初始保证金",
  15932. "type": "number"
  15933. },
  15934. "remark": {
  15935. "description": "备注",
  15936. "type": "string"
  15937. },
  15938. "signdate": {
  15939. "description": "签订日期",
  15940. "type": "string"
  15941. }
  15942. }
  15943. },
  15944. "erms3.AddSpotContractApplyRsp": {
  15945. "type": "object",
  15946. "required": [
  15947. "contractno"
  15948. ],
  15949. "properties": {
  15950. "contractno": {
  15951. "description": "现货合同编号",
  15952. "type": "string"
  15953. },
  15954. "spotcontractid": {
  15955. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  15956. "type": "integer"
  15957. }
  15958. }
  15959. },
  15960. "erms3.AddUserInfoApplyReq": {
  15961. "type": "object",
  15962. "required": [
  15963. "userid"
  15964. ],
  15965. "properties": {
  15966. "accountid": {
  15967. "description": "交易系统帐号Id (加密存储)",
  15968. "type": "integer"
  15969. },
  15970. "areacode": {
  15971. "description": "机构代码",
  15972. "type": "string"
  15973. },
  15974. "areaid": {
  15975. "description": "机构Id",
  15976. "type": "integer"
  15977. },
  15978. "attachment1": {
  15979. "description": "附件1",
  15980. "type": "string"
  15981. },
  15982. "attachment2": {
  15983. "description": "附件2",
  15984. "type": "string"
  15985. },
  15986. "attachment3": {
  15987. "description": "附件3",
  15988. "type": "string"
  15989. },
  15990. "attachment4": {
  15991. "description": "附件4",
  15992. "type": "string"
  15993. },
  15994. "attachment5": {
  15995. "description": "附件5",
  15996. "type": "string"
  15997. },
  15998. "auditedby": {
  15999. "description": "审核人",
  16000. "type": "string"
  16001. },
  16002. "auditime": {
  16003. "description": "审核时间",
  16004. "type": "string"
  16005. },
  16006. "auditsrc": {
  16007. "description": "审核来源 - 1:管理端 2:终端",
  16008. "type": "integer"
  16009. },
  16010. "bankaccount": {
  16011. "description": "银行帐号 (加密存储)",
  16012. "type": "string"
  16013. },
  16014. "bankaccountname": {
  16015. "description": "收款人名称",
  16016. "type": "string"
  16017. },
  16018. "bankcardbackphotourl": {
  16019. "description": "银行卡背面照地址",
  16020. "type": "string"
  16021. },
  16022. "bankcardfrontphotourl": {
  16023. "description": "银行卡正面照地址",
  16024. "type": "string"
  16025. },
  16026. "bankid": {
  16027. "description": "银行编码",
  16028. "type": "string"
  16029. },
  16030. "bankname": {
  16031. "description": "银行名称",
  16032. "type": "string"
  16033. },
  16034. "bankpictureurl": {
  16035. "description": "银行卡正面地址",
  16036. "type": "string"
  16037. },
  16038. "biznature": {
  16039. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16040. "type": "integer"
  16041. },
  16042. "bizscope": {
  16043. "description": "企业经营范围(企业)",
  16044. "type": "string"
  16045. },
  16046. "biztype": {
  16047. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  16048. "type": "integer"
  16049. },
  16050. "brokerid": {
  16051. "description": "经纪人ID(加密存储)",
  16052. "type": "string"
  16053. },
  16054. "cardaddress": {
  16055. "description": "证件地址 (加密存储)",
  16056. "type": "string"
  16057. },
  16058. "cardbackphotourl": {
  16059. "description": "背面证件照地址",
  16060. "type": "string"
  16061. },
  16062. "cardfrontphotourl": {
  16063. "description": "正面证件照地址",
  16064. "type": "string"
  16065. },
  16066. "cardnum": {
  16067. "description": "证件号码 (加密存储)",
  16068. "type": "string"
  16069. },
  16070. "cardtype": {
  16071. "description": "证件类型",
  16072. "type": "integer"
  16073. },
  16074. "cityid": {
  16075. "description": "市",
  16076. "type": "integer"
  16077. },
  16078. "company": {
  16079. "description": "公司(个人)",
  16080. "type": "string"
  16081. },
  16082. "contactcardbackphotourl": {
  16083. "description": "联系人证件背面图片地址",
  16084. "type": "string"
  16085. },
  16086. "contactcardfrontphotourl": {
  16087. "description": "联系人证件正面图片地址",
  16088. "type": "string"
  16089. },
  16090. "contactname": {
  16091. "description": "联系人",
  16092. "type": "string"
  16093. },
  16094. "countryid": {
  16095. "description": "国家",
  16096. "type": "integer"
  16097. },
  16098. "createtime": {
  16099. "description": "开户申请时间",
  16100. "type": "string"
  16101. },
  16102. "cusbankid": {
  16103. "description": "签约类型",
  16104. "type": "string"
  16105. },
  16106. "cusbankname": {
  16107. "description": "签约类型名称",
  16108. "type": "string"
  16109. },
  16110. "customername": {
  16111. "description": "客户名称(企业名称)",
  16112. "type": "string"
  16113. },
  16114. "districtid": {
  16115. "description": "地区",
  16116. "type": "integer"
  16117. },
  16118. "email": {
  16119. "description": "Email地址(加密存储)",
  16120. "type": "string"
  16121. },
  16122. "halfbodyphotourl": {
  16123. "description": "半身照地址",
  16124. "type": "string"
  16125. },
  16126. "headurl": {
  16127. "description": "头像地址",
  16128. "type": "string"
  16129. },
  16130. "ipaddress": {
  16131. "description": "IP地址",
  16132. "type": "string"
  16133. },
  16134. "isvalidate": {
  16135. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  16136. "type": "string"
  16137. },
  16138. "legalcardbackphotourl": {
  16139. "description": "法人身份证背面照地址",
  16140. "type": "string"
  16141. },
  16142. "legalcardfrontphotourl": {
  16143. "description": "法人身份证正面照地址",
  16144. "type": "string"
  16145. },
  16146. "legalpersonname": {
  16147. "description": "法人姓名(企业)",
  16148. "type": "string"
  16149. },
  16150. "logincode": {
  16151. "description": "登录帐号 (加密存储)",
  16152. "type": "string"
  16153. },
  16154. "memberareaid": {
  16155. "description": "所属会员ID",
  16156. "type": "integer"
  16157. },
  16158. "mobile2": {
  16159. "description": "手机号码[明文-尚志]",
  16160. "type": "string"
  16161. },
  16162. "mobilephone": {
  16163. "description": "手机号码 (加密存储)",
  16164. "type": "string"
  16165. },
  16166. "modifiedby": {
  16167. "description": "修改人帐号",
  16168. "type": "integer"
  16169. },
  16170. "modifiedtime": {
  16171. "description": "修改时间",
  16172. "type": "string"
  16173. },
  16174. "nickname": {
  16175. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  16176. "type": "string"
  16177. },
  16178. "openmode": {
  16179. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  16180. "type": "integer"
  16181. },
  16182. "otherurl": {
  16183. "description": "其它图片地址[使用分号分隔]",
  16184. "type": "string"
  16185. },
  16186. "postalcode": {
  16187. "description": "邮政编码",
  16188. "type": "string"
  16189. },
  16190. "provinceid": {
  16191. "description": "省",
  16192. "type": "integer"
  16193. },
  16194. "proxystatementurl": {
  16195. "description": "授权委托书",
  16196. "type": "string"
  16197. },
  16198. "qq": {
  16199. "description": "QQ(加密存储",
  16200. "type": "string"
  16201. },
  16202. "referral": {
  16203. "description": "推荐人编码",
  16204. "type": "string"
  16205. },
  16206. "remark": {
  16207. "description": "备注",
  16208. "type": "string"
  16209. },
  16210. "removebeforestatus": {
  16211. "description": "REMOVEBEFORESTATUS",
  16212. "type": "integer"
  16213. },
  16214. "sex": {
  16215. "description": "性别 - 0:女 1:男",
  16216. "type": "integer"
  16217. },
  16218. "signedstatus": {
  16219. "description": "账户一号签签约状态",
  16220. "type": "integer"
  16221. },
  16222. "signpdfurl": {
  16223. "description": "签约pdf文件",
  16224. "type": "string"
  16225. },
  16226. "subbranch": {
  16227. "description": "开户支行",
  16228. "type": "string"
  16229. },
  16230. "taxpayernum": {
  16231. "description": "纳税人识别号",
  16232. "type": "string"
  16233. },
  16234. "telphone": {
  16235. "description": "联系电话(加密存储)",
  16236. "type": "string"
  16237. },
  16238. "userid": {
  16239. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  16240. "type": "integer"
  16241. },
  16242. "userinfotype": {
  16243. "description": "用户信息类型 - 1:个人 2:企业",
  16244. "type": "integer"
  16245. },
  16246. "username": {
  16247. "description": "用户姓名",
  16248. "type": "string"
  16249. },
  16250. "userstate": {
  16251. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16252. "type": "integer"
  16253. },
  16254. "usertype": {
  16255. "description": "用户类型 - 1:投资者 2:机构",
  16256. "type": "integer"
  16257. },
  16258. "videourl": {
  16259. "description": "视频地址",
  16260. "type": "string"
  16261. },
  16262. "wechat": {
  16263. "description": "微信号 (加密存储)",
  16264. "type": "string"
  16265. }
  16266. }
  16267. },
  16268. "erms3.CustomerInfo": {
  16269. "type": "object",
  16270. "required": [
  16271. "userid"
  16272. ],
  16273. "properties": {
  16274. "accountids": {
  16275. "description": "资金账户ID列表",
  16276. "type": "array",
  16277. "items": {
  16278. "type": "integer"
  16279. }
  16280. },
  16281. "customername": {
  16282. "description": "名称(企业名称)",
  16283. "type": "string"
  16284. },
  16285. "mobile": {
  16286. "description": "手机号码",
  16287. "type": "string"
  16288. },
  16289. "userid": {
  16290. "description": "用户ID",
  16291. "type": "integer"
  16292. }
  16293. }
  16294. },
  16295. "erms3.ModifyUserInfoApplyReq": {
  16296. "type": "object",
  16297. "required": [
  16298. "userid"
  16299. ],
  16300. "properties": {
  16301. "accountid": {
  16302. "description": "交易系统帐号Id (加密存储)",
  16303. "type": "integer"
  16304. },
  16305. "areacode": {
  16306. "description": "机构代码",
  16307. "type": "string"
  16308. },
  16309. "areaid": {
  16310. "description": "机构Id",
  16311. "type": "integer"
  16312. },
  16313. "attachment1": {
  16314. "description": "附件1",
  16315. "type": "string"
  16316. },
  16317. "attachment2": {
  16318. "description": "附件2",
  16319. "type": "string"
  16320. },
  16321. "attachment3": {
  16322. "description": "附件3",
  16323. "type": "string"
  16324. },
  16325. "attachment4": {
  16326. "description": "附件4",
  16327. "type": "string"
  16328. },
  16329. "attachment5": {
  16330. "description": "附件5",
  16331. "type": "string"
  16332. },
  16333. "auditedby": {
  16334. "description": "审核人",
  16335. "type": "string"
  16336. },
  16337. "auditime": {
  16338. "description": "审核时间",
  16339. "type": "string"
  16340. },
  16341. "auditsrc": {
  16342. "description": "审核来源 - 1:管理端 2:终端",
  16343. "type": "integer"
  16344. },
  16345. "bankaccount": {
  16346. "description": "银行帐号 (加密存储)",
  16347. "type": "string"
  16348. },
  16349. "bankaccountname": {
  16350. "description": "收款人名称",
  16351. "type": "string"
  16352. },
  16353. "bankcardbackphotourl": {
  16354. "description": "银行卡背面照地址",
  16355. "type": "string"
  16356. },
  16357. "bankcardfrontphotourl": {
  16358. "description": "银行卡正面照地址",
  16359. "type": "string"
  16360. },
  16361. "bankid": {
  16362. "description": "银行编码",
  16363. "type": "string"
  16364. },
  16365. "bankname": {
  16366. "description": "银行名称",
  16367. "type": "string"
  16368. },
  16369. "bankpictureurl": {
  16370. "description": "银行卡正面地址",
  16371. "type": "string"
  16372. },
  16373. "biznature": {
  16374. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16375. "type": "integer"
  16376. },
  16377. "bizscope": {
  16378. "description": "企业经营范围(企业)",
  16379. "type": "string"
  16380. },
  16381. "biztype": {
  16382. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  16383. "type": "integer"
  16384. },
  16385. "brokerid": {
  16386. "description": "经纪人ID(加密存储)",
  16387. "type": "string"
  16388. },
  16389. "cardaddress": {
  16390. "description": "证件地址 (加密存储)",
  16391. "type": "string"
  16392. },
  16393. "cardbackphotourl": {
  16394. "description": "背面证件照地址",
  16395. "type": "string"
  16396. },
  16397. "cardfrontphotourl": {
  16398. "description": "正面证件照地址",
  16399. "type": "string"
  16400. },
  16401. "cardnum": {
  16402. "description": "证件号码 (加密存储)",
  16403. "type": "string"
  16404. },
  16405. "cardtype": {
  16406. "description": "证件类型",
  16407. "type": "integer"
  16408. },
  16409. "cityid": {
  16410. "description": "市",
  16411. "type": "integer"
  16412. },
  16413. "company": {
  16414. "description": "公司(个人)",
  16415. "type": "string"
  16416. },
  16417. "contactcardbackphotourl": {
  16418. "description": "联系人证件背面图片地址",
  16419. "type": "string"
  16420. },
  16421. "contactcardfrontphotourl": {
  16422. "description": "联系人证件正面图片地址",
  16423. "type": "string"
  16424. },
  16425. "contactname": {
  16426. "description": "联系人",
  16427. "type": "string"
  16428. },
  16429. "countryid": {
  16430. "description": "国家",
  16431. "type": "integer"
  16432. },
  16433. "createtime": {
  16434. "description": "开户申请时间",
  16435. "type": "string"
  16436. },
  16437. "cusbankid": {
  16438. "description": "签约类型",
  16439. "type": "string"
  16440. },
  16441. "cusbankname": {
  16442. "description": "签约类型名称",
  16443. "type": "string"
  16444. },
  16445. "customername": {
  16446. "description": "客户名称(企业名称)",
  16447. "type": "string"
  16448. },
  16449. "districtid": {
  16450. "description": "地区",
  16451. "type": "integer"
  16452. },
  16453. "email": {
  16454. "description": "Email地址(加密存储)",
  16455. "type": "string"
  16456. },
  16457. "halfbodyphotourl": {
  16458. "description": "半身照地址",
  16459. "type": "string"
  16460. },
  16461. "headurl": {
  16462. "description": "头像地址",
  16463. "type": "string"
  16464. },
  16465. "ipaddress": {
  16466. "description": "IP地址",
  16467. "type": "string"
  16468. },
  16469. "isvalidate": {
  16470. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  16471. "type": "string"
  16472. },
  16473. "legalcardbackphotourl": {
  16474. "description": "法人身份证背面照地址",
  16475. "type": "string"
  16476. },
  16477. "legalcardfrontphotourl": {
  16478. "description": "法人身份证正面照地址",
  16479. "type": "string"
  16480. },
  16481. "legalpersonname": {
  16482. "description": "法人姓名(企业)",
  16483. "type": "string"
  16484. },
  16485. "logincode": {
  16486. "description": "登录帐号 (加密存储)",
  16487. "type": "string"
  16488. },
  16489. "memberareaid": {
  16490. "description": "所属会员ID",
  16491. "type": "integer"
  16492. },
  16493. "mobile2": {
  16494. "description": "手机号码[明文-尚志]",
  16495. "type": "string"
  16496. },
  16497. "mobilephone": {
  16498. "description": "手机号码 (加密存储)",
  16499. "type": "string"
  16500. },
  16501. "modifiedby": {
  16502. "description": "修改人帐号",
  16503. "type": "integer"
  16504. },
  16505. "modifiedtime": {
  16506. "description": "修改时间",
  16507. "type": "string"
  16508. },
  16509. "nickname": {
  16510. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  16511. "type": "string"
  16512. },
  16513. "openmode": {
  16514. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  16515. "type": "integer"
  16516. },
  16517. "otherurl": {
  16518. "description": "其它图片地址[使用分号分隔]",
  16519. "type": "string"
  16520. },
  16521. "postalcode": {
  16522. "description": "邮政编码",
  16523. "type": "string"
  16524. },
  16525. "provinceid": {
  16526. "description": "省",
  16527. "type": "integer"
  16528. },
  16529. "proxystatementurl": {
  16530. "description": "授权委托书",
  16531. "type": "string"
  16532. },
  16533. "qq": {
  16534. "description": "QQ(加密存储",
  16535. "type": "string"
  16536. },
  16537. "referral": {
  16538. "description": "推荐人编码",
  16539. "type": "string"
  16540. },
  16541. "remark": {
  16542. "description": "备注",
  16543. "type": "string"
  16544. },
  16545. "removebeforestatus": {
  16546. "description": "REMOVEBEFORESTATUS",
  16547. "type": "integer"
  16548. },
  16549. "sex": {
  16550. "description": "性别 - 0:女 1:男",
  16551. "type": "integer"
  16552. },
  16553. "signedstatus": {
  16554. "description": "账户一号签签约状态",
  16555. "type": "integer"
  16556. },
  16557. "signpdfurl": {
  16558. "description": "签约pdf文件",
  16559. "type": "string"
  16560. },
  16561. "subbranch": {
  16562. "description": "开户支行",
  16563. "type": "string"
  16564. },
  16565. "taxpayernum": {
  16566. "description": "纳税人识别号",
  16567. "type": "string"
  16568. },
  16569. "telphone": {
  16570. "description": "联系电话(加密存储)",
  16571. "type": "string"
  16572. },
  16573. "userid": {
  16574. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  16575. "type": "integer"
  16576. },
  16577. "userinfotype": {
  16578. "description": "用户信息类型 - 1:个人 2:企业",
  16579. "type": "integer"
  16580. },
  16581. "username": {
  16582. "description": "用户姓名",
  16583. "type": "string"
  16584. },
  16585. "userstate": {
  16586. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16587. "type": "integer"
  16588. },
  16589. "usertype": {
  16590. "description": "用户类型 - 1:投资者 2:机构",
  16591. "type": "integer"
  16592. },
  16593. "videourl": {
  16594. "description": "视频地址",
  16595. "type": "string"
  16596. },
  16597. "wechat": {
  16598. "description": "微信号 (加密存储)",
  16599. "type": "string"
  16600. }
  16601. }
  16602. },
  16603. "erms3.QryAuditContractRsp": {
  16604. "type": "object",
  16605. "required": [
  16606. "matchcustomername",
  16607. "spotcontractid"
  16608. ],
  16609. "properties": {
  16610. "accountid": {
  16611. "description": "交易员ID",
  16612. "type": "string"
  16613. },
  16614. "applystatus": {
  16615. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16616. "type": "integer"
  16617. },
  16618. "curdeliveryqty": {
  16619. "description": "未交收量",
  16620. "type": "integer"
  16621. },
  16622. "customername": {
  16623. "description": "采购方ID",
  16624. "type": "string"
  16625. },
  16626. "deliverygoodsid": {
  16627. "description": "品种ID",
  16628. "type": "string"
  16629. },
  16630. "deliveryqty": {
  16631. "description": "交收量",
  16632. "type": "integer"
  16633. },
  16634. "enumdicname": {
  16635. "description": "单位名称",
  16636. "type": "string"
  16637. },
  16638. "matchaccountid": {
  16639. "description": "业务员ID",
  16640. "type": "string"
  16641. },
  16642. "matchcustomername": {
  16643. "description": "销售方ID",
  16644. "type": "string"
  16645. },
  16646. "pricedqty": {
  16647. "description": "定价量",
  16648. "type": "number"
  16649. },
  16650. "signdate": {
  16651. "description": "签订日期",
  16652. "type": "string"
  16653. },
  16654. "spotcontractid": {
  16655. "description": "合同ID",
  16656. "type": "string"
  16657. },
  16658. "totaldqty": {
  16659. "description": "合同量",
  16660. "type": "number"
  16661. },
  16662. "unpricedqty": {
  16663. "description": "未定价量",
  16664. "type": "number"
  16665. },
  16666. "wrstandardname": {
  16667. "description": "商品名称",
  16668. "type": "string"
  16669. }
  16670. }
  16671. },
  16672. "erms3.QryPendingBizRsp": {
  16673. "$ref": "#/definitions/models.PendingAuditBizModel"
  16674. },
  16675. "erms3.QueryBusinessInfoRsp": {
  16676. "type": "object",
  16677. "properties": {
  16678. "businessid": {
  16679. "description": "业务ID.",
  16680. "type": "integer"
  16681. },
  16682. "buyamount": {
  16683. "description": "采购额.",
  16684. "type": "number"
  16685. },
  16686. "buyqty": {
  16687. "description": "采购量.",
  16688. "type": "string"
  16689. },
  16690. "futurepl": {
  16691. "description": "期货盈亏.",
  16692. "type": "number"
  16693. },
  16694. "futureqty": {
  16695. "description": "期货敞口.",
  16696. "type": "string"
  16697. },
  16698. "goodsid": {
  16699. "description": "商品名称/商品代码.",
  16700. "type": "string"
  16701. },
  16702. "hedgingqty": {
  16703. "description": "套保量.",
  16704. "type": "string"
  16705. },
  16706. "sellamount": {
  16707. "description": "销售额.",
  16708. "type": "number"
  16709. },
  16710. "sellqty": {
  16711. "description": "销售量.",
  16712. "type": "string"
  16713. },
  16714. "spotmarketvalue": {
  16715. "description": "现货市值.",
  16716. "type": "number"
  16717. },
  16718. "spotpl": {
  16719. "description": "浮动权益.",
  16720. "type": "number"
  16721. },
  16722. "spotqty": {
  16723. "description": "现货量.",
  16724. "type": "string"
  16725. },
  16726. "statu": {
  16727. "description": "状态,0-未结束 1-已结束.",
  16728. "type": "integer"
  16729. },
  16730. "totalpl": {
  16731. "description": "总盈亏.",
  16732. "type": "number"
  16733. },
  16734. "totalqty": {
  16735. "description": "总敞口.",
  16736. "type": "string"
  16737. },
  16738. "type": {
  16739. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  16740. "type": "integer"
  16741. }
  16742. }
  16743. },
  16744. "erms3.QuerySpotContractAppleFormRsp": {
  16745. "type": "object",
  16746. "properties": {
  16747. "goodses": {
  16748. "description": "合约列表",
  16749. "type": "array",
  16750. "items": {
  16751. "$ref": "#/definitions/models.GoodsIDAndName"
  16752. }
  16753. },
  16754. "oppositeusers": {
  16755. "description": "对方账号列表",
  16756. "type": "array",
  16757. "items": {
  16758. "$ref": "#/definitions/erms3.CustomerInfo"
  16759. }
  16760. },
  16761. "ouruser": {
  16762. "description": "我方账号",
  16763. "type": "object",
  16764. "$ref": "#/definitions/erms3.CustomerInfo"
  16765. },
  16766. "warehouseinfos": {
  16767. "description": "仓库信息列表",
  16768. "type": "array",
  16769. "items": {
  16770. "$ref": "#/definitions/models.Warehouseinfo"
  16771. }
  16772. },
  16773. "wrstandards": {
  16774. "description": "仓单标准列表",
  16775. "type": "array",
  16776. "items": {
  16777. "$ref": "#/definitions/models.WRStandardInfo"
  16778. }
  16779. }
  16780. }
  16781. },
  16782. "erms3.QuerySpotContractInfoRsp": {
  16783. "type": "object",
  16784. "properties": {
  16785. "accountid": {
  16786. "description": "表示交易员ID.",
  16787. "type": "integer"
  16788. },
  16789. "curdeliveryqty": {
  16790. "description": "表示未交收量.",
  16791. "type": "number"
  16792. },
  16793. "customername": {
  16794. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  16795. "type": "string"
  16796. },
  16797. "deliverygoodsid": {
  16798. "description": "表示品种ID.",
  16799. "type": "string"
  16800. },
  16801. "deliveryqty": {
  16802. "description": "表示交收量.",
  16803. "type": "number"
  16804. },
  16805. "matchaccountid": {
  16806. "description": "表示业务员ID.",
  16807. "type": "integer"
  16808. },
  16809. "matchcustomername": {
  16810. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  16811. "type": "string"
  16812. },
  16813. "priceqty": {
  16814. "description": "表示定价量.",
  16815. "type": "number"
  16816. },
  16817. "relatedbizid": {
  16818. "description": "表示业务ID.",
  16819. "type": "string"
  16820. },
  16821. "signdate": {
  16822. "description": "表示签订日期.",
  16823. "type": "string"
  16824. },
  16825. "spotcontractid": {
  16826. "description": "合同ID",
  16827. "type": "string"
  16828. },
  16829. "status": {
  16830. "description": "表示状态,0-履约中 1-已完成.",
  16831. "type": "integer"
  16832. },
  16833. "totalqty": {
  16834. "description": "表示合同量.",
  16835. "type": "number"
  16836. },
  16837. "unpricedqty": {
  16838. "description": "表示未定价量.",
  16839. "type": "number"
  16840. },
  16841. "wrstandardname": {
  16842. "description": "表示商品ID.",
  16843. "type": "string"
  16844. }
  16845. }
  16846. },
  16847. "erms3.QueryUserInfoAppliesRsp": {
  16848. "type": "object",
  16849. "required": [
  16850. "userid"
  16851. ],
  16852. "properties": {
  16853. "biznature": {
  16854. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16855. "type": "integer"
  16856. },
  16857. "contactname": {
  16858. "description": "联系人",
  16859. "type": "string"
  16860. },
  16861. "createtime": {
  16862. "description": "开户申请时间",
  16863. "type": "string"
  16864. },
  16865. "userid": {
  16866. "description": "用户ID(自增ID)",
  16867. "type": "integer"
  16868. },
  16869. "userinfotype": {
  16870. "description": "用户信息类型 - 1:个人 2:企业",
  16871. "type": "integer"
  16872. },
  16873. "username": {
  16874. "description": "用户姓名",
  16875. "type": "string"
  16876. },
  16877. "userstate": {
  16878. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16879. "type": "integer"
  16880. }
  16881. }
  16882. },
  16883. "erms3.QueryUserInfosRsp": {
  16884. "type": "object",
  16885. "required": [
  16886. "userid"
  16887. ],
  16888. "properties": {
  16889. "biznature": {
  16890. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16891. "type": "integer"
  16892. },
  16893. "contactname": {
  16894. "description": "联系人",
  16895. "type": "string"
  16896. },
  16897. "customername": {
  16898. "description": "客户名称(企业名称)",
  16899. "type": "string"
  16900. },
  16901. "userid": {
  16902. "description": "用户ID",
  16903. "type": "integer"
  16904. },
  16905. "userinfotype": {
  16906. "description": "用户信息类型 - 1:个人 2:企业",
  16907. "type": "integer"
  16908. },
  16909. "userstatus": {
  16910. "description": "用户状态 - 1:正常 2:注销",
  16911. "type": "integer"
  16912. }
  16913. }
  16914. },
  16915. "erms3.SoptContractDetail": {
  16916. "type": "object",
  16917. "required": [
  16918. "deliverygoodsid",
  16919. "producttype",
  16920. "unitname",
  16921. "warehouseid",
  16922. "wrstandardid",
  16923. "wrstandardname"
  16924. ],
  16925. "properties": {
  16926. "deliverygoodsdesc": {
  16927. "description": "现货品种说明",
  16928. "type": "string"
  16929. },
  16930. "deliverygoodsid": {
  16931. "description": "现货品种ID",
  16932. "type": "integer"
  16933. },
  16934. "deliverygoodsname": {
  16935. "description": "现货品种名称",
  16936. "type": "string"
  16937. },
  16938. "pointdesc": {
  16939. "description": "点价描述",
  16940. "type": "string"
  16941. },
  16942. "producttype": {
  16943. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  16944. "type": "integer"
  16945. },
  16946. "producttypename": {
  16947. "description": "产品类型名称",
  16948. "type": "string"
  16949. },
  16950. "spotPointOrderVoList": {
  16951. "description": "点价列表",
  16952. "type": "array",
  16953. "items": {
  16954. "$ref": "#/definitions/erms3.SpotPointOrder"
  16955. }
  16956. },
  16957. "spotPriceOrderList": {
  16958. "description": "定价列表",
  16959. "type": "array",
  16960. "items": {
  16961. "$ref": "#/definitions/erms3.SpotPriceOrder"
  16962. }
  16963. },
  16964. "unitname": {
  16965. "description": "单位名称",
  16966. "type": "string"
  16967. },
  16968. "warehouseid": {
  16969. "description": "仓库ID",
  16970. "type": "integer"
  16971. },
  16972. "warehousename": {
  16973. "description": "仓库名称",
  16974. "type": "string"
  16975. },
  16976. "wrstandardid": {
  16977. "description": "交易标的ID",
  16978. "type": "integer"
  16979. },
  16980. "wrstandardname": {
  16981. "description": "交易标的名称",
  16982. "type": "string"
  16983. }
  16984. }
  16985. },
  16986. "erms3.SpotPointOrder": {
  16987. "type": "object",
  16988. "required": [
  16989. "basic",
  16990. "goodsid",
  16991. "qty"
  16992. ],
  16993. "properties": {
  16994. "basic": {
  16995. "description": "基差",
  16996. "type": "number"
  16997. },
  16998. "deliveryenddate": {
  16999. "description": "交收结束日期",
  17000. "type": "string"
  17001. },
  17002. "deliverystartdate": {
  17003. "description": "交收开始日期",
  17004. "type": "string"
  17005. },
  17006. "enddate": {
  17007. "description": "点价结束日期",
  17008. "type": "string"
  17009. },
  17010. "goodsid": {
  17011. "description": "商品ID",
  17012. "type": "integer"
  17013. },
  17014. "goodsname": {
  17015. "description": "商品名称",
  17016. "type": "string"
  17017. },
  17018. "qty": {
  17019. "description": "数量",
  17020. "type": "number"
  17021. },
  17022. "startdate": {
  17023. "description": "点价开始日期",
  17024. "type": "string"
  17025. }
  17026. }
  17027. },
  17028. "erms3.SpotPriceOrder": {
  17029. "type": "object",
  17030. "required": [
  17031. "amount",
  17032. "price",
  17033. "qty"
  17034. ],
  17035. "properties": {
  17036. "amount": {
  17037. "description": "金额",
  17038. "type": "number"
  17039. },
  17040. "deliveryenddate": {
  17041. "description": "交收结束日期",
  17042. "type": "string"
  17043. },
  17044. "deliverystartdate": {
  17045. "description": "交收开始日期",
  17046. "type": "string"
  17047. },
  17048. "price": {
  17049. "description": "价格",
  17050. "type": "number"
  17051. },
  17052. "qty": {
  17053. "description": "数量",
  17054. "type": "number"
  17055. }
  17056. }
  17057. },
  17058. "hsby.GetHsbyMyCountRsp": {
  17059. "type": "object",
  17060. "properties": {
  17061. "myCouponCount": {
  17062. "description": "我的优惠卷数量",
  17063. "type": "integer"
  17064. },
  17065. "myOrderDetailListingCount": {
  17066. "description": "我的订单求购中数量",
  17067. "type": "integer"
  17068. },
  17069. "myOrderDetailPreCount": {
  17070. "description": "我的订单抢购中数量",
  17071. "type": "integer"
  17072. },
  17073. "myPackageUnReceiveCount": {
  17074. "description": "我的包裹待收货数量",
  17075. "type": "integer"
  17076. },
  17077. "myPackageUnSendCount": {
  17078. "description": "我的包裹待发货数量",
  17079. "type": "integer"
  17080. },
  17081. "myPayOrderCount": {
  17082. "description": "我的订单待付款数量",
  17083. "type": "integer"
  17084. }
  17085. }
  17086. },
  17087. "hsby.QueryProvincesAndCitiesRsp": {
  17088. "type": "object",
  17089. "properties": {
  17090. "cities": {
  17091. "description": "市",
  17092. "type": "array",
  17093. "items": {
  17094. "$ref": "#/definitions/models.Division"
  17095. }
  17096. },
  17097. "province": {
  17098. "description": "省",
  17099. "type": "object",
  17100. "$ref": "#/definitions/models.Division"
  17101. }
  17102. }
  17103. },
  17104. "models.AreaSpotModel": {
  17105. "type": "object",
  17106. "properties": {
  17107. "areauserid": {
  17108. "description": "所属机构",
  17109. "type": "integer"
  17110. },
  17111. "decreaseqty": {
  17112. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17113. "type": "number"
  17114. },
  17115. "increaseqty": {
  17116. "description": "增加数量=销售计划数量+采购已定价数量",
  17117. "type": "number"
  17118. },
  17119. "oritoalspotqty": {
  17120. "description": "昨日数量",
  17121. "type": "number"
  17122. },
  17123. "totalspotqty": {
  17124. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17125. "type": "number"
  17126. },
  17127. "updatetime": {
  17128. "description": "更新时间",
  17129. "type": "string"
  17130. },
  17131. "wrstandardcode": {
  17132. "description": "现货品种代码",
  17133. "type": "string"
  17134. },
  17135. "wrstandardid": {
  17136. "description": "现货商品ID",
  17137. "type": "integer"
  17138. },
  17139. "wrstandardname": {
  17140. "description": "现货品种",
  17141. "type": "string"
  17142. }
  17143. }
  17144. },
  17145. "models.Arearole": {
  17146. "type": "object",
  17147. "required": [
  17148. "roletype",
  17149. "userid"
  17150. ],
  17151. "properties": {
  17152. "createtime": {
  17153. "description": "创建时间",
  17154. "type": "string"
  17155. },
  17156. "creatorid": {
  17157. "description": "创建人ID",
  17158. "type": "integer"
  17159. },
  17160. "fromuserid": {
  17161. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  17162. "type": "integer"
  17163. },
  17164. "isreturnscore": {
  17165. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  17166. "type": "integer"
  17167. },
  17168. "modifierid": {
  17169. "description": "修改人ID",
  17170. "type": "integer"
  17171. },
  17172. "modifytime": {
  17173. "description": "修改时间",
  17174. "type": "string"
  17175. },
  17176. "orgtype": {
  17177. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  17178. "type": "integer"
  17179. },
  17180. "outuserid": {
  17181. "description": "外部账户[场外期权做市商]",
  17182. "type": "string"
  17183. },
  17184. "parentuserid": {
  17185. "description": "上级组织机构(组织机构)",
  17186. "type": "integer"
  17187. },
  17188. "roletype": {
  17189. "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:门店",
  17190. "type": "integer"
  17191. },
  17192. "rootuserid": {
  17193. "description": "顶级组织机构用户ID(组织机构)",
  17194. "type": "integer"
  17195. },
  17196. "shoppassword": {
  17197. "description": "商城店铺登陆密码(商城店铺角色使用)",
  17198. "type": "string"
  17199. },
  17200. "sublevelpath": {
  17201. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  17202. "type": "string"
  17203. },
  17204. "suborgtype": {
  17205. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  17206. "type": "integer"
  17207. },
  17208. "tradeaccountid": {
  17209. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  17210. "type": "integer"
  17211. },
  17212. "transurl": {
  17213. "description": "物流地址(物流机构)",
  17214. "type": "string"
  17215. },
  17216. "userid": {
  17217. "description": "机构用户ID其他做市关系,都设置为 1",
  17218. "type": "integer"
  17219. }
  17220. }
  17221. },
  17222. "models.Clientfixedadconfig": {
  17223. "type": "object",
  17224. "required": [
  17225. "adsort",
  17226. "adtype"
  17227. ],
  17228. "properties": {
  17229. "adsort": {
  17230. "description": "排序",
  17231. "type": "integer"
  17232. },
  17233. "adtype": {
  17234. "description": "广告位类型 - 1:新品抢购(HSBY)",
  17235. "type": "integer"
  17236. },
  17237. "areauserid": {
  17238. "description": "所属机构ID",
  17239. "type": "integer"
  17240. },
  17241. "createdate": {
  17242. "description": "创建时间",
  17243. "type": "string"
  17244. },
  17245. "creatorid": {
  17246. "description": "创建人",
  17247. "type": "integer"
  17248. },
  17249. "imagepath": {
  17250. "description": "图片",
  17251. "type": "string"
  17252. },
  17253. "isshow": {
  17254. "description": "是否展示 - 0:不展示 1:展示",
  17255. "type": "integer"
  17256. },
  17257. "modifierid": {
  17258. "description": "操作人",
  17259. "type": "integer"
  17260. },
  17261. "recsize": {
  17262. "description": "推荐尺寸",
  17263. "type": "string"
  17264. },
  17265. "title": {
  17266. "description": "标题",
  17267. "type": "string"
  17268. },
  17269. "updatedate": {
  17270. "description": "更新时间",
  17271. "type": "string"
  17272. },
  17273. "urlcontent": {
  17274. "description": "链接(地址或商品ID)",
  17275. "type": "string"
  17276. },
  17277. "urltype": {
  17278. "description": "链接类型 - 1:直接地址 2:商品ID",
  17279. "type": "integer"
  17280. }
  17281. }
  17282. },
  17283. "models.Division": {
  17284. "type": "object",
  17285. "required": [
  17286. "autoid",
  17287. "divisioncode"
  17288. ],
  17289. "properties": {
  17290. "autoid": {
  17291. "description": "自增ID",
  17292. "type": "integer"
  17293. },
  17294. "divisioncode": {
  17295. "description": "行政代码",
  17296. "type": "string"
  17297. },
  17298. "divisionlevel": {
  17299. "description": "行政级别",
  17300. "type": "string"
  17301. },
  17302. "divisionname": {
  17303. "description": "行政名称",
  17304. "type": "string"
  17305. },
  17306. "modifierid": {
  17307. "description": "修改人",
  17308. "type": "integer"
  17309. },
  17310. "modifytime": {
  17311. "description": "修改时间",
  17312. "type": "string"
  17313. },
  17314. "parentcode": {
  17315. "description": "上级行政代码",
  17316. "type": "string"
  17317. },
  17318. "pathname": {
  17319. "description": "路径名称",
  17320. "type": "string"
  17321. },
  17322. "postcode": {
  17323. "description": "邮政编码",
  17324. "type": "string"
  17325. },
  17326. "separablename": {
  17327. "description": "可拆分的全称",
  17328. "type": "string"
  17329. },
  17330. "shortcode": {
  17331. "description": "地区简码",
  17332. "type": "string"
  17333. }
  17334. }
  17335. },
  17336. "models.Enumdicitem": {
  17337. "type": "object",
  17338. "required": [
  17339. "autoid",
  17340. "enumdiccode",
  17341. "enumdicid",
  17342. "enumitemname"
  17343. ],
  17344. "properties": {
  17345. "autoid": {
  17346. "description": "自增ID",
  17347. "type": "integer"
  17348. },
  17349. "bankmappedvalue": {
  17350. "description": "银行服务对应值",
  17351. "type": "string"
  17352. },
  17353. "enumdiccode": {
  17354. "description": "所属枚举代码",
  17355. "type": "string"
  17356. },
  17357. "enumdicid": {
  17358. "description": "所属枚举ID",
  17359. "type": "integer"
  17360. },
  17361. "enumdicname": {
  17362. "description": "枚举项名称",
  17363. "type": "string"
  17364. },
  17365. "enumitemname": {
  17366. "description": "枚举项值",
  17367. "type": "integer"
  17368. },
  17369. "enumitemstatus": {
  17370. "description": "枚举项状态 - 1.启用 2.不启用",
  17371. "type": "integer"
  17372. },
  17373. "enumitemvalue": {
  17374. "description": "通用值 - [币种通用简写]",
  17375. "type": "string"
  17376. },
  17377. "param1": {
  17378. "description": "参数1[币种:币种小数位]",
  17379. "type": "string"
  17380. },
  17381. "param2": {
  17382. "description": "参数1[币种:币种显示单位]",
  17383. "type": "string"
  17384. },
  17385. "remark": {
  17386. "description": "备注",
  17387. "type": "string"
  17388. }
  17389. }
  17390. },
  17391. "models.Ermcp3AreaSpot": {
  17392. "type": "object",
  17393. "properties": {
  17394. "areauserid": {
  17395. "description": "所属机构",
  17396. "type": "integer"
  17397. },
  17398. "decreaseqty": {
  17399. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17400. "type": "number"
  17401. },
  17402. "deliverygoodscode": {
  17403. "description": "现货品种代码",
  17404. "type": "string"
  17405. },
  17406. "deliverygoodsid": {
  17407. "description": "现货品种id",
  17408. "type": "integer"
  17409. },
  17410. "deliverygoodsname": {
  17411. "description": "现货品种名称",
  17412. "type": "string"
  17413. },
  17414. "enumdicname": {
  17415. "description": "单位名称",
  17416. "type": "string"
  17417. },
  17418. "goodsunitid": {
  17419. "description": "现货品种单位id",
  17420. "type": "integer"
  17421. },
  17422. "increaseqty": {
  17423. "description": "增加数量=销售计划数量+采购已定价数量",
  17424. "type": "number"
  17425. },
  17426. "oritoalspotqty": {
  17427. "description": "昨日数量",
  17428. "type": "number"
  17429. },
  17430. "totalspotqty": {
  17431. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17432. "type": "number"
  17433. },
  17434. "updatetime": {
  17435. "description": "更新时间",
  17436. "type": "string"
  17437. }
  17438. }
  17439. },
  17440. "models.Ermcp3AreaSpotDetail": {
  17441. "type": "object",
  17442. "properties": {
  17443. "contracttype": {
  17444. "description": "合同类型 1-采购 -1-销售",
  17445. "type": "integer"
  17446. },
  17447. "createtime": {
  17448. "description": "创建时间",
  17449. "type": "string"
  17450. },
  17451. "deliverygoodscode": {
  17452. "description": "现货品种代码",
  17453. "type": "string"
  17454. },
  17455. "deliverygoodsid": {
  17456. "description": "现货品种id",
  17457. "type": "integer"
  17458. },
  17459. "deliverygoodsname": {
  17460. "description": "现货品种名称",
  17461. "type": "string"
  17462. },
  17463. "enumdicname": {
  17464. "description": "现货商品单位名称",
  17465. "type": "string"
  17466. },
  17467. "logtype": {
  17468. "description": "记录类型 1-套保 2-现货合同",
  17469. "type": "integer"
  17470. },
  17471. "qty": {
  17472. "description": "数量",
  17473. "type": "number"
  17474. },
  17475. "recordname": {
  17476. "description": "类型名称",
  17477. "type": "string"
  17478. },
  17479. "relatedid": {
  17480. "description": "套保计划ID/现货合同ID",
  17481. "type": "string"
  17482. },
  17483. "relatedno": {
  17484. "description": "编号",
  17485. "type": "string"
  17486. },
  17487. "strtime": {
  17488. "description": "时间",
  17489. "type": "string"
  17490. }
  17491. }
  17492. },
  17493. "models.Ermcp3AreaSpotPLReport": {
  17494. "type": "object",
  17495. "properties": {
  17496. "accountid": {
  17497. "description": "期货账户ID (作废, 默认为0)",
  17498. "type": "integer"
  17499. },
  17500. "accountname": {
  17501. "description": "机构名称",
  17502. "type": "string"
  17503. },
  17504. "actualpl": {
  17505. "description": "现货损益",
  17506. "type": "number"
  17507. },
  17508. "areauserid": {
  17509. "description": "所属机构\\交易用户ID",
  17510. "type": "integer"
  17511. },
  17512. "begindate": {
  17513. "description": "开始交易日",
  17514. "type": "string"
  17515. },
  17516. "biztype": {
  17517. "description": "业务类型 - 1:套保 2:套利",
  17518. "type": "integer"
  17519. },
  17520. "brandname": {
  17521. "description": "品牌名称",
  17522. "type": "string"
  17523. },
  17524. "curamount": {
  17525. "description": "期末额",
  17526. "type": "number"
  17527. },
  17528. "curaverageprice": {
  17529. "description": "期末均价",
  17530. "type": "number"
  17531. },
  17532. "curbuyamount": {
  17533. "description": "期末采购总额",
  17534. "type": "number"
  17535. },
  17536. "curbuyqty": {
  17537. "description": "期末采购总量",
  17538. "type": "number"
  17539. },
  17540. "curmarketvalue": {
  17541. "description": "参考市值(期末市值)",
  17542. "type": "number"
  17543. },
  17544. "curqty": {
  17545. "description": "期末量",
  17546. "type": "number"
  17547. },
  17548. "currencyid": {
  17549. "description": "结算币种ID【原值】",
  17550. "type": "integer"
  17551. },
  17552. "currencyname": {
  17553. "description": "币种名称",
  17554. "type": "string"
  17555. },
  17556. "cursellamount": {
  17557. "description": "期末销售总额",
  17558. "type": "number"
  17559. },
  17560. "cursellqty": {
  17561. "description": "期末销售总量",
  17562. "type": "number"
  17563. },
  17564. "curspotprice": {
  17565. "description": "参考市价(最新价)",
  17566. "type": "number"
  17567. },
  17568. "cycletime": {
  17569. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17570. "type": "string"
  17571. },
  17572. "cycletype": {
  17573. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17574. "type": "integer"
  17575. },
  17576. "deliverygoodscode": {
  17577. "description": "现货商品代码",
  17578. "type": "string"
  17579. },
  17580. "deliverygoodsid": {
  17581. "description": "现货品种ID",
  17582. "type": "integer"
  17583. },
  17584. "deliverygoodsname": {
  17585. "description": "现货商品名称",
  17586. "type": "string"
  17587. },
  17588. "enddate": {
  17589. "description": "结束交易日",
  17590. "type": "string"
  17591. },
  17592. "enumdicname": {
  17593. "description": "现货商品单位名称",
  17594. "type": "string"
  17595. },
  17596. "floatpl": {
  17597. "description": "浮动损益",
  17598. "type": "number"
  17599. },
  17600. "goodsunitid": {
  17601. "description": "现货商品单位id",
  17602. "type": "integer"
  17603. },
  17604. "oriamount": {
  17605. "description": "期初额",
  17606. "type": "number"
  17607. },
  17608. "oriaverageprice": {
  17609. "description": "期初均价",
  17610. "type": "number"
  17611. },
  17612. "oribuyamount": {
  17613. "description": "期初采购总额",
  17614. "type": "number"
  17615. },
  17616. "oribuyqty": {
  17617. "description": "期初采购总量",
  17618. "type": "number"
  17619. },
  17620. "oriqty": {
  17621. "description": "期初量",
  17622. "type": "number"
  17623. },
  17624. "orisellamount": {
  17625. "description": "期初销售总额",
  17626. "type": "number"
  17627. },
  17628. "orisellqty": {
  17629. "description": "期初销售总量",
  17630. "type": "number"
  17631. },
  17632. "reckondate": {
  17633. "description": "日照时期(yyyyMMdd)",
  17634. "type": "string"
  17635. },
  17636. "spotgoodsbrandid": {
  17637. "description": "现货品牌ID",
  17638. "type": "integer"
  17639. },
  17640. "todaybuyamount": {
  17641. "description": "今日采购额(今采购额)",
  17642. "type": "number"
  17643. },
  17644. "todaybuyaverageprice": {
  17645. "description": "今日采购均价",
  17646. "type": "number"
  17647. },
  17648. "todaybuyqty": {
  17649. "description": "今日采购量(今采购量)",
  17650. "type": "number"
  17651. },
  17652. "todayinqty": {
  17653. "description": "今日入库量(今入库量)",
  17654. "type": "number"
  17655. },
  17656. "todayoutqty": {
  17657. "description": "今日出库量(今出库量)",
  17658. "type": "number"
  17659. },
  17660. "todaysellamount": {
  17661. "description": "今日销售额(今销售额)",
  17662. "type": "number"
  17663. },
  17664. "todaysellaverageprice": {
  17665. "description": "今日销售均价",
  17666. "type": "number"
  17667. },
  17668. "todaysellqty": {
  17669. "description": "今日销售量(今销售量)",
  17670. "type": "number"
  17671. },
  17672. "unitid": {
  17673. "description": "品类单位id",
  17674. "type": "integer"
  17675. },
  17676. "unitidname": {
  17677. "description": "品类单位名称",
  17678. "type": "string"
  17679. },
  17680. "updatetime": {
  17681. "description": "更新时间",
  17682. "type": "string"
  17683. },
  17684. "wrfactortypeid": {
  17685. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17686. "type": "integer"
  17687. },
  17688. "wrstandardcode": {
  17689. "description": "品类代码",
  17690. "type": "string"
  17691. },
  17692. "wrstandardid": {
  17693. "description": "现货品类ID",
  17694. "type": "integer"
  17695. },
  17696. "wrstandardname": {
  17697. "description": "品类名称",
  17698. "type": "string"
  17699. }
  17700. }
  17701. },
  17702. "models.Ermcp3AreaStock": {
  17703. "type": "object",
  17704. "required": [
  17705. "userid"
  17706. ],
  17707. "properties": {
  17708. "brandname": {
  17709. "description": "品牌名称",
  17710. "type": "string"
  17711. },
  17712. "curstock": {
  17713. "description": "期末库存量(今日量)",
  17714. "type": "number"
  17715. },
  17716. "deliverygoodscode": {
  17717. "description": "现货品种代码",
  17718. "type": "string"
  17719. },
  17720. "deliverygoodsid": {
  17721. "description": "现货品种id",
  17722. "type": "integer"
  17723. },
  17724. "deliverygoodsname": {
  17725. "description": "现货品种名称",
  17726. "type": "string"
  17727. },
  17728. "enumdicname": {
  17729. "description": "单位名称",
  17730. "type": "string"
  17731. },
  17732. "goodsunitid": {
  17733. "description": "现货商品单位id",
  17734. "type": "integer"
  17735. },
  17736. "oristock": {
  17737. "description": "期初库存量(昨日量)",
  17738. "type": "number"
  17739. },
  17740. "spotgoodsbrandid": {
  17741. "description": "现货品牌ID",
  17742. "type": "integer"
  17743. },
  17744. "todaybuyinqty": {
  17745. "description": "今日采购入库量",
  17746. "type": "number"
  17747. },
  17748. "todayproduceinqty": {
  17749. "description": "今日生产入库量",
  17750. "type": "number"
  17751. },
  17752. "todayproduceoutqty": {
  17753. "description": "今日生产出库量",
  17754. "type": "number"
  17755. },
  17756. "todayselloutqty": {
  17757. "description": "今日销售出库量",
  17758. "type": "number"
  17759. },
  17760. "unitid": {
  17761. "description": "单位id",
  17762. "type": "integer"
  17763. },
  17764. "updatetime": {
  17765. "description": "更新时间",
  17766. "type": "string"
  17767. },
  17768. "userid": {
  17769. "description": "机构ID",
  17770. "type": "integer"
  17771. },
  17772. "username": {
  17773. "description": "机构名称",
  17774. "type": "string"
  17775. },
  17776. "warehousecode": {
  17777. "description": "仓库代码",
  17778. "type": "string"
  17779. },
  17780. "warehouseinfoid": {
  17781. "description": "仓库ID",
  17782. "type": "string"
  17783. },
  17784. "warehousename": {
  17785. "description": "仓库名称",
  17786. "type": "string"
  17787. },
  17788. "warehousetype": {
  17789. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17790. "type": "integer"
  17791. },
  17792. "wrstandardcode": {
  17793. "description": "品类代码",
  17794. "type": "string"
  17795. },
  17796. "wrstandardid": {
  17797. "description": "品类ID",
  17798. "type": "string"
  17799. },
  17800. "wrstandardname": {
  17801. "description": "品类名称",
  17802. "type": "string"
  17803. }
  17804. }
  17805. },
  17806. "models.Ermcp3AreaStockApply": {
  17807. "type": "object",
  17808. "properties": {
  17809. "applyid": {
  17810. "description": "申请人",
  17811. "type": "integer"
  17812. },
  17813. "applyname": {
  17814. "description": "申请人名称",
  17815. "type": "string"
  17816. },
  17817. "applyremark": {
  17818. "description": "申请备注",
  17819. "type": "string"
  17820. },
  17821. "applysrc": {
  17822. "description": "申请来源 - 1:管理端 2:终端",
  17823. "type": "integer"
  17824. },
  17825. "applystatus": {
  17826. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17827. "type": "integer"
  17828. },
  17829. "applytime": {
  17830. "description": "申请时间",
  17831. "type": "string"
  17832. },
  17833. "auditid": {
  17834. "description": "审核人",
  17835. "type": "integer"
  17836. },
  17837. "auditname": {
  17838. "description": "审核人名称",
  17839. "type": "string"
  17840. },
  17841. "auditremark": {
  17842. "description": "审核备注",
  17843. "type": "string"
  17844. },
  17845. "auditsrc": {
  17846. "description": "审核来源 - 1:管理端 2:终端",
  17847. "type": "integer"
  17848. },
  17849. "audittime": {
  17850. "description": "审核时间",
  17851. "type": "string"
  17852. },
  17853. "audittradedate": {
  17854. "description": "审核交易日(yyyyMMdd)",
  17855. "type": "string"
  17856. },
  17857. "brandname": {
  17858. "description": "品牌名称",
  17859. "type": "string"
  17860. },
  17861. "buynickname": {
  17862. "description": "采购方昵称",
  17863. "type": "string"
  17864. },
  17865. "buyuserid": {
  17866. "description": "采购方userid",
  17867. "type": "integer"
  17868. },
  17869. "buyusername": {
  17870. "description": "采购方名称",
  17871. "type": "string"
  17872. },
  17873. "contractno": {
  17874. "description": "合同编号",
  17875. "type": "string"
  17876. },
  17877. "contractqty": {
  17878. "description": "合同量",
  17879. "type": "number"
  17880. },
  17881. "contracttype": {
  17882. "description": "现货合同类型 - 1:采购 -1:销售",
  17883. "type": "integer"
  17884. },
  17885. "deliverygoodscode": {
  17886. "description": "现货品种代码",
  17887. "type": "string"
  17888. },
  17889. "deliverygoodsid": {
  17890. "description": "现货品种id",
  17891. "type": "integer"
  17892. },
  17893. "deliverygoodsname": {
  17894. "description": "现货品种名称",
  17895. "type": "string"
  17896. },
  17897. "detailjson": {
  17898. "description": "明细数据",
  17899. "type": "string"
  17900. },
  17901. "enumdicname": {
  17902. "description": "现货商品单位名称",
  17903. "type": "string"
  17904. },
  17905. "inoutapplyid": {
  17906. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  17907. "type": "string"
  17908. },
  17909. "inouttype": {
  17910. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17911. "type": "integer"
  17912. },
  17913. "pricetype": {
  17914. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17915. "type": "integer"
  17916. },
  17917. "qty": {
  17918. "description": "数量",
  17919. "type": "number"
  17920. },
  17921. "sellnickname": {
  17922. "description": "销售方昵称",
  17923. "type": "string"
  17924. },
  17925. "selluserid": {
  17926. "description": "销售方userid",
  17927. "type": "integer"
  17928. },
  17929. "sellusername": {
  17930. "description": "销售方名称",
  17931. "type": "string"
  17932. },
  17933. "spotcontractid": {
  17934. "description": "关联现货合同ID",
  17935. "type": "string"
  17936. },
  17937. "spotgoodsbrandid": {
  17938. "description": "现货品牌ID",
  17939. "type": "integer"
  17940. },
  17941. "unitid": {
  17942. "description": "单位id",
  17943. "type": "integer"
  17944. },
  17945. "userid": {
  17946. "description": "机构ID",
  17947. "type": "integer"
  17948. },
  17949. "warehousecode": {
  17950. "description": "仓库代码",
  17951. "type": "string"
  17952. },
  17953. "warehouseinfoid": {
  17954. "description": "现货仓库ID",
  17955. "type": "string"
  17956. },
  17957. "warehousename": {
  17958. "description": "仓库名称",
  17959. "type": "string"
  17960. },
  17961. "warehousetype": {
  17962. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17963. "type": "integer"
  17964. },
  17965. "wrstandardcode": {
  17966. "description": "品类代码",
  17967. "type": "string"
  17968. },
  17969. "wrstandardid": {
  17970. "description": "品类ID",
  17971. "type": "integer"
  17972. },
  17973. "wrstandardname": {
  17974. "description": "品类名称",
  17975. "type": "string"
  17976. }
  17977. }
  17978. },
  17979. "models.Ermcp3AreaStockApplySum": {
  17980. "type": "object",
  17981. "properties": {
  17982. "brandname": {
  17983. "description": "品牌名称",
  17984. "type": "string"
  17985. },
  17986. "inouttype": {
  17987. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17988. "type": "integer"
  17989. },
  17990. "spotcontractid": {
  17991. "description": "关联现货合同ID",
  17992. "type": "string"
  17993. },
  17994. "spotgoodsbrandid": {
  17995. "description": "品牌id",
  17996. "type": "integer"
  17997. },
  17998. "totalqty": {
  17999. "description": "总数量",
  18000. "type": "number"
  18001. },
  18002. "wrstandardid": {
  18003. "description": "品类id",
  18004. "type": "integer"
  18005. },
  18006. "wrstandardname": {
  18007. "description": "品类名称",
  18008. "type": "string"
  18009. }
  18010. }
  18011. },
  18012. "models.Ermcp3AreaStockReportEx": {
  18013. "type": "object",
  18014. "properties": {
  18015. "begindate": {
  18016. "description": "开始交易日",
  18017. "type": "string"
  18018. },
  18019. "brandname": {
  18020. "description": "品牌名称",
  18021. "type": "string"
  18022. },
  18023. "curstock": {
  18024. "description": "期末库存量",
  18025. "type": "number"
  18026. },
  18027. "cycletime": {
  18028. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18029. "type": "string"
  18030. },
  18031. "cycletype": {
  18032. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18033. "type": "integer"
  18034. },
  18035. "deliverygoodscode": {
  18036. "description": "现货品种代码",
  18037. "type": "string"
  18038. },
  18039. "deliverygoodsid": {
  18040. "description": "现货品种id",
  18041. "type": "integer"
  18042. },
  18043. "deliverygoodsname": {
  18044. "description": "现货品种名称",
  18045. "type": "string"
  18046. },
  18047. "diffqty": {
  18048. "description": "库存变化量 = 期末 - 期初",
  18049. "type": "number"
  18050. },
  18051. "enddate": {
  18052. "description": "结束交易日",
  18053. "type": "string"
  18054. },
  18055. "enumdicname": {
  18056. "description": "单位名称",
  18057. "type": "string"
  18058. },
  18059. "goodsunitid": {
  18060. "description": "现货单位id",
  18061. "type": "integer"
  18062. },
  18063. "oristock": {
  18064. "description": "期初库存量",
  18065. "type": "number"
  18066. },
  18067. "reckondate": {
  18068. "description": "日照时期(yyyyMMdd)",
  18069. "type": "string"
  18070. },
  18071. "spotgoodsbrandid": {
  18072. "description": "现货品牌ID",
  18073. "type": "integer"
  18074. },
  18075. "todaybuyinqty": {
  18076. "description": "今采购入库量",
  18077. "type": "number"
  18078. },
  18079. "todayproduceinqty": {
  18080. "description": "今内部入库量",
  18081. "type": "number"
  18082. },
  18083. "todayproduceoutqty": {
  18084. "description": "今内部出库量",
  18085. "type": "number"
  18086. },
  18087. "todayselloutqty": {
  18088. "description": "今销售出库量",
  18089. "type": "number"
  18090. },
  18091. "unbuyinqty": {
  18092. "description": "采购未入库量(数据库未找到相关字段?)",
  18093. "type": "number"
  18094. },
  18095. "unitid": {
  18096. "description": "品类单位id",
  18097. "type": "integer"
  18098. },
  18099. "unselloutqty": {
  18100. "description": "销售未出库量(数据库未找到相关字段?)",
  18101. "type": "number"
  18102. },
  18103. "updatetime": {
  18104. "description": "更新时间",
  18105. "type": "string"
  18106. },
  18107. "userid": {
  18108. "description": "机构ID",
  18109. "type": "integer"
  18110. },
  18111. "username": {
  18112. "description": "机构名称",
  18113. "type": "string"
  18114. },
  18115. "warehousecode": {
  18116. "description": "仓库代码",
  18117. "type": "string"
  18118. },
  18119. "warehouseinfoid": {
  18120. "description": "仓库ID",
  18121. "type": "string"
  18122. },
  18123. "warehousename": {
  18124. "description": "仓库名称",
  18125. "type": "string"
  18126. },
  18127. "warehousetype": {
  18128. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18129. "type": "integer"
  18130. },
  18131. "wrstandardcode": {
  18132. "description": "品类代码",
  18133. "type": "string"
  18134. },
  18135. "wrstandardid": {
  18136. "description": "品类ID",
  18137. "type": "integer"
  18138. },
  18139. "wrstandardname": {
  18140. "description": "品类名称",
  18141. "type": "string"
  18142. }
  18143. }
  18144. },
  18145. "models.Ermcp3ArealSumPL": {
  18146. "type": "object",
  18147. "properties": {
  18148. "accountname": {
  18149. "description": "机构名称",
  18150. "type": "string"
  18151. },
  18152. "areauserid": {
  18153. "description": "所属机构\\交易用户ID",
  18154. "type": "integer"
  18155. },
  18156. "begindate": {
  18157. "description": "开始交易日",
  18158. "type": "string"
  18159. },
  18160. "currencyid": {
  18161. "description": "结算币种ID",
  18162. "type": "integer"
  18163. },
  18164. "currencyname": {
  18165. "description": "币种名称",
  18166. "type": "string"
  18167. },
  18168. "cycletime": {
  18169. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18170. "type": "string"
  18171. },
  18172. "cycletype": {
  18173. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18174. "type": "integer"
  18175. },
  18176. "enddate": {
  18177. "description": "结束交易日",
  18178. "type": "string"
  18179. },
  18180. "enumdicname": {
  18181. "description": "单位名称(套保品种)",
  18182. "type": "string"
  18183. },
  18184. "futureactualpl": {
  18185. "description": "期货损益",
  18186. "type": "number"
  18187. },
  18188. "futurefloatpl": {
  18189. "description": "期货浮动损益",
  18190. "type": "number"
  18191. },
  18192. "goodsunitid": {
  18193. "description": "套保品种单位id",
  18194. "type": "integer"
  18195. },
  18196. "middlegoodscode": {
  18197. "description": "套保品种代码",
  18198. "type": "string"
  18199. },
  18200. "middlegoodsid": {
  18201. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18202. "type": "integer"
  18203. },
  18204. "middlegoodsname": {
  18205. "description": "套保品种名称",
  18206. "type": "string"
  18207. },
  18208. "reckondate": {
  18209. "description": "日照时期(yyyyMMdd)",
  18210. "type": "string"
  18211. },
  18212. "spotactualpl": {
  18213. "description": "现货损益",
  18214. "type": "number"
  18215. },
  18216. "spotfloatpl": {
  18217. "description": "现货浮动损益",
  18218. "type": "number"
  18219. },
  18220. "sumactualpl": {
  18221. "description": "实际损益 = (ActualPL + FutureActualPL)",
  18222. "type": "number"
  18223. },
  18224. "sumpl": {
  18225. "description": "汇总损益",
  18226. "type": "number"
  18227. },
  18228. "updatetime": {
  18229. "description": "更新时间",
  18230. "type": "string"
  18231. }
  18232. }
  18233. },
  18234. "models.Ermcp3Brand": {
  18235. "type": "object",
  18236. "properties": {
  18237. "areauserid": {
  18238. "description": "用户id",
  18239. "type": "integer"
  18240. },
  18241. "brandid": {
  18242. "description": "品牌id",
  18243. "type": "integer"
  18244. },
  18245. "brandname": {
  18246. "description": "品牌名称",
  18247. "type": "string"
  18248. },
  18249. "deliverygoodsid": {
  18250. "description": "品种ID",
  18251. "type": "integer"
  18252. }
  18253. }
  18254. },
  18255. "models.Ermcp3Contract": {
  18256. "type": "object",
  18257. "properties": {
  18258. "accountid": {
  18259. "description": "期货账户id",
  18260. "type": "string"
  18261. },
  18262. "amount": {
  18263. "description": "金额 [1:一口价、3:暂定价]",
  18264. "type": "number"
  18265. },
  18266. "attachment": {
  18267. "description": "附件",
  18268. "type": "string"
  18269. },
  18270. "auditremark": {
  18271. "description": "审核意见",
  18272. "type": "string"
  18273. },
  18274. "audittime": {
  18275. "description": "审核时间",
  18276. "type": "string"
  18277. },
  18278. "biztype": {
  18279. "description": "业务类型 1-套保 2-套利",
  18280. "type": "integer"
  18281. },
  18282. "brandname": {
  18283. "description": "品牌名称",
  18284. "type": "string"
  18285. },
  18286. "buynickname": {
  18287. "description": "销售方昵称",
  18288. "type": "string"
  18289. },
  18290. "buyuserid": {
  18291. "description": "采购方ID",
  18292. "type": "integer"
  18293. },
  18294. "buyusername": {
  18295. "description": "采购方名称",
  18296. "type": "string"
  18297. },
  18298. "contracctstatus": {
  18299. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18300. "type": "integer"
  18301. },
  18302. "contractmargin": {
  18303. "description": "合同保证金",
  18304. "type": "number"
  18305. },
  18306. "contractno": {
  18307. "description": "现货合同编号",
  18308. "type": "string"
  18309. },
  18310. "contracttype": {
  18311. "description": "现货合同类型 - 1:采购 -1:销售",
  18312. "type": "integer"
  18313. },
  18314. "convertfactor": {
  18315. "description": "标仓系数(品类)",
  18316. "type": "number"
  18317. },
  18318. "createtime": {
  18319. "description": "创建时间",
  18320. "type": "string"
  18321. },
  18322. "currencyid": {
  18323. "description": "币种id",
  18324. "type": "integer"
  18325. },
  18326. "currencyname": {
  18327. "description": "币种名称",
  18328. "type": "string"
  18329. },
  18330. "deliveryenddate": {
  18331. "description": "交收期(结束)",
  18332. "type": "string"
  18333. },
  18334. "deliverygoodscode": {
  18335. "description": "现货品种代码",
  18336. "type": "string"
  18337. },
  18338. "deliverygoodsid": {
  18339. "description": "现货品种ID",
  18340. "type": "integer"
  18341. },
  18342. "deliverygoodsname": {
  18343. "description": "现货品种名称",
  18344. "type": "string"
  18345. },
  18346. "deliverystartdate": {
  18347. "description": "交收期(开始)",
  18348. "type": "string"
  18349. },
  18350. "enddate": {
  18351. "description": "点价结束日期 [2:点价 3:暂定价]",
  18352. "type": "string"
  18353. },
  18354. "enumdicname": {
  18355. "description": "单位名称",
  18356. "type": "string"
  18357. },
  18358. "goodscode": {
  18359. "description": "点价合约代码",
  18360. "type": "string"
  18361. },
  18362. "goodsid": {
  18363. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  18364. "type": "integer"
  18365. },
  18366. "goodsname": {
  18367. "description": "点价商品名称",
  18368. "type": "string"
  18369. },
  18370. "margin": {
  18371. "description": "当前保证金",
  18372. "type": "number"
  18373. },
  18374. "meruserid": {
  18375. "description": "跟单员id",
  18376. "type": "integer"
  18377. },
  18378. "meruserlogincode": {
  18379. "description": "跟单员登录代码",
  18380. "type": "string"
  18381. },
  18382. "merusername": {
  18383. "description": "跟单员名称",
  18384. "type": "string"
  18385. },
  18386. "price": {
  18387. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  18388. "type": "number"
  18389. },
  18390. "pricemove": {
  18391. "description": "升贴水 [2:点价 3:暂定价]",
  18392. "type": "number"
  18393. },
  18394. "pricetype": {
  18395. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18396. "type": "integer"
  18397. },
  18398. "producttype": {
  18399. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18400. "type": "integer"
  18401. },
  18402. "qty": {
  18403. "description": "数量",
  18404. "type": "number"
  18405. },
  18406. "remark": {
  18407. "description": "备注",
  18408. "type": "string"
  18409. },
  18410. "saleuserid": {
  18411. "description": "业务员id",
  18412. "type": "integer"
  18413. },
  18414. "saleuserlogincode": {
  18415. "description": "业务员登录代码",
  18416. "type": "string"
  18417. },
  18418. "saleusername": {
  18419. "description": "业务员名称",
  18420. "type": "string"
  18421. },
  18422. "sellnickname": {
  18423. "description": "采购方昵称",
  18424. "type": "string"
  18425. },
  18426. "selluserid": {
  18427. "description": "销售方ID",
  18428. "type": "integer"
  18429. },
  18430. "sellusername": {
  18431. "description": "销售方名称",
  18432. "type": "string"
  18433. },
  18434. "spotcontractid": {
  18435. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  18436. "type": "string"
  18437. },
  18438. "spotgoodsbrandid": {
  18439. "description": "现货品牌ID(DGFactoryItem表的ID)",
  18440. "type": "integer"
  18441. },
  18442. "spotgoodsdesc": {
  18443. "description": "商品型号",
  18444. "type": "string"
  18445. },
  18446. "startdate": {
  18447. "description": "点价开始日期 [2:点价 3:暂定价]",
  18448. "type": "string"
  18449. },
  18450. "subjectid": {
  18451. "description": "交易主体ID",
  18452. "type": "string"
  18453. },
  18454. "subjectname": {
  18455. "description": "交易主体名称",
  18456. "type": "string"
  18457. },
  18458. "tradeuserid": {
  18459. "description": "交易员id",
  18460. "type": "integer"
  18461. },
  18462. "tradeuserlogincode": {
  18463. "description": "交易员登录代码",
  18464. "type": "string"
  18465. },
  18466. "tradeusername": {
  18467. "description": "交易员名称",
  18468. "type": "string"
  18469. },
  18470. "unitid": {
  18471. "description": "单位id(取品类上的单位id)",
  18472. "type": "integer"
  18473. },
  18474. "updatetime": {
  18475. "description": "更新时间",
  18476. "type": "string"
  18477. },
  18478. "userid": {
  18479. "description": "所属机构ID",
  18480. "type": "integer"
  18481. },
  18482. "wrstandardcode": {
  18483. "description": "品类代码",
  18484. "type": "string"
  18485. },
  18486. "wrstandardid": {
  18487. "description": "品类ID",
  18488. "type": "integer"
  18489. },
  18490. "wrstandardname": {
  18491. "description": "品类名称",
  18492. "type": "string"
  18493. }
  18494. }
  18495. },
  18496. "models.Ermcp3ExposureContractDetail": {
  18497. "type": "object",
  18498. "properties": {
  18499. "biztype": {
  18500. "description": "业务类型 1-套保 2-套利",
  18501. "type": "integer"
  18502. },
  18503. "brandname": {
  18504. "description": "品牌名称",
  18505. "type": "string"
  18506. },
  18507. "buyuserid": {
  18508. "description": "采购方id",
  18509. "type": "integer"
  18510. },
  18511. "buyusername": {
  18512. "description": "采购方名称",
  18513. "type": "string"
  18514. },
  18515. "contractno": {
  18516. "description": "合同编号",
  18517. "type": "string"
  18518. },
  18519. "contracttype": {
  18520. "description": "现货合同类型 - 1:采购 -1:销售",
  18521. "type": "integer"
  18522. },
  18523. "convertfactor": {
  18524. "description": "标仓系数",
  18525. "type": "number"
  18526. },
  18527. "convertratio": {
  18528. "description": "折算系数(套保品种)",
  18529. "type": "number"
  18530. },
  18531. "curqty": {
  18532. "description": "今定价量",
  18533. "type": "number"
  18534. },
  18535. "deliverygoodscode": {
  18536. "description": "现货商品代码",
  18537. "type": "string"
  18538. },
  18539. "deliverygoodsid": {
  18540. "description": "现货商品id",
  18541. "type": "integer"
  18542. },
  18543. "deliverygoodsname": {
  18544. "description": "现货商品名称",
  18545. "type": "string"
  18546. },
  18547. "diffhedgeqty": {
  18548. "description": "套保变动量",
  18549. "type": "number"
  18550. },
  18551. "diffneedhedgeqty": {
  18552. "description": "应套保变动量",
  18553. "type": "number"
  18554. },
  18555. "diffqty": {
  18556. "description": "套保品种今变动量",
  18557. "type": "number"
  18558. },
  18559. "enumdicname": {
  18560. "description": "单位名称",
  18561. "type": "string"
  18562. },
  18563. "mgunitname": {
  18564. "description": "套保品种单位名称",
  18565. "type": "string"
  18566. },
  18567. "middlegoodscode": {
  18568. "description": "套保品种代码",
  18569. "type": "string"
  18570. },
  18571. "middlegoodsid": {
  18572. "description": "套保品种id",
  18573. "type": "integer"
  18574. },
  18575. "middlegoodsname": {
  18576. "description": "套保品种名称",
  18577. "type": "string"
  18578. },
  18579. "needarbitrageratio": {
  18580. "description": "应套利比例",
  18581. "type": "number"
  18582. },
  18583. "needhedgeratio": {
  18584. "description": "应套保比例",
  18585. "type": "number"
  18586. },
  18587. "pricedqty": {
  18588. "description": "已定价量",
  18589. "type": "number"
  18590. },
  18591. "qty": {
  18592. "description": "合同量",
  18593. "type": "number"
  18594. },
  18595. "selluserid": {
  18596. "description": "销售方id",
  18597. "type": "integer"
  18598. },
  18599. "sellusername": {
  18600. "description": "销售方名称",
  18601. "type": "string"
  18602. },
  18603. "spotcontractid": {
  18604. "description": "合同id",
  18605. "type": "string"
  18606. },
  18607. "todaypricedqty": {
  18608. "description": "今定价量",
  18609. "type": "number"
  18610. },
  18611. "tradedate": {
  18612. "description": "交易日",
  18613. "type": "string"
  18614. },
  18615. "unitid": {
  18616. "description": "品类单位id",
  18617. "type": "integer"
  18618. },
  18619. "userid": {
  18620. "description": "机构id",
  18621. "type": "integer"
  18622. },
  18623. "username": {
  18624. "description": "交易用户",
  18625. "type": "string"
  18626. },
  18627. "wrstandardcode": {
  18628. "description": "品类代码",
  18629. "type": "string"
  18630. },
  18631. "wrstandardid": {
  18632. "description": "品类id",
  18633. "type": "integer"
  18634. },
  18635. "wrstandardname": {
  18636. "description": "品类名称",
  18637. "type": "string"
  18638. }
  18639. }
  18640. },
  18641. "models.Ermcp3ExposureDetail": {
  18642. "type": "object",
  18643. "properties": {
  18644. "areauserid": {
  18645. "description": "机构ID",
  18646. "type": "integer"
  18647. },
  18648. "changeQty": {
  18649. "description": "套保变动量",
  18650. "type": "number"
  18651. },
  18652. "contracttype": {
  18653. "description": "现货合同类型 - 1:采购 -1:销售",
  18654. "type": "integer"
  18655. },
  18656. "convertfactor": {
  18657. "description": "标仓系数",
  18658. "type": "number"
  18659. },
  18660. "convertratio": {
  18661. "description": "套保系数",
  18662. "type": "number"
  18663. },
  18664. "createtime": {
  18665. "description": "时间",
  18666. "type": "string"
  18667. },
  18668. "deliverygoodscode": {
  18669. "description": "现货品种代码",
  18670. "type": "string"
  18671. },
  18672. "deliverygoodsid": {
  18673. "description": "现货品种id",
  18674. "type": "integer"
  18675. },
  18676. "deliverygoodsname": {
  18677. "description": "现货品种名称",
  18678. "type": "string"
  18679. },
  18680. "enumdicname": {
  18681. "description": "现货商品单位名称",
  18682. "type": "string"
  18683. },
  18684. "logtype": {
  18685. "description": "类型 - 1:套保计划 2:现货合同",
  18686. "type": "integer"
  18687. },
  18688. "mgunitid": {
  18689. "description": "套保品种单位id",
  18690. "type": "integer"
  18691. },
  18692. "mgunitidname": {
  18693. "description": "套保品种单位名称",
  18694. "type": "string"
  18695. },
  18696. "middlegoodsId": {
  18697. "description": "套保商品id",
  18698. "type": "integer"
  18699. },
  18700. "middlegoodscode": {
  18701. "description": "套保商品代码",
  18702. "type": "string"
  18703. },
  18704. "middlegoodsname": {
  18705. "description": "套保商品名称",
  18706. "type": "string"
  18707. },
  18708. "qty": {
  18709. "description": "数量",
  18710. "type": "number"
  18711. },
  18712. "relateNo": {
  18713. "description": "现货合同/套保计划编号",
  18714. "type": "string"
  18715. }
  18716. }
  18717. },
  18718. "models.Ermcp3ExposureFutuDetail": {
  18719. "type": "object",
  18720. "properties": {
  18721. "accountid": {
  18722. "description": "交易账户id",
  18723. "type": "integer"
  18724. },
  18725. "accountname": {
  18726. "description": "交易账户",
  18727. "type": "string"
  18728. },
  18729. "begindate": {
  18730. "description": "开始交易日",
  18731. "type": "string"
  18732. },
  18733. "buyorsell": {
  18734. "description": "方向 0-买 1-卖",
  18735. "type": "integer"
  18736. },
  18737. "diffmgqty": {
  18738. "description": "套保品种今变化量",
  18739. "type": "number"
  18740. },
  18741. "diffneedqty": {
  18742. "description": "应套保总量变化量",
  18743. "type": "number"
  18744. },
  18745. "difftradeqty": {
  18746. "description": "交易品种今变化量",
  18747. "type": "number"
  18748. },
  18749. "enddate": {
  18750. "description": "结束交易日",
  18751. "type": "string"
  18752. },
  18753. "enumdicname": {
  18754. "description": "单位名称",
  18755. "type": "string"
  18756. },
  18757. "goodscode": {
  18758. "description": "商品代码",
  18759. "type": "string"
  18760. },
  18761. "goodsid": {
  18762. "description": "商品id",
  18763. "type": "integer"
  18764. },
  18765. "goodsname": {
  18766. "description": "商品名称",
  18767. "type": "string"
  18768. },
  18769. "holdqty": {
  18770. "description": "期末持仓量",
  18771. "type": "number"
  18772. },
  18773. "middlegoodscode": {
  18774. "description": "套保商品代码",
  18775. "type": "string"
  18776. },
  18777. "middlegoodsid": {
  18778. "description": "套保商品id",
  18779. "type": "integer"
  18780. },
  18781. "middlegoodsname": {
  18782. "description": "套保商品名称",
  18783. "type": "string"
  18784. },
  18785. "oriholdqty": {
  18786. "description": "期初持仓量",
  18787. "type": "number"
  18788. },
  18789. "todaycloseqty": {
  18790. "description": "今平仓量",
  18791. "type": "number"
  18792. },
  18793. "todayopenqty": {
  18794. "description": "今开仓量",
  18795. "type": "number"
  18796. },
  18797. "tradedate": {
  18798. "description": "交易日",
  18799. "type": "string"
  18800. }
  18801. }
  18802. },
  18803. "models.Ermcp3ExposureHedgeplanDetail": {
  18804. "type": "object",
  18805. "properties": {
  18806. "biztype": {
  18807. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  18808. "type": "integer"
  18809. },
  18810. "changqty": {
  18811. "description": "应套保总量变化量",
  18812. "type": "number"
  18813. },
  18814. "contracttype": {
  18815. "description": "计划类型 - 1:采购 -1:销售",
  18816. "type": "integer"
  18817. },
  18818. "convertratio": {
  18819. "description": "折算系数(套保品种)",
  18820. "type": "number"
  18821. },
  18822. "deliverygoodscode": {
  18823. "description": "现货商品代码",
  18824. "type": "string"
  18825. },
  18826. "deliverygoodsid": {
  18827. "description": "现货商品id",
  18828. "type": "integer"
  18829. },
  18830. "deliverygoodsname": {
  18831. "description": "现货商吕名称",
  18832. "type": "string"
  18833. },
  18834. "dgunitid": {
  18835. "description": "现货商品单位id",
  18836. "type": "integer"
  18837. },
  18838. "dgunitidname": {
  18839. "description": "单位名称(现货商品)",
  18840. "type": "string"
  18841. },
  18842. "diffqty": {
  18843. "description": "套保品种今变动量",
  18844. "type": "number"
  18845. },
  18846. "enumdicname": {
  18847. "description": "单位名称(品类)",
  18848. "type": "string"
  18849. },
  18850. "hedgeplanid": {
  18851. "description": "套保计划id",
  18852. "type": "string"
  18853. },
  18854. "hedgeplanno": {
  18855. "description": "套保计划名称",
  18856. "type": "string"
  18857. },
  18858. "hedgeplanstatus": {
  18859. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18860. "type": "integer"
  18861. },
  18862. "mgunitidname": {
  18863. "description": "单位名称(套保商品)",
  18864. "type": "string"
  18865. },
  18866. "middlegoodscode": {
  18867. "description": "套保品种代码",
  18868. "type": "string"
  18869. },
  18870. "middlegoodsid": {
  18871. "description": "套保品种id",
  18872. "type": "integer"
  18873. },
  18874. "middlegoodsname": {
  18875. "description": "套保品种名称",
  18876. "type": "string"
  18877. },
  18878. "needarbitrageratio": {
  18879. "description": "应套利比例",
  18880. "type": "number"
  18881. },
  18882. "needhedgeratio": {
  18883. "description": "应套保比例",
  18884. "type": "number"
  18885. },
  18886. "pricedqty": {
  18887. "description": "已定价量",
  18888. "type": "number"
  18889. },
  18890. "qty": {
  18891. "description": "合同量",
  18892. "type": "number"
  18893. },
  18894. "tradedate": {
  18895. "description": "交易日(登记日)",
  18896. "type": "string"
  18897. },
  18898. "unitid": {
  18899. "description": "品类单位id",
  18900. "type": "integer"
  18901. },
  18902. "userid": {
  18903. "description": "机构id",
  18904. "type": "integer"
  18905. },
  18906. "wrstandardcode": {
  18907. "description": "品类代码",
  18908. "type": "string"
  18909. },
  18910. "wrstandardid": {
  18911. "description": "品类id",
  18912. "type": "integer"
  18913. },
  18914. "wrstandardname": {
  18915. "description": "品类名称",
  18916. "type": "string"
  18917. }
  18918. }
  18919. },
  18920. "models.Ermcp3ExposureParamChLog": {
  18921. "type": "object",
  18922. "properties": {
  18923. "accountid": {
  18924. "description": "期货账户ID (作废, 默认为0)",
  18925. "type": "integer"
  18926. },
  18927. "aftervalue": {
  18928. "description": "应套保\\套利量变更后(调整后应套保总量)",
  18929. "type": "number"
  18930. },
  18931. "areauserid": {
  18932. "description": "所属机构\\交易用户ID",
  18933. "type": "integer"
  18934. },
  18935. "beforevalue": {
  18936. "description": "应套保\\套利量变更前(调整前应套保总量)",
  18937. "type": "number"
  18938. },
  18939. "begindate": {
  18940. "description": "开始交易日",
  18941. "type": "string"
  18942. },
  18943. "changelogtype": {
  18944. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  18945. "type": "integer"
  18946. },
  18947. "curvalue": {
  18948. "description": "当前套保\\套利量(套保总量|套利总量)",
  18949. "type": "number"
  18950. },
  18951. "diffvalue": {
  18952. "description": "应套保总量变化量",
  18953. "type": "number"
  18954. },
  18955. "enddate": {
  18956. "description": "结束交易日",
  18957. "type": "string"
  18958. },
  18959. "logdatetime": {
  18960. "description": "流水日期",
  18961. "type": "string"
  18962. },
  18963. "logid": {
  18964. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  18965. "type": "string"
  18966. },
  18967. "middlegoodscode": {
  18968. "description": "套保品种代码",
  18969. "type": "string"
  18970. },
  18971. "middlegoodsid": {
  18972. "description": "套保品种",
  18973. "type": "integer"
  18974. },
  18975. "middlegoodsname": {
  18976. "description": "套保品种名称",
  18977. "type": "string"
  18978. },
  18979. "paramaftervalue": {
  18980. "description": "参数变更后(调整后参数值)",
  18981. "type": "number"
  18982. },
  18983. "parambeforevalue": {
  18984. "description": "参数变更前(调整前参数值)",
  18985. "type": "number"
  18986. },
  18987. "tradedate": {
  18988. "description": "交易日(yyyyMMdd)",
  18989. "type": "string"
  18990. }
  18991. }
  18992. },
  18993. "models.Ermcp3ExpourseReport": {
  18994. "type": "object",
  18995. "properties": {
  18996. "accountid": {
  18997. "description": "期货账户ID (作废, 默认为0)",
  18998. "type": "integer"
  18999. },
  19000. "accountname": {
  19001. "description": "机构名称",
  19002. "type": "string"
  19003. },
  19004. "arbitrageqty": {
  19005. "description": "套利量",
  19006. "type": "number"
  19007. },
  19008. "areauserid": {
  19009. "description": "所属机构\\交易用户ID",
  19010. "type": "integer"
  19011. },
  19012. "begindate": {
  19013. "description": "开始交易日",
  19014. "type": "string"
  19015. },
  19016. "buyfutureqty": {
  19017. "description": "买入期货数量",
  19018. "type": "number"
  19019. },
  19020. "buyplanqty": {
  19021. "description": "采购计划数量",
  19022. "type": "number"
  19023. },
  19024. "buypricedqty": {
  19025. "description": "采购合同已定价数量",
  19026. "type": "number"
  19027. },
  19028. "cycletime": {
  19029. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19030. "type": "string"
  19031. },
  19032. "cycletype": {
  19033. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19034. "type": "integer"
  19035. },
  19036. "diffexposure": {
  19037. "description": "变动量(套保敞口)",
  19038. "type": "number"
  19039. },
  19040. "difffutuqty": {
  19041. "description": "变动量(期货)",
  19042. "type": "number"
  19043. },
  19044. "diffhedgeqty": {
  19045. "description": "变动量(现货应套保总量)",
  19046. "type": "number"
  19047. },
  19048. "diffmgqtya": {
  19049. "description": "套保变动量",
  19050. "type": "number"
  19051. },
  19052. "diffmgqtyb": {
  19053. "description": "套利变动量",
  19054. "type": "number"
  19055. },
  19056. "diffqty": {
  19057. "description": "变动量(总敞口)",
  19058. "type": "number"
  19059. },
  19060. "diffspotqty": {
  19061. "description": "变动量(现货)",
  19062. "type": "number"
  19063. },
  19064. "enddate": {
  19065. "description": "结束交易日",
  19066. "type": "string"
  19067. },
  19068. "enumdicname": {
  19069. "description": "单位名称",
  19070. "type": "string"
  19071. },
  19072. "hedgeqty": {
  19073. "description": "套保量",
  19074. "type": "number"
  19075. },
  19076. "mgneedhedgeratio": {
  19077. "description": "套保比例(套保品的)",
  19078. "type": "number"
  19079. },
  19080. "middlegoodsid": {
  19081. "description": "套保品种ID",
  19082. "type": "integer"
  19083. },
  19084. "middlegoodsname": {
  19085. "description": "套保商品名称",
  19086. "type": "string"
  19087. },
  19088. "middlgoodscode": {
  19089. "description": "套保商品代码",
  19090. "type": "string"
  19091. },
  19092. "needarbitrageqty": {
  19093. "description": "应套利量",
  19094. "type": "number"
  19095. },
  19096. "needarbitrageratio": {
  19097. "description": "套利比例(套保品的)",
  19098. "type": "number"
  19099. },
  19100. "needhedgeexposoure": {
  19101. "description": "应套保敞口(套保敞口)",
  19102. "type": "number"
  19103. },
  19104. "needhedgeqty": {
  19105. "description": "应套保量",
  19106. "type": "number"
  19107. },
  19108. "needhedgeratio": {
  19109. "description": "应套保敞口比例",
  19110. "type": "number"
  19111. },
  19112. "oriarbitrageqty": {
  19113. "description": "期初套利量",
  19114. "type": "number"
  19115. },
  19116. "oribuyfutureqty": {
  19117. "description": "期初买入期货数量",
  19118. "type": "number"
  19119. },
  19120. "oribuyplanqty": {
  19121. "description": "期初采购计划数量",
  19122. "type": "number"
  19123. },
  19124. "oribuypricedqty": {
  19125. "description": "期初采购合同已定价数量",
  19126. "type": "number"
  19127. },
  19128. "orihedgeqty": {
  19129. "description": "期初套保量",
  19130. "type": "number"
  19131. },
  19132. "orineedarbitrageqty": {
  19133. "description": "期初应套利量",
  19134. "type": "number"
  19135. },
  19136. "orineedhedgeexposoure": {
  19137. "description": "期初应套保敞口",
  19138. "type": "number"
  19139. },
  19140. "orineedhedgeqty": {
  19141. "description": "期初应套保量",
  19142. "type": "number"
  19143. },
  19144. "orisellfutureqty": {
  19145. "description": "期初卖出期货数量",
  19146. "type": "number"
  19147. },
  19148. "orisellplanqty": {
  19149. "description": "期初销售计划数量",
  19150. "type": "number"
  19151. },
  19152. "orisellpricedqty": {
  19153. "description": "期初销售合同已定价数量",
  19154. "type": "number"
  19155. },
  19156. "oritotalexposure": {
  19157. "description": "期初实时总敞口",
  19158. "type": "number"
  19159. },
  19160. "oritotalfutureqty": {
  19161. "description": "期初期货头寸总量",
  19162. "type": "number"
  19163. },
  19164. "oritotalneedhedgeqty": {
  19165. "description": "期初应套保总量",
  19166. "type": "number"
  19167. },
  19168. "oritotalspotqty": {
  19169. "description": "期初现货头寸总量",
  19170. "type": "number"
  19171. },
  19172. "reckondate": {
  19173. "description": "日照时期(yyyyMMdd)",
  19174. "type": "string"
  19175. },
  19176. "sellfutureqty": {
  19177. "description": "卖出期货数量",
  19178. "type": "number"
  19179. },
  19180. "sellplanqty": {
  19181. "description": "销售计划数量",
  19182. "type": "number"
  19183. },
  19184. "sellpricedqty": {
  19185. "description": "销售合同已定价数量",
  19186. "type": "number"
  19187. },
  19188. "totalexposure": {
  19189. "description": "实时总敞口(总敞口)",
  19190. "type": "number"
  19191. },
  19192. "totalfutureqty": {
  19193. "description": "期货头寸总量(期货总量)",
  19194. "type": "number"
  19195. },
  19196. "totalhedgeratio": {
  19197. "description": "敞口比例",
  19198. "type": "number"
  19199. },
  19200. "totalneedhedgeqty": {
  19201. "description": "应套保总量(现货应套保总量)",
  19202. "type": "number"
  19203. },
  19204. "totalspotqty": {
  19205. "description": "现货头寸总量",
  19206. "type": "number"
  19207. },
  19208. "unitid": {
  19209. "description": "单位id",
  19210. "type": "integer"
  19211. },
  19212. "updatetime": {
  19213. "description": "更新时间",
  19214. "type": "string"
  19215. }
  19216. }
  19217. },
  19218. "models.Ermcp3FinanceReport": {
  19219. "type": "object",
  19220. "properties": {
  19221. "accountname": {
  19222. "description": "机构名称",
  19223. "type": "string"
  19224. },
  19225. "areauserid": {
  19226. "description": "所属机构\\交易用户ID",
  19227. "type": "integer"
  19228. },
  19229. "begindate": {
  19230. "description": "开始交易日",
  19231. "type": "string"
  19232. },
  19233. "biztype": {
  19234. "description": "业务类型 - 1:套保 2:套利",
  19235. "type": "integer"
  19236. },
  19237. "brandname": {
  19238. "description": "品牌名称",
  19239. "type": "string"
  19240. },
  19241. "buypreinvoicedamount": {
  19242. "description": "采购预收票额(预收票额)",
  19243. "type": "number"
  19244. },
  19245. "buyprepaidamount": {
  19246. "description": "采购预付款额(预付货款额)",
  19247. "type": "number"
  19248. },
  19249. "buytodayinvoiceamount": {
  19250. "description": "采购今收票额(今收票额)",
  19251. "type": "number"
  19252. },
  19253. "buytodayrefundamount": {
  19254. "description": "采购今收退款额(今收退款额)",
  19255. "type": "number"
  19256. },
  19257. "buytodaysettleamount": {
  19258. "description": "采购今付款额(今付货款额)",
  19259. "type": "number"
  19260. },
  19261. "buyuninvoicedamount": {
  19262. "description": "采购应收票额(应收票额)",
  19263. "type": "number"
  19264. },
  19265. "buyunpaidamount": {
  19266. "description": "采购应付款额(应付货款额)",
  19267. "type": "number"
  19268. },
  19269. "currencyid": {
  19270. "description": "结算币种ID",
  19271. "type": "integer"
  19272. },
  19273. "currencyname": {
  19274. "description": "币种名称",
  19275. "type": "string"
  19276. },
  19277. "cycletime": {
  19278. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19279. "type": "string"
  19280. },
  19281. "cycletype": {
  19282. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19283. "type": "integer"
  19284. },
  19285. "deliverygoodscode": {
  19286. "description": "现货品种代码",
  19287. "type": "string"
  19288. },
  19289. "deliverygoodsid": {
  19290. "description": "现货品种ID",
  19291. "type": "integer"
  19292. },
  19293. "deliverygoodsname": {
  19294. "description": "现货品种名称",
  19295. "type": "string"
  19296. },
  19297. "enddate": {
  19298. "description": "结束交易日",
  19299. "type": "string"
  19300. },
  19301. "reckondate": {
  19302. "description": "日照时期(yyyyMMdd)",
  19303. "type": "string"
  19304. },
  19305. "sellpreinvoicedamount": {
  19306. "description": "销售预开票额(预开票额)",
  19307. "type": "number"
  19308. },
  19309. "sellprepaidamount": {
  19310. "description": "销售预收款额(预收货款额)",
  19311. "type": "number"
  19312. },
  19313. "selltodayinvoiceamount": {
  19314. "description": "销售今开票额(今开票额)",
  19315. "type": "number"
  19316. },
  19317. "selltodayrefundamount": {
  19318. "description": "销售今付退款额(今付退款额)",
  19319. "type": "number"
  19320. },
  19321. "selltodaysettleamount": {
  19322. "description": "销售今收款额(今收货款额)",
  19323. "type": "number"
  19324. },
  19325. "selluninvoicedamount": {
  19326. "description": "销售应开票额(应开票额)",
  19327. "type": "number"
  19328. },
  19329. "sellunpaidamount": {
  19330. "description": "销售应收款额(应收货款额)",
  19331. "type": "number"
  19332. },
  19333. "spotgoodsbrandid": {
  19334. "description": "现货品牌ID",
  19335. "type": "integer"
  19336. },
  19337. "todaypaysum": {
  19338. "description": "今付款合计",
  19339. "type": "number"
  19340. },
  19341. "todayreceivesum": {
  19342. "description": "今收款合计",
  19343. "type": "number"
  19344. },
  19345. "updatetime": {
  19346. "description": "更新时间",
  19347. "type": "string"
  19348. },
  19349. "wrfactortypeid": {
  19350. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19351. "type": "integer"
  19352. },
  19353. "wrstandardcode": {
  19354. "description": "品类代码",
  19355. "type": "string"
  19356. },
  19357. "wrstandardid": {
  19358. "description": "现货商品ID",
  19359. "type": "integer"
  19360. },
  19361. "wrstandardname": {
  19362. "description": "品类名称",
  19363. "type": "string"
  19364. }
  19365. }
  19366. },
  19367. "models.Ermcp3GoodsGroup": {
  19368. "type": "object",
  19369. "required": [
  19370. "areauserid"
  19371. ],
  19372. "properties": {
  19373. "agreeunit": {
  19374. "description": "合约单位",
  19375. "type": "number"
  19376. },
  19377. "areauserid": {
  19378. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  19379. "type": "integer"
  19380. },
  19381. "canshort": {
  19382. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19383. "type": "integer"
  19384. },
  19385. "closepricemode": {
  19386. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19387. "type": "integer"
  19388. },
  19389. "createtime": {
  19390. "description": "创建时间",
  19391. "type": "string"
  19392. },
  19393. "creatorid": {
  19394. "description": "创建人",
  19395. "type": "integer"
  19396. },
  19397. "currencyid": {
  19398. "description": "报价货币ID",
  19399. "type": "integer"
  19400. },
  19401. "decimalplace": {
  19402. "description": "报价小数位",
  19403. "type": "integer"
  19404. },
  19405. "enumdicname": {
  19406. "description": "单位名称",
  19407. "type": "string"
  19408. },
  19409. "exchangefullname": {
  19410. "description": "交易所全称",
  19411. "type": "string"
  19412. },
  19413. "excludecfg": {
  19414. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  19415. "type": "integer"
  19416. },
  19417. "exexchangecode": {
  19418. "description": "交易所代码",
  19419. "type": "string"
  19420. },
  19421. "exexchangeid": {
  19422. "description": "外部交易所ID[通道交易]",
  19423. "type": "integer"
  19424. },
  19425. "exexchangename": {
  19426. "description": "交易所名称",
  19427. "type": "string"
  19428. },
  19429. "goodsgroupid": {
  19430. "description": "商品组ID(自增ID)",
  19431. "type": "integer"
  19432. },
  19433. "goodsgroupname": {
  19434. "description": "商品组名称",
  19435. "type": "string"
  19436. },
  19437. "goodsgroupstatus": {
  19438. "description": "商品组状态 - 1:正常 2:注销",
  19439. "type": "integer"
  19440. },
  19441. "goodunitid": {
  19442. "description": "报价单位ID",
  19443. "type": "integer"
  19444. },
  19445. "groupcategroyid": {
  19446. "description": "品种分类ID",
  19447. "type": "integer"
  19448. },
  19449. "innerdealmode": {
  19450. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19451. "type": "integer"
  19452. },
  19453. "marketid": {
  19454. "description": "所属市场ID",
  19455. "type": "integer"
  19456. },
  19457. "modifierid": {
  19458. "description": "修改人",
  19459. "type": "integer"
  19460. },
  19461. "modifytime": {
  19462. "description": "修改时间",
  19463. "type": "string"
  19464. },
  19465. "outerdealmode": {
  19466. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19467. "type": "integer"
  19468. },
  19469. "outergroupcode": {
  19470. "description": "外部商品组代码[通道交易]",
  19471. "type": "string"
  19472. },
  19473. "quoteminunit": {
  19474. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19475. "type": "integer"
  19476. },
  19477. "quotesourcegroupid": {
  19478. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19479. "type": "integer"
  19480. },
  19481. "syncgoodsqty": {
  19482. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19483. "type": "integer"
  19484. }
  19485. }
  19486. },
  19487. "models.Ermcp3HedgePlan": {
  19488. "type": "object",
  19489. "properties": {
  19490. "accountid": {
  19491. "description": "资金账号",
  19492. "type": "integer"
  19493. },
  19494. "areauserid": {
  19495. "description": "用户ID",
  19496. "type": "integer"
  19497. },
  19498. "auditid": {
  19499. "description": "审核id",
  19500. "type": "integer"
  19501. },
  19502. "auditname": {
  19503. "description": "审核人名称",
  19504. "type": "string"
  19505. },
  19506. "auditremark": {
  19507. "description": "审核备注",
  19508. "type": "string"
  19509. },
  19510. "auditsrc": {
  19511. "description": "审核来源 1-管理端 2-终端",
  19512. "type": "integer"
  19513. },
  19514. "audittime": {
  19515. "description": "审核时间",
  19516. "type": "string"
  19517. },
  19518. "contracttype": {
  19519. "description": "计划类型 - 1:采购 -1:销售",
  19520. "type": "integer"
  19521. },
  19522. "convertfactor": {
  19523. "description": "标仓系数",
  19524. "type": "number"
  19525. },
  19526. "createtime": {
  19527. "description": "创建时间",
  19528. "type": "string"
  19529. },
  19530. "currencyid": {
  19531. "description": "币种id",
  19532. "type": "integer"
  19533. },
  19534. "currencyname": {
  19535. "description": "币种名称",
  19536. "type": "string"
  19537. },
  19538. "deliverygoodscode": {
  19539. "description": "现货品种代码",
  19540. "type": "string"
  19541. },
  19542. "deliverygoodsid": {
  19543. "description": "现货品种ID",
  19544. "type": "integer"
  19545. },
  19546. "deliverygoodsname": {
  19547. "description": "现货品种名称",
  19548. "type": "string"
  19549. },
  19550. "enumdicname": {
  19551. "description": "单位名称(现货商品)",
  19552. "type": "string"
  19553. },
  19554. "hedgeplanid": {
  19555. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  19556. "type": "string"
  19557. },
  19558. "hedgeplanno": {
  19559. "description": "套保计划编号(名称)",
  19560. "type": "string"
  19561. },
  19562. "hedgeplanstatus": {
  19563. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19564. "type": "integer"
  19565. },
  19566. "planqty": {
  19567. "description": "计划数量",
  19568. "type": "number"
  19569. },
  19570. "plantime": {
  19571. "description": "计划时间",
  19572. "type": "string"
  19573. },
  19574. "producttype": {
  19575. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19576. "type": "integer"
  19577. },
  19578. "remark": {
  19579. "description": "备注",
  19580. "type": "string"
  19581. },
  19582. "spotgoodsdesc": {
  19583. "description": "商品型号",
  19584. "type": "string"
  19585. },
  19586. "taaccountname": {
  19587. "description": "资金账号名称",
  19588. "type": "string"
  19589. },
  19590. "tradeuserid": {
  19591. "description": "交易用户id",
  19592. "type": "integer"
  19593. },
  19594. "tradeusername": {
  19595. "description": "交易用户名称",
  19596. "type": "string"
  19597. },
  19598. "unitid": {
  19599. "description": "单位id(现货商品)",
  19600. "type": "integer"
  19601. },
  19602. "updatetime": {
  19603. "description": "更新时间",
  19604. "type": "string"
  19605. },
  19606. "wrstandardcode": {
  19607. "description": "品类代码",
  19608. "type": "string"
  19609. },
  19610. "wrstandardid": {
  19611. "description": "品类id",
  19612. "type": "integer"
  19613. },
  19614. "wrstandardname": {
  19615. "description": "品类名称",
  19616. "type": "string"
  19617. },
  19618. "wrunitid": {
  19619. "description": "品类单位id",
  19620. "type": "integer"
  19621. },
  19622. "wrunitidame": {
  19623. "description": "品类单位名称",
  19624. "type": "string"
  19625. }
  19626. }
  19627. },
  19628. "models.Ermcp3PaAreaAuditCfg": {
  19629. "type": "object",
  19630. "properties": {
  19631. "areauserid": {
  19632. "description": "用户ID",
  19633. "type": "integer"
  19634. },
  19635. "buyinauditflag": {
  19636. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  19637. "type": "integer"
  19638. },
  19639. "customerauditflag": {
  19640. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  19641. "type": "integer"
  19642. },
  19643. "deliveryauditflag": {
  19644. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  19645. "type": "integer"
  19646. },
  19647. "invoiceauditflag": {
  19648. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  19649. "type": "integer"
  19650. },
  19651. "moneyauditflag": {
  19652. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  19653. "type": "integer"
  19654. },
  19655. "operatorid": {
  19656. "description": "操作人",
  19657. "type": "integer"
  19658. },
  19659. "operatorsrc": {
  19660. "description": "操作来源 - 1:管理端 2:终端",
  19661. "type": "integer"
  19662. },
  19663. "pointpriceauditflag": {
  19664. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  19665. "type": "integer"
  19666. },
  19667. "produceinauditflag": {
  19668. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  19669. "type": "integer"
  19670. },
  19671. "produceoutauditflag": {
  19672. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  19673. "type": "integer"
  19674. },
  19675. "selloutauditflag": {
  19676. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  19677. "type": "integer"
  19678. },
  19679. "spotcontractauditflag": {
  19680. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  19681. "type": "integer"
  19682. },
  19683. "updatetime": {
  19684. "description": "更新时间",
  19685. "type": "string"
  19686. }
  19687. }
  19688. },
  19689. "models.Ermcp3PaAreaSubject": {
  19690. "type": "object",
  19691. "properties": {
  19692. "areauserid": {
  19693. "description": "所属机构",
  19694. "type": "integer"
  19695. },
  19696. "canmodify": {
  19697. "description": "是否可修改 - 0:否 1:是",
  19698. "type": "integer"
  19699. },
  19700. "createtime": {
  19701. "description": "创建时间",
  19702. "type": "string"
  19703. },
  19704. "creatorid": {
  19705. "description": "创建人ID",
  19706. "type": "string"
  19707. },
  19708. "creatorsrc": {
  19709. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  19710. "type": "integer"
  19711. },
  19712. "modifierid": {
  19713. "description": "修改人",
  19714. "type": "string"
  19715. },
  19716. "modifiersrc": {
  19717. "description": "修改人来源 - 1:管理端 2:终端",
  19718. "type": "integer"
  19719. },
  19720. "modifytime": {
  19721. "description": "修改时间",
  19722. "type": "string"
  19723. },
  19724. "parentsubjectid": {
  19725. "description": "上级主体ID",
  19726. "type": "string"
  19727. },
  19728. "remark": {
  19729. "description": "备注",
  19730. "type": "string"
  19731. },
  19732. "subjectid": {
  19733. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  19734. "type": "integer"
  19735. },
  19736. "subjectname": {
  19737. "description": "主体名称",
  19738. "type": "string"
  19739. },
  19740. "subjectstatus": {
  19741. "description": "主体状态 - 1:正常 2: 停用",
  19742. "type": "integer"
  19743. },
  19744. "subjecttype": {
  19745. "description": "主体类型 - 1:交易主体 2:业务部门",
  19746. "type": "integer"
  19747. }
  19748. }
  19749. },
  19750. "models.Ermcp3RootUserAccount": {
  19751. "type": "object",
  19752. "properties": {
  19753. "accountname": {
  19754. "description": "账户名称(机构名称)",
  19755. "type": "string"
  19756. },
  19757. "accountstatus": {
  19758. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19759. "type": "integer"
  19760. },
  19761. "applysrc": {
  19762. "description": "申请来源 - 1:管理端 2:终端",
  19763. "type": "integer"
  19764. },
  19765. "auditremark": {
  19766. "description": "审核备注",
  19767. "type": "string"
  19768. },
  19769. "auditsrc": {
  19770. "description": "审核来源 - 1:管理端 2:终端",
  19771. "type": "integer"
  19772. },
  19773. "audittime": {
  19774. "description": "审核时间",
  19775. "type": "string"
  19776. },
  19777. "audituserid": {
  19778. "description": "审核人",
  19779. "type": "integer"
  19780. },
  19781. "broker": {
  19782. "description": "所属经纪人ID",
  19783. "type": "integer"
  19784. },
  19785. "canceltime": {
  19786. "description": "销户时间",
  19787. "type": "string"
  19788. },
  19789. "canceluserid": {
  19790. "description": "销户人",
  19791. "type": "integer"
  19792. },
  19793. "canrecommend": {
  19794. "description": "是否可推荐 - 0:不可 1;可",
  19795. "type": "integer"
  19796. },
  19797. "createtime": {
  19798. "description": "创建时间",
  19799. "type": "string"
  19800. },
  19801. "creatorid": {
  19802. "description": "创建人",
  19803. "type": "integer"
  19804. },
  19805. "hasauth": {
  19806. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19807. "type": "integer"
  19808. },
  19809. "isanonymous": {
  19810. "description": "是否匿名下单 - 0:否 1:是",
  19811. "type": "integer"
  19812. },
  19813. "maxinvestornum": {
  19814. "description": "最大用户数(经纪会员下投资者个数)",
  19815. "type": "integer"
  19816. },
  19817. "memberuserid": {
  19818. "description": "所属会员ID",
  19819. "type": "integer"
  19820. },
  19821. "modifierid": {
  19822. "description": "修改人",
  19823. "type": "integer"
  19824. },
  19825. "modifyremark": {
  19826. "description": "变更备注",
  19827. "type": "string"
  19828. },
  19829. "modifystatus": {
  19830. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19831. "type": "integer"
  19832. },
  19833. "modifytime": {
  19834. "description": "修改时间",
  19835. "type": "string"
  19836. },
  19837. "parenttopuser": {
  19838. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  19839. "type": "string"
  19840. },
  19841. "parentuserid": {
  19842. "description": "所属机构ID",
  19843. "type": "integer"
  19844. },
  19845. "reckonaccountid": {
  19846. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19847. "type": "integer"
  19848. },
  19849. "refercount": {
  19850. "description": "推荐总人数",
  19851. "type": "integer"
  19852. },
  19853. "refereeuserid": {
  19854. "description": "推荐人ID",
  19855. "type": "integer"
  19856. },
  19857. "refernum": {
  19858. "description": "推荐码",
  19859. "type": "string"
  19860. },
  19861. "rootuserid": {
  19862. "description": "根用户ID",
  19863. "type": "integer"
  19864. },
  19865. "subaccountlevel": {
  19866. "description": "子账户层数",
  19867. "type": "integer"
  19868. },
  19869. "subarealevelpath": {
  19870. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19871. "type": "string"
  19872. },
  19873. "userid": {
  19874. "description": "用户ID",
  19875. "type": "integer"
  19876. },
  19877. "usertype": {
  19878. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19879. "type": "integer"
  19880. }
  19881. }
  19882. },
  19883. "models.Ermcp3SellBuyContract": {
  19884. "type": "object",
  19885. "properties": {
  19886. "accountid": {
  19887. "description": "期货账户id",
  19888. "type": "string"
  19889. },
  19890. "accountname": {
  19891. "description": "账户名称",
  19892. "type": "string"
  19893. },
  19894. "attachment": {
  19895. "description": "附件",
  19896. "type": "string"
  19897. },
  19898. "audittime": {
  19899. "description": "审核时间",
  19900. "type": "string"
  19901. },
  19902. "biztype": {
  19903. "description": "业务类型 1-套保 2-套利",
  19904. "type": "integer"
  19905. },
  19906. "brandname": {
  19907. "description": "品牌名称",
  19908. "type": "string"
  19909. },
  19910. "contracctstatus": {
  19911. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19912. "type": "integer"
  19913. },
  19914. "contractmargin": {
  19915. "description": "合同保证金",
  19916. "type": "number"
  19917. },
  19918. "contractno": {
  19919. "description": "合同编号",
  19920. "type": "string"
  19921. },
  19922. "contracttype": {
  19923. "description": "合同类型 1-采购, -1-销售",
  19924. "type": "integer"
  19925. },
  19926. "convertfactor": {
  19927. "description": "标仓系数(品类)",
  19928. "type": "number"
  19929. },
  19930. "createtime": {
  19931. "description": "创建时间",
  19932. "type": "string"
  19933. },
  19934. "currencyid": {
  19935. "description": "币种id",
  19936. "type": "integer"
  19937. },
  19938. "currencyname": {
  19939. "description": "币种名称",
  19940. "type": "string"
  19941. },
  19942. "daikaiamount": {
  19943. "description": "应收(开)票额",
  19944. "type": "number"
  19945. },
  19946. "deliveryenddate": {
  19947. "description": "交割结束日",
  19948. "type": "string"
  19949. },
  19950. "deliverygoodscode": {
  19951. "description": "现货品种代码",
  19952. "type": "string"
  19953. },
  19954. "deliverygoodsid": {
  19955. "description": "现货商品ID",
  19956. "type": "integer"
  19957. },
  19958. "deliverygoodsname": {
  19959. "description": "现货品种名称",
  19960. "type": "string"
  19961. },
  19962. "deliverystartdate": {
  19963. "description": "交割开始日",
  19964. "type": "string"
  19965. },
  19966. "enddate": {
  19967. "description": "点价结束日",
  19968. "type": "string"
  19969. },
  19970. "enumdicname": {
  19971. "description": "单位名称",
  19972. "type": "string"
  19973. },
  19974. "goodscode": {
  19975. "description": "点价商品代码",
  19976. "type": "string"
  19977. },
  19978. "goodsid": {
  19979. "description": "点价商品ID",
  19980. "type": "integer"
  19981. },
  19982. "goodsname": {
  19983. "description": "点价商品名称",
  19984. "type": "string"
  19985. },
  19986. "invoiceamount": {
  19987. "description": "已开票额",
  19988. "type": "number"
  19989. },
  19990. "loanamount": {
  19991. "description": "贷款总额=已定价额+调整金额",
  19992. "type": "number"
  19993. },
  19994. "margin": {
  19995. "description": "保证金",
  19996. "type": "number"
  19997. },
  19998. "meruserid": {
  19999. "description": "跟单员id",
  20000. "type": "integer"
  20001. },
  20002. "meruserlogincode": {
  20003. "description": "跟单员登录代码",
  20004. "type": "string"
  20005. },
  20006. "merusername": {
  20007. "description": "跟单员名称",
  20008. "type": "string"
  20009. },
  20010. "nickname": {
  20011. "description": "账户昵称",
  20012. "type": "string"
  20013. },
  20014. "payamount": {
  20015. "description": "已收付额(收款或付款)",
  20016. "type": "number"
  20017. },
  20018. "preinvoiceamount": {
  20019. "description": "预收(开)票额",
  20020. "type": "number"
  20021. },
  20022. "prepayamount": {
  20023. "description": "预收付额",
  20024. "type": "number"
  20025. },
  20026. "price": {
  20027. "description": "价格",
  20028. "type": "number"
  20029. },
  20030. "pricedamount": {
  20031. "description": "已定价额",
  20032. "type": "number"
  20033. },
  20034. "pricedavg": {
  20035. "description": "已点均价",
  20036. "type": "number"
  20037. },
  20038. "pricedqty": {
  20039. "description": "已定价量",
  20040. "type": "number"
  20041. },
  20042. "pricemove": {
  20043. "description": "升贴水",
  20044. "type": "number"
  20045. },
  20046. "pricetype": {
  20047. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20048. "type": "integer"
  20049. },
  20050. "producttype": {
  20051. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20052. "type": "integer"
  20053. },
  20054. "qty": {
  20055. "description": "合同量",
  20056. "type": "number"
  20057. },
  20058. "reckonadjustamount": {
  20059. "description": "调整金额",
  20060. "type": "number"
  20061. },
  20062. "reckonedamount": {
  20063. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  20064. "type": "number"
  20065. },
  20066. "reckonotheramount": {
  20067. "description": "其它费用",
  20068. "type": "number"
  20069. },
  20070. "reckonrealqty": {
  20071. "description": "已确定量",
  20072. "type": "number"
  20073. },
  20074. "remark": {
  20075. "description": "备注",
  20076. "type": "string"
  20077. },
  20078. "saleuserid": {
  20079. "description": "业务员id",
  20080. "type": "integer"
  20081. },
  20082. "saleuserlogincode": {
  20083. "description": "业务员登录代码",
  20084. "type": "string"
  20085. },
  20086. "saleusername": {
  20087. "description": "业务员名称",
  20088. "type": "string"
  20089. },
  20090. "spotcontractid": {
  20091. "description": "合同ID",
  20092. "type": "string"
  20093. },
  20094. "spotgoodsbrandid": {
  20095. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20096. "type": "integer"
  20097. },
  20098. "spotgoodsdesc": {
  20099. "description": "商品型号(商品规格)",
  20100. "type": "string"
  20101. },
  20102. "startdate": {
  20103. "description": "点价开始日",
  20104. "type": "string"
  20105. },
  20106. "subjectid": {
  20107. "description": "交易主体ID",
  20108. "type": "string"
  20109. },
  20110. "subjectname": {
  20111. "description": "交易主体名称",
  20112. "type": "string"
  20113. },
  20114. "totalamount": {
  20115. "description": "合计总额",
  20116. "type": "number"
  20117. },
  20118. "tradeuserid": {
  20119. "description": "交易员id",
  20120. "type": "integer"
  20121. },
  20122. "tradeuserlogincode": {
  20123. "description": "交易员登录代码",
  20124. "type": "string"
  20125. },
  20126. "tradeusername": {
  20127. "description": "交易员名称",
  20128. "type": "string"
  20129. },
  20130. "unpayamount": {
  20131. "description": "应收付款额(应支付或应收款)",
  20132. "type": "number"
  20133. },
  20134. "unpricedqty": {
  20135. "description": "未定价量",
  20136. "type": "number"
  20137. },
  20138. "unsureqty": {
  20139. "description": "未确定量",
  20140. "type": "number"
  20141. },
  20142. "userid": {
  20143. "description": "机构ID",
  20144. "type": "integer"
  20145. },
  20146. "wrstandardcode": {
  20147. "description": "品类代码",
  20148. "type": "string"
  20149. },
  20150. "wrstandardid": {
  20151. "description": "品类ID",
  20152. "type": "integer"
  20153. },
  20154. "wrstandardname": {
  20155. "description": "品类名称",
  20156. "type": "string"
  20157. }
  20158. }
  20159. },
  20160. "models.Ermcp3SpotGoodsPrice": {
  20161. "type": "object",
  20162. "properties": {
  20163. "areauserid": {
  20164. "description": "所属机构id",
  20165. "type": "integer"
  20166. },
  20167. "brandname": {
  20168. "description": "品牌名称",
  20169. "type": "string"
  20170. },
  20171. "currencyid": {
  20172. "description": "报价货币ID",
  20173. "type": "integer"
  20174. },
  20175. "currencyname": {
  20176. "description": "币种名称",
  20177. "type": "string"
  20178. },
  20179. "deliverygoodscode": {
  20180. "description": "现货商品代码",
  20181. "type": "string"
  20182. },
  20183. "deliverygoodsid": {
  20184. "description": "现货商品id",
  20185. "type": "integer"
  20186. },
  20187. "deliverygoodsname": {
  20188. "description": "现货商品名称",
  20189. "type": "string"
  20190. },
  20191. "enumdicname": {
  20192. "description": "现货商品单位名称",
  20193. "type": "string"
  20194. },
  20195. "gbenumdicname": {
  20196. "description": "品类单位名称",
  20197. "type": "string"
  20198. },
  20199. "gmunitid": {
  20200. "description": "品类单位id",
  20201. "type": "integer"
  20202. },
  20203. "isvalid": {
  20204. "description": "是否有效 - 0:无效 1:有效",
  20205. "type": "integer"
  20206. },
  20207. "operateid": {
  20208. "description": "最后操作人",
  20209. "type": "integer"
  20210. },
  20211. "operatesrc": {
  20212. "description": "最后操作来源 - 1:管理端 2:终端",
  20213. "type": "integer"
  20214. },
  20215. "operatetime": {
  20216. "description": "最后操作时间",
  20217. "type": "string"
  20218. },
  20219. "operatorname": {
  20220. "description": "操作人名称",
  20221. "type": "string"
  20222. },
  20223. "spotgoodsbrandid": {
  20224. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  20225. "type": "integer"
  20226. },
  20227. "spotgoodsprice": {
  20228. "description": "现货价格",
  20229. "type": "number"
  20230. },
  20231. "tradedate": {
  20232. "description": "交易日(yyyyMMdd)",
  20233. "type": "string"
  20234. },
  20235. "unitid": {
  20236. "description": "现货商品单位id",
  20237. "type": "integer"
  20238. },
  20239. "wrstandardcode": {
  20240. "description": "品类代码",
  20241. "type": "string"
  20242. },
  20243. "wrstandardid": {
  20244. "description": "现货品类ID(通用则为0)",
  20245. "type": "integer"
  20246. },
  20247. "wrstandardname": {
  20248. "description": "品类名称",
  20249. "type": "string"
  20250. }
  20251. }
  20252. },
  20253. "models.Ermcp3SpotGoodsPriceLog": {
  20254. "type": "object",
  20255. "properties": {
  20256. "areauserid": {
  20257. "description": "所属机构id",
  20258. "type": "integer"
  20259. },
  20260. "brandname": {
  20261. "description": "品牌名称",
  20262. "type": "string"
  20263. },
  20264. "currencyid": {
  20265. "description": "报价货币ID",
  20266. "type": "integer"
  20267. },
  20268. "deliverygoodscode": {
  20269. "description": "现货商品代码",
  20270. "type": "string"
  20271. },
  20272. "deliverygoodsid": {
  20273. "description": "现货商品id",
  20274. "type": "integer"
  20275. },
  20276. "deliverygoodsname": {
  20277. "description": "现货商品名称",
  20278. "type": "string"
  20279. },
  20280. "enumdicname": {
  20281. "description": "现货商品单位名称",
  20282. "type": "string"
  20283. },
  20284. "gbenumdicname": {
  20285. "description": "品类单位名称",
  20286. "type": "string"
  20287. },
  20288. "gmunitid": {
  20289. "description": "品类单位id",
  20290. "type": "integer"
  20291. },
  20292. "logid": {
  20293. "description": "日志id",
  20294. "type": "integer"
  20295. },
  20296. "operateid": {
  20297. "description": "最后操作人",
  20298. "type": "integer"
  20299. },
  20300. "operatesrc": {
  20301. "description": "最后操作来源 - 1:管理端 2:终端",
  20302. "type": "integer"
  20303. },
  20304. "operatetime": {
  20305. "description": "最后操作时间",
  20306. "type": "string"
  20307. },
  20308. "operatorname": {
  20309. "description": "操作人名称",
  20310. "type": "string"
  20311. },
  20312. "spotgoodsbrandid": {
  20313. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  20314. "type": "integer"
  20315. },
  20316. "spotgoodsprice": {
  20317. "description": "现货价格",
  20318. "type": "number"
  20319. },
  20320. "tradedate": {
  20321. "description": "交易日(yyyyMMdd)",
  20322. "type": "string"
  20323. },
  20324. "unitid": {
  20325. "description": "现货商品单位id",
  20326. "type": "integer"
  20327. },
  20328. "wrstandardcode": {
  20329. "description": "品类代码",
  20330. "type": "string"
  20331. },
  20332. "wrstandardid": {
  20333. "description": "现货品类ID(通用则为0)",
  20334. "type": "integer"
  20335. },
  20336. "wrstandardname": {
  20337. "description": "品类名称",
  20338. "type": "string"
  20339. }
  20340. }
  20341. },
  20342. "models.Ermcp3TaFutuReDataReport": {
  20343. "type": "object",
  20344. "properties": {
  20345. "accountid": {
  20346. "description": "交易账户",
  20347. "type": "integer"
  20348. },
  20349. "accountname": {
  20350. "description": "交易账号名称",
  20351. "type": "string"
  20352. },
  20353. "agreeunit": {
  20354. "description": "商品合约单位",
  20355. "type": "number"
  20356. },
  20357. "begindate": {
  20358. "description": "开始交易日",
  20359. "type": "string"
  20360. },
  20361. "buyorsell": {
  20362. "description": "持仓方向",
  20363. "type": "integer"
  20364. },
  20365. "charge": {
  20366. "description": "手续费",
  20367. "type": "number"
  20368. },
  20369. "closeavgprice": {
  20370. "description": "平仓均价",
  20371. "type": "number"
  20372. },
  20373. "closepl": {
  20374. "description": "平仓损益",
  20375. "type": "number"
  20376. },
  20377. "currencyid": {
  20378. "description": "结算币种ID",
  20379. "type": "integer"
  20380. },
  20381. "currencyname": {
  20382. "description": "币种名称",
  20383. "type": "string"
  20384. },
  20385. "cycletime": {
  20386. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20387. "type": "string"
  20388. },
  20389. "cycletype": {
  20390. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20391. "type": "integer"
  20392. },
  20393. "enddate": {
  20394. "description": "结束交易日",
  20395. "type": "string"
  20396. },
  20397. "enumdicname": {
  20398. "description": "单位名称",
  20399. "type": "string"
  20400. },
  20401. "floatpl": {
  20402. "description": "浮动损益",
  20403. "type": "number"
  20404. },
  20405. "goodscode": {
  20406. "description": "交易合约代码",
  20407. "type": "string"
  20408. },
  20409. "goodsgroupid": {
  20410. "description": "交易品种",
  20411. "type": "integer"
  20412. },
  20413. "goodsgroupname": {
  20414. "description": "交易品种名称",
  20415. "type": "string"
  20416. },
  20417. "goodsgroupspotqty": {
  20418. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  20419. "type": "number"
  20420. },
  20421. "goodsid": {
  20422. "description": "交易合约",
  20423. "type": "integer"
  20424. },
  20425. "goodsname": {
  20426. "description": "交易合约名称",
  20427. "type": "string"
  20428. },
  20429. "goodunitid": {
  20430. "description": "交易合约单位id",
  20431. "type": "integer"
  20432. },
  20433. "holdamount": {
  20434. "description": "期末持仓额",
  20435. "type": "number"
  20436. },
  20437. "holdqty": {
  20438. "description": "期末持仓量",
  20439. "type": "number"
  20440. },
  20441. "lastholdamount": {
  20442. "description": "当前持仓额",
  20443. "type": "number"
  20444. },
  20445. "lastprice": {
  20446. "description": "最新价",
  20447. "type": "number"
  20448. },
  20449. "middlegoodsid": {
  20450. "description": "套保品种id",
  20451. "type": "integer"
  20452. },
  20453. "middlegoodsname": {
  20454. "description": "套保商品名称",
  20455. "type": "string"
  20456. },
  20457. "middlegoodsqty": {
  20458. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  20459. "type": "number"
  20460. },
  20461. "middlgoodscode": {
  20462. "description": "套保商品代码",
  20463. "type": "string"
  20464. },
  20465. "openamount": {
  20466. "description": "期末开仓额",
  20467. "type": "number"
  20468. },
  20469. "openavgprice": {
  20470. "description": "开仓均价",
  20471. "type": "number"
  20472. },
  20473. "oriholdamount": {
  20474. "description": "期初持仓额",
  20475. "type": "number"
  20476. },
  20477. "oriholdqty": {
  20478. "description": "期初持仓量",
  20479. "type": "number"
  20480. },
  20481. "oriopenamount": {
  20482. "description": "期初开仓额",
  20483. "type": "number"
  20484. },
  20485. "outergroupcode": {
  20486. "description": "交易品种代码",
  20487. "type": "string"
  20488. },
  20489. "qtydecimalplace": {
  20490. "description": "成交量小数位",
  20491. "type": "integer"
  20492. },
  20493. "reckondate": {
  20494. "description": "日照时期(yyyyMMdd)",
  20495. "type": "string"
  20496. },
  20497. "reckonholdamount": {
  20498. "description": "结算持仓额",
  20499. "type": "number"
  20500. },
  20501. "reckonpl": {
  20502. "description": "结算损益",
  20503. "type": "number"
  20504. },
  20505. "reckonpl2": {
  20506. "description": "结算逐笔盈亏",
  20507. "type": "number"
  20508. },
  20509. "reckonprice": {
  20510. "description": "结算价",
  20511. "type": "number"
  20512. },
  20513. "relateduserid": {
  20514. "description": "账户关联用户ID",
  20515. "type": "integer"
  20516. },
  20517. "todaycloseamount": {
  20518. "description": "今平仓额",
  20519. "type": "number"
  20520. },
  20521. "todaycloseqty": {
  20522. "description": "今平仓量",
  20523. "type": "number"
  20524. },
  20525. "todaygoodsgroupspotqty": {
  20526. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  20527. "type": "number"
  20528. },
  20529. "todaymiddlegoodsqty": {
  20530. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  20531. "type": "number"
  20532. },
  20533. "todayopenamount": {
  20534. "description": "今开仓额",
  20535. "type": "number"
  20536. },
  20537. "todayopenqty": {
  20538. "description": "今开仓量",
  20539. "type": "number"
  20540. },
  20541. "userid": {
  20542. "description": "账户所属用户ID",
  20543. "type": "integer"
  20544. }
  20545. }
  20546. },
  20547. "models.Ermcp3Wrstandard": {
  20548. "type": "object",
  20549. "properties": {
  20550. "areauserid": {
  20551. "description": "所属机构",
  20552. "type": "integer"
  20553. },
  20554. "cantrade": {
  20555. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  20556. "type": "integer"
  20557. },
  20558. "convertfactor": {
  20559. "description": "标仓系数",
  20560. "type": "number"
  20561. },
  20562. "createtime": {
  20563. "description": "创建时间",
  20564. "type": "string"
  20565. },
  20566. "creatorid": {
  20567. "description": "创建人",
  20568. "type": "integer"
  20569. },
  20570. "deliverygoodsid": {
  20571. "description": "现货品种ID",
  20572. "type": "integer"
  20573. },
  20574. "enumdicname": {
  20575. "description": "品类单位名称",
  20576. "type": "string"
  20577. },
  20578. "isvalid": {
  20579. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  20580. "type": "integer"
  20581. },
  20582. "minivalue": {
  20583. "description": "最小变动值",
  20584. "type": "integer"
  20585. },
  20586. "minivaluedp": {
  20587. "description": "最小变动值小数位",
  20588. "type": "integer"
  20589. },
  20590. "realminivalue": {
  20591. "description": "实际最小变动值",
  20592. "type": "integer"
  20593. },
  20594. "realminivaluedp": {
  20595. "description": "实际最小变动值小数位",
  20596. "type": "integer"
  20597. },
  20598. "remark": {
  20599. "description": "备注",
  20600. "type": "string"
  20601. },
  20602. "unitid": {
  20603. "description": "品类单位ID",
  20604. "type": "integer"
  20605. },
  20606. "updatetime": {
  20607. "description": "更新时间",
  20608. "type": "string"
  20609. },
  20610. "wrstandardcode": {
  20611. "description": "品类代码",
  20612. "type": "string"
  20613. },
  20614. "wrstandardid": {
  20615. "description": "品类ID(SEQ_WRSTANDARD)",
  20616. "type": "integer"
  20617. },
  20618. "wrstandardname": {
  20619. "description": "品类名称",
  20620. "type": "string"
  20621. }
  20622. }
  20623. },
  20624. "models.ErmcpAreaSpotDetailModel": {
  20625. "type": "object",
  20626. "properties": {
  20627. "contracttype": {
  20628. "description": "合同类型 1-采购 -1-销售",
  20629. "type": "integer"
  20630. },
  20631. "createtime": {
  20632. "description": "创建时间",
  20633. "type": "string"
  20634. },
  20635. "enumdicname": {
  20636. "description": "现货商品单位名称",
  20637. "type": "string"
  20638. },
  20639. "logtype": {
  20640. "description": "记录类型 1-套保 2-现货合同",
  20641. "type": "integer"
  20642. },
  20643. "qty": {
  20644. "description": "数量",
  20645. "type": "number"
  20646. },
  20647. "recordname": {
  20648. "description": "类型名称",
  20649. "type": "string"
  20650. },
  20651. "relatedid": {
  20652. "description": "套保计划ID/现货合同ID",
  20653. "type": "string"
  20654. },
  20655. "relatedno": {
  20656. "description": "编号",
  20657. "type": "string"
  20658. },
  20659. "strtime": {
  20660. "description": "时间",
  20661. "type": "string"
  20662. },
  20663. "wrstandardcode": {
  20664. "description": "现货商品代码",
  20665. "type": "string"
  20666. },
  20667. "wrstandardname": {
  20668. "description": "现货商品名称",
  20669. "type": "string"
  20670. }
  20671. }
  20672. },
  20673. "models.ErmcpAvalidGoodsGroupModel": {
  20674. "type": "object",
  20675. "properties": {
  20676. "goodsgroupid": {
  20677. "description": "期货品种id",
  20678. "type": "integer"
  20679. },
  20680. "goodsgroupname": {
  20681. "description": "期货品种名称",
  20682. "type": "string"
  20683. },
  20684. "goodunitid": {
  20685. "description": "品种单位id",
  20686. "type": "integer"
  20687. },
  20688. "goodunitname": {
  20689. "description": "品种单位名称",
  20690. "type": "string"
  20691. },
  20692. "outergroupcode": {
  20693. "description": "期货品种代码",
  20694. "type": "string"
  20695. }
  20696. }
  20697. },
  20698. "models.ErmcpBizGroupEx": {
  20699. "type": "object",
  20700. "properties": {
  20701. "acclist": {
  20702. "description": "账号列表",
  20703. "type": "array",
  20704. "items": {
  20705. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  20706. }
  20707. },
  20708. "bizgroupid": {
  20709. "description": "业务分组id",
  20710. "type": "integer"
  20711. },
  20712. "biztype": {
  20713. "description": "业务类型 1-套保 2-套利",
  20714. "type": "integer"
  20715. },
  20716. "wrlist": {
  20717. "description": "现货商品表",
  20718. "type": "array",
  20719. "items": {
  20720. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  20721. }
  20722. }
  20723. }
  20724. },
  20725. "models.ErmcpBizGroupSpotGoods": {
  20726. "type": "object",
  20727. "properties": {
  20728. "areauserid": {
  20729. "description": "所属机构id",
  20730. "type": "integer"
  20731. },
  20732. "bizgroupid": {
  20733. "description": "分组id",
  20734. "type": "integer"
  20735. },
  20736. "biztype": {
  20737. "description": "业务类型 1-套保 2-套利",
  20738. "type": "integer"
  20739. },
  20740. "deliverygoodscode": {
  20741. "description": "现货商品代码",
  20742. "type": "string"
  20743. },
  20744. "deliverygoodsid": {
  20745. "description": "现货商品id",
  20746. "type": "integer"
  20747. },
  20748. "deliverygoodsname": {
  20749. "description": "现货商品名称",
  20750. "type": "string"
  20751. },
  20752. "unitid": {
  20753. "description": "现货商品单位id",
  20754. "type": "integer"
  20755. }
  20756. }
  20757. },
  20758. "models.ErmcpBizGroupTaAccount": {
  20759. "type": "object",
  20760. "properties": {
  20761. "accountid": {
  20762. "description": "账号id",
  20763. "type": "integer"
  20764. },
  20765. "accountname": {
  20766. "description": "账号名称",
  20767. "type": "string"
  20768. },
  20769. "areauserid": {
  20770. "description": "所属机构id",
  20771. "type": "integer"
  20772. },
  20773. "bizgroupid": {
  20774. "description": "业务分组id",
  20775. "type": "integer"
  20776. },
  20777. "ismain": {
  20778. "description": "是否主账号 1-是 0-否",
  20779. "type": "integer"
  20780. }
  20781. }
  20782. },
  20783. "models.ErmcpDGFactoryItem": {
  20784. "type": "object",
  20785. "properties": {
  20786. "areauserid": {
  20787. "description": "用户id",
  20788. "type": "integer"
  20789. },
  20790. "deliverygoodsid": {
  20791. "description": "现货品种ID",
  20792. "type": "integer"
  20793. },
  20794. "dgfactoryitemid": {
  20795. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20796. "type": "integer"
  20797. },
  20798. "dgfactoryitemtypeid": {
  20799. "description": "要素项类型",
  20800. "type": "integer"
  20801. },
  20802. "dgfactoryitemvalue": {
  20803. "description": "要素项值(类型为仓库时填写仓库名称)",
  20804. "type": "string"
  20805. },
  20806. "isvalid": {
  20807. "description": "是否有效 - 0:无效 1:有效",
  20808. "type": "integer"
  20809. },
  20810. "orderindex": {
  20811. "description": "顺序",
  20812. "type": "integer"
  20813. },
  20814. "warehouseid": {
  20815. "description": "仓库ID(类型为仓库时填写)",
  20816. "type": "integer"
  20817. }
  20818. }
  20819. },
  20820. "models.ErmcpDeliveryGoods": {
  20821. "type": "object",
  20822. "properties": {
  20823. "agreeunit": {
  20824. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  20825. "type": "integer"
  20826. },
  20827. "areauserid": {
  20828. "description": "所属机构",
  20829. "type": "integer"
  20830. },
  20831. "auditflag": {
  20832. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  20833. "type": "integer"
  20834. },
  20835. "categoryid": {
  20836. "description": "类别ID(SEQ_WRCATEGORY)",
  20837. "type": "integer"
  20838. },
  20839. "deliverygoodscode": {
  20840. "description": "现货品种代码",
  20841. "type": "string"
  20842. },
  20843. "deliverygoodsid": {
  20844. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  20845. "type": "integer"
  20846. },
  20847. "deliverygoodsname": {
  20848. "description": "现货品种名称",
  20849. "type": "string"
  20850. },
  20851. "deliverygoodstype": {
  20852. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  20853. "type": "integer"
  20854. },
  20855. "dgstatus": {
  20856. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  20857. "type": "integer"
  20858. },
  20859. "enumdicname": {
  20860. "description": "现货品种单位名称",
  20861. "type": "string"
  20862. },
  20863. "goodsunitid": {
  20864. "description": "现货品种单位ID",
  20865. "type": "integer"
  20866. },
  20867. "isvalid": {
  20868. "description": "是否有效 - 0:无效 1:有效",
  20869. "type": "integer"
  20870. },
  20871. "qtydecimalplace": {
  20872. "description": "成交量小数位",
  20873. "type": "integer"
  20874. },
  20875. "remark": {
  20876. "description": "备注",
  20877. "type": "string"
  20878. },
  20879. "standardqty": {
  20880. "description": "标准数量(库位数量) [标准品特有]",
  20881. "type": "integer"
  20882. },
  20883. "standardqtyrange": {
  20884. "description": "标准数量偏差范围 [标准品特有]",
  20885. "type": "integer"
  20886. }
  20887. }
  20888. },
  20889. "models.ErmcpExposureDetailModel": {
  20890. "type": "object",
  20891. "properties": {
  20892. "areauserid": {
  20893. "description": "机构ID",
  20894. "type": "integer"
  20895. },
  20896. "changeQty": {
  20897. "description": "套保变动量",
  20898. "type": "number"
  20899. },
  20900. "contracttype": {
  20901. "description": "现货合同类型 - 1:采购 -1:销售",
  20902. "type": "integer"
  20903. },
  20904. "convertfactor": {
  20905. "description": "标仓系数",
  20906. "type": "number"
  20907. },
  20908. "convertratio": {
  20909. "description": "套保系数",
  20910. "type": "number"
  20911. },
  20912. "createtime": {
  20913. "description": "时间",
  20914. "type": "string"
  20915. },
  20916. "enumdicname": {
  20917. "description": "现货商品单位名称",
  20918. "type": "string"
  20919. },
  20920. "logtype": {
  20921. "description": "类型 - 1:套保计划 2:现货合同",
  20922. "type": "integer"
  20923. },
  20924. "middlegoodsId": {
  20925. "description": "套保商品id",
  20926. "type": "integer"
  20927. },
  20928. "middlegoodscode": {
  20929. "description": "套保商品代码",
  20930. "type": "string"
  20931. },
  20932. "middlegoodsname": {
  20933. "description": "套保商品名称",
  20934. "type": "string"
  20935. },
  20936. "qty": {
  20937. "description": "数量",
  20938. "type": "number"
  20939. },
  20940. "relateNo": {
  20941. "description": "现货合同/套保计划编号",
  20942. "type": "string"
  20943. },
  20944. "wrstandardcode": {
  20945. "description": "现货商品代码",
  20946. "type": "string"
  20947. },
  20948. "wrstandardid": {
  20949. "description": "现货商品ID",
  20950. "type": "integer"
  20951. },
  20952. "wrstandardname": {
  20953. "description": "现货商品名称",
  20954. "type": "string"
  20955. }
  20956. }
  20957. },
  20958. "models.ErmcpExposurePostion": {
  20959. "type": "object",
  20960. "properties": {
  20961. "agreeunit": {
  20962. "description": "合约单位",
  20963. "type": "string"
  20964. },
  20965. "areauserid": {
  20966. "description": "所属机构id",
  20967. "type": "integer"
  20968. },
  20969. "convertratio": {
  20970. "description": "期货品种系数(折算系数)",
  20971. "type": "number"
  20972. },
  20973. "curqty": {
  20974. "description": "当前持仓",
  20975. "type": "integer"
  20976. },
  20977. "diffhedgeqty": {
  20978. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  20979. "type": "number"
  20980. },
  20981. "diffqty": {
  20982. "description": "持仓变动量=当前持仓-昨日持仓",
  20983. "type": "integer"
  20984. },
  20985. "goodscode": {
  20986. "description": "商品代码",
  20987. "type": "string"
  20988. },
  20989. "goodsid": {
  20990. "description": "商品id",
  20991. "type": "integer"
  20992. },
  20993. "goodsname": {
  20994. "description": "商品名称",
  20995. "type": "string"
  20996. },
  20997. "middlegoodsid": {
  20998. "description": "套保商品id",
  20999. "type": "integer"
  21000. },
  21001. "ydqty": {
  21002. "description": "昨日持仓",
  21003. "type": "integer"
  21004. }
  21005. }
  21006. },
  21007. "models.ErmcpFuturesCompany": {
  21008. "type": "object",
  21009. "properties": {
  21010. "brokerid": {
  21011. "description": "经纪公司代码",
  21012. "type": "string"
  21013. },
  21014. "channeladdress": {
  21015. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  21016. "type": "string"
  21017. },
  21018. "channelid": {
  21019. "description": "对冲渠道ID",
  21020. "type": "string"
  21021. },
  21022. "createtime": {
  21023. "description": "创建时间",
  21024. "type": "string"
  21025. },
  21026. "creatorid": {
  21027. "description": "创建人",
  21028. "type": "string"
  21029. },
  21030. "fcid": {
  21031. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  21032. "type": "integer"
  21033. },
  21034. "fcname": {
  21035. "description": "期货公司名称",
  21036. "type": "string"
  21037. },
  21038. "isvalid": {
  21039. "description": "是否有效 - 0:无效 1:有效",
  21040. "type": "integer"
  21041. },
  21042. "mhpaddress": {
  21043. "description": "MHP服务地址(IP:Port)",
  21044. "type": "string"
  21045. },
  21046. "riskrulegroupid": {
  21047. "description": "风控规则组ID",
  21048. "type": "string"
  21049. },
  21050. "tradefeetmpid": {
  21051. "description": "手续费模板ID[TradeConfigTmpType为2]",
  21052. "type": "string"
  21053. },
  21054. "trademargintmpid": {
  21055. "description": "保证金模板ID [TradeConfigTmpType为1]",
  21056. "type": "string"
  21057. },
  21058. "traderatetmpid": {
  21059. "description": "汇率模板ID[TradeConfigTmpType为3]",
  21060. "type": "string"
  21061. },
  21062. "updatetime": {
  21063. "description": "更新时间",
  21064. "type": "string"
  21065. },
  21066. "updatorid": {
  21067. "description": "更新人",
  21068. "type": "string"
  21069. }
  21070. }
  21071. },
  21072. "models.ErmcpGGConvertCfg": {
  21073. "type": "object",
  21074. "properties": {
  21075. "convertratio": {
  21076. "description": "折算系数",
  21077. "type": "number"
  21078. },
  21079. "destgoodsgroupid": {
  21080. "description": "目标品种ID",
  21081. "type": "integer"
  21082. },
  21083. "dstcode": {
  21084. "description": "目录品种代码",
  21085. "type": "string"
  21086. },
  21087. "dstexchangecode": {
  21088. "description": "目标期货交易所",
  21089. "type": "string"
  21090. },
  21091. "dstname": {
  21092. "description": "目标品种名称",
  21093. "type": "string"
  21094. },
  21095. "dstunitid": {
  21096. "description": "目标品种单位ID",
  21097. "type": "integer"
  21098. },
  21099. "dstunitidname": {
  21100. "description": "目标品种单位名称",
  21101. "type": "string"
  21102. },
  21103. "modifytime": {
  21104. "description": "修改时间",
  21105. "type": "string"
  21106. },
  21107. "srccode": {
  21108. "description": "源品种代码",
  21109. "type": "string"
  21110. },
  21111. "srcexchangecode": {
  21112. "description": "源期货交易所",
  21113. "type": "string"
  21114. },
  21115. "srcgoodsgroupid": {
  21116. "description": "源品种ID",
  21117. "type": "integer"
  21118. },
  21119. "srcname": {
  21120. "description": "源品种名称",
  21121. "type": "string"
  21122. },
  21123. "srcunitid": {
  21124. "description": "源品种单位ID",
  21125. "type": "integer"
  21126. },
  21127. "srcunitidname": {
  21128. "description": "源品种单位名称",
  21129. "type": "string"
  21130. }
  21131. }
  21132. },
  21133. "models.ErmcpGoods": {
  21134. "type": "object",
  21135. "required": [
  21136. "goodscode",
  21137. "goodsid",
  21138. "goodsname",
  21139. "marketid"
  21140. ],
  21141. "properties": {
  21142. "agreeunit": {
  21143. "description": "合约单位",
  21144. "type": "number"
  21145. },
  21146. "areauserid": {
  21147. "description": "所属机构",
  21148. "type": "integer"
  21149. },
  21150. "auditaccountid": {
  21151. "description": "审核操作员账号",
  21152. "type": "integer"
  21153. },
  21154. "audittime": {
  21155. "description": "审核时间",
  21156. "type": "string"
  21157. },
  21158. "cancelaccountid": {
  21159. "description": "注销操作员账号",
  21160. "type": "integer"
  21161. },
  21162. "canceltime": {
  21163. "description": "注销时间",
  21164. "type": "string"
  21165. },
  21166. "closepricemode": {
  21167. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21168. "type": "integer"
  21169. },
  21170. "closepriceparam": {
  21171. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  21172. "type": "number"
  21173. },
  21174. "createtime": {
  21175. "description": "创建时间",
  21176. "type": "string"
  21177. },
  21178. "creatorid": {
  21179. "description": "创建人",
  21180. "type": "integer"
  21181. },
  21182. "currencyid": {
  21183. "description": "报价货币ID",
  21184. "type": "integer"
  21185. },
  21186. "cutmode": {
  21187. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  21188. "type": "integer"
  21189. },
  21190. "decimalplace": {
  21191. "description": "报价小数位",
  21192. "type": "integer"
  21193. },
  21194. "delistingdate": {
  21195. "description": "商品退市时间(状态:退市) -- 已作废",
  21196. "type": "string"
  21197. },
  21198. "delistingmode": {
  21199. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  21200. "type": "integer"
  21201. },
  21202. "deliveryflag": {
  21203. "description": "交割标志 - 0:不可交割 1:可交割",
  21204. "type": "integer"
  21205. },
  21206. "enumdicname": {
  21207. "description": "单位名称",
  21208. "type": "string"
  21209. },
  21210. "forceclosemode": {
  21211. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  21212. "type": "integer"
  21213. },
  21214. "forceclosevalue": {
  21215. "description": "定期强平参数 [收益权]",
  21216. "type": "integer"
  21217. },
  21218. "goodscode": {
  21219. "description": "商品代码(内部)",
  21220. "type": "string"
  21221. },
  21222. "goodscurrencyid": {
  21223. "description": "合约货币ID",
  21224. "type": "integer"
  21225. },
  21226. "goodsgroupid": {
  21227. "description": "所属商品组ID",
  21228. "type": "integer"
  21229. },
  21230. "goodsid": {
  21231. "description": "商品ID(自增ID SEQ_GOODS)",
  21232. "type": "integer"
  21233. },
  21234. "goodsname": {
  21235. "description": "商品名称",
  21236. "type": "string"
  21237. },
  21238. "goodsquotetype": {
  21239. "description": "合约报价类型: 1-直接报价 2-间接报价",
  21240. "type": "integer"
  21241. },
  21242. "goodsstatus": {
  21243. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21244. "type": "integer"
  21245. },
  21246. "goodstradetype": {
  21247. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  21248. "type": "integer"
  21249. },
  21250. "goodunitid": {
  21251. "description": "报价单位ID",
  21252. "type": "integer"
  21253. },
  21254. "hasquoter": {
  21255. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  21256. "type": "integer"
  21257. },
  21258. "hqprotecttime": {
  21259. "description": "行情保护时间(秒)",
  21260. "type": "integer"
  21261. },
  21262. "innerdealmode": {
  21263. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21264. "type": "integer"
  21265. },
  21266. "isbuylimited": {
  21267. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21268. "type": "integer"
  21269. },
  21270. "isvisible": {
  21271. "description": "游客是否可见 - 0:不可见 1:可见",
  21272. "type": "integer"
  21273. },
  21274. "lasttradedate": {
  21275. "description": "最后交易日期(状态:待退市)",
  21276. "type": "string"
  21277. },
  21278. "listingdate": {
  21279. "description": "交易开始日期",
  21280. "type": "string"
  21281. },
  21282. "marketid": {
  21283. "description": "所属市场ID",
  21284. "type": "integer"
  21285. },
  21286. "modifierid": {
  21287. "description": "修改人",
  21288. "type": "integer"
  21289. },
  21290. "modifystatus": {
  21291. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  21292. "type": "integer"
  21293. },
  21294. "modifytime": {
  21295. "description": "修改时间",
  21296. "type": "string"
  21297. },
  21298. "outerdealmode": {
  21299. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21300. "type": "integer"
  21301. },
  21302. "outgoodscode": {
  21303. "description": "商品代码(外部)",
  21304. "type": "string"
  21305. },
  21306. "pictureurl": {
  21307. "description": "商品图片",
  21308. "type": "string"
  21309. },
  21310. "qtydecimalplace": {
  21311. "description": "成交量小数位",
  21312. "type": "integer"
  21313. },
  21314. "quotegear": {
  21315. "description": "行情档位(1-10)",
  21316. "type": "integer"
  21317. },
  21318. "quoteminunit": {
  21319. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21320. "type": "integer"
  21321. },
  21322. "quoteshowtype": {
  21323. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  21324. "type": "integer"
  21325. },
  21326. "quoteshowtypeinterval": {
  21327. "description": "行情报价间隔时间(秒)(成交价时为0)",
  21328. "type": "integer"
  21329. },
  21330. "relatedgoodsid": {
  21331. "description": "关联参考商品ID",
  21332. "type": "integer"
  21333. },
  21334. "remark": {
  21335. "description": "备注",
  21336. "type": "string"
  21337. },
  21338. "trademode": {
  21339. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21340. "type": "integer"
  21341. }
  21342. }
  21343. },
  21344. "models.ErmcpGoodsBrand": {
  21345. "type": "object",
  21346. "properties": {
  21347. "areauserid": {
  21348. "description": "所属机构",
  21349. "type": "integer"
  21350. },
  21351. "brandid": {
  21352. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  21353. "type": "integer"
  21354. },
  21355. "brandname": {
  21356. "description": "品牌名称",
  21357. "type": "string"
  21358. },
  21359. "createtime": {
  21360. "description": "创建时间",
  21361. "type": "string"
  21362. },
  21363. "creatorid": {
  21364. "description": "创建人",
  21365. "type": "integer"
  21366. },
  21367. "creatorsrc": {
  21368. "description": "创建人来源 - 1:管理端 2:终端",
  21369. "type": "integer"
  21370. },
  21371. "deliverygoodsid": {
  21372. "description": "现货品种ID",
  21373. "type": "integer"
  21374. },
  21375. "isvalid": {
  21376. "description": "是否有效 - 0:无效 1:有效",
  21377. "type": "integer"
  21378. },
  21379. "updatetime": {
  21380. "description": "更新时间",
  21381. "type": "string"
  21382. },
  21383. "updatorid": {
  21384. "description": "更新人",
  21385. "type": "integer"
  21386. },
  21387. "updatorsrc": {
  21388. "description": "更新人来源 - 1:管理端 2:终端",
  21389. "type": "integer"
  21390. },
  21391. "wrstandardid": {
  21392. "description": "现货商品ID",
  21393. "type": "integer"
  21394. }
  21395. }
  21396. },
  21397. "models.ErmcpGoodsModel": {
  21398. "type": "object",
  21399. "properties": {
  21400. "areauserid": {
  21401. "description": "所属机构",
  21402. "type": "integer"
  21403. },
  21404. "convertfactor": {
  21405. "description": "标仓系数",
  21406. "type": "number"
  21407. },
  21408. "createtime": {
  21409. "description": "创建时间",
  21410. "type": "string"
  21411. },
  21412. "creatorid": {
  21413. "description": "创建人",
  21414. "type": "integer"
  21415. },
  21416. "creatorsrc": {
  21417. "description": "创建人来源 - 1:管理端 2:终端",
  21418. "type": "integer"
  21419. },
  21420. "deliverygoodsid": {
  21421. "description": "现货品种ID",
  21422. "type": "integer"
  21423. },
  21424. "isvalid": {
  21425. "description": "是否有效 - 0:无效 1:有效",
  21426. "type": "integer"
  21427. },
  21428. "modelid": {
  21429. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  21430. "type": "integer"
  21431. },
  21432. "modelname": {
  21433. "description": "型号名称",
  21434. "type": "string"
  21435. },
  21436. "updatetime": {
  21437. "description": "更新时间",
  21438. "type": "string"
  21439. },
  21440. "updatorid": {
  21441. "description": "更新人",
  21442. "type": "integer"
  21443. },
  21444. "updatorsrc": {
  21445. "description": "更新人来源 - 1:管理端 2:终端",
  21446. "type": "integer"
  21447. },
  21448. "wrstandardid": {
  21449. "description": "现货商品ID",
  21450. "type": "integer"
  21451. }
  21452. }
  21453. },
  21454. "models.ErmcpHedgePosition": {
  21455. "type": "object",
  21456. "properties": {
  21457. "accountid": {
  21458. "description": "资金账号[外部母账户]",
  21459. "type": "integer"
  21460. },
  21461. "curbuyposition": {
  21462. "description": "期末买头寸",
  21463. "type": "integer"
  21464. },
  21465. "cursellposition": {
  21466. "description": "期末卖头寸",
  21467. "type": "integer"
  21468. },
  21469. "curtdbuyposition": {
  21470. "description": "期末今日买头寸",
  21471. "type": "integer"
  21472. },
  21473. "curtdsellposition": {
  21474. "description": "期末今日卖头寸",
  21475. "type": "integer"
  21476. },
  21477. "curydbuyposition": {
  21478. "description": "期末上日买头寸",
  21479. "type": "integer"
  21480. },
  21481. "curydsellposition": {
  21482. "description": "期末上日卖头寸",
  21483. "type": "integer"
  21484. },
  21485. "decreaseqty": {
  21486. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  21487. "type": "integer"
  21488. },
  21489. "fretdbuyposition": {
  21490. "description": "冻结今日买头寸",
  21491. "type": "integer"
  21492. },
  21493. "fretdsellposition": {
  21494. "description": "冻结今日卖头寸",
  21495. "type": "integer"
  21496. },
  21497. "freydbuyposition": {
  21498. "description": "冻结上日买头寸",
  21499. "type": "integer"
  21500. },
  21501. "freydsellposition": {
  21502. "description": "冻结上日卖头寸",
  21503. "type": "integer"
  21504. },
  21505. "goodscode": {
  21506. "description": "商品代码",
  21507. "type": "string"
  21508. },
  21509. "goodsid": {
  21510. "description": "商品id",
  21511. "type": "integer"
  21512. },
  21513. "goodsname": {
  21514. "description": "商品名称",
  21515. "type": "string"
  21516. },
  21517. "hedgeaccountcode": {
  21518. "description": "对冲账号",
  21519. "type": "string"
  21520. },
  21521. "hedgegoodsid": {
  21522. "description": "对冲合约ID",
  21523. "type": "integer"
  21524. },
  21525. "increaseqty": {
  21526. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  21527. "type": "integer"
  21528. },
  21529. "marketid": {
  21530. "description": "市场ID",
  21531. "type": "integer"
  21532. },
  21533. "relateduserid": {
  21534. "description": "关联用户id",
  21535. "type": "integer"
  21536. },
  21537. "totalcurqty": {
  21538. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  21539. "type": "integer"
  21540. },
  21541. "totalydqty": {
  21542. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  21543. "type": "integer"
  21544. },
  21545. "tradedate": {
  21546. "description": "交易日(yyyyMMdd)",
  21547. "type": "string"
  21548. },
  21549. "ydbuyposition": {
  21550. "description": "期初买头寸",
  21551. "type": "integer"
  21552. },
  21553. "ydsellposition": {
  21554. "description": "期初卖头寸",
  21555. "type": "integer"
  21556. }
  21557. }
  21558. },
  21559. "models.ErmcpHedgePositionDetail": {
  21560. "type": "object",
  21561. "properties": {
  21562. "buyorsell": {
  21563. "description": "买卖方向 0-买 1-卖",
  21564. "type": "integer"
  21565. },
  21566. "channelbuildtype": {
  21567. "description": "开平方向 1-建仓 2-平仓",
  21568. "type": "integer"
  21569. },
  21570. "goodscode": {
  21571. "description": "商品代码",
  21572. "type": "string"
  21573. },
  21574. "goodsname": {
  21575. "description": "商品名称",
  21576. "type": "string"
  21577. },
  21578. "hedgegoodsid": {
  21579. "description": "商品id",
  21580. "type": "integer"
  21581. },
  21582. "tradeqty": {
  21583. "description": "数量(成交数量)",
  21584. "type": "integer"
  21585. },
  21586. "tradetime": {
  21587. "description": "时间(成交时间)",
  21588. "type": "string"
  21589. }
  21590. }
  21591. },
  21592. "models.ErmcpHisExposure": {
  21593. "type": "object",
  21594. "properties": {
  21595. "needhedgeexposoure": {
  21596. "description": "应套保敞口",
  21597. "type": "number"
  21598. },
  21599. "reckondate": {
  21600. "description": "日照时期(yyyyMMdd)",
  21601. "type": "string"
  21602. },
  21603. "totalexposure": {
  21604. "description": "总敞口",
  21605. "type": "number"
  21606. }
  21607. }
  21608. },
  21609. "models.ErmcpHisExposureS": {
  21610. "type": "object",
  21611. "properties": {
  21612. "data": {
  21613. "description": "历史敞口",
  21614. "type": "array",
  21615. "items": {
  21616. "$ref": "#/definitions/models.ErmcpHisExposure"
  21617. }
  21618. },
  21619. "enumdicname": {
  21620. "description": "单位名称",
  21621. "type": "string"
  21622. },
  21623. "middlegoodscode": {
  21624. "description": "套保品种代码",
  21625. "type": "string"
  21626. },
  21627. "middlegoodsid": {
  21628. "description": "套保品种ID",
  21629. "type": "integer"
  21630. },
  21631. "middlegoodsname": {
  21632. "description": "套保品种名称",
  21633. "type": "string"
  21634. }
  21635. }
  21636. },
  21637. "models.ErmcpLoginTaAccount": {
  21638. "type": "object",
  21639. "properties": {
  21640. "accountid": {
  21641. "description": "账号id",
  21642. "type": "integer"
  21643. },
  21644. "accountname": {
  21645. "description": "账号名称",
  21646. "type": "string"
  21647. }
  21648. }
  21649. },
  21650. "models.ErmcpLoginUser": {
  21651. "type": "object",
  21652. "properties": {
  21653. "acclist": {
  21654. "description": "关联资金账号",
  21655. "type": "array",
  21656. "items": {
  21657. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  21658. }
  21659. },
  21660. "accountname": {
  21661. "description": "用户名称",
  21662. "type": "string"
  21663. },
  21664. "clientroleid": {
  21665. "description": "角色id(usertype=2)",
  21666. "type": "integer"
  21667. },
  21668. "createtime": {
  21669. "description": "创建时间",
  21670. "type": "string"
  21671. },
  21672. "logincode": {
  21673. "description": "登录代码",
  21674. "type": "string"
  21675. },
  21676. "loginid": {
  21677. "description": "登录id(LOGINID)",
  21678. "type": "integer"
  21679. },
  21680. "loginname": {
  21681. "description": "登录名称(loginaccount表中的accountname字段)",
  21682. "type": "string"
  21683. },
  21684. "loginstatus": {
  21685. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  21686. "type": "integer"
  21687. },
  21688. "memberuserid": {
  21689. "description": "所属会员id",
  21690. "type": "integer"
  21691. },
  21692. "mobile": {
  21693. "description": "手机号",
  21694. "type": "string"
  21695. },
  21696. "modifytime": {
  21697. "description": "修改时间",
  21698. "type": "string"
  21699. },
  21700. "password": {
  21701. "description": "密码(不可解密)",
  21702. "type": "string"
  21703. },
  21704. "rolename": {
  21705. "description": "角色名称",
  21706. "type": "string"
  21707. },
  21708. "rolestatus": {
  21709. "description": "角色状态 1-启用 2-停用",
  21710. "type": "integer"
  21711. },
  21712. "roletype": {
  21713. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  21714. "type": "string"
  21715. },
  21716. "userid": {
  21717. "description": "用户id",
  21718. "type": "integer"
  21719. },
  21720. "usertype": {
  21721. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  21722. "type": "integer"
  21723. }
  21724. }
  21725. },
  21726. "models.ErmcpLoginUserEx": {
  21727. "type": "object",
  21728. "properties": {
  21729. "accountstatus": {
  21730. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21731. "type": "integer"
  21732. },
  21733. "mobile": {
  21734. "description": "手机号",
  21735. "type": "string"
  21736. },
  21737. "querytype": {
  21738. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  21739. "type": "integer"
  21740. },
  21741. "roleid": {
  21742. "description": "角色id(交易账户-\u003e用户id)",
  21743. "type": "integer"
  21744. },
  21745. "rolename": {
  21746. "description": "角色名称(交易账户-\u003e用户名称)",
  21747. "type": "string"
  21748. },
  21749. "userlist": {
  21750. "description": "用户列表",
  21751. "type": "array",
  21752. "items": {
  21753. "$ref": "#/definitions/models.ErmcpLoginUser"
  21754. }
  21755. },
  21756. "usertype": {
  21757. "description": "用户类型 2-机构 7-企业成员(云平台)",
  21758. "type": "integer"
  21759. }
  21760. }
  21761. },
  21762. "models.ErmcpMiddleGoodsChangeLog": {
  21763. "type": "object",
  21764. "properties": {
  21765. "aftervalue": {
  21766. "description": "变更后",
  21767. "type": "number"
  21768. },
  21769. "applyid": {
  21770. "description": "操作人",
  21771. "type": "integer"
  21772. },
  21773. "applyname": {
  21774. "description": "操作人名称",
  21775. "type": "string"
  21776. },
  21777. "applysrc": {
  21778. "description": "操作来源 - 1:管理端 2:终端",
  21779. "type": "integer"
  21780. },
  21781. "beforevalue": {
  21782. "description": "变更前",
  21783. "type": "number"
  21784. },
  21785. "changelogtype": {
  21786. "description": "变更流水类型 - 1:套保比率变更",
  21787. "type": "integer"
  21788. },
  21789. "handlestatus": {
  21790. "description": "处理状态",
  21791. "type": "integer"
  21792. },
  21793. "logdatetime": {
  21794. "description": "流水日期",
  21795. "type": "string"
  21796. },
  21797. "logid": {
  21798. "description": "流水ID",
  21799. "type": "integer"
  21800. },
  21801. "logremark": {
  21802. "description": "流水备注",
  21803. "type": "string"
  21804. },
  21805. "middlegoodsid": {
  21806. "description": "套保品种ID",
  21807. "type": "integer"
  21808. },
  21809. "tradedate": {
  21810. "description": "交易日(yyyyMMdd)",
  21811. "type": "string"
  21812. },
  21813. "updatetime": {
  21814. "description": "更新时间",
  21815. "type": "string"
  21816. }
  21817. }
  21818. },
  21819. "models.ErmcpMiddleGoodsDetail": {
  21820. "type": "object",
  21821. "properties": {
  21822. "cvList": {
  21823. "description": "期货品种折算列表",
  21824. "type": "array",
  21825. "items": {
  21826. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  21827. }
  21828. },
  21829. "mg": {
  21830. "description": "套保品种基本信息",
  21831. "type": "object",
  21832. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  21833. },
  21834. "wrcList": {
  21835. "description": "现货品种列表(现货商品折算配置)",
  21836. "type": "array",
  21837. "items": {
  21838. "$ref": "#/definitions/models.WRSConverTDetail"
  21839. }
  21840. }
  21841. }
  21842. },
  21843. "models.ErmcpMiddleGoodsModel": {
  21844. "type": "object",
  21845. "properties": {
  21846. "areauserid": {
  21847. "description": "机构用户ID",
  21848. "type": "integer"
  21849. },
  21850. "createtime": {
  21851. "description": "修改时间",
  21852. "type": "string"
  21853. },
  21854. "enumdicname": {
  21855. "description": "单位名称",
  21856. "type": "string"
  21857. },
  21858. "evaluateratio": {
  21859. "description": "估价系数",
  21860. "type": "number"
  21861. },
  21862. "goodsgroupid": {
  21863. "description": "关联期货品种ID",
  21864. "type": "integer"
  21865. },
  21866. "goodsunitid": {
  21867. "description": "单位ID",
  21868. "type": "integer"
  21869. },
  21870. "isvalid": {
  21871. "description": "状态 0-无效(停用) 1-有效(正常)",
  21872. "type": "integer"
  21873. },
  21874. "middlegoodscode": {
  21875. "description": "套保品种代码",
  21876. "type": "string"
  21877. },
  21878. "middlegoodsid": {
  21879. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21880. "type": "integer"
  21881. },
  21882. "middlegoodsname": {
  21883. "description": "套保品种名称",
  21884. "type": "string"
  21885. },
  21886. "modifytime": {
  21887. "description": "修改时间",
  21888. "type": "string"
  21889. },
  21890. "needarbitrageratio": {
  21891. "description": "套利比例",
  21892. "type": "number"
  21893. },
  21894. "needhedgeratio": {
  21895. "description": "套保比率",
  21896. "type": "number"
  21897. },
  21898. "qtydecimalplace": {
  21899. "description": "数量小数位",
  21900. "type": "integer"
  21901. },
  21902. "relatedgoodsid": {
  21903. "description": "关联交易商品ID",
  21904. "type": "integer"
  21905. },
  21906. "relatedgoodstype": {
  21907. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  21908. "type": "integer"
  21909. },
  21910. "remark": {
  21911. "description": "备注",
  21912. "type": "string"
  21913. }
  21914. }
  21915. },
  21916. "models.ErmcpMiddlegoodsRelateGoods": {
  21917. "type": "object",
  21918. "properties": {
  21919. "agreeunit": {
  21920. "description": "合约乘数",
  21921. "type": "number"
  21922. },
  21923. "convertratio": {
  21924. "description": "折算系数",
  21925. "type": "number"
  21926. },
  21927. "enumdicname": {
  21928. "description": "单位名称(交易商品)",
  21929. "type": "string"
  21930. },
  21931. "goodscode": {
  21932. "description": "交易商品代码",
  21933. "type": "string"
  21934. },
  21935. "goodsgroupid": {
  21936. "description": "交易品种id",
  21937. "type": "integer"
  21938. },
  21939. "goodsid": {
  21940. "description": "商品Id",
  21941. "type": "integer"
  21942. },
  21943. "goodsname": {
  21944. "description": "交易商品名称",
  21945. "type": "string"
  21946. },
  21947. "goodunitid": {
  21948. "description": "交易商品单位id",
  21949. "type": "integer"
  21950. },
  21951. "middlegoodsid": {
  21952. "description": "套保商品id",
  21953. "type": "integer"
  21954. },
  21955. "middlegoodsname": {
  21956. "description": "套保商品名称",
  21957. "type": "string"
  21958. },
  21959. "middlegoodsswcode": {
  21960. "description": "套保商品代码",
  21961. "type": "string"
  21962. },
  21963. "needarbitrageratio": {
  21964. "description": "应套利比例",
  21965. "type": "number"
  21966. },
  21967. "needhedgeratio": {
  21968. "description": "应套保比例",
  21969. "type": "number"
  21970. }
  21971. }
  21972. },
  21973. "models.ErmcpOPLogModel": {
  21974. "type": "object",
  21975. "properties": {
  21976. "aftervalue": {
  21977. "description": "变更后",
  21978. "type": "number"
  21979. },
  21980. "applyid": {
  21981. "description": "操作人ID",
  21982. "type": "string"
  21983. },
  21984. "applyname": {
  21985. "description": "操作人名称",
  21986. "type": "string"
  21987. },
  21988. "beforevalue": {
  21989. "description": "变更前",
  21990. "type": "number"
  21991. },
  21992. "biztype": {
  21993. "description": "业务类型 - 1:套保计划 2:现货合同",
  21994. "type": "integer"
  21995. },
  21996. "contracttype": {
  21997. "description": "现货合同类型 - 1:采购 -1:销售",
  21998. "type": "integer"
  21999. },
  22000. "logvalue": {
  22001. "description": "数值",
  22002. "type": "number"
  22003. },
  22004. "operatelogtype": {
  22005. "description": "操作流水类型",
  22006. "type": "integer"
  22007. },
  22008. "operatelogtypedesc": {
  22009. "description": "操作流水类型名称",
  22010. "type": "string"
  22011. },
  22012. "relatedid": {
  22013. "description": "现货合同ID\\套保计划",
  22014. "type": "string"
  22015. },
  22016. "updatetime": {
  22017. "description": "更新时间",
  22018. "type": "string"
  22019. }
  22020. }
  22021. },
  22022. "models.ErmcpPendingAudit": {
  22023. "type": "object",
  22024. "properties": {
  22025. "areastockqty": {
  22026. "description": "待审核数量: 库存申请",
  22027. "type": "integer"
  22028. },
  22029. "businessdjqty": {
  22030. "description": "待审核数量: 点价",
  22031. "type": "integer"
  22032. },
  22033. "businessfpqty": {
  22034. "description": "待审核数量: 发票",
  22035. "type": "integer"
  22036. },
  22037. "businessjsqty": {
  22038. "description": "待审核数量: 结算",
  22039. "type": "integer"
  22040. },
  22041. "businesskxqty": {
  22042. "description": "待审核数量: 款项",
  22043. "type": "integer"
  22044. },
  22045. "hedgeplanqty": {
  22046. "description": "待审核数量: 套保计划",
  22047. "type": "integer"
  22048. },
  22049. "spotcontractqty": {
  22050. "description": "待审核数量: 现货合同",
  22051. "type": "integer"
  22052. },
  22053. "userqty": {
  22054. "description": "待审核数量: 用户",
  22055. "type": "integer"
  22056. }
  22057. }
  22058. },
  22059. "models.ErmcpRealExposureModel": {
  22060. "type": "object",
  22061. "properties": {
  22062. "AreaUserID": {
  22063. "description": "所属机构",
  22064. "type": "integer"
  22065. },
  22066. "BuyFutureQty": {
  22067. "description": "买入期货数量",
  22068. "type": "number"
  22069. },
  22070. "BuyPlanQty": {
  22071. "description": "采购计划数量",
  22072. "type": "number"
  22073. },
  22074. "BuyPricedQty": {
  22075. "description": "采购合同已定价数量",
  22076. "type": "number"
  22077. },
  22078. "MiddleGoodsCode": {
  22079. "description": "套保品种代码",
  22080. "type": "string"
  22081. },
  22082. "MiddleGoodsHedgeRatio": {
  22083. "description": "套保比例",
  22084. "type": "number"
  22085. },
  22086. "MiddleGoodsID": {
  22087. "description": "套保品种",
  22088. "type": "integer"
  22089. },
  22090. "MiddleGoodsName": {
  22091. "description": "套保品种名称",
  22092. "type": "string"
  22093. },
  22094. "NeedHedgeExposoure": {
  22095. "description": "应套保敞口(套保敞口)",
  22096. "type": "number"
  22097. },
  22098. "NeedHedgeRatio": {
  22099. "description": "应套保敞口比例",
  22100. "type": "number"
  22101. },
  22102. "OriBuyFutureQty": {
  22103. "description": "期初买入期货数量",
  22104. "type": "number"
  22105. },
  22106. "OriBuyPlanQty": {
  22107. "description": "期初采购计划数量",
  22108. "type": "number"
  22109. },
  22110. "OriBuyPricedQty": {
  22111. "description": "期初采购合同已定价数量",
  22112. "type": "number"
  22113. },
  22114. "OriSellFutureQty": {
  22115. "description": "期初卖出期货数量",
  22116. "type": "number"
  22117. },
  22118. "OriSellPlanQty": {
  22119. "description": "期初销售计划数量",
  22120. "type": "number"
  22121. },
  22122. "OriSellPricedQty": {
  22123. "description": "期初销售合同已定价数量",
  22124. "type": "number"
  22125. },
  22126. "SellFutureQty": {
  22127. "description": "卖出期货数量",
  22128. "type": "number"
  22129. },
  22130. "SellPlanQty": {
  22131. "description": "销售计划数量",
  22132. "type": "number"
  22133. },
  22134. "SellPricedQty": {
  22135. "description": "销售合同已定价数量",
  22136. "type": "number"
  22137. },
  22138. "TotalExposure": {
  22139. "description": "总敞口 平安:净敞口",
  22140. "type": "number"
  22141. },
  22142. "TotalFutureQty": {
  22143. "description": "期货总量 平安:保值净持仓量",
  22144. "type": "number"
  22145. },
  22146. "TotalHedgeRatio": {
  22147. "description": "敞口比例",
  22148. "type": "number"
  22149. },
  22150. "TotalNeedHedgeQty": {
  22151. "description": "应套保总量(现货应套保总量)",
  22152. "type": "number"
  22153. },
  22154. "TotalSpotQty": {
  22155. "description": "现货总量 平安:采销定价净值",
  22156. "type": "number"
  22157. },
  22158. "arbitrageqty": {
  22159. "description": "套利量",
  22160. "type": "number"
  22161. },
  22162. "diffArbitrageQty": {
  22163. "description": "套利变动量",
  22164. "type": "number"
  22165. },
  22166. "diffExposoureQty": {
  22167. "description": "变动量(套保敞口)",
  22168. "type": "number"
  22169. },
  22170. "diffFutuQty": {
  22171. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  22172. "type": "number"
  22173. },
  22174. "diffHedgeQty": {
  22175. "description": "套保变动量",
  22176. "type": "number"
  22177. },
  22178. "diffQty": {
  22179. "description": "变动量(总敞口) 平安:净敞口今日变动",
  22180. "type": "number"
  22181. },
  22182. "diffSpotHedgeQty": {
  22183. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  22184. "type": "number"
  22185. },
  22186. "diffSpotQty": {
  22187. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  22188. "type": "number"
  22189. },
  22190. "enumdicname": {
  22191. "description": "单位名称",
  22192. "type": "string"
  22193. },
  22194. "hedgeqty": {
  22195. "description": "套保量",
  22196. "type": "number"
  22197. },
  22198. "needarbitrageqty": {
  22199. "description": "应套利量",
  22200. "type": "number"
  22201. },
  22202. "needarbitrageratio": {
  22203. "description": "套利比例",
  22204. "type": "number"
  22205. },
  22206. "needhedgeqty": {
  22207. "description": "应套保量",
  22208. "type": "number"
  22209. },
  22210. "oriTotalFutuQty": {
  22211. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  22212. "type": "number"
  22213. },
  22214. "oriTotalSpotQty": {
  22215. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  22216. "type": "number"
  22217. },
  22218. "oriarbitrageqty": {
  22219. "description": "期初套利量",
  22220. "type": "number"
  22221. },
  22222. "orihedgeqty": {
  22223. "description": "期初套保量",
  22224. "type": "number"
  22225. },
  22226. "orineedhedgeexposoure": {
  22227. "description": "期初套保敞口",
  22228. "type": "number"
  22229. },
  22230. "oritotalexposure": {
  22231. "description": "期初总敞口",
  22232. "type": "number"
  22233. },
  22234. "oritotalfutureqty": {
  22235. "description": "期初期货总量",
  22236. "type": "number"
  22237. },
  22238. "oritotalneedhedgeqty": {
  22239. "description": "期初现货应套保量",
  22240. "type": "number"
  22241. }
  22242. }
  22243. },
  22244. "models.ErmcpRole": {
  22245. "type": "object",
  22246. "properties": {
  22247. "areauserid": {
  22248. "description": "所属机构",
  22249. "type": "integer"
  22250. },
  22251. "autoid": {
  22252. "description": "角色ID(自增ID)",
  22253. "type": "integer"
  22254. },
  22255. "modifierid": {
  22256. "description": "修改人(创建人)",
  22257. "type": "integer"
  22258. },
  22259. "modifiername": {
  22260. "description": "修改人名称",
  22261. "type": "string"
  22262. },
  22263. "modifytime": {
  22264. "description": "修改时间(创建时间)",
  22265. "type": "string"
  22266. },
  22267. "rolename": {
  22268. "description": "角色名称",
  22269. "type": "string"
  22270. },
  22271. "rolestatus": {
  22272. "description": "角色状态 - 1:启用 2:停用",
  22273. "type": "integer"
  22274. },
  22275. "roletype": {
  22276. "description": "角色类型 - 1- 管理端 2- 交易端",
  22277. "type": "integer"
  22278. }
  22279. }
  22280. },
  22281. "models.ErmcpRoleMenu": {
  22282. "type": "object",
  22283. "properties": {
  22284. "iconame": {
  22285. "description": "菜单图标",
  22286. "type": "string"
  22287. },
  22288. "ishadrole": {
  22289. "description": "是否有权限",
  22290. "type": "boolean"
  22291. },
  22292. "menutype": {
  22293. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  22294. "type": "integer"
  22295. },
  22296. "parentcode": {
  22297. "description": "上级资源代码",
  22298. "type": "string"
  22299. },
  22300. "remark": {
  22301. "description": "菜单备注",
  22302. "type": "string"
  22303. },
  22304. "resourcecode": {
  22305. "description": "菜单代码",
  22306. "type": "string"
  22307. },
  22308. "resourcelevel": {
  22309. "description": "级别",
  22310. "type": "integer"
  22311. },
  22312. "resourcename": {
  22313. "description": "菜单名称",
  22314. "type": "string"
  22315. },
  22316. "roleid": {
  22317. "description": "角色id",
  22318. "type": "integer"
  22319. },
  22320. "sort": {
  22321. "description": "排序",
  22322. "type": "integer"
  22323. },
  22324. "url": {
  22325. "description": "URL",
  22326. "type": "string"
  22327. },
  22328. "userid": {
  22329. "description": "用户id",
  22330. "type": "integer"
  22331. }
  22332. }
  22333. },
  22334. "models.ErmcpRoleMenuEx": {
  22335. "type": "object",
  22336. "properties": {
  22337. "menu": {
  22338. "description": "父级菜单",
  22339. "type": "object",
  22340. "$ref": "#/definitions/models.ErmcpRoleMenu"
  22341. },
  22342. "subMenu": {
  22343. "description": "子级菜单",
  22344. "type": "array",
  22345. "items": {
  22346. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  22347. }
  22348. }
  22349. }
  22350. },
  22351. "models.ErmcpTaAccount": {
  22352. "type": "object",
  22353. "properties": {
  22354. "accountid": {
  22355. "description": "账户id",
  22356. "type": "integer"
  22357. },
  22358. "accountname": {
  22359. "description": "账户名称",
  22360. "type": "string"
  22361. },
  22362. "currencyid": {
  22363. "description": "币种id",
  22364. "type": "integer"
  22365. },
  22366. "hedgeaccountcode": {
  22367. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22368. "type": "string"
  22369. },
  22370. "ismain": {
  22371. "description": "是否主账户 0-否 1-是",
  22372. "type": "integer"
  22373. },
  22374. "parentaccountid": {
  22375. "description": "父账户id",
  22376. "type": "integer"
  22377. },
  22378. "relateduserid": {
  22379. "description": "关联userid",
  22380. "type": "integer"
  22381. },
  22382. "tradefeetmpid": {
  22383. "description": "手续费模板id",
  22384. "type": "integer"
  22385. },
  22386. "tradefeetmpname": {
  22387. "description": "手续费模板名称",
  22388. "type": "string"
  22389. },
  22390. "trademargintmpid": {
  22391. "description": "保证金模板id",
  22392. "type": "integer"
  22393. },
  22394. "trademargintmpname": {
  22395. "description": "保证金模板名称",
  22396. "type": "string"
  22397. },
  22398. "traderatetmpid": {
  22399. "description": "汇率模板id",
  22400. "type": "integer"
  22401. },
  22402. "traderatetmpname": {
  22403. "description": "汇率模板名称",
  22404. "type": "string"
  22405. },
  22406. "tradestatus": {
  22407. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22408. "type": "integer"
  22409. },
  22410. "userid": {
  22411. "description": "用户id",
  22412. "type": "integer"
  22413. }
  22414. }
  22415. },
  22416. "models.ErmcpTaAccountEx": {
  22417. "type": "object",
  22418. "properties": {
  22419. "mainAcc": {
  22420. "description": "主账号",
  22421. "type": "object",
  22422. "$ref": "#/definitions/models.ErmcpTaAccountM"
  22423. },
  22424. "subacclist": {
  22425. "description": "子账号列表",
  22426. "type": "array",
  22427. "items": {
  22428. "$ref": "#/definitions/models.ErmcpTaAccount"
  22429. }
  22430. }
  22431. }
  22432. },
  22433. "models.ErmcpTaAccountInfo": {
  22434. "type": "object",
  22435. "properties": {
  22436. "accountid": {
  22437. "description": "资金账户ID",
  22438. "type": "integer"
  22439. },
  22440. "accountname": {
  22441. "description": "账户名称",
  22442. "type": "string"
  22443. },
  22444. "balance": {
  22445. "description": "期初余额",
  22446. "type": "number"
  22447. },
  22448. "capitalbalance": {
  22449. "description": "本金余额[外部子账户实际出入金余额]",
  22450. "type": "number"
  22451. },
  22452. "closepl": {
  22453. "description": "今日平仓盈亏",
  22454. "type": "number"
  22455. },
  22456. "creditdecrease": {
  22457. "description": "今日授信减少",
  22458. "type": "number"
  22459. },
  22460. "creditincrease": {
  22461. "description": "今日授信增加",
  22462. "type": "number"
  22463. },
  22464. "curdebt": {
  22465. "description": "期末欠款",
  22466. "type": "number"
  22467. },
  22468. "currencyid": {
  22469. "description": "货币ID",
  22470. "type": "integer"
  22471. },
  22472. "currentbalance": {
  22473. "description": "期末余额",
  22474. "type": "number"
  22475. },
  22476. "freezecharge": {
  22477. "description": "手续费冻结",
  22478. "type": "number"
  22479. },
  22480. "freezemargin": {
  22481. "description": "冻结保证金",
  22482. "type": "number"
  22483. },
  22484. "fromaccountid": {
  22485. "description": "所属上级账户",
  22486. "type": "integer"
  22487. },
  22488. "inamount": {
  22489. "description": "今日入金金额(包括三方入金)",
  22490. "type": "number"
  22491. },
  22492. "ismain": {
  22493. "description": "是否母账号 0:不是母账户 1:是母账户",
  22494. "type": "integer"
  22495. },
  22496. "mortgagecredit": {
  22497. "description": "授信金额",
  22498. "type": "number"
  22499. },
  22500. "oridebt": {
  22501. "description": "期初欠款",
  22502. "type": "number"
  22503. },
  22504. "orifreezecharge": {
  22505. "description": "期初手续费冻结",
  22506. "type": "number"
  22507. },
  22508. "orifreezemargin": {
  22509. "description": "期初冻结保证金",
  22510. "type": "number"
  22511. },
  22512. "orimortgagecredit": {
  22513. "description": "期初授信金额",
  22514. "type": "number"
  22515. },
  22516. "oriothercredit": {
  22517. "description": "期初其它授信金额",
  22518. "type": "number"
  22519. },
  22520. "oriotherfreezemargin": {
  22521. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22522. "type": "number"
  22523. },
  22524. "orioutamountfreeze": {
  22525. "description": "期初出金冻结",
  22526. "type": "number"
  22527. },
  22528. "oriusedmargin": {
  22529. "description": "期初占用保证金",
  22530. "type": "number"
  22531. },
  22532. "othercredit": {
  22533. "description": "其它授信金额",
  22534. "type": "number"
  22535. },
  22536. "othercreditdecrease": {
  22537. "description": "今日其它授信减少",
  22538. "type": "number"
  22539. },
  22540. "othercreditincrease": {
  22541. "description": "今日其它授信增加",
  22542. "type": "number"
  22543. },
  22544. "otherfreezemargin": {
  22545. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22546. "type": "number"
  22547. },
  22548. "outamount": {
  22549. "description": "今日出金金额(包括三方出金)",
  22550. "type": "number"
  22551. },
  22552. "outamountfreeze": {
  22553. "description": "出金冻结",
  22554. "type": "number"
  22555. },
  22556. "outthreshold": {
  22557. "description": "出金阈值",
  22558. "type": "number"
  22559. },
  22560. "parentaccountid": {
  22561. "description": "所属根账号",
  22562. "type": "integer"
  22563. },
  22564. "paycharge": {
  22565. "description": "今日手续费支出",
  22566. "type": "number"
  22567. },
  22568. "relateduserid": {
  22569. "description": "关联用户",
  22570. "type": "integer"
  22571. },
  22572. "signstatus": {
  22573. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22574. "type": "integer"
  22575. },
  22576. "sublevelpath": {
  22577. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22578. "type": "string"
  22579. },
  22580. "taaccounttype": {
  22581. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22582. "type": "integer"
  22583. },
  22584. "thirdinamount": {
  22585. "description": "今日三方入金",
  22586. "type": "number"
  22587. },
  22588. "thirdoutamount": {
  22589. "description": "今日三方出金",
  22590. "type": "number"
  22591. },
  22592. "tradestatus": {
  22593. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22594. "type": "integer"
  22595. },
  22596. "transferamount": {
  22597. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22598. "type": "number"
  22599. },
  22600. "usedmargin": {
  22601. "description": "占用保证金",
  22602. "type": "number"
  22603. },
  22604. "userid": {
  22605. "description": "用户ID",
  22606. "type": "integer"
  22607. }
  22608. }
  22609. },
  22610. "models.ErmcpTaAccountM": {
  22611. "type": "object",
  22612. "properties": {
  22613. "accountid": {
  22614. "description": "账户id",
  22615. "type": "integer"
  22616. },
  22617. "accountname": {
  22618. "description": "账户名称",
  22619. "type": "string"
  22620. },
  22621. "currencyid": {
  22622. "description": "币种id",
  22623. "type": "integer"
  22624. },
  22625. "fcid": {
  22626. "description": "期货公司id",
  22627. "type": "integer"
  22628. },
  22629. "fcname": {
  22630. "description": "期货公司代码",
  22631. "type": "string"
  22632. },
  22633. "hedgeaccountcode": {
  22634. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22635. "type": "string"
  22636. },
  22637. "ismain": {
  22638. "description": "是否主账户 0-否 1-是",
  22639. "type": "integer"
  22640. },
  22641. "parentaccountid": {
  22642. "description": "父账户id",
  22643. "type": "integer"
  22644. },
  22645. "relateduserid": {
  22646. "description": "关联userid",
  22647. "type": "integer"
  22648. },
  22649. "tradefeetmpid": {
  22650. "description": "手续费模板id",
  22651. "type": "integer"
  22652. },
  22653. "tradefeetmpname": {
  22654. "description": "手续费模板名称",
  22655. "type": "string"
  22656. },
  22657. "trademargintmpid": {
  22658. "description": "保证金模板id",
  22659. "type": "integer"
  22660. },
  22661. "trademargintmpname": {
  22662. "description": "保证金模板名称",
  22663. "type": "string"
  22664. },
  22665. "traderatetmpid": {
  22666. "description": "汇率模板id",
  22667. "type": "integer"
  22668. },
  22669. "traderatetmpname": {
  22670. "description": "汇率模板名称",
  22671. "type": "string"
  22672. },
  22673. "tradestatus": {
  22674. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22675. "type": "integer"
  22676. },
  22677. "userid": {
  22678. "description": "用户id",
  22679. "type": "integer"
  22680. }
  22681. }
  22682. },
  22683. "models.ErmcpTradeConfigTMP": {
  22684. "type": "object",
  22685. "properties": {
  22686. "areauserid": {
  22687. "description": "所属机构",
  22688. "type": "integer"
  22689. },
  22690. "basiccurrencyid": {
  22691. "description": "基本币种ID[汇率] - 目标币种",
  22692. "type": "integer"
  22693. },
  22694. "mainaccountid": {
  22695. "description": "主账户ID",
  22696. "type": "integer"
  22697. },
  22698. "modifierid": {
  22699. "description": "修改人",
  22700. "type": "integer"
  22701. },
  22702. "remark": {
  22703. "description": "备注",
  22704. "type": "string"
  22705. },
  22706. "tradeconfigtmpid": {
  22707. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  22708. "type": "integer"
  22709. },
  22710. "tradeconfigtmpname": {
  22711. "description": "交易配置模板名称",
  22712. "type": "string"
  22713. },
  22714. "tradeconfigtmptype": {
  22715. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  22716. "type": "integer"
  22717. },
  22718. "updatetime": {
  22719. "description": "更新时间",
  22720. "type": "string"
  22721. }
  22722. }
  22723. },
  22724. "models.ErmcpUserModel": {
  22725. "type": "object",
  22726. "properties": {
  22727. "address": {
  22728. "description": "通讯地址",
  22729. "type": "string"
  22730. },
  22731. "attachment1": {
  22732. "description": "附件1",
  22733. "type": "string"
  22734. },
  22735. "audittime": {
  22736. "description": "审核时间",
  22737. "type": "string"
  22738. },
  22739. "cardbackphotourl": {
  22740. "description": "证件反面图片地址",
  22741. "type": "string"
  22742. },
  22743. "cardfrontphotourl": {
  22744. "description": "证件正面图片地址",
  22745. "type": "string"
  22746. },
  22747. "cardnum": {
  22748. "description": "证件号码",
  22749. "type": "string"
  22750. },
  22751. "cardtype": {
  22752. "description": "证件类型",
  22753. "type": "integer"
  22754. },
  22755. "cardtypename": {
  22756. "description": "证件类型名称",
  22757. "type": "string"
  22758. },
  22759. "cityid": {
  22760. "description": "市",
  22761. "type": "integer"
  22762. },
  22763. "contactname": {
  22764. "description": "联系人",
  22765. "type": "string"
  22766. },
  22767. "countryid": {
  22768. "description": "国家",
  22769. "type": "integer"
  22770. },
  22771. "createtime": {
  22772. "description": "创建时间",
  22773. "type": "string"
  22774. },
  22775. "customername": {
  22776. "description": "企业名称",
  22777. "type": "string"
  22778. },
  22779. "districtid": {
  22780. "description": "区域",
  22781. "type": "integer"
  22782. },
  22783. "email": {
  22784. "description": "邮件",
  22785. "type": "string"
  22786. },
  22787. "legalpersonname": {
  22788. "description": "法人姓名(企业)",
  22789. "type": "string"
  22790. },
  22791. "memberuserid": {
  22792. "description": "所属机构ID",
  22793. "type": "integer"
  22794. },
  22795. "mobile": {
  22796. "description": "手机号码",
  22797. "type": "string"
  22798. },
  22799. "modifytime": {
  22800. "description": "修改时间",
  22801. "type": "string"
  22802. },
  22803. "nickname": {
  22804. "description": "昵称",
  22805. "type": "string"
  22806. },
  22807. "provinceid": {
  22808. "description": "省",
  22809. "type": "integer"
  22810. },
  22811. "remark": {
  22812. "description": "备注",
  22813. "type": "string"
  22814. },
  22815. "status": {
  22816. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22817. "type": "integer"
  22818. },
  22819. "statusdesc": {
  22820. "description": "账户状态中文描述",
  22821. "type": "string"
  22822. },
  22823. "taxpayernum": {
  22824. "description": "纳税人识别号",
  22825. "type": "string"
  22826. },
  22827. "telphone": {
  22828. "description": "联系电话",
  22829. "type": "string"
  22830. },
  22831. "userid": {
  22832. "description": "用户ID",
  22833. "type": "integer"
  22834. },
  22835. "userinfotype": {
  22836. "description": "客户类型",
  22837. "type": "string"
  22838. }
  22839. }
  22840. },
  22841. "models.ErmcpWareHouseInfo": {
  22842. "type": "object",
  22843. "properties": {
  22844. "address": {
  22845. "description": "详细地址",
  22846. "type": "string"
  22847. },
  22848. "areauserid": {
  22849. "description": "所属机构",
  22850. "type": "integer"
  22851. },
  22852. "autoid": {
  22853. "description": "自增ID(仓库ID)",
  22854. "type": "integer"
  22855. },
  22856. "cityid": {
  22857. "description": "市",
  22858. "type": "integer"
  22859. },
  22860. "contactname": {
  22861. "description": "联系人",
  22862. "type": "string"
  22863. },
  22864. "contactnum": {
  22865. "description": "联系电话",
  22866. "type": "string"
  22867. },
  22868. "countryid": {
  22869. "description": "国家",
  22870. "type": "integer"
  22871. },
  22872. "createtime": {
  22873. "description": "创建时间",
  22874. "type": "string"
  22875. },
  22876. "districtid": {
  22877. "description": "区",
  22878. "type": "integer"
  22879. },
  22880. "hasvideo": {
  22881. "description": "是否有视频 - 0:无 1:有",
  22882. "type": "integer"
  22883. },
  22884. "provinceid": {
  22885. "description": "省",
  22886. "type": "integer"
  22887. },
  22888. "remark": {
  22889. "description": "审核备注",
  22890. "type": "string"
  22891. },
  22892. "videourl": {
  22893. "description": "视频地址",
  22894. "type": "string"
  22895. },
  22896. "warehousecode": {
  22897. "description": "仓库代码",
  22898. "type": "string"
  22899. },
  22900. "warehousename": {
  22901. "description": "仓库名称",
  22902. "type": "string"
  22903. },
  22904. "warehousestatus": {
  22905. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22906. "type": "integer"
  22907. },
  22908. "warehousetype": {
  22909. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22910. "type": "integer"
  22911. }
  22912. }
  22913. },
  22914. "models.Externalexchange": {
  22915. "type": "object",
  22916. "required": [
  22917. "autoid"
  22918. ],
  22919. "properties": {
  22920. "autoid": {
  22921. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  22922. "type": "integer"
  22923. },
  22924. "exchangefullname": {
  22925. "description": "外部交易所全称",
  22926. "type": "string"
  22927. },
  22928. "exexchangecode": {
  22929. "description": "外部交易所代码",
  22930. "type": "string"
  22931. },
  22932. "exexchangename": {
  22933. "description": "外部交易所名称(简称)",
  22934. "type": "string"
  22935. },
  22936. "ismarketprice": {
  22937. "description": "是否支持市价 - 0:不支持 1:支持",
  22938. "type": "integer"
  22939. },
  22940. "quotegear": {
  22941. "description": "行情档位(1-10)",
  22942. "type": "integer"
  22943. },
  22944. "showbrokerflag": {
  22945. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  22946. "type": "integer"
  22947. },
  22948. "updatetime": {
  22949. "description": "更新时间",
  22950. "type": "string"
  22951. }
  22952. }
  22953. },
  22954. "models.Funcmenulist": {
  22955. "type": "object",
  22956. "required": [
  22957. "resourcecode"
  22958. ],
  22959. "properties": {
  22960. "iconame": {
  22961. "description": "菜单图标",
  22962. "type": "string"
  22963. },
  22964. "menutype": {
  22965. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  22966. "type": "integer"
  22967. },
  22968. "parentcode": {
  22969. "description": "上级资源代码",
  22970. "type": "string"
  22971. },
  22972. "remark": {
  22973. "description": "备注",
  22974. "type": "string"
  22975. },
  22976. "resourcecode": {
  22977. "description": "资源代码",
  22978. "type": "string"
  22979. },
  22980. "resourcelevel": {
  22981. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  22982. "type": "integer"
  22983. },
  22984. "resourcename": {
  22985. "description": "资源名",
  22986. "type": "string"
  22987. },
  22988. "sort": {
  22989. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  22990. "type": "integer"
  22991. },
  22992. "url": {
  22993. "description": "URL",
  22994. "type": "string"
  22995. }
  22996. }
  22997. },
  22998. "models.Goods": {
  22999. "type": "object",
  23000. "required": [
  23001. "goodscode",
  23002. "goodsid",
  23003. "goodsname",
  23004. "marketid"
  23005. ],
  23006. "properties": {
  23007. "agreeunit": {
  23008. "description": "合约单位",
  23009. "type": "number"
  23010. },
  23011. "areauserid": {
  23012. "description": "所属机构",
  23013. "type": "integer"
  23014. },
  23015. "auditaccountid": {
  23016. "description": "审核操作员账号",
  23017. "type": "integer"
  23018. },
  23019. "audittime": {
  23020. "description": "审核时间",
  23021. "type": "string"
  23022. },
  23023. "cancelaccountid": {
  23024. "description": "注销操作员账号",
  23025. "type": "integer"
  23026. },
  23027. "canceltime": {
  23028. "description": "注销时间",
  23029. "type": "string"
  23030. },
  23031. "closepricemode": {
  23032. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23033. "type": "integer"
  23034. },
  23035. "closepriceparam": {
  23036. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23037. "type": "number"
  23038. },
  23039. "createtime": {
  23040. "description": "创建时间",
  23041. "type": "string"
  23042. },
  23043. "creatorid": {
  23044. "description": "创建人",
  23045. "type": "integer"
  23046. },
  23047. "currencyid": {
  23048. "description": "报价货币ID",
  23049. "type": "integer"
  23050. },
  23051. "cutmode": {
  23052. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23053. "type": "integer"
  23054. },
  23055. "decimalplace": {
  23056. "description": "报价小数位",
  23057. "type": "integer"
  23058. },
  23059. "delistingdate": {
  23060. "description": "商品退市时间(状态:退市) -- 已作废",
  23061. "type": "string"
  23062. },
  23063. "delistingmode": {
  23064. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23065. "type": "integer"
  23066. },
  23067. "deliveryflag": {
  23068. "description": "交割标志 - 0:不可交割 1:可交割",
  23069. "type": "integer"
  23070. },
  23071. "forceclosemode": {
  23072. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23073. "type": "integer"
  23074. },
  23075. "forceclosevalue": {
  23076. "description": "定期强平参数 [收益权]",
  23077. "type": "integer"
  23078. },
  23079. "goodscode": {
  23080. "description": "商品代码(内部)",
  23081. "type": "string"
  23082. },
  23083. "goodscurrencyid": {
  23084. "description": "合约货币ID",
  23085. "type": "integer"
  23086. },
  23087. "goodsgroupid": {
  23088. "description": "所属商品组ID",
  23089. "type": "integer"
  23090. },
  23091. "goodsid": {
  23092. "description": "商品ID(自增ID SEQ_GOODS)",
  23093. "type": "integer"
  23094. },
  23095. "goodsname": {
  23096. "description": "商品名称",
  23097. "type": "string"
  23098. },
  23099. "goodsquotetype": {
  23100. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23101. "type": "integer"
  23102. },
  23103. "goodsstatus": {
  23104. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23105. "type": "integer"
  23106. },
  23107. "goodstradetype": {
  23108. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23109. "type": "integer"
  23110. },
  23111. "goodunitid": {
  23112. "description": "报价单位ID",
  23113. "type": "integer"
  23114. },
  23115. "hasquoter": {
  23116. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23117. "type": "integer"
  23118. },
  23119. "hqprotecttime": {
  23120. "description": "行情保护时间(秒)",
  23121. "type": "integer"
  23122. },
  23123. "innerdealmode": {
  23124. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23125. "type": "integer"
  23126. },
  23127. "isbuylimited": {
  23128. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23129. "type": "integer"
  23130. },
  23131. "isvisible": {
  23132. "description": "游客是否可见 - 0:不可见 1:可见",
  23133. "type": "integer"
  23134. },
  23135. "lasttradedate": {
  23136. "description": "最后交易日期(状态:待退市)",
  23137. "type": "string"
  23138. },
  23139. "listingdate": {
  23140. "description": "交易开始日期",
  23141. "type": "string"
  23142. },
  23143. "marketid": {
  23144. "description": "所属市场ID",
  23145. "type": "integer"
  23146. },
  23147. "modifierid": {
  23148. "description": "修改人",
  23149. "type": "integer"
  23150. },
  23151. "modifystatus": {
  23152. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23153. "type": "integer"
  23154. },
  23155. "modifytime": {
  23156. "description": "修改时间",
  23157. "type": "string"
  23158. },
  23159. "outerdealmode": {
  23160. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23161. "type": "integer"
  23162. },
  23163. "outgoodscode": {
  23164. "description": "商品代码(外部)",
  23165. "type": "string"
  23166. },
  23167. "pictureurl": {
  23168. "description": "商品图片",
  23169. "type": "string"
  23170. },
  23171. "qtydecimalplace": {
  23172. "description": "成交量小数位",
  23173. "type": "integer"
  23174. },
  23175. "quotegear": {
  23176. "description": "行情档位(1-10)",
  23177. "type": "integer"
  23178. },
  23179. "quoteminunit": {
  23180. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23181. "type": "integer"
  23182. },
  23183. "quoteshowtype": {
  23184. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23185. "type": "integer"
  23186. },
  23187. "quoteshowtypeinterval": {
  23188. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23189. "type": "integer"
  23190. },
  23191. "remark": {
  23192. "description": "备注",
  23193. "type": "string"
  23194. }
  23195. }
  23196. },
  23197. "models.GoodsIDAndName": {
  23198. "type": "object",
  23199. "required": [
  23200. "goodscode",
  23201. "goodsid",
  23202. "goodsname",
  23203. "marketid"
  23204. ],
  23205. "properties": {
  23206. "goodscode": {
  23207. "description": "商品代码(内部)",
  23208. "type": "string"
  23209. },
  23210. "goodsid": {
  23211. "description": "商品ID(自增ID SEQ_GOODS)",
  23212. "type": "integer"
  23213. },
  23214. "goodsname": {
  23215. "description": "商品名称",
  23216. "type": "string"
  23217. },
  23218. "marketid": {
  23219. "description": "所属市场ID",
  23220. "type": "integer"
  23221. }
  23222. }
  23223. },
  23224. "models.Goodsgroup": {
  23225. "type": "object",
  23226. "required": [
  23227. "goodsgroupid",
  23228. "goodsgroupname",
  23229. "goodsgroupstatus",
  23230. "marketid"
  23231. ],
  23232. "properties": {
  23233. "agreeunit": {
  23234. "description": "合约单位",
  23235. "type": "number"
  23236. },
  23237. "canshort": {
  23238. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  23239. "type": "integer"
  23240. },
  23241. "closepricemode": {
  23242. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23243. "type": "integer"
  23244. },
  23245. "closepriceparam": {
  23246. "description": "强平最新价浮动比例 - 方式为2时使用",
  23247. "type": "number"
  23248. },
  23249. "createtime": {
  23250. "description": "创建时间",
  23251. "type": "string"
  23252. },
  23253. "creatorid": {
  23254. "description": "创建人",
  23255. "type": "integer"
  23256. },
  23257. "currencyid": {
  23258. "description": "报价货币ID",
  23259. "type": "integer"
  23260. },
  23261. "decimalplace": {
  23262. "description": "报价小数位",
  23263. "type": "integer"
  23264. },
  23265. "exercisetype": {
  23266. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  23267. "type": "integer"
  23268. },
  23269. "exexchangeid": {
  23270. "description": "外部交易所ID[通道交易]",
  23271. "type": "integer"
  23272. },
  23273. "goodsgroupid": {
  23274. "description": "商品组ID(自增ID)",
  23275. "type": "integer"
  23276. },
  23277. "goodsgroupname": {
  23278. "description": "商品组名称",
  23279. "type": "string"
  23280. },
  23281. "goodsgroupstatus": {
  23282. "description": "商品组状态 - 1:正常 2:注销",
  23283. "type": "integer"
  23284. },
  23285. "goodunitid": {
  23286. "description": "报价单位ID",
  23287. "type": "integer"
  23288. },
  23289. "innerdealmode": {
  23290. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23291. "type": "integer"
  23292. },
  23293. "isbuylimited": {
  23294. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23295. "type": "integer"
  23296. },
  23297. "marketid": {
  23298. "description": "所属市场ID",
  23299. "type": "integer"
  23300. },
  23301. "modifierid": {
  23302. "description": "修改人",
  23303. "type": "integer"
  23304. },
  23305. "modifytime": {
  23306. "description": "修改时间",
  23307. "type": "string"
  23308. },
  23309. "outerdealmode": {
  23310. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23311. "type": "integer"
  23312. },
  23313. "outergroupcode": {
  23314. "description": "外部商品组代码[通道交易]",
  23315. "type": "string"
  23316. },
  23317. "premiumdecimalplace": {
  23318. "description": "权利金小数位[场外期权]",
  23319. "type": "integer"
  23320. },
  23321. "premiumspreadalgorithm": {
  23322. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  23323. "type": "integer"
  23324. },
  23325. "premiumspreadvalue": {
  23326. "description": "权利金点差值[场外期权]",
  23327. "type": "number"
  23328. },
  23329. "qtydecimalplace": {
  23330. "description": "成交量小数位",
  23331. "type": "integer"
  23332. },
  23333. "quotegear": {
  23334. "description": "行情档位(1-10)",
  23335. "type": "integer"
  23336. },
  23337. "quoteminunit": {
  23338. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23339. "type": "integer"
  23340. },
  23341. "quoterid": {
  23342. "description": "报价商ID[场外期权]",
  23343. "type": "integer"
  23344. },
  23345. "quotesourcegroupid": {
  23346. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  23347. "type": "integer"
  23348. },
  23349. "syncgoodsqty": {
  23350. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  23351. "type": "integer"
  23352. }
  23353. }
  23354. },
  23355. "models.Goodssortbypreposition": {
  23356. "type": "object",
  23357. "required": [
  23358. "goodscode",
  23359. "tradedate"
  23360. ],
  23361. "properties": {
  23362. "goodscode": {
  23363. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  23364. "type": "string"
  23365. },
  23366. "goodsgroupcode": {
  23367. "description": "品种代码",
  23368. "type": "string"
  23369. },
  23370. "prepositionqty": {
  23371. "description": "昨持仓量",
  23372. "type": "integer"
  23373. },
  23374. "sortindex": {
  23375. "description": "排序",
  23376. "type": "integer"
  23377. },
  23378. "tradedate": {
  23379. "description": "交易日",
  23380. "type": "string"
  23381. },
  23382. "updatetime": {
  23383. "description": "更新时间",
  23384. "type": "string"
  23385. }
  23386. }
  23387. },
  23388. "models.Hedgeinnerholderdetail": {
  23389. "type": "object",
  23390. "required": [
  23391. "buyorsell",
  23392. "tradeid"
  23393. ],
  23394. "properties": {
  23395. "accountid": {
  23396. "description": "账号ID",
  23397. "type": "integer"
  23398. },
  23399. "buyorsell": {
  23400. "description": "方向 - 0:买 1:卖",
  23401. "type": "integer"
  23402. },
  23403. "freezeqty": {
  23404. "description": "冻结数量 - 按单平使用",
  23405. "type": "integer"
  23406. },
  23407. "goodsid": {
  23408. "description": "商品ID",
  23409. "type": "integer"
  23410. },
  23411. "holderamount": {
  23412. "description": "持仓金额 [商品币种]",
  23413. "type": "number"
  23414. },
  23415. "holderdays": {
  23416. "description": "剩余冻结天数",
  23417. "type": "integer"
  23418. },
  23419. "holderprice": {
  23420. "description": "持仓价格",
  23421. "type": "number"
  23422. },
  23423. "holderqty": {
  23424. "description": "持仓数量",
  23425. "type": "integer"
  23426. },
  23427. "marketid": {
  23428. "description": "市场ID",
  23429. "type": "integer"
  23430. },
  23431. "openprice": {
  23432. "description": "建仓价格",
  23433. "type": "number"
  23434. },
  23435. "openqty": {
  23436. "description": "建仓数量",
  23437. "type": "integer"
  23438. },
  23439. "parentaccountid": {
  23440. "description": "所属母账户",
  23441. "type": "integer"
  23442. },
  23443. "releaseamount": {
  23444. "description": "释放持仓金额[商品币种]",
  23445. "type": "number"
  23446. },
  23447. "tradeamount": {
  23448. "description": "成交金额[账户]",
  23449. "type": "number"
  23450. },
  23451. "tradedate": {
  23452. "description": "交易日(yyyyMMdd)",
  23453. "type": "string"
  23454. },
  23455. "tradeid": {
  23456. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23457. "type": "string"
  23458. },
  23459. "tradetime": {
  23460. "description": "交易时间",
  23461. "type": "string"
  23462. }
  23463. }
  23464. },
  23465. "models.Hedgemarketopenlog": {
  23466. "type": "object",
  23467. "required": [
  23468. "accountid"
  23469. ],
  23470. "properties": {
  23471. "accountid": {
  23472. "description": "资金账号[外部母账户]",
  23473. "type": "integer"
  23474. },
  23475. "fcname": {
  23476. "description": "期货公司名称",
  23477. "type": "string"
  23478. },
  23479. "handlestatus": {
  23480. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  23481. "type": "integer"
  23482. },
  23483. "marketid": {
  23484. "description": "市场ID",
  23485. "type": "integer"
  23486. },
  23487. "status": {
  23488. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  23489. "type": "integer"
  23490. },
  23491. "tradedate": {
  23492. "description": "交易日(yyyyMMdd)",
  23493. "type": "string"
  23494. },
  23495. "updatetime": {
  23496. "description": "更新时间",
  23497. "type": "string"
  23498. }
  23499. }
  23500. },
  23501. "models.HsbyBuyMyPayOrder": {
  23502. "type": "object",
  23503. "required": [
  23504. "goodscode",
  23505. "goodsname",
  23506. "tradeid",
  23507. "trademode"
  23508. ],
  23509. "properties": {
  23510. "agreeunit": {
  23511. "description": "合约单位",
  23512. "type": "number"
  23513. },
  23514. "buyaccountid": {
  23515. "description": "买方账号ID[报价币种]",
  23516. "type": "integer"
  23517. },
  23518. "buyorderid": {
  23519. "description": "买方委托单号",
  23520. "type": "string"
  23521. },
  23522. "createtime": {
  23523. "description": "创建时间",
  23524. "type": "string"
  23525. },
  23526. "currencysign": {
  23527. "description": "货币符号",
  23528. "type": "string"
  23529. },
  23530. "decimalplace": {
  23531. "description": "报价小数位",
  23532. "type": "integer"
  23533. },
  23534. "goodscode": {
  23535. "description": "商品代码(内部)",
  23536. "type": "string"
  23537. },
  23538. "goodsid": {
  23539. "description": "商品ID",
  23540. "type": "integer"
  23541. },
  23542. "goodsname": {
  23543. "description": "商品名称",
  23544. "type": "string"
  23545. },
  23546. "marketid": {
  23547. "description": "市场ID",
  23548. "type": "integer"
  23549. },
  23550. "offamount": {
  23551. "description": "优惠金额",
  23552. "type": "number"
  23553. },
  23554. "originalamount": {
  23555. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  23556. "type": "number"
  23557. },
  23558. "payamount": {
  23559. "description": "支付金额 = TradeAmount + TradeCharge",
  23560. "type": "number"
  23561. },
  23562. "payflag": {
  23563. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23564. "type": "integer"
  23565. },
  23566. "paylimitedtime": {
  23567. "description": "支付期限",
  23568. "type": "string"
  23569. },
  23570. "paytime": {
  23571. "description": "付款时间",
  23572. "type": "string"
  23573. },
  23574. "picurls1": {
  23575. "description": "预售商品介绍图片[多张用逗号分隔]",
  23576. "type": "string"
  23577. },
  23578. "picurls2": {
  23579. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23580. "type": "string"
  23581. },
  23582. "sellaccountid": {
  23583. "description": "卖方账号ID[报价币种]",
  23584. "type": "integer"
  23585. },
  23586. "sellorderid": {
  23587. "description": "卖方委托单号",
  23588. "type": "string"
  23589. },
  23590. "tradeamount": {
  23591. "description": "成交金额",
  23592. "type": "number"
  23593. },
  23594. "tradecharge": {
  23595. "description": "成交手续费(买方)",
  23596. "type": "number"
  23597. },
  23598. "tradedate": {
  23599. "description": "交易日(yyyyMMdd)",
  23600. "type": "string"
  23601. },
  23602. "tradeid": {
  23603. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23604. "type": "string"
  23605. },
  23606. "trademode": {
  23607. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23608. "type": "integer"
  23609. },
  23610. "tradeprice": {
  23611. "description": "成交价格",
  23612. "type": "number"
  23613. },
  23614. "tradeqty": {
  23615. "description": "成交数量",
  23616. "type": "integer"
  23617. },
  23618. "vendorname1": {
  23619. "description": "预售商品供应商名称",
  23620. "type": "string"
  23621. },
  23622. "vendorname2": {
  23623. "description": "挂牌商品供应商名称",
  23624. "type": "string"
  23625. }
  23626. }
  23627. },
  23628. "models.HsbyBuyMyTradeDetail": {
  23629. "type": "object",
  23630. "required": [
  23631. "accountid",
  23632. "buyorsell",
  23633. "goodscode",
  23634. "goodsid",
  23635. "goodsname",
  23636. "marketid",
  23637. "orderid",
  23638. "qty",
  23639. "time",
  23640. "trademode"
  23641. ],
  23642. "properties": {
  23643. "accountid": {
  23644. "description": "账户ID[报价币种]",
  23645. "type": "integer"
  23646. },
  23647. "agreeunit": {
  23648. "description": "合约单位",
  23649. "type": "number"
  23650. },
  23651. "amount": {
  23652. "description": "金额 = 价格 * 数量 * 合约单位",
  23653. "type": "number"
  23654. },
  23655. "buyorsell": {
  23656. "description": "买卖 - 0:买 1:卖",
  23657. "type": "integer"
  23658. },
  23659. "currencysign": {
  23660. "description": "货币符号",
  23661. "type": "string"
  23662. },
  23663. "decimalplace": {
  23664. "description": "报价小数位",
  23665. "type": "integer"
  23666. },
  23667. "goodscode": {
  23668. "description": "商品代码(内部)",
  23669. "type": "string"
  23670. },
  23671. "goodsid": {
  23672. "description": "商品ID",
  23673. "type": "integer"
  23674. },
  23675. "goodsname": {
  23676. "description": "商品名称",
  23677. "type": "string"
  23678. },
  23679. "marketid": {
  23680. "description": "市场ID",
  23681. "type": "integer"
  23682. },
  23683. "orderamount": {
  23684. "description": "委托金额",
  23685. "type": "number"
  23686. },
  23687. "orderid": {
  23688. "description": "单号(成交单号)",
  23689. "type": "string"
  23690. },
  23691. "picurls1": {
  23692. "description": "预售商品介绍图片[多张用逗号分隔]",
  23693. "type": "string"
  23694. },
  23695. "picurls2": {
  23696. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23697. "type": "string"
  23698. },
  23699. "price": {
  23700. "description": "价格",
  23701. "type": "number"
  23702. },
  23703. "qty": {
  23704. "description": "数量",
  23705. "type": "integer"
  23706. },
  23707. "time": {
  23708. "description": "时间",
  23709. "type": "string"
  23710. },
  23711. "trademode": {
  23712. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23713. "type": "integer"
  23714. },
  23715. "vendorname1": {
  23716. "description": "预售商品供应商名称",
  23717. "type": "string"
  23718. },
  23719. "vendorname2": {
  23720. "description": "挂牌商品供应商名称",
  23721. "type": "string"
  23722. }
  23723. }
  23724. },
  23725. "models.HsbyGoodsOrderDetail": {
  23726. "type": "object",
  23727. "required": [
  23728. "buyorsell",
  23729. "orderid",
  23730. "ordertime"
  23731. ],
  23732. "properties": {
  23733. "buyorsell": {
  23734. "description": "买卖 - 0:买 1:卖",
  23735. "type": "integer"
  23736. },
  23737. "currencysign": {
  23738. "description": "货币符号",
  23739. "type": "string"
  23740. },
  23741. "customername": {
  23742. "description": "客户名称(企业名称),已脱敏",
  23743. "type": "string"
  23744. },
  23745. "enableqty": {
  23746. "description": "可用数量",
  23747. "type": "integer"
  23748. },
  23749. "goodunit": {
  23750. "description": "报价单位",
  23751. "type": "string"
  23752. },
  23753. "orderid": {
  23754. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23755. "type": "string"
  23756. },
  23757. "orderprice": {
  23758. "description": "委托价格",
  23759. "type": "number"
  23760. },
  23761. "ordertime": {
  23762. "description": "委托时间",
  23763. "type": "string"
  23764. }
  23765. }
  23766. },
  23767. "models.HsbyListingGoodsDetail": {
  23768. "type": "object",
  23769. "required": [
  23770. "goodscode",
  23771. "goodsid",
  23772. "goodsname",
  23773. "marketid",
  23774. "trademode"
  23775. ],
  23776. "properties": {
  23777. "agreeunit": {
  23778. "description": "合约单位",
  23779. "type": "number"
  23780. },
  23781. "buymaxqty": {
  23782. "description": "购买上限 [71] - 0为不限",
  23783. "type": "integer"
  23784. },
  23785. "currency": {
  23786. "description": "货币",
  23787. "type": "string"
  23788. },
  23789. "currencysign": {
  23790. "description": "货币符号",
  23791. "type": "string"
  23792. },
  23793. "decimalplace": {
  23794. "description": "报价小数位",
  23795. "type": "integer"
  23796. },
  23797. "desccityid": {
  23798. "description": "目的地(市)ID",
  23799. "type": "integer"
  23800. },
  23801. "descprovinceid": {
  23802. "description": "目的地(省)ID",
  23803. "type": "integer"
  23804. },
  23805. "goodscode": {
  23806. "description": "商品代码(内部)",
  23807. "type": "string"
  23808. },
  23809. "goodsdesc": {
  23810. "description": "商品详情",
  23811. "type": "string"
  23812. },
  23813. "goodsid": {
  23814. "description": "商品ID(自增ID SEQ_GOODS)",
  23815. "type": "integer"
  23816. },
  23817. "goodsname": {
  23818. "description": "商品名称",
  23819. "type": "string"
  23820. },
  23821. "goodsprice": {
  23822. "description": "商品价格",
  23823. "type": "number"
  23824. },
  23825. "hotindex": {
  23826. "description": "景点热度",
  23827. "type": "integer"
  23828. },
  23829. "last": {
  23830. "description": "现价",
  23831. "type": "number"
  23832. },
  23833. "limitdown": {
  23834. "description": "跌停价",
  23835. "type": "number"
  23836. },
  23837. "limitup": {
  23838. "description": "涨停价",
  23839. "type": "number"
  23840. },
  23841. "lotsize": {
  23842. "description": "手数最小变动单位",
  23843. "type": "integer"
  23844. },
  23845. "marketid": {
  23846. "description": "所属市场ID",
  23847. "type": "integer"
  23848. },
  23849. "picurls": {
  23850. "description": "介绍图片[多张用逗号分隔]",
  23851. "type": "string"
  23852. },
  23853. "quoteminunit": {
  23854. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23855. "type": "integer"
  23856. },
  23857. "stepvalue": {
  23858. "description": "价格最小变动单位",
  23859. "type": "number"
  23860. },
  23861. "trademode": {
  23862. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23863. "type": "integer"
  23864. },
  23865. "vendorattr": {
  23866. "description": "供应商附件(多张,逗号分隔)",
  23867. "type": "string"
  23868. },
  23869. "vendorname": {
  23870. "description": "供应商名称",
  23871. "type": "string"
  23872. },
  23873. "vendorphone": {
  23874. "description": "供应商客服电话",
  23875. "type": "string"
  23876. },
  23877. "videourls": {
  23878. "description": "介绍视频[多张用逗号分隔]",
  23879. "type": "string"
  23880. }
  23881. }
  23882. },
  23883. "models.HsbyMarketGoods": {
  23884. "type": "object",
  23885. "required": [
  23886. "accountid",
  23887. "buyorsell",
  23888. "goodscode",
  23889. "goodsid",
  23890. "goodsname",
  23891. "marketid",
  23892. "orderid",
  23893. "trademode"
  23894. ],
  23895. "properties": {
  23896. "accountid": {
  23897. "description": "账户ID[报价币种]",
  23898. "type": "integer"
  23899. },
  23900. "agreeunit": {
  23901. "description": "合约单位",
  23902. "type": "number"
  23903. },
  23904. "buyorsell": {
  23905. "description": "买卖 - 0:买 1:卖",
  23906. "type": "integer"
  23907. },
  23908. "categoryid": {
  23909. "description": "类别ID(WRCATEGORY)",
  23910. "type": "integer"
  23911. },
  23912. "currency": {
  23913. "description": "货币",
  23914. "type": "string"
  23915. },
  23916. "currencysign": {
  23917. "description": "货币符号",
  23918. "type": "string"
  23919. },
  23920. "customername": {
  23921. "description": "卖家名称",
  23922. "type": "string"
  23923. },
  23924. "decimalplace": {
  23925. "description": "报价小数位",
  23926. "type": "integer"
  23927. },
  23928. "goodscode": {
  23929. "description": "商品代码(内部)",
  23930. "type": "string"
  23931. },
  23932. "goodsid": {
  23933. "description": "商品ID",
  23934. "type": "integer"
  23935. },
  23936. "goodsname": {
  23937. "description": "商品名称",
  23938. "type": "string"
  23939. },
  23940. "goodsprice": {
  23941. "description": "商品价格",
  23942. "type": "number"
  23943. },
  23944. "hascoupon": {
  23945. "description": "是否可用优惠卷",
  23946. "type": "boolean"
  23947. },
  23948. "hotindex": {
  23949. "description": "景点热度",
  23950. "type": "integer"
  23951. },
  23952. "marketid": {
  23953. "description": "市场ID",
  23954. "type": "integer"
  23955. },
  23956. "orderid": {
  23957. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23958. "type": "string"
  23959. },
  23960. "orderprice": {
  23961. "description": "委托价格",
  23962. "type": "number"
  23963. },
  23964. "orderstatus": {
  23965. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23966. "type": "integer"
  23967. },
  23968. "picurls": {
  23969. "description": "介绍图片[多张用逗号分隔]",
  23970. "type": "string"
  23971. },
  23972. "quoteminunit": {
  23973. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23974. "type": "integer"
  23975. },
  23976. "sellUserID": {
  23977. "description": "卖方UserID",
  23978. "type": "integer"
  23979. },
  23980. "trademode": {
  23981. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23982. "type": "integer"
  23983. },
  23984. "videourls": {
  23985. "description": "介绍视频[多张用逗号分隔]",
  23986. "type": "string"
  23987. }
  23988. }
  23989. },
  23990. "models.HsbyMarketGoodsDetail": {
  23991. "type": "object",
  23992. "required": [
  23993. "accountid",
  23994. "buyorsell",
  23995. "goodscode",
  23996. "goodsid",
  23997. "goodsname",
  23998. "marketid",
  23999. "orderid",
  24000. "orderqty",
  24001. "trademode"
  24002. ],
  24003. "properties": {
  24004. "accountid": {
  24005. "description": "账户ID[报价币种]",
  24006. "type": "integer"
  24007. },
  24008. "agreeunit": {
  24009. "description": "合约单位",
  24010. "type": "number"
  24011. },
  24012. "buymaxqty": {
  24013. "description": "购买上限 [71] - 0为不限",
  24014. "type": "integer"
  24015. },
  24016. "buyorsell": {
  24017. "description": "买卖 - 0:买 1:卖",
  24018. "type": "integer"
  24019. },
  24020. "cancelqty": {
  24021. "description": "撤单数量",
  24022. "type": "integer"
  24023. },
  24024. "categoryid": {
  24025. "description": "类别ID(WRCATEGORY)",
  24026. "type": "integer"
  24027. },
  24028. "currency": {
  24029. "description": "货币",
  24030. "type": "string"
  24031. },
  24032. "currencysign": {
  24033. "description": "货币符号",
  24034. "type": "string"
  24035. },
  24036. "customername": {
  24037. "description": "卖家名称",
  24038. "type": "string"
  24039. },
  24040. "decimalplace": {
  24041. "description": "报价小数位",
  24042. "type": "integer"
  24043. },
  24044. "goodscode": {
  24045. "description": "商品代码(内部)",
  24046. "type": "string"
  24047. },
  24048. "goodsdesc": {
  24049. "description": "商品详情",
  24050. "type": "string"
  24051. },
  24052. "goodsid": {
  24053. "description": "商品ID",
  24054. "type": "integer"
  24055. },
  24056. "goodsname": {
  24057. "description": "商品名称",
  24058. "type": "string"
  24059. },
  24060. "goodsprice": {
  24061. "description": "商品价格",
  24062. "type": "number"
  24063. },
  24064. "hotindex": {
  24065. "description": "景点热度",
  24066. "type": "integer"
  24067. },
  24068. "lotsize": {
  24069. "description": "手数最小变动单位",
  24070. "type": "integer"
  24071. },
  24072. "marketid": {
  24073. "description": "市场ID",
  24074. "type": "integer"
  24075. },
  24076. "orderid": {
  24077. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24078. "type": "string"
  24079. },
  24080. "orderprice": {
  24081. "description": "委托价格",
  24082. "type": "number"
  24083. },
  24084. "orderqty": {
  24085. "description": "委托数量",
  24086. "type": "integer"
  24087. },
  24088. "orderstatus": {
  24089. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24090. "type": "integer"
  24091. },
  24092. "picurls": {
  24093. "description": "介绍图片[多张用逗号分隔]",
  24094. "type": "string"
  24095. },
  24096. "quoteminunit": {
  24097. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24098. "type": "integer"
  24099. },
  24100. "sellUserID": {
  24101. "description": "卖方UserID",
  24102. "type": "integer"
  24103. },
  24104. "trademode": {
  24105. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24106. "type": "integer"
  24107. },
  24108. "tradeqty": {
  24109. "description": "成交数量",
  24110. "type": "integer"
  24111. },
  24112. "vendorattr": {
  24113. "description": "供应商附件(多张,逗号分隔)",
  24114. "type": "string"
  24115. },
  24116. "vendorname": {
  24117. "description": "供应商名称",
  24118. "type": "string"
  24119. },
  24120. "vendorphone": {
  24121. "description": "供应商客服电话",
  24122. "type": "string"
  24123. },
  24124. "videourls": {
  24125. "description": "介绍视频[多张用逗号分隔]",
  24126. "type": "string"
  24127. }
  24128. }
  24129. },
  24130. "models.HsbyMarketInfo": {
  24131. "type": "object",
  24132. "required": [
  24133. "marketid",
  24134. "marketstatus",
  24135. "trademode"
  24136. ],
  24137. "properties": {
  24138. "marketid": {
  24139. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24140. "type": "integer"
  24141. },
  24142. "marketname": {
  24143. "description": "市场名称",
  24144. "type": "string"
  24145. },
  24146. "marketstatus": {
  24147. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24148. "type": "integer"
  24149. },
  24150. "trademode": {
  24151. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24152. "type": "integer"
  24153. }
  24154. }
  24155. },
  24156. "models.HsbyMyGoods": {
  24157. "type": "object",
  24158. "required": [
  24159. "accountid",
  24160. "goodscode",
  24161. "goodsid",
  24162. "goodsname",
  24163. "marketid",
  24164. "trademode"
  24165. ],
  24166. "properties": {
  24167. "accountid": {
  24168. "description": "账号Id",
  24169. "type": "integer"
  24170. },
  24171. "agreeunit": {
  24172. "description": "合约单位",
  24173. "type": "number"
  24174. },
  24175. "buyaverageprice": {
  24176. "description": "持仓均价",
  24177. "type": "number"
  24178. },
  24179. "buycurholderamount": {
  24180. "description": "买当前持仓总金额[商品币种]",
  24181. "type": "number"
  24182. },
  24183. "buycurpositionqty": {
  24184. "description": "买当前持仓总数量",
  24185. "type": "integer"
  24186. },
  24187. "buymaxqty": {
  24188. "description": "购买上限 [71] - 0为不限",
  24189. "type": "integer"
  24190. },
  24191. "currencysign": {
  24192. "description": "货币符号",
  24193. "type": "string"
  24194. },
  24195. "decimalplace": {
  24196. "description": "报价小数位",
  24197. "type": "integer"
  24198. },
  24199. "enableqty": {
  24200. "description": "可用数量",
  24201. "type": "integer"
  24202. },
  24203. "goodscode": {
  24204. "description": "商品代码(内部)",
  24205. "type": "string"
  24206. },
  24207. "goodsid": {
  24208. "description": "商品Id",
  24209. "type": "integer"
  24210. },
  24211. "goodsname": {
  24212. "description": "商品名称",
  24213. "type": "string"
  24214. },
  24215. "goodsprice": {
  24216. "description": "商品价格",
  24217. "type": "number"
  24218. },
  24219. "goodsstatus": {
  24220. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24221. "type": "integer"
  24222. },
  24223. "last": {
  24224. "description": "现价(仅使用于挂牌点选)",
  24225. "type": "number"
  24226. },
  24227. "limitdown": {
  24228. "description": "跌停价(仅使用于挂牌点选)",
  24229. "type": "number"
  24230. },
  24231. "limitup": {
  24232. "description": "涨停价(仅使用于挂牌点选)",
  24233. "type": "number"
  24234. },
  24235. "lotsize": {
  24236. "description": "手数最小变动单位",
  24237. "type": "integer"
  24238. },
  24239. "marketid": {
  24240. "description": "所属市场ID",
  24241. "type": "integer"
  24242. },
  24243. "picurls": {
  24244. "description": "介绍图片[多张用逗号分隔]",
  24245. "type": "string"
  24246. },
  24247. "quoteminunit": {
  24248. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24249. "type": "integer"
  24250. },
  24251. "stepvalue": {
  24252. "description": "价格最小变动单位",
  24253. "type": "number"
  24254. },
  24255. "trademode": {
  24256. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24257. "type": "integer"
  24258. }
  24259. }
  24260. },
  24261. "models.HsbyMyPackage": {
  24262. "type": "object",
  24263. "required": [
  24264. "goodscode",
  24265. "goodsname",
  24266. "takeorderid",
  24267. "trademode"
  24268. ],
  24269. "properties": {
  24270. "accountid": {
  24271. "description": "账户ID",
  24272. "type": "integer"
  24273. },
  24274. "address": {
  24275. "description": "提货人详细地址",
  24276. "type": "string"
  24277. },
  24278. "agreeunit": {
  24279. "description": "合约单位",
  24280. "type": "number"
  24281. },
  24282. "amount": {
  24283. "description": "提货金额",
  24284. "type": "number"
  24285. },
  24286. "auditer": {
  24287. "description": "审核人",
  24288. "type": "integer"
  24289. },
  24290. "audittime": {
  24291. "description": "审核时间",
  24292. "type": "string"
  24293. },
  24294. "averageprice": {
  24295. "description": "均价",
  24296. "type": "number"
  24297. },
  24298. "cardnum": {
  24299. "description": "提货人证件号码",
  24300. "type": "string"
  24301. },
  24302. "cardtypeid": {
  24303. "description": "提货人证件类型",
  24304. "type": "integer"
  24305. },
  24306. "checkremark": {
  24307. "description": "审核备注",
  24308. "type": "string"
  24309. },
  24310. "currencysign": {
  24311. "description": "货币符号",
  24312. "type": "string"
  24313. },
  24314. "decimalplace": {
  24315. "description": "报价小数位",
  24316. "type": "integer"
  24317. },
  24318. "goodscode": {
  24319. "description": "商品代码(内部)",
  24320. "type": "string"
  24321. },
  24322. "goodsid": {
  24323. "description": "商品ID",
  24324. "type": "integer"
  24325. },
  24326. "goodsname": {
  24327. "description": "商品名称",
  24328. "type": "string"
  24329. },
  24330. "handlestatus": {
  24331. "description": "处理状态",
  24332. "type": "integer"
  24333. },
  24334. "marketid": {
  24335. "description": "市场ID",
  24336. "type": "integer"
  24337. },
  24338. "phonenum": {
  24339. "description": "提货人联系方式",
  24340. "type": "string"
  24341. },
  24342. "picurls": {
  24343. "description": "介绍图片[多张用逗号分隔]",
  24344. "type": "string"
  24345. },
  24346. "qty": {
  24347. "description": "提货数量",
  24348. "type": "number"
  24349. },
  24350. "recivername": {
  24351. "description": "提货人姓名",
  24352. "type": "string"
  24353. },
  24354. "reqtime": {
  24355. "description": "更新时间",
  24356. "type": "string"
  24357. },
  24358. "takemode": {
  24359. "description": "提货方式 - 2:自提 3:配送",
  24360. "type": "integer"
  24361. },
  24362. "takeorderid": {
  24363. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24364. "type": "string"
  24365. },
  24366. "takeorderstatus": {
  24367. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24368. "type": "integer"
  24369. },
  24370. "takeremark": {
  24371. "description": "提货备注",
  24372. "type": "string"
  24373. },
  24374. "tradedate": {
  24375. "description": "交易日(yyyyMMdd)",
  24376. "type": "string"
  24377. },
  24378. "trademode": {
  24379. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24380. "type": "integer"
  24381. },
  24382. "userid": {
  24383. "description": "用户ID",
  24384. "type": "integer"
  24385. },
  24386. "vendorname": {
  24387. "description": "供应商名称",
  24388. "type": "string"
  24389. }
  24390. }
  24391. },
  24392. "models.HsbyPreGoods": {
  24393. "type": "object",
  24394. "required": [
  24395. "goodscode",
  24396. "goodsid",
  24397. "goodsname",
  24398. "marketid",
  24399. "trademode"
  24400. ],
  24401. "properties": {
  24402. "agreeunit": {
  24403. "description": "合约单位",
  24404. "type": "number"
  24405. },
  24406. "currency": {
  24407. "description": "货币",
  24408. "type": "string"
  24409. },
  24410. "currencysign": {
  24411. "description": "货币符号",
  24412. "type": "string"
  24413. },
  24414. "decimalplace": {
  24415. "description": "报价小数位",
  24416. "type": "integer"
  24417. },
  24418. "desccityid": {
  24419. "description": "目的地(市)",
  24420. "type": "integer"
  24421. },
  24422. "descprovinceid": {
  24423. "description": "目的地(省)",
  24424. "type": "integer"
  24425. },
  24426. "enableqty": {
  24427. "description": "剩余数量",
  24428. "type": "integer"
  24429. },
  24430. "goodscode": {
  24431. "description": "商品代码(内部)",
  24432. "type": "string"
  24433. },
  24434. "goodsid": {
  24435. "description": "商品ID(自增ID SEQ_GOODS)",
  24436. "type": "integer"
  24437. },
  24438. "goodsname": {
  24439. "description": "商品名称",
  24440. "type": "string"
  24441. },
  24442. "goodsstatus": {
  24443. "description": "商品状态- 2:未上市 3:上市",
  24444. "type": "integer"
  24445. },
  24446. "lasttradedate": {
  24447. "description": "最后交易日期(状态:待退市)",
  24448. "type": "string"
  24449. },
  24450. "listingdate": {
  24451. "description": "交易开始日期",
  24452. "type": "string"
  24453. },
  24454. "marketid": {
  24455. "description": "所属市场ID",
  24456. "type": "integer"
  24457. },
  24458. "picurls": {
  24459. "description": "介绍图片[多张用逗号分隔]",
  24460. "type": "string"
  24461. },
  24462. "presaledqty": {
  24463. "description": "已预售量(预售结束时更新)",
  24464. "type": "integer"
  24465. },
  24466. "presaleqty": {
  24467. "description": "预售数量",
  24468. "type": "integer"
  24469. },
  24470. "quoteminunit": {
  24471. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24472. "type": "integer"
  24473. },
  24474. "refprice": {
  24475. "description": "参考价格[一口价]",
  24476. "type": "number"
  24477. },
  24478. "relatedgoodsid": {
  24479. "description": "关联交易合约ID",
  24480. "type": "integer"
  24481. },
  24482. "trademode": {
  24483. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24484. "type": "integer"
  24485. },
  24486. "videourls": {
  24487. "description": "介绍视频[多张用逗号分隔]",
  24488. "type": "string"
  24489. }
  24490. }
  24491. },
  24492. "models.HsbyPreGoodsDetail": {
  24493. "type": "object",
  24494. "required": [
  24495. "goodscode",
  24496. "goodsid",
  24497. "goodsname",
  24498. "marketid",
  24499. "trademode"
  24500. ],
  24501. "properties": {
  24502. "agreeunit": {
  24503. "description": "合约单位",
  24504. "type": "number"
  24505. },
  24506. "buymaxqty": {
  24507. "description": "购买上限 [71] - 0为不限",
  24508. "type": "integer"
  24509. },
  24510. "currency": {
  24511. "description": "货币",
  24512. "type": "string"
  24513. },
  24514. "currencysign": {
  24515. "description": "货币符号",
  24516. "type": "string"
  24517. },
  24518. "customername": {
  24519. "description": "发行单位",
  24520. "type": "string"
  24521. },
  24522. "decimalplace": {
  24523. "description": "报价小数位",
  24524. "type": "integer"
  24525. },
  24526. "desccityid": {
  24527. "description": "目的地(市)ID",
  24528. "type": "integer"
  24529. },
  24530. "descprovinceid": {
  24531. "description": "目的地(省)ID",
  24532. "type": "integer"
  24533. },
  24534. "enableqty": {
  24535. "description": "剩余数量",
  24536. "type": "integer"
  24537. },
  24538. "goodscode": {
  24539. "description": "商品代码(内部)",
  24540. "type": "string"
  24541. },
  24542. "goodsdesc": {
  24543. "description": "商品详情",
  24544. "type": "string"
  24545. },
  24546. "goodsid": {
  24547. "description": "商品ID(自增ID SEQ_GOODS)",
  24548. "type": "integer"
  24549. },
  24550. "goodsname": {
  24551. "description": "商品名称",
  24552. "type": "string"
  24553. },
  24554. "goodsstatus": {
  24555. "description": "商品状态- 2:未上市 3:上市",
  24556. "type": "integer"
  24557. },
  24558. "goodunit": {
  24559. "description": "报价单位",
  24560. "type": "string"
  24561. },
  24562. "lasttradedate": {
  24563. "description": "最后交易日期(状态:待退市)",
  24564. "type": "string"
  24565. },
  24566. "listingdate": {
  24567. "description": "交易开始日期",
  24568. "type": "string"
  24569. },
  24570. "lotsize": {
  24571. "description": "手数最小变动单位",
  24572. "type": "integer"
  24573. },
  24574. "marketid": {
  24575. "description": "所属市场ID",
  24576. "type": "integer"
  24577. },
  24578. "picurls": {
  24579. "description": "介绍图片[多张用逗号分隔]",
  24580. "type": "string"
  24581. },
  24582. "presaledqty": {
  24583. "description": "已预售量(预售结束时更新)",
  24584. "type": "integer"
  24585. },
  24586. "presaleqty": {
  24587. "description": "预售数量",
  24588. "type": "integer"
  24589. },
  24590. "quoteminunit": {
  24591. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24592. "type": "integer"
  24593. },
  24594. "refprice": {
  24595. "description": "参考价格[一口价]",
  24596. "type": "number"
  24597. },
  24598. "relatedgoodsid": {
  24599. "description": "关联交易合约ID",
  24600. "type": "integer"
  24601. },
  24602. "stepvalue": {
  24603. "description": "价格最小变动单位",
  24604. "type": "number"
  24605. },
  24606. "trademode": {
  24607. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24608. "type": "integer"
  24609. },
  24610. "vendorattr": {
  24611. "description": "供应商附件(多张,逗号分隔)",
  24612. "type": "string"
  24613. },
  24614. "vendorname": {
  24615. "description": "供应商名称",
  24616. "type": "string"
  24617. },
  24618. "vendorphone": {
  24619. "description": "供应商客服电话",
  24620. "type": "string"
  24621. },
  24622. "videourls": {
  24623. "description": "介绍视频[多张用逗号分隔]",
  24624. "type": "string"
  24625. }
  24626. }
  24627. },
  24628. "models.HsbySellCollectionOrder": {
  24629. "type": "object",
  24630. "required": [
  24631. "goodscode",
  24632. "goodsname",
  24633. "tradeid",
  24634. "trademode"
  24635. ],
  24636. "properties": {
  24637. "agreeunit": {
  24638. "description": "合约单位",
  24639. "type": "number"
  24640. },
  24641. "buyaccountid": {
  24642. "description": "买方账号ID[报价币种]",
  24643. "type": "integer"
  24644. },
  24645. "buyorderid": {
  24646. "description": "买方委托单号",
  24647. "type": "string"
  24648. },
  24649. "createtime": {
  24650. "description": "创建时间",
  24651. "type": "string"
  24652. },
  24653. "currencysign": {
  24654. "description": "货币符号",
  24655. "type": "string"
  24656. },
  24657. "decimalplace": {
  24658. "description": "报价小数位",
  24659. "type": "integer"
  24660. },
  24661. "goodscode": {
  24662. "description": "商品代码(内部)",
  24663. "type": "string"
  24664. },
  24665. "goodsid": {
  24666. "description": "商品ID",
  24667. "type": "integer"
  24668. },
  24669. "goodsname": {
  24670. "description": "商品名称",
  24671. "type": "string"
  24672. },
  24673. "marketid": {
  24674. "description": "市场ID",
  24675. "type": "integer"
  24676. },
  24677. "offamount": {
  24678. "description": "优惠金额",
  24679. "type": "number"
  24680. },
  24681. "payamount": {
  24682. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  24683. "type": "number"
  24684. },
  24685. "payflag": {
  24686. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24687. "type": "integer"
  24688. },
  24689. "paylimitedtime": {
  24690. "description": "支付期限",
  24691. "type": "string"
  24692. },
  24693. "paytime": {
  24694. "description": "付款时间",
  24695. "type": "string"
  24696. },
  24697. "picurls": {
  24698. "description": "商品介绍图片[多张用逗号分隔]",
  24699. "type": "string"
  24700. },
  24701. "sellaccountid": {
  24702. "description": "卖方账号ID[报价币种]",
  24703. "type": "integer"
  24704. },
  24705. "sellorderid": {
  24706. "description": "卖方委托单号",
  24707. "type": "string"
  24708. },
  24709. "tradeamount": {
  24710. "description": "成交金额",
  24711. "type": "number"
  24712. },
  24713. "tradecharge": {
  24714. "description": "成交手续费(买方)",
  24715. "type": "number"
  24716. },
  24717. "tradedate": {
  24718. "description": "交易日(yyyyMMdd)",
  24719. "type": "string"
  24720. },
  24721. "tradeid": {
  24722. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24723. "type": "string"
  24724. },
  24725. "trademode": {
  24726. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24727. "type": "integer"
  24728. },
  24729. "tradeprice": {
  24730. "description": "成交价格",
  24731. "type": "number"
  24732. },
  24733. "tradeqty": {
  24734. "description": "成交数量",
  24735. "type": "integer"
  24736. }
  24737. }
  24738. },
  24739. "models.HsbySellMyDetail": {
  24740. "type": "object",
  24741. "required": [
  24742. "accountid",
  24743. "buyorsell",
  24744. "goodscode",
  24745. "goodsid",
  24746. "goodsname",
  24747. "marketid",
  24748. "orderid",
  24749. "time",
  24750. "trademode"
  24751. ],
  24752. "properties": {
  24753. "accountid": {
  24754. "description": "账户ID[报价币种]",
  24755. "type": "integer"
  24756. },
  24757. "agreeunit": {
  24758. "description": "合约单位",
  24759. "type": "number"
  24760. },
  24761. "buyorsell": {
  24762. "description": "买卖 - 0:买 1:卖",
  24763. "type": "integer"
  24764. },
  24765. "currencysign": {
  24766. "description": "货币符号",
  24767. "type": "string"
  24768. },
  24769. "decimalplace": {
  24770. "description": "报价小数位",
  24771. "type": "integer"
  24772. },
  24773. "goodscode": {
  24774. "description": "商品代码(内部)",
  24775. "type": "string"
  24776. },
  24777. "goodsid": {
  24778. "description": "商品ID",
  24779. "type": "integer"
  24780. },
  24781. "goodsname": {
  24782. "description": "商品名称",
  24783. "type": "string"
  24784. },
  24785. "marketid": {
  24786. "description": "市场ID",
  24787. "type": "integer"
  24788. },
  24789. "orderid": {
  24790. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  24791. "type": "string"
  24792. },
  24793. "ordertype": {
  24794. "description": "单据类型:0 - 发布中, 1 - 已完成",
  24795. "type": "integer"
  24796. },
  24797. "picurls": {
  24798. "description": "介绍图片[多张用逗号分隔]",
  24799. "type": "string"
  24800. },
  24801. "price": {
  24802. "description": "价格",
  24803. "type": "number"
  24804. },
  24805. "qty": {
  24806. "description": "数量",
  24807. "type": "integer"
  24808. },
  24809. "time": {
  24810. "description": "时间",
  24811. "type": "string"
  24812. },
  24813. "trademode": {
  24814. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24815. "type": "integer"
  24816. },
  24817. "vendorname": {
  24818. "description": "供应商名称",
  24819. "type": "string"
  24820. }
  24821. }
  24822. },
  24823. "models.HsbyTopGoods": {
  24824. "type": "object",
  24825. "required": [
  24826. "goodscode",
  24827. "goodsid",
  24828. "goodsname",
  24829. "marketid",
  24830. "trademode"
  24831. ],
  24832. "properties": {
  24833. "agreeunit": {
  24834. "description": "合约单位",
  24835. "type": "number"
  24836. },
  24837. "currency": {
  24838. "description": "货币",
  24839. "type": "string"
  24840. },
  24841. "currencysign": {
  24842. "description": "货币符号",
  24843. "type": "string"
  24844. },
  24845. "decimalplace": {
  24846. "description": "报价小数位",
  24847. "type": "integer"
  24848. },
  24849. "desccityid": {
  24850. "description": "目的地(市)",
  24851. "type": "integer"
  24852. },
  24853. "descprovinceid": {
  24854. "description": "目的地(省)",
  24855. "type": "integer"
  24856. },
  24857. "goodscode": {
  24858. "description": "商品代码(内部)",
  24859. "type": "string"
  24860. },
  24861. "goodsid": {
  24862. "description": "商品ID(自增ID SEQ_GOODS)",
  24863. "type": "integer"
  24864. },
  24865. "goodsname": {
  24866. "description": "商品名称",
  24867. "type": "string"
  24868. },
  24869. "hotindex": {
  24870. "description": "景点热度",
  24871. "type": "integer"
  24872. },
  24873. "last": {
  24874. "description": "现价",
  24875. "type": "number"
  24876. },
  24877. "marketid": {
  24878. "description": "所属市场ID",
  24879. "type": "integer"
  24880. },
  24881. "picurls": {
  24882. "description": "介绍图片[多张用逗号分隔]",
  24883. "type": "string"
  24884. },
  24885. "quoteminunit": {
  24886. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24887. "type": "integer"
  24888. },
  24889. "trademode": {
  24890. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24891. "type": "integer"
  24892. },
  24893. "videourls": {
  24894. "description": "介绍视频[多张用逗号分隔]",
  24895. "type": "string"
  24896. }
  24897. }
  24898. },
  24899. "models.HybsMyBuyOrderDetail": {
  24900. "type": "object",
  24901. "required": [
  24902. "accountid",
  24903. "buyorsell",
  24904. "goodscode",
  24905. "goodsid",
  24906. "goodsname",
  24907. "marketid",
  24908. "orderid",
  24909. "orderqty",
  24910. "ordertime",
  24911. "trademode"
  24912. ],
  24913. "properties": {
  24914. "accountid": {
  24915. "description": "账户ID[报价币种]",
  24916. "type": "integer"
  24917. },
  24918. "agreeunit": {
  24919. "description": "合约单位",
  24920. "type": "number"
  24921. },
  24922. "buyorsell": {
  24923. "description": "买卖 - 0:买 1:卖",
  24924. "type": "integer"
  24925. },
  24926. "cancelqty": {
  24927. "description": "撤单数量",
  24928. "type": "integer"
  24929. },
  24930. "currencysign": {
  24931. "description": "货币符号",
  24932. "type": "string"
  24933. },
  24934. "decimalplace": {
  24935. "description": "报价小数位",
  24936. "type": "integer"
  24937. },
  24938. "goodscode": {
  24939. "description": "商品代码(内部)",
  24940. "type": "string"
  24941. },
  24942. "goodsid": {
  24943. "description": "商品ID",
  24944. "type": "integer"
  24945. },
  24946. "goodsname": {
  24947. "description": "商品名称",
  24948. "type": "string"
  24949. },
  24950. "listingselecttype": {
  24951. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24952. "type": "integer"
  24953. },
  24954. "marketid": {
  24955. "description": "市场ID",
  24956. "type": "integer"
  24957. },
  24958. "mybuystatus": {
  24959. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  24960. "type": "integer"
  24961. },
  24962. "orderamount": {
  24963. "description": "委托金额",
  24964. "type": "number"
  24965. },
  24966. "orderid": {
  24967. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24968. "type": "string"
  24969. },
  24970. "orderprice": {
  24971. "description": "委托价格",
  24972. "type": "number"
  24973. },
  24974. "orderqty": {
  24975. "description": "委托数量",
  24976. "type": "integer"
  24977. },
  24978. "orderstatus": {
  24979. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24980. "type": "integer"
  24981. },
  24982. "ordertime": {
  24983. "description": "委托时间",
  24984. "type": "string"
  24985. },
  24986. "picurls1": {
  24987. "description": "预售商品介绍图片[多张用逗号分隔]",
  24988. "type": "string"
  24989. },
  24990. "picurls2": {
  24991. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  24992. "type": "string"
  24993. },
  24994. "trademode": {
  24995. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24996. "type": "integer"
  24997. },
  24998. "tradeqty": {
  24999. "description": "成交数量",
  25000. "type": "integer"
  25001. },
  25002. "vendorname1": {
  25003. "description": "预售商品供应商名称",
  25004. "type": "string"
  25005. },
  25006. "vendorname2": {
  25007. "description": "挂牌商品供应商名称",
  25008. "type": "string"
  25009. }
  25010. }
  25011. },
  25012. "models.Loginaccount": {
  25013. "type": "object",
  25014. "required": [
  25015. "loginid"
  25016. ],
  25017. "properties": {
  25018. "accountname": {
  25019. "description": "账户名称",
  25020. "type": "string"
  25021. },
  25022. "canoutin": {
  25023. "description": "是否可出入金 - 0:不可 1:可",
  25024. "type": "integer"
  25025. },
  25026. "clientroleid": {
  25027. "description": "终端角色ID",
  25028. "type": "integer"
  25029. },
  25030. "haslogined": {
  25031. "description": "是否已登录 - 0:未登录 1:已登录",
  25032. "type": "integer"
  25033. },
  25034. "hasupdatedpwd": {
  25035. "description": "是否已更改密码 - 0:未修改 1:已修改",
  25036. "type": "integer"
  25037. },
  25038. "lastloginip": {
  25039. "description": "最新登录地址",
  25040. "type": "string"
  25041. },
  25042. "lastloginmode": {
  25043. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  25044. "type": "integer"
  25045. },
  25046. "lastloginremark": {
  25047. "description": "最新登录描述",
  25048. "type": "string"
  25049. },
  25050. "lastlogintime": {
  25051. "description": "最新登录时间",
  25052. "type": "string"
  25053. },
  25054. "logincode": {
  25055. "description": "登录代码",
  25056. "type": "string"
  25057. },
  25058. "loginfailnum": {
  25059. "description": "连续登录失败次数(登录成功时清零)",
  25060. "type": "integer"
  25061. },
  25062. "loginid": {
  25063. "description": "登陆账号",
  25064. "type": "integer"
  25065. },
  25066. "loginport": {
  25067. "description": "最新登录端口",
  25068. "type": "integer"
  25069. },
  25070. "loginstatus": {
  25071. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  25072. "type": "integer"
  25073. },
  25074. "loginusertype": {
  25075. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  25076. "type": "integer"
  25077. },
  25078. "mobile": {
  25079. "description": "手机号码(加密存储)",
  25080. "type": "string"
  25081. },
  25082. "modifierid": {
  25083. "description": "修改人",
  25084. "type": "integer"
  25085. },
  25086. "modifysrc": {
  25087. "description": "审核来源 - 1:管理端 2:终端",
  25088. "type": "integer"
  25089. },
  25090. "modifytime": {
  25091. "description": "修改时间",
  25092. "type": "string"
  25093. },
  25094. "password": {
  25095. "description": "登陆密码",
  25096. "type": "string"
  25097. },
  25098. "pwdwrongcount": {
  25099. "description": "密码错误次数",
  25100. "type": "integer"
  25101. },
  25102. "relateduserid": {
  25103. "description": "关联用户ID(机构)",
  25104. "type": "integer"
  25105. },
  25106. "taaccountrighttype": {
  25107. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  25108. "type": "integer"
  25109. },
  25110. "unfreezetime": {
  25111. "description": "账户解冻时间",
  25112. "type": "string"
  25113. },
  25114. "userid": {
  25115. "description": "用户ID",
  25116. "type": "integer"
  25117. }
  25118. }
  25119. },
  25120. "models.MainAccountInfo": {
  25121. "type": "object",
  25122. "properties": {
  25123. "accountid": {
  25124. "description": "账号id",
  25125. "type": "integer"
  25126. },
  25127. "accountname": {
  25128. "description": "账号名称(taaccount表中的名称)",
  25129. "type": "string"
  25130. },
  25131. "appid": {
  25132. "description": "AppID",
  25133. "type": "string"
  25134. },
  25135. "authcode": {
  25136. "description": "授权码",
  25137. "type": "string"
  25138. },
  25139. "brokerid": {
  25140. "description": "经纪商id",
  25141. "type": "string"
  25142. },
  25143. "fcid": {
  25144. "description": "期货公司id",
  25145. "type": "integer"
  25146. },
  25147. "fcname": {
  25148. "description": "期货公司代码",
  25149. "type": "string"
  25150. },
  25151. "hedgeaccountcode": {
  25152. "description": "外部账号代码(主账号登录代码)",
  25153. "type": "string"
  25154. },
  25155. "hedgeaccountpwd": {
  25156. "description": "密码",
  25157. "type": "string"
  25158. },
  25159. "ismain": {
  25160. "description": "是否主账号",
  25161. "type": "integer"
  25162. },
  25163. "relateduserid": {
  25164. "description": "关联用户id",
  25165. "type": "integer"
  25166. },
  25167. "userid": {
  25168. "description": "关联用户id",
  25169. "type": "integer"
  25170. }
  25171. }
  25172. },
  25173. "models.Market": {
  25174. "type": "object",
  25175. "required": [
  25176. "marketid",
  25177. "marketstatus",
  25178. "openmethod",
  25179. "reckonpricealgorithm",
  25180. "trademode",
  25181. "tradeproperty"
  25182. ],
  25183. "properties": {
  25184. "auctionwrtype": {
  25185. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  25186. "type": "integer"
  25187. },
  25188. "canacceptquote": {
  25189. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  25190. "type": "integer"
  25191. },
  25192. "cangoodsexercise": {
  25193. "description": "[期权]是否可现货行权- 0:否 1:是",
  25194. "type": "integer"
  25195. },
  25196. "cangoodsexercisetype": {
  25197. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  25198. "type": "integer"
  25199. },
  25200. "canmanualquotestrike": {
  25201. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  25202. "type": "integer"
  25203. },
  25204. "canmutistage": {
  25205. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  25206. "type": "integer"
  25207. },
  25208. "canpreexercise": {
  25209. "description": "[期权]是否可预申报- 0:否 1:是",
  25210. "type": "integer"
  25211. },
  25212. "clearinterval": {
  25213. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  25214. "type": "integer"
  25215. },
  25216. "contracttmp": {
  25217. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  25218. "type": "string"
  25219. },
  25220. "exchareaid": {
  25221. "description": "所属交易所,可以没有",
  25222. "type": "integer"
  25223. },
  25224. "goodstype": {
  25225. "description": "商品类型 - 1:交易商品 2:仓单商品",
  25226. "type": "integer"
  25227. },
  25228. "hasrebate": {
  25229. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  25230. "type": "integer"
  25231. },
  25232. "hastradecredit": {
  25233. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  25234. "type": "integer"
  25235. },
  25236. "haswr": {
  25237. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  25238. "type": "integer"
  25239. },
  25240. "isdeductmargin": {
  25241. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  25242. "type": "integer"
  25243. },
  25244. "isrecordsource": {
  25245. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  25246. "type": "integer"
  25247. },
  25248. "isreleasemargin": {
  25249. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  25250. "type": "integer"
  25251. },
  25252. "marginformula": {
  25253. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25254. "type": "integer"
  25255. },
  25256. "marginformula2": {
  25257. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25258. "type": "integer"
  25259. },
  25260. "marketid": {
  25261. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  25262. "type": "integer"
  25263. },
  25264. "marketname": {
  25265. "description": "市场名称",
  25266. "type": "string"
  25267. },
  25268. "marketserviceid": {
  25269. "description": "市场服务ID",
  25270. "type": "integer"
  25271. },
  25272. "marketstatus": {
  25273. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  25274. "type": "integer"
  25275. },
  25276. "markettype": {
  25277. "description": "市场类型- 1:非交易服务 2:交易服务",
  25278. "type": "integer"
  25279. },
  25280. "matchermode": {
  25281. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  25282. "type": "integer"
  25283. },
  25284. "openmethod": {
  25285. "description": "开盘模式 - 0 自动 1手动",
  25286. "type": "integer"
  25287. },
  25288. "otcuserid": {
  25289. "description": "场外期权做市商[场外期权]",
  25290. "type": "integer"
  25291. },
  25292. "outersynctime": {
  25293. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  25294. "type": "string"
  25295. },
  25296. "pendingflag": {
  25297. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  25298. "type": "integer"
  25299. },
  25300. "pendingtime": {
  25301. "description": "待开市时间[通道交易-对冲](HH:mm)",
  25302. "type": "string"
  25303. },
  25304. "performancetempid": {
  25305. "description": "履约计划模板ID - 作废",
  25306. "type": "integer"
  25307. },
  25308. "premiumquotemode": {
  25309. "description": "权利金报价方式 - 1:自动 2:手动",
  25310. "type": "integer"
  25311. },
  25312. "rebateratio": {
  25313. "description": "返利比率[竞价式]",
  25314. "type": "number"
  25315. },
  25316. "reckonorder": {
  25317. "description": "结算顺序",
  25318. "type": "integer"
  25319. },
  25320. "reckonpricealgorithm": {
  25321. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  25322. "type": "integer"
  25323. },
  25324. "reckonpriceparam": {
  25325. "description": "结算价参数",
  25326. "type": "integer"
  25327. },
  25328. "reckontime": {
  25329. "description": "结算时间[通道交易-对冲](HH:mm)",
  25330. "type": "string"
  25331. },
  25332. "roleprioritytype": {
  25333. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  25334. "type": "integer"
  25335. },
  25336. "selllistingauditflag": {
  25337. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  25338. "type": "integer"
  25339. },
  25340. "trademarkettype": {
  25341. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  25342. "type": "integer"
  25343. },
  25344. "trademode": {
  25345. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25346. "type": "integer"
  25347. },
  25348. "tradeproperty": {
  25349. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  25350. "type": "integer"
  25351. },
  25352. "tradetype": {
  25353. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  25354. "type": "integer"
  25355. }
  25356. }
  25357. },
  25358. "models.Marketrun": {
  25359. "type": "object",
  25360. "required": [
  25361. "marketid",
  25362. "nexttradedate",
  25363. "reckonflag",
  25364. "runstatus",
  25365. "tradedate",
  25366. "tradedate2"
  25367. ],
  25368. "properties": {
  25369. "afternexttradedate": {
  25370. "description": "下下交易日",
  25371. "type": "string"
  25372. },
  25373. "clearquoteflag": {
  25374. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  25375. "type": "integer"
  25376. },
  25377. "lastreckondate": {
  25378. "description": "最新交易日(结算成功)",
  25379. "type": "string"
  25380. },
  25381. "machinedate": {
  25382. "description": "机器时间",
  25383. "type": "string"
  25384. },
  25385. "manualflag": {
  25386. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  25387. "type": "integer"
  25388. },
  25389. "marketid": {
  25390. "description": "市场ID",
  25391. "type": "integer"
  25392. },
  25393. "nexttradedate": {
  25394. "description": "下一交易日",
  25395. "type": "string"
  25396. },
  25397. "pretradedate": {
  25398. "description": "上一交易日",
  25399. "type": "string"
  25400. },
  25401. "reckonflag": {
  25402. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  25403. "type": "integer"
  25404. },
  25405. "runstatus": {
  25406. "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.今日免清算",
  25407. "type": "integer"
  25408. },
  25409. "sectionid": {
  25410. "description": "时间段号[多时段时用]",
  25411. "type": "integer"
  25412. },
  25413. "tradedate": {
  25414. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  25415. "type": "string"
  25416. },
  25417. "tradedate2": {
  25418. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  25419. "type": "string"
  25420. },
  25421. "updatetime": {
  25422. "description": "更新时间",
  25423. "type": "string"
  25424. }
  25425. }
  25426. },
  25427. "models.Messageboard": {
  25428. "type": "object",
  25429. "required": [
  25430. "messageboardid"
  25431. ],
  25432. "properties": {
  25433. "contactnum": {
  25434. "description": "联系电话",
  25435. "type": "string"
  25436. },
  25437. "createtime": {
  25438. "description": "创建时间",
  25439. "type": "string"
  25440. },
  25441. "message": {
  25442. "description": "留言信息",
  25443. "type": "string"
  25444. },
  25445. "messageboardid": {
  25446. "description": "留言簿ID(SEQ_MessageBoard)",
  25447. "type": "integer"
  25448. },
  25449. "userid": {
  25450. "description": "用户ID",
  25451. "type": "integer"
  25452. }
  25453. }
  25454. },
  25455. "models.MyCoupon": {
  25456. "type": "object",
  25457. "required": [
  25458. "accountid",
  25459. "coupontypeid"
  25460. ],
  25461. "properties": {
  25462. "accountid": {
  25463. "description": "资金账户ID",
  25464. "type": "integer"
  25465. },
  25466. "areauserid": {
  25467. "description": "所属机构",
  25468. "type": "integer"
  25469. },
  25470. "conditionvalue": {
  25471. "description": "条件阈值(可为0)",
  25472. "type": "number"
  25473. },
  25474. "couponcategroy": {
  25475. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  25476. "type": "integer"
  25477. },
  25478. "couponname": {
  25479. "description": "优惠券名称",
  25480. "type": "string"
  25481. },
  25482. "coupontypeid": {
  25483. "description": "优惠券类型ID",
  25484. "type": "string"
  25485. },
  25486. "couponvalue": {
  25487. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25488. "type": "number"
  25489. },
  25490. "curfreezeqty": {
  25491. "description": "期末冻结数量",
  25492. "type": "integer"
  25493. },
  25494. "curqty": {
  25495. "description": "期末数量",
  25496. "type": "integer"
  25497. },
  25498. "isgeneral": {
  25499. "description": "是否通用券 - 0:否 1:是",
  25500. "type": "integer"
  25501. },
  25502. "isunusable": {
  25503. "description": "是否不可用",
  25504. "type": "boolean"
  25505. },
  25506. "limitedflag": {
  25507. "description": "是否指定商品 - 0:不限 1:限制",
  25508. "type": "integer"
  25509. },
  25510. "limitedgoodsids": {
  25511. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  25512. "type": "string"
  25513. },
  25514. "orifreezeqty": {
  25515. "description": "期初冻结数量",
  25516. "type": "integer"
  25517. },
  25518. "oriqty": {
  25519. "description": "期初数量",
  25520. "type": "integer"
  25521. },
  25522. "reasontype": {
  25523. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  25524. "type": "integer"
  25525. },
  25526. "todaydecrease": {
  25527. "description": "今日减少",
  25528. "type": "integer"
  25529. },
  25530. "todayincrease": {
  25531. "description": "今日增加",
  25532. "type": "integer"
  25533. },
  25534. "userid": {
  25535. "description": "用户ID",
  25536. "type": "integer"
  25537. },
  25538. "userscope": {
  25539. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  25540. "type": "string"
  25541. }
  25542. }
  25543. },
  25544. "models.MyCouponHold": {
  25545. "type": "object",
  25546. "required": [
  25547. "couponholdid"
  25548. ],
  25549. "properties": {
  25550. "accountid": {
  25551. "description": "资金账户ID",
  25552. "type": "integer"
  25553. },
  25554. "conditionvalue": {
  25555. "description": "条件阈值(可为0)",
  25556. "type": "number"
  25557. },
  25558. "couponcategroy": {
  25559. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  25560. "type": "integer"
  25561. },
  25562. "couponholdid": {
  25563. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  25564. "type": "string"
  25565. },
  25566. "couponname": {
  25567. "description": "优惠券名称",
  25568. "type": "string"
  25569. },
  25570. "coupontypeid": {
  25571. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  25572. "type": "string"
  25573. },
  25574. "couponvalue": {
  25575. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25576. "type": "number"
  25577. },
  25578. "createtime": {
  25579. "description": "创建时间",
  25580. "type": "string"
  25581. },
  25582. "enddate": {
  25583. "description": "结束日期",
  25584. "type": "string"
  25585. },
  25586. "giveapplyid": {
  25587. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  25588. "type": "integer"
  25589. },
  25590. "holdstatus": {
  25591. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  25592. "type": "integer"
  25593. },
  25594. "isgeneral": {
  25595. "description": "是否通用券 - 0:否 1:是",
  25596. "type": "integer"
  25597. },
  25598. "limitedflag": {
  25599. "description": "是否指定商品 - 0:不限 1:限制",
  25600. "type": "integer"
  25601. },
  25602. "limitedgoodsids": {
  25603. "description": "指定商品IDs[逗号分隔]",
  25604. "type": "string"
  25605. },
  25606. "qty": {
  25607. "description": "数量(按1平铺)",
  25608. "type": "integer"
  25609. },
  25610. "startdate": {
  25611. "description": "开始日期",
  25612. "type": "string"
  25613. },
  25614. "userid": {
  25615. "description": "用户ID",
  25616. "type": "integer"
  25617. },
  25618. "userscope": {
  25619. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  25620. "type": "string"
  25621. }
  25622. }
  25623. },
  25624. "models.MyUsedCoupon": {
  25625. "type": "object",
  25626. "required": [
  25627. "coupontypeid",
  25628. "orderid"
  25629. ],
  25630. "properties": {
  25631. "accountid": {
  25632. "description": "资金账户ID(买方)",
  25633. "type": "integer"
  25634. },
  25635. "conditionvalue": {
  25636. "description": "条件阈值(可为0)",
  25637. "type": "number"
  25638. },
  25639. "couponcategroy": {
  25640. "description": "种类 - 1:现金券 2:折扣券",
  25641. "type": "integer"
  25642. },
  25643. "couponname": {
  25644. "description": "优惠券名称",
  25645. "type": "string"
  25646. },
  25647. "coupontypeid": {
  25648. "description": "优惠券类型ID(买方)",
  25649. "type": "string"
  25650. },
  25651. "couponvalue": {
  25652. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  25653. "type": "number"
  25654. },
  25655. "createtime": {
  25656. "description": "创建时间",
  25657. "type": "string"
  25658. },
  25659. "goodsid": {
  25660. "description": "商品ID",
  25661. "type": "integer"
  25662. },
  25663. "handlestatus": {
  25664. "description": "处理状态",
  25665. "type": "integer"
  25666. },
  25667. "marketid": {
  25668. "description": "市场ID",
  25669. "type": "integer"
  25670. },
  25671. "offamount": {
  25672. "description": "优惠金额",
  25673. "type": "number"
  25674. },
  25675. "orderid": {
  25676. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25677. "type": "string"
  25678. },
  25679. "sellaccountid": {
  25680. "description": "资金账户ID(卖方)",
  25681. "type": "integer"
  25682. },
  25683. "tradeamount": {
  25684. "description": "成交金额",
  25685. "type": "number"
  25686. },
  25687. "tradeid": {
  25688. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25689. "type": "string"
  25690. },
  25691. "usedqty": {
  25692. "description": "使用数量",
  25693. "type": "integer"
  25694. }
  25695. }
  25696. },
  25697. "models.OperationPrimaryMenu": {
  25698. "type": "object",
  25699. "properties": {
  25700. "Children": {
  25701. "description": "二级功能菜单",
  25702. "type": "array",
  25703. "items": {
  25704. "$ref": "#/definitions/models.OperationSecondaryMenu"
  25705. }
  25706. },
  25707. "Key": {
  25708. "description": "菜单KEY",
  25709. "type": "string"
  25710. },
  25711. "Label": {
  25712. "description": "菜单标题",
  25713. "type": "string"
  25714. }
  25715. }
  25716. },
  25717. "models.OperationSecondaryMenu": {
  25718. "type": "object",
  25719. "properties": {
  25720. "Key": {
  25721. "description": "菜单KEY",
  25722. "type": "string"
  25723. },
  25724. "Label": {
  25725. "description": "菜单标题",
  25726. "type": "string"
  25727. },
  25728. "TabList": {
  25729. "description": "三级功能菜单",
  25730. "type": "array",
  25731. "items": {
  25732. "$ref": "#/definitions/models.OperationTabMenu"
  25733. }
  25734. }
  25735. }
  25736. },
  25737. "models.OperationTabMenu": {
  25738. "type": "object",
  25739. "properties": {
  25740. "Key": {
  25741. "description": "菜单KEY",
  25742. "type": "string"
  25743. },
  25744. "Label": {
  25745. "description": "菜单标题",
  25746. "type": "string"
  25747. }
  25748. }
  25749. },
  25750. "models.PendingAuditBizModel": {
  25751. "type": "object",
  25752. "properties": {
  25753. "accountid": {
  25754. "description": "现货账户",
  25755. "type": "string"
  25756. },
  25757. "areaname": {
  25758. "description": "所属部门",
  25759. "type": "string"
  25760. },
  25761. "bizid": {
  25762. "description": "业务ID",
  25763. "type": "string"
  25764. },
  25765. "bizname": {
  25766. "description": "业务名称",
  25767. "type": "string"
  25768. },
  25769. "status": {
  25770. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  25771. "type": "integer"
  25772. },
  25773. "type": {
  25774. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  25775. "type": "integer"
  25776. }
  25777. }
  25778. },
  25779. "models.QhjAccountOutInApply": {
  25780. "type": "object",
  25781. "properties": {
  25782. "accountcode": {
  25783. "description": "资金账号",
  25784. "type": "string"
  25785. },
  25786. "accountname": {
  25787. "description": "用户名称(名称)",
  25788. "type": "string"
  25789. },
  25790. "accountpwd": {
  25791. "description": "资金密码",
  25792. "type": "string"
  25793. },
  25794. "accountticket": {
  25795. "description": "最新账户服务流水号",
  25796. "type": "string"
  25797. },
  25798. "amount": {
  25799. "description": "金额",
  25800. "type": "number"
  25801. },
  25802. "applyremark": {
  25803. "description": "申请备注",
  25804. "type": "string"
  25805. },
  25806. "applystatus": {
  25807. "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: 复审通过,账户冻结金额检查中;",
  25808. "type": "integer"
  25809. },
  25810. "auditid": {
  25811. "description": "审核人",
  25812. "type": "integer"
  25813. },
  25814. "audittime": {
  25815. "description": "审核时间",
  25816. "type": "string"
  25817. },
  25818. "bank_apply_ticket": {
  25819. "description": "银行申请流水",
  25820. "type": "string"
  25821. },
  25822. "bankaccountname": {
  25823. "description": "银行账户名",
  25824. "type": "string"
  25825. },
  25826. "bankaccountno": {
  25827. "description": "银行卡号",
  25828. "type": "string"
  25829. },
  25830. "bankid": {
  25831. "description": "银行编号",
  25832. "type": "string"
  25833. },
  25834. "bankticket": {
  25835. "description": "银行流水",
  25836. "type": "string"
  25837. },
  25838. "branchbankid": {
  25839. "description": "银行支行号",
  25840. "type": "string"
  25841. },
  25842. "branchbankname": {
  25843. "description": "银行支行名称",
  25844. "type": "string"
  25845. },
  25846. "capamountout": {
  25847. "description": "出金(劣后本金) - 外部子账户",
  25848. "type": "number"
  25849. },
  25850. "certificatephotourl": {
  25851. "description": "凭证地址",
  25852. "type": "string"
  25853. },
  25854. "charge": {
  25855. "description": "手续费",
  25856. "type": "number"
  25857. },
  25858. "checkerrorflag": {
  25859. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25860. "type": "integer"
  25861. },
  25862. "currency": {
  25863. "description": "币种",
  25864. "type": "string"
  25865. },
  25866. "cusbankid": {
  25867. "description": "托管银行编号",
  25868. "type": "string"
  25869. },
  25870. "exchticket": {
  25871. "description": "银行服务流水号",
  25872. "type": "string"
  25873. },
  25874. "executetype": {
  25875. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25876. "type": "integer"
  25877. },
  25878. "extendinfo": {
  25879. "description": "扩展信息",
  25880. "type": "string"
  25881. },
  25882. "extoperateid": {
  25883. "description": "交易服务流水号",
  25884. "type": "integer"
  25885. },
  25886. "infamount": {
  25887. "description": "劣后金额(自有)",
  25888. "type": "number"
  25889. },
  25890. "logincode": {
  25891. "description": "登录账号(账号)",
  25892. "type": "string"
  25893. },
  25894. "netaddr": {
  25895. "description": "调转网址",
  25896. "type": "string"
  25897. },
  25898. "priamount": {
  25899. "description": "优先金额(授信)",
  25900. "type": "number"
  25901. },
  25902. "reauditid": {
  25903. "description": "复审人",
  25904. "type": "integer"
  25905. },
  25906. "reauditremark": {
  25907. "description": "复审备注",
  25908. "type": "string"
  25909. },
  25910. "reaudittime": {
  25911. "description": "复审时间",
  25912. "type": "string"
  25913. },
  25914. "relatedorderid": {
  25915. "description": "三方关联ID",
  25916. "type": "string"
  25917. },
  25918. "remark": {
  25919. "description": "备注",
  25920. "type": "string"
  25921. },
  25922. "remark2": {
  25923. "description": "备注(失败原因)",
  25924. "type": "string"
  25925. },
  25926. "soucreamount": {
  25927. "description": "原始出入金金额",
  25928. "type": "number"
  25929. },
  25930. "soucrecurrencyid": {
  25931. "description": "原始出入金币种",
  25932. "type": "integer"
  25933. },
  25934. "tradedate": {
  25935. "description": "交易日(yyyyMMdd)",
  25936. "type": "string"
  25937. },
  25938. "updatetime": {
  25939. "description": "更新时间(申请时间)",
  25940. "type": "string"
  25941. },
  25942. "userid": {
  25943. "description": "用户id",
  25944. "type": "integer"
  25945. },
  25946. "userinfotype": {
  25947. "description": "账户类型 1-个人 2-企业",
  25948. "type": "integer"
  25949. }
  25950. }
  25951. },
  25952. "models.QhjAgreementChangeLog": {
  25953. "type": "object",
  25954. "properties": {
  25955. "agreementcontent": {
  25956. "description": "协议内容",
  25957. "type": "string"
  25958. },
  25959. "agreementfrequency": {
  25960. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25961. "type": "integer"
  25962. },
  25963. "agreementid": {
  25964. "description": "协议ID",
  25965. "type": "integer"
  25966. },
  25967. "agreementname": {
  25968. "description": "协议名称",
  25969. "type": "string"
  25970. },
  25971. "agreementno": {
  25972. "description": "协议编号",
  25973. "type": "string"
  25974. },
  25975. "agreementtype": {
  25976. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25977. "type": "integer"
  25978. },
  25979. "agreementversion": {
  25980. "description": "协议版本号",
  25981. "type": "integer"
  25982. },
  25983. "logid": {
  25984. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  25985. "type": "integer"
  25986. },
  25987. "reviserid": {
  25988. "description": "修改人",
  25989. "type": "integer"
  25990. },
  25991. "revisersrc": {
  25992. "description": "修改来源 - 1:管理端 2:终端",
  25993. "type": "integer"
  25994. },
  25995. "updatetime": {
  25996. "description": "更新时间",
  25997. "type": "string"
  25998. }
  25999. }
  26000. },
  26001. "models.QhjAgreementConfig": {
  26002. "type": "object",
  26003. "properties": {
  26004. "agreementcontent": {
  26005. "description": "协议内容",
  26006. "type": "string"
  26007. },
  26008. "agreementfrequency": {
  26009. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  26010. "type": "integer"
  26011. },
  26012. "agreementid": {
  26013. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  26014. "type": "integer"
  26015. },
  26016. "agreementname": {
  26017. "description": "协议名称",
  26018. "type": "string"
  26019. },
  26020. "agreementno": {
  26021. "description": "协议编号",
  26022. "type": "string"
  26023. },
  26024. "agreementtype": {
  26025. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26026. "type": "integer"
  26027. },
  26028. "agreementversion": {
  26029. "description": "协议版本号(从1开始每次修改加1)",
  26030. "type": "integer"
  26031. },
  26032. "createtime": {
  26033. "description": "创建时间",
  26034. "type": "string"
  26035. },
  26036. "creatorid": {
  26037. "description": "创建人",
  26038. "type": "integer"
  26039. },
  26040. "creatorsrc": {
  26041. "description": "创建来源 - 1:管理端 2:终端",
  26042. "type": "integer"
  26043. },
  26044. "isvalid": {
  26045. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  26046. "type": "integer"
  26047. },
  26048. "reviserid": {
  26049. "description": "修改人",
  26050. "type": "integer"
  26051. },
  26052. "revisersrc": {
  26053. "description": "修改来源 - 1:管理端 2:终端",
  26054. "type": "integer"
  26055. },
  26056. "updatetime": {
  26057. "description": "更新时间",
  26058. "type": "string"
  26059. }
  26060. }
  26061. },
  26062. "models.QhjAreaFinanceConfig": {
  26063. "type": "object",
  26064. "properties": {
  26065. "additionalratio": {
  26066. "description": "追加款比例",
  26067. "type": "number"
  26068. },
  26069. "advanceratio": {
  26070. "description": "预付款比例",
  26071. "type": "number"
  26072. },
  26073. "alarmratio": {
  26074. "description": "告警比例",
  26075. "type": "number"
  26076. },
  26077. "consumptiondirectreward": {
  26078. "description": "消费直推奖励值",
  26079. "type": "number"
  26080. },
  26081. "consumptionenabled": {
  26082. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  26083. "type": "integer"
  26084. },
  26085. "consumptionindirectreward": {
  26086. "description": "消费间推奖励值",
  26087. "type": "number"
  26088. },
  26089. "consumptionmodel": {
  26090. "description": "消费奖励方式 - 1:比率 2:固定",
  26091. "type": "integer"
  26092. },
  26093. "customerservicenum": {
  26094. "description": "客服电话",
  26095. "type": "string"
  26096. },
  26097. "dayinterestrate": {
  26098. "description": "日利率",
  26099. "type": "number"
  26100. },
  26101. "disableconsumptiontips": {
  26102. "description": "关闭消费奖励提示",
  26103. "type": "string"
  26104. },
  26105. "modifierid": {
  26106. "description": "修改人ID",
  26107. "type": "integer"
  26108. },
  26109. "modifysrc": {
  26110. "description": "审核来源 - 1:管理端 2:终端",
  26111. "type": "integer"
  26112. },
  26113. "modifytime": {
  26114. "description": "修改时间",
  26115. "type": "string"
  26116. },
  26117. "promotionvalue": {
  26118. "description": "推广奖励值(固定)",
  26119. "type": "number"
  26120. },
  26121. "scoreconfigvalue1": {
  26122. "description": "提货积分配置1",
  26123. "type": "integer"
  26124. },
  26125. "scoreconfigvalue2": {
  26126. "description": "提货积分配置2",
  26127. "type": "integer"
  26128. },
  26129. "userid": {
  26130. "description": "机构用户ID其他做市关系,都设置为 1",
  26131. "type": "integer"
  26132. },
  26133. "username": {
  26134. "description": "用户名称",
  26135. "type": "string"
  26136. }
  26137. }
  26138. },
  26139. "models.QhjBankAccountSign": {
  26140. "type": "object",
  26141. "properties": {
  26142. "accountcode": {
  26143. "description": "资金账号",
  26144. "type": "string"
  26145. },
  26146. "accountname": {
  26147. "description": "资金账号对应的账号名(UserName)",
  26148. "type": "string"
  26149. },
  26150. "accountname2": {
  26151. "description": "资金账号对应的账号名(UserName) - 密文",
  26152. "type": "string"
  26153. },
  26154. "accounttype": {
  26155. "description": "账户类型(UserType)",
  26156. "type": "integer"
  26157. },
  26158. "applicationtime": {
  26159. "description": "最后一次更新的时间",
  26160. "type": "string"
  26161. },
  26162. "applyexchticket": {
  26163. "description": "申请流水",
  26164. "type": "string"
  26165. },
  26166. "auditid": {
  26167. "description": "审核人",
  26168. "type": "integer"
  26169. },
  26170. "audittime": {
  26171. "description": "审核时间",
  26172. "type": "string"
  26173. },
  26174. "bankaccountname": {
  26175. "description": "签约银行卡账号名",
  26176. "type": "string"
  26177. },
  26178. "bankaccountname2": {
  26179. "description": "签约银行卡账号名 - 密文",
  26180. "type": "string"
  26181. },
  26182. "bankaccountno": {
  26183. "description": "银行卡号",
  26184. "type": "string"
  26185. },
  26186. "bankaccountno2": {
  26187. "description": "银行卡号 - 密文",
  26188. "type": "string"
  26189. },
  26190. "bankaccounttype": {
  26191. "description": "银行账户类型 - 1-对私; 2-对公",
  26192. "type": "integer"
  26193. },
  26194. "bankcardtype": {
  26195. "description": "银行卡类型",
  26196. "type": "integer"
  26197. },
  26198. "bankchildaccount": {
  26199. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  26200. "type": "string"
  26201. },
  26202. "bankcity": {
  26203. "description": "开户行城市",
  26204. "type": "string"
  26205. },
  26206. "bankid": {
  26207. "description": "签约银行ID",
  26208. "type": "string"
  26209. },
  26210. "bankname": {
  26211. "description": "签约银行名称",
  26212. "type": "string"
  26213. },
  26214. "bankprovince": {
  26215. "description": "开户行省份",
  26216. "type": "string"
  26217. },
  26218. "branchbankid": {
  26219. "description": "签约银行支行号",
  26220. "type": "string"
  26221. },
  26222. "branchbankname": {
  26223. "description": "签约银行支行名称",
  26224. "type": "string"
  26225. },
  26226. "cardno": {
  26227. "description": "证件号码",
  26228. "type": "string"
  26229. },
  26230. "cardno2": {
  26231. "description": "证件号码 - 密文",
  26232. "type": "string"
  26233. },
  26234. "cardtype": {
  26235. "description": "证件类型",
  26236. "type": "string"
  26237. },
  26238. "currency": {
  26239. "description": "币种",
  26240. "type": "string"
  26241. },
  26242. "cusbankid": {
  26243. "description": "托管银行编号",
  26244. "type": "string"
  26245. },
  26246. "direct": {
  26247. "description": "方向(可以判断那方先发起的签约)",
  26248. "type": "integer"
  26249. },
  26250. "exchticket": {
  26251. "description": "最后一次签约成功的流水号",
  26252. "type": "string"
  26253. },
  26254. "extendinfo": {
  26255. "description": "扩展信息(JSON字符串)",
  26256. "type": "string"
  26257. },
  26258. "mobilephone": {
  26259. "description": "手机号",
  26260. "type": "string"
  26261. },
  26262. "mobilephone2": {
  26263. "description": "手机号 - 密文",
  26264. "type": "string"
  26265. },
  26266. "netaddr": {
  26267. "description": "调转网址",
  26268. "type": "string"
  26269. },
  26270. "relateduserid": {
  26271. "description": "关联使用者userid",
  26272. "type": "integer"
  26273. },
  26274. "signstatus": {
  26275. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  26276. "type": "integer"
  26277. },
  26278. "updatetime": {
  26279. "description": "更新时间(签解约更新时间)",
  26280. "type": "string"
  26281. }
  26282. }
  26283. },
  26284. "models.QhjBankInfo": {
  26285. "type": "object",
  26286. "properties": {
  26287. "bankid": {
  26288. "description": "银行ID",
  26289. "type": "string"
  26290. },
  26291. "bankname": {
  26292. "description": "银行名称",
  26293. "type": "string"
  26294. },
  26295. "clearbankno": {
  26296. "description": "清算系统银行编号",
  26297. "type": "string"
  26298. },
  26299. "orderindex": {
  26300. "description": "排序顺序",
  26301. "type": "integer"
  26302. },
  26303. "status": {
  26304. "description": "状态 - 0:正常 1:注销",
  26305. "type": "integer"
  26306. }
  26307. }
  26308. },
  26309. "models.QhjBrokerApply": {
  26310. "type": "object",
  26311. "properties": {
  26312. "applicantid": {
  26313. "description": "申请人",
  26314. "type": "integer"
  26315. },
  26316. "applysrc": {
  26317. "description": "申请来源 - 1:管理端 2:终端",
  26318. "type": "integer"
  26319. },
  26320. "applystatus": {
  26321. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26322. "type": "integer"
  26323. },
  26324. "applytime": {
  26325. "description": "申请时间",
  26326. "type": "string"
  26327. },
  26328. "auditorid": {
  26329. "description": "审核人",
  26330. "type": "integer"
  26331. },
  26332. "auditremark": {
  26333. "description": "审核备注",
  26334. "type": "string"
  26335. },
  26336. "auditsrc": {
  26337. "description": "审核来源 - 1:管理端 2:终端",
  26338. "type": "integer"
  26339. },
  26340. "audittime": {
  26341. "description": "审核时间",
  26342. "type": "string"
  26343. },
  26344. "audittradedate": {
  26345. "description": "审核交易日(yyyyMMdd)",
  26346. "type": "string"
  26347. },
  26348. "brokerapplyid": {
  26349. "description": "申请ID(SEQ_BROKERAPPLY)",
  26350. "type": "integer"
  26351. },
  26352. "cardbackphotourl": {
  26353. "description": "证件背面图片地址",
  26354. "type": "string"
  26355. },
  26356. "cardfrontphotourl": {
  26357. "description": "证件正面图片地址",
  26358. "type": "string"
  26359. },
  26360. "cardnum": {
  26361. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26362. "type": "string"
  26363. },
  26364. "customername": {
  26365. "description": "姓名",
  26366. "type": "string"
  26367. },
  26368. "logincode": {
  26369. "description": "登录代码",
  26370. "type": "string"
  26371. },
  26372. "mobile": {
  26373. "description": "手机号码",
  26374. "type": "string"
  26375. },
  26376. "parentuserid": {
  26377. "description": "所属机构id",
  26378. "type": "integer"
  26379. },
  26380. "parentusername": {
  26381. "description": "所属机构名称",
  26382. "type": "string"
  26383. },
  26384. "refereeuserid": {
  26385. "description": "推荐人id(经纪人)",
  26386. "type": "integer"
  26387. },
  26388. "refernum": {
  26389. "description": "推荐码",
  26390. "type": "string"
  26391. },
  26392. "remark": {
  26393. "description": "备注",
  26394. "type": "string"
  26395. },
  26396. "subarealevelpath": {
  26397. "description": "层级路径",
  26398. "type": "string"
  26399. },
  26400. "tradedate": {
  26401. "description": "交易日(yyyyMMdd)",
  26402. "type": "string"
  26403. },
  26404. "userid": {
  26405. "description": "申请人用户ID",
  26406. "type": "integer"
  26407. },
  26408. "userinfotype": {
  26409. "description": "用户类型 1-个人 2-企业",
  26410. "type": "integer"
  26411. },
  26412. "username": {
  26413. "description": "用户名称",
  26414. "type": "string"
  26415. }
  26416. }
  26417. },
  26418. "models.QhjBrokerApplyEx": {
  26419. "type": "object",
  26420. "properties": {
  26421. "applylist": {
  26422. "description": "经纪人申请记录(只返回最新一条)",
  26423. "type": "array",
  26424. "items": {
  26425. "$ref": "#/definitions/models.QhjBrokerApply"
  26426. }
  26427. },
  26428. "canrecommend": {
  26429. "description": "是否经纪人 0-不是 1-是",
  26430. "type": "integer"
  26431. },
  26432. "refernum": {
  26433. "description": "推荐码",
  26434. "type": "string"
  26435. },
  26436. "userid": {
  26437. "description": "用户id",
  26438. "type": "integer"
  26439. },
  26440. "userinfotype": {
  26441. "description": "用户类型 1-个人 2-企业",
  26442. "type": "integer"
  26443. }
  26444. }
  26445. },
  26446. "models.QhjBrokerRewardLog": {
  26447. "type": "object",
  26448. "properties": {
  26449. "accountid": {
  26450. "description": "资金账号ID",
  26451. "type": "integer"
  26452. },
  26453. "createtime": {
  26454. "description": "创建时间(时间)",
  26455. "type": "string"
  26456. },
  26457. "handlestatus": {
  26458. "description": "处理状态",
  26459. "type": "integer"
  26460. },
  26461. "logid": {
  26462. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26463. "type": "string"
  26464. },
  26465. "marketid": {
  26466. "description": "市场ID",
  26467. "type": "integer"
  26468. },
  26469. "mmaccountid": {
  26470. "description": "做市商资金账号ID",
  26471. "type": "string"
  26472. },
  26473. "mmuserid": {
  26474. "description": "做市商用户ID",
  26475. "type": "string"
  26476. },
  26477. "rewardamount": {
  26478. "description": "奖励金额",
  26479. "type": "number"
  26480. },
  26481. "rewardmodel": {
  26482. "description": "消费奖励方式 - 1:比率 2:固定",
  26483. "type": "integer"
  26484. },
  26485. "rewardtype": {
  26486. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  26487. "type": "integer"
  26488. },
  26489. "rewardvalue": {
  26490. "description": "配置奖励值",
  26491. "type": "number"
  26492. },
  26493. "srcamount": {
  26494. "description": "成交金额 [消费奖励] (金额)",
  26495. "type": "number"
  26496. },
  26497. "srcgoodsid": {
  26498. "description": "来源商品ID [消费奖励]",
  26499. "type": "string"
  26500. },
  26501. "srctime": {
  26502. "description": "来源时间 (成交时间) [消费奖励]",
  26503. "type": "string"
  26504. },
  26505. "srctradeid": {
  26506. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  26507. "type": "string"
  26508. },
  26509. "srcuserid": {
  26510. "description": "来源用户ID(推广账户)",
  26511. "type": "string"
  26512. },
  26513. "srcusername": {
  26514. "description": "推广账户名称",
  26515. "type": "string"
  26516. },
  26517. "tradedate": {
  26518. "description": "交易日(yyyyMMdd)",
  26519. "type": "string"
  26520. },
  26521. "userid": {
  26522. "description": "经纪人用户ID",
  26523. "type": "integer"
  26524. }
  26525. }
  26526. },
  26527. "models.QhjContract": {
  26528. "type": "object",
  26529. "properties": {
  26530. "contractconfirmtime": {
  26531. "description": "合同确认时间(时间)",
  26532. "type": "string"
  26533. },
  26534. "currisklevel": {
  26535. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26536. "type": "integer"
  26537. },
  26538. "decimalplace": {
  26539. "description": "商品报价小数位",
  26540. "type": "integer"
  26541. },
  26542. "enumdicname": {
  26543. "description": "单位名称",
  26544. "type": "string"
  26545. },
  26546. "goodscode": {
  26547. "description": "商品代码",
  26548. "type": "string"
  26549. },
  26550. "goodsid": {
  26551. "description": "商品ID [5:融资单]",
  26552. "type": "integer"
  26553. },
  26554. "goodsname": {
  26555. "description": "商品名称",
  26556. "type": "string"
  26557. },
  26558. "goodunitid": {
  26559. "description": "商品单位id",
  26560. "type": "integer"
  26561. },
  26562. "initmargin": {
  26563. "description": "初始保证金(首付款)",
  26564. "type": "number"
  26565. },
  26566. "lenderamount": {
  26567. "description": "贷款金额(总额|订单总额)",
  26568. "type": "number"
  26569. },
  26570. "marginratio": {
  26571. "description": "保证金比率(首付比例)",
  26572. "type": "number"
  26573. },
  26574. "payamount": {
  26575. "description": "已付(已付货款)",
  26576. "type": "number"
  26577. },
  26578. "reckonrecovermargin": {
  26579. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26580. "type": "number"
  26581. },
  26582. "recoveredmargin": {
  26583. "description": "已追缴保证金",
  26584. "type": "number"
  26585. },
  26586. "remainamount": {
  26587. "description": "合同剩余金额(融资额)",
  26588. "type": "number"
  26589. },
  26590. "scfcontractid": {
  26591. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26592. "type": "string"
  26593. },
  26594. "scfcontractstatus": {
  26595. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26596. "type": "integer"
  26597. },
  26598. "scfcontracttype": {
  26599. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26600. "type": "integer"
  26601. },
  26602. "totalinterest": {
  26603. "description": "已计总利息(利息)",
  26604. "type": "number"
  26605. },
  26606. "tradeprice": {
  26607. "description": "成交价格(成本价格)",
  26608. "type": "number"
  26609. },
  26610. "userid": {
  26611. "description": "用户ID",
  26612. "type": "integer"
  26613. },
  26614. "username": {
  26615. "description": "用户名称",
  26616. "type": "string"
  26617. },
  26618. "wrqty": {
  26619. "description": "仓单数量(数量)",
  26620. "type": "number"
  26621. }
  26622. }
  26623. },
  26624. "models.QhjContractLog": {
  26625. "type": "object",
  26626. "properties": {
  26627. "amount": {
  26628. "description": "支付金额",
  26629. "type": "number"
  26630. },
  26631. "amounttype": {
  26632. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  26633. "type": "integer"
  26634. },
  26635. "logid": {
  26636. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26637. "type": "string"
  26638. },
  26639. "remainamount": {
  26640. "description": "剩余货款",
  26641. "type": "number"
  26642. },
  26643. "scfcontractid": {
  26644. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26645. "type": "integer"
  26646. },
  26647. "updatetime": {
  26648. "description": "更新时间",
  26649. "type": "string"
  26650. }
  26651. }
  26652. },
  26653. "models.QhjCusBankSignBankEx": {
  26654. "type": "object",
  26655. "properties": {
  26656. "banklst": {
  26657. "description": "银行列表",
  26658. "type": "array",
  26659. "items": {
  26660. "$ref": "#/definitions/models.QhjBankInfo"
  26661. }
  26662. },
  26663. "canallot": {
  26664. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  26665. "type": "integer"
  26666. },
  26667. "canallotquery": {
  26668. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  26669. "type": "integer"
  26670. },
  26671. "canbindcard": {
  26672. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  26673. "type": "integer"
  26674. },
  26675. "caninamount": {
  26676. "description": "是否可入金 - 0:不可 1:可以",
  26677. "type": "integer"
  26678. },
  26679. "caninamount2": {
  26680. "description": "是否可入金(网银端) - 0:不可 1:可以",
  26681. "type": "integer"
  26682. },
  26683. "canmodifybankcard": {
  26684. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  26685. "type": "integer"
  26686. },
  26687. "canmodifyphone": {
  26688. "description": "是否可修改手机号 - 0:不可 1:可以",
  26689. "type": "integer"
  26690. },
  26691. "canmodifysigninfo": {
  26692. "description": "是否可修改签约信息 - 0:不可 1:可以",
  26693. "type": "integer"
  26694. },
  26695. "canoutamount": {
  26696. "description": "是否可出金 - 0:不可 1:可以",
  26697. "type": "integer"
  26698. },
  26699. "canoutamount2": {
  26700. "description": "是否可出金(网银端) - 0:不可 1:可以",
  26701. "type": "integer"
  26702. },
  26703. "canrelease": {
  26704. "description": "是否可解约 - 0:不可 1:可以",
  26705. "type": "integer"
  26706. },
  26707. "canrelease2": {
  26708. "description": "是否可解约(网银端) - 0:不可 1:可以",
  26709. "type": "integer"
  26710. },
  26711. "cansign": {
  26712. "description": "是否可签约 - 0:不可 1:可以",
  26713. "type": "integer"
  26714. },
  26715. "cansign2": {
  26716. "description": "是否可签约(网银端) - 0:不可 1:可以",
  26717. "type": "integer"
  26718. },
  26719. "currency": {
  26720. "description": "币种",
  26721. "type": "string"
  26722. },
  26723. "cusbankid": {
  26724. "description": "托管银行编号(对应清算中心TRAN_NO)",
  26725. "type": "string"
  26726. },
  26727. "cusbankname": {
  26728. "description": "银行业务名称",
  26729. "type": "string"
  26730. },
  26731. "cusbankshortname": {
  26732. "description": "银行业务简称",
  26733. "type": "string"
  26734. },
  26735. "exchbankid": {
  26736. "description": "交易所开户银行ID",
  26737. "type": "string"
  26738. },
  26739. "exchpaybankaccname": {
  26740. "description": "交易所支出结算账户户名",
  26741. "type": "string"
  26742. },
  26743. "exchpaybankaccno": {
  26744. "description": "交易所支出结算账户",
  26745. "type": "string"
  26746. },
  26747. "isneedcheck": {
  26748. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  26749. "type": "integer"
  26750. },
  26751. "isneedclear": {
  26752. "description": "是否需要清算 - 0:不需要 1:需要",
  26753. "type": "integer"
  26754. },
  26755. "lastcheckstatus": {
  26756. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  26757. "type": "integer"
  26758. },
  26759. "lastchecktime": {
  26760. "description": "最后对账时间",
  26761. "type": "string"
  26762. },
  26763. "lastclearstatus": {
  26764. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  26765. "type": "integer"
  26766. },
  26767. "lastcleartime": {
  26768. "description": "最后清算时间",
  26769. "type": "string"
  26770. },
  26771. "lastsignintime": {
  26772. "description": "最后签到时间",
  26773. "type": "string"
  26774. },
  26775. "lastsignouttime": {
  26776. "description": "最后签退时间",
  26777. "type": "string"
  26778. },
  26779. "riskinfo": {
  26780. "description": "签约风险提示书",
  26781. "type": "string"
  26782. },
  26783. "signstatus": {
  26784. "description": "当前签到/签退状态 - 1:签到 2:签退",
  26785. "type": "integer"
  26786. },
  26787. "tradedate": {
  26788. "description": "交易日(yyyyMMdd)",
  26789. "type": "string"
  26790. },
  26791. "updatetime": {
  26792. "description": "当前签到/签退更新时间",
  26793. "type": "string"
  26794. }
  26795. }
  26796. },
  26797. "models.QhjCustomer": {
  26798. "type": "object",
  26799. "properties": {
  26800. "address": {
  26801. "description": "通讯地址",
  26802. "type": "string"
  26803. },
  26804. "attachment1": {
  26805. "description": "附件1",
  26806. "type": "string"
  26807. },
  26808. "audittime": {
  26809. "description": "审核时间",
  26810. "type": "string"
  26811. },
  26812. "cardbackphotourl": {
  26813. "description": "证件反面图片地址",
  26814. "type": "string"
  26815. },
  26816. "cardfrontphotourl": {
  26817. "description": "证件正面图片地址",
  26818. "type": "string"
  26819. },
  26820. "cardnum": {
  26821. "description": "证件号码",
  26822. "type": "string"
  26823. },
  26824. "cardtype": {
  26825. "description": "证件类型",
  26826. "type": "integer"
  26827. },
  26828. "cardtypename": {
  26829. "description": "证件类型名称",
  26830. "type": "string"
  26831. },
  26832. "cityid": {
  26833. "description": "市",
  26834. "type": "integer"
  26835. },
  26836. "cityname": {
  26837. "description": "城市名称",
  26838. "type": "string"
  26839. },
  26840. "contactname": {
  26841. "description": "联系人",
  26842. "type": "string"
  26843. },
  26844. "countryid": {
  26845. "description": "国家",
  26846. "type": "integer"
  26847. },
  26848. "countryname": {
  26849. "description": "国家名称",
  26850. "type": "string"
  26851. },
  26852. "createtime": {
  26853. "description": "创建时间",
  26854. "type": "string"
  26855. },
  26856. "customername": {
  26857. "description": "客户名称",
  26858. "type": "string"
  26859. },
  26860. "districtid": {
  26861. "description": "区域",
  26862. "type": "integer"
  26863. },
  26864. "districtname": {
  26865. "description": "地区名称",
  26866. "type": "string"
  26867. },
  26868. "email": {
  26869. "description": "邮件",
  26870. "type": "string"
  26871. },
  26872. "legalpersonname": {
  26873. "description": "法人姓名(企业)",
  26874. "type": "string"
  26875. },
  26876. "logincode": {
  26877. "description": "登录账号(代码)",
  26878. "type": "string"
  26879. },
  26880. "memberuserid": {
  26881. "description": "所属机构ID(所属会员)",
  26882. "type": "integer"
  26883. },
  26884. "memberusername": {
  26885. "description": "所属会员名称",
  26886. "type": "string"
  26887. },
  26888. "mobile": {
  26889. "description": "手机号码",
  26890. "type": "string"
  26891. },
  26892. "modifytime": {
  26893. "description": "修改时间",
  26894. "type": "string"
  26895. },
  26896. "nickname": {
  26897. "description": "昵称",
  26898. "type": "string"
  26899. },
  26900. "parentuserid": {
  26901. "description": "上级机构(所属机构)",
  26902. "type": "integer"
  26903. },
  26904. "parentusername": {
  26905. "description": "所属机构名称",
  26906. "type": "string"
  26907. },
  26908. "provinceid": {
  26909. "description": "省",
  26910. "type": "integer"
  26911. },
  26912. "provincename": {
  26913. "description": "省名称",
  26914. "type": "string"
  26915. },
  26916. "proxystatementurl": {
  26917. "description": "授权委托书",
  26918. "type": "string"
  26919. },
  26920. "remark": {
  26921. "description": "备注",
  26922. "type": "string"
  26923. },
  26924. "status": {
  26925. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  26926. "type": "integer"
  26927. },
  26928. "statusdesc": {
  26929. "description": "账户状态中文描述",
  26930. "type": "string"
  26931. },
  26932. "taxpayernum": {
  26933. "description": "纳税人识别号",
  26934. "type": "string"
  26935. },
  26936. "telphone": {
  26937. "description": "联系电话",
  26938. "type": "string"
  26939. },
  26940. "userid": {
  26941. "description": "用户ID",
  26942. "type": "integer"
  26943. },
  26944. "userinfotype": {
  26945. "description": "客户类型 1-个人 2-企业",
  26946. "type": "integer"
  26947. },
  26948. "username": {
  26949. "description": "用户名称",
  26950. "type": "string"
  26951. }
  26952. }
  26953. },
  26954. "models.QhjCustomerSignLog": {
  26955. "type": "object",
  26956. "properties": {
  26957. "agreementcontent": {
  26958. "description": "协议内容",
  26959. "type": "string"
  26960. },
  26961. "agreementid": {
  26962. "description": "协议ID",
  26963. "type": "integer"
  26964. },
  26965. "agreementname": {
  26966. "description": "协议名称",
  26967. "type": "string"
  26968. },
  26969. "agreementno": {
  26970. "description": "协议编号",
  26971. "type": "string"
  26972. },
  26973. "agreementtype": {
  26974. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26975. "type": "integer"
  26976. },
  26977. "agreementversion": {
  26978. "description": "协议版本号",
  26979. "type": "integer"
  26980. },
  26981. "createtime": {
  26982. "description": "创建时间",
  26983. "type": "string"
  26984. },
  26985. "goodscode": {
  26986. "description": "商品代码",
  26987. "type": "string"
  26988. },
  26989. "goodsid": {
  26990. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26991. "type": "integer"
  26992. },
  26993. "goodsname": {
  26994. "description": "商品名称",
  26995. "type": "string"
  26996. },
  26997. "logid": {
  26998. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  26999. "type": "integer"
  27000. },
  27001. "nodetype": {
  27002. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27003. "type": "integer"
  27004. },
  27005. "signadressurl": {
  27006. "description": "签约文件地址",
  27007. "type": "string"
  27008. },
  27009. "signtimestamp": {
  27010. "description": "签约状态时间戳",
  27011. "type": "string"
  27012. },
  27013. "userid": {
  27014. "description": "客户ID",
  27015. "type": "integer"
  27016. },
  27017. "username": {
  27018. "description": "客户名称",
  27019. "type": "string"
  27020. }
  27021. }
  27022. },
  27023. "models.QhjCustomerSignStatus": {
  27024. "type": "object",
  27025. "properties": {
  27026. "createtime": {
  27027. "description": "创建时间",
  27028. "type": "string"
  27029. },
  27030. "goodscode": {
  27031. "description": "商品代码",
  27032. "type": "string"
  27033. },
  27034. "goodsid": {
  27035. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27036. "type": "integer"
  27037. },
  27038. "goodsname": {
  27039. "description": "商品名称",
  27040. "type": "string"
  27041. },
  27042. "nodetype": {
  27043. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  27044. "type": "integer"
  27045. },
  27046. "signtimestamp": {
  27047. "description": "签约状态时间戳",
  27048. "type": "string"
  27049. },
  27050. "tradedate": {
  27051. "description": "创建交易日(yyyyMMdd)",
  27052. "type": "string"
  27053. },
  27054. "updatetime": {
  27055. "description": "更新时间",
  27056. "type": "string"
  27057. },
  27058. "userid": {
  27059. "description": "客户ID",
  27060. "type": "integer"
  27061. },
  27062. "username": {
  27063. "description": "客户名称",
  27064. "type": "string"
  27065. }
  27066. }
  27067. },
  27068. "models.QhjMgrAccountOutInApply": {
  27069. "type": "object",
  27070. "properties": {
  27071. "accountcode": {
  27072. "description": "资金账号",
  27073. "type": "string"
  27074. },
  27075. "accountname": {
  27076. "description": "用户名称(名称)",
  27077. "type": "string"
  27078. },
  27079. "accountpwd": {
  27080. "description": "资金密码",
  27081. "type": "string"
  27082. },
  27083. "accountticket": {
  27084. "description": "最新账户服务流水号",
  27085. "type": "string"
  27086. },
  27087. "amount": {
  27088. "description": "金额",
  27089. "type": "number"
  27090. },
  27091. "applyremark": {
  27092. "description": "申请备注",
  27093. "type": "string"
  27094. },
  27095. "applystatus": {
  27096. "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: 复审通过,账户冻结金额检查中;",
  27097. "type": "integer"
  27098. },
  27099. "auditid": {
  27100. "description": "审核人",
  27101. "type": "integer"
  27102. },
  27103. "audittime": {
  27104. "description": "审核时间",
  27105. "type": "string"
  27106. },
  27107. "bank_apply_ticket": {
  27108. "description": "银行申请流水",
  27109. "type": "string"
  27110. },
  27111. "bankaccountname": {
  27112. "description": "银行账户名",
  27113. "type": "string"
  27114. },
  27115. "bankaccountno": {
  27116. "description": "银行卡号",
  27117. "type": "string"
  27118. },
  27119. "bankid": {
  27120. "description": "银行编号",
  27121. "type": "string"
  27122. },
  27123. "bankname": {
  27124. "description": "银行名称",
  27125. "type": "string"
  27126. },
  27127. "bankticket": {
  27128. "description": "银行流水",
  27129. "type": "string"
  27130. },
  27131. "branchbankid": {
  27132. "description": "银行支行号",
  27133. "type": "string"
  27134. },
  27135. "branchbankname": {
  27136. "description": "银行支行名称",
  27137. "type": "string"
  27138. },
  27139. "capamountout": {
  27140. "description": "出金(劣后本金) - 外部子账户",
  27141. "type": "number"
  27142. },
  27143. "certificatephotourl": {
  27144. "description": "凭证地址",
  27145. "type": "string"
  27146. },
  27147. "charge": {
  27148. "description": "手续费",
  27149. "type": "number"
  27150. },
  27151. "checkerrorflag": {
  27152. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27153. "type": "integer"
  27154. },
  27155. "currency": {
  27156. "description": "币种",
  27157. "type": "string"
  27158. },
  27159. "cusbankid": {
  27160. "description": "托管银行编号",
  27161. "type": "string"
  27162. },
  27163. "exchticket": {
  27164. "description": "银行服务流水号",
  27165. "type": "string"
  27166. },
  27167. "executetype": {
  27168. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27169. "type": "integer"
  27170. },
  27171. "extendinfo": {
  27172. "description": "扩展信息",
  27173. "type": "string"
  27174. },
  27175. "extoperateid": {
  27176. "description": "交易服务流水号",
  27177. "type": "integer"
  27178. },
  27179. "infamount": {
  27180. "description": "劣后金额(自有)",
  27181. "type": "number"
  27182. },
  27183. "logincode": {
  27184. "description": "登录账号(账号)",
  27185. "type": "string"
  27186. },
  27187. "netaddr": {
  27188. "description": "调转网址",
  27189. "type": "string"
  27190. },
  27191. "priamount": {
  27192. "description": "优先金额(授信)",
  27193. "type": "number"
  27194. },
  27195. "reauditid": {
  27196. "description": "复审人",
  27197. "type": "integer"
  27198. },
  27199. "reauditremark": {
  27200. "description": "复审备注",
  27201. "type": "string"
  27202. },
  27203. "reaudittime": {
  27204. "description": "复审时间",
  27205. "type": "string"
  27206. },
  27207. "relatedorderid": {
  27208. "description": "三方关联ID",
  27209. "type": "string"
  27210. },
  27211. "remark": {
  27212. "description": "备注",
  27213. "type": "string"
  27214. },
  27215. "remark2": {
  27216. "description": "备注(失败原因)",
  27217. "type": "string"
  27218. },
  27219. "soucreamount": {
  27220. "description": "原始出入金金额",
  27221. "type": "number"
  27222. },
  27223. "soucrecurrencyid": {
  27224. "description": "原始出入金币种",
  27225. "type": "integer"
  27226. },
  27227. "tradedate": {
  27228. "description": "交易日(yyyyMMdd)",
  27229. "type": "string"
  27230. },
  27231. "updatetime": {
  27232. "description": "更新时间(申请时间)",
  27233. "type": "string"
  27234. },
  27235. "userid": {
  27236. "description": "用户id",
  27237. "type": "integer"
  27238. },
  27239. "userinfotype": {
  27240. "description": "账户类型 1-个人 2-企业",
  27241. "type": "integer"
  27242. }
  27243. }
  27244. },
  27245. "models.QhjMgrBrokerApply": {
  27246. "type": "object",
  27247. "properties": {
  27248. "applicantid": {
  27249. "description": "申请人",
  27250. "type": "integer"
  27251. },
  27252. "applysrc": {
  27253. "description": "申请来源 - 1:管理端 2:终端",
  27254. "type": "integer"
  27255. },
  27256. "applystatus": {
  27257. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  27258. "type": "integer"
  27259. },
  27260. "applytime": {
  27261. "description": "申请时间",
  27262. "type": "string"
  27263. },
  27264. "auditorid": {
  27265. "description": "审核人",
  27266. "type": "integer"
  27267. },
  27268. "auditremark": {
  27269. "description": "审核备注",
  27270. "type": "string"
  27271. },
  27272. "auditsrc": {
  27273. "description": "审核来源 - 1:管理端 2:终端",
  27274. "type": "integer"
  27275. },
  27276. "audittime": {
  27277. "description": "审核时间",
  27278. "type": "string"
  27279. },
  27280. "audittradedate": {
  27281. "description": "审核交易日(yyyyMMdd)",
  27282. "type": "string"
  27283. },
  27284. "brokerapplyid": {
  27285. "description": "申请ID(SEQ_BROKERAPPLY)",
  27286. "type": "integer"
  27287. },
  27288. "cardbackphotourl": {
  27289. "description": "证件背面图片地址",
  27290. "type": "string"
  27291. },
  27292. "cardfrontphotourl": {
  27293. "description": "证件正面图片地址",
  27294. "type": "string"
  27295. },
  27296. "cardnum": {
  27297. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  27298. "type": "string"
  27299. },
  27300. "customername": {
  27301. "description": "姓名",
  27302. "type": "string"
  27303. },
  27304. "filterstatus": {
  27305. "description": "筛选条件",
  27306. "type": "string"
  27307. },
  27308. "logincode": {
  27309. "description": "登录代码",
  27310. "type": "string"
  27311. },
  27312. "mobile": {
  27313. "description": "手机号码",
  27314. "type": "string"
  27315. },
  27316. "parentuserid": {
  27317. "description": "所属机构id",
  27318. "type": "integer"
  27319. },
  27320. "parentusername": {
  27321. "description": "所属机构名称",
  27322. "type": "string"
  27323. },
  27324. "refereeuserid": {
  27325. "description": "推荐人id(经纪人)",
  27326. "type": "integer"
  27327. },
  27328. "refernum": {
  27329. "description": "推荐码",
  27330. "type": "string"
  27331. },
  27332. "remark": {
  27333. "description": "备注",
  27334. "type": "string"
  27335. },
  27336. "subarealevelpath": {
  27337. "description": "层级路径",
  27338. "type": "string"
  27339. },
  27340. "tradedate": {
  27341. "description": "交易日(yyyyMMdd)",
  27342. "type": "string"
  27343. },
  27344. "userid": {
  27345. "description": "申请人用户ID",
  27346. "type": "integer"
  27347. },
  27348. "userinfotype": {
  27349. "description": "用户类型 1-个人 2-企业",
  27350. "type": "integer"
  27351. },
  27352. "username": {
  27353. "description": "用户名称",
  27354. "type": "string"
  27355. }
  27356. }
  27357. },
  27358. "models.QhjMgrBrokerRewardReport": {
  27359. "type": "object",
  27360. "properties": {
  27361. "createtime": {
  27362. "description": "创建时间(注册时间)",
  27363. "type": "string"
  27364. },
  27365. "cycletime": {
  27366. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  27367. "type": "string"
  27368. },
  27369. "cycletype": {
  27370. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27371. "type": "integer"
  27372. },
  27373. "directtotalnum": {
  27374. "description": "直推总人数【期末】",
  27375. "type": "integer"
  27376. },
  27377. "indirecttotalnum": {
  27378. "description": "间推总人数【期末】",
  27379. "type": "integer"
  27380. },
  27381. "mobile": {
  27382. "description": "电话号码",
  27383. "type": "string"
  27384. },
  27385. "refereeuserid": {
  27386. "description": "推荐人id(经纪人id)",
  27387. "type": "integer"
  27388. },
  27389. "refereeusername": {
  27390. "description": "推荐人名称(经纪人) 上级经纪人名称",
  27391. "type": "string"
  27392. },
  27393. "refernum": {
  27394. "description": "推荐码",
  27395. "type": "string"
  27396. },
  27397. "subarealevelpath": {
  27398. "description": "用户层级路径",
  27399. "type": "string"
  27400. },
  27401. "todayrewardamount": {
  27402. "description": "奖励总金额【汇总】",
  27403. "type": "number"
  27404. },
  27405. "updatetime": {
  27406. "description": "更新时间",
  27407. "type": "string"
  27408. },
  27409. "userid": {
  27410. "description": "经纪人用户ID",
  27411. "type": "integer"
  27412. },
  27413. "userinfotype": {
  27414. "description": "用户类型 1-个人 2-企业",
  27415. "type": "integer"
  27416. },
  27417. "username": {
  27418. "description": "用户名称",
  27419. "type": "string"
  27420. }
  27421. }
  27422. },
  27423. "models.QhjMgrContract": {
  27424. "type": "object",
  27425. "properties": {
  27426. "contractconfirmtime": {
  27427. "description": "合同确认时间(时间)",
  27428. "type": "string"
  27429. },
  27430. "currisklevel": {
  27431. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  27432. "type": "integer"
  27433. },
  27434. "decimalplace": {
  27435. "description": "商品报价小数位",
  27436. "type": "integer"
  27437. },
  27438. "enumdicname": {
  27439. "description": "单位名称",
  27440. "type": "string"
  27441. },
  27442. "goodscode": {
  27443. "description": "商品代码",
  27444. "type": "string"
  27445. },
  27446. "goodsid": {
  27447. "description": "商品ID [5:融资单]",
  27448. "type": "integer"
  27449. },
  27450. "goodsname": {
  27451. "description": "商品名称",
  27452. "type": "string"
  27453. },
  27454. "goodunitid": {
  27455. "description": "商品单位id",
  27456. "type": "integer"
  27457. },
  27458. "initmargin": {
  27459. "description": "初始保证金(首付款)",
  27460. "type": "number"
  27461. },
  27462. "lenderamount": {
  27463. "description": "贷款金额(总额|订单总额)",
  27464. "type": "number"
  27465. },
  27466. "logincode": {
  27467. "description": "账号(登录代码)",
  27468. "type": "string"
  27469. },
  27470. "marginratio": {
  27471. "description": "保证金比率(首付比例)",
  27472. "type": "number"
  27473. },
  27474. "mobile": {
  27475. "description": "电话号码(用户资料里的电话)",
  27476. "type": "string"
  27477. },
  27478. "payamount": {
  27479. "description": "已付(已付货款)",
  27480. "type": "number"
  27481. },
  27482. "reckonrecovermargin": {
  27483. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  27484. "type": "number"
  27485. },
  27486. "recoveredmargin": {
  27487. "description": "已追缴保证金",
  27488. "type": "number"
  27489. },
  27490. "remainamount": {
  27491. "description": "合同剩余金额(融资额)",
  27492. "type": "number"
  27493. },
  27494. "scfcontractid": {
  27495. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  27496. "type": "string"
  27497. },
  27498. "scfcontractstatus": {
  27499. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  27500. "type": "integer"
  27501. },
  27502. "scfcontracttype": {
  27503. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  27504. "type": "integer"
  27505. },
  27506. "totalinterest": {
  27507. "description": "已计总利息(利息)",
  27508. "type": "number"
  27509. },
  27510. "tradedate": {
  27511. "description": "交易日",
  27512. "type": "string"
  27513. },
  27514. "tradeprice": {
  27515. "description": "成交价格(成本价格)",
  27516. "type": "number"
  27517. },
  27518. "userid": {
  27519. "description": "用户ID",
  27520. "type": "integer"
  27521. },
  27522. "userinfotype": {
  27523. "description": "用户类型 1-个人 2-企业",
  27524. "type": "integer"
  27525. },
  27526. "username": {
  27527. "description": "用户名称",
  27528. "type": "string"
  27529. },
  27530. "wrqty": {
  27531. "description": "仓单数量(数量)",
  27532. "type": "number"
  27533. }
  27534. }
  27535. },
  27536. "models.QhjMgrCustomer": {
  27537. "type": "object",
  27538. "properties": {
  27539. "address": {
  27540. "description": "通讯地址",
  27541. "type": "string"
  27542. },
  27543. "attachment1": {
  27544. "description": "附件1",
  27545. "type": "string"
  27546. },
  27547. "audittime": {
  27548. "description": "审核时间",
  27549. "type": "string"
  27550. },
  27551. "birthday": {
  27552. "description": "生日",
  27553. "type": "string"
  27554. },
  27555. "brokerid": {
  27556. "description": "所属客户经理id",
  27557. "type": "integer"
  27558. },
  27559. "brokername": {
  27560. "description": "所属客户经理名称",
  27561. "type": "string"
  27562. },
  27563. "cardbackphotourl": {
  27564. "description": "证件反面图片地址",
  27565. "type": "string"
  27566. },
  27567. "cardfrontphotourl": {
  27568. "description": "证件正面图片地址",
  27569. "type": "string"
  27570. },
  27571. "cardnum": {
  27572. "description": "证件号码",
  27573. "type": "string"
  27574. },
  27575. "cardtype": {
  27576. "description": "证件类型",
  27577. "type": "integer"
  27578. },
  27579. "cardtypename": {
  27580. "description": "证件类型名称",
  27581. "type": "string"
  27582. },
  27583. "cityid": {
  27584. "description": "市",
  27585. "type": "integer"
  27586. },
  27587. "cityname": {
  27588. "description": "城市名称",
  27589. "type": "string"
  27590. },
  27591. "contactname": {
  27592. "description": "联系人",
  27593. "type": "string"
  27594. },
  27595. "countryid": {
  27596. "description": "国家",
  27597. "type": "integer"
  27598. },
  27599. "countryname": {
  27600. "description": "国家名称",
  27601. "type": "string"
  27602. },
  27603. "createtime": {
  27604. "description": "创建时间",
  27605. "type": "string"
  27606. },
  27607. "customername": {
  27608. "description": "客户名称",
  27609. "type": "string"
  27610. },
  27611. "districtid": {
  27612. "description": "区域",
  27613. "type": "integer"
  27614. },
  27615. "districtname": {
  27616. "description": "地区名称",
  27617. "type": "string"
  27618. },
  27619. "email": {
  27620. "description": "邮件",
  27621. "type": "string"
  27622. },
  27623. "legalpersonname": {
  27624. "description": "法人姓名(企业)",
  27625. "type": "string"
  27626. },
  27627. "logincode": {
  27628. "description": "登录账号(代码)",
  27629. "type": "string"
  27630. },
  27631. "memberuserid": {
  27632. "description": "所属机构ID(所属会员)",
  27633. "type": "integer"
  27634. },
  27635. "memberusername": {
  27636. "description": "所属会员名称",
  27637. "type": "string"
  27638. },
  27639. "mobile": {
  27640. "description": "手机号码",
  27641. "type": "string"
  27642. },
  27643. "modifytime": {
  27644. "description": "修改时间",
  27645. "type": "string"
  27646. },
  27647. "nickname": {
  27648. "description": "昵称",
  27649. "type": "string"
  27650. },
  27651. "parentuserid": {
  27652. "description": "上级机构(所属机构)",
  27653. "type": "integer"
  27654. },
  27655. "parentusername": {
  27656. "description": "所属机构名称",
  27657. "type": "string"
  27658. },
  27659. "provinceid": {
  27660. "description": "省",
  27661. "type": "integer"
  27662. },
  27663. "provincename": {
  27664. "description": "省名称",
  27665. "type": "string"
  27666. },
  27667. "proxystatementurl": {
  27668. "description": "授权委托书",
  27669. "type": "string"
  27670. },
  27671. "querytype": {
  27672. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  27673. "type": "integer"
  27674. },
  27675. "remark": {
  27676. "description": "备注",
  27677. "type": "string"
  27678. },
  27679. "sex": {
  27680. "description": "性别 0-女 1-男",
  27681. "type": "integer"
  27682. },
  27683. "status": {
  27684. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27685. "type": "integer"
  27686. },
  27687. "statusdesc": {
  27688. "description": "账户状态中文描述",
  27689. "type": "string"
  27690. },
  27691. "taxpayernum": {
  27692. "description": "纳税人识别号",
  27693. "type": "string"
  27694. },
  27695. "telphone": {
  27696. "description": "联系电话",
  27697. "type": "string"
  27698. },
  27699. "userid": {
  27700. "description": "用户ID",
  27701. "type": "integer"
  27702. },
  27703. "userinfotype": {
  27704. "description": "客户类型 1-个人 2-企业",
  27705. "type": "integer"
  27706. },
  27707. "username": {
  27708. "description": "用户名称",
  27709. "type": "string"
  27710. }
  27711. }
  27712. },
  27713. "models.QhjMgrPickGoods": {
  27714. "type": "object",
  27715. "properties": {
  27716. "enumdicname": {
  27717. "description": "单位名称(提货商品)",
  27718. "type": "string"
  27719. },
  27720. "goodsid": {
  27721. "description": "商品id",
  27722. "type": "integer"
  27723. },
  27724. "imageaddress": {
  27725. "description": "图片",
  27726. "type": "string"
  27727. },
  27728. "modifierid": {
  27729. "description": "修改人",
  27730. "type": "integer"
  27731. },
  27732. "modifiername": {
  27733. "description": "修改人名称",
  27734. "type": "string"
  27735. },
  27736. "modifysrc": {
  27737. "description": "修改来源 - 1:管理端 2:终端",
  27738. "type": "integer"
  27739. },
  27740. "pickupgoodsagreeunit": {
  27741. "description": "合约乘数",
  27742. "type": "number"
  27743. },
  27744. "pickupgoodsdesc": {
  27745. "description": "描述",
  27746. "type": "string"
  27747. },
  27748. "pickupgoodsid": {
  27749. "description": "提货商品ID",
  27750. "type": "string"
  27751. },
  27752. "pickupgoodsname": {
  27753. "description": "提货商品名称",
  27754. "type": "string"
  27755. },
  27756. "pickupgoodsstatus": {
  27757. "description": "状态 - 1:正常 2:停用 3:注销",
  27758. "type": "integer"
  27759. },
  27760. "pickupgoodsunitid": {
  27761. "description": "单位ID",
  27762. "type": "integer"
  27763. },
  27764. "pickupratio": {
  27765. "description": "提货系数",
  27766. "type": "number"
  27767. },
  27768. "preparedays": {
  27769. "description": "备货期(天)",
  27770. "type": "integer"
  27771. },
  27772. "remark": {
  27773. "description": "备注",
  27774. "type": "string"
  27775. },
  27776. "updatetime": {
  27777. "description": "更新时间",
  27778. "type": "string"
  27779. }
  27780. }
  27781. },
  27782. "models.QhjMgrPositionRsp": {
  27783. "type": "object",
  27784. "properties": {
  27785. "accountid": {
  27786. "description": "账号Id",
  27787. "type": "integer"
  27788. },
  27789. "accountname": {
  27790. "description": "用户名称",
  27791. "type": "string"
  27792. },
  27793. "agreeunit": {
  27794. "description": "合约乘数",
  27795. "type": "number"
  27796. },
  27797. "averageprice": {
  27798. "description": "均价",
  27799. "type": "number"
  27800. },
  27801. "avialqty": {
  27802. "description": "可用数量",
  27803. "type": "number"
  27804. },
  27805. "decimalplace": {
  27806. "description": "报价小数位",
  27807. "type": "integer"
  27808. },
  27809. "enumdicname": {
  27810. "description": "单位名称(商品)",
  27811. "type": "string"
  27812. },
  27813. "frozenqty": {
  27814. "description": "冻结数量",
  27815. "type": "number"
  27816. },
  27817. "goodscode": {
  27818. "description": "商品代码(内部)",
  27819. "type": "string"
  27820. },
  27821. "goodsid": {
  27822. "description": "商品Id",
  27823. "type": "integer"
  27824. },
  27825. "goodsname": {
  27826. "description": "商品名称",
  27827. "type": "string"
  27828. },
  27829. "goodunitid": {
  27830. "description": "报价单位ID",
  27831. "type": "integer"
  27832. },
  27833. "holderamount": {
  27834. "description": "金额",
  27835. "type": "number"
  27836. },
  27837. "holderqty": {
  27838. "description": "持有数量",
  27839. "type": "number"
  27840. },
  27841. "holdertype": {
  27842. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  27843. "type": "integer"
  27844. },
  27845. "logincode": {
  27846. "description": "登录代码(账户)",
  27847. "type": "string"
  27848. },
  27849. "marketid": {
  27850. "description": "市场id",
  27851. "type": "integer"
  27852. },
  27853. "qtydecimalplace": {
  27854. "description": "成交量小数位",
  27855. "type": "integer"
  27856. },
  27857. "trademode": {
  27858. "description": "交易模式",
  27859. "type": "integer"
  27860. },
  27861. "userid": {
  27862. "description": "用户id",
  27863. "type": "integer"
  27864. },
  27865. "userinfotype": {
  27866. "description": "账户类型 1-个人 2-企业",
  27867. "type": "integer"
  27868. }
  27869. }
  27870. },
  27871. "models.QhjMgrSubArea": {
  27872. "type": "object",
  27873. "properties": {
  27874. "accountname": {
  27875. "description": "账户名称(机构名称)",
  27876. "type": "string"
  27877. },
  27878. "memberuserid": {
  27879. "description": "所属会员ID",
  27880. "type": "integer"
  27881. },
  27882. "parenttopuser": {
  27883. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27884. "type": "string"
  27885. },
  27886. "parentuserid": {
  27887. "description": "所属机构ID",
  27888. "type": "integer"
  27889. },
  27890. "rootuserid": {
  27891. "description": "根用户ID",
  27892. "type": "string"
  27893. },
  27894. "subaccountlevel": {
  27895. "description": "子账户层数",
  27896. "type": "integer"
  27897. },
  27898. "subarealevelpath": {
  27899. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27900. "type": "string"
  27901. },
  27902. "userid": {
  27903. "description": "用户ID",
  27904. "type": "integer"
  27905. },
  27906. "usertype": {
  27907. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27908. "type": "integer"
  27909. }
  27910. }
  27911. },
  27912. "models.QhjMgrTradeDetailRsp": {
  27913. "type": "object",
  27914. "properties": {
  27915. "accountid": {
  27916. "description": "资金账号",
  27917. "type": "integer"
  27918. },
  27919. "accountname": {
  27920. "description": "用户名称",
  27921. "type": "string"
  27922. },
  27923. "agreeunit": {
  27924. "description": "合约乘数",
  27925. "type": "number"
  27926. },
  27927. "buyorsell": {
  27928. "description": "成交类型(方向) 0:买 1:卖",
  27929. "type": "integer"
  27930. },
  27931. "decimalplace": {
  27932. "description": "报价小数位",
  27933. "type": "integer"
  27934. },
  27935. "enumdicname": {
  27936. "description": "单位名称(商品)",
  27937. "type": "string"
  27938. },
  27939. "goodscode": {
  27940. "description": "商品代码(内部)",
  27941. "type": "string"
  27942. },
  27943. "goodsid": {
  27944. "description": "商品id",
  27945. "type": "integer"
  27946. },
  27947. "goodsname": {
  27948. "description": "商品名称",
  27949. "type": "string"
  27950. },
  27951. "goodunitid": {
  27952. "description": "报价单位ID",
  27953. "type": "integer"
  27954. },
  27955. "logincode": {
  27956. "description": "登录代码(账户)",
  27957. "type": "string"
  27958. },
  27959. "marketid": {
  27960. "description": "市场id",
  27961. "type": "integer"
  27962. },
  27963. "orderid": {
  27964. "description": "关联委托单号",
  27965. "type": "string"
  27966. },
  27967. "qtydecimalplace": {
  27968. "description": "成交量小数位",
  27969. "type": "integer"
  27970. },
  27971. "tradeamount": {
  27972. "description": "金额",
  27973. "type": "number"
  27974. },
  27975. "tradedate": {
  27976. "description": "交易日",
  27977. "type": "string"
  27978. },
  27979. "tradeid": {
  27980. "description": "成交单号",
  27981. "type": "string"
  27982. },
  27983. "trademode": {
  27984. "description": "交易模式",
  27985. "type": "integer"
  27986. },
  27987. "tradeprice": {
  27988. "description": "价格",
  27989. "type": "number"
  27990. },
  27991. "tradeqty": {
  27992. "description": "数量",
  27993. "type": "number"
  27994. },
  27995. "tradetime": {
  27996. "description": "成交时间",
  27997. "type": "string"
  27998. },
  27999. "userid": {
  28000. "description": "用户id",
  28001. "type": "integer"
  28002. },
  28003. "userinfotype": {
  28004. "description": "账户类型 1-个人 2-企业",
  28005. "type": "integer"
  28006. }
  28007. }
  28008. },
  28009. "models.QhjMgrTradeOrderDetailRsp": {
  28010. "type": "object",
  28011. "properties": {
  28012. "accountid": {
  28013. "description": "资金账号",
  28014. "type": "integer"
  28015. },
  28016. "accountname": {
  28017. "description": "用户名称",
  28018. "type": "string"
  28019. },
  28020. "agreeunit": {
  28021. "description": "合约乘数",
  28022. "type": "number"
  28023. },
  28024. "amount": {
  28025. "description": "金额",
  28026. "type": "number"
  28027. },
  28028. "decimalplace": {
  28029. "description": "报价小数位",
  28030. "type": "integer"
  28031. },
  28032. "enumdicname": {
  28033. "description": "单位名称(商品)",
  28034. "type": "string"
  28035. },
  28036. "goodscode": {
  28037. "description": "商品代码(内部)",
  28038. "type": "string"
  28039. },
  28040. "goodsid": {
  28041. "description": "商品id",
  28042. "type": "integer"
  28043. },
  28044. "goodsname": {
  28045. "description": "商品名称",
  28046. "type": "string"
  28047. },
  28048. "goodunitid": {
  28049. "description": "报价单位ID",
  28050. "type": "integer"
  28051. },
  28052. "logincode": {
  28053. "description": "登录代码(账户)",
  28054. "type": "string"
  28055. },
  28056. "marketid": {
  28057. "description": "市场id",
  28058. "type": "integer"
  28059. },
  28060. "orderid": {
  28061. "description": "关联委托单号",
  28062. "type": "string"
  28063. },
  28064. "orderprice": {
  28065. "description": "价格",
  28066. "type": "number"
  28067. },
  28068. "orderqty": {
  28069. "description": "数量",
  28070. "type": "number"
  28071. },
  28072. "orderstatus": {
  28073. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28074. "type": "integer"
  28075. },
  28076. "ordertime": {
  28077. "description": "委托时间",
  28078. "type": "string"
  28079. },
  28080. "qtydecimalplace": {
  28081. "description": "成交量小数位",
  28082. "type": "integer"
  28083. },
  28084. "tradedate": {
  28085. "description": "交易日",
  28086. "type": "string"
  28087. },
  28088. "trademode": {
  28089. "description": "交易模式",
  28090. "type": "integer"
  28091. },
  28092. "userid": {
  28093. "description": "用户id",
  28094. "type": "integer"
  28095. },
  28096. "userinfotype": {
  28097. "description": "账户类型 1-个人 2-企业",
  28098. "type": "integer"
  28099. }
  28100. }
  28101. },
  28102. "models.QhjMgrTradePayOrder": {
  28103. "type": "object",
  28104. "properties": {
  28105. "accountname": {
  28106. "description": "用户名称",
  28107. "type": "string"
  28108. },
  28109. "advanceratio": {
  28110. "description": "首付比率",
  28111. "type": "number"
  28112. },
  28113. "agreeunit": {
  28114. "description": "合约乘数",
  28115. "type": "number"
  28116. },
  28117. "buyaccountid": {
  28118. "description": "买方账号ID[报价币种]",
  28119. "type": "integer"
  28120. },
  28121. "buyorderid": {
  28122. "description": "买方委托单号(关联单号)",
  28123. "type": "string"
  28124. },
  28125. "createtime": {
  28126. "description": "创建时间",
  28127. "type": "string"
  28128. },
  28129. "decimalplace": {
  28130. "description": "报价小数位",
  28131. "type": "integer"
  28132. },
  28133. "enumdicname": {
  28134. "description": "单位名称(商品)",
  28135. "type": "string"
  28136. },
  28137. "goodscode": {
  28138. "description": "商品代码(内部)",
  28139. "type": "string"
  28140. },
  28141. "goodsid": {
  28142. "description": "商品ID",
  28143. "type": "integer"
  28144. },
  28145. "goodsname": {
  28146. "description": "商品名称",
  28147. "type": "string"
  28148. },
  28149. "goodunitid": {
  28150. "description": "报价单位ID",
  28151. "type": "integer"
  28152. },
  28153. "logincode": {
  28154. "description": "登录代码(账户)",
  28155. "type": "string"
  28156. },
  28157. "marketid": {
  28158. "description": "市场id",
  28159. "type": "integer"
  28160. },
  28161. "offamount": {
  28162. "description": "优惠金额",
  28163. "type": "number"
  28164. },
  28165. "operatetype": {
  28166. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28167. "type": "integer"
  28168. },
  28169. "payamount": {
  28170. "description": "支付金额(金额)",
  28171. "type": "number"
  28172. },
  28173. "payflag": {
  28174. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28175. "type": "integer"
  28176. },
  28177. "paylimitedtime": {
  28178. "description": "支付期限",
  28179. "type": "string"
  28180. },
  28181. "paytime": {
  28182. "description": "付款时间",
  28183. "type": "string"
  28184. },
  28185. "qtydecimalplace": {
  28186. "description": "成交量小数位",
  28187. "type": "integer"
  28188. },
  28189. "sellaccountid": {
  28190. "description": "卖方账号ID[报价币种]",
  28191. "type": "integer"
  28192. },
  28193. "sellorderid": {
  28194. "description": "卖方委托单号",
  28195. "type": "string"
  28196. },
  28197. "tradeamount": {
  28198. "description": "成交金额(优惠后金额)",
  28199. "type": "number"
  28200. },
  28201. "tradecharge": {
  28202. "description": "成交手续费(买方)",
  28203. "type": "number"
  28204. },
  28205. "tradedate": {
  28206. "description": "交易日(yyyyMMdd)",
  28207. "type": "string"
  28208. },
  28209. "tradeid": {
  28210. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28211. "type": "string"
  28212. },
  28213. "trademode": {
  28214. "description": "交易模式",
  28215. "type": "integer"
  28216. },
  28217. "tradeprice": {
  28218. "description": "成交价格(价格)",
  28219. "type": "number"
  28220. },
  28221. "tradeqty": {
  28222. "description": "成交数量(数量)",
  28223. "type": "number"
  28224. },
  28225. "tradetime": {
  28226. "description": "成交时间",
  28227. "type": "string"
  28228. },
  28229. "userid": {
  28230. "description": "用户id",
  28231. "type": "integer"
  28232. },
  28233. "userinfotype": {
  28234. "description": "账户类型 1-个人 2-企业",
  28235. "type": "integer"
  28236. }
  28237. }
  28238. },
  28239. "models.QhjMyTeamEx": {
  28240. "type": "object",
  28241. "properties": {
  28242. "accountname": {
  28243. "description": "用户名称",
  28244. "type": "string"
  28245. },
  28246. "accountstatus": {
  28247. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28248. "type": "integer"
  28249. },
  28250. "createtime": {
  28251. "description": "创建时间",
  28252. "type": "string"
  28253. },
  28254. "mobile": {
  28255. "description": "手机号码",
  28256. "type": "string"
  28257. },
  28258. "refereeuserid": {
  28259. "description": "推荐人id",
  28260. "type": "integer"
  28261. },
  28262. "refernum": {
  28263. "description": "推荐码",
  28264. "type": "string"
  28265. },
  28266. "subList": {
  28267. "type": "array",
  28268. "items": {
  28269. "$ref": "#/definitions/models.QhjMyTeamEx"
  28270. }
  28271. },
  28272. "userid": {
  28273. "description": "用户id",
  28274. "type": "integer"
  28275. },
  28276. "userinfotype": {
  28277. "description": "用户类型 1-个人 2-企业",
  28278. "type": "integer"
  28279. }
  28280. }
  28281. },
  28282. "models.QhjNodeAgreementConfig": {
  28283. "type": "object",
  28284. "properties": {
  28285. "agreementcontent": {
  28286. "description": "协议内容",
  28287. "type": "string"
  28288. },
  28289. "agreementid": {
  28290. "description": "协议ID",
  28291. "type": "integer"
  28292. },
  28293. "agreementname": {
  28294. "description": "协议名称",
  28295. "type": "string"
  28296. },
  28297. "agreementno": {
  28298. "description": "协议编号",
  28299. "type": "string"
  28300. },
  28301. "agreementtype": {
  28302. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28303. "type": "integer"
  28304. },
  28305. "agreementversion": {
  28306. "description": "协议版本号",
  28307. "type": "integer"
  28308. },
  28309. "configid": {
  28310. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28311. "type": "integer"
  28312. },
  28313. "createtime": {
  28314. "description": "创建时间",
  28315. "type": "string"
  28316. },
  28317. "goodsid": {
  28318. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28319. "type": "integer"
  28320. },
  28321. "nodetype": {
  28322. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28323. "type": "integer"
  28324. }
  28325. }
  28326. },
  28327. "models.QhjParentAreaList": {
  28328. "type": "object",
  28329. "properties": {
  28330. "accountname": {
  28331. "description": "账户名称(机构名称)",
  28332. "type": "string"
  28333. },
  28334. "userid": {
  28335. "description": "用户ID",
  28336. "type": "integer"
  28337. },
  28338. "usertype": {
  28339. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28340. "type": "integer"
  28341. }
  28342. }
  28343. },
  28344. "models.QhjPayOrder": {
  28345. "type": "object",
  28346. "properties": {
  28347. "advanceratio": {
  28348. "description": "首付比率",
  28349. "type": "number"
  28350. },
  28351. "buyaccountid": {
  28352. "description": "买方账号ID[报价币种]",
  28353. "type": "integer"
  28354. },
  28355. "buyorderid": {
  28356. "description": "买方委托单号",
  28357. "type": "string"
  28358. },
  28359. "createtime": {
  28360. "description": "创建时间",
  28361. "type": "string"
  28362. },
  28363. "decimalplace": {
  28364. "description": "商品报价小数位",
  28365. "type": "integer"
  28366. },
  28367. "enumdicname": {
  28368. "description": "单位名称",
  28369. "type": "string"
  28370. },
  28371. "goodscode": {
  28372. "description": "商品代码",
  28373. "type": "string"
  28374. },
  28375. "goodsid": {
  28376. "description": "商品ID",
  28377. "type": "integer"
  28378. },
  28379. "goodsname": {
  28380. "description": "商品名称",
  28381. "type": "string"
  28382. },
  28383. "goodunitid": {
  28384. "description": "商品单位id",
  28385. "type": "integer"
  28386. },
  28387. "marketid": {
  28388. "description": "市场ID",
  28389. "type": "integer"
  28390. },
  28391. "offamount": {
  28392. "description": "优惠金额",
  28393. "type": "number"
  28394. },
  28395. "operatetype": {
  28396. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28397. "type": "integer"
  28398. },
  28399. "payamount": {
  28400. "description": "支付金额",
  28401. "type": "number"
  28402. },
  28403. "payflag": {
  28404. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28405. "type": "integer"
  28406. },
  28407. "paylimitedtime": {
  28408. "description": "支付期限",
  28409. "type": "string"
  28410. },
  28411. "paytime": {
  28412. "description": "付款时间",
  28413. "type": "string"
  28414. },
  28415. "qtydecimalplace": {
  28416. "description": "成交量小数位",
  28417. "type": "integer"
  28418. },
  28419. "sellaccountid": {
  28420. "description": "卖方账号ID[报价币种]",
  28421. "type": "integer"
  28422. },
  28423. "sellorderid": {
  28424. "description": "卖方委托单号",
  28425. "type": "string"
  28426. },
  28427. "tradeamount": {
  28428. "description": "成交金额(优惠后金额)",
  28429. "type": "number"
  28430. },
  28431. "tradecharge": {
  28432. "description": "成交手续费(买方)",
  28433. "type": "number"
  28434. },
  28435. "tradedate": {
  28436. "description": "交易日(yyyyMMdd)",
  28437. "type": "string"
  28438. },
  28439. "tradeid": {
  28440. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28441. "type": "string"
  28442. },
  28443. "tradeprice": {
  28444. "description": "成交价格",
  28445. "type": "number"
  28446. },
  28447. "tradeqty": {
  28448. "description": "成交数量",
  28449. "type": "number"
  28450. }
  28451. }
  28452. },
  28453. "models.QhjPickArea": {
  28454. "type": "object",
  28455. "properties": {
  28456. "address": {
  28457. "description": "详细地址",
  28458. "type": "string"
  28459. },
  28460. "cityid": {
  28461. "description": "市",
  28462. "type": "integer"
  28463. },
  28464. "cityname": {
  28465. "description": "城市名称",
  28466. "type": "string"
  28467. },
  28468. "countryid": {
  28469. "description": "国家",
  28470. "type": "integer"
  28471. },
  28472. "countryname": {
  28473. "description": "国家名称",
  28474. "type": "string"
  28475. },
  28476. "districtid": {
  28477. "description": "地区",
  28478. "type": "integer"
  28479. },
  28480. "districtname": {
  28481. "description": "地区名称",
  28482. "type": "string"
  28483. },
  28484. "fromuserid": {
  28485. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  28486. "type": "integer"
  28487. },
  28488. "fromusername": {
  28489. "description": "所属机构名称",
  28490. "type": "string"
  28491. },
  28492. "provinceid": {
  28493. "description": "省",
  28494. "type": "integer"
  28495. },
  28496. "provincename": {
  28497. "description": "省名称",
  28498. "type": "string"
  28499. },
  28500. "suborgtype": {
  28501. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  28502. "type": "integer"
  28503. },
  28504. "userid": {
  28505. "description": "机构用户ID 其他做市关系,都设置为 1",
  28506. "type": "integer"
  28507. },
  28508. "username": {
  28509. "description": "机构用户名称(门店门称)",
  28510. "type": "string"
  28511. }
  28512. }
  28513. },
  28514. "models.QhjPickGoods": {
  28515. "type": "object",
  28516. "properties": {
  28517. "enumdicname": {
  28518. "description": "单位名称(提货商品)",
  28519. "type": "string"
  28520. },
  28521. "goodsid": {
  28522. "description": "商品id",
  28523. "type": "integer"
  28524. },
  28525. "imageaddress": {
  28526. "description": "图片",
  28527. "type": "string"
  28528. },
  28529. "modifierid": {
  28530. "description": "修改人",
  28531. "type": "integer"
  28532. },
  28533. "modifiername": {
  28534. "description": "修改人名称",
  28535. "type": "string"
  28536. },
  28537. "modifysrc": {
  28538. "description": "修改来源 - 1:管理端 2:终端",
  28539. "type": "integer"
  28540. },
  28541. "pickupgoodsagreeunit": {
  28542. "description": "合约乘数",
  28543. "type": "number"
  28544. },
  28545. "pickupgoodsdesc": {
  28546. "description": "描述",
  28547. "type": "string"
  28548. },
  28549. "pickupgoodsid": {
  28550. "description": "提货商品ID",
  28551. "type": "string"
  28552. },
  28553. "pickupgoodsname": {
  28554. "description": "提货商品名称",
  28555. "type": "string"
  28556. },
  28557. "pickupgoodsstatus": {
  28558. "description": "状态 - 1:正常 2:停用 3:注销",
  28559. "type": "integer"
  28560. },
  28561. "pickupgoodsunitid": {
  28562. "description": "单位ID",
  28563. "type": "integer"
  28564. },
  28565. "pickupratio": {
  28566. "description": "提货系数",
  28567. "type": "number"
  28568. },
  28569. "preparedays": {
  28570. "description": "备货期(天)",
  28571. "type": "integer"
  28572. },
  28573. "remark": {
  28574. "description": "备注",
  28575. "type": "string"
  28576. },
  28577. "updatetime": {
  28578. "description": "更新时间",
  28579. "type": "string"
  28580. }
  28581. }
  28582. },
  28583. "models.QhjRSTriggerLog": {
  28584. "type": "object",
  28585. "properties": {
  28586. "accountid": {
  28587. "description": "用户资金账户",
  28588. "type": "integer"
  28589. },
  28590. "accountname": {
  28591. "description": "账号名称(ACCOUNTID对应的名称)",
  28592. "type": "string"
  28593. },
  28594. "currencyid": {
  28595. "description": "币种id",
  28596. "type": "integer"
  28597. },
  28598. "currencyname": {
  28599. "description": "币种名称",
  28600. "type": "string"
  28601. },
  28602. "decimalplace": {
  28603. "description": "商品报价小数位",
  28604. "type": "integer"
  28605. },
  28606. "enumdicname": {
  28607. "description": "单位名称",
  28608. "type": "string"
  28609. },
  28610. "goodscode": {
  28611. "description": "定投商品代码",
  28612. "type": "string"
  28613. },
  28614. "goodsid": {
  28615. "description": "定投商品ID",
  28616. "type": "integer"
  28617. },
  28618. "goodsname": {
  28619. "description": "定投商品名称",
  28620. "type": "string"
  28621. },
  28622. "goodunitid": {
  28623. "description": "定投商品单位id",
  28624. "type": "integer"
  28625. },
  28626. "logid": {
  28627. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  28628. "type": "string"
  28629. },
  28630. "logincode": {
  28631. "description": "账号(登录代码)",
  28632. "type": "string"
  28633. },
  28634. "qtydecimalplace": {
  28635. "description": "成交量小数位",
  28636. "type": "integer"
  28637. },
  28638. "regularlycycle": {
  28639. "description": "定投频率 - 1:每周 2:每月",
  28640. "type": "integer"
  28641. },
  28642. "regularlycyclevalue": {
  28643. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28644. "type": "string"
  28645. },
  28646. "regularlymode": {
  28647. "description": "定投方式 - 1:按数量 2:按金额",
  28648. "type": "integer"
  28649. },
  28650. "regularlymodevalue": {
  28651. "description": "定投方式值 - 数量或金额",
  28652. "type": "number"
  28653. },
  28654. "regularlystrategyid": {
  28655. "description": "定投策略ID",
  28656. "type": "integer"
  28657. },
  28658. "retcode": {
  28659. "description": "错误码",
  28660. "type": "string"
  28661. },
  28662. "tradeid": {
  28663. "description": "成交单ID",
  28664. "type": "string"
  28665. },
  28666. "triggeramount": {
  28667. "description": "触发金额",
  28668. "type": "number"
  28669. },
  28670. "triggerqty": {
  28671. "description": "触发数量",
  28672. "type": "number"
  28673. },
  28674. "triggerstatus": {
  28675. "description": "触发状态 - 1:成功 2:失败",
  28676. "type": "integer"
  28677. },
  28678. "triggertime": {
  28679. "description": "触发时间",
  28680. "type": "string"
  28681. },
  28682. "triggertradedate": {
  28683. "description": "触发交易日",
  28684. "type": "string"
  28685. },
  28686. "userid": {
  28687. "description": "所属用户ID",
  28688. "type": "integer"
  28689. },
  28690. "userinfotype": {
  28691. "description": "用户类型 1-个人 2-企业",
  28692. "type": "integer"
  28693. },
  28694. "username": {
  28695. "description": "用户名称(userid对应的名称)",
  28696. "type": "string"
  28697. }
  28698. }
  28699. },
  28700. "models.QhjRStrategy": {
  28701. "type": "object",
  28702. "properties": {
  28703. "accountid": {
  28704. "description": "用户资金账户",
  28705. "type": "integer"
  28706. },
  28707. "accountname": {
  28708. "description": "账号名称(ACCOUNTID对应的名称)",
  28709. "type": "string"
  28710. },
  28711. "currencyid": {
  28712. "description": "币种id",
  28713. "type": "integer"
  28714. },
  28715. "currencyname": {
  28716. "description": "币种名称",
  28717. "type": "string"
  28718. },
  28719. "decimalplace": {
  28720. "description": "商品报价小数位",
  28721. "type": "integer"
  28722. },
  28723. "enumdicname": {
  28724. "description": "单位名称",
  28725. "type": "string"
  28726. },
  28727. "goodscode": {
  28728. "description": "定投商品代码",
  28729. "type": "string"
  28730. },
  28731. "goodsid": {
  28732. "description": "定投商品ID",
  28733. "type": "integer"
  28734. },
  28735. "goodsname": {
  28736. "description": "定投商品名称",
  28737. "type": "string"
  28738. },
  28739. "goodunitid": {
  28740. "description": "定投商品单位id",
  28741. "type": "integer"
  28742. },
  28743. "lasteffecttradedate": {
  28744. "description": "最新生效交易日",
  28745. "type": "string"
  28746. },
  28747. "laststoptradedate": {
  28748. "description": "最新暂停交易日",
  28749. "type": "string"
  28750. },
  28751. "lasttriggertradedate": {
  28752. "description": "最新触发交易日",
  28753. "type": "string"
  28754. },
  28755. "logincode": {
  28756. "description": "账号(登录代码)",
  28757. "type": "string"
  28758. },
  28759. "nexttriggeramount": {
  28760. "description": "下次触发金额",
  28761. "type": "number"
  28762. },
  28763. "nexttriggerdate": {
  28764. "description": "下次触发日期",
  28765. "type": "string"
  28766. },
  28767. "nexttriggerqty": {
  28768. "description": "下次触发数量 [按小数位放大值]",
  28769. "type": "number"
  28770. },
  28771. "qtydecimalplace": {
  28772. "description": "成交量小数位",
  28773. "type": "integer"
  28774. },
  28775. "regularlycycle": {
  28776. "description": "定投频率 - 1:每周 2:每月",
  28777. "type": "integer"
  28778. },
  28779. "regularlycyclevalue": {
  28780. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28781. "type": "string"
  28782. },
  28783. "regularlymode": {
  28784. "description": "定投方式 - 1:按数量 2:按金额",
  28785. "type": "integer"
  28786. },
  28787. "regularlymodevalue": {
  28788. "description": "定投方式值 - 数量或金额",
  28789. "type": "number"
  28790. },
  28791. "regularlystrategyid": {
  28792. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  28793. "type": "integer"
  28794. },
  28795. "regularlystrategystatus": {
  28796. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  28797. "type": "integer"
  28798. },
  28799. "remark": {
  28800. "description": "备注",
  28801. "type": "string"
  28802. },
  28803. "triggersuccesstimes": {
  28804. "description": "累计定投成功次数",
  28805. "type": "string"
  28806. },
  28807. "triggertotalamount": {
  28808. "description": "累计定投金额(成功)",
  28809. "type": "number"
  28810. },
  28811. "triggertotalqty": {
  28812. "description": "累计定投数量(成功) [按小数位放大值]",
  28813. "type": "number"
  28814. },
  28815. "triggertotaltimes": {
  28816. "description": "累计定投总次数",
  28817. "type": "string"
  28818. },
  28819. "updatesrc": {
  28820. "description": "更新来源 - 1:管理端 2:终端",
  28821. "type": "integer"
  28822. },
  28823. "updatetime": {
  28824. "description": "更新时间",
  28825. "type": "string"
  28826. },
  28827. "updatorid": {
  28828. "description": "更新人",
  28829. "type": "string"
  28830. },
  28831. "userid": {
  28832. "description": "所属用户ID",
  28833. "type": "integer"
  28834. },
  28835. "userinfotype": {
  28836. "description": "用户类型 1-个人 2-企业",
  28837. "type": "integer"
  28838. },
  28839. "username": {
  28840. "description": "用户名称(userid对应的名称)",
  28841. "type": "string"
  28842. }
  28843. }
  28844. },
  28845. "models.QhjReckonPriceLog": {
  28846. "type": "object",
  28847. "properties": {
  28848. "decimalplace": {
  28849. "description": "商品报价小数位",
  28850. "type": "integer"
  28851. },
  28852. "goodscode": {
  28853. "description": "商品代码",
  28854. "type": "string"
  28855. },
  28856. "goodsid": {
  28857. "description": "商品ID",
  28858. "type": "integer"
  28859. },
  28860. "goodsname": {
  28861. "description": "商品名称",
  28862. "type": "string"
  28863. },
  28864. "lastreckonprice": {
  28865. "description": "上日结算价",
  28866. "type": "number"
  28867. },
  28868. "nextdnlimitprice": {
  28869. "description": "下个交易日跌停价",
  28870. "type": "number"
  28871. },
  28872. "nexttrade": {
  28873. "description": "下个交易日",
  28874. "type": "string"
  28875. },
  28876. "nextuplimitprice": {
  28877. "description": "下个交易日涨停价",
  28878. "type": "number"
  28879. },
  28880. "reckonprice": {
  28881. "description": "今日结算价(定投价)",
  28882. "type": "number"
  28883. },
  28884. "reckontime": {
  28885. "description": "结算时间",
  28886. "type": "string"
  28887. },
  28888. "totalholderqty": {
  28889. "description": "总持仓数",
  28890. "type": "integer"
  28891. },
  28892. "totalstock": {
  28893. "description": "总库存",
  28894. "type": "integer"
  28895. },
  28896. "tradedate": {
  28897. "description": "交易日",
  28898. "type": "string"
  28899. },
  28900. "updowncount": {
  28901. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  28902. "type": "integer"
  28903. },
  28904. "updownflag": {
  28905. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  28906. "type": "integer"
  28907. },
  28908. "updownrate": {
  28909. "description": "今日涨跌幅",
  28910. "type": "number"
  28911. },
  28912. "updownrate_2d": {
  28913. "description": "连续两日涨跌幅",
  28914. "type": "number"
  28915. },
  28916. "updownrate_3d": {
  28917. "description": "连续三日涨跌幅",
  28918. "type": "number"
  28919. }
  28920. }
  28921. },
  28922. "models.QhjScoreLog": {
  28923. "type": "object",
  28924. "properties": {
  28925. "accountid": {
  28926. "description": "账户ID",
  28927. "type": "integer"
  28928. },
  28929. "createtime": {
  28930. "description": "创建时间(时间)",
  28931. "type": "string"
  28932. },
  28933. "goodsid": {
  28934. "description": "商品ID",
  28935. "type": "integer"
  28936. },
  28937. "hasuploaded": {
  28938. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  28939. "type": "integer"
  28940. },
  28941. "logid": {
  28942. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28943. "type": "string"
  28944. },
  28945. "marketid": {
  28946. "description": "市场ID",
  28947. "type": "integer"
  28948. },
  28949. "relatedamount": {
  28950. "description": "关联金额",
  28951. "type": "number"
  28952. },
  28953. "relatedorderid": {
  28954. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  28955. "type": "string"
  28956. },
  28957. "scoreconfigvalue1": {
  28958. "description": "积分配置1",
  28959. "type": "integer"
  28960. },
  28961. "scoreconfigvalue2": {
  28962. "description": "积分配置1",
  28963. "type": "integer"
  28964. },
  28965. "scoretype": {
  28966. "description": "积分类型 - 1:提货积分",
  28967. "type": "integer"
  28968. },
  28969. "scorevalue": {
  28970. "description": "积分",
  28971. "type": "number"
  28972. },
  28973. "tradedate": {
  28974. "description": "交易日(yyyyMMdd)",
  28975. "type": "string"
  28976. },
  28977. "uploadedtime": {
  28978. "description": "同步时间",
  28979. "type": "string"
  28980. },
  28981. "userid": {
  28982. "description": "用户ID",
  28983. "type": "integer"
  28984. }
  28985. }
  28986. },
  28987. "models.QhjSiteColumnDetail": {
  28988. "type": "object",
  28989. "properties": {
  28990. "author": {
  28991. "description": "作者",
  28992. "type": "string"
  28993. },
  28994. "brief": {
  28995. "description": "简介",
  28996. "type": "string"
  28997. },
  28998. "columnid": {
  28999. "description": "所属栏目",
  29000. "type": "integer"
  29001. },
  29002. "context": {
  29003. "description": "内容",
  29004. "type": "string"
  29005. },
  29006. "coverimage": {
  29007. "description": "封面图片",
  29008. "type": "string"
  29009. },
  29010. "creaedate": {
  29011. "description": "创建时间",
  29012. "type": "string"
  29013. },
  29014. "creatorid": {
  29015. "description": "创建人",
  29016. "type": "integer"
  29017. },
  29018. "hits": {
  29019. "description": "点击数",
  29020. "type": "integer"
  29021. },
  29022. "id": {
  29023. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  29024. "type": "integer"
  29025. },
  29026. "isshow": {
  29027. "description": "是否展示 - 0:不展示 1:展示",
  29028. "type": "integer"
  29029. },
  29030. "istop": {
  29031. "description": "是否置顶 - 0:不置 1:置顶",
  29032. "type": "integer"
  29033. },
  29034. "modifierid": {
  29035. "description": "操作人",
  29036. "type": "integer"
  29037. },
  29038. "publishdate": {
  29039. "description": "发布日期",
  29040. "type": "string"
  29041. },
  29042. "status": {
  29043. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  29044. "type": "integer"
  29045. },
  29046. "title": {
  29047. "description": "标题",
  29048. "type": "string"
  29049. },
  29050. "updatedate": {
  29051. "description": "修改时间",
  29052. "type": "string"
  29053. },
  29054. "userid": {
  29055. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  29056. "type": "integer"
  29057. },
  29058. "username": {
  29059. "description": "用户名称",
  29060. "type": "string"
  29061. }
  29062. }
  29063. },
  29064. "models.QhjTeamOrder": {
  29065. "type": "object",
  29066. "properties": {
  29067. "accountid": {
  29068. "description": "账户ID[报价币种]",
  29069. "type": "integer"
  29070. },
  29071. "accountname": {
  29072. "description": "账户名称",
  29073. "type": "string"
  29074. },
  29075. "agreeunit": {
  29076. "description": "合约乘数",
  29077. "type": "number"
  29078. },
  29079. "buyorsell": {
  29080. "description": "方向 - 0:买 1:卖",
  29081. "type": "integer"
  29082. },
  29083. "decimalplace": {
  29084. "description": "报价小数位",
  29085. "type": "integer"
  29086. },
  29087. "enumdicname": {
  29088. "description": "单位名称",
  29089. "type": "string"
  29090. },
  29091. "goodscode": {
  29092. "description": "商品代码(内部)",
  29093. "type": "string"
  29094. },
  29095. "goodsid": {
  29096. "description": "商品ID",
  29097. "type": "integer"
  29098. },
  29099. "goodsname": {
  29100. "description": "商品名称",
  29101. "type": "string"
  29102. },
  29103. "goodunitid": {
  29104. "description": "报价单位ID",
  29105. "type": "integer"
  29106. },
  29107. "marketid": {
  29108. "description": "市场ID",
  29109. "type": "integer"
  29110. },
  29111. "marketname": {
  29112. "description": "市场名称",
  29113. "type": "string"
  29114. },
  29115. "qtydecimalplace": {
  29116. "description": "成交量小数位",
  29117. "type": "integer"
  29118. },
  29119. "refereeuserid": {
  29120. "description": "推荐人ID",
  29121. "type": "integer"
  29122. },
  29123. "tradeamount": {
  29124. "description": "成交金额[账户币种,用于所有权]",
  29125. "type": "number"
  29126. },
  29127. "tradedate": {
  29128. "description": "交易日(yyyyMMdd)",
  29129. "type": "string"
  29130. },
  29131. "trademode": {
  29132. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29133. "type": "integer"
  29134. },
  29135. "tradeprice": {
  29136. "description": "成交价格",
  29137. "type": "number"
  29138. },
  29139. "tradeqty": {
  29140. "description": "成交数量",
  29141. "type": "number"
  29142. },
  29143. "tradetime": {
  29144. "description": "成交时间",
  29145. "type": "string"
  29146. },
  29147. "userid": {
  29148. "description": "用户ID",
  29149. "type": "integer"
  29150. }
  29151. }
  29152. },
  29153. "models.QhjTradeGoodsPickup": {
  29154. "type": "object",
  29155. "properties": {
  29156. "accountid": {
  29157. "description": "账户ID",
  29158. "type": "integer"
  29159. },
  29160. "address": {
  29161. "description": "提货人详细地址",
  29162. "type": "string"
  29163. },
  29164. "amount": {
  29165. "description": "提货金额",
  29166. "type": "number"
  29167. },
  29168. "artradedate": {
  29169. "description": "自动收货交易日(yyyyMMdd)",
  29170. "type": "string"
  29171. },
  29172. "auditer": {
  29173. "description": "审核人",
  29174. "type": "integer"
  29175. },
  29176. "auditsrc": {
  29177. "description": "更新来源 - 1:管理端 2:终端",
  29178. "type": "integer"
  29179. },
  29180. "audittime": {
  29181. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  29182. "type": "string"
  29183. },
  29184. "audittradedate": {
  29185. "description": "审核交易日(yyyyMMdd)",
  29186. "type": "string"
  29187. },
  29188. "cardnum": {
  29189. "description": "提货人证件号码",
  29190. "type": "string"
  29191. },
  29192. "cardtypeid": {
  29193. "description": "提货人证件类型",
  29194. "type": "integer"
  29195. },
  29196. "checkremark": {
  29197. "description": "审核备注",
  29198. "type": "string"
  29199. },
  29200. "cityid": {
  29201. "description": "市",
  29202. "type": "integer"
  29203. },
  29204. "cityname": {
  29205. "description": "城市名称",
  29206. "type": "string"
  29207. },
  29208. "confirmtime": {
  29209. "description": "取货时间 或 收货时间",
  29210. "type": "string"
  29211. },
  29212. "countryid": {
  29213. "description": "国家",
  29214. "type": "integer"
  29215. },
  29216. "countryname": {
  29217. "description": "国家名称",
  29218. "type": "string"
  29219. },
  29220. "decimalplace": {
  29221. "description": "商品报价小数位",
  29222. "type": "integer"
  29223. },
  29224. "districtid": {
  29225. "description": "地区",
  29226. "type": "integer"
  29227. },
  29228. "districtname": {
  29229. "description": "地区名称",
  29230. "type": "string"
  29231. },
  29232. "enumdicname": {
  29233. "description": "单位名称(提货商品)",
  29234. "type": "string"
  29235. },
  29236. "expresscompany": {
  29237. "description": "物流公司",
  29238. "type": "string"
  29239. },
  29240. "expressnum": {
  29241. "description": "物流单号",
  29242. "type": "string"
  29243. },
  29244. "goodsagreeunit": {
  29245. "description": "交易商品乘数",
  29246. "type": "number"
  29247. },
  29248. "goodscode": {
  29249. "description": "商品代码",
  29250. "type": "string"
  29251. },
  29252. "goodsid": {
  29253. "description": "商品ID",
  29254. "type": "integer"
  29255. },
  29256. "goodsname": {
  29257. "description": "商品名称",
  29258. "type": "string"
  29259. },
  29260. "goodsqty": {
  29261. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  29262. "type": "number"
  29263. },
  29264. "handlestatus": {
  29265. "description": "处理状态",
  29266. "type": "integer"
  29267. },
  29268. "logincode": {
  29269. "description": "账号(登录代码, 有可能为空)",
  29270. "type": "string"
  29271. },
  29272. "marketid": {
  29273. "description": "市场ID",
  29274. "type": "integer"
  29275. },
  29276. "phonenum": {
  29277. "description": "提货人联系方式",
  29278. "type": "string"
  29279. },
  29280. "pickupgoodsagreeunit": {
  29281. "description": "提货商品合约乘数",
  29282. "type": "number"
  29283. },
  29284. "pickupgoodsid": {
  29285. "description": "提货商品ID",
  29286. "type": "string"
  29287. },
  29288. "pickupgoodsname": {
  29289. "description": "提货商品名称",
  29290. "type": "string"
  29291. },
  29292. "pickupgoodsqty": {
  29293. "description": "提货商品手数(数量)",
  29294. "type": "number"
  29295. },
  29296. "pickupgoodsunitid": {
  29297. "description": "单位ID(提货商品)",
  29298. "type": "integer"
  29299. },
  29300. "pickupratio": {
  29301. "description": "提货系数",
  29302. "type": "number"
  29303. },
  29304. "preparedays": {
  29305. "description": "备货期(天)-提货单明细表",
  29306. "type": "integer"
  29307. },
  29308. "provinceid": {
  29309. "description": "省",
  29310. "type": "integer"
  29311. },
  29312. "provincename": {
  29313. "description": "省名称",
  29314. "type": "string"
  29315. },
  29316. "qty": {
  29317. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  29318. "type": "number"
  29319. },
  29320. "qtydecimalplace": {
  29321. "description": "商品数量小数位",
  29322. "type": "integer"
  29323. },
  29324. "recivername": {
  29325. "description": "提货人姓名",
  29326. "type": "string"
  29327. },
  29328. "reqtime": {
  29329. "description": "提货申请时间",
  29330. "type": "string"
  29331. },
  29332. "storeuserid": {
  29333. "description": "门店用户ID (千海金)",
  29334. "type": "integer"
  29335. },
  29336. "storeusername": {
  29337. "description": "门店用户名称",
  29338. "type": "string"
  29339. },
  29340. "takemode": {
  29341. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  29342. "type": "integer"
  29343. },
  29344. "takeorderid": {
  29345. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29346. "type": "string"
  29347. },
  29348. "takeorderstatus": {
  29349. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  29350. "type": "integer"
  29351. },
  29352. "takeremark": {
  29353. "description": "提货备注",
  29354. "type": "string"
  29355. },
  29356. "tradedate": {
  29357. "description": "交易日(yyyyMMdd)",
  29358. "type": "string"
  29359. },
  29360. "updatetime": {
  29361. "description": "更新时间",
  29362. "type": "string"
  29363. },
  29364. "userid": {
  29365. "description": "用户ID",
  29366. "type": "integer"
  29367. },
  29368. "userinfotype": {
  29369. "description": "客户类型 1-个人 2-企业",
  29370. "type": "integer"
  29371. },
  29372. "username": {
  29373. "description": "用户名称",
  29374. "type": "string"
  29375. }
  29376. }
  29377. },
  29378. "models.QhjUserNodeCfgAndStatus": {
  29379. "type": "object",
  29380. "properties": {
  29381. "agreementcontent": {
  29382. "description": "协议内容",
  29383. "type": "string"
  29384. },
  29385. "agreementid": {
  29386. "description": "协议ID",
  29387. "type": "integer"
  29388. },
  29389. "agreementname": {
  29390. "description": "协议名称",
  29391. "type": "string"
  29392. },
  29393. "agreementno": {
  29394. "description": "协议编号",
  29395. "type": "string"
  29396. },
  29397. "agreementtype": {
  29398. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29399. "type": "integer"
  29400. },
  29401. "agreementversion": {
  29402. "description": "协议版本号",
  29403. "type": "integer"
  29404. },
  29405. "configid": {
  29406. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  29407. "type": "integer"
  29408. },
  29409. "createtime": {
  29410. "description": "创建时间",
  29411. "type": "string"
  29412. },
  29413. "goodsid": {
  29414. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29415. "type": "integer"
  29416. },
  29417. "nodetype": {
  29418. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29419. "type": "integer"
  29420. },
  29421. "signtimestamp": {
  29422. "description": "签约状态时间戳(最近一次)",
  29423. "type": "string"
  29424. },
  29425. "tradedate": {
  29426. "description": "签约交易日(yyyyMMdd)",
  29427. "type": "string"
  29428. },
  29429. "userid": {
  29430. "description": "客户ID",
  29431. "type": "integer"
  29432. }
  29433. }
  29434. },
  29435. "models.Qhjgoodsex": {
  29436. "type": "object",
  29437. "properties": {
  29438. "canfinance": {
  29439. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  29440. "type": "integer"
  29441. },
  29442. "canregularlybuy": {
  29443. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  29444. "type": "integer"
  29445. },
  29446. "defaulttradeuserid": {
  29447. "description": "默认交易用户ID",
  29448. "type": "integer"
  29449. },
  29450. "deliverygoodsid": {
  29451. "description": "现货品种ID",
  29452. "type": "integer"
  29453. },
  29454. "goodsid": {
  29455. "description": "商品ID(自增ID SEQ_GOODS)",
  29456. "type": "integer"
  29457. },
  29458. "minamount": {
  29459. "description": "最小购买金额",
  29460. "type": "number"
  29461. },
  29462. "regularlybuyminamount": {
  29463. "description": "定投最小金额",
  29464. "type": "number"
  29465. },
  29466. "regularlybuyminqty": {
  29467. "description": "定投最小数量",
  29468. "type": "number"
  29469. },
  29470. "spotgoodsbrandid": {
  29471. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  29472. "type": "integer"
  29473. },
  29474. "visibilityforenterprise": {
  29475. "description": "企业客户是否可见 - 0:不可见 1:可见",
  29476. "type": "integer"
  29477. },
  29478. "visibilityforpersonal": {
  29479. "description": "个人客户是否可见 - 0:不可见 1:可见",
  29480. "type": "integer"
  29481. },
  29482. "wrstandardid": {
  29483. "description": "现货商品ID",
  29484. "type": "integer"
  29485. }
  29486. }
  29487. },
  29488. "models.QueryErrorInfosRsp": {
  29489. "type": "object",
  29490. "required": [
  29491. "errorid"
  29492. ],
  29493. "properties": {
  29494. "description": {
  29495. "description": "异常描述",
  29496. "type": "string"
  29497. },
  29498. "errorcode": {
  29499. "description": "异常代码",
  29500. "type": "string"
  29501. },
  29502. "errorid": {
  29503. "description": "异常ID",
  29504. "type": "integer"
  29505. },
  29506. "modulecode": {
  29507. "description": "所属模块",
  29508. "type": "string"
  29509. },
  29510. "operatecode": {
  29511. "description": "所属操作",
  29512. "type": "string"
  29513. },
  29514. "rownumber": {
  29515. "description": "行号",
  29516. "type": "string"
  29517. }
  29518. }
  29519. },
  29520. "models.QueryHedgeOrderDetailRsp": {
  29521. "type": "object",
  29522. "properties": {
  29523. "accountid": {
  29524. "description": "账户ID",
  29525. "type": "integer"
  29526. },
  29527. "buyorsell": {
  29528. "description": "买卖 - 0:买 1:卖",
  29529. "type": "integer"
  29530. },
  29531. "cancellogincode": {
  29532. "description": "撤单人",
  29533. "type": "string"
  29534. },
  29535. "channelbuildtype": {
  29536. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  29537. "type": "integer"
  29538. },
  29539. "channelinnerorderstatus": {
  29540. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  29541. "type": "integer"
  29542. },
  29543. "channeloperatetype": {
  29544. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  29545. "type": "integer"
  29546. },
  29547. "closetype": {
  29548. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29549. "type": "integer"
  29550. },
  29551. "curexchangerate": {
  29552. "description": "当前汇率",
  29553. "type": "number"
  29554. },
  29555. "exchangefullname": {
  29556. "description": "外部交易所全称",
  29557. "type": "string"
  29558. },
  29559. "goodscode": {
  29560. "description": "商品代码(内部)",
  29561. "type": "string"
  29562. },
  29563. "goodsid": {
  29564. "description": "商品ID",
  29565. "type": "integer"
  29566. },
  29567. "goodsname": {
  29568. "description": "商品名称",
  29569. "type": "string"
  29570. },
  29571. "marketid": {
  29572. "description": "市场ID",
  29573. "type": "integer"
  29574. },
  29575. "openfreezemargin": {
  29576. "description": "冻结保证金(冻结交易金额)",
  29577. "type": "number"
  29578. },
  29579. "orderid": {
  29580. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29581. "type": "string"
  29582. },
  29583. "orderlogincode": {
  29584. "description": "委托人",
  29585. "type": "string"
  29586. },
  29587. "orderprice": {
  29588. "description": "委托价格(账户)",
  29589. "type": "number"
  29590. },
  29591. "orderqty": {
  29592. "description": "委托数量",
  29593. "type": "integer"
  29594. },
  29595. "ordertime": {
  29596. "description": "委托时间",
  29597. "type": "string"
  29598. },
  29599. "pricemode": {
  29600. "description": "取价方式 - 1:市价 2: 限价",
  29601. "type": "integer"
  29602. },
  29603. "tradedate": {
  29604. "description": "交易日(yyyyMMdd)",
  29605. "type": "string"
  29606. },
  29607. "tradeqty": {
  29608. "description": "成交数量",
  29609. "type": "integer"
  29610. }
  29611. }
  29612. },
  29613. "models.QueryHedgeTradeDetailRsp": {
  29614. "type": "object",
  29615. "properties": {
  29616. "accountid": {
  29617. "description": "账号ID",
  29618. "type": "integer"
  29619. },
  29620. "buyorsell": {
  29621. "description": "方向 - 0:买 1:卖",
  29622. "type": "integer"
  29623. },
  29624. "channelbuildtype": {
  29625. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29626. "type": "integer"
  29627. },
  29628. "closecharge": {
  29629. "description": "平仓手续费(账户)",
  29630. "type": "number"
  29631. },
  29632. "closecharge2": {
  29633. "description": "平仓手续费(商品)",
  29634. "type": "number"
  29635. },
  29636. "closepl": {
  29637. "description": "平仓盈亏(账户)",
  29638. "type": "number"
  29639. },
  29640. "closepl2": {
  29641. "description": "平仓盈亏(商品)",
  29642. "type": "number"
  29643. },
  29644. "closepl3": {
  29645. "description": "平仓盈亏(账户)(逐笔)",
  29646. "type": "number"
  29647. },
  29648. "closepl4": {
  29649. "description": "平仓盈亏(商品)(逐笔)",
  29650. "type": "number"
  29651. },
  29652. "closetype": {
  29653. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29654. "type": "integer"
  29655. },
  29656. "curexchangerate": {
  29657. "description": "当前汇率",
  29658. "type": "number"
  29659. },
  29660. "exchangefullname": {
  29661. "description": "外部交易所全称",
  29662. "type": "string"
  29663. },
  29664. "goodscode": {
  29665. "description": "商品代码(内部)",
  29666. "type": "string"
  29667. },
  29668. "goodsid": {
  29669. "description": "商品ID",
  29670. "type": "integer"
  29671. },
  29672. "goodsname": {
  29673. "description": "商品名称",
  29674. "type": "string"
  29675. },
  29676. "marketid": {
  29677. "description": "市场ID",
  29678. "type": "integer"
  29679. },
  29680. "opencharge": {
  29681. "description": "建仓手续费(账户)",
  29682. "type": "number"
  29683. },
  29684. "opencharge2": {
  29685. "description": "建仓手续费(商品)",
  29686. "type": "number"
  29687. },
  29688. "orderid": {
  29689. "description": "委托单号",
  29690. "type": "string"
  29691. },
  29692. "orderlogincode": {
  29693. "description": "委托人",
  29694. "type": "string"
  29695. },
  29696. "tradeamount": {
  29697. "description": "成交金额(账户)",
  29698. "type": "number"
  29699. },
  29700. "tradedate": {
  29701. "description": "交易日(yyyyMMdd)",
  29702. "type": "string"
  29703. },
  29704. "tradeid": {
  29705. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29706. "type": "string"
  29707. },
  29708. "tradeprice": {
  29709. "description": "成交价格",
  29710. "type": "number"
  29711. },
  29712. "tradeqty": {
  29713. "description": "成交数量",
  29714. "type": "integer"
  29715. },
  29716. "tradetime": {
  29717. "description": "成交时间",
  29718. "type": "string"
  29719. },
  29720. "tradetype": {
  29721. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  29722. "type": "integer"
  29723. }
  29724. }
  29725. },
  29726. "models.QuotePrimaryMenu": {
  29727. "type": "object",
  29728. "properties": {
  29729. "Index": {
  29730. "description": "序号",
  29731. "type": "integer"
  29732. },
  29733. "Key": {
  29734. "description": "键名",
  29735. "type": "string"
  29736. },
  29737. "Name": {
  29738. "description": "菜单名称",
  29739. "type": "string"
  29740. },
  29741. "SubMenus": {
  29742. "description": "子菜单",
  29743. "type": "array",
  29744. "items": {
  29745. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  29746. }
  29747. },
  29748. "SubTitleType": {
  29749. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  29750. "type": "integer"
  29751. },
  29752. "TradeModes": {
  29753. "description": "包含市场交易类型",
  29754. "type": "string"
  29755. }
  29756. }
  29757. },
  29758. "models.QuoteSecondaryMenu": {
  29759. "type": "object",
  29760. "properties": {
  29761. "ExExchangeCode": {
  29762. "description": "外部交易所代码",
  29763. "type": "string"
  29764. },
  29765. "ExExchangeID": {
  29766. "description": "外部交易所ID",
  29767. "type": "integer"
  29768. },
  29769. "GoodsGroupIDs": {
  29770. "description": "商品组ID列表",
  29771. "type": "array",
  29772. "items": {
  29773. "type": "integer"
  29774. }
  29775. },
  29776. "Index": {
  29777. "description": "序号",
  29778. "type": "integer"
  29779. },
  29780. "MarketID": {
  29781. "description": "市场ID",
  29782. "type": "integer"
  29783. },
  29784. "MenuTitle": {
  29785. "description": "菜单标题(市场名称或外部交易所名称)",
  29786. "type": "string"
  29787. },
  29788. "TradeMode": {
  29789. "description": "交易模式",
  29790. "type": "integer"
  29791. }
  29792. }
  29793. },
  29794. "models.RoleMenu": {
  29795. "type": "object",
  29796. "properties": {
  29797. "hasright": {
  29798. "description": "是否有权限 0-没有权限 1-有权限",
  29799. "type": "integer"
  29800. },
  29801. "iconame": {
  29802. "description": "菜单图标",
  29803. "type": "string"
  29804. },
  29805. "menutype": {
  29806. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  29807. "type": "integer"
  29808. },
  29809. "parentcode": {
  29810. "description": "上级资源代码",
  29811. "type": "string"
  29812. },
  29813. "remark": {
  29814. "description": "菜单备注",
  29815. "type": "string"
  29816. },
  29817. "resourcecode": {
  29818. "description": "菜单代码",
  29819. "type": "string"
  29820. },
  29821. "resourcelevel": {
  29822. "description": "级别",
  29823. "type": "integer"
  29824. },
  29825. "resourcename": {
  29826. "description": "菜单名称",
  29827. "type": "string"
  29828. },
  29829. "roleid": {
  29830. "description": "角色id",
  29831. "type": "integer"
  29832. },
  29833. "sort": {
  29834. "description": "排序",
  29835. "type": "integer"
  29836. },
  29837. "subMenu": {
  29838. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29839. "type": "array",
  29840. "items": {
  29841. "$ref": "#/definitions/models.RoleMenu"
  29842. }
  29843. },
  29844. "url": {
  29845. "description": "URL",
  29846. "type": "string"
  29847. },
  29848. "userid": {
  29849. "description": "用户id",
  29850. "type": "integer"
  29851. }
  29852. }
  29853. },
  29854. "models.SearchGoods": {
  29855. "type": "object",
  29856. "required": [
  29857. "goodscode",
  29858. "goodsid",
  29859. "goodsname",
  29860. "marketid",
  29861. "trademode"
  29862. ],
  29863. "properties": {
  29864. "goodscode": {
  29865. "description": "商品代码(内部)",
  29866. "type": "string"
  29867. },
  29868. "goodsid": {
  29869. "description": "商品ID(自增ID SEQ_GOODS)",
  29870. "type": "integer"
  29871. },
  29872. "goodsname": {
  29873. "description": "商品名称",
  29874. "type": "string"
  29875. },
  29876. "marketid": {
  29877. "description": "所属市场ID",
  29878. "type": "integer"
  29879. },
  29880. "marketname": {
  29881. "description": "市场名称",
  29882. "type": "string"
  29883. },
  29884. "trademode": {
  29885. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29886. "type": "integer"
  29887. }
  29888. }
  29889. },
  29890. "models.Systemparam": {
  29891. "type": "object",
  29892. "required": [
  29893. "paramcode"
  29894. ],
  29895. "properties": {
  29896. "loginid": {
  29897. "description": "更新用户账号,登录账号",
  29898. "type": "string"
  29899. },
  29900. "modifyflag": {
  29901. "description": "修改标志0 不允许修改 1 允许修改",
  29902. "type": "integer"
  29903. },
  29904. "paramcode": {
  29905. "description": "参数代码",
  29906. "type": "string"
  29907. },
  29908. "paramname": {
  29909. "description": "参数名",
  29910. "type": "string"
  29911. },
  29912. "paramtype": {
  29913. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29914. "type": "integer"
  29915. },
  29916. "paramvalue": {
  29917. "description": "参数值",
  29918. "type": "string"
  29919. },
  29920. "paramvalue2": {
  29921. "description": "参数值(CLOB)",
  29922. "type": "string"
  29923. },
  29924. "regexpress": {
  29925. "description": "正则表达式",
  29926. "type": "string"
  29927. },
  29928. "remark": {
  29929. "description": "备注",
  29930. "type": "string"
  29931. },
  29932. "serverip": {
  29933. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  29934. "type": "string"
  29935. },
  29936. "showflag": {
  29937. "description": "是否显示0 不显示 1 显示",
  29938. "type": "integer"
  29939. },
  29940. "updatetime": {
  29941. "description": "更新时间",
  29942. "type": "string"
  29943. },
  29944. "userid": {
  29945. "description": "更新用户ID",
  29946. "type": "integer"
  29947. }
  29948. }
  29949. },
  29950. "models.Szdz3convertconfig": {
  29951. "type": "object",
  29952. "required": [
  29953. "converttype",
  29954. "innergoodsid",
  29955. "outergoodscode"
  29956. ],
  29957. "properties": {
  29958. "canin": {
  29959. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  29960. "type": "integer"
  29961. },
  29962. "canout": {
  29963. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  29964. "type": "integer"
  29965. },
  29966. "converttype": {
  29967. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  29968. "type": "integer"
  29969. },
  29970. "createtime": {
  29971. "description": "创建时间",
  29972. "type": "string"
  29973. },
  29974. "creatorid": {
  29975. "description": "创建人",
  29976. "type": "integer"
  29977. },
  29978. "daymaxvalue": {
  29979. "description": "当日最大转入限制",
  29980. "type": "number"
  29981. },
  29982. "freezedays": {
  29983. "description": "冻结天数 [5:花生米转交易]",
  29984. "type": "integer"
  29985. },
  29986. "innergoodsid": {
  29987. "description": "内部商品ID[交易]",
  29988. "type": "integer"
  29989. },
  29990. "inratio": {
  29991. "description": "目标值",
  29992. "type": "integer"
  29993. },
  29994. "modifierid": {
  29995. "description": "修改人",
  29996. "type": "integer"
  29997. },
  29998. "modifytime": {
  29999. "description": "修改时间",
  30000. "type": "string"
  30001. },
  30002. "outergoodscode": {
  30003. "description": "外部商品代码[JD\\PD]",
  30004. "type": "string"
  30005. },
  30006. "outratio": {
  30007. "description": "源值",
  30008. "type": "integer"
  30009. },
  30010. "pddecimalplace": {
  30011. "description": "PD小数位",
  30012. "type": "integer"
  30013. },
  30014. "timemaxvalue": {
  30015. "description": "单次最大转入限制",
  30016. "type": "number"
  30017. },
  30018. "timeminvalue": {
  30019. "description": "单次最小转入限制",
  30020. "type": "number"
  30021. }
  30022. }
  30023. },
  30024. "models.Szdz3searchwhitelist": {
  30025. "type": "object",
  30026. "required": [
  30027. "userid"
  30028. ],
  30029. "properties": {
  30030. "createtime": {
  30031. "description": "创建时间",
  30032. "type": "string"
  30033. },
  30034. "creatorid": {
  30035. "description": "创建人",
  30036. "type": "integer"
  30037. },
  30038. "modifierid": {
  30039. "description": "修改人",
  30040. "type": "integer"
  30041. },
  30042. "modifytime": {
  30043. "description": "修改时间",
  30044. "type": "string"
  30045. },
  30046. "userid": {
  30047. "description": "用户ID",
  30048. "type": "integer"
  30049. }
  30050. }
  30051. },
  30052. "models.TBGoods": {
  30053. "type": "object",
  30054. "properties": {
  30055. "agreeunit": {
  30056. "description": "合约乘数",
  30057. "type": "number"
  30058. },
  30059. "enumdicname": {
  30060. "description": "单位名称",
  30061. "type": "string"
  30062. },
  30063. "goodscode": {
  30064. "description": "商品代码(内部)",
  30065. "type": "string"
  30066. },
  30067. "goodsid": {
  30068. "description": "商品ID(自增ID SEQ_GOODS)",
  30069. "type": "integer"
  30070. },
  30071. "goodsname": {
  30072. "description": "商品名称",
  30073. "type": "string"
  30074. }
  30075. }
  30076. },
  30077. "models.TBGoodsGroup": {
  30078. "type": "object",
  30079. "properties": {
  30080. "convertratio": {
  30081. "description": "折算系数",
  30082. "type": "number"
  30083. },
  30084. "enumdicname": {
  30085. "description": "单位名称",
  30086. "type": "string"
  30087. },
  30088. "exexchangecode": {
  30089. "description": "交易所代码",
  30090. "type": "string"
  30091. },
  30092. "exexchangename": {
  30093. "description": "交易所名称",
  30094. "type": "string"
  30095. },
  30096. "gdlst": {
  30097. "description": "商品列表",
  30098. "type": "array",
  30099. "items": {
  30100. "$ref": "#/definitions/models.TBGoods"
  30101. }
  30102. },
  30103. "goodsgroupid": {
  30104. "description": "商品组ID(自增ID)",
  30105. "type": "integer"
  30106. },
  30107. "goodsgroupname": {
  30108. "description": "商品组名称",
  30109. "type": "string"
  30110. },
  30111. "goodunitid": {
  30112. "description": "报价单位ID",
  30113. "type": "integer"
  30114. }
  30115. }
  30116. },
  30117. "models.TBMiddleGoods": {
  30118. "type": "object",
  30119. "properties": {
  30120. "areauserid": {
  30121. "description": "机构用户ID",
  30122. "type": "integer"
  30123. },
  30124. "enumdicname": {
  30125. "description": "单位名称",
  30126. "type": "string"
  30127. },
  30128. "gplst": {
  30129. "description": "期货品种列表",
  30130. "type": "array",
  30131. "items": {
  30132. "$ref": "#/definitions/models.TBGoodsGroup"
  30133. }
  30134. },
  30135. "middlegoodscode": {
  30136. "description": "套保品种代码",
  30137. "type": "string"
  30138. },
  30139. "middlegoodsid": {
  30140. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  30141. "type": "integer"
  30142. },
  30143. "middlegoodsname": {
  30144. "description": "套保品种名称",
  30145. "type": "string"
  30146. },
  30147. "needarbitrageratio": {
  30148. "description": "套利比率",
  30149. "type": "number"
  30150. },
  30151. "needhedgeratio": {
  30152. "description": "套保比率",
  30153. "type": "number"
  30154. },
  30155. "wdlst": {
  30156. "description": "商品信息列表(现货品类)",
  30157. "type": "array",
  30158. "items": {
  30159. "$ref": "#/definitions/models.TBWrstandard"
  30160. }
  30161. }
  30162. }
  30163. },
  30164. "models.TBWrstandard": {
  30165. "type": "object",
  30166. "properties": {
  30167. "convertratio": {
  30168. "description": "折算系数",
  30169. "type": "number"
  30170. },
  30171. "deliverygoodsname": {
  30172. "description": "品种名称",
  30173. "type": "string"
  30174. },
  30175. "enumdicname": {
  30176. "description": "单位名称",
  30177. "type": "string"
  30178. },
  30179. "vatrate": {
  30180. "description": "增值税率",
  30181. "type": "number"
  30182. },
  30183. "wrstandardcode": {
  30184. "description": "现货商品代码",
  30185. "type": "string"
  30186. },
  30187. "wrstandardid": {
  30188. "description": "现货商品ID(SEQ_WRSTANDARD)",
  30189. "type": "integer"
  30190. },
  30191. "wrstandardname": {
  30192. "description": "现货商品名称",
  30193. "type": "string"
  30194. }
  30195. }
  30196. },
  30197. "models.Taaccount": {
  30198. "type": "object",
  30199. "required": [
  30200. "accountid",
  30201. "userid"
  30202. ],
  30203. "properties": {
  30204. "accountflag": {
  30205. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  30206. "type": "integer"
  30207. },
  30208. "accountid": {
  30209. "description": "资金账户ID",
  30210. "type": "integer"
  30211. },
  30212. "accountname": {
  30213. "description": "账户名称",
  30214. "type": "string"
  30215. },
  30216. "balance": {
  30217. "description": "期初余额",
  30218. "type": "number"
  30219. },
  30220. "capitalbalance": {
  30221. "description": "本金余额[外部子账户实际出入金余额]",
  30222. "type": "number"
  30223. },
  30224. "changeflag": {
  30225. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  30226. "type": "integer"
  30227. },
  30228. "changetime": {
  30229. "description": "账户状态变更时间",
  30230. "type": "string"
  30231. },
  30232. "closepl": {
  30233. "description": "今日平仓盈亏",
  30234. "type": "number"
  30235. },
  30236. "creditdecrease": {
  30237. "description": "今日授信减少",
  30238. "type": "number"
  30239. },
  30240. "creditincrease": {
  30241. "description": "今日授信增加",
  30242. "type": "number"
  30243. },
  30244. "curamount": {
  30245. "description": "总市值(从持仓中统计)",
  30246. "type": "number"
  30247. },
  30248. "currencyid": {
  30249. "description": "货币ID",
  30250. "type": "integer"
  30251. },
  30252. "currentbalance": {
  30253. "description": "期末余额",
  30254. "type": "number"
  30255. },
  30256. "freezecharge": {
  30257. "description": "手续费冻结",
  30258. "type": "number"
  30259. },
  30260. "freezemargin": {
  30261. "description": "冻结保证金",
  30262. "type": "number"
  30263. },
  30264. "fromaccountid": {
  30265. "description": "所属上级账户",
  30266. "type": "integer"
  30267. },
  30268. "inamount": {
  30269. "description": "今日入金金额(包括三方入金)",
  30270. "type": "number"
  30271. },
  30272. "ismain": {
  30273. "description": "是否母账号 0:不是母账户 1:是母账户",
  30274. "type": "integer"
  30275. },
  30276. "ismarketaccount": {
  30277. "description": "是否机构接单账号 0:不是 1:是",
  30278. "type": "integer"
  30279. },
  30280. "isreckonaccount": {
  30281. "description": "是否机构分润账号 0:不是 1:是",
  30282. "type": "integer"
  30283. },
  30284. "mortgagecredit": {
  30285. "description": "授信金额",
  30286. "type": "number"
  30287. },
  30288. "orifreezecharge": {
  30289. "description": "期初手续费冻结",
  30290. "type": "number"
  30291. },
  30292. "orifreezemargin": {
  30293. "description": "期初冻结保证金",
  30294. "type": "number"
  30295. },
  30296. "orimortgagecredit": {
  30297. "description": "期初授信金额",
  30298. "type": "number"
  30299. },
  30300. "oriothercredit": {
  30301. "description": "期初其它授信金额",
  30302. "type": "number"
  30303. },
  30304. "oriotherfreezemargin": {
  30305. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  30306. "type": "number"
  30307. },
  30308. "orioutamountfreeze": {
  30309. "description": "期初出金冻结",
  30310. "type": "number"
  30311. },
  30312. "oriusedmargin": {
  30313. "description": "期初占用保证金",
  30314. "type": "number"
  30315. },
  30316. "othercredit": {
  30317. "description": "其它授信金额",
  30318. "type": "number"
  30319. },
  30320. "othercreditdecrease": {
  30321. "description": "今日其它授信减少",
  30322. "type": "number"
  30323. },
  30324. "othercreditincrease": {
  30325. "description": "今日其它授信增加",
  30326. "type": "number"
  30327. },
  30328. "otherfreezemargin": {
  30329. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  30330. "type": "number"
  30331. },
  30332. "otherincome": {
  30333. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  30334. "type": "number"
  30335. },
  30336. "otherpay": {
  30337. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  30338. "type": "number"
  30339. },
  30340. "outamount": {
  30341. "description": "今日出金金额(包括三方出金)",
  30342. "type": "number"
  30343. },
  30344. "outamountfreeze": {
  30345. "description": "出金冻结",
  30346. "type": "number"
  30347. },
  30348. "outthreshold": {
  30349. "description": "出金阈值",
  30350. "type": "number"
  30351. },
  30352. "parentaccountid": {
  30353. "description": "所属根账号",
  30354. "type": "integer"
  30355. },
  30356. "paycharge": {
  30357. "description": "今日手续费支出",
  30358. "type": "number"
  30359. },
  30360. "relatedaccountstatus": {
  30361. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  30362. "type": "integer"
  30363. },
  30364. "relateduserid": {
  30365. "description": "关联用户",
  30366. "type": "integer"
  30367. },
  30368. "remainamount": {
  30369. "description": "融资额(从融资合同中统计)",
  30370. "type": "number"
  30371. },
  30372. "serivcegroup": {
  30373. "description": "服务分组",
  30374. "type": "integer"
  30375. },
  30376. "signstatus": {
  30377. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  30378. "type": "integer"
  30379. },
  30380. "sublevelpath": {
  30381. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  30382. "type": "string"
  30383. },
  30384. "taaccounttype": {
  30385. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  30386. "type": "integer"
  30387. },
  30388. "thirdinamount": {
  30389. "description": "今日三方入金",
  30390. "type": "number"
  30391. },
  30392. "thirdoutamount": {
  30393. "description": "今日三方出金",
  30394. "type": "number"
  30395. },
  30396. "tradestatus": {
  30397. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  30398. "type": "integer"
  30399. },
  30400. "tradestatuschangetime": {
  30401. "description": "激活时间",
  30402. "type": "string"
  30403. },
  30404. "transferamount": {
  30405. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  30406. "type": "number"
  30407. },
  30408. "usedmargin": {
  30409. "description": "占用保证金",
  30410. "type": "number"
  30411. },
  30412. "userid": {
  30413. "description": "用户ID",
  30414. "type": "integer"
  30415. }
  30416. }
  30417. },
  30418. "models.Tablecolumnconfig": {
  30419. "type": "object",
  30420. "required": [
  30421. "autoid"
  30422. ],
  30423. "properties": {
  30424. "aligntype": {
  30425. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  30426. "type": "integer"
  30427. },
  30428. "autoid": {
  30429. "description": "AutoID",
  30430. "type": "integer"
  30431. },
  30432. "columnfield": {
  30433. "description": "列字段",
  30434. "type": "string"
  30435. },
  30436. "columntitle": {
  30437. "description": "列Title",
  30438. "type": "string"
  30439. },
  30440. "columnwidth": {
  30441. "description": "列宽",
  30442. "type": "string"
  30443. },
  30444. "formatterstring": {
  30445. "description": "格式化字符",
  30446. "type": "string"
  30447. },
  30448. "formattertype": {
  30449. "description": "格式化类型",
  30450. "type": "string"
  30451. },
  30452. "groupname": {
  30453. "description": "表头分组名称",
  30454. "type": "string"
  30455. },
  30456. "isshow": {
  30457. "description": "是否显示 - 0:不显示 1:显示",
  30458. "type": "integer"
  30459. },
  30460. "needsummary": {
  30461. "description": "是否需要汇总 - 0:不需要 1:需要",
  30462. "type": "integer"
  30463. },
  30464. "orderindex": {
  30465. "description": "顺序",
  30466. "type": "integer"
  30467. },
  30468. "remark": {
  30469. "description": "备注",
  30470. "type": "string"
  30471. },
  30472. "summarytype": {
  30473. "description": "汇总类型 - 1:加总 2:最后一个",
  30474. "type": "integer"
  30475. },
  30476. "tablekey": {
  30477. "description": "列表Key",
  30478. "type": "string"
  30479. }
  30480. }
  30481. },
  30482. "models.TjmdQuoteGoods": {
  30483. "type": "object",
  30484. "properties": {
  30485. "buyqty": {
  30486. "description": "买量(暂不做, 无值, 保留字段)",
  30487. "type": "number"
  30488. },
  30489. "goodscode": {
  30490. "description": "合约代码",
  30491. "type": "string"
  30492. },
  30493. "goodsgroupid": {
  30494. "description": "商品组ID(自增ID)",
  30495. "type": "integer"
  30496. },
  30497. "goodsgroupname": {
  30498. "description": "商品组名称",
  30499. "type": "string"
  30500. },
  30501. "goodsid": {
  30502. "description": "合约id",
  30503. "type": "integer"
  30504. },
  30505. "goodsname": {
  30506. "description": "合约名称",
  30507. "type": "string"
  30508. },
  30509. "refgoodscode": {
  30510. "description": "标的合约代码",
  30511. "type": "string"
  30512. },
  30513. "refgoodsid": {
  30514. "description": "标的合约id",
  30515. "type": "integer"
  30516. },
  30517. "refgoodsname": {
  30518. "description": "标的合约名称",
  30519. "type": "string"
  30520. },
  30521. "sellqty": {
  30522. "description": "卖量(暂不做, 无值, 保留字段)",
  30523. "type": "number"
  30524. }
  30525. }
  30526. },
  30527. "models.TjmdTodayAccountMargin": {
  30528. "type": "object",
  30529. "properties": {
  30530. "accountid": {
  30531. "description": "账号ID",
  30532. "type": "integer"
  30533. },
  30534. "goodsid": {
  30535. "description": "商品ID",
  30536. "type": "integer"
  30537. },
  30538. "infoc": {
  30539. "description": "配置参数",
  30540. "type": "object",
  30541. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  30542. },
  30543. "marketid": {
  30544. "description": "市场ID",
  30545. "type": "integer"
  30546. }
  30547. }
  30548. },
  30549. "models.TjmdTradeOrderDetail": {
  30550. "type": "object",
  30551. "properties": {
  30552. "buyorsell": {
  30553. "description": "买卖方向 0-买 1-卖",
  30554. "type": "integer"
  30555. },
  30556. "goodsid": {
  30557. "description": "商品id",
  30558. "type": "integer"
  30559. },
  30560. "marketmaxsub": {
  30561. "description": "市价最大偏移范围 [浮动价 - 点差]",
  30562. "type": "number"
  30563. },
  30564. "orderid": {
  30565. "description": "委托单号",
  30566. "type": "string"
  30567. },
  30568. "orderprice": {
  30569. "description": "委托价格",
  30570. "type": "number"
  30571. },
  30572. "orderqty": {
  30573. "description": "委托数量",
  30574. "type": "integer"
  30575. },
  30576. "pricemode": {
  30577. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  30578. "type": "integer"
  30579. },
  30580. "userid": {
  30581. "description": "用户id",
  30582. "type": "integer"
  30583. },
  30584. "username": {
  30585. "description": "用户名称(已脱敏)",
  30586. "type": "string"
  30587. }
  30588. }
  30589. },
  30590. "models.TjmdTransferApply": {
  30591. "type": "object",
  30592. "properties": {
  30593. "applyid": {
  30594. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  30595. "type": "integer"
  30596. },
  30597. "applystatus": {
  30598. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  30599. "type": "integer"
  30600. },
  30601. "applytime": {
  30602. "description": "申请时间(时间)",
  30603. "type": "string"
  30604. },
  30605. "auditremark": {
  30606. "description": "审核备注(拒绝原因?)",
  30607. "type": "string"
  30608. },
  30609. "buyorsell": {
  30610. "description": "买卖 - 0:买 1:卖",
  30611. "type": "integer"
  30612. },
  30613. "goodscode": {
  30614. "description": "商品代码",
  30615. "type": "string"
  30616. },
  30617. "goodsid": {
  30618. "description": "商品ID",
  30619. "type": "integer"
  30620. },
  30621. "goodsname": {
  30622. "description": "商品名称",
  30623. "type": "string"
  30624. },
  30625. "marketid": {
  30626. "description": "市场ID",
  30627. "type": "integer"
  30628. },
  30629. "qty": {
  30630. "description": "转让数量(数量)",
  30631. "type": "number"
  30632. },
  30633. "tradeid": {
  30634. "description": "成交单号(关联持仓)",
  30635. "type": "string"
  30636. },
  30637. "transferamount": {
  30638. "description": "转让总金额(金额)",
  30639. "type": "number"
  30640. },
  30641. "transferprice": {
  30642. "description": "转让价格(协议价格)",
  30643. "type": "number"
  30644. }
  30645. }
  30646. },
  30647. "models.TradeHolderDetail": {
  30648. "type": "object",
  30649. "properties": {
  30650. "accountid": {
  30651. "description": "账号ID",
  30652. "type": "integer"
  30653. },
  30654. "agreeunit": {
  30655. "description": "合约乘数",
  30656. "type": "number"
  30657. },
  30658. "buyorsell": {
  30659. "description": "方向 - 0:买 1:卖",
  30660. "type": "integer"
  30661. },
  30662. "currencyid": {
  30663. "description": "商品币种id",
  30664. "type": "integer"
  30665. },
  30666. "currencyname": {
  30667. "description": "币种名称",
  30668. "type": "string"
  30669. },
  30670. "decimalplace": {
  30671. "description": "商品价格小数位",
  30672. "type": "integer"
  30673. },
  30674. "enumdicname": {
  30675. "description": "商品单位名称",
  30676. "type": "string"
  30677. },
  30678. "expirecycle": {
  30679. "description": "行权周期(天) - 1:滚动行权时填写",
  30680. "type": "integer"
  30681. },
  30682. "expiredate": {
  30683. "description": "行权日(yyyyMMdd) - 到期日",
  30684. "type": "string"
  30685. },
  30686. "expiretype": {
  30687. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  30688. "type": "integer"
  30689. },
  30690. "freezeqty": {
  30691. "description": "冻结数量",
  30692. "type": "number"
  30693. },
  30694. "goodscode": {
  30695. "description": "商品代码",
  30696. "type": "string"
  30697. },
  30698. "goodsid": {
  30699. "description": "商品ID",
  30700. "type": "integer"
  30701. },
  30702. "goodsname": {
  30703. "description": "商品名称",
  30704. "type": "string"
  30705. },
  30706. "goodunitid": {
  30707. "description": "商品单位id",
  30708. "type": "integer"
  30709. },
  30710. "holderamount": {
  30711. "description": "持仓金额",
  30712. "type": "number"
  30713. },
  30714. "holdercredit": {
  30715. "description": "持仓授信金额",
  30716. "type": "number"
  30717. },
  30718. "holderdays": {
  30719. "description": "剩余冻结天数",
  30720. "type": "integer"
  30721. },
  30722. "holderprice": {
  30723. "description": "持仓价格",
  30724. "type": "number"
  30725. },
  30726. "holderqty": {
  30727. "description": "持仓数量",
  30728. "type": "number"
  30729. },
  30730. "isconfirmexercise": {
  30731. "description": "是否确认行权- 0:否 1:是",
  30732. "type": "integer"
  30733. },
  30734. "ispreexercise": {
  30735. "description": "是否预申报- 0:否 1:是 2:不可行权",
  30736. "type": "integer"
  30737. },
  30738. "marketid": {
  30739. "description": "市场id",
  30740. "type": "integer"
  30741. },
  30742. "marketname": {
  30743. "description": "市场名称",
  30744. "type": "string"
  30745. },
  30746. "openprice": {
  30747. "description": "建仓价格",
  30748. "type": "number"
  30749. },
  30750. "openqty": {
  30751. "description": "建仓数量",
  30752. "type": "number"
  30753. },
  30754. "optiontype": {
  30755. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30756. "type": "integer"
  30757. },
  30758. "preexerciseprice": {
  30759. "description": "预申报价格",
  30760. "type": "number"
  30761. },
  30762. "premium": {
  30763. "description": "权利金",
  30764. "type": "number"
  30765. },
  30766. "qtydecimalplace": {
  30767. "description": "商品成交量小数位",
  30768. "type": "integer"
  30769. },
  30770. "refgoodscode": {
  30771. "description": "标的合约代码",
  30772. "type": "string"
  30773. },
  30774. "refgoodsid": {
  30775. "description": "标的合约id",
  30776. "type": "integer"
  30777. },
  30778. "releaseamount": {
  30779. "description": "释放持仓金额",
  30780. "type": "number"
  30781. },
  30782. "releaseholdercredit": {
  30783. "description": "释放持仓授信金额",
  30784. "type": "number"
  30785. },
  30786. "taname": {
  30787. "description": "资金账号名称",
  30788. "type": "string"
  30789. },
  30790. "tradeamount": {
  30791. "description": "成交金额",
  30792. "type": "number"
  30793. },
  30794. "tradedate": {
  30795. "description": "交易日(yyyyMMdd)",
  30796. "type": "string"
  30797. },
  30798. "tradeid": {
  30799. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30800. "type": "string"
  30801. },
  30802. "trademode": {
  30803. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  30804. "type": "integer"
  30805. },
  30806. "tradeproperty": {
  30807. "description": "交易属性",
  30808. "type": "integer"
  30809. },
  30810. "tradetime": {
  30811. "description": "交易时间",
  30812. "type": "string"
  30813. },
  30814. "userid": {
  30815. "description": "用户id",
  30816. "type": "integer"
  30817. },
  30818. "username": {
  30819. "description": "用户名称",
  30820. "type": "string"
  30821. }
  30822. }
  30823. },
  30824. "models.UserCollectConfig": {
  30825. "type": "object",
  30826. "properties": {
  30827. "accountstatus": {
  30828. "description": "账户状态 - 1:正常 2:停用 3:注销",
  30829. "type": "integer"
  30830. },
  30831. "collectaccountname": {
  30832. "description": "收款人账户名称",
  30833. "type": "string"
  30834. },
  30835. "collectaccountno": {
  30836. "description": "收款人账户",
  30837. "type": "string"
  30838. },
  30839. "collectbankname": {
  30840. "description": "收款人开户行",
  30841. "type": "string"
  30842. },
  30843. "collectbranchbankname": {
  30844. "description": "收款人开户支行",
  30845. "type": "string"
  30846. },
  30847. "collectconfigid": {
  30848. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  30849. "type": "string"
  30850. },
  30851. "remark": {
  30852. "description": "备注",
  30853. "type": "string"
  30854. },
  30855. "userid": {
  30856. "description": "收款人用户ID",
  30857. "type": "integer"
  30858. }
  30859. }
  30860. },
  30861. "models.UserReceiveInfo": {
  30862. "type": "object",
  30863. "properties": {
  30864. "address": {
  30865. "description": "提货人详细地址",
  30866. "type": "string"
  30867. },
  30868. "autoid": {
  30869. "description": "AutoID",
  30870. "type": "integer"
  30871. },
  30872. "cardnum": {
  30873. "description": "证件号码(加密存储)",
  30874. "type": "string"
  30875. },
  30876. "cardtypeid": {
  30877. "description": "证件类型",
  30878. "type": "integer"
  30879. },
  30880. "cityid": {
  30881. "description": "市",
  30882. "type": "integer"
  30883. },
  30884. "cityname": {
  30885. "description": "城市名称",
  30886. "type": "string"
  30887. },
  30888. "countryid": {
  30889. "description": "国家",
  30890. "type": "integer"
  30891. },
  30892. "countryname": {
  30893. "description": "国家名称",
  30894. "type": "string"
  30895. },
  30896. "districtid": {
  30897. "description": "地区",
  30898. "type": "integer"
  30899. },
  30900. "districtname": {
  30901. "description": "地区名称",
  30902. "type": "string"
  30903. },
  30904. "hasencrypt": {
  30905. "description": "数据是否已加密 - 0:未加密 1:已加密",
  30906. "type": "integer"
  30907. },
  30908. "isdefault": {
  30909. "description": "是否默认地址 - 0:否 1:是",
  30910. "type": "integer"
  30911. },
  30912. "phonenum": {
  30913. "description": "提货人联系方式(加密存储)",
  30914. "type": "string"
  30915. },
  30916. "provinceid": {
  30917. "description": "省",
  30918. "type": "integer"
  30919. },
  30920. "provincename": {
  30921. "description": "省名称",
  30922. "type": "string"
  30923. },
  30924. "receivername": {
  30925. "description": "提货人姓名",
  30926. "type": "string"
  30927. },
  30928. "takeremark": {
  30929. "description": "提货备注",
  30930. "type": "string"
  30931. },
  30932. "userid": {
  30933. "description": "用户ID",
  30934. "type": "integer"
  30935. }
  30936. }
  30937. },
  30938. "models.Useraccount": {
  30939. "type": "object",
  30940. "required": [
  30941. "userid"
  30942. ],
  30943. "properties": {
  30944. "accountname": {
  30945. "description": "账户名称(机构名称)",
  30946. "type": "string"
  30947. },
  30948. "accountstatus": {
  30949. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30950. "type": "integer"
  30951. },
  30952. "applysrc": {
  30953. "description": "申请来源 - 1:管理端 2:终端",
  30954. "type": "integer"
  30955. },
  30956. "auditremark": {
  30957. "description": "审核备注",
  30958. "type": "string"
  30959. },
  30960. "auditsrc": {
  30961. "description": "审核来源 - 1:管理端 2:终端",
  30962. "type": "integer"
  30963. },
  30964. "audittime": {
  30965. "description": "审核时间",
  30966. "type": "string"
  30967. },
  30968. "audituserid": {
  30969. "description": "审核人",
  30970. "type": "integer"
  30971. },
  30972. "broker": {
  30973. "description": "所属经纪人ID",
  30974. "type": "integer"
  30975. },
  30976. "canceltime": {
  30977. "description": "销户时间",
  30978. "type": "string"
  30979. },
  30980. "canceluserid": {
  30981. "description": "销户人",
  30982. "type": "integer"
  30983. },
  30984. "canrecommend": {
  30985. "description": "是否可推荐 - 0:不可 1;可",
  30986. "type": "integer"
  30987. },
  30988. "createtime": {
  30989. "description": "创建时间",
  30990. "type": "string"
  30991. },
  30992. "creatorid": {
  30993. "description": "创建人",
  30994. "type": "integer"
  30995. },
  30996. "hasauth": {
  30997. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  30998. "type": "integer"
  30999. },
  31000. "isanonymous": {
  31001. "description": "是否匿名下单 - 0:否 1:是",
  31002. "type": "integer"
  31003. },
  31004. "maxinvestornum": {
  31005. "description": "最大用户数(经纪会员下投资者个数)",
  31006. "type": "integer"
  31007. },
  31008. "memberuserid": {
  31009. "description": "所属会员ID",
  31010. "type": "integer"
  31011. },
  31012. "modifierid": {
  31013. "description": "修改人",
  31014. "type": "integer"
  31015. },
  31016. "modifyremark": {
  31017. "description": "变更备注",
  31018. "type": "string"
  31019. },
  31020. "modifystatus": {
  31021. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  31022. "type": "integer"
  31023. },
  31024. "modifytime": {
  31025. "description": "修改时间",
  31026. "type": "string"
  31027. },
  31028. "parenttopuser": {
  31029. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  31030. "type": "string"
  31031. },
  31032. "parentuserid": {
  31033. "description": "所属机构ID",
  31034. "type": "integer"
  31035. },
  31036. "reckonaccountid": {
  31037. "description": "默认结算资金账号ID(机构分润使用) 作废",
  31038. "type": "integer"
  31039. },
  31040. "refercount": {
  31041. "description": "推荐总人数",
  31042. "type": "integer"
  31043. },
  31044. "refereeuserid": {
  31045. "description": "推荐人ID",
  31046. "type": "integer"
  31047. },
  31048. "refernum": {
  31049. "description": "推荐码",
  31050. "type": "string"
  31051. },
  31052. "rootuserid": {
  31053. "description": "根用户ID",
  31054. "type": "integer"
  31055. },
  31056. "subaccountlevel": {
  31057. "description": "子账户层数",
  31058. "type": "integer"
  31059. },
  31060. "subarealevelpath": {
  31061. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  31062. "type": "string"
  31063. },
  31064. "userid": {
  31065. "description": "用户ID",
  31066. "type": "integer"
  31067. },
  31068. "usertype": {
  31069. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  31070. "type": "integer"
  31071. }
  31072. }
  31073. },
  31074. "models.Userfavoritegoods": {
  31075. "type": "object",
  31076. "required": [
  31077. "goodsid"
  31078. ],
  31079. "properties": {
  31080. "goodsid": {
  31081. "description": "商品ID",
  31082. "type": "integer"
  31083. }
  31084. }
  31085. },
  31086. "models.Userinfo": {
  31087. "type": "object",
  31088. "required": [
  31089. "userid"
  31090. ],
  31091. "properties": {
  31092. "address": {
  31093. "description": "地址",
  31094. "type": "string"
  31095. },
  31096. "attachment1": {
  31097. "description": "附件1",
  31098. "type": "string"
  31099. },
  31100. "attachment2": {
  31101. "description": "附件2",
  31102. "type": "string"
  31103. },
  31104. "bankaccount": {
  31105. "description": "银行帐号 (加密存储)",
  31106. "type": "string"
  31107. },
  31108. "bankaccountname": {
  31109. "description": "收款人名称",
  31110. "type": "string"
  31111. },
  31112. "bankcardfrontphotourl": {
  31113. "description": "银行卡正面照地址",
  31114. "type": "string"
  31115. },
  31116. "bankid": {
  31117. "description": "银行编码",
  31118. "type": "string"
  31119. },
  31120. "bankname": {
  31121. "description": "银行名称",
  31122. "type": "string"
  31123. },
  31124. "biznature": {
  31125. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  31126. "type": "integer"
  31127. },
  31128. "bizscope": {
  31129. "description": "企业经营范围(企业)",
  31130. "type": "string"
  31131. },
  31132. "cardbackphotourl": {
  31133. "description": "证件背面图片地址",
  31134. "type": "string"
  31135. },
  31136. "cardfrontphotourl": {
  31137. "description": "证件正面图片地址",
  31138. "type": "string"
  31139. },
  31140. "cardnum": {
  31141. "description": "证件号码(加密存储)",
  31142. "type": "string"
  31143. },
  31144. "cardtypeid": {
  31145. "description": "证件类型ID",
  31146. "type": "integer"
  31147. },
  31148. "cityid": {
  31149. "description": "市",
  31150. "type": "integer"
  31151. },
  31152. "company": {
  31153. "description": "公司(个人)",
  31154. "type": "string"
  31155. },
  31156. "contactname": {
  31157. "description": "联系人",
  31158. "type": "string"
  31159. },
  31160. "countryid": {
  31161. "description": "国家",
  31162. "type": "integer"
  31163. },
  31164. "createtime": {
  31165. "description": "创建时间",
  31166. "type": "string"
  31167. },
  31168. "creatorid": {
  31169. "description": "创建人",
  31170. "type": "integer"
  31171. },
  31172. "customername": {
  31173. "description": "客户名称(企业名称)",
  31174. "type": "string"
  31175. },
  31176. "districtid": {
  31177. "description": "地区",
  31178. "type": "integer"
  31179. },
  31180. "email": {
  31181. "description": "邮件(加密存储)",
  31182. "type": "string"
  31183. },
  31184. "fax": {
  31185. "description": "传真(加密存储)",
  31186. "type": "string"
  31187. },
  31188. "halfbodyphotourl": {
  31189. "description": "半身照地址",
  31190. "type": "string"
  31191. },
  31192. "hasencrypt": {
  31193. "description": "数据是否已加密 - 0:未加密 1:已加密",
  31194. "type": "integer"
  31195. },
  31196. "headurl": {
  31197. "description": "头像地址",
  31198. "type": "string"
  31199. },
  31200. "legalcardbackphotourl": {
  31201. "description": "法人身份证背面照地址",
  31202. "type": "string"
  31203. },
  31204. "legalcardfrontphotourl": {
  31205. "description": "法人身份证正面照地址",
  31206. "type": "string"
  31207. },
  31208. "legalpersonname": {
  31209. "description": "法人姓名(企业)",
  31210. "type": "string"
  31211. },
  31212. "mobile": {
  31213. "description": "手机号码(加密存储)",
  31214. "type": "string"
  31215. },
  31216. "mobile2": {
  31217. "description": "手机号码[明文-尚志]",
  31218. "type": "string"
  31219. },
  31220. "modifierid": {
  31221. "description": "修改人",
  31222. "type": "integer"
  31223. },
  31224. "modifiertime": {
  31225. "description": "修改时间",
  31226. "type": "string"
  31227. },
  31228. "needinvoice": {
  31229. "description": "是否需要发票 - 0:不需要 1:需要",
  31230. "type": "integer"
  31231. },
  31232. "nickname": {
  31233. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  31234. "type": "string"
  31235. },
  31236. "openmode": {
  31237. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  31238. "type": "integer"
  31239. },
  31240. "otherurl": {
  31241. "description": "其它图片地址[使用分号分隔]",
  31242. "type": "string"
  31243. },
  31244. "postalcode": {
  31245. "description": "邮政编码",
  31246. "type": "string"
  31247. },
  31248. "provinceid": {
  31249. "description": "省",
  31250. "type": "integer"
  31251. },
  31252. "qq": {
  31253. "description": "QQ(加密存储",
  31254. "type": "string"
  31255. },
  31256. "remark": {
  31257. "description": "备注",
  31258. "type": "string"
  31259. },
  31260. "sex": {
  31261. "description": "用户性别 0: 女 1: 男",
  31262. "type": "integer"
  31263. },
  31264. "signpdfurl": {
  31265. "description": "签约pdf文件",
  31266. "type": "string"
  31267. },
  31268. "telphone": {
  31269. "description": "联系电话(加密存储)",
  31270. "type": "string"
  31271. },
  31272. "userid": {
  31273. "description": "用户ID",
  31274. "type": "integer"
  31275. },
  31276. "userinfotype": {
  31277. "description": "用户信息类型 - 1:个人 2:企业",
  31278. "type": "integer"
  31279. },
  31280. "userstatus": {
  31281. "description": "用户状态 - 1:正常 2:注销",
  31282. "type": "integer"
  31283. },
  31284. "usertype": {
  31285. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  31286. "type": "integer"
  31287. },
  31288. "wechat": {
  31289. "description": "微信(加密存储)",
  31290. "type": "string"
  31291. },
  31292. "wskhinfo": {
  31293. "description": "开户申请信息(JSON)",
  31294. "type": "string"
  31295. }
  31296. }
  31297. },
  31298. "models.WRSConverTDetail": {
  31299. "type": "object",
  31300. "properties": {
  31301. "convertratio": {
  31302. "description": "套保系数",
  31303. "type": "number"
  31304. },
  31305. "deliverygoodscode": {
  31306. "description": "现货商品代码",
  31307. "type": "string"
  31308. },
  31309. "deliverygoodsid": {
  31310. "description": "现货品种ID",
  31311. "type": "integer"
  31312. },
  31313. "deliverygoodsname": {
  31314. "description": "现货商品名称",
  31315. "type": "string"
  31316. },
  31317. "enumdicname": {
  31318. "description": "单位名称",
  31319. "type": "string"
  31320. },
  31321. "goodsunitid": {
  31322. "description": "套保品种单位id",
  31323. "type": "integer"
  31324. },
  31325. "middlegoodscode": {
  31326. "description": "套保品种代码",
  31327. "type": "string"
  31328. },
  31329. "middlegoodsid": {
  31330. "description": "套保品种ID",
  31331. "type": "integer"
  31332. },
  31333. "middlegoodsname": {
  31334. "description": "套保品种名称",
  31335. "type": "string"
  31336. },
  31337. "modifytime": {
  31338. "description": "修改时间",
  31339. "type": "string"
  31340. },
  31341. "wrstandardid": {
  31342. "description": "品类ID",
  31343. "type": "integer"
  31344. }
  31345. }
  31346. },
  31347. "models.WRStandardInfo": {
  31348. "type": "object",
  31349. "required": [
  31350. "wrstandardid"
  31351. ],
  31352. "properties": {
  31353. "areauserid": {
  31354. "description": "所属机构",
  31355. "type": "integer"
  31356. },
  31357. "convertfactor": {
  31358. "description": "标仓系数",
  31359. "type": "number"
  31360. },
  31361. "createtime": {
  31362. "description": "创建时间",
  31363. "type": "string"
  31364. },
  31365. "creatorid": {
  31366. "description": "创建人",
  31367. "type": "integer"
  31368. },
  31369. "deliverygoodsid": {
  31370. "description": "品种ID",
  31371. "type": "integer"
  31372. },
  31373. "deliverygoodsname": {
  31374. "description": "交割商品名称",
  31375. "type": "string"
  31376. },
  31377. "factoryitemjson": {
  31378. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  31379. "type": "string"
  31380. },
  31381. "isvalid": {
  31382. "description": "是否有效 - 0:无效 1:有效",
  31383. "type": "integer"
  31384. },
  31385. "minivalue": {
  31386. "description": "最小变动值",
  31387. "type": "integer"
  31388. },
  31389. "minivaluedp": {
  31390. "description": "最小变动值小数位",
  31391. "type": "integer"
  31392. },
  31393. "realminivalue": {
  31394. "description": "实际最小变动值",
  31395. "type": "integer"
  31396. },
  31397. "realminivaluedp": {
  31398. "description": "实际最小变动值小数位",
  31399. "type": "integer"
  31400. },
  31401. "remark": {
  31402. "description": "备注",
  31403. "type": "string"
  31404. },
  31405. "unitid": {
  31406. "description": "单位ID",
  31407. "type": "integer"
  31408. },
  31409. "unitname": {
  31410. "description": "单位",
  31411. "type": "string"
  31412. },
  31413. "updatetime": {
  31414. "description": "更新时间",
  31415. "type": "string"
  31416. },
  31417. "updatorid": {
  31418. "description": "更新人",
  31419. "type": "integer"
  31420. },
  31421. "wrsstatus": {
  31422. "description": "状态 - 作废 - 0:未激活 1:正常",
  31423. "type": "integer"
  31424. },
  31425. "wrstandardcode": {
  31426. "description": "现货品类代码",
  31427. "type": "string"
  31428. },
  31429. "wrstandardid": {
  31430. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31431. "type": "integer"
  31432. },
  31433. "wrstandardname": {
  31434. "description": "现货品类名称",
  31435. "type": "string"
  31436. }
  31437. }
  31438. },
  31439. "models.WRTradeBargainApply": {
  31440. "type": "object",
  31441. "properties": {
  31442. "accountid": {
  31443. "description": "摘牌资金账号",
  31444. "type": "integer"
  31445. },
  31446. "applyprice": {
  31447. "description": "申请价格(议价价格)",
  31448. "type": "string"
  31449. },
  31450. "applyqty": {
  31451. "description": "摘牌数量(议价数量)",
  31452. "type": "number"
  31453. },
  31454. "applyremark": {
  31455. "description": "申请备注",
  31456. "type": "string"
  31457. },
  31458. "applystatus": {
  31459. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  31460. "type": "integer"
  31461. },
  31462. "applytime": {
  31463. "description": "申请时间(议价时间)",
  31464. "type": "string"
  31465. },
  31466. "buyorsell": {
  31467. "description": "买卖(挂牌类型) - 0:买 1:卖",
  31468. "type": "integer"
  31469. },
  31470. "confirmremark": {
  31471. "description": "确认备注",
  31472. "type": "string"
  31473. },
  31474. "confirmtime": {
  31475. "description": "确认时间",
  31476. "type": "string"
  31477. },
  31478. "confirmuserid": {
  31479. "description": "确认人",
  31480. "type": "integer"
  31481. },
  31482. "deliverygoodscode": {
  31483. "description": "品种代码",
  31484. "type": "string"
  31485. },
  31486. "deliverygoodsid": {
  31487. "description": "品种ID",
  31488. "type": "integer"
  31489. },
  31490. "deliverygoodsname": {
  31491. "description": "品种名称",
  31492. "type": "string"
  31493. },
  31494. "deliverymonth": {
  31495. "description": "交收月",
  31496. "type": "string"
  31497. },
  31498. "enumdicname": {
  31499. "description": "单位名称",
  31500. "type": "string"
  31501. },
  31502. "fixedprice": {
  31503. "description": "挂牌价格",
  31504. "type": "number"
  31505. },
  31506. "handlestatus": {
  31507. "description": "处理状态",
  31508. "type": "integer"
  31509. },
  31510. "marginvalue": {
  31511. "description": "履约保证金比例",
  31512. "type": "number"
  31513. },
  31514. "marketid": {
  31515. "description": "市场ID",
  31516. "type": "integer"
  31517. },
  31518. "matchaccountid": {
  31519. "description": "挂牌方资金账号",
  31520. "type": "integer"
  31521. },
  31522. "matchuserid": {
  31523. "description": "挂牌方用户id",
  31524. "type": "integer"
  31525. },
  31526. "matchusername": {
  31527. "description": "挂牌方用户名称(已脱敏)",
  31528. "type": "string"
  31529. },
  31530. "minivalue": {
  31531. "description": "现货商品最小变动值",
  31532. "type": "integer"
  31533. },
  31534. "optioncompare": {
  31535. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31536. "type": "string"
  31537. },
  31538. "orderqty": {
  31539. "description": "挂牌数量",
  31540. "type": "integer"
  31541. },
  31542. "refprice": {
  31543. "description": "参考价格",
  31544. "type": "string"
  31545. },
  31546. "retcode": {
  31547. "description": "委托返回代码",
  31548. "type": "integer"
  31549. },
  31550. "templatename": {
  31551. "description": "履约方式(履约模板名称)",
  31552. "type": "string"
  31553. },
  31554. "tradedate": {
  31555. "description": "交易日(yyyyMMdd)",
  31556. "type": "string"
  31557. },
  31558. "userid": {
  31559. "description": "摘牌人用户ID(议价人ID)",
  31560. "type": "integer"
  31561. },
  31562. "username": {
  31563. "description": "议价人名字(已脱敏)",
  31564. "type": "string"
  31565. },
  31566. "validtime": {
  31567. "description": "有效期限",
  31568. "type": "string"
  31569. },
  31570. "warehouseid": {
  31571. "description": "仓库ID",
  31572. "type": "integer"
  31573. },
  31574. "warehousename": {
  31575. "description": "仓库名称",
  31576. "type": "string"
  31577. },
  31578. "wrbargainid": {
  31579. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  31580. "type": "string"
  31581. },
  31582. "wrfactortypeid": {
  31583. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31584. "type": "string"
  31585. },
  31586. "wrfactortypename": {
  31587. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31588. "type": "string"
  31589. },
  31590. "wrstandardcode": {
  31591. "description": "现货商品代码",
  31592. "type": "string"
  31593. },
  31594. "wrstandardid": {
  31595. "description": "现货商品ID",
  31596. "type": "integer"
  31597. },
  31598. "wrstandardname": {
  31599. "description": "商品名称",
  31600. "type": "string"
  31601. },
  31602. "wrtradeorderid": {
  31603. "description": "关联委托单ID",
  31604. "type": "string"
  31605. },
  31606. "wrtypename": {
  31607. "description": "商品",
  31608. "type": "string"
  31609. }
  31610. }
  31611. },
  31612. "models.Warehouseinfo": {
  31613. "type": "object",
  31614. "required": [
  31615. "autoid",
  31616. "warehousecode"
  31617. ],
  31618. "properties": {
  31619. "address": {
  31620. "description": "详细地址",
  31621. "type": "string"
  31622. },
  31623. "areauserid": {
  31624. "description": "所属机构",
  31625. "type": "integer"
  31626. },
  31627. "autoid": {
  31628. "description": "自增ID",
  31629. "type": "integer"
  31630. },
  31631. "cityid": {
  31632. "description": "市",
  31633. "type": "integer"
  31634. },
  31635. "contactname": {
  31636. "description": "联系人",
  31637. "type": "string"
  31638. },
  31639. "contactnum": {
  31640. "description": "联系电话",
  31641. "type": "string"
  31642. },
  31643. "countryid": {
  31644. "description": "国家",
  31645. "type": "integer"
  31646. },
  31647. "createtime": {
  31648. "description": "创建时间",
  31649. "type": "string"
  31650. },
  31651. "districtid": {
  31652. "description": "区",
  31653. "type": "integer"
  31654. },
  31655. "hasvideo": {
  31656. "description": "是否有视频 - 0:无 1:有",
  31657. "type": "integer"
  31658. },
  31659. "provinceid": {
  31660. "description": "省",
  31661. "type": "integer"
  31662. },
  31663. "remark": {
  31664. "description": "审核备注",
  31665. "type": "string"
  31666. },
  31667. "videourl": {
  31668. "description": "视频地址",
  31669. "type": "string"
  31670. },
  31671. "warehousecode": {
  31672. "description": "仓库代码",
  31673. "type": "string"
  31674. },
  31675. "warehousename": {
  31676. "description": "仓库名称",
  31677. "type": "string"
  31678. },
  31679. "warehousestatus": {
  31680. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  31681. "type": "integer"
  31682. },
  31683. "warehousetype": {
  31684. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  31685. "type": "integer"
  31686. }
  31687. }
  31688. },
  31689. "models.WrAverageTradePrice": {
  31690. "type": "object",
  31691. "properties": {
  31692. "averageprice": {
  31693. "description": "成交均价",
  31694. "type": "number"
  31695. },
  31696. "tradedate": {
  31697. "description": "交易日yyyymm",
  31698. "type": "string"
  31699. }
  31700. }
  31701. },
  31702. "models.WrBsGoodsInfo": {
  31703. "type": "object",
  31704. "properties": {
  31705. "buyorsell": {
  31706. "description": "买卖方向 0-买 1-卖",
  31707. "type": "integer"
  31708. },
  31709. "goodsid": {
  31710. "description": "交易合约ID",
  31711. "type": "integer"
  31712. },
  31713. "lstitem": {
  31714. "description": "商品信息项",
  31715. "type": "array",
  31716. "items": {
  31717. "$ref": "#/definitions/models.WrTypeItem"
  31718. }
  31719. },
  31720. "lststep": {
  31721. "description": "履约规则",
  31722. "type": "array",
  31723. "items": {
  31724. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  31725. }
  31726. }
  31727. }
  31728. },
  31729. "models.WrBuybackDetail": {
  31730. "type": "object",
  31731. "properties": {
  31732. "buybackamount": {
  31733. "description": "回购金额",
  31734. "type": "number"
  31735. },
  31736. "buybackqty": {
  31737. "description": "回购数量",
  31738. "type": "number"
  31739. },
  31740. "buybackreleasemargin": {
  31741. "description": "回购释放保证金",
  31742. "type": "number"
  31743. },
  31744. "buybacktime": {
  31745. "description": "回购时间",
  31746. "type": "string"
  31747. },
  31748. "errordesc": {
  31749. "description": "错误描述",
  31750. "type": "string"
  31751. },
  31752. "handlestatus": {
  31753. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  31754. "type": "integer"
  31755. },
  31756. "relatedwrid": {
  31757. "description": "关联仓单ID",
  31758. "type": "integer"
  31759. },
  31760. "scfcontractid": {
  31761. "description": "SCF合同ID",
  31762. "type": "string"
  31763. },
  31764. "scfwrbuybackid": {
  31765. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  31766. "type": "integer"
  31767. },
  31768. "tradedate": {
  31769. "description": "交易日(yyyyMMdd)",
  31770. "type": "string"
  31771. }
  31772. }
  31773. },
  31774. "models.WrDeliveryAvalidHoldLB": {
  31775. "type": "object",
  31776. "properties": {
  31777. "accountid": {
  31778. "description": "资金账号",
  31779. "type": "integer"
  31780. },
  31781. "avalidqty": {
  31782. "description": "数量(可点选数量)",
  31783. "type": "number"
  31784. },
  31785. "deliverygoodsid": {
  31786. "description": "品种id",
  31787. "type": "integer"
  31788. },
  31789. "enumdicname": {
  31790. "description": "单位名称",
  31791. "type": "string"
  31792. },
  31793. "goodsid": {
  31794. "description": "x合约商品id",
  31795. "type": "integer"
  31796. },
  31797. "ladingbillid": {
  31798. "description": "提单id",
  31799. "type": "string"
  31800. },
  31801. "pgoodscode": {
  31802. "description": "p商品代码(点价合约)",
  31803. "type": "string"
  31804. },
  31805. "pgoodsid": {
  31806. "description": "p商品id(点价合约)",
  31807. "type": "integer"
  31808. },
  31809. "pgoodsname": {
  31810. "description": "p商品名称(点价合约)",
  31811. "type": "string"
  31812. },
  31813. "pricemove": {
  31814. "description": "升贴水",
  31815. "type": "number"
  31816. },
  31817. "subnum": {
  31818. "description": "提单子id",
  31819. "type": "integer"
  31820. },
  31821. "userid": {
  31822. "description": "用户id",
  31823. "type": "integer"
  31824. },
  31825. "username": {
  31826. "description": "仓单持有人",
  31827. "type": "string"
  31828. },
  31829. "warehousecode": {
  31830. "description": "仓库代码",
  31831. "type": "string"
  31832. },
  31833. "warehouseid": {
  31834. "description": "仓库id",
  31835. "type": "integer"
  31836. },
  31837. "warehousename": {
  31838. "description": "仓库名称",
  31839. "type": "string"
  31840. },
  31841. "wrfactortypeid": {
  31842. "description": "仓单要素id",
  31843. "type": "string"
  31844. },
  31845. "wrstandardcode": {
  31846. "description": "品代码",
  31847. "type": "string"
  31848. },
  31849. "wrstandardid": {
  31850. "description": "品类d",
  31851. "type": "integer"
  31852. },
  31853. "wrstandardname": {
  31854. "description": "品类名称",
  31855. "type": "string"
  31856. },
  31857. "wrtypename": {
  31858. "description": "商品",
  31859. "type": "string"
  31860. },
  31861. "xgoodscode": {
  31862. "description": "x合约代码",
  31863. "type": "string"
  31864. },
  31865. "xgoodsname": {
  31866. "description": "x合约名称",
  31867. "type": "string"
  31868. }
  31869. }
  31870. },
  31871. "models.WrDeliveryDetail": {
  31872. "type": "object",
  31873. "properties": {
  31874. "accountid": {
  31875. "description": "账号ID",
  31876. "type": "integer"
  31877. },
  31878. "averageprice": {
  31879. "description": "交割均价 = 交割金额 / 交割数量",
  31880. "type": "number"
  31881. },
  31882. "buyorsell": {
  31883. "description": "方向 - 0:买 1:卖",
  31884. "type": "integer"
  31885. },
  31886. "deliveryamount": {
  31887. "description": "货款金额(X总货款+P总货款)",
  31888. "type": "number"
  31889. },
  31890. "deliveryid": {
  31891. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  31892. "type": "string"
  31893. },
  31894. "deliveryorderid": {
  31895. "description": "申报单号",
  31896. "type": "string"
  31897. },
  31898. "deliverypricemove": {
  31899. "description": "升贴水(升贴水总额)",
  31900. "type": "number"
  31901. },
  31902. "deliveryqty": {
  31903. "description": "交收数量(点选数量)",
  31904. "type": "number"
  31905. },
  31906. "deliverystatus": {
  31907. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  31908. "type": "integer"
  31909. },
  31910. "deliverytime": {
  31911. "description": "交割时间",
  31912. "type": "string"
  31913. },
  31914. "deliverytotalamount": {
  31915. "description": "交收金额",
  31916. "type": "number"
  31917. },
  31918. "enumdicname": {
  31919. "description": "单位名称",
  31920. "type": "string"
  31921. },
  31922. "matchaccountid": {
  31923. "description": "对手账号ID",
  31924. "type": "integer"
  31925. },
  31926. "matchusername": {
  31927. "description": "对手方名称(仓单持有人)",
  31928. "type": "string"
  31929. },
  31930. "p1goodsremainamount": {
  31931. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31932. "type": "number"
  31933. },
  31934. "pdeliverycloseqty": {
  31935. "description": "p合约平仓数量",
  31936. "type": "number"
  31937. },
  31938. "pdeliveryprice": {
  31939. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31940. "type": "number"
  31941. },
  31942. "pgoodscode": {
  31943. "description": "商品代码",
  31944. "type": "string"
  31945. },
  31946. "pgoodsid": {
  31947. "description": "p点选合约id",
  31948. "type": "integer"
  31949. },
  31950. "pgoodsname": {
  31951. "description": "商品名称",
  31952. "type": "string"
  31953. },
  31954. "ppricemode": {
  31955. "description": "点价价格方式 - 1:商品价 2:固定值",
  31956. "type": "integer"
  31957. },
  31958. "tradedate": {
  31959. "description": "交易日(yyyymmdd)",
  31960. "type": "string"
  31961. },
  31962. "userid": {
  31963. "description": "用户id",
  31964. "type": "integer"
  31965. },
  31966. "username": {
  31967. "description": "用户名称",
  31968. "type": "string"
  31969. },
  31970. "warehousename": {
  31971. "description": "仓库名称",
  31972. "type": "string"
  31973. },
  31974. "wrfactortypeid": {
  31975. "description": "仓单要素类型ID",
  31976. "type": "string"
  31977. },
  31978. "wrtypename": {
  31979. "description": "商品",
  31980. "type": "string"
  31981. },
  31982. "xdeliverycloseqty": {
  31983. "description": "合约数量",
  31984. "type": "number"
  31985. },
  31986. "xgoodsamount": {
  31987. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  31988. "type": "number"
  31989. },
  31990. "xgoodscode": {
  31991. "description": "商品代码",
  31992. "type": "string"
  31993. },
  31994. "xgoodsid": {
  31995. "description": "x交易合约ID",
  31996. "type": "integer"
  31997. },
  31998. "xgoodsname": {
  31999. "description": "商品名称",
  32000. "type": "string"
  32001. }
  32002. }
  32003. },
  32004. "models.WrFAProductDetail": {
  32005. "type": "object",
  32006. "properties": {
  32007. "accountid": {
  32008. "description": "资金账号",
  32009. "type": "integer"
  32010. },
  32011. "areauserid": {
  32012. "description": "金融机构ID",
  32013. "type": "integer"
  32014. },
  32015. "financingdays": {
  32016. "description": "天数(天)",
  32017. "type": "integer"
  32018. },
  32019. "interestminlen": {
  32020. "description": "最小起息天数",
  32021. "type": "integer"
  32022. },
  32023. "interestrate": {
  32024. "description": "利率",
  32025. "type": "number"
  32026. },
  32027. "interestratemode": {
  32028. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32029. "type": "integer"
  32030. },
  32031. "interestsettlemode": {
  32032. "description": "结息方式 - 1:按日结息 3:按月结息",
  32033. "type": "integer"
  32034. },
  32035. "interestsettlevalue": {
  32036. "description": "结息方式值",
  32037. "type": "integer"
  32038. },
  32039. "isautoloan": {
  32040. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  32041. "type": "integer"
  32042. },
  32043. "loantag": {
  32044. "description": "放款标识: \"放款快\" 或者为空",
  32045. "type": "string"
  32046. },
  32047. "marginratio": {
  32048. "description": "保证金比率质押率 - [仓单质押]",
  32049. "type": "number"
  32050. },
  32051. "productdetailid": {
  32052. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  32053. "type": "integer"
  32054. },
  32055. "productid": {
  32056. "description": "金融产品ID",
  32057. "type": "integer"
  32058. },
  32059. "productname": {
  32060. "description": "产品名称",
  32061. "type": "string"
  32062. },
  32063. "updatetime": {
  32064. "description": "更新时间",
  32065. "type": "string"
  32066. },
  32067. "username": {
  32068. "description": "融出方",
  32069. "type": "string"
  32070. }
  32071. }
  32072. },
  32073. "models.WrFactorTypeInfo": {
  32074. "type": "object",
  32075. "properties": {
  32076. "deliverygoodscode": {
  32077. "description": "品种代码",
  32078. "type": "string"
  32079. },
  32080. "deliverygoodsname": {
  32081. "description": "品种名称",
  32082. "type": "string"
  32083. },
  32084. "dgfactoryitemid": {
  32085. "description": "选择项id",
  32086. "type": "integer"
  32087. },
  32088. "dgfactoryitemtypeid": {
  32089. "description": "要素选择项ID (1-仓库 2-品牌)",
  32090. "type": "integer"
  32091. },
  32092. "dgfactoryitemvalue": {
  32093. "description": "要素项值",
  32094. "type": "string"
  32095. },
  32096. "itemtypename": {
  32097. "description": "要素项名称",
  32098. "type": "string"
  32099. },
  32100. "optioncompare": {
  32101. "description": "选择比较串",
  32102. "type": "string"
  32103. },
  32104. "warehouseid": {
  32105. "description": "仓库id",
  32106. "type": "integer"
  32107. },
  32108. "wrfactortypeid": {
  32109. "description": "仓单要素ID",
  32110. "type": "string"
  32111. },
  32112. "wrfactortypename": {
  32113. "description": "要素名称",
  32114. "type": "string"
  32115. },
  32116. "wrfactortypename2": {
  32117. "description": "要素名称(不含仓库)",
  32118. "type": "string"
  32119. },
  32120. "wrstandardcode": {
  32121. "description": "品类代码",
  32122. "type": "string"
  32123. },
  32124. "wrstandardid": {
  32125. "description": "品类id",
  32126. "type": "integer"
  32127. },
  32128. "wrstandardname": {
  32129. "description": "品类名称",
  32130. "type": "string"
  32131. }
  32132. }
  32133. },
  32134. "models.WrFilterItem": {
  32135. "type": "object",
  32136. "properties": {
  32137. "itemcode": {
  32138. "description": "代码",
  32139. "type": "string"
  32140. },
  32141. "itemid": {
  32142. "description": "项id",
  32143. "type": "integer"
  32144. },
  32145. "itemname": {
  32146. "description": "名称",
  32147. "type": "string"
  32148. },
  32149. "itemtype": {
  32150. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  32151. "type": "integer"
  32152. }
  32153. }
  32154. },
  32155. "models.WrFinanceBuyApply": {
  32156. "type": "object",
  32157. "properties": {
  32158. "applydate": {
  32159. "description": "申请时间",
  32160. "type": "string"
  32161. },
  32162. "applystatus": {
  32163. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  32164. "type": "integer"
  32165. },
  32166. "applyuserid": {
  32167. "description": "申请人",
  32168. "type": "integer"
  32169. },
  32170. "auditdate": {
  32171. "description": "审核时间",
  32172. "type": "string"
  32173. },
  32174. "auditremark": {
  32175. "description": "审核备注",
  32176. "type": "string"
  32177. },
  32178. "audituserid": {
  32179. "description": "审核人",
  32180. "type": "integer"
  32181. },
  32182. "buyaccountid": {
  32183. "description": "买方资金账号",
  32184. "type": "integer"
  32185. },
  32186. "buyorsell": {
  32187. "description": "买卖 - 0:买 1:卖",
  32188. "type": "integer"
  32189. },
  32190. "buyuserid": {
  32191. "description": "买方用户ID",
  32192. "type": "integer"
  32193. },
  32194. "buyusername": {
  32195. "description": "买方名称",
  32196. "type": "string"
  32197. },
  32198. "buywrtradeorderid": {
  32199. "description": "融资方买委托单ID",
  32200. "type": "string"
  32201. },
  32202. "deliverygoodscode": {
  32203. "description": "品种代码",
  32204. "type": "string"
  32205. },
  32206. "deliverygoodsid": {
  32207. "description": "品种ID",
  32208. "type": "integer"
  32209. },
  32210. "deliverygoodsname": {
  32211. "description": "品种名称",
  32212. "type": "string"
  32213. },
  32214. "deliverymonth": {
  32215. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  32216. "type": "string"
  32217. },
  32218. "enumdicname": {
  32219. "description": "单位名称",
  32220. "type": "string"
  32221. },
  32222. "financeaccountid": {
  32223. "description": "融资方资金帐户ID",
  32224. "type": "integer"
  32225. },
  32226. "financeapplyid": {
  32227. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32228. "type": "string"
  32229. },
  32230. "financeareauserid": {
  32231. "description": "融资方用户ID",
  32232. "type": "string"
  32233. },
  32234. "financename": {
  32235. "description": "融出方名称",
  32236. "type": "string"
  32237. },
  32238. "financetype": {
  32239. "description": "融资类型 1-融资回购",
  32240. "type": "integer"
  32241. },
  32242. "financingdays": {
  32243. "description": "天数(天)",
  32244. "type": "integer"
  32245. },
  32246. "freezebuymargin": {
  32247. "description": "冻结融资保证金(买方)",
  32248. "type": "number"
  32249. },
  32250. "handleremark": {
  32251. "description": "处理备注",
  32252. "type": "string"
  32253. },
  32254. "handlestatus": {
  32255. "description": "处理状态",
  32256. "type": "integer"
  32257. },
  32258. "interestminlen": {
  32259. "description": "最小起息天数",
  32260. "type": "integer"
  32261. },
  32262. "interestrate": {
  32263. "description": "利率",
  32264. "type": "number"
  32265. },
  32266. "interestratemode": {
  32267. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32268. "type": "integer"
  32269. },
  32270. "interestsettlemode": {
  32271. "description": "结息方式 - 1:按日结息 3:按月结息",
  32272. "type": "integer"
  32273. },
  32274. "interestsettlevalue": {
  32275. "description": "结息方式值",
  32276. "type": "integer"
  32277. },
  32278. "isautoloan": {
  32279. "description": "是否自动放款 - 0:手动 1:自动",
  32280. "type": "integer"
  32281. },
  32282. "marginratio": {
  32283. "description": "保证金比率质押率 - [仓单质押]",
  32284. "type": "number"
  32285. },
  32286. "marketid": {
  32287. "description": "市场ID",
  32288. "type": "integer"
  32289. },
  32290. "minivalue": {
  32291. "description": "现货商品最小变动值",
  32292. "type": "integer"
  32293. },
  32294. "optioncompare": {
  32295. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32296. "type": "string"
  32297. },
  32298. "orderqty": {
  32299. "description": "委托数量(商品数量)",
  32300. "type": "number"
  32301. },
  32302. "productdetailid": {
  32303. "description": "产品组合ID",
  32304. "type": "integer"
  32305. },
  32306. "productid": {
  32307. "description": "金融产品ID",
  32308. "type": "integer"
  32309. },
  32310. "productname": {
  32311. "description": "产品名称",
  32312. "type": "string"
  32313. },
  32314. "remark": {
  32315. "description": "备注",
  32316. "type": "string"
  32317. },
  32318. "scfcontractid": {
  32319. "description": "仓单回购合同ID",
  32320. "type": "string"
  32321. },
  32322. "sellaccountid": {
  32323. "description": "卖方资金账号",
  32324. "type": "integer"
  32325. },
  32326. "selluserid": {
  32327. "description": "卖方用户ID",
  32328. "type": "integer"
  32329. },
  32330. "sellwrtradeorderid": {
  32331. "description": "卖方委托单ID",
  32332. "type": "string"
  32333. },
  32334. "tradeamount": {
  32335. "description": "成交金额(借款金额)",
  32336. "type": "number"
  32337. },
  32338. "tradedate": {
  32339. "description": "交易日(yyyyMMdd)",
  32340. "type": "string"
  32341. },
  32342. "tradeprice": {
  32343. "description": "成交价格",
  32344. "type": "number"
  32345. },
  32346. "warehouseid": {
  32347. "description": "仓库ID",
  32348. "type": "integer"
  32349. },
  32350. "warehousename": {
  32351. "description": "仓库名称",
  32352. "type": "string"
  32353. },
  32354. "wrfactortypeid": {
  32355. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32356. "type": "string"
  32357. },
  32358. "wrfactortypename": {
  32359. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32360. "type": "string"
  32361. },
  32362. "wrpricetype": {
  32363. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  32364. "type": "integer"
  32365. },
  32366. "wrstandardcode": {
  32367. "description": "现货商品代码",
  32368. "type": "string"
  32369. },
  32370. "wrstandardid": {
  32371. "description": "现货商品ID",
  32372. "type": "integer"
  32373. },
  32374. "wrstandardname": {
  32375. "description": "商品名称",
  32376. "type": "string"
  32377. },
  32378. "wrtypename": {
  32379. "description": "商品",
  32380. "type": "string"
  32381. }
  32382. }
  32383. },
  32384. "models.WrFriendApply": {
  32385. "type": "object",
  32386. "properties": {
  32387. "applicantid": {
  32388. "description": "申请人",
  32389. "type": "integer"
  32390. },
  32391. "applyname": {
  32392. "description": "申请人名称",
  32393. "type": "string"
  32394. },
  32395. "applysrc": {
  32396. "description": "申请来源 - 1:管理端 2:终端",
  32397. "type": "integer"
  32398. },
  32399. "applystatus": {
  32400. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32401. "type": "integer"
  32402. },
  32403. "applytime": {
  32404. "description": "申请时间",
  32405. "type": "string"
  32406. },
  32407. "auditname": {
  32408. "description": "审核人名称",
  32409. "type": "string"
  32410. },
  32411. "auditorid": {
  32412. "description": "审核人",
  32413. "type": "integer"
  32414. },
  32415. "auditremark": {
  32416. "description": "审核备注",
  32417. "type": "string"
  32418. },
  32419. "auditsrc": {
  32420. "description": "审核来源 - 1:管理端 2:终端",
  32421. "type": "integer"
  32422. },
  32423. "audittime": {
  32424. "description": "审核时间",
  32425. "type": "string"
  32426. },
  32427. "friendapplyid": {
  32428. "description": "申请ID(SEQ_FRIENDAPPLY)",
  32429. "type": "string"
  32430. },
  32431. "friendname": {
  32432. "description": "好友名字(已脱敏)",
  32433. "type": "string"
  32434. },
  32435. "frienduserid": {
  32436. "description": "好友用户ID",
  32437. "type": "string"
  32438. },
  32439. "remark": {
  32440. "description": "备注",
  32441. "type": "string"
  32442. },
  32443. "userid": {
  32444. "description": "申请人用户ID",
  32445. "type": "integer"
  32446. }
  32447. }
  32448. },
  32449. "models.WrFtDeliveryGoods": {
  32450. "type": "object",
  32451. "properties": {
  32452. "deliverygoodscode": {
  32453. "description": "品种代码",
  32454. "type": "string"
  32455. },
  32456. "deliverygoodsid": {
  32457. "description": "品种ID",
  32458. "type": "integer"
  32459. },
  32460. "deliverygoodsname": {
  32461. "description": "品种名称",
  32462. "type": "string"
  32463. },
  32464. "wdlst": {
  32465. "description": "商品列表",
  32466. "type": "array",
  32467. "items": {
  32468. "$ref": "#/definitions/models.WrFtWrstandard"
  32469. }
  32470. }
  32471. }
  32472. },
  32473. "models.WrFtWrstandard": {
  32474. "type": "object",
  32475. "properties": {
  32476. "enumdicname": {
  32477. "description": "单位名称",
  32478. "type": "string"
  32479. },
  32480. "minivalue": {
  32481. "description": "最小变动值",
  32482. "type": "integer"
  32483. },
  32484. "wrstandardcode": {
  32485. "description": "现货商品代码",
  32486. "type": "string"
  32487. },
  32488. "wrstandardid": {
  32489. "description": "现货商品ID",
  32490. "type": "integer"
  32491. },
  32492. "wrstandardname": {
  32493. "description": "商品名称",
  32494. "type": "string"
  32495. }
  32496. }
  32497. },
  32498. "models.WrGoodsInfo": {
  32499. "type": "object",
  32500. "properties": {
  32501. "haswr": {
  32502. "description": "0:仓单预售 1:仓单贸易",
  32503. "type": "integer"
  32504. },
  32505. "lstitem": {
  32506. "description": "商品信息项",
  32507. "type": "array",
  32508. "items": {
  32509. "$ref": "#/definitions/models.WrTypeItem"
  32510. }
  32511. },
  32512. "lststep": {
  32513. "description": "履约规则",
  32514. "type": "array",
  32515. "items": {
  32516. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32517. }
  32518. },
  32519. "marketid": {
  32520. "description": "市场id",
  32521. "type": "integer"
  32522. }
  32523. }
  32524. },
  32525. "models.WrGoodsPerformanceStep": {
  32526. "type": "object",
  32527. "properties": {
  32528. "autoid": {
  32529. "description": "AutoID",
  32530. "type": "integer"
  32531. },
  32532. "isauto": {
  32533. "description": "是否自动 - 0:不自动 1:自动",
  32534. "type": "integer"
  32535. },
  32536. "remark": {
  32537. "description": "备注",
  32538. "type": "string"
  32539. },
  32540. "stepdate": {
  32541. "description": "天数信息(T+N)",
  32542. "type": "string"
  32543. },
  32544. "stepdays": {
  32545. "description": "距离上一步天数",
  32546. "type": "integer"
  32547. },
  32548. "stepindex": {
  32549. "description": "步骤序号",
  32550. "type": "integer"
  32551. },
  32552. "stepinfo": {
  32553. "description": "步骤信息(步骤名称+步骤值)",
  32554. "type": "string"
  32555. },
  32556. "steptypeid": {
  32557. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32558. "type": "integer"
  32559. },
  32560. "steptypename": {
  32561. "description": "步骤名称",
  32562. "type": "string"
  32563. },
  32564. "stepvalue": {
  32565. "description": "步骤值",
  32566. "type": "number"
  32567. },
  32568. "templateid": {
  32569. "description": "履约计划模板ID",
  32570. "type": "integer"
  32571. }
  32572. }
  32573. },
  32574. "models.WrHoldLB": {
  32575. "type": "object",
  32576. "properties": {
  32577. "accountid": {
  32578. "description": "持有人帐户ID",
  32579. "type": "integer"
  32580. },
  32581. "createtime": {
  32582. "description": "创建时间(过户时间)",
  32583. "type": "string"
  32584. },
  32585. "deliverygoodscode": {
  32586. "description": "品种代码",
  32587. "type": "string"
  32588. },
  32589. "deliverygoodsid": {
  32590. "description": "品种ID",
  32591. "type": "integer"
  32592. },
  32593. "deliverygoodsname": {
  32594. "description": "品种名称",
  32595. "type": "string"
  32596. },
  32597. "enableqty": {
  32598. "description": "可用数量",
  32599. "type": "number"
  32600. },
  32601. "enumdicname": {
  32602. "description": "单位名称",
  32603. "type": "string"
  32604. },
  32605. "freezerqty": {
  32606. "description": "冻结数量",
  32607. "type": "number"
  32608. },
  32609. "ladingbillid": {
  32610. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32611. "type": "string"
  32612. },
  32613. "minivalue": {
  32614. "description": "现货商品最小变动值",
  32615. "type": "integer"
  32616. },
  32617. "optioncompare": {
  32618. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32619. "type": "string"
  32620. },
  32621. "parentsubnum": {
  32622. "description": "拆分父子单号",
  32623. "type": "integer"
  32624. },
  32625. "pledgeqty": {
  32626. "description": "质押数量",
  32627. "type": "number"
  32628. },
  32629. "qty": {
  32630. "description": "数量",
  32631. "type": "number"
  32632. },
  32633. "subnum": {
  32634. "description": "提单子单号",
  32635. "type": "integer"
  32636. },
  32637. "tradedate": {
  32638. "description": "交易日(yyyyMMdd)",
  32639. "type": "string"
  32640. },
  32641. "userid": {
  32642. "description": "持有人ID",
  32643. "type": "integer"
  32644. },
  32645. "warehouseid": {
  32646. "description": "仓库ID",
  32647. "type": "integer"
  32648. },
  32649. "warehousename": {
  32650. "description": "仓库名称",
  32651. "type": "string"
  32652. },
  32653. "wrfactortypeid": {
  32654. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32655. "type": "string"
  32656. },
  32657. "wrfactortypename": {
  32658. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32659. "type": "string"
  32660. },
  32661. "wrholdeno": {
  32662. "description": "仓单编号",
  32663. "type": "string"
  32664. },
  32665. "wrid": {
  32666. "description": "仓单变更ID",
  32667. "type": "string"
  32668. },
  32669. "wrstandardcode": {
  32670. "description": "现货商品代码",
  32671. "type": "string"
  32672. },
  32673. "wrstandardid": {
  32674. "description": "现货商品ID",
  32675. "type": "integer"
  32676. },
  32677. "wrstandardname": {
  32678. "description": "商品名称",
  32679. "type": "string"
  32680. },
  32681. "wrtypename": {
  32682. "description": "商品",
  32683. "type": "string"
  32684. }
  32685. }
  32686. },
  32687. "models.WrMarketTradeConfig": {
  32688. "type": "object",
  32689. "properties": {
  32690. "basisdownratio": {
  32691. "description": "浮动价基差下限比例(仓单贸易)",
  32692. "type": "number"
  32693. },
  32694. "basisupratio": {
  32695. "description": "浮动价基差上限比例(仓单贸易)",
  32696. "type": "number"
  32697. },
  32698. "buychargealgorithm": {
  32699. "description": "买方手续费收取方式 1:比率 2:固定",
  32700. "type": "integer"
  32701. },
  32702. "buychargealgorithm2": {
  32703. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32704. "type": "integer"
  32705. },
  32706. "buychargealgorithmvalue": {
  32707. "description": "买方手续费设置值(交易所部分)",
  32708. "type": "number"
  32709. },
  32710. "buychargealgorithmvalue2": {
  32711. "description": "买方手续费设置值(会员部分)",
  32712. "type": "number"
  32713. },
  32714. "buychargealgorithmvalue3": {
  32715. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  32716. "type": "number"
  32717. },
  32718. "buychargealgorithmvalue4": {
  32719. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  32720. "type": "number"
  32721. },
  32722. "buyfirstmarginalgorithm": {
  32723. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  32724. "type": "integer"
  32725. },
  32726. "buyfirstmarginvalue": {
  32727. "description": "买方出价保证金设置值 - [竞拍]",
  32728. "type": "number"
  32729. },
  32730. "buymarginalgorithm": {
  32731. "description": "买方保证金方式 - 1:比率 2:固定",
  32732. "type": "integer"
  32733. },
  32734. "buymarginvalue": {
  32735. "description": "买方保证金设置值",
  32736. "type": "number"
  32737. },
  32738. "buyreleaseratio": {
  32739. "description": "买方释放比率[2:分步履约]",
  32740. "type": "number"
  32741. },
  32742. "executemode": {
  32743. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  32744. "type": "integer"
  32745. },
  32746. "executeside": {
  32747. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  32748. "type": "integer"
  32749. },
  32750. "failedchargealgorithm": {
  32751. "description": "流拍手续费收取方式 1:比率 2:固定",
  32752. "type": "integer"
  32753. },
  32754. "failedchargevalue": {
  32755. "description": "流拍手续费设置值",
  32756. "type": "number"
  32757. },
  32758. "failedchargevalue2": {
  32759. "description": "流拍卖方手续费设置值",
  32760. "type": "number"
  32761. },
  32762. "holddays": {
  32763. "description": "合同期限[2:分步履约]",
  32764. "type": "integer"
  32765. },
  32766. "marketid": {
  32767. "description": "市场ID-仓单贸易、竞拍、预售",
  32768. "type": "integer"
  32769. },
  32770. "minqty": {
  32771. "description": "最小执行量[2:分步履约]",
  32772. "type": "number"
  32773. },
  32774. "modifierid": {
  32775. "description": "修改人",
  32776. "type": "integer"
  32777. },
  32778. "performancetempid": {
  32779. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  32780. "type": "integer"
  32781. },
  32782. "performancetempid2": {
  32783. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  32784. "type": "integer"
  32785. },
  32786. "performanceway": {
  32787. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  32788. "type": "integer"
  32789. },
  32790. "sellchargealgorithm": {
  32791. "description": "卖方手续费收取方式 1:比率 2:固定",
  32792. "type": "integer"
  32793. },
  32794. "sellchargealgorithm2": {
  32795. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32796. "type": "integer"
  32797. },
  32798. "sellchargealgorithmvalue": {
  32799. "description": "卖方手续费设置值(交易所部分)",
  32800. "type": "number"
  32801. },
  32802. "sellchargealgorithmvalue2": {
  32803. "description": "卖方手续费设置值(会员部分)",
  32804. "type": "number"
  32805. },
  32806. "sellchargealgorithmvalue3": {
  32807. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  32808. "type": "number"
  32809. },
  32810. "sellchargealgorithmvalue4": {
  32811. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  32812. "type": "number"
  32813. },
  32814. "sellmarginalgorithm": {
  32815. "description": "卖方保证金方式 - 1:比率 2:固定",
  32816. "type": "integer"
  32817. },
  32818. "sellmarginvalue": {
  32819. "description": "卖方保证金设置值",
  32820. "type": "number"
  32821. },
  32822. "sellmarginvalue2": {
  32823. "description": "卖方保证金设置值(无仓单)",
  32824. "type": "number"
  32825. },
  32826. "sellreleaseratio": {
  32827. "description": "卖方释放比率[2:分步履约]",
  32828. "type": "number"
  32829. },
  32830. "updatetime": {
  32831. "description": "更新时间",
  32832. "type": "string"
  32833. }
  32834. }
  32835. },
  32836. "models.WrOrderDetail": {
  32837. "type": "object",
  32838. "properties": {
  32839. "accountid": {
  32840. "description": "交易账号(资金账号)",
  32841. "type": "integer"
  32842. },
  32843. "allfriendsflag": {
  32844. "description": "是否全好友可见 - 0:否 1:是",
  32845. "type": "integer"
  32846. },
  32847. "amount": {
  32848. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  32849. "type": "number"
  32850. },
  32851. "buyorsell": {
  32852. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  32853. "type": "integer"
  32854. },
  32855. "canbargain": {
  32856. "description": "是否可议价 - 0:不可 1:可",
  32857. "type": "integer"
  32858. },
  32859. "cancelqty": {
  32860. "description": "撤销数量",
  32861. "type": "number"
  32862. },
  32863. "canpart": {
  32864. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  32865. "type": "integer"
  32866. },
  32867. "delistminqty": {
  32868. "description": "起摘数量",
  32869. "type": "integer"
  32870. },
  32871. "deliverygoodscode": {
  32872. "description": "品种代码",
  32873. "type": "string"
  32874. },
  32875. "deliverygoodsid": {
  32876. "description": "品种ID",
  32877. "type": "integer"
  32878. },
  32879. "deliverygoodsname": {
  32880. "description": "品种名称",
  32881. "type": "string"
  32882. },
  32883. "deliverymonth": {
  32884. "description": "交收月",
  32885. "type": "string"
  32886. },
  32887. "enumdicname": {
  32888. "description": "单位名称",
  32889. "type": "string"
  32890. },
  32891. "fixedprice": {
  32892. "description": "固定价格 - [挂牌]",
  32893. "type": "number"
  32894. },
  32895. "freezemargin": {
  32896. "description": "冻结保证金(保证金)",
  32897. "type": "number"
  32898. },
  32899. "futupricemove": {
  32900. "description": "期货升贴水",
  32901. "type": "number"
  32902. },
  32903. "futushow": {
  32904. "description": "期货合约/升贴水",
  32905. "type": "string"
  32906. },
  32907. "goodscode": {
  32908. "description": "期货合约",
  32909. "type": "string"
  32910. },
  32911. "goodsid": {
  32912. "description": "期货商品id",
  32913. "type": "integer"
  32914. },
  32915. "goodsname": {
  32916. "description": "商品名称",
  32917. "type": "string"
  32918. },
  32919. "haswr": {
  32920. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32921. "type": "integer"
  32922. },
  32923. "isspecified": {
  32924. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  32925. "type": "integer"
  32926. },
  32927. "ladingbillid": {
  32928. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32929. "type": "string"
  32930. },
  32931. "marginvalue": {
  32932. "description": "保证金设置值(履约保证金)",
  32933. "type": "number"
  32934. },
  32935. "marketid": {
  32936. "description": "市场ID",
  32937. "type": "integer"
  32938. },
  32939. "matchusername": {
  32940. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  32941. "type": "string"
  32942. },
  32943. "minivalue": {
  32944. "description": "现货商品最小变动值",
  32945. "type": "integer"
  32946. },
  32947. "optioncompare": {
  32948. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32949. "type": "string"
  32950. },
  32951. "orderqty": {
  32952. "description": "委托数量",
  32953. "type": "number"
  32954. },
  32955. "ordertime": {
  32956. "description": "委托时间(挂牌时间)",
  32957. "type": "string"
  32958. },
  32959. "performancetemplateid": {
  32960. "description": "履约模板id",
  32961. "type": "integer"
  32962. },
  32963. "pricemove": {
  32964. "description": "升贴水(浮动价时填写) - [挂牌]",
  32965. "type": "number"
  32966. },
  32967. "taname": {
  32968. "description": "交易用户名称(资金账号名称)",
  32969. "type": "string"
  32970. },
  32971. "tradedate": {
  32972. "description": "交易日(yyyyMMdd)",
  32973. "type": "string"
  32974. },
  32975. "tradeprice": {
  32976. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  32977. "type": "number"
  32978. },
  32979. "tradeqty": {
  32980. "description": "成交数量",
  32981. "type": "number"
  32982. },
  32983. "userid": {
  32984. "description": "用户ID",
  32985. "type": "integer"
  32986. },
  32987. "validtime": {
  32988. "description": "挂牌有效期",
  32989. "type": "string"
  32990. },
  32991. "warehouseid": {
  32992. "description": "仓库ID",
  32993. "type": "integer"
  32994. },
  32995. "warehousename": {
  32996. "description": "仓库名称",
  32997. "type": "string"
  32998. },
  32999. "wrfactortypeid": {
  33000. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33001. "type": "string"
  33002. },
  33003. "wrfactortypename": {
  33004. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33005. "type": "string"
  33006. },
  33007. "wrpricetype": {
  33008. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33009. "type": "integer"
  33010. },
  33011. "wrstandardcode": {
  33012. "description": "现货商品代码",
  33013. "type": "string"
  33014. },
  33015. "wrstandardid": {
  33016. "description": "现货商品ID",
  33017. "type": "integer"
  33018. },
  33019. "wrstandardname": {
  33020. "description": "商品名称",
  33021. "type": "string"
  33022. },
  33023. "wrtradeorderid": {
  33024. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33025. "type": "string"
  33026. },
  33027. "wrtradeorderstatus": {
  33028. "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:撤单解冻贷款失败",
  33029. "type": "integer"
  33030. },
  33031. "wrtradetype": {
  33032. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33033. "type": "integer"
  33034. },
  33035. "wrtypename": {
  33036. "description": "商品",
  33037. "type": "string"
  33038. }
  33039. }
  33040. },
  33041. "models.WrOrderQuote": {
  33042. "type": "object",
  33043. "properties": {
  33044. "buyprice": {
  33045. "description": "买价",
  33046. "type": "number"
  33047. },
  33048. "buypricemove": {
  33049. "description": "买升贴水(基差)",
  33050. "type": "number"
  33051. },
  33052. "buyqty": {
  33053. "description": "买量",
  33054. "type": "number"
  33055. },
  33056. "deliverygoodscode": {
  33057. "description": "品种代码",
  33058. "type": "string"
  33059. },
  33060. "deliverygoodsid": {
  33061. "description": "品种id",
  33062. "type": "integer"
  33063. },
  33064. "deliverygoodsname": {
  33065. "description": "品种名称",
  33066. "type": "string"
  33067. },
  33068. "deliverymonth": {
  33069. "description": "交收月",
  33070. "type": "string"
  33071. },
  33072. "enumdicname": {
  33073. "description": "单位名称",
  33074. "type": "string"
  33075. },
  33076. "goodscode": {
  33077. "description": "商品合约(浮动价列表才有)",
  33078. "type": "string"
  33079. },
  33080. "goodsid": {
  33081. "description": "商品id(浮动价列表才有)",
  33082. "type": "integer"
  33083. },
  33084. "minivalue": {
  33085. "description": "现货商品最小变动值",
  33086. "type": "integer"
  33087. },
  33088. "sellprice": {
  33089. "description": "卖价",
  33090. "type": "number"
  33091. },
  33092. "sellpricemove": {
  33093. "description": "卖升贴水(基差)",
  33094. "type": "number"
  33095. },
  33096. "sellqty": {
  33097. "description": "卖量",
  33098. "type": "number"
  33099. },
  33100. "warehousecode": {
  33101. "description": "仓库代码",
  33102. "type": "string"
  33103. },
  33104. "warehouseid": {
  33105. "description": "仓库id",
  33106. "type": "integer"
  33107. },
  33108. "warehousename": {
  33109. "description": "仓库名称",
  33110. "type": "string"
  33111. },
  33112. "wrfactortypeid": {
  33113. "description": "仓单要素id",
  33114. "type": "string"
  33115. },
  33116. "wrfactortypename": {
  33117. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33118. "type": "string"
  33119. },
  33120. "wrgoodsname": {
  33121. "description": "商品(商品名称+仓库要素名称 拼接)",
  33122. "type": "string"
  33123. },
  33124. "wrstandardcode": {
  33125. "description": "商品代码",
  33126. "type": "string"
  33127. },
  33128. "wrstandardid": {
  33129. "description": "商品id",
  33130. "type": "integer"
  33131. },
  33132. "wrstandardname": {
  33133. "description": "商品名称",
  33134. "type": "string"
  33135. }
  33136. }
  33137. },
  33138. "models.WrOrderQuoteDetail": {
  33139. "type": "object",
  33140. "properties": {
  33141. "buyorsell": {
  33142. "description": "买卖 - 0:买 1:卖",
  33143. "type": "integer"
  33144. },
  33145. "delistminqty": {
  33146. "description": "起摘数量",
  33147. "type": "number"
  33148. },
  33149. "deliverymonth": {
  33150. "description": "交收月",
  33151. "type": "string"
  33152. },
  33153. "enumdicname": {
  33154. "description": "单位名称",
  33155. "type": "string"
  33156. },
  33157. "fixedprice": {
  33158. "description": "买(卖)价",
  33159. "type": "number"
  33160. },
  33161. "minivalue": {
  33162. "description": "现货商品最小变动值",
  33163. "type": "integer"
  33164. },
  33165. "orderqty": {
  33166. "description": "买(卖)量(=委托量-成交量)",
  33167. "type": "number"
  33168. },
  33169. "ordertime": {
  33170. "description": "委托时间",
  33171. "type": "string"
  33172. },
  33173. "pricemove": {
  33174. "description": "买(卖)升贴水- 基差",
  33175. "type": "number"
  33176. },
  33177. "userid": {
  33178. "description": "购买方(销售方)用户ID",
  33179. "type": "integer"
  33180. },
  33181. "username": {
  33182. "description": "购买方(销售方)",
  33183. "type": "string"
  33184. },
  33185. "wrtradeorderid": {
  33186. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33187. "type": "string"
  33188. }
  33189. }
  33190. },
  33191. "models.WrOutInApply": {
  33192. "type": "object",
  33193. "properties": {
  33194. "applyid": {
  33195. "description": "申请单id",
  33196. "type": "string"
  33197. },
  33198. "applystatus": {
  33199. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  33200. "type": "integer"
  33201. },
  33202. "applytime": {
  33203. "description": "申请时间",
  33204. "type": "string"
  33205. },
  33206. "applytype": {
  33207. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  33208. "type": "integer"
  33209. },
  33210. "deliverygoodscode": {
  33211. "description": "品种代码",
  33212. "type": "string"
  33213. },
  33214. "deliverygoodsid": {
  33215. "description": "品种ID",
  33216. "type": "integer"
  33217. },
  33218. "deliverygoodsname": {
  33219. "description": "品种名称",
  33220. "type": "string"
  33221. },
  33222. "enumdicname": {
  33223. "description": "单位名称",
  33224. "type": "string"
  33225. },
  33226. "expresscompany": {
  33227. "description": "物流公司",
  33228. "type": "string"
  33229. },
  33230. "expressnum": {
  33231. "description": "物流单号",
  33232. "type": "string"
  33233. },
  33234. "minivalue": {
  33235. "description": "现货商品最小变动值",
  33236. "type": "integer"
  33237. },
  33238. "optioncompare": {
  33239. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33240. "type": "string"
  33241. },
  33242. "qty": {
  33243. "description": "数量",
  33244. "type": "integer"
  33245. },
  33246. "userid": {
  33247. "description": "用户id",
  33248. "type": "integer"
  33249. },
  33250. "warehouseid": {
  33251. "description": "仓库ID",
  33252. "type": "integer"
  33253. },
  33254. "warehousename": {
  33255. "description": "仓库名称",
  33256. "type": "string"
  33257. },
  33258. "wrfactortypeid": {
  33259. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33260. "type": "string"
  33261. },
  33262. "wrfactortypename": {
  33263. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33264. "type": "string"
  33265. },
  33266. "wrstandardcode": {
  33267. "description": "现货商品代码",
  33268. "type": "string"
  33269. },
  33270. "wrstandardid": {
  33271. "description": "现货商品ID",
  33272. "type": "integer"
  33273. },
  33274. "wrstandardname": {
  33275. "description": "商品名称",
  33276. "type": "string"
  33277. },
  33278. "wrtypename": {
  33279. "description": "商品",
  33280. "type": "string"
  33281. }
  33282. }
  33283. },
  33284. "models.WrPerformancePlan": {
  33285. "type": "object",
  33286. "required": [
  33287. "userid"
  33288. ],
  33289. "properties": {
  33290. "activatemonth": {
  33291. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  33292. "type": "string"
  33293. },
  33294. "amount": {
  33295. "description": "履约金额(总金额)",
  33296. "type": "number"
  33297. },
  33298. "buyaccountid": {
  33299. "description": "买方账号",
  33300. "type": "integer"
  33301. },
  33302. "buyerfreezeamount": {
  33303. "description": "履约冻结(买履约)",
  33304. "type": "number"
  33305. },
  33306. "buyerfreezeamountremain": {
  33307. "description": "履约冻结剩余(买履约)",
  33308. "type": "number"
  33309. },
  33310. "buyorsell": {
  33311. "description": "买卖方向 0-买 1-卖",
  33312. "type": "integer"
  33313. },
  33314. "buypaidamount": {
  33315. "description": "买方已冻/已扣金额 (已付金额)",
  33316. "type": "number"
  33317. },
  33318. "buyusername": {
  33319. "description": "买方名字",
  33320. "type": "string"
  33321. },
  33322. "contractid": {
  33323. "description": "合同ID",
  33324. "type": "integer"
  33325. },
  33326. "createtime": {
  33327. "description": "创建时间",
  33328. "type": "string"
  33329. },
  33330. "creatorid": {
  33331. "description": "创建人",
  33332. "type": "integer"
  33333. },
  33334. "curstepdeadline": {
  33335. "description": "当前步骤到期时间",
  33336. "type": "string"
  33337. },
  33338. "curstepid": {
  33339. "description": "当前步骤ID",
  33340. "type": "string"
  33341. },
  33342. "curstepname": {
  33343. "description": "当前步骤名称",
  33344. "type": "string"
  33345. },
  33346. "deliverygoodscode": {
  33347. "description": "品种代码",
  33348. "type": "string"
  33349. },
  33350. "deliverygoodsid": {
  33351. "description": "品种ID",
  33352. "type": "integer"
  33353. },
  33354. "deliverygoodsname": {
  33355. "description": "品种名称",
  33356. "type": "string"
  33357. },
  33358. "enumdicname": {
  33359. "description": "单位名称",
  33360. "type": "string"
  33361. },
  33362. "expressfee": {
  33363. "description": "运费",
  33364. "type": "number"
  33365. },
  33366. "expressfeeconfirmed": {
  33367. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  33368. "type": "integer"
  33369. },
  33370. "hasovershort": {
  33371. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  33372. "type": "integer"
  33373. },
  33374. "haswr": {
  33375. "description": "类型 0-仓单预售 1-仓单贸易",
  33376. "type": "integer"
  33377. },
  33378. "marketid": {
  33379. "description": "市场ID",
  33380. "type": "integer"
  33381. },
  33382. "middleaccountid": {
  33383. "description": "中间商资金账号ID",
  33384. "type": "integer"
  33385. },
  33386. "middleuserid": {
  33387. "description": "中间商用户ID",
  33388. "type": "integer"
  33389. },
  33390. "minivalue": {
  33391. "description": "现货商品最小变动值",
  33392. "type": "integer"
  33393. },
  33394. "optioncompare": {
  33395. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33396. "type": "string"
  33397. },
  33398. "overshortamount": {
  33399. "description": "溢短金额",
  33400. "type": "number"
  33401. },
  33402. "overshortqty": {
  33403. "description": "溢短数量",
  33404. "type": "number"
  33405. },
  33406. "paymenttype": {
  33407. "description": "付款方式 - 1:冻结 2:扣款",
  33408. "type": "integer"
  33409. },
  33410. "performanceplanid": {
  33411. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  33412. "type": "string"
  33413. },
  33414. "performancestatus": {
  33415. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  33416. "type": "integer"
  33417. },
  33418. "performancetype": {
  33419. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  33420. "type": "integer"
  33421. },
  33422. "qty": {
  33423. "description": "履约数量",
  33424. "type": "number"
  33425. },
  33426. "relatedorderid": {
  33427. "description": "关联单号(履约类型的关联单号)",
  33428. "type": "string"
  33429. },
  33430. "remark": {
  33431. "description": "备注",
  33432. "type": "string"
  33433. },
  33434. "sellaccountid": {
  33435. "description": "卖方账号",
  33436. "type": "integer"
  33437. },
  33438. "sellerfreezeamount": {
  33439. "description": "履约冻结(卖履约)",
  33440. "type": "number"
  33441. },
  33442. "sellerfreezeamountremain": {
  33443. "description": "履约冻结剩余(卖履约)",
  33444. "type": "number"
  33445. },
  33446. "sellreceivedamount": {
  33447. "description": "卖方已收金额",
  33448. "type": "number"
  33449. },
  33450. "sellusername": {
  33451. "description": "卖方名字",
  33452. "type": "string"
  33453. },
  33454. "shipremark": {
  33455. "description": "发货备注[物流单号]",
  33456. "type": "string"
  33457. },
  33458. "starttime": {
  33459. "description": "开始时间",
  33460. "type": "string"
  33461. },
  33462. "steptypeid": {
  33463. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33464. "type": "integer"
  33465. },
  33466. "typename": {
  33467. "description": "履约类型 名称",
  33468. "type": "string"
  33469. },
  33470. "unpaidamount": {
  33471. "description": "剩余款(待支付金额)",
  33472. "type": "number"
  33473. },
  33474. "userid": {
  33475. "description": "用户id",
  33476. "type": "integer"
  33477. },
  33478. "warehouseid": {
  33479. "description": "仓库ID",
  33480. "type": "integer"
  33481. },
  33482. "warehousename": {
  33483. "description": "仓库名称",
  33484. "type": "string"
  33485. },
  33486. "wrfactortypeid": {
  33487. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33488. "type": "string"
  33489. },
  33490. "wrfactortypename": {
  33491. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33492. "type": "string"
  33493. },
  33494. "wrstandardcode": {
  33495. "description": "现货商品代码",
  33496. "type": "string"
  33497. },
  33498. "wrstandardid": {
  33499. "description": "现货商品ID",
  33500. "type": "integer"
  33501. },
  33502. "wrstandardname": {
  33503. "description": "商品名称",
  33504. "type": "string"
  33505. },
  33506. "wrtransferuserid": {
  33507. "description": "仓单受让用户",
  33508. "type": "integer"
  33509. },
  33510. "wrtypename": {
  33511. "description": "商品",
  33512. "type": "string"
  33513. }
  33514. }
  33515. },
  33516. "models.WrPerformancePlanStep": {
  33517. "type": "object",
  33518. "properties": {
  33519. "delaydays": {
  33520. "description": "延期申请天数",
  33521. "type": "integer"
  33522. },
  33523. "deliverygoodscode": {
  33524. "description": "品种代码",
  33525. "type": "string"
  33526. },
  33527. "deliverygoodsid": {
  33528. "description": "品种ID",
  33529. "type": "integer"
  33530. },
  33531. "deliverygoodsname": {
  33532. "description": "品种名称",
  33533. "type": "string"
  33534. },
  33535. "endtime": {
  33536. "description": "结束日期",
  33537. "type": "string"
  33538. },
  33539. "enumdicname": {
  33540. "description": "单位名称",
  33541. "type": "string"
  33542. },
  33543. "executeside": {
  33544. "description": "步骤执行方 - 1:买方 2:卖方",
  33545. "type": "integer"
  33546. },
  33547. "handlestatus": {
  33548. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  33549. "type": "integer"
  33550. },
  33551. "isauto": {
  33552. "description": "是否自动 - 0:不自动 1:自动",
  33553. "type": "integer"
  33554. },
  33555. "islastreceivestep": {
  33556. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  33557. "type": "integer"
  33558. },
  33559. "minivalue": {
  33560. "description": "现货商品最小变动值",
  33561. "type": "integer"
  33562. },
  33563. "optioncompare": {
  33564. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33565. "type": "string"
  33566. },
  33567. "overdays": {
  33568. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  33569. "type": "integer"
  33570. },
  33571. "performancestepid": {
  33572. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  33573. "type": "string"
  33574. },
  33575. "planid": {
  33576. "description": "所属履约计划ID",
  33577. "type": "string"
  33578. },
  33579. "realamount": {
  33580. "description": "实际完成金额",
  33581. "type": "number"
  33582. },
  33583. "relatedorderid": {
  33584. "description": "关联单号",
  33585. "type": "string"
  33586. },
  33587. "remaindays": {
  33588. "description": "剩余天数",
  33589. "type": "integer"
  33590. },
  33591. "remark": {
  33592. "description": "错误备注",
  33593. "type": "string"
  33594. },
  33595. "starttime": {
  33596. "description": "开始日期",
  33597. "type": "string"
  33598. },
  33599. "stepamount": {
  33600. "description": "步骤金额",
  33601. "type": "number"
  33602. },
  33603. "stepdays": {
  33604. "description": "距离上一步天数(分钟)",
  33605. "type": "integer"
  33606. },
  33607. "stepindex": {
  33608. "description": "步骤序号",
  33609. "type": "integer"
  33610. },
  33611. "steplanchtype": {
  33612. "description": "步骤启动类型 - 1:系统自动 2:手动",
  33613. "type": "integer"
  33614. },
  33615. "stepremark": {
  33616. "description": "步骤备注",
  33617. "type": "string"
  33618. },
  33619. "stepstatus": {
  33620. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  33621. "type": "integer"
  33622. },
  33623. "steptypeid": {
  33624. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33625. "type": "integer"
  33626. },
  33627. "steptypename": {
  33628. "description": "步骤名称",
  33629. "type": "string"
  33630. },
  33631. "stepvalue": {
  33632. "description": "步骤值",
  33633. "type": "number"
  33634. },
  33635. "warehouseid": {
  33636. "description": "仓库ID",
  33637. "type": "integer"
  33638. },
  33639. "warehousename": {
  33640. "description": "仓库名称",
  33641. "type": "string"
  33642. },
  33643. "wrfactortypeid": {
  33644. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33645. "type": "string"
  33646. },
  33647. "wrfactortypename": {
  33648. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33649. "type": "string"
  33650. },
  33651. "wrstandardcode": {
  33652. "description": "现货商品代码",
  33653. "type": "string"
  33654. },
  33655. "wrstandardid": {
  33656. "description": "现货商品ID",
  33657. "type": "integer"
  33658. },
  33659. "wrstandardname": {
  33660. "description": "商品名称",
  33661. "type": "string"
  33662. },
  33663. "wrtypename": {
  33664. "description": "商品",
  33665. "type": "string"
  33666. }
  33667. }
  33668. },
  33669. "models.WrPerformanceStepType": {
  33670. "type": "object",
  33671. "properties": {
  33672. "canauto": {
  33673. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  33674. "type": "integer"
  33675. },
  33676. "steptypeid": {
  33677. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  33678. "type": "integer"
  33679. },
  33680. "steptypename": {
  33681. "description": "步骤类型名称",
  33682. "type": "string"
  33683. }
  33684. }
  33685. },
  33686. "models.WrPerformanceTemplateEx": {
  33687. "type": "object",
  33688. "properties": {
  33689. "autoid": {
  33690. "description": "AutoID 模板id",
  33691. "type": "integer"
  33692. },
  33693. "createtime": {
  33694. "description": "创建时间",
  33695. "type": "string"
  33696. },
  33697. "creatorid": {
  33698. "description": "创建人",
  33699. "type": "integer"
  33700. },
  33701. "lstStep": {
  33702. "description": "步骤信息列表",
  33703. "type": "array",
  33704. "items": {
  33705. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33706. }
  33707. },
  33708. "paymenttype": {
  33709. "description": "支付方式 - 1:冻结 2:扣款",
  33710. "type": "integer"
  33711. },
  33712. "takemode": {
  33713. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  33714. "type": "integer"
  33715. },
  33716. "templatename": {
  33717. "description": "模板名称",
  33718. "type": "string"
  33719. },
  33720. "templatetype": {
  33721. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  33722. "type": "integer"
  33723. },
  33724. "userid": {
  33725. "description": "所属用户",
  33726. "type": "integer"
  33727. }
  33728. }
  33729. },
  33730. "models.WrPosition": {
  33731. "type": "object",
  33732. "properties": {
  33733. "accountid": {
  33734. "description": "帐户ID",
  33735. "type": "integer"
  33736. },
  33737. "buyexcuteqty": {
  33738. "description": "采购履约中数量",
  33739. "type": "number"
  33740. },
  33741. "creditcurqty": {
  33742. "description": "授信当前数量(预售仓单:预售当前量)",
  33743. "type": "number"
  33744. },
  33745. "creditenableqty": {
  33746. "description": "授信可用数量(预售仓单: 可用数量)",
  33747. "type": "number"
  33748. },
  33749. "creditfreezeqty": {
  33750. "description": "授信冻结数量(预售仓单: 当前数量)",
  33751. "type": "number"
  33752. },
  33753. "credittotalqty": {
  33754. "description": "授信总数量(预售仓单:预售总量)",
  33755. "type": "number"
  33756. },
  33757. "credittradeqty": {
  33758. "description": "授信成交数量(预售仓单:成交总量)",
  33759. "type": "number"
  33760. },
  33761. "deliverygoodscode": {
  33762. "description": "品种代码",
  33763. "type": "string"
  33764. },
  33765. "deliverygoodsid": {
  33766. "description": "品种ID",
  33767. "type": "integer"
  33768. },
  33769. "deliverygoodsname": {
  33770. "description": "品种名称",
  33771. "type": "string"
  33772. },
  33773. "enalbeqty": {
  33774. "description": "可用数量",
  33775. "type": "number"
  33776. },
  33777. "enumdicname": {
  33778. "description": "单位名称",
  33779. "type": "string"
  33780. },
  33781. "freezeqty": {
  33782. "description": "总冻结数量",
  33783. "type": "number"
  33784. },
  33785. "haswr": {
  33786. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33787. "type": "integer"
  33788. },
  33789. "minivalue": {
  33790. "description": "现货商品最小变动值",
  33791. "type": "integer"
  33792. },
  33793. "modifytime": {
  33794. "description": "修改时间(过户时间)",
  33795. "type": "string"
  33796. },
  33797. "optioncompare": {
  33798. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33799. "type": "string"
  33800. },
  33801. "pledgeqty": {
  33802. "description": "质押数量",
  33803. "type": "number"
  33804. },
  33805. "querytype": {
  33806. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  33807. "type": "integer"
  33808. },
  33809. "sellexcuteqty": {
  33810. "description": "销售履约中数量",
  33811. "type": "number"
  33812. },
  33813. "totalqty": {
  33814. "description": "总数量(库存数量)",
  33815. "type": "number"
  33816. },
  33817. "warehouseid": {
  33818. "description": "仓库ID",
  33819. "type": "integer"
  33820. },
  33821. "warehousename": {
  33822. "description": "仓库名称",
  33823. "type": "string"
  33824. },
  33825. "wrfactortypeid": {
  33826. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33827. "type": "string"
  33828. },
  33829. "wrfactortypename": {
  33830. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33831. "type": "string"
  33832. },
  33833. "wrpositionid": {
  33834. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  33835. "type": "string"
  33836. },
  33837. "wrpositionno": {
  33838. "description": "仓单编号",
  33839. "type": "string"
  33840. },
  33841. "wrstandardcode": {
  33842. "description": "现货商品代码",
  33843. "type": "string"
  33844. },
  33845. "wrstandardid": {
  33846. "description": "现货商品ID",
  33847. "type": "integer"
  33848. },
  33849. "wrstandardname": {
  33850. "description": "商品名称",
  33851. "type": "string"
  33852. },
  33853. "wrtypename": {
  33854. "description": "商品",
  33855. "type": "string"
  33856. },
  33857. "wruserid": {
  33858. "description": "持有人ID",
  33859. "type": "integer"
  33860. }
  33861. }
  33862. },
  33863. "models.WrQuoteOrderMyq": {
  33864. "type": "object",
  33865. "properties": {
  33866. "buyorsell": {
  33867. "description": "买卖 - 0:买 1:卖",
  33868. "type": "integer"
  33869. },
  33870. "canbargain": {
  33871. "description": "是否可议价 - 0:不可 1:可",
  33872. "type": "integer"
  33873. },
  33874. "canpart": {
  33875. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  33876. "type": "integer"
  33877. },
  33878. "delistminqty": {
  33879. "description": "起摘数量",
  33880. "type": "number"
  33881. },
  33882. "deliverygoodscode": {
  33883. "description": "品种代码",
  33884. "type": "string"
  33885. },
  33886. "deliverygoodsid": {
  33887. "description": "品种ID",
  33888. "type": "integer"
  33889. },
  33890. "deliverygoodsname": {
  33891. "description": "品种名称",
  33892. "type": "string"
  33893. },
  33894. "deliverymonth": {
  33895. "description": "交收月",
  33896. "type": "string"
  33897. },
  33898. "enumdicname": {
  33899. "description": "单位名称",
  33900. "type": "string"
  33901. },
  33902. "fixedprice": {
  33903. "description": "买(卖)价",
  33904. "type": "number"
  33905. },
  33906. "goodscode": {
  33907. "description": "商品合约代码",
  33908. "type": "string"
  33909. },
  33910. "marginflag": {
  33911. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  33912. "type": "integer"
  33913. },
  33914. "marginvalue": {
  33915. "description": "保证金设置值",
  33916. "type": "number"
  33917. },
  33918. "minivalue": {
  33919. "description": "现货商品最小变动值",
  33920. "type": "integer"
  33921. },
  33922. "orderqty": {
  33923. "description": "买(卖)量(=委托量-成交量)",
  33924. "type": "number"
  33925. },
  33926. "ordertime": {
  33927. "description": "委托时间",
  33928. "type": "string"
  33929. },
  33930. "performancetemplateid": {
  33931. "description": "履约模板id",
  33932. "type": "integer"
  33933. },
  33934. "pricemove": {
  33935. "description": "买(卖)升贴水- 基差",
  33936. "type": "number"
  33937. },
  33938. "templatename": {
  33939. "description": "履约模板名称",
  33940. "type": "string"
  33941. },
  33942. "userid": {
  33943. "description": "购买方(销售方)用户ID",
  33944. "type": "integer"
  33945. },
  33946. "username": {
  33947. "description": "购买方(销售方)",
  33948. "type": "string"
  33949. },
  33950. "validtime": {
  33951. "description": "有效期限",
  33952. "type": "string"
  33953. },
  33954. "validtype": {
  33955. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33956. "type": "integer"
  33957. },
  33958. "warehousename": {
  33959. "description": "仓库名称",
  33960. "type": "string"
  33961. },
  33962. "wrfactortypeid": {
  33963. "description": "仓单要素id",
  33964. "type": "string"
  33965. },
  33966. "wrstandardcode": {
  33967. "description": "现货商品代码",
  33968. "type": "string"
  33969. },
  33970. "wrstandardid": {
  33971. "description": "现货商品ID",
  33972. "type": "integer"
  33973. },
  33974. "wrstandardname": {
  33975. "description": "商品名称",
  33976. "type": "string"
  33977. },
  33978. "wrtradeorderid": {
  33979. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33980. "type": "string"
  33981. },
  33982. "wrtypename": {
  33983. "description": "商品",
  33984. "type": "string"
  33985. }
  33986. }
  33987. },
  33988. "models.WrScfContract": {
  33989. "type": "object",
  33990. "properties": {
  33991. "borroweruserid": {
  33992. "description": "借款用户ID",
  33993. "type": "integer"
  33994. },
  33995. "buybackwrpositionqty": {
  33996. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  33997. "type": "number"
  33998. },
  33999. "closeinterest": {
  34000. "description": "已结利息 -\u003e 已结费用",
  34001. "type": "number"
  34002. },
  34003. "currisklevel": {
  34004. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  34005. "type": "integer"
  34006. },
  34007. "deadline": {
  34008. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  34009. "type": "string"
  34010. },
  34011. "deliverygoodscode": {
  34012. "description": "品种代码",
  34013. "type": "string"
  34014. },
  34015. "deliverygoodsid": {
  34016. "description": "品种ID",
  34017. "type": "integer"
  34018. },
  34019. "deliverygoodsname": {
  34020. "description": "品种名称",
  34021. "type": "string"
  34022. },
  34023. "enumdicname": {
  34024. "description": "单位名称",
  34025. "type": "string"
  34026. },
  34027. "financingdays": {
  34028. "description": "天数(天)",
  34029. "type": "integer"
  34030. },
  34031. "initmargin": {
  34032. "description": "保证金 - [仓单回购]",
  34033. "type": "number"
  34034. },
  34035. "interestamount": {
  34036. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  34037. "type": "number"
  34038. },
  34039. "interestdebt": {
  34040. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  34041. "type": "number"
  34042. },
  34043. "interestminlen": {
  34044. "description": "最小起息天数",
  34045. "type": "integer"
  34046. },
  34047. "interestrate": {
  34048. "description": "利率",
  34049. "type": "number"
  34050. },
  34051. "interestratemode": {
  34052. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34053. "type": "integer"
  34054. },
  34055. "interestsettlemode": {
  34056. "description": "结息方式 - 1:按日结息 3:按月结息",
  34057. "type": "integer"
  34058. },
  34059. "interestsettlevalue": {
  34060. "description": "结息方式值",
  34061. "type": "integer"
  34062. },
  34063. "isautoloan": {
  34064. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  34065. "type": "integer"
  34066. },
  34067. "lastcloseinterestday": {
  34068. "description": "最近结息日(yyyyMMdd)",
  34069. "type": "string"
  34070. },
  34071. "lenderamount": {
  34072. "description": "贷款金额 -\u003e 借款金额",
  34073. "type": "number"
  34074. },
  34075. "lenderuserid": {
  34076. "description": "贷款方用户ID -\u003e 融出方用户ID",
  34077. "type": "integer"
  34078. },
  34079. "lenderusername": {
  34080. "description": "融出方",
  34081. "type": "string"
  34082. },
  34083. "marginratio": {
  34084. "description": "保证金比率质押率 - [仓单质押]",
  34085. "type": "number"
  34086. },
  34087. "marketid": {
  34088. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  34089. "type": "integer"
  34090. },
  34091. "minivalue": {
  34092. "description": "现货商品最小变动值",
  34093. "type": "integer"
  34094. },
  34095. "optioncompare": {
  34096. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34097. "type": "string"
  34098. },
  34099. "pricemove": {
  34100. "description": "估值升贴水值",
  34101. "type": "number"
  34102. },
  34103. "productdetailid": {
  34104. "description": "产品组合ID",
  34105. "type": "integer"
  34106. },
  34107. "productid": {
  34108. "description": "金融产品ID",
  34109. "type": "integer"
  34110. },
  34111. "productname": {
  34112. "description": "产品名称",
  34113. "type": "string"
  34114. },
  34115. "remainamount": {
  34116. "description": "合同剩余金额 -\u003e 剩余金额",
  34117. "type": "number"
  34118. },
  34119. "remainwrpositionqty": {
  34120. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  34121. "type": "number"
  34122. },
  34123. "remark": {
  34124. "description": "备注",
  34125. "type": "string"
  34126. },
  34127. "scfcontractid": {
  34128. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34129. "type": "string"
  34130. },
  34131. "scfcontractstatus": {
  34132. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34133. "type": "integer"
  34134. },
  34135. "scfcontracttype": {
  34136. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  34137. "type": "integer"
  34138. },
  34139. "startinterestday": {
  34140. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  34141. "type": "string"
  34142. },
  34143. "totalinterest": {
  34144. "description": "已计利息 -\u003e 已计费用",
  34145. "type": "number"
  34146. },
  34147. "unpaidinterest": {
  34148. "description": "未结费用",
  34149. "type": "number"
  34150. },
  34151. "updatetime": {
  34152. "description": "更新时间",
  34153. "type": "string"
  34154. },
  34155. "warehouseid": {
  34156. "description": "仓库ID",
  34157. "type": "integer"
  34158. },
  34159. "warehousename": {
  34160. "description": "仓库名称",
  34161. "type": "string"
  34162. },
  34163. "wrfactortypeid": {
  34164. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34165. "type": "string"
  34166. },
  34167. "wrfactortypename": {
  34168. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34169. "type": "string"
  34170. },
  34171. "wrqty": {
  34172. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  34173. "type": "number"
  34174. },
  34175. "wrstandardcode": {
  34176. "description": "现货商品代码",
  34177. "type": "string"
  34178. },
  34179. "wrstandardid": {
  34180. "description": "现货商品ID",
  34181. "type": "integer"
  34182. },
  34183. "wrstandardname": {
  34184. "description": "商品名称",
  34185. "type": "string"
  34186. },
  34187. "wrtypename": {
  34188. "description": "商品",
  34189. "type": "string"
  34190. }
  34191. }
  34192. },
  34193. "models.WrScfContractInterest": {
  34194. "type": "object",
  34195. "properties": {
  34196. "closeinterest": {
  34197. "description": "已结利息",
  34198. "type": "number"
  34199. },
  34200. "closeintereststatus": {
  34201. "description": "结息状态 - 1:未结 2:已结",
  34202. "type": "integer"
  34203. },
  34204. "closetime": {
  34205. "description": "结息时间",
  34206. "type": "string"
  34207. },
  34208. "closetradedate": {
  34209. "description": "结息交易日",
  34210. "type": "string"
  34211. },
  34212. "creatorid": {
  34213. "description": "操作人ID",
  34214. "type": "integer"
  34215. },
  34216. "dayrate": {
  34217. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  34218. "type": "number"
  34219. },
  34220. "interest": {
  34221. "description": "利息",
  34222. "type": "number"
  34223. },
  34224. "interestamount": {
  34225. "description": "计息金额",
  34226. "type": "number"
  34227. },
  34228. "interestday": {
  34229. "description": "计息日(yyyyMMdd)",
  34230. "type": "string"
  34231. },
  34232. "scfcontractid": {
  34233. "description": "SCF合同ID",
  34234. "type": "string"
  34235. },
  34236. "scfcontractinterestid": {
  34237. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  34238. "type": "integer"
  34239. },
  34240. "updatetime": {
  34241. "description": "更新时间",
  34242. "type": "string"
  34243. }
  34244. }
  34245. },
  34246. "models.WrSpecialMatchOrder": {
  34247. "type": "object",
  34248. "properties": {
  34249. "amount": {
  34250. "description": "金额 = 数量 * 价格",
  34251. "type": "number"
  34252. },
  34253. "buyorsell": {
  34254. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34255. "type": "integer"
  34256. },
  34257. "cancelqty": {
  34258. "description": "撤销数量",
  34259. "type": "number"
  34260. },
  34261. "deliverygoodscode": {
  34262. "description": "品种代码",
  34263. "type": "string"
  34264. },
  34265. "deliverygoodsid": {
  34266. "description": "品种ID",
  34267. "type": "integer"
  34268. },
  34269. "deliverygoodsname": {
  34270. "description": "品种名称",
  34271. "type": "string"
  34272. },
  34273. "enumdicname": {
  34274. "description": "单位名称",
  34275. "type": "string"
  34276. },
  34277. "fixedprice": {
  34278. "description": "固定价格(价格)",
  34279. "type": "number"
  34280. },
  34281. "haswr": {
  34282. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34283. "type": "integer"
  34284. },
  34285. "marketid": {
  34286. "description": "市场ID",
  34287. "type": "integer"
  34288. },
  34289. "matchuserid": {
  34290. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  34291. "type": "integer"
  34292. },
  34293. "matchusername": {
  34294. "description": "指定方",
  34295. "type": "string"
  34296. },
  34297. "minivalue": {
  34298. "description": "现货商品最小变动值",
  34299. "type": "integer"
  34300. },
  34301. "optioncompare": {
  34302. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34303. "type": "string"
  34304. },
  34305. "orderqty": {
  34306. "description": "委托数量",
  34307. "type": "number"
  34308. },
  34309. "ordertime": {
  34310. "description": "委托时间",
  34311. "type": "string"
  34312. },
  34313. "pricemove": {
  34314. "description": "升贴水(浮动价时填写) - [挂牌]",
  34315. "type": "number"
  34316. },
  34317. "tradedate": {
  34318. "description": "交易日(yyyyMMdd)",
  34319. "type": "string"
  34320. },
  34321. "tradeprice": {
  34322. "description": "成交价格",
  34323. "type": "number"
  34324. },
  34325. "tradeqty": {
  34326. "description": "成交数量",
  34327. "type": "number"
  34328. },
  34329. "userid": {
  34330. "description": "用户ID",
  34331. "type": "integer"
  34332. },
  34333. "username": {
  34334. "description": "发起方",
  34335. "type": "string"
  34336. },
  34337. "warehouseid": {
  34338. "description": "仓库ID",
  34339. "type": "integer"
  34340. },
  34341. "warehousename": {
  34342. "description": "仓库名称",
  34343. "type": "string"
  34344. },
  34345. "wrfactortypeid": {
  34346. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34347. "type": "string"
  34348. },
  34349. "wrfactortypename": {
  34350. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34351. "type": "string"
  34352. },
  34353. "wrpricetype": {
  34354. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34355. "type": "integer"
  34356. },
  34357. "wrstandardcode": {
  34358. "description": "现货商品代码",
  34359. "type": "string"
  34360. },
  34361. "wrstandardid": {
  34362. "description": "现货商品ID",
  34363. "type": "integer"
  34364. },
  34365. "wrstandardname": {
  34366. "description": "商品名称",
  34367. "type": "string"
  34368. },
  34369. "wrtradeorderid": {
  34370. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34371. "type": "string"
  34372. },
  34373. "wrtradeorderstatus": {
  34374. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  34375. "type": "integer"
  34376. },
  34377. "wrtradetype": {
  34378. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34379. "type": "integer"
  34380. },
  34381. "wrtypename": {
  34382. "description": "商品",
  34383. "type": "string"
  34384. }
  34385. }
  34386. },
  34387. "models.WrStandardFactoryItem": {
  34388. "type": "object",
  34389. "properties": {
  34390. "dgfactoryitemid": {
  34391. "description": "选择项id",
  34392. "type": "integer"
  34393. },
  34394. "dgfactoryitemvalue": {
  34395. "description": "要素项值",
  34396. "type": "string"
  34397. },
  34398. "warehouseid": {
  34399. "description": "仓库id",
  34400. "type": "integer"
  34401. }
  34402. }
  34403. },
  34404. "models.WrStandardFactoryItemEx": {
  34405. "type": "object",
  34406. "properties": {
  34407. "dgfactoryitemtypeid": {
  34408. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  34409. "type": "integer"
  34410. },
  34411. "itemlst": {
  34412. "description": "要素项列表",
  34413. "type": "array",
  34414. "items": {
  34415. "$ref": "#/definitions/models.WrStandardFactoryItem"
  34416. }
  34417. },
  34418. "itemtypename": {
  34419. "description": "要素项类型名称",
  34420. "type": "string"
  34421. },
  34422. "wrstandardid": {
  34423. "description": "品类",
  34424. "type": "integer"
  34425. }
  34426. }
  34427. },
  34428. "models.WrTradeDetail": {
  34429. "type": "object",
  34430. "properties": {
  34431. "accountid": {
  34432. "description": "资金账号",
  34433. "type": "integer"
  34434. },
  34435. "buyorsell": {
  34436. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34437. "type": "integer"
  34438. },
  34439. "chargevalue": {
  34440. "description": "手续费",
  34441. "type": "number"
  34442. },
  34443. "deliverygoodscode": {
  34444. "description": "品种代码",
  34445. "type": "string"
  34446. },
  34447. "deliverygoodsid": {
  34448. "description": "品种ID",
  34449. "type": "integer"
  34450. },
  34451. "deliverygoodsname": {
  34452. "description": "品种名称",
  34453. "type": "string"
  34454. },
  34455. "deliverymonth": {
  34456. "description": "交收月",
  34457. "type": "string"
  34458. },
  34459. "enumdicname": {
  34460. "description": "单位名称",
  34461. "type": "string"
  34462. },
  34463. "haswr": {
  34464. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34465. "type": "integer"
  34466. },
  34467. "marketid": {
  34468. "description": "市场ID",
  34469. "type": "integer"
  34470. },
  34471. "matchaccountid": {
  34472. "description": "对手账号",
  34473. "type": "integer"
  34474. },
  34475. "matchusername": {
  34476. "description": "对手方",
  34477. "type": "string"
  34478. },
  34479. "minivalue": {
  34480. "description": "现货商品最小变动值",
  34481. "type": "integer"
  34482. },
  34483. "optioncompare": {
  34484. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34485. "type": "string"
  34486. },
  34487. "tradedate": {
  34488. "description": "交易日(yyyyMMdd)",
  34489. "type": "string"
  34490. },
  34491. "tradeprice": {
  34492. "description": "成交价格",
  34493. "type": "number"
  34494. },
  34495. "tradeqty": {
  34496. "description": "成交数量",
  34497. "type": "number"
  34498. },
  34499. "tradetime": {
  34500. "description": "成交时间",
  34501. "type": "string"
  34502. },
  34503. "userid": {
  34504. "description": "用户ID",
  34505. "type": "integer"
  34506. },
  34507. "warehouseid": {
  34508. "description": "仓库ID",
  34509. "type": "integer"
  34510. },
  34511. "warehousename": {
  34512. "description": "仓库名称",
  34513. "type": "string"
  34514. },
  34515. "wrfactortypeid": {
  34516. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34517. "type": "string"
  34518. },
  34519. "wrfactortypename": {
  34520. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34521. "type": "string"
  34522. },
  34523. "wrstandardcode": {
  34524. "description": "现货商品代码",
  34525. "type": "string"
  34526. },
  34527. "wrstandardid": {
  34528. "description": "现货商品ID",
  34529. "type": "integer"
  34530. },
  34531. "wrstandardname": {
  34532. "description": "商品名称",
  34533. "type": "string"
  34534. },
  34535. "wrtradedetailid": {
  34536. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  34537. "type": "string"
  34538. },
  34539. "wrtradetype": {
  34540. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34541. "type": "integer"
  34542. },
  34543. "wrtypename": {
  34544. "description": "商品",
  34545. "type": "string"
  34546. }
  34547. }
  34548. },
  34549. "models.WrTradeOrderDetail": {
  34550. "type": "object",
  34551. "properties": {
  34552. "buyorsell": {
  34553. "description": "买卖方向 0-买 1-卖",
  34554. "type": "integer"
  34555. },
  34556. "goodsid": {
  34557. "description": "商品id",
  34558. "type": "integer"
  34559. },
  34560. "orderid": {
  34561. "description": "委托单号",
  34562. "type": "string"
  34563. },
  34564. "orderprice": {
  34565. "description": "委托价格",
  34566. "type": "number"
  34567. },
  34568. "orderqty": {
  34569. "description": "委托数量",
  34570. "type": "integer"
  34571. },
  34572. "userid": {
  34573. "description": "用户id",
  34574. "type": "integer"
  34575. },
  34576. "username": {
  34577. "description": "用户名称(已脱敏)",
  34578. "type": "string"
  34579. }
  34580. }
  34581. },
  34582. "models.WrTypeItem": {
  34583. "type": "object",
  34584. "properties": {
  34585. "name": {
  34586. "description": "名称",
  34587. "type": "string"
  34588. },
  34589. "value": {
  34590. "description": "值",
  34591. "type": "string"
  34592. }
  34593. }
  34594. },
  34595. "models.WrUserFriend": {
  34596. "type": "object",
  34597. "properties": {
  34598. "friendname": {
  34599. "description": "朋友名称(已脱敏)",
  34600. "type": "string"
  34601. },
  34602. "frienduserid": {
  34603. "description": "朋友id",
  34604. "type": "integer"
  34605. },
  34606. "isfriend": {
  34607. "description": "是否好友 0-不是 1-是",
  34608. "type": "integer"
  34609. },
  34610. "userid": {
  34611. "description": "用户id",
  34612. "type": "integer"
  34613. }
  34614. }
  34615. },
  34616. "models.XHBRAND": {
  34617. "type": "object",
  34618. "properties": {
  34619. "brandid": {
  34620. "description": "品牌id",
  34621. "type": "integer"
  34622. },
  34623. "brandname": {
  34624. "description": "品牌名称",
  34625. "type": "string"
  34626. }
  34627. }
  34628. },
  34629. "models.XHDeliveryGoods": {
  34630. "type": "object",
  34631. "properties": {
  34632. "areauserid": {
  34633. "description": "所属机构",
  34634. "type": "integer"
  34635. },
  34636. "bdlst": {
  34637. "description": "品牌列表",
  34638. "type": "array",
  34639. "items": {
  34640. "$ref": "#/definitions/models.XHBRAND"
  34641. }
  34642. },
  34643. "deliverygoodscode": {
  34644. "description": "现货品种代码",
  34645. "type": "string"
  34646. },
  34647. "deliverygoodsid": {
  34648. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34649. "type": "integer"
  34650. },
  34651. "deliverygoodsname": {
  34652. "description": "现货品种名称",
  34653. "type": "string"
  34654. },
  34655. "dgstatus": {
  34656. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  34657. "type": "integer"
  34658. },
  34659. "isvalid": {
  34660. "description": "是否有效 - 0:无效 1:有效",
  34661. "type": "integer"
  34662. },
  34663. "remark": {
  34664. "description": "备注",
  34665. "type": "string"
  34666. },
  34667. "wdlst": {
  34668. "description": "品类(现货商品)列表",
  34669. "type": "array",
  34670. "items": {
  34671. "$ref": "#/definitions/models.XHWrstandard"
  34672. }
  34673. }
  34674. }
  34675. },
  34676. "models.XHMiddleGoods": {
  34677. "type": "object",
  34678. "properties": {
  34679. "convertratio": {
  34680. "description": "拆算系数",
  34681. "type": "number"
  34682. },
  34683. "enumdicname": {
  34684. "description": "单位名称",
  34685. "type": "string"
  34686. },
  34687. "middlegoodscode": {
  34688. "description": "套保品种代码",
  34689. "type": "string"
  34690. },
  34691. "middlegoodsid": {
  34692. "description": "套保品种id",
  34693. "type": "integer"
  34694. },
  34695. "middlegoodsname": {
  34696. "description": "套保品种名称",
  34697. "type": "string"
  34698. }
  34699. }
  34700. },
  34701. "models.XHWrstandard": {
  34702. "type": "object",
  34703. "properties": {
  34704. "deliverygoodsid": {
  34705. "description": "品种ID",
  34706. "type": "integer"
  34707. },
  34708. "enumdicname": {
  34709. "description": "单位名称",
  34710. "type": "string"
  34711. },
  34712. "mglst": {
  34713. "description": "套保品列表",
  34714. "type": "array",
  34715. "items": {
  34716. "$ref": "#/definitions/models.XHMiddleGoods"
  34717. }
  34718. },
  34719. "vatrate": {
  34720. "description": "增值税率",
  34721. "type": "number"
  34722. },
  34723. "wrstandardcode": {
  34724. "description": "现货商品代码",
  34725. "type": "string"
  34726. },
  34727. "wrstandardid": {
  34728. "description": "现货商品ID(SEQ_WRSTANDARD)",
  34729. "type": "integer"
  34730. },
  34731. "wrstandardname": {
  34732. "description": "现货商品名称",
  34733. "type": "string"
  34734. }
  34735. }
  34736. },
  34737. "order.QueryHisTradeDetailRsp": {
  34738. "type": "object",
  34739. "required": [
  34740. "accountid",
  34741. "buyorsell",
  34742. "goodsid",
  34743. "histradedate",
  34744. "marketid",
  34745. "memberuserid",
  34746. "orderid",
  34747. "tradeamount",
  34748. "tradedate",
  34749. "tradeid",
  34750. "tradeprice",
  34751. "tradeqty",
  34752. "tradetime"
  34753. ],
  34754. "properties": {
  34755. "accountid": {
  34756. "description": "账户ID[报价币种]",
  34757. "type": "integer"
  34758. },
  34759. "advanceratio": {
  34760. "description": "首付比率",
  34761. "type": "number"
  34762. },
  34763. "buildtype": {
  34764. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  34765. "type": "integer"
  34766. },
  34767. "buyorsell": {
  34768. "description": "方向 - 0:买 1:卖",
  34769. "type": "integer"
  34770. },
  34771. "charge": {
  34772. "description": "手续费",
  34773. "type": "number"
  34774. },
  34775. "closecharge": {
  34776. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34777. "type": "number"
  34778. },
  34779. "closeexchagechargevalue": {
  34780. "description": "平仓交易所手续费设置值",
  34781. "type": "number"
  34782. },
  34783. "closefeealgorithm": {
  34784. "description": "平仓手续费收取方式 1:比率 2:固定",
  34785. "type": "integer"
  34786. },
  34787. "closememberchargevalue": {
  34788. "description": "平仓会员手续费设置值",
  34789. "type": "number"
  34790. },
  34791. "closepl": {
  34792. "description": "平仓盈亏",
  34793. "type": "number"
  34794. },
  34795. "closepl2": {
  34796. "description": "平仓盈亏[逐笔]",
  34797. "type": "number"
  34798. },
  34799. "closeqty": {
  34800. "description": "平仓数量(先建后平操作 需要记录)",
  34801. "type": "number"
  34802. },
  34803. "creditamount": {
  34804. "description": "授信金额",
  34805. "type": "number"
  34806. },
  34807. "decimalplace": {
  34808. "description": "商品报价小数位",
  34809. "type": "integer"
  34810. },
  34811. "enumdicname": {
  34812. "description": "单位名称",
  34813. "type": "string"
  34814. },
  34815. "gcaccountid": {
  34816. "description": "账户ID[合约币种]",
  34817. "type": "integer"
  34818. },
  34819. "goodscode": {
  34820. "description": "商品代码",
  34821. "type": "string"
  34822. },
  34823. "goodsid": {
  34824. "description": "商品ID",
  34825. "type": "integer"
  34826. },
  34827. "goodsname": {
  34828. "description": "商品名称",
  34829. "type": "string"
  34830. },
  34831. "goodunitid": {
  34832. "description": "商品单位id",
  34833. "type": "integer"
  34834. },
  34835. "histradedate": {
  34836. "description": "历史交易日",
  34837. "type": "string"
  34838. },
  34839. "intclosepl": {
  34840. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  34841. "type": "integer"
  34842. },
  34843. "isconfirmexercise": {
  34844. "description": "是否确认行权- 0:否 1:是",
  34845. "type": "integer"
  34846. },
  34847. "ismain": {
  34848. "description": "是否主单 - 0:不是 1:是",
  34849. "type": "integer"
  34850. },
  34851. "ispreexercise": {
  34852. "description": "是否预申报- 0:否 1:是",
  34853. "type": "integer"
  34854. },
  34855. "isreckoned": {
  34856. "description": "是否结算 - 0:未结算 1:已结算",
  34857. "type": "integer"
  34858. },
  34859. "isvaliddata": {
  34860. "description": "是否有效 - 0:无效 1:有效",
  34861. "type": "integer"
  34862. },
  34863. "listingselecttype": {
  34864. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34865. "type": "integer"
  34866. },
  34867. "marketid": {
  34868. "description": "市场ID",
  34869. "type": "integer"
  34870. },
  34871. "marketname": {
  34872. "description": "市场名称",
  34873. "type": "string"
  34874. },
  34875. "matchaccountid": {
  34876. "description": "对手账号id",
  34877. "type": "integer"
  34878. },
  34879. "memberuserid": {
  34880. "description": "会员id 个人投资者 需要填写",
  34881. "type": "integer"
  34882. },
  34883. "opencharge": {
  34884. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34885. "type": "number"
  34886. },
  34887. "openexchagechargevalue": {
  34888. "description": "建仓交易所手续费设置值",
  34889. "type": "number"
  34890. },
  34891. "openfeealgorithm": {
  34892. "description": "建仓手续费收取方式 1:比率 2:固定",
  34893. "type": "integer"
  34894. },
  34895. "openmemberchargevalue": {
  34896. "description": "建仓会员手续费设置值",
  34897. "type": "number"
  34898. },
  34899. "openqty": {
  34900. "description": "开仓数量(先建后平操作 需要记录)",
  34901. "type": "number"
  34902. },
  34903. "optiontype": {
  34904. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34905. "type": "integer"
  34906. },
  34907. "orderid": {
  34908. "description": "委托单号",
  34909. "type": "string"
  34910. },
  34911. "payamount": {
  34912. "description": "支付金额(付款金额)",
  34913. "type": "number"
  34914. },
  34915. "performanceplanid": {
  34916. "description": "履约计划ID[期权]",
  34917. "type": "integer"
  34918. },
  34919. "performancestatus": {
  34920. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  34921. "type": "integer"
  34922. },
  34923. "preexerciseprice": {
  34924. "description": "预申报价格",
  34925. "type": "number"
  34926. },
  34927. "premium": {
  34928. "description": "权利金 - [持仓单的权利金]",
  34929. "type": "number"
  34930. },
  34931. "qtydecimalplace": {
  34932. "description": "商品报价小数位",
  34933. "type": "integer"
  34934. },
  34935. "recvamount": {
  34936. "description": "到账金额 = 成交金额 - 手续费",
  34937. "type": "number"
  34938. },
  34939. "relatedouttradeid": {
  34940. "description": "关联外部成交单ID",
  34941. "type": "integer"
  34942. },
  34943. "status": {
  34944. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  34945. "type": "integer"
  34946. },
  34947. "totalamount": {
  34948. "description": "订单总额 = 成交金额 + 手续费",
  34949. "type": "number"
  34950. },
  34951. "tradeamount": {
  34952. "description": "成交金额[账户币种,用于所有权]",
  34953. "type": "number"
  34954. },
  34955. "tradedate": {
  34956. "description": "交易日(yyyyMMdd)",
  34957. "type": "string"
  34958. },
  34959. "tradeid": {
  34960. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34961. "type": "string"
  34962. },
  34963. "trademode": {
  34964. "description": "交易模式",
  34965. "type": "integer"
  34966. },
  34967. "tradeprice": {
  34968. "description": "成交价格",
  34969. "type": "number"
  34970. },
  34971. "tradeproperty": {
  34972. "description": "交易属性",
  34973. "type": "integer"
  34974. },
  34975. "tradeqty": {
  34976. "description": "成交数量",
  34977. "type": "number"
  34978. },
  34979. "tradetime": {
  34980. "description": "成交时间",
  34981. "type": "string"
  34982. },
  34983. "tradetype": {
  34984. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  34985. "type": "integer"
  34986. }
  34987. }
  34988. },
  34989. "order.QueryHisTradeOrderDetailRsp": {
  34990. "type": "object",
  34991. "required": [
  34992. "accountid",
  34993. "buildtype",
  34994. "buyorsell",
  34995. "goodsid",
  34996. "histradedate",
  34997. "marketid",
  34998. "memberuserid",
  34999. "operatetype",
  35000. "orderid",
  35001. "orderqty",
  35002. "ordertime",
  35003. "pricemode",
  35004. "tradedate",
  35005. "validtype"
  35006. ],
  35007. "properties": {
  35008. "accountid": {
  35009. "description": "账户ID[报价币种]",
  35010. "type": "integer"
  35011. },
  35012. "buildtype": {
  35013. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  35014. "type": "integer"
  35015. },
  35016. "buyorsell": {
  35017. "description": "买卖 - 0:买 1:卖",
  35018. "type": "integer"
  35019. },
  35020. "cancelorderid": {
  35021. "description": "撤单单号(撤单时填写)",
  35022. "type": "string"
  35023. },
  35024. "cancelqty": {
  35025. "description": "撤单数量",
  35026. "type": "number"
  35027. },
  35028. "clientordertime": {
  35029. "description": "客户端委托时间",
  35030. "type": "string"
  35031. },
  35032. "clientticket": {
  35033. "description": "客户端流水号",
  35034. "type": "string"
  35035. },
  35036. "clienttype": {
  35037. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35038. "type": "integer"
  35039. },
  35040. "closeexchagechargevalue": {
  35041. "description": "平仓交易所手续费设置值",
  35042. "type": "number"
  35043. },
  35044. "closefeealgorithm": {
  35045. "description": "平仓手续费收取方式 1:比率 2:固定",
  35046. "type": "integer"
  35047. },
  35048. "closefreezecharge": {
  35049. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  35050. "type": "number"
  35051. },
  35052. "closememberchargevalue": {
  35053. "description": "平仓会员手续费设置值",
  35054. "type": "number"
  35055. },
  35056. "closeqty": {
  35057. "description": "平仓数量(先建后平操作 需要记录)",
  35058. "type": "number"
  35059. },
  35060. "closetradeqty": {
  35061. "description": "平仓成交数量(先建后平操作,需要记录)",
  35062. "type": "number"
  35063. },
  35064. "closeunfreezecharge": {
  35065. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  35066. "type": "number"
  35067. },
  35068. "decimalplace": {
  35069. "description": "商品报价小数位",
  35070. "type": "integer"
  35071. },
  35072. "delistingtype": {
  35073. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  35074. "type": "integer"
  35075. },
  35076. "enumdicname": {
  35077. "description": "单位名称",
  35078. "type": "string"
  35079. },
  35080. "freezecharge": {
  35081. "description": "冻结手续费",
  35082. "type": "number"
  35083. },
  35084. "freezemargin": {
  35085. "description": "冻结保证金(冻结交易金额)",
  35086. "type": "number"
  35087. },
  35088. "gcaccountid": {
  35089. "description": "账户ID[合约币种]",
  35090. "type": "integer"
  35091. },
  35092. "goodscode": {
  35093. "description": "商品代码",
  35094. "type": "string"
  35095. },
  35096. "goodsid": {
  35097. "description": "商品ID",
  35098. "type": "integer"
  35099. },
  35100. "goodsname": {
  35101. "description": "商品名称",
  35102. "type": "string"
  35103. },
  35104. "goodunitid": {
  35105. "description": "商品单位id",
  35106. "type": "integer"
  35107. },
  35108. "histradedate": {
  35109. "description": "历史交易日",
  35110. "type": "string"
  35111. },
  35112. "isconfirmexercise": {
  35113. "description": "是否确认行权- 0:否 1:是",
  35114. "type": "integer"
  35115. },
  35116. "ispreexercise": {
  35117. "description": "是否预申报- 0:否 1:是",
  35118. "type": "integer"
  35119. },
  35120. "isvaliddata": {
  35121. "description": "是否有效 - 0:无效 1:有效",
  35122. "type": "integer"
  35123. },
  35124. "listingselecttype": {
  35125. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35126. "type": "integer"
  35127. },
  35128. "marginalgorithm": {
  35129. "description": "保证金收取方式 1:比率 2:固定",
  35130. "type": "integer"
  35131. },
  35132. "marginvalue": {
  35133. "description": "即市保证金设置值",
  35134. "type": "number"
  35135. },
  35136. "marketid": {
  35137. "description": "市场ID",
  35138. "type": "integer"
  35139. },
  35140. "marketmaxsub": {
  35141. "description": "市价最大偏移范围",
  35142. "type": "number"
  35143. },
  35144. "marketname": {
  35145. "description": "市场名称",
  35146. "type": "string"
  35147. },
  35148. "memberuserid": {
  35149. "description": "所属会员UserID",
  35150. "type": "integer"
  35151. },
  35152. "openexchagechargevalue": {
  35153. "description": "建仓交易所手续费设置值",
  35154. "type": "number"
  35155. },
  35156. "openfeealgorithm": {
  35157. "description": "建仓手续费收取方式 1:比率 2:固定",
  35158. "type": "integer"
  35159. },
  35160. "openfreezecharge": {
  35161. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  35162. "type": "number"
  35163. },
  35164. "openmemberchargevalue": {
  35165. "description": "建仓会员手续费设置值",
  35166. "type": "number"
  35167. },
  35168. "openqty": {
  35169. "description": "开仓数量(先建后平操作,需要记录)",
  35170. "type": "number"
  35171. },
  35172. "opentradeqty": {
  35173. "description": "开仓成交数量(先建后平操作,需要记录)",
  35174. "type": "number"
  35175. },
  35176. "openunfreezecharge": {
  35177. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  35178. "type": "number"
  35179. },
  35180. "operatetype": {
  35181. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  35182. "type": "integer"
  35183. },
  35184. "operatorid": {
  35185. "description": "登录账号(LoginID)",
  35186. "type": "integer"
  35187. },
  35188. "optiontype": {
  35189. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35190. "type": "integer"
  35191. },
  35192. "orderid": {
  35193. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35194. "type": "string"
  35195. },
  35196. "orderprice": {
  35197. "description": "委托价格",
  35198. "type": "number"
  35199. },
  35200. "orderqty": {
  35201. "description": "委托数量",
  35202. "type": "number"
  35203. },
  35204. "ordersrc": {
  35205. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  35206. "type": "integer"
  35207. },
  35208. "orderstatus": {
  35209. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35210. "type": "integer"
  35211. },
  35212. "ordertime": {
  35213. "description": "委托时间",
  35214. "type": "string"
  35215. },
  35216. "preexerciseprice": {
  35217. "description": "预申报价格",
  35218. "type": "number"
  35219. },
  35220. "premium": {
  35221. "description": "权利金",
  35222. "type": "number"
  35223. },
  35224. "preorderid": {
  35225. "description": "关联预埋单号(止盈止损单时填写)",
  35226. "type": "string"
  35227. },
  35228. "pricemode": {
  35229. "description": "取价方式 - 1:市价 2: 限价",
  35230. "type": "integer"
  35231. },
  35232. "qtydecimalplace": {
  35233. "description": "成交量小数位",
  35234. "type": "integer"
  35235. },
  35236. "quoteid": {
  35237. "description": "报价单ID",
  35238. "type": "integer"
  35239. },
  35240. "relatedid": {
  35241. "description": "关联单号(交割单)",
  35242. "type": "string"
  35243. },
  35244. "retcode": {
  35245. "description": "错误代码",
  35246. "type": "integer"
  35247. },
  35248. "sessionid": {
  35249. "description": "会话ID",
  35250. "type": "integer"
  35251. },
  35252. "tradedate": {
  35253. "description": "交易日(yyyyMMdd)",
  35254. "type": "string"
  35255. },
  35256. "trademode": {
  35257. "description": "交易模式",
  35258. "type": "integer"
  35259. },
  35260. "tradeproperty": {
  35261. "description": "交易属性",
  35262. "type": "integer"
  35263. },
  35264. "tradeqty": {
  35265. "description": "成交数量",
  35266. "type": "number"
  35267. },
  35268. "unfreezecharge": {
  35269. "description": "解冻手续费",
  35270. "type": "number"
  35271. },
  35272. "unfreezemargin": {
  35273. "description": "解冻保证金",
  35274. "type": "number"
  35275. },
  35276. "updatetime": {
  35277. "description": "更新时间",
  35278. "type": "string"
  35279. },
  35280. "uuid": {
  35281. "description": "发起端唯一id",
  35282. "type": "string"
  35283. },
  35284. "validtime": {
  35285. "description": "有效期限",
  35286. "type": "string"
  35287. },
  35288. "validtype": {
  35289. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  35290. "type": "integer"
  35291. },
  35292. "volumetype": {
  35293. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  35294. "type": "integer"
  35295. }
  35296. }
  35297. },
  35298. "order.QueryTradeDetailRsp": {
  35299. "type": "object",
  35300. "required": [
  35301. "accountid",
  35302. "buyorsell",
  35303. "goodsid",
  35304. "marketid",
  35305. "memberuserid",
  35306. "orderid",
  35307. "tradeamount",
  35308. "tradedate",
  35309. "tradeid",
  35310. "tradeprice",
  35311. "tradeqty",
  35312. "tradetime"
  35313. ],
  35314. "properties": {
  35315. "accountid": {
  35316. "description": "账户ID[报价币种]",
  35317. "type": "integer"
  35318. },
  35319. "advanceratio": {
  35320. "description": "首付比率",
  35321. "type": "number"
  35322. },
  35323. "buildtype": {
  35324. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  35325. "type": "integer"
  35326. },
  35327. "buyorsell": {
  35328. "description": "方向 - 0:买 1:卖",
  35329. "type": "integer"
  35330. },
  35331. "charge": {
  35332. "description": "手续费",
  35333. "type": "number"
  35334. },
  35335. "closecharge": {
  35336. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35337. "type": "number"
  35338. },
  35339. "closeexchagechargevalue": {
  35340. "description": "平仓交易所手续费设置值",
  35341. "type": "number"
  35342. },
  35343. "closefeealgorithm": {
  35344. "description": "平仓手续费收取方式 1:比率 2:固定",
  35345. "type": "integer"
  35346. },
  35347. "closememberchargevalue": {
  35348. "description": "平仓会员手续费设置值",
  35349. "type": "number"
  35350. },
  35351. "closepl": {
  35352. "description": "平仓盈亏",
  35353. "type": "number"
  35354. },
  35355. "closepl2": {
  35356. "description": "平仓盈亏[逐笔]",
  35357. "type": "number"
  35358. },
  35359. "closeqty": {
  35360. "description": "平仓数量(先建后平操作 需要记录)",
  35361. "type": "number"
  35362. },
  35363. "creditamount": {
  35364. "description": "授信金额",
  35365. "type": "number"
  35366. },
  35367. "decimalplace": {
  35368. "description": "商品报价小数位",
  35369. "type": "integer"
  35370. },
  35371. "enumdicname": {
  35372. "description": "单位名称",
  35373. "type": "string"
  35374. },
  35375. "gcaccountid": {
  35376. "description": "账户ID[合约币种]",
  35377. "type": "integer"
  35378. },
  35379. "goodscode": {
  35380. "description": "商品代码",
  35381. "type": "string"
  35382. },
  35383. "goodsid": {
  35384. "description": "商品ID",
  35385. "type": "integer"
  35386. },
  35387. "goodsname": {
  35388. "description": "商品名称",
  35389. "type": "string"
  35390. },
  35391. "goodunitid": {
  35392. "description": "商品单位id",
  35393. "type": "integer"
  35394. },
  35395. "intclosepl": {
  35396. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  35397. "type": "integer"
  35398. },
  35399. "isconfirmexercise": {
  35400. "description": "是否确认行权- 0:否 1:是",
  35401. "type": "integer"
  35402. },
  35403. "ismain": {
  35404. "description": "是否主单 - 0:不是 1:是",
  35405. "type": "integer"
  35406. },
  35407. "ispreexercise": {
  35408. "description": "是否预申报- 0:否 1:是",
  35409. "type": "integer"
  35410. },
  35411. "isreckoned": {
  35412. "description": "是否结算 - 0:未结算 1:已结算",
  35413. "type": "integer"
  35414. },
  35415. "listingselecttype": {
  35416. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35417. "type": "integer"
  35418. },
  35419. "marketid": {
  35420. "description": "市场ID",
  35421. "type": "integer"
  35422. },
  35423. "marketname": {
  35424. "description": "市场名称",
  35425. "type": "string"
  35426. },
  35427. "matchaccountid": {
  35428. "description": "对手账号id",
  35429. "type": "integer"
  35430. },
  35431. "memberuserid": {
  35432. "description": "会员id 个人投资者 需要填写",
  35433. "type": "integer"
  35434. },
  35435. "opencharge": {
  35436. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35437. "type": "number"
  35438. },
  35439. "openexchagechargevalue": {
  35440. "description": "建仓交易所手续费设置值",
  35441. "type": "number"
  35442. },
  35443. "openfeealgorithm": {
  35444. "description": "建仓手续费收取方式 1:比率 2:固定",
  35445. "type": "integer"
  35446. },
  35447. "openmemberchargevalue": {
  35448. "description": "建仓会员手续费设置值",
  35449. "type": "number"
  35450. },
  35451. "openqty": {
  35452. "description": "开仓数量(先建后平操作 需要记录)",
  35453. "type": "number"
  35454. },
  35455. "optiontype": {
  35456. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35457. "type": "integer"
  35458. },
  35459. "orderid": {
  35460. "description": "委托单号",
  35461. "type": "string"
  35462. },
  35463. "payamount": {
  35464. "description": "支付金额(付款金额)",
  35465. "type": "number"
  35466. },
  35467. "performanceplanid": {
  35468. "description": "履约计划ID[期权]",
  35469. "type": "integer"
  35470. },
  35471. "performancestatus": {
  35472. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  35473. "type": "integer"
  35474. },
  35475. "preexerciseprice": {
  35476. "description": "预申报价格",
  35477. "type": "number"
  35478. },
  35479. "premium": {
  35480. "description": "权利金 - [持仓单的权利金]",
  35481. "type": "number"
  35482. },
  35483. "qtydecimalplace": {
  35484. "description": "商品报价小数位",
  35485. "type": "integer"
  35486. },
  35487. "recvamount": {
  35488. "description": "到账金额 = 成交金额 - 手续费",
  35489. "type": "number"
  35490. },
  35491. "relatedouttradeid": {
  35492. "description": "关联外部成交单ID",
  35493. "type": "integer"
  35494. },
  35495. "status": {
  35496. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  35497. "type": "integer"
  35498. },
  35499. "totalamount": {
  35500. "description": "订单总额 = 成交金额 + 手续费",
  35501. "type": "number"
  35502. },
  35503. "tradeamount": {
  35504. "description": "成交金额[账户币种,用于所有权]",
  35505. "type": "number"
  35506. },
  35507. "tradedate": {
  35508. "description": "交易日(yyyyMMdd)",
  35509. "type": "string"
  35510. },
  35511. "tradeid": {
  35512. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35513. "type": "string"
  35514. },
  35515. "trademode": {
  35516. "description": "交易模式",
  35517. "type": "integer"
  35518. },
  35519. "tradeprice": {
  35520. "description": "成交价格",
  35521. "type": "number"
  35522. },
  35523. "tradeproperty": {
  35524. "description": "交易属性",
  35525. "type": "integer"
  35526. },
  35527. "tradeqty": {
  35528. "description": "成交数量",
  35529. "type": "number"
  35530. },
  35531. "tradetime": {
  35532. "description": "成交时间",
  35533. "type": "string"
  35534. },
  35535. "tradetype": {
  35536. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  35537. "type": "integer"
  35538. }
  35539. }
  35540. },
  35541. "order.QueryTradeOrderDetailRsp": {
  35542. "type": "object",
  35543. "required": [
  35544. "accountid",
  35545. "buildtype",
  35546. "buyorsell",
  35547. "goodsid",
  35548. "marketid",
  35549. "operatetype",
  35550. "orderqty",
  35551. "ordertime",
  35552. "pricemode",
  35553. "tradedate",
  35554. "validtype"
  35555. ],
  35556. "properties": {
  35557. "accountid": {
  35558. "description": "账户ID[报价币种]",
  35559. "type": "integer"
  35560. },
  35561. "buildtype": {
  35562. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  35563. "type": "integer"
  35564. },
  35565. "buyorsell": {
  35566. "description": "买卖 - 0:买 1:卖",
  35567. "type": "integer"
  35568. },
  35569. "cancelorderid": {
  35570. "description": "撤单单号(撤单时填写)",
  35571. "type": "string"
  35572. },
  35573. "cancelqty": {
  35574. "description": "撤单数量",
  35575. "type": "number"
  35576. },
  35577. "clienttype": {
  35578. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35579. "type": "integer"
  35580. },
  35581. "closefreezecharge": {
  35582. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  35583. "type": "number"
  35584. },
  35585. "closeqty": {
  35586. "description": "平仓数量(先建后平操作 需要记录)",
  35587. "type": "number"
  35588. },
  35589. "closetradeqty": {
  35590. "description": "平仓成交数量(先建后平操作,需要记录)",
  35591. "type": "number"
  35592. },
  35593. "closeunfreezecharge": {
  35594. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  35595. "type": "number"
  35596. },
  35597. "decimalplace": {
  35598. "description": "商品报价小数位",
  35599. "type": "integer"
  35600. },
  35601. "delistingtype": {
  35602. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  35603. "type": "integer"
  35604. },
  35605. "enableqty": {
  35606. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  35607. "type": "number"
  35608. },
  35609. "enumdicname": {
  35610. "description": "单位名称",
  35611. "type": "string"
  35612. },
  35613. "freezecharge": {
  35614. "description": "冻结手续费",
  35615. "type": "number"
  35616. },
  35617. "freezemargin": {
  35618. "description": "冻结保证金(冻结交易金额)",
  35619. "type": "number"
  35620. },
  35621. "goodscode": {
  35622. "description": "商品代码",
  35623. "type": "string"
  35624. },
  35625. "goodsid": {
  35626. "description": "商品ID",
  35627. "type": "integer"
  35628. },
  35629. "goodsname": {
  35630. "description": "商品名称",
  35631. "type": "string"
  35632. },
  35633. "goodunitid": {
  35634. "description": "商品单位id",
  35635. "type": "integer"
  35636. },
  35637. "listingselecttype": {
  35638. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35639. "type": "integer"
  35640. },
  35641. "marketid": {
  35642. "description": "市场ID",
  35643. "type": "integer"
  35644. },
  35645. "marketname": {
  35646. "description": "市场名称",
  35647. "type": "string"
  35648. },
  35649. "openfreezecharge": {
  35650. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  35651. "type": "number"
  35652. },
  35653. "openqty": {
  35654. "description": "开仓数量(先建后平操作,需要记录)",
  35655. "type": "number"
  35656. },
  35657. "opentradeqty": {
  35658. "description": "开仓成交数量(先建后平操作,需要记录)",
  35659. "type": "number"
  35660. },
  35661. "openunfreezecharge": {
  35662. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  35663. "type": "number"
  35664. },
  35665. "operatetype": {
  35666. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  35667. "type": "integer"
  35668. },
  35669. "operatorid": {
  35670. "description": "登录账号(LoginID)",
  35671. "type": "integer"
  35672. },
  35673. "orderid": {
  35674. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35675. "type": "string"
  35676. },
  35677. "orderprice": {
  35678. "description": "委托价格",
  35679. "type": "number"
  35680. },
  35681. "orderqty": {
  35682. "description": "委托数量",
  35683. "type": "number"
  35684. },
  35685. "ordersrc": {
  35686. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  35687. "type": "integer"
  35688. },
  35689. "orderstatus": {
  35690. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35691. "type": "integer"
  35692. },
  35693. "ordertime": {
  35694. "description": "委托时间",
  35695. "type": "string"
  35696. },
  35697. "preorderid": {
  35698. "description": "关联预埋单号(止盈止损单时填写)",
  35699. "type": "string"
  35700. },
  35701. "pricemode": {
  35702. "description": "取价方式 - 1:市价 2: 限价",
  35703. "type": "integer"
  35704. },
  35705. "qtydecimalplace": {
  35706. "description": "商品报价小数位",
  35707. "type": "integer"
  35708. },
  35709. "relatedid": {
  35710. "description": "关联单号(交割单)",
  35711. "type": "string"
  35712. },
  35713. "tradedate": {
  35714. "description": "交易日(yyyyMMdd)",
  35715. "type": "string"
  35716. },
  35717. "trademode": {
  35718. "description": "交易模式",
  35719. "type": "integer"
  35720. },
  35721. "tradeqty": {
  35722. "description": "成交数量",
  35723. "type": "number"
  35724. },
  35725. "unfreezecharge": {
  35726. "description": "解冻手续费",
  35727. "type": "number"
  35728. },
  35729. "unfreezemargin": {
  35730. "description": "解冻保证金",
  35731. "type": "number"
  35732. },
  35733. "validtime": {
  35734. "description": "有效期限",
  35735. "type": "string"
  35736. },
  35737. "validtype": {
  35738. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  35739. "type": "integer"
  35740. },
  35741. "volumetype": {
  35742. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  35743. "type": "integer"
  35744. }
  35745. }
  35746. },
  35747. "order.QueryTradePositionRsp": {
  35748. "type": "object",
  35749. "required": [
  35750. "goodsid"
  35751. ],
  35752. "properties": {
  35753. "accountid": {
  35754. "description": "资金账户",
  35755. "type": "integer"
  35756. },
  35757. "agreeunit": {
  35758. "description": "合约单位",
  35759. "type": "number"
  35760. },
  35761. "averageprice": {
  35762. "description": "持仓均价",
  35763. "type": "number"
  35764. },
  35765. "buyorsell": {
  35766. "description": "方向 - 0:买 1:卖",
  35767. "type": "integer"
  35768. },
  35769. "closetotalqty": {
  35770. "description": "平仓总数量",
  35771. "type": "number"
  35772. },
  35773. "curholderamount": {
  35774. "description": "当前持仓总金额[商品币种]",
  35775. "type": "number"
  35776. },
  35777. "curpositionqty": {
  35778. "description": "当前持仓总数量",
  35779. "type": "number"
  35780. },
  35781. "currencyid": {
  35782. "description": "报价货币ID",
  35783. "type": "integer"
  35784. },
  35785. "curtdposition": {
  35786. "description": "期末今日头寸",
  35787. "type": "number"
  35788. },
  35789. "decimalplace": {
  35790. "description": "报价小数位",
  35791. "type": "integer"
  35792. },
  35793. "enableqty": {
  35794. "description": "可用量",
  35795. "type": "number"
  35796. },
  35797. "fretdposition": {
  35798. "description": "冻结今日头寸",
  35799. "type": "number"
  35800. },
  35801. "frozenqty": {
  35802. "description": "持仓冻结数量",
  35803. "type": "number"
  35804. },
  35805. "goodscode": {
  35806. "description": "商品代码",
  35807. "type": "string"
  35808. },
  35809. "goodsid": {
  35810. "description": "商品Id",
  35811. "type": "integer"
  35812. },
  35813. "goodsname": {
  35814. "description": "商品名称",
  35815. "type": "string"
  35816. },
  35817. "goodunit": {
  35818. "description": "报价单位",
  35819. "type": "string"
  35820. },
  35821. "goodunitid": {
  35822. "description": "报价单位ID",
  35823. "type": "integer"
  35824. },
  35825. "holderamount": {
  35826. "description": "期初持仓总金额[商品币种]",
  35827. "type": "number"
  35828. },
  35829. "lastprice": {
  35830. "description": "最新价",
  35831. "type": "number"
  35832. },
  35833. "marketamount": {
  35834. "description": "市值",
  35835. "type": "number"
  35836. },
  35837. "marketid": {
  35838. "description": "所属市场ID",
  35839. "type": "integer"
  35840. },
  35841. "openreqqty": {
  35842. "description": "开仓申请数量(用于比较最大持仓数量)",
  35843. "type": "number"
  35844. },
  35845. "opentotalqty": {
  35846. "description": "开仓总数量",
  35847. "type": "number"
  35848. },
  35849. "otherfrozenqty": {
  35850. "description": "持仓其他冻结数量(交割冻结)",
  35851. "type": "number"
  35852. },
  35853. "positionpl": {
  35854. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  35855. "type": "number"
  35856. },
  35857. "positionplrate": {
  35858. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  35859. "type": "number"
  35860. },
  35861. "positionqty": {
  35862. "description": "期初持仓数量",
  35863. "type": "number"
  35864. },
  35865. "qtydecimalplace": {
  35866. "description": "成交量小数位",
  35867. "type": "integer"
  35868. },
  35869. "tnqty": {
  35870. "description": "T+N冻结总量",
  35871. "type": "number"
  35872. },
  35873. "tnusedqty": {
  35874. "description": "T+N使用量(可以使用T+N的冻结数量)",
  35875. "type": "number"
  35876. },
  35877. "trademode": {
  35878. "description": "交易模式",
  35879. "type": "integer"
  35880. },
  35881. "usedmargin": {
  35882. "description": "占用保证金[商品币种]",
  35883. "type": "number"
  35884. }
  35885. }
  35886. },
  35887. "pb.GoodsMarginCfgStruct": {
  35888. "type": "object",
  35889. "properties": {
  35890. "CustomerTypeID": {
  35891. "description": "投资者客户类型",
  35892. "type": "integer"
  35893. },
  35894. "GoodsID": {
  35895. "description": "商品ID",
  35896. "type": "integer"
  35897. },
  35898. "IsDefault": {
  35899. "description": "是否默认标志位",
  35900. "type": "integer"
  35901. },
  35902. "LockMarginValue": {
  35903. "description": "锁仓保证金",
  35904. "type": "number"
  35905. },
  35906. "MarginAlgorithm": {
  35907. "description": "保证金计算方式",
  35908. "type": "integer"
  35909. },
  35910. "MarketMarginValue": {
  35911. "description": "即市保证金值",
  35912. "type": "number"
  35913. },
  35914. "RealMarginAlgorithm": {
  35915. "description": "实付保证金计算方式",
  35916. "type": "integer"
  35917. },
  35918. "RealMarginValue": {
  35919. "description": "实付比例",
  35920. "type": "number"
  35921. },
  35922. "ReckonMarginValue": {
  35923. "description": "结算保证金值",
  35924. "type": "number"
  35925. }
  35926. }
  35927. },
  35928. "quote.HistoryData": {
  35929. "type": "object",
  35930. "properties": {
  35931. "c": {
  35932. "description": "收盘价",
  35933. "type": "number"
  35934. },
  35935. "f": {
  35936. "description": "是否补充数据",
  35937. "type": "boolean"
  35938. },
  35939. "h": {
  35940. "description": "最高价",
  35941. "type": "number"
  35942. },
  35943. "hv": {
  35944. "description": "持仓量",
  35945. "type": "integer"
  35946. },
  35947. "l": {
  35948. "description": "最低价",
  35949. "type": "number"
  35950. },
  35951. "o": {
  35952. "description": "开盘价",
  35953. "type": "number"
  35954. },
  35955. "s": {
  35956. "description": "结算价,日线周期(包括)以上才有",
  35957. "type": "number"
  35958. },
  35959. "ts": {
  35960. "description": "时间",
  35961. "type": "string"
  35962. },
  35963. "tt": {
  35964. "description": "总金额",
  35965. "type": "number"
  35966. },
  35967. "tv": {
  35968. "description": "总量",
  35969. "type": "integer"
  35970. }
  35971. }
  35972. },
  35973. "quote.HistoryTikData": {
  35974. "type": "object",
  35975. "properties": {
  35976. "AV": {
  35977. "description": "卖量",
  35978. "type": "integer"
  35979. },
  35980. "Ask": {
  35981. "description": "卖价",
  35982. "type": "number"
  35983. },
  35984. "BV": {
  35985. "description": "买量",
  35986. "type": "integer"
  35987. },
  35988. "Bid": {
  35989. "description": "买价",
  35990. "type": "number"
  35991. },
  35992. "HI": {
  35993. "description": "单笔持仓",
  35994. "type": "integer"
  35995. },
  35996. "HV": {
  35997. "description": "持仓量",
  35998. "type": "integer"
  35999. },
  36000. "PE": {
  36001. "description": "现价",
  36002. "type": "number"
  36003. },
  36004. "TDR": {
  36005. "description": "交易方向,0:买 1:卖",
  36006. "type": "integer"
  36007. },
  36008. "TK": {
  36009. "description": "交易类型",
  36010. "type": "integer"
  36011. },
  36012. "TS": {
  36013. "description": "行情时间文本",
  36014. "type": "string"
  36015. },
  36016. "TT": {
  36017. "description": "现金额",
  36018. "type": "number"
  36019. },
  36020. "Vol": {
  36021. "description": "现量",
  36022. "type": "integer"
  36023. }
  36024. }
  36025. },
  36026. "quote.QueryQuoteDayRsp": {
  36027. "type": "object",
  36028. "properties": {
  36029. "ask": {
  36030. "description": "卖1",
  36031. "type": "number"
  36032. },
  36033. "ask10": {
  36034. "description": "卖10",
  36035. "type": "number"
  36036. },
  36037. "ask2": {
  36038. "description": "卖2",
  36039. "type": "number"
  36040. },
  36041. "ask3": {
  36042. "description": "卖3",
  36043. "type": "number"
  36044. },
  36045. "ask4": {
  36046. "description": "卖4",
  36047. "type": "number"
  36048. },
  36049. "ask5": {
  36050. "description": "卖5",
  36051. "type": "number"
  36052. },
  36053. "ask6": {
  36054. "description": "卖6",
  36055. "type": "number"
  36056. },
  36057. "ask7": {
  36058. "description": "卖7",
  36059. "type": "number"
  36060. },
  36061. "ask8": {
  36062. "description": "卖8",
  36063. "type": "number"
  36064. },
  36065. "ask9": {
  36066. "description": "卖9",
  36067. "type": "number"
  36068. },
  36069. "askorderid": {
  36070. "description": "卖单号1",
  36071. "type": "integer"
  36072. },
  36073. "askorderid2": {
  36074. "description": "卖单号2",
  36075. "type": "integer"
  36076. },
  36077. "askorderid3": {
  36078. "description": "卖单号3",
  36079. "type": "integer"
  36080. },
  36081. "askorderid4": {
  36082. "description": "卖单号4",
  36083. "type": "integer"
  36084. },
  36085. "askorderid5": {
  36086. "description": "卖单号5",
  36087. "type": "integer"
  36088. },
  36089. "askordervolume": {
  36090. "description": "卖单量1",
  36091. "type": "integer"
  36092. },
  36093. "askordervolume10": {
  36094. "description": "卖单量10",
  36095. "type": "integer"
  36096. },
  36097. "askordervolume2": {
  36098. "description": "卖单量2",
  36099. "type": "integer"
  36100. },
  36101. "askordervolume3": {
  36102. "description": "卖单量3",
  36103. "type": "integer"
  36104. },
  36105. "askordervolume4": {
  36106. "description": "卖单量4",
  36107. "type": "integer"
  36108. },
  36109. "askordervolume5": {
  36110. "description": "卖单量5",
  36111. "type": "integer"
  36112. },
  36113. "askordervolume6": {
  36114. "description": "卖单量6",
  36115. "type": "integer"
  36116. },
  36117. "askordervolume7": {
  36118. "description": "卖单量7",
  36119. "type": "integer"
  36120. },
  36121. "askordervolume8": {
  36122. "description": "卖单量8",
  36123. "type": "integer"
  36124. },
  36125. "askordervolume9": {
  36126. "description": "卖单量9",
  36127. "type": "integer"
  36128. },
  36129. "askqueueinfo": {
  36130. "description": "大利市卖港股用",
  36131. "type": "string"
  36132. },
  36133. "askvolume": {
  36134. "description": "卖量1",
  36135. "type": "integer"
  36136. },
  36137. "askvolume10": {
  36138. "description": "卖量10",
  36139. "type": "integer"
  36140. },
  36141. "askvolume2": {
  36142. "description": "卖量2",
  36143. "type": "integer"
  36144. },
  36145. "askvolume3": {
  36146. "description": "卖量3",
  36147. "type": "integer"
  36148. },
  36149. "askvolume4": {
  36150. "description": "卖量4",
  36151. "type": "integer"
  36152. },
  36153. "askvolume5": {
  36154. "description": "卖量5",
  36155. "type": "integer"
  36156. },
  36157. "askvolume6": {
  36158. "description": "卖量6",
  36159. "type": "integer"
  36160. },
  36161. "askvolume7": {
  36162. "description": "卖量7",
  36163. "type": "integer"
  36164. },
  36165. "askvolume8": {
  36166. "description": "卖量8",
  36167. "type": "integer"
  36168. },
  36169. "askvolume9": {
  36170. "description": "卖量9",
  36171. "type": "integer"
  36172. },
  36173. "averageprice": {
  36174. "description": "均价",
  36175. "type": "number"
  36176. },
  36177. "bid": {
  36178. "description": "买1",
  36179. "type": "number"
  36180. },
  36181. "bid10": {
  36182. "description": "买10",
  36183. "type": "number"
  36184. },
  36185. "bid2": {
  36186. "description": "买2",
  36187. "type": "number"
  36188. },
  36189. "bid3": {
  36190. "description": "买3",
  36191. "type": "number"
  36192. },
  36193. "bid4": {
  36194. "description": "买4",
  36195. "type": "number"
  36196. },
  36197. "bid5": {
  36198. "description": "买5",
  36199. "type": "number"
  36200. },
  36201. "bid6": {
  36202. "description": "买6",
  36203. "type": "number"
  36204. },
  36205. "bid7": {
  36206. "description": "买7",
  36207. "type": "number"
  36208. },
  36209. "bid8": {
  36210. "description": "买8",
  36211. "type": "number"
  36212. },
  36213. "bid9": {
  36214. "description": "买9",
  36215. "type": "number"
  36216. },
  36217. "bidorderid": {
  36218. "description": "买单号1",
  36219. "type": "integer"
  36220. },
  36221. "bidorderid2": {
  36222. "description": "买单号2",
  36223. "type": "integer"
  36224. },
  36225. "bidorderid3": {
  36226. "description": "买单号3",
  36227. "type": "integer"
  36228. },
  36229. "bidorderid4": {
  36230. "description": "买单号4",
  36231. "type": "integer"
  36232. },
  36233. "bidorderid5": {
  36234. "description": "买单号5",
  36235. "type": "integer"
  36236. },
  36237. "bidordervolume": {
  36238. "description": "买单量1",
  36239. "type": "integer"
  36240. },
  36241. "bidordervolume10": {
  36242. "description": "买单量10",
  36243. "type": "integer"
  36244. },
  36245. "bidordervolume2": {
  36246. "description": "买单量2",
  36247. "type": "integer"
  36248. },
  36249. "bidordervolume3": {
  36250. "description": "买单量3",
  36251. "type": "integer"
  36252. },
  36253. "bidordervolume4": {
  36254. "description": "买单量4",
  36255. "type": "integer"
  36256. },
  36257. "bidordervolume5": {
  36258. "description": "买单量5",
  36259. "type": "integer"
  36260. },
  36261. "bidordervolume6": {
  36262. "description": "买单量6",
  36263. "type": "integer"
  36264. },
  36265. "bidordervolume7": {
  36266. "description": "买单量7",
  36267. "type": "integer"
  36268. },
  36269. "bidordervolume8": {
  36270. "description": "买单量8",
  36271. "type": "integer"
  36272. },
  36273. "bidordervolume9": {
  36274. "description": "买单量9",
  36275. "type": "integer"
  36276. },
  36277. "bidqueueinfo": {
  36278. "description": "大利市买港股用",
  36279. "type": "string"
  36280. },
  36281. "bidvolume": {
  36282. "description": "买量1",
  36283. "type": "integer"
  36284. },
  36285. "bidvolume10": {
  36286. "description": "买量10",
  36287. "type": "integer"
  36288. },
  36289. "bidvolume2": {
  36290. "description": "买量2",
  36291. "type": "integer"
  36292. },
  36293. "bidvolume3": {
  36294. "description": "买量3",
  36295. "type": "integer"
  36296. },
  36297. "bidvolume4": {
  36298. "description": "买量4",
  36299. "type": "integer"
  36300. },
  36301. "bidvolume5": {
  36302. "description": "买量5",
  36303. "type": "integer"
  36304. },
  36305. "bidvolume6": {
  36306. "description": "买量6",
  36307. "type": "integer"
  36308. },
  36309. "bidvolume7": {
  36310. "description": "买量7",
  36311. "type": "integer"
  36312. },
  36313. "bidvolume8": {
  36314. "description": "买量8",
  36315. "type": "integer"
  36316. },
  36317. "bidvolume9": {
  36318. "description": "买量9",
  36319. "type": "integer"
  36320. },
  36321. "calloptionpremiums": {
  36322. "description": "认购期权1",
  36323. "type": "integer"
  36324. },
  36325. "calloptionpremiums2": {
  36326. "description": "认购期权2",
  36327. "type": "integer"
  36328. },
  36329. "calloptionpremiums3": {
  36330. "description": "认购期权3",
  36331. "type": "integer"
  36332. },
  36333. "calloptionpremiums4": {
  36334. "description": "认购期权4",
  36335. "type": "integer"
  36336. },
  36337. "calloptionpremiums5": {
  36338. "description": "认购期权5",
  36339. "type": "integer"
  36340. },
  36341. "cleartime": {
  36342. "description": "清盘时间",
  36343. "type": "integer"
  36344. },
  36345. "exchangecode": {
  36346. "description": "交易所代码",
  36347. "type": "integer"
  36348. },
  36349. "exchangedate": {
  36350. "description": "交易日",
  36351. "type": "integer"
  36352. },
  36353. "goodscode": {
  36354. "description": "商品代码",
  36355. "type": "string"
  36356. },
  36357. "grepmarketprice": {
  36358. "description": "暗盘价 港股专用",
  36359. "type": "number"
  36360. },
  36361. "highest": {
  36362. "description": "最高价",
  36363. "type": "number"
  36364. },
  36365. "holdincrement": {
  36366. "description": "单笔持仓",
  36367. "type": "integer"
  36368. },
  36369. "holdvolume": {
  36370. "description": "持仓",
  36371. "type": "integer"
  36372. },
  36373. "iep": {
  36374. "description": "平衡价 港股专用",
  36375. "type": "number"
  36376. },
  36377. "iev": {
  36378. "description": "平衡量 港股专用",
  36379. "type": "number"
  36380. },
  36381. "inventory": {
  36382. "description": "库存",
  36383. "type": "integer"
  36384. },
  36385. "iscleared": {
  36386. "description": "是否清盘标志",
  36387. "type": "integer"
  36388. },
  36389. "issettled": {
  36390. "description": "是否结算标志",
  36391. "type": "integer"
  36392. },
  36393. "last": {
  36394. "description": "最新价",
  36395. "type": "number"
  36396. },
  36397. "lastlot": {
  36398. "description": "最新成交手数",
  36399. "type": "integer"
  36400. },
  36401. "lasttime": {
  36402. "description": "行情时间(只有现价变化行情时间才变化)",
  36403. "type": "string"
  36404. },
  36405. "lastturnover": {
  36406. "description": "最新成交金额",
  36407. "type": "number"
  36408. },
  36409. "lastvolume": {
  36410. "description": "最新成交量",
  36411. "type": "integer"
  36412. },
  36413. "limitdown": {
  36414. "description": "跌停价",
  36415. "type": "number"
  36416. },
  36417. "limitup": {
  36418. "description": "涨停价",
  36419. "type": "number"
  36420. },
  36421. "lowest": {
  36422. "description": "最低价",
  36423. "type": "number"
  36424. },
  36425. "nontotalholdervolume": {
  36426. "description": "非交易持仓量",
  36427. "type": "integer"
  36428. },
  36429. "nontotallot": {
  36430. "description": "非交易总手数",
  36431. "type": "integer"
  36432. },
  36433. "nontotalturnover": {
  36434. "description": "非交易总金额",
  36435. "type": "integer"
  36436. },
  36437. "nontotalvolume": {
  36438. "description": "非交易总量",
  36439. "type": "integer"
  36440. },
  36441. "opened": {
  36442. "description": "开盘价",
  36443. "type": "number"
  36444. },
  36445. "opentime": {
  36446. "description": "开盘时间",
  36447. "type": "string"
  36448. },
  36449. "orderid": {
  36450. "description": "序号",
  36451. "type": "integer"
  36452. },
  36453. "preclose": {
  36454. "description": "昨收",
  36455. "type": "number"
  36456. },
  36457. "preholdvolume": {
  36458. "description": "昨持仓",
  36459. "type": "integer"
  36460. },
  36461. "presettle": {
  36462. "description": "昨结价",
  36463. "type": "number"
  36464. },
  36465. "publictradetype": {
  36466. "description": "公共交易标志类型 港股专用",
  36467. "type": "string"
  36468. },
  36469. "putoptionpremiums": {
  36470. "description": "认沽期权1",
  36471. "type": "integer"
  36472. },
  36473. "putoptionpremiums2": {
  36474. "description": "认沽期权2",
  36475. "type": "integer"
  36476. },
  36477. "putoptionpremiums3": {
  36478. "description": "认沽期权3",
  36479. "type": "integer"
  36480. },
  36481. "putoptionpremiums4": {
  36482. "description": "认沽期权4",
  36483. "type": "integer"
  36484. },
  36485. "putoptionpremiums5": {
  36486. "description": "认沽期权5",
  36487. "type": "integer"
  36488. },
  36489. "settle": {
  36490. "description": "结算价",
  36491. "type": "number"
  36492. },
  36493. "strikeprice": {
  36494. "description": "发行价",
  36495. "type": "number"
  36496. },
  36497. "totalaskvolume": {
  36498. "description": "内盘",
  36499. "type": "integer"
  36500. },
  36501. "totalbidvolume": {
  36502. "description": "外盘",
  36503. "type": "integer"
  36504. },
  36505. "totallot": {
  36506. "description": "总手数",
  36507. "type": "integer"
  36508. },
  36509. "totalturnover": {
  36510. "description": "总金额",
  36511. "type": "number"
  36512. },
  36513. "totalvolume": {
  36514. "description": "总量",
  36515. "type": "integer"
  36516. },
  36517. "utclasttime": {
  36518. "description": "utc的行情时间",
  36519. "type": "string"
  36520. }
  36521. }
  36522. },
  36523. "quote.QueryTSDataRsp": {
  36524. "type": "object",
  36525. "properties": {
  36526. "Count": {
  36527. "description": "交易日应有数据个数",
  36528. "type": "integer"
  36529. },
  36530. "decimalPlace": {
  36531. "description": "小数位",
  36532. "type": "integer"
  36533. },
  36534. "endTime": {
  36535. "description": "结束时间",
  36536. "type": "string"
  36537. },
  36538. "goodsCode": {
  36539. "description": "商品代码",
  36540. "type": "string"
  36541. },
  36542. "historyDatas": {
  36543. "description": "历史数据",
  36544. "type": "array",
  36545. "items": {
  36546. "$ref": "#/definitions/quote.HistoryData"
  36547. }
  36548. },
  36549. "outGoodsCode": {
  36550. "description": "外部商品代码",
  36551. "type": "string"
  36552. },
  36553. "preSettle": {
  36554. "description": "昨结价",
  36555. "type": "number"
  36556. },
  36557. "runSteps": {
  36558. "description": "交易日开休市计划",
  36559. "type": "array",
  36560. "items": {
  36561. "$ref": "#/definitions/quote.TSDataRunStep"
  36562. }
  36563. },
  36564. "startTime": {
  36565. "description": "开始时间",
  36566. "type": "string"
  36567. },
  36568. "tradeDate": {
  36569. "description": "交易日",
  36570. "type": "string"
  36571. }
  36572. }
  36573. },
  36574. "quote.TSDataRunStep": {
  36575. "type": "object",
  36576. "properties": {
  36577. "end": {
  36578. "description": "真实结束时间",
  36579. "type": "string"
  36580. },
  36581. "endflag": {
  36582. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  36583. "type": "integer"
  36584. },
  36585. "endtime": {
  36586. "description": "结束时间(HH:mm)",
  36587. "type": "string"
  36588. },
  36589. "endweekday": {
  36590. "description": "结束周几",
  36591. "type": "integer"
  36592. },
  36593. "groupid": {
  36594. "description": "分组ID",
  36595. "type": "integer"
  36596. },
  36597. "runstep": {
  36598. "description": "运行阶段 - 2:连续交易",
  36599. "type": "integer"
  36600. },
  36601. "sectionid": {
  36602. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  36603. "type": "integer"
  36604. },
  36605. "start": {
  36606. "description": "真实开始时间",
  36607. "type": "string"
  36608. },
  36609. "startflag": {
  36610. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  36611. "type": "integer"
  36612. },
  36613. "starttime": {
  36614. "description": "起始时间(HH:mm)",
  36615. "type": "string"
  36616. },
  36617. "startweekday": {
  36618. "description": "起始周几",
  36619. "type": "integer"
  36620. },
  36621. "tradeweekday": {
  36622. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  36623. "type": "integer"
  36624. }
  36625. }
  36626. },
  36627. "szdz.QueryConvertLogRsp": {
  36628. "type": "object",
  36629. "required": [
  36630. "logid"
  36631. ],
  36632. "properties": {
  36633. "accountid": {
  36634. "description": "资金账户ID",
  36635. "type": "integer"
  36636. },
  36637. "clientticket": {
  36638. "description": "客户端流水号",
  36639. "type": "string"
  36640. },
  36641. "converttype": {
  36642. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  36643. "type": "integer"
  36644. },
  36645. "createtime": {
  36646. "description": "记账时间",
  36647. "type": "string"
  36648. },
  36649. "daymaxvalue": {
  36650. "description": "配置当日最大转入限制",
  36651. "type": "number"
  36652. },
  36653. "daymaxvalue2": {
  36654. "description": "配置当日最大转入限制(转入)",
  36655. "type": "number"
  36656. },
  36657. "goodscode": {
  36658. "description": "商品代码",
  36659. "type": "string"
  36660. },
  36661. "goodsname": {
  36662. "description": "商品名称",
  36663. "type": "string"
  36664. },
  36665. "handlestatus": {
  36666. "description": "处理状态",
  36667. "type": "integer"
  36668. },
  36669. "innergoodsid": {
  36670. "description": "内部商品ID",
  36671. "type": "integer"
  36672. },
  36673. "inratio": {
  36674. "description": "配置转入比值",
  36675. "type": "integer"
  36676. },
  36677. "invalue": {
  36678. "description": "目标值",
  36679. "type": "number"
  36680. },
  36681. "logid": {
  36682. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36683. "type": "integer"
  36684. },
  36685. "mobile": {
  36686. "description": "手机号码(加密存储)",
  36687. "type": "string"
  36688. },
  36689. "outergoodscode": {
  36690. "description": "外部商品代码[JD\\PD]",
  36691. "type": "string"
  36692. },
  36693. "outratio": {
  36694. "description": "配置转出比值",
  36695. "type": "integer"
  36696. },
  36697. "outvalue": {
  36698. "description": "源值",
  36699. "type": "number"
  36700. },
  36701. "pddecimalplace": {
  36702. "description": "PD小数位",
  36703. "type": "integer"
  36704. },
  36705. "qty": {
  36706. "description": "数量",
  36707. "type": "string"
  36708. },
  36709. "remark": {
  36710. "description": "备注",
  36711. "type": "string"
  36712. },
  36713. "sessionid": {
  36714. "description": "会话ID",
  36715. "type": "integer"
  36716. },
  36717. "timemaxvalue": {
  36718. "description": "配置单次最大转入限制",
  36719. "type": "number"
  36720. },
  36721. "timemaxvalue2": {
  36722. "description": "配置单次最大转入限制(转入)",
  36723. "type": "number"
  36724. },
  36725. "timeminvalue": {
  36726. "description": "配置单次最小数量限制",
  36727. "type": "number"
  36728. },
  36729. "timeminvalue2": {
  36730. "description": "配置单次最小数量限制(转入)",
  36731. "type": "number"
  36732. },
  36733. "tradedate": {
  36734. "description": "交易日(yyyyMMdd)",
  36735. "type": "string"
  36736. },
  36737. "userid": {
  36738. "description": "用户ID",
  36739. "type": "integer"
  36740. }
  36741. }
  36742. },
  36743. "szdz.QueryGoodsPickupRsp": {
  36744. "type": "object",
  36745. "required": [
  36746. "takeorderid"
  36747. ],
  36748. "properties": {
  36749. "accountid": {
  36750. "description": "账户ID",
  36751. "type": "integer"
  36752. },
  36753. "address": {
  36754. "description": "提货人详细地址",
  36755. "type": "string"
  36756. },
  36757. "auditer": {
  36758. "description": "审核人",
  36759. "type": "integer"
  36760. },
  36761. "audittime": {
  36762. "description": "审核时间",
  36763. "type": "string"
  36764. },
  36765. "cardnum": {
  36766. "description": "提货人证件号码",
  36767. "type": "string"
  36768. },
  36769. "cardtypeid": {
  36770. "description": "提货人证件类型",
  36771. "type": "integer"
  36772. },
  36773. "checkremark": {
  36774. "description": "审核备注",
  36775. "type": "string"
  36776. },
  36777. "goodscode": {
  36778. "description": "商品代码",
  36779. "type": "string"
  36780. },
  36781. "goodsid": {
  36782. "description": "商品ID",
  36783. "type": "integer"
  36784. },
  36785. "goodsname": {
  36786. "description": "商品名称",
  36787. "type": "string"
  36788. },
  36789. "handlestatus": {
  36790. "description": "处理状态",
  36791. "type": "integer"
  36792. },
  36793. "marketid": {
  36794. "description": "市场ID",
  36795. "type": "integer"
  36796. },
  36797. "phonenum": {
  36798. "description": "提货人联系方式",
  36799. "type": "string"
  36800. },
  36801. "qty": {
  36802. "description": "提货数量",
  36803. "type": "number"
  36804. },
  36805. "recivername": {
  36806. "description": "提货人姓名",
  36807. "type": "string"
  36808. },
  36809. "reqtime": {
  36810. "description": "更新时间",
  36811. "type": "string"
  36812. },
  36813. "takemode": {
  36814. "description": "提货方式 - 2:自提 3:配送",
  36815. "type": "integer"
  36816. },
  36817. "takeorderid": {
  36818. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  36819. "type": "string"
  36820. },
  36821. "takeorderstatus": {
  36822. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  36823. "type": "integer"
  36824. },
  36825. "takeremark": {
  36826. "description": "提货备注",
  36827. "type": "string"
  36828. },
  36829. "tradedate": {
  36830. "description": "交易日(yyyyMMdd)",
  36831. "type": "string"
  36832. },
  36833. "userid": {
  36834. "description": "用户ID",
  36835. "type": "integer"
  36836. }
  36837. }
  36838. },
  36839. "szdz.QueryRecieptOrderRsp": {
  36840. "type": "object",
  36841. "required": [
  36842. "ordertime"
  36843. ],
  36844. "properties": {
  36845. "accountName": {
  36846. "description": "所属账号名称(已脱敏)",
  36847. "type": "string"
  36848. },
  36849. "accountid": {
  36850. "description": "资金账号",
  36851. "type": "integer"
  36852. },
  36853. "buyorsell": {
  36854. "description": "方向 - 0:买 1:卖",
  36855. "type": "integer"
  36856. },
  36857. "enableqty": {
  36858. "description": "可摘数量",
  36859. "type": "integer"
  36860. },
  36861. "goodscode": {
  36862. "description": "商品代码",
  36863. "type": "string"
  36864. },
  36865. "goodsid": {
  36866. "description": "商品ID",
  36867. "type": "integer"
  36868. },
  36869. "goodsname": {
  36870. "description": "商品名称",
  36871. "type": "string"
  36872. },
  36873. "orderid": {
  36874. "description": "委托单号",
  36875. "type": "string"
  36876. },
  36877. "orderprice": {
  36878. "description": "委托价格",
  36879. "type": "number"
  36880. },
  36881. "ordertime": {
  36882. "description": "委托时间",
  36883. "type": "string"
  36884. },
  36885. "tradedate": {
  36886. "description": "交易日(yyyyMMdd)",
  36887. "type": "string"
  36888. }
  36889. }
  36890. },
  36891. "szdz.QuerySZDZTradePositionRsp": {
  36892. "type": "object",
  36893. "properties": {
  36894. "accountid": {
  36895. "description": "账号Id",
  36896. "type": "integer"
  36897. },
  36898. "agreeunit": {
  36899. "description": "合约单位",
  36900. "type": "number"
  36901. },
  36902. "averageprice": {
  36903. "description": "持仓均价",
  36904. "type": "number"
  36905. },
  36906. "buyorsell": {
  36907. "description": "方向 - 0:买 1:卖",
  36908. "type": "integer"
  36909. },
  36910. "closetotalqty": {
  36911. "description": "平仓总数量",
  36912. "type": "integer"
  36913. },
  36914. "curholderamount": {
  36915. "description": "当前持仓总金额",
  36916. "type": "number"
  36917. },
  36918. "curpositionqty": {
  36919. "description": "当前持仓总数量",
  36920. "type": "integer"
  36921. },
  36922. "currencyid": {
  36923. "description": "报价货币ID",
  36924. "type": "integer"
  36925. },
  36926. "curtdposition": {
  36927. "description": "期末今日头寸",
  36928. "type": "integer"
  36929. },
  36930. "decimalplace": {
  36931. "description": "报价小数位",
  36932. "type": "integer"
  36933. },
  36934. "enableqty": {
  36935. "description": "可用量",
  36936. "type": "integer"
  36937. },
  36938. "fretdposition": {
  36939. "description": "冻结今日头寸",
  36940. "type": "integer"
  36941. },
  36942. "frozenqty": {
  36943. "description": "持仓冻结数量",
  36944. "type": "integer"
  36945. },
  36946. "goodscode": {
  36947. "description": "商品代码(内部)",
  36948. "type": "string"
  36949. },
  36950. "goodsid": {
  36951. "description": "商品Id",
  36952. "type": "integer"
  36953. },
  36954. "goodsname": {
  36955. "description": "商品名称",
  36956. "type": "string"
  36957. },
  36958. "goodunit": {
  36959. "description": "报价单位",
  36960. "type": "string"
  36961. },
  36962. "goodunitid": {
  36963. "description": "报价单位ID",
  36964. "type": "integer"
  36965. },
  36966. "holderamount": {
  36967. "description": "期初持仓总金额",
  36968. "type": "number"
  36969. },
  36970. "marketid": {
  36971. "description": "市场ID",
  36972. "type": "integer"
  36973. },
  36974. "openreqqty": {
  36975. "description": "开仓申请数量",
  36976. "type": "integer"
  36977. },
  36978. "opentotalqty": {
  36979. "description": "开仓总数量",
  36980. "type": "integer"
  36981. },
  36982. "otherfrozenqty": {
  36983. "description": "持仓其他冻结数量(交割冻结)",
  36984. "type": "integer"
  36985. },
  36986. "positionqty": {
  36987. "description": "期初持仓数量",
  36988. "type": "integer"
  36989. },
  36990. "szdz3freezqty": {
  36991. "description": "尚志大宗转换冻结总数量",
  36992. "type": "integer"
  36993. },
  36994. "tnqty": {
  36995. "description": "T+N冻结总量",
  36996. "type": "integer"
  36997. },
  36998. "tnusedqty": {
  36999. "description": "T+N使用量",
  37000. "type": "integer"
  37001. },
  37002. "trademode": {
  37003. "description": "交易模式",
  37004. "type": "integer"
  37005. },
  37006. "usedmargin": {
  37007. "description": "占用保证金",
  37008. "type": "number"
  37009. }
  37010. }
  37011. },
  37012. "taaccount.QueryAmountLogRsp": {
  37013. "type": "object",
  37014. "required": [
  37015. "accountid",
  37016. "amount",
  37017. "amountadjusttype",
  37018. "autoid",
  37019. "balance",
  37020. "createtime",
  37021. "currentbalance",
  37022. "operatetype"
  37023. ],
  37024. "properties": {
  37025. "OPERATETYPENAME": {
  37026. "description": "资金操作类型名称",
  37027. "type": "string"
  37028. },
  37029. "accountid": {
  37030. "description": "资金账户ID",
  37031. "type": "integer"
  37032. },
  37033. "agoodscode": {
  37034. "description": "竞拍商品代码",
  37035. "type": "string"
  37036. },
  37037. "agoodsname": {
  37038. "description": "竞拍商品名称",
  37039. "type": "string"
  37040. },
  37041. "amount": {
  37042. "description": "资金金额",
  37043. "type": "number"
  37044. },
  37045. "amountadjusttype": {
  37046. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  37047. "type": "integer"
  37048. },
  37049. "autoid": {
  37050. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  37051. "type": "integer"
  37052. },
  37053. "balance": {
  37054. "description": "期初余额",
  37055. "type": "number"
  37056. },
  37057. "businesscode": {
  37058. "description": "业务编号",
  37059. "type": "integer"
  37060. },
  37061. "createtime": {
  37062. "description": "发生时间",
  37063. "type": "string"
  37064. },
  37065. "currencyid": {
  37066. "description": "币种ID",
  37067. "type": "integer"
  37068. },
  37069. "currentbalance": {
  37070. "description": "期末余额(变动后金额)",
  37071. "type": "number"
  37072. },
  37073. "dgoodscode": {
  37074. "description": "交割商品代码",
  37075. "type": "string"
  37076. },
  37077. "dgoodsname": {
  37078. "description": "交割商品名称",
  37079. "type": "string"
  37080. },
  37081. "goodscode": {
  37082. "description": "商品代码",
  37083. "type": "string"
  37084. },
  37085. "goodsid": {
  37086. "description": "商品ID",
  37087. "type": "integer"
  37088. },
  37089. "goodsname": {
  37090. "description": "商品名称",
  37091. "type": "string"
  37092. },
  37093. "marketid": {
  37094. "description": "市场ID",
  37095. "type": "integer"
  37096. },
  37097. "marketname": {
  37098. "description": "市场名称",
  37099. "type": "string"
  37100. },
  37101. "moneyticket": {
  37102. "description": "资金流水号:银行端流水号",
  37103. "type": "integer"
  37104. },
  37105. "operatetype": {
  37106. "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:营销收款",
  37107. "type": "integer"
  37108. },
  37109. "relationorderid": {
  37110. "description": "关联单号",
  37111. "type": "string"
  37112. },
  37113. "remark": {
  37114. "description": "备注",
  37115. "type": "string"
  37116. },
  37117. "trademode": {
  37118. "description": "交易模式",
  37119. "type": "integer"
  37120. }
  37121. }
  37122. },
  37123. "taaccount.QueryHisAmountLogRsp": {
  37124. "type": "object",
  37125. "required": [
  37126. "accountid",
  37127. "amount",
  37128. "amountadjusttype",
  37129. "autoid",
  37130. "balance",
  37131. "createtime",
  37132. "currentbalance",
  37133. "histradedate",
  37134. "operatetype"
  37135. ],
  37136. "properties": {
  37137. "OPERATETYPENAME": {
  37138. "description": "资金操作类型名称",
  37139. "type": "string"
  37140. },
  37141. "accountid": {
  37142. "description": "资金账户ID",
  37143. "type": "integer"
  37144. },
  37145. "agoodscode": {
  37146. "description": "竞拍商品代码",
  37147. "type": "string"
  37148. },
  37149. "agoodsname": {
  37150. "description": "竞拍商品名称",
  37151. "type": "string"
  37152. },
  37153. "amount": {
  37154. "description": "资金金额",
  37155. "type": "number"
  37156. },
  37157. "amountadjusttype": {
  37158. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  37159. "type": "integer"
  37160. },
  37161. "autoid": {
  37162. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  37163. "type": "integer"
  37164. },
  37165. "balance": {
  37166. "description": "期初余额",
  37167. "type": "number"
  37168. },
  37169. "businesscode": {
  37170. "description": "业务编号",
  37171. "type": "integer"
  37172. },
  37173. "createtime": {
  37174. "description": "发生时间",
  37175. "type": "string"
  37176. },
  37177. "currencyid": {
  37178. "description": "币种ID",
  37179. "type": "integer"
  37180. },
  37181. "currentbalance": {
  37182. "description": "期末余额(变动后金额)",
  37183. "type": "number"
  37184. },
  37185. "dgoodscode": {
  37186. "description": "交割商品代码",
  37187. "type": "string"
  37188. },
  37189. "dgoodsname": {
  37190. "description": "交割商品名称",
  37191. "type": "string"
  37192. },
  37193. "goodscode": {
  37194. "description": "商品代码",
  37195. "type": "string"
  37196. },
  37197. "goodsid": {
  37198. "description": "商品ID",
  37199. "type": "integer"
  37200. },
  37201. "goodsname": {
  37202. "description": "商品名称",
  37203. "type": "string"
  37204. },
  37205. "histradedate": {
  37206. "description": "历史交易日",
  37207. "type": "string"
  37208. },
  37209. "isvaliddata": {
  37210. "description": "是否有效 - 0:无效 1:有效",
  37211. "type": "integer"
  37212. },
  37213. "marketid": {
  37214. "description": "市场ID",
  37215. "type": "integer"
  37216. },
  37217. "marketname": {
  37218. "description": "市场名称",
  37219. "type": "string"
  37220. },
  37221. "moneyticket": {
  37222. "description": "资金流水号:银行端流水号",
  37223. "type": "integer"
  37224. },
  37225. "operatetype": {
  37226. "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:营销收款",
  37227. "type": "integer"
  37228. },
  37229. "relationorderid": {
  37230. "description": "关联单号",
  37231. "type": "string"
  37232. },
  37233. "remark": {
  37234. "description": "备注",
  37235. "type": "string"
  37236. },
  37237. "trademode": {
  37238. "description": "交易模式",
  37239. "type": "integer"
  37240. }
  37241. }
  37242. },
  37243. "trade.QueryRecieptOrderRsp": {
  37244. "type": "object",
  37245. "required": [
  37246. "ordertime"
  37247. ],
  37248. "properties": {
  37249. "accountName": {
  37250. "description": "所属账号名称(已脱敏)",
  37251. "type": "string"
  37252. },
  37253. "accountid": {
  37254. "description": "资金账号",
  37255. "type": "integer"
  37256. },
  37257. "buyorsell": {
  37258. "description": "方向 - 0:买 1:卖",
  37259. "type": "integer"
  37260. },
  37261. "enableqty": {
  37262. "description": "可摘数量",
  37263. "type": "integer"
  37264. },
  37265. "goodscode": {
  37266. "description": "商品代码",
  37267. "type": "string"
  37268. },
  37269. "goodsid": {
  37270. "description": "商品ID",
  37271. "type": "integer"
  37272. },
  37273. "goodsname": {
  37274. "description": "商品名称",
  37275. "type": "string"
  37276. },
  37277. "orderid": {
  37278. "description": "委托单号",
  37279. "type": "string"
  37280. },
  37281. "orderprice": {
  37282. "description": "委托价格",
  37283. "type": "number"
  37284. },
  37285. "ordertime": {
  37286. "description": "委托时间",
  37287. "type": "string"
  37288. },
  37289. "tradedate": {
  37290. "description": "交易日(yyyyMMdd)",
  37291. "type": "string"
  37292. }
  37293. }
  37294. },
  37295. "user.LoginQueryRsp": {
  37296. "type": "object",
  37297. "properties": {
  37298. "areaRoles": {
  37299. "description": "所属角色信息",
  37300. "type": "array",
  37301. "items": {
  37302. "$ref": "#/definitions/models.Arearole"
  37303. }
  37304. },
  37305. "externalExchanges": {
  37306. "description": "外部交易所",
  37307. "type": "array",
  37308. "items": {
  37309. "$ref": "#/definitions/models.Externalexchange"
  37310. }
  37311. },
  37312. "goodsgroups": {
  37313. "description": "商品组",
  37314. "type": "array",
  37315. "items": {
  37316. "$ref": "#/definitions/models.Goodsgroup"
  37317. }
  37318. },
  37319. "loginAccount": {
  37320. "description": "登录账号",
  37321. "type": "object",
  37322. "$ref": "#/definitions/models.Loginaccount"
  37323. },
  37324. "markets": {
  37325. "description": "市场",
  37326. "type": "array",
  37327. "items": {
  37328. "$ref": "#/definitions/models.Market"
  37329. }
  37330. },
  37331. "systemParams": {
  37332. "description": "系统参数",
  37333. "type": "array",
  37334. "items": {
  37335. "$ref": "#/definitions/models.Systemparam"
  37336. }
  37337. },
  37338. "userAccount": {
  37339. "description": "用户账号",
  37340. "type": "object",
  37341. "$ref": "#/definitions/models.Useraccount"
  37342. },
  37343. "userInfo": {
  37344. "description": "用户信息",
  37345. "type": "object",
  37346. "$ref": "#/definitions/models.Userinfo"
  37347. },
  37348. "username": {
  37349. "description": "用户姓名",
  37350. "type": "string"
  37351. }
  37352. }
  37353. }
  37354. },
  37355. "securityDefinitions": {
  37356. "ApiKeyAuth": {
  37357. "type": "apiKey",
  37358. "name": "Authorization",
  37359. "in": "header"
  37360. }
  37361. }
  37362. }