swagger.json 1.6 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992
  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. "version": "1.0"
  9. },
  10. "paths": {
  11. "/CPTrade/QueryCPTradeMyBidInfos": {
  12. "get": {
  13. "security": [
  14. {
  15. "ApiKeyAuth": []
  16. }
  17. ],
  18. "produces": [
  19. "application/json"
  20. ],
  21. "tags": [
  22. "产能预售"
  23. ],
  24. "summary": "查询产能预售我的出价信息",
  25. "parameters": [
  26. {
  27. "type": "integer",
  28. "description": "资金账户",
  29. "name": "accountid",
  30. "in": "query",
  31. "required": true
  32. },
  33. {
  34. "type": "integer",
  35. "description": "预售市场ID",
  36. "name": "marketid",
  37. "in": "query"
  38. },
  39. {
  40. "type": "integer",
  41. "description": "预售商品ID",
  42. "name": "goodsid",
  43. "in": "query"
  44. }
  45. ],
  46. "responses": {
  47. "200": {
  48. "description": "OK",
  49. "schema": {
  50. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  51. }
  52. },
  53. "500": {
  54. "description": "Internal Server Error",
  55. "schema": {
  56. "$ref": "#/definitions/app.Response"
  57. }
  58. }
  59. }
  60. }
  61. },
  62. "/CPTrade/QueryCPTradeOrderDetail": {
  63. "get": {
  64. "security": [
  65. {
  66. "ApiKeyAuth": []
  67. }
  68. ],
  69. "produces": [
  70. "application/json"
  71. ],
  72. "tags": [
  73. "产能预售"
  74. ],
  75. "summary": "查询产能预售委托单信息",
  76. "parameters": [
  77. {
  78. "type": "integer",
  79. "description": "预售商品ID",
  80. "name": "goodsid",
  81. "in": "query"
  82. },
  83. {
  84. "type": "integer",
  85. "description": "预售市场ID",
  86. "name": "marketid",
  87. "in": "query"
  88. },
  89. {
  90. "type": "string",
  91. "description": "预售商品ID列表 - 格式:1,2,3",
  92. "name": "goodsids",
  93. "in": "query"
  94. }
  95. ],
  96. "responses": {
  97. "200": {
  98. "description": "OK",
  99. "schema": {
  100. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  101. }
  102. },
  103. "500": {
  104. "description": "Internal Server Error",
  105. "schema": {
  106. "$ref": "#/definitions/app.Response"
  107. }
  108. }
  109. }
  110. }
  111. },
  112. "/CPTrade/QueryMyCPTradeGoods": {
  113. "get": {
  114. "security": [
  115. {
  116. "ApiKeyAuth": []
  117. }
  118. ],
  119. "produces": [
  120. "application/json"
  121. ],
  122. "tags": [
  123. "产能预售"
  124. ],
  125. "summary": "查询我的预售信息",
  126. "parameters": [
  127. {
  128. "type": "integer",
  129. "description": "资金账户",
  130. "name": "accountid",
  131. "in": "query",
  132. "required": true
  133. }
  134. ],
  135. "responses": {
  136. "200": {
  137. "description": "OK",
  138. "schema": {
  139. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  140. }
  141. },
  142. "500": {
  143. "description": "Internal Server Error",
  144. "schema": {
  145. "$ref": "#/definitions/app.Response"
  146. }
  147. }
  148. }
  149. }
  150. },
  151. "/CPTrade/QueryPositionCancel": {
  152. "get": {
  153. "security": [
  154. {
  155. "ApiKeyAuth": []
  156. }
  157. ],
  158. "produces": [
  159. "application/json"
  160. ],
  161. "tags": [
  162. "产能预售"
  163. ],
  164. "summary": "查询远期订单注销申请信息",
  165. "parameters": [
  166. {
  167. "type": "integer",
  168. "description": "账户ID",
  169. "name": "userid",
  170. "in": "query",
  171. "required": true
  172. },
  173. {
  174. "type": "integer",
  175. "description": "注销ID",
  176. "name": "cancelid",
  177. "in": "query"
  178. },
  179. {
  180. "type": "integer",
  181. "description": "资金账户ID",
  182. "name": "accountid",
  183. "in": "query"
  184. }
  185. ],
  186. "responses": {
  187. "200": {
  188. "description": "OK",
  189. "schema": {
  190. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  191. }
  192. },
  193. "500": {
  194. "description": "Internal Server Error",
  195. "schema": {
  196. "$ref": "#/definitions/app.Response"
  197. }
  198. }
  199. }
  200. }
  201. },
  202. "/CPTrade/QueryPreasleApply": {
  203. "get": {
  204. "security": [
  205. {
  206. "ApiKeyAuth": []
  207. }
  208. ],
  209. "produces": [
  210. "application/json"
  211. ],
  212. "tags": [
  213. "产能预售"
  214. ],
  215. "summary": "查询产能预售申请信息",
  216. "parameters": [
  217. {
  218. "type": "integer",
  219. "description": "账户ID",
  220. "name": "userid",
  221. "in": "query",
  222. "required": true
  223. },
  224. {
  225. "type": "integer",
  226. "description": "申请ID",
  227. "name": "applyid",
  228. "in": "query"
  229. },
  230. {
  231. "type": "integer",
  232. "description": "资金账户ID",
  233. "name": "accountid",
  234. "in": "query"
  235. }
  236. ],
  237. "responses": {
  238. "200": {
  239. "description": "OK",
  240. "schema": {
  241. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  242. }
  243. },
  244. "500": {
  245. "description": "Internal Server Error",
  246. "schema": {
  247. "$ref": "#/definitions/app.Response"
  248. }
  249. }
  250. }
  251. }
  252. },
  253. "/CPTrade/QueryPresaleGoodsEx": {
  254. "get": {
  255. "security": [
  256. {
  257. "ApiKeyAuth": []
  258. }
  259. ],
  260. "produces": [
  261. "application/json"
  262. ],
  263. "tags": [
  264. "产能预售"
  265. ],
  266. "summary": "查询产能预售商品扩展信息",
  267. "parameters": [
  268. {
  269. "type": "integer",
  270. "description": "预售商品ID",
  271. "name": "goodsid",
  272. "in": "query"
  273. },
  274. {
  275. "type": "integer",
  276. "description": "预售市场ID",
  277. "name": "marketid",
  278. "in": "query"
  279. },
  280. {
  281. "type": "integer",
  282. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  283. "name": "presalemode",
  284. "in": "query"
  285. },
  286. {
  287. "type": "string",
  288. "description": "预售商品ID列表 - 格式:1,2,3",
  289. "name": "goodsids",
  290. "in": "query"
  291. },
  292. {
  293. "type": "string",
  294. "description": "预售商品代码",
  295. "name": "goodscode",
  296. "in": "query"
  297. }
  298. ],
  299. "responses": {
  300. "200": {
  301. "description": "OK",
  302. "schema": {
  303. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  304. }
  305. },
  306. "500": {
  307. "description": "Internal Server Error",
  308. "schema": {
  309. "$ref": "#/definitions/app.Response"
  310. }
  311. }
  312. }
  313. }
  314. },
  315. "/CPTrade/QueryUserGoodsData": {
  316. "get": {
  317. "security": [
  318. {
  319. "ApiKeyAuth": []
  320. }
  321. ],
  322. "produces": [
  323. "application/json"
  324. ],
  325. "tags": [
  326. "产能预售"
  327. ],
  328. "summary": "查询远期订单信息",
  329. "parameters": [
  330. {
  331. "type": "integer",
  332. "description": "资金账户ID",
  333. "name": "accountid",
  334. "in": "query",
  335. "required": true
  336. }
  337. ],
  338. "responses": {
  339. "200": {
  340. "description": "OK",
  341. "schema": {
  342. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  343. }
  344. },
  345. "500": {
  346. "description": "Internal Server Error",
  347. "schema": {
  348. "$ref": "#/definitions/app.Response"
  349. }
  350. }
  351. }
  352. }
  353. },
  354. "/Common/DeleteNewFuncmenu": {
  355. "delete": {
  356. "security": [
  357. {
  358. "ApiKeyAuth": []
  359. }
  360. ],
  361. "consumes": [
  362. "application/json"
  363. ],
  364. "produces": [
  365. "application/json"
  366. ],
  367. "tags": [
  368. "通用服务"
  369. ],
  370. "summary": "删除菜单表数据",
  371. "parameters": [
  372. {
  373. "description": "菜单表数据,只需要resourcecode字段即可",
  374. "name": "data",
  375. "in": "body",
  376. "required": true,
  377. "schema": {
  378. "$ref": "#/definitions/models.NewFuncmenulist"
  379. }
  380. }
  381. ],
  382. "responses": {
  383. "200": {
  384. "description": "OK",
  385. "schema": {
  386. "$ref": "#/definitions/app.Response"
  387. }
  388. },
  389. "500": {
  390. "description": "Internal Server Error",
  391. "schema": {
  392. "$ref": "#/definitions/app.Response"
  393. }
  394. }
  395. }
  396. }
  397. },
  398. "/Common/FindNewFuncmenu": {
  399. "get": {
  400. "security": [
  401. {
  402. "ApiKeyAuth": []
  403. }
  404. ],
  405. "produces": [
  406. "application/json"
  407. ],
  408. "tags": [
  409. "通用服务"
  410. ],
  411. "summary": "获取菜单表数据",
  412. "parameters": [
  413. {
  414. "type": "string",
  415. "description": "资源代码",
  416. "name": "resourcecode",
  417. "in": "query"
  418. },
  419. {
  420. "type": "string",
  421. "description": "上级资源代码",
  422. "name": "parentcode",
  423. "in": "query"
  424. },
  425. {
  426. "type": "string",
  427. "description": "资源名(Title), 模糊查询",
  428. "name": "resourcename",
  429. "in": "query"
  430. },
  431. {
  432. "type": "string",
  433. "description": "菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  434. "name": "menutype",
  435. "in": "query"
  436. }
  437. ],
  438. "responses": {
  439. "200": {
  440. "description": "OK",
  441. "schema": {
  442. "type": "array",
  443. "items": {
  444. "$ref": "#/definitions/models.NewFuncmenulist"
  445. }
  446. }
  447. },
  448. "500": {
  449. "description": "Internal Server Error",
  450. "schema": {
  451. "$ref": "#/definitions/app.Response"
  452. }
  453. }
  454. }
  455. }
  456. },
  457. "/Common/GetAllEnums": {
  458. "get": {
  459. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  460. "produces": [
  461. "application/json"
  462. ],
  463. "tags": [
  464. "通用服务"
  465. ],
  466. "summary": "获取所有枚举信息",
  467. "parameters": [
  468. {
  469. "type": "integer",
  470. "description": "起始自增ID",
  471. "name": "autoid",
  472. "in": "query"
  473. }
  474. ],
  475. "responses": {
  476. "200": {
  477. "description": "OK",
  478. "schema": {
  479. "$ref": "#/definitions/models.Enumdicitem"
  480. }
  481. },
  482. "500": {
  483. "description": "Internal Server Error",
  484. "schema": {
  485. "$ref": "#/definitions/app.Response"
  486. }
  487. }
  488. }
  489. }
  490. },
  491. "/Common/GetClientMenus": {
  492. "get": {
  493. "security": [
  494. {
  495. "ApiKeyAuth": []
  496. }
  497. ],
  498. "produces": [
  499. "application/json"
  500. ],
  501. "tags": [
  502. "通用服务"
  503. ],
  504. "summary": "获取交易端菜单",
  505. "parameters": [
  506. {
  507. "type": "integer",
  508. "description": "登录账号",
  509. "name": "loginID",
  510. "in": "query",
  511. "required": true
  512. },
  513. {
  514. "type": "integer",
  515. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  516. "name": "clientType",
  517. "in": "query"
  518. },
  519. {
  520. "type": "string",
  521. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  522. "name": "name",
  523. "in": "query"
  524. }
  525. ],
  526. "responses": {
  527. "200": {
  528. "description": "OK",
  529. "schema": {
  530. "type": "array",
  531. "items": {
  532. "$ref": "#/definitions/common.ClientMenu"
  533. }
  534. }
  535. },
  536. "500": {
  537. "description": "Internal Server Error",
  538. "schema": {
  539. "$ref": "#/definitions/app.Response"
  540. }
  541. }
  542. }
  543. }
  544. },
  545. "/Common/GetClientNewFuncmenu": {
  546. "get": {
  547. "security": [
  548. {
  549. "ApiKeyAuth": []
  550. }
  551. ],
  552. "produces": [
  553. "application/json"
  554. ],
  555. "tags": [
  556. "通用服务"
  557. ],
  558. "summary": "获取终端菜单",
  559. "parameters": [
  560. {
  561. "type": "integer",
  562. "description": "登录账号",
  563. "name": "loginid",
  564. "in": "query",
  565. "required": true
  566. },
  567. {
  568. "type": "integer",
  569. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  570. "name": "menutype",
  571. "in": "query",
  572. "required": true
  573. }
  574. ],
  575. "responses": {
  576. "200": {
  577. "description": "OK",
  578. "schema": {
  579. "type": "array",
  580. "items": {
  581. "$ref": "#/definitions/models.NewFuncmenulist"
  582. }
  583. }
  584. },
  585. "500": {
  586. "description": "Internal Server Error",
  587. "schema": {
  588. "$ref": "#/definitions/app.Response"
  589. }
  590. }
  591. }
  592. }
  593. },
  594. "/Common/GetDivisions": {
  595. "get": {
  596. "produces": [
  597. "application/json"
  598. ],
  599. "tags": [
  600. "通用服务"
  601. ],
  602. "summary": "查询区域信息",
  603. "responses": {
  604. "200": {
  605. "description": "OK",
  606. "schema": {
  607. "$ref": "#/definitions/models.Division"
  608. }
  609. },
  610. "500": {
  611. "description": "Internal Server Error",
  612. "schema": {
  613. "$ref": "#/definitions/app.Response"
  614. }
  615. }
  616. }
  617. }
  618. },
  619. "/Common/GetPCWebMenus": {
  620. "get": {
  621. "security": [
  622. {
  623. "ApiKeyAuth": []
  624. }
  625. ],
  626. "produces": [
  627. "application/json"
  628. ],
  629. "tags": [
  630. "通用服务"
  631. ],
  632. "summary": "获取PCWeb交易端菜单",
  633. "parameters": [
  634. {
  635. "type": "integer",
  636. "description": "登录账号",
  637. "name": "loginID",
  638. "in": "query",
  639. "required": true
  640. },
  641. {
  642. "type": "string",
  643. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  644. "name": "name",
  645. "in": "query"
  646. }
  647. ],
  648. "responses": {
  649. "200": {
  650. "description": "OK",
  651. "schema": {
  652. "type": "array",
  653. "items": {
  654. "$ref": "#/definitions/common.PCWebMenu"
  655. }
  656. }
  657. },
  658. "500": {
  659. "description": "Internal Server Error",
  660. "schema": {
  661. "$ref": "#/definitions/app.Response"
  662. }
  663. }
  664. }
  665. }
  666. },
  667. "/Common/GetServerTime": {
  668. "get": {
  669. "produces": [
  670. "application/json"
  671. ],
  672. "tags": [
  673. "通用服务"
  674. ],
  675. "summary": "获取服务器时间",
  676. "responses": {
  677. "200": {
  678. "description": "OK",
  679. "schema": {
  680. "$ref": "#/definitions/app.Response"
  681. }
  682. },
  683. "500": {
  684. "description": "Internal Server Error",
  685. "schema": {
  686. "$ref": "#/definitions/app.Response"
  687. }
  688. }
  689. }
  690. }
  691. },
  692. "/Common/InsertNewFuncmenu": {
  693. "post": {
  694. "security": [
  695. {
  696. "ApiKeyAuth": []
  697. }
  698. ],
  699. "consumes": [
  700. "application/json"
  701. ],
  702. "produces": [
  703. "application/json"
  704. ],
  705. "tags": [
  706. "通用服务"
  707. ],
  708. "summary": "插入菜单表数据",
  709. "parameters": [
  710. {
  711. "description": "菜单表数据",
  712. "name": "data",
  713. "in": "body",
  714. "required": true,
  715. "schema": {
  716. "$ref": "#/definitions/models.NewFuncmenulist"
  717. }
  718. }
  719. ],
  720. "responses": {
  721. "200": {
  722. "description": "OK",
  723. "schema": {
  724. "$ref": "#/definitions/app.Response"
  725. }
  726. },
  727. "500": {
  728. "description": "Internal Server Error",
  729. "schema": {
  730. "$ref": "#/definitions/app.Response"
  731. }
  732. }
  733. }
  734. }
  735. },
  736. "/Common/NoticeReaded": {
  737. "post": {
  738. "security": [
  739. {
  740. "ApiKeyAuth": []
  741. }
  742. ],
  743. "produces": [
  744. "application/json"
  745. ],
  746. "tags": [
  747. "通用服务"
  748. ],
  749. "summary": "通知公告设置已读请求",
  750. "parameters": [
  751. {
  752. "type": "integer",
  753. "description": "登录账号",
  754. "name": "loginID",
  755. "in": "query",
  756. "required": true
  757. },
  758. {
  759. "type": "integer",
  760. "description": "通知公告ID",
  761. "name": "noticeID",
  762. "in": "query",
  763. "required": true
  764. }
  765. ],
  766. "responses": {
  767. "200": {
  768. "description": "OK",
  769. "schema": {
  770. "$ref": "#/definitions/app.Response"
  771. }
  772. },
  773. "500": {
  774. "description": "Internal Server Error",
  775. "schema": {
  776. "$ref": "#/definitions/app.Response"
  777. }
  778. }
  779. }
  780. }
  781. },
  782. "/Common/QueryErrorInfos": {
  783. "get": {
  784. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  785. "produces": [
  786. "application/json"
  787. ],
  788. "tags": [
  789. "通用服务"
  790. ],
  791. "summary": "获取数据库错误信息",
  792. "parameters": [
  793. {
  794. "type": "string",
  795. "description": "起始行号前索引",
  796. "name": "rowNumber",
  797. "in": "query"
  798. }
  799. ],
  800. "responses": {
  801. "200": {
  802. "description": "OK",
  803. "schema": {
  804. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  805. }
  806. },
  807. "500": {
  808. "description": "Internal Server Error",
  809. "schema": {
  810. "$ref": "#/definitions/app.Response"
  811. }
  812. }
  813. }
  814. }
  815. },
  816. "/Common/QueryImageConfigs": {
  817. "get": {
  818. "produces": [
  819. "application/json"
  820. ],
  821. "tags": [
  822. "通用服务"
  823. ],
  824. "summary": "查询轮播图配置信息",
  825. "parameters": [
  826. {
  827. "type": "integer",
  828. "description": "用户id",
  829. "name": "userId",
  830. "in": "query"
  831. },
  832. {
  833. "type": "integer",
  834. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  835. "name": "imageType",
  836. "in": "query"
  837. }
  838. ],
  839. "responses": {
  840. "200": {
  841. "description": "OK",
  842. "schema": {
  843. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  844. }
  845. },
  846. "500": {
  847. "description": "Internal Server Error",
  848. "schema": {
  849. "$ref": "#/definitions/app.Response"
  850. }
  851. }
  852. }
  853. }
  854. },
  855. "/Common/QueryNotice": {
  856. "get": {
  857. "security": [
  858. {
  859. "ApiKeyAuth": []
  860. }
  861. ],
  862. "produces": [
  863. "application/json"
  864. ],
  865. "tags": [
  866. "通用服务"
  867. ],
  868. "summary": "通知公告系统消息查询",
  869. "parameters": [
  870. {
  871. "type": "integer",
  872. "description": "页码",
  873. "name": "page",
  874. "in": "query"
  875. },
  876. {
  877. "type": "integer",
  878. "description": "每页条数",
  879. "name": "pagesize",
  880. "in": "query"
  881. },
  882. {
  883. "type": "integer",
  884. "description": "登录账号",
  885. "name": "loginID",
  886. "in": "query",
  887. "required": true
  888. },
  889. {
  890. "type": "integer",
  891. "description": "消息类型 - 1:公告通知 2:系统消息",
  892. "name": "msgType",
  893. "in": "query"
  894. },
  895. {
  896. "type": "boolean",
  897. "description": "是否只获取未读信息",
  898. "name": "onlyUnRead",
  899. "in": "query"
  900. },
  901. {
  902. "type": "integer",
  903. "description": "自增ID,传入后会返回这个ID后面的记录",
  904. "name": "lastID",
  905. "in": "query"
  906. }
  907. ],
  908. "responses": {
  909. "200": {
  910. "description": "OK",
  911. "schema": {
  912. "$ref": "#/definitions/common.QueryNoticeRsp"
  913. }
  914. },
  915. "500": {
  916. "description": "Internal Server Error",
  917. "schema": {
  918. "$ref": "#/definitions/app.Response"
  919. }
  920. }
  921. }
  922. }
  923. },
  924. "/Common/QueryProvincesAndCities": {
  925. "get": {
  926. "produces": [
  927. "application/json"
  928. ],
  929. "tags": [
  930. "通用服务"
  931. ],
  932. "summary": "查询省市信息(不包括区)",
  933. "parameters": [
  934. {
  935. "type": "integer",
  936. "description": "省ID",
  937. "name": "provinceID",
  938. "in": "query"
  939. }
  940. ],
  941. "responses": {
  942. "200": {
  943. "description": "OK",
  944. "schema": {
  945. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  946. }
  947. },
  948. "500": {
  949. "description": "Internal Server Error",
  950. "schema": {
  951. "$ref": "#/definitions/app.Response"
  952. }
  953. }
  954. }
  955. }
  956. },
  957. "/Common/QueryRates": {
  958. "get": {
  959. "security": [
  960. {
  961. "ApiKeyAuth": []
  962. },
  963. {
  964. "LoginID": []
  965. },
  966. {
  967. "Group": []
  968. }
  969. ],
  970. "produces": [
  971. "application/json"
  972. ],
  973. "tags": [
  974. "通用服务"
  975. ],
  976. "summary": "查询汇率信息",
  977. "parameters": [
  978. {
  979. "type": "integer",
  980. "description": "页码",
  981. "name": "page",
  982. "in": "query"
  983. },
  984. {
  985. "type": "integer",
  986. "description": "每页条数",
  987. "name": "pagesize",
  988. "in": "query"
  989. },
  990. {
  991. "type": "integer",
  992. "description": "源币种ID",
  993. "name": "oricurrencyid",
  994. "in": "query"
  995. },
  996. {
  997. "type": "integer",
  998. "description": "目标币种ID",
  999. "name": "descurrencyid",
  1000. "in": "query"
  1001. }
  1002. ],
  1003. "responses": {
  1004. "200": {
  1005. "description": "OK",
  1006. "schema": {
  1007. "type": "array",
  1008. "items": {
  1009. "$ref": "#/definitions/models.Exchangerateconfig"
  1010. }
  1011. }
  1012. },
  1013. "500": {
  1014. "description": "Internal Server Error",
  1015. "schema": {
  1016. "$ref": "#/definitions/app.Response"
  1017. }
  1018. }
  1019. }
  1020. }
  1021. },
  1022. "/Common/QueryTableDefine": {
  1023. "get": {
  1024. "produces": [
  1025. "application/json"
  1026. ],
  1027. "tags": [
  1028. "通用服务"
  1029. ],
  1030. "summary": "查询交易端列表头信息",
  1031. "parameters": [
  1032. {
  1033. "type": "string",
  1034. "description": "表key",
  1035. "name": "tableKey",
  1036. "in": "query"
  1037. },
  1038. {
  1039. "type": "integer",
  1040. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  1041. "name": "tableType",
  1042. "in": "query"
  1043. }
  1044. ],
  1045. "responses": {
  1046. "200": {
  1047. "description": "OK",
  1048. "schema": {
  1049. "$ref": "#/definitions/common.QueryTableDefineRsp"
  1050. }
  1051. },
  1052. "500": {
  1053. "description": "Internal Server Error",
  1054. "schema": {
  1055. "$ref": "#/definitions/app.Response"
  1056. }
  1057. }
  1058. }
  1059. }
  1060. },
  1061. "/Common/QueryTraderMenu": {
  1062. "get": {
  1063. "produces": [
  1064. "application/json"
  1065. ],
  1066. "tags": [
  1067. "通用服务"
  1068. ],
  1069. "summary": "查询交易端菜单",
  1070. "parameters": [
  1071. {
  1072. "type": "integer",
  1073. "description": "登录账号",
  1074. "name": "loginid",
  1075. "in": "query",
  1076. "required": true
  1077. }
  1078. ],
  1079. "responses": {
  1080. "200": {
  1081. "description": "OK",
  1082. "schema": {
  1083. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Common/UpdateNewFuncmenu": {
  1096. "put": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "consumes": [
  1103. "application/json"
  1104. ],
  1105. "produces": [
  1106. "application/json"
  1107. ],
  1108. "tags": [
  1109. "通用服务"
  1110. ],
  1111. "summary": "更新菜单表数据",
  1112. "parameters": [
  1113. {
  1114. "description": "菜单表数据",
  1115. "name": "data",
  1116. "in": "body",
  1117. "required": true,
  1118. "schema": {
  1119. "$ref": "#/definitions/models.NewFuncmenulist"
  1120. }
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "$ref": "#/definitions/app.Response"
  1128. }
  1129. },
  1130. "500": {
  1131. "description": "Internal Server Error",
  1132. "schema": {
  1133. "$ref": "#/definitions/app.Response"
  1134. }
  1135. }
  1136. }
  1137. }
  1138. },
  1139. "/Delivery/QueryDeliveryRelation": {
  1140. "get": {
  1141. "security": [
  1142. {
  1143. "ApiKeyAuth": []
  1144. }
  1145. ],
  1146. "produces": [
  1147. "application/json"
  1148. ],
  1149. "tags": [
  1150. "交割服务"
  1151. ],
  1152. "summary": "查询商品交割关系表",
  1153. "parameters": [
  1154. {
  1155. "type": "integer",
  1156. "description": "商品ID",
  1157. "name": "goodsid",
  1158. "in": "query"
  1159. },
  1160. {
  1161. "type": "integer",
  1162. "description": "品种ID",
  1163. "name": "deliverygoodsid",
  1164. "in": "query"
  1165. },
  1166. {
  1167. "type": "integer",
  1168. "description": "市场ID",
  1169. "name": "marketid",
  1170. "in": "query"
  1171. }
  1172. ],
  1173. "responses": {
  1174. "200": {
  1175. "description": "OK",
  1176. "schema": {
  1177. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  1178. }
  1179. },
  1180. "500": {
  1181. "description": "Internal Server Error",
  1182. "schema": {
  1183. "$ref": "#/definitions/app.Response"
  1184. }
  1185. }
  1186. }
  1187. }
  1188. },
  1189. "/Ermcp/GetErmcpGoods": {
  1190. "get": {
  1191. "security": [
  1192. {
  1193. "ApiKeyAuth": []
  1194. }
  1195. ],
  1196. "produces": [
  1197. "application/json"
  1198. ],
  1199. "tags": [
  1200. "企业风险管理(app)"
  1201. ],
  1202. "summary": "查询企业风管期货商品信息",
  1203. "parameters": [
  1204. {
  1205. "type": "integer",
  1206. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  1207. "name": "userid",
  1208. "in": "query"
  1209. },
  1210. {
  1211. "type": "string",
  1212. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1213. "name": "lastUpdateTime",
  1214. "in": "query"
  1215. }
  1216. ],
  1217. "responses": {
  1218. "200": {
  1219. "description": "OK",
  1220. "schema": {
  1221. "$ref": "#/definitions/models.ErmcpGoods"
  1222. }
  1223. },
  1224. "500": {
  1225. "description": "Internal Server Error",
  1226. "schema": {
  1227. "$ref": "#/definitions/app.Response"
  1228. }
  1229. }
  1230. }
  1231. }
  1232. },
  1233. "/Ermcp/GetErmcpGoodsSortByPosition": {
  1234. "get": {
  1235. "security": [
  1236. {
  1237. "ApiKeyAuth": []
  1238. }
  1239. ],
  1240. "produces": [
  1241. "application/json"
  1242. ],
  1243. "tags": [
  1244. "企业风险管理(app)"
  1245. ],
  1246. "summary": "查询企业风管期货主力、次主力商品信息",
  1247. "parameters": [
  1248. {
  1249. "type": "string",
  1250. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  1251. "name": "sortIndex",
  1252. "in": "query"
  1253. }
  1254. ],
  1255. "responses": {
  1256. "200": {
  1257. "description": "OK",
  1258. "schema": {
  1259. "$ref": "#/definitions/models.Goodssortbypreposition"
  1260. }
  1261. },
  1262. "500": {
  1263. "description": "Internal Server Error",
  1264. "schema": {
  1265. "$ref": "#/definitions/app.Response"
  1266. }
  1267. }
  1268. }
  1269. }
  1270. },
  1271. "/Ermcp/GetErmcpOutAccountStatus": {
  1272. "get": {
  1273. "security": [
  1274. {
  1275. "ApiKeyAuth": []
  1276. }
  1277. ],
  1278. "produces": [
  1279. "application/json"
  1280. ],
  1281. "tags": [
  1282. "企业风险管理(app)"
  1283. ],
  1284. "summary": "获取目标登录账号当前对冲账号在线状态",
  1285. "parameters": [
  1286. {
  1287. "type": "integer",
  1288. "description": "登录账号",
  1289. "name": "loginID",
  1290. "in": "query",
  1291. "required": true
  1292. }
  1293. ],
  1294. "responses": {
  1295. "200": {
  1296. "description": "OK",
  1297. "schema": {
  1298. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1299. }
  1300. },
  1301. "500": {
  1302. "description": "Internal Server Error",
  1303. "schema": {
  1304. "$ref": "#/definitions/app.Response"
  1305. }
  1306. }
  1307. }
  1308. }
  1309. },
  1310. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1311. "get": {
  1312. "security": [
  1313. {
  1314. "ApiKeyAuth": []
  1315. }
  1316. ],
  1317. "produces": [
  1318. "application/json"
  1319. ],
  1320. "tags": [
  1321. "企业风险管理(app)"
  1322. ],
  1323. "summary": "获取企业风管终端权限",
  1324. "parameters": [
  1325. {
  1326. "type": "integer",
  1327. "description": "登录账号",
  1328. "name": "loginID",
  1329. "in": "query",
  1330. "required": true
  1331. }
  1332. ],
  1333. "responses": {
  1334. "200": {
  1335. "description": "OK",
  1336. "schema": {
  1337. "$ref": "#/definitions/models.Funcmenulist"
  1338. }
  1339. },
  1340. "500": {
  1341. "description": "Internal Server Error",
  1342. "schema": {
  1343. "$ref": "#/definitions/app.Response"
  1344. }
  1345. }
  1346. }
  1347. }
  1348. },
  1349. "/Ermcp/QueryAccMgrBizGroupSet": {
  1350. "get": {
  1351. "security": [
  1352. {
  1353. "ApiKeyAuth": []
  1354. }
  1355. ],
  1356. "produces": [
  1357. "application/json"
  1358. ],
  1359. "tags": [
  1360. "企业风险管理(app)"
  1361. ],
  1362. "summary": "查询业务类型分组(账户管理/账户设置)",
  1363. "parameters": [
  1364. {
  1365. "type": "integer",
  1366. "description": "用户ID",
  1367. "name": "userid",
  1368. "in": "query",
  1369. "required": true
  1370. },
  1371. {
  1372. "type": "integer",
  1373. "description": "现货商品id",
  1374. "name": "deliverygoodsid",
  1375. "in": "query"
  1376. }
  1377. ],
  1378. "responses": {
  1379. "200": {
  1380. "description": "OK",
  1381. "schema": {
  1382. "type": "array",
  1383. "items": {
  1384. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1385. }
  1386. }
  1387. },
  1388. "500": {
  1389. "description": "Internal Server Error",
  1390. "schema": {
  1391. "$ref": "#/definitions/app.Response"
  1392. }
  1393. }
  1394. }
  1395. }
  1396. },
  1397. "/Ermcp/QueryAccMgrLoginUser": {
  1398. "get": {
  1399. "security": [
  1400. {
  1401. "ApiKeyAuth": []
  1402. }
  1403. ],
  1404. "produces": [
  1405. "application/json"
  1406. ],
  1407. "tags": [
  1408. "企业风险管理(app)"
  1409. ],
  1410. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1411. "parameters": [
  1412. {
  1413. "type": "integer",
  1414. "description": "用户ID",
  1415. "name": "userid",
  1416. "in": "query",
  1417. "required": true
  1418. },
  1419. {
  1420. "type": "integer",
  1421. "description": "用户类型 2-机构 7-企业成员",
  1422. "name": "usertype",
  1423. "in": "query"
  1424. },
  1425. {
  1426. "type": "integer",
  1427. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1428. "name": "querytype",
  1429. "in": "query",
  1430. "required": true
  1431. }
  1432. ],
  1433. "responses": {
  1434. "200": {
  1435. "description": "OK",
  1436. "schema": {
  1437. "type": "array",
  1438. "items": {
  1439. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1440. }
  1441. }
  1442. },
  1443. "500": {
  1444. "description": "Internal Server Error",
  1445. "schema": {
  1446. "$ref": "#/definitions/app.Response"
  1447. }
  1448. }
  1449. }
  1450. }
  1451. },
  1452. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1453. "get": {
  1454. "security": [
  1455. {
  1456. "ApiKeyAuth": []
  1457. }
  1458. ],
  1459. "produces": [
  1460. "application/json"
  1461. ],
  1462. "tags": [
  1463. "企业风险管理(app)"
  1464. ],
  1465. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1466. "parameters": [
  1467. {
  1468. "type": "integer",
  1469. "description": "用户ID",
  1470. "name": "userid",
  1471. "in": "query"
  1472. },
  1473. {
  1474. "type": "integer",
  1475. "description": "主账号id",
  1476. "name": "accountid",
  1477. "in": "query"
  1478. }
  1479. ],
  1480. "responses": {
  1481. "200": {
  1482. "description": "OK",
  1483. "schema": {
  1484. "type": "array",
  1485. "items": {
  1486. "$ref": "#/definitions/models.MainAccountInfo"
  1487. }
  1488. }
  1489. },
  1490. "500": {
  1491. "description": "Internal Server Error",
  1492. "schema": {
  1493. "$ref": "#/definitions/app.Response"
  1494. }
  1495. }
  1496. }
  1497. }
  1498. },
  1499. "/Ermcp/QueryAccMgrRole": {
  1500. "get": {
  1501. "security": [
  1502. {
  1503. "ApiKeyAuth": []
  1504. }
  1505. ],
  1506. "produces": [
  1507. "application/json"
  1508. ],
  1509. "tags": [
  1510. "企业风险管理(app)"
  1511. ],
  1512. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1513. "parameters": [
  1514. {
  1515. "type": "integer",
  1516. "description": "用户ID",
  1517. "name": "userid",
  1518. "in": "query",
  1519. "required": true
  1520. }
  1521. ],
  1522. "responses": {
  1523. "200": {
  1524. "description": "OK",
  1525. "schema": {
  1526. "type": "array",
  1527. "items": {
  1528. "$ref": "#/definitions/models.ErmcpRole"
  1529. }
  1530. }
  1531. },
  1532. "500": {
  1533. "description": "Internal Server Error",
  1534. "schema": {
  1535. "$ref": "#/definitions/app.Response"
  1536. }
  1537. }
  1538. }
  1539. }
  1540. },
  1541. "/Ermcp/QueryAccMgrRoleMenu": {
  1542. "get": {
  1543. "security": [
  1544. {
  1545. "ApiKeyAuth": []
  1546. }
  1547. ],
  1548. "produces": [
  1549. "application/json"
  1550. ],
  1551. "tags": [
  1552. "企业风险管理(app)"
  1553. ],
  1554. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1555. "parameters": [
  1556. {
  1557. "type": "integer",
  1558. "description": "用户ID",
  1559. "name": "userid",
  1560. "in": "query",
  1561. "required": true
  1562. },
  1563. {
  1564. "type": "string",
  1565. "description": "角色id(可多个,逗号隔开)",
  1566. "name": "roleid",
  1567. "in": "query"
  1568. },
  1569. {
  1570. "type": "integer",
  1571. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1572. "name": "menutype",
  1573. "in": "query"
  1574. }
  1575. ],
  1576. "responses": {
  1577. "200": {
  1578. "description": "OK",
  1579. "schema": {
  1580. "type": "array",
  1581. "items": {
  1582. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1583. }
  1584. }
  1585. },
  1586. "500": {
  1587. "description": "Internal Server Error",
  1588. "schema": {
  1589. "$ref": "#/definitions/app.Response"
  1590. }
  1591. }
  1592. }
  1593. }
  1594. },
  1595. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1596. "get": {
  1597. "security": [
  1598. {
  1599. "ApiKeyAuth": []
  1600. }
  1601. ],
  1602. "produces": [
  1603. "application/json"
  1604. ],
  1605. "tags": [
  1606. "企业风险管理(app)"
  1607. ],
  1608. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1609. "parameters": [
  1610. {
  1611. "type": "integer",
  1612. "description": "用户ID",
  1613. "name": "userid",
  1614. "in": "query",
  1615. "required": true
  1616. },
  1617. {
  1618. "type": "integer",
  1619. "description": "账号id",
  1620. "name": "accountid",
  1621. "in": "query"
  1622. }
  1623. ],
  1624. "responses": {
  1625. "200": {
  1626. "description": "OK",
  1627. "schema": {
  1628. "type": "array",
  1629. "items": {
  1630. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1631. }
  1632. }
  1633. },
  1634. "500": {
  1635. "description": "Internal Server Error",
  1636. "schema": {
  1637. "$ref": "#/definitions/app.Response"
  1638. }
  1639. }
  1640. }
  1641. }
  1642. },
  1643. "/Ermcp/QueryAccMgrTaaccount": {
  1644. "get": {
  1645. "security": [
  1646. {
  1647. "ApiKeyAuth": []
  1648. }
  1649. ],
  1650. "produces": [
  1651. "application/json"
  1652. ],
  1653. "tags": [
  1654. "企业风险管理(app)"
  1655. ],
  1656. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1657. "parameters": [
  1658. {
  1659. "type": "integer",
  1660. "description": "用户ID",
  1661. "name": "userid",
  1662. "in": "query",
  1663. "required": true
  1664. }
  1665. ],
  1666. "responses": {
  1667. "200": {
  1668. "description": "OK",
  1669. "schema": {
  1670. "type": "array",
  1671. "items": {
  1672. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1673. }
  1674. }
  1675. },
  1676. "500": {
  1677. "description": "Internal Server Error",
  1678. "schema": {
  1679. "$ref": "#/definitions/app.Response"
  1680. }
  1681. }
  1682. }
  1683. }
  1684. },
  1685. "/Ermcp/QueryAvaildGoodsGroup": {
  1686. "get": {
  1687. "security": [
  1688. {
  1689. "ApiKeyAuth": []
  1690. }
  1691. ],
  1692. "produces": [
  1693. "application/json"
  1694. ],
  1695. "tags": [
  1696. "企业风险管理(app)"
  1697. ],
  1698. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1699. "parameters": [
  1700. {
  1701. "type": "integer",
  1702. "description": "所属机构ID",
  1703. "name": "userid",
  1704. "in": "query",
  1705. "required": true
  1706. }
  1707. ],
  1708. "responses": {
  1709. "200": {
  1710. "description": "OK",
  1711. "schema": {
  1712. "type": "array",
  1713. "items": {
  1714. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1715. }
  1716. }
  1717. },
  1718. "500": {
  1719. "description": "Internal Server Error",
  1720. "schema": {
  1721. "$ref": "#/definitions/app.Response"
  1722. }
  1723. }
  1724. }
  1725. }
  1726. },
  1727. "/Ermcp/QueryBusinessDj": {
  1728. "get": {
  1729. "security": [
  1730. {
  1731. "ApiKeyAuth": []
  1732. }
  1733. ],
  1734. "produces": [
  1735. "application/json"
  1736. ],
  1737. "tags": [
  1738. "企业风险管理(app)"
  1739. ],
  1740. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1741. "parameters": [
  1742. {
  1743. "type": "integer",
  1744. "description": "用户ID",
  1745. "name": "UserId",
  1746. "in": "query",
  1747. "required": true
  1748. },
  1749. {
  1750. "type": "integer",
  1751. "description": "用户类型 2-机构 7-企业成员",
  1752. "name": "usertype",
  1753. "in": "query"
  1754. },
  1755. {
  1756. "type": "string",
  1757. "description": "现货合同ID, 不填则查所有",
  1758. "name": "relatedid",
  1759. "in": "query"
  1760. },
  1761. {
  1762. "type": "string",
  1763. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1764. "name": "applystatus",
  1765. "in": "query"
  1766. }
  1767. ],
  1768. "responses": {
  1769. "200": {
  1770. "description": "OK",
  1771. "schema": {
  1772. "type": "array",
  1773. "items": {
  1774. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1775. }
  1776. }
  1777. },
  1778. "500": {
  1779. "description": "Internal Server Error",
  1780. "schema": {
  1781. "$ref": "#/definitions/app.Response"
  1782. }
  1783. }
  1784. }
  1785. }
  1786. },
  1787. "/Ermcp/QueryBusinessFp": {
  1788. "get": {
  1789. "security": [
  1790. {
  1791. "ApiKeyAuth": []
  1792. }
  1793. ],
  1794. "produces": [
  1795. "application/json"
  1796. ],
  1797. "tags": [
  1798. "企业风险管理(app)"
  1799. ],
  1800. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1801. "parameters": [
  1802. {
  1803. "type": "integer",
  1804. "description": "用户ID",
  1805. "name": "UserId",
  1806. "in": "query",
  1807. "required": true
  1808. },
  1809. {
  1810. "type": "integer",
  1811. "description": "用户类型 2-机构 7-企业成员",
  1812. "name": "usertype",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "string",
  1817. "description": "现货合同ID, 不填则查所有",
  1818. "name": "relatedid",
  1819. "in": "query"
  1820. },
  1821. {
  1822. "type": "string",
  1823. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1824. "name": "applystatus",
  1825. "in": "query"
  1826. }
  1827. ],
  1828. "responses": {
  1829. "200": {
  1830. "description": "OK",
  1831. "schema": {
  1832. "type": "array",
  1833. "items": {
  1834. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1835. }
  1836. }
  1837. },
  1838. "500": {
  1839. "description": "Internal Server Error",
  1840. "schema": {
  1841. "$ref": "#/definitions/app.Response"
  1842. }
  1843. }
  1844. }
  1845. }
  1846. },
  1847. "/Ermcp/QueryBusinessJs": {
  1848. "get": {
  1849. "security": [
  1850. {
  1851. "ApiKeyAuth": []
  1852. }
  1853. ],
  1854. "produces": [
  1855. "application/json"
  1856. ],
  1857. "tags": [
  1858. "企业风险管理(app)"
  1859. ],
  1860. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1861. "parameters": [
  1862. {
  1863. "type": "integer",
  1864. "description": "用户ID",
  1865. "name": "UserId",
  1866. "in": "query",
  1867. "required": true
  1868. },
  1869. {
  1870. "type": "integer",
  1871. "description": "用户类型 2-机构 7-企业成员",
  1872. "name": "usertype",
  1873. "in": "query"
  1874. },
  1875. {
  1876. "type": "string",
  1877. "description": "现货合同ID, 不填则查所有",
  1878. "name": "relatedid",
  1879. "in": "query"
  1880. },
  1881. {
  1882. "type": "string",
  1883. "description": "操作申请id",
  1884. "name": "operateapplyid",
  1885. "in": "query"
  1886. },
  1887. {
  1888. "type": "string",
  1889. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1890. "name": "applystatus",
  1891. "in": "query"
  1892. }
  1893. ],
  1894. "responses": {
  1895. "200": {
  1896. "description": "OK",
  1897. "schema": {
  1898. "type": "array",
  1899. "items": {
  1900. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1901. }
  1902. }
  1903. },
  1904. "500": {
  1905. "description": "Internal Server Error",
  1906. "schema": {
  1907. "$ref": "#/definitions/app.Response"
  1908. }
  1909. }
  1910. }
  1911. }
  1912. },
  1913. "/Ermcp/QueryBusinessJsEx": {
  1914. "get": {
  1915. "security": [
  1916. {
  1917. "ApiKeyAuth": []
  1918. }
  1919. ],
  1920. "produces": [
  1921. "application/json"
  1922. ],
  1923. "tags": [
  1924. "企业风险管理(app)"
  1925. ],
  1926. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1927. "parameters": [
  1928. {
  1929. "type": "integer",
  1930. "description": "用户ID",
  1931. "name": "UserId",
  1932. "in": "query",
  1933. "required": true
  1934. },
  1935. {
  1936. "type": "integer",
  1937. "description": "用户类型 2-机构 7-企业成员",
  1938. "name": "usertype",
  1939. "in": "query"
  1940. },
  1941. {
  1942. "type": "string",
  1943. "description": "现货合同ID, 不填则查所有",
  1944. "name": "relatedid",
  1945. "in": "query"
  1946. },
  1947. {
  1948. "type": "string",
  1949. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1950. "name": "applystatus",
  1951. "in": "query"
  1952. }
  1953. ],
  1954. "responses": {
  1955. "200": {
  1956. "description": "OK",
  1957. "schema": {
  1958. "type": "array",
  1959. "items": {
  1960. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1961. }
  1962. }
  1963. },
  1964. "500": {
  1965. "description": "Internal Server Error",
  1966. "schema": {
  1967. "$ref": "#/definitions/app.Response"
  1968. }
  1969. }
  1970. }
  1971. }
  1972. },
  1973. "/Ermcp/QueryBusinessKx": {
  1974. "get": {
  1975. "security": [
  1976. {
  1977. "ApiKeyAuth": []
  1978. }
  1979. ],
  1980. "produces": [
  1981. "application/json"
  1982. ],
  1983. "tags": [
  1984. "企业风险管理(app)"
  1985. ],
  1986. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1987. "parameters": [
  1988. {
  1989. "type": "integer",
  1990. "description": "用户ID",
  1991. "name": "UserId",
  1992. "in": "query",
  1993. "required": true
  1994. },
  1995. {
  1996. "type": "integer",
  1997. "description": "用户类型 2-机构 7-企业成员",
  1998. "name": "usertype",
  1999. "in": "query"
  2000. },
  2001. {
  2002. "type": "string",
  2003. "description": "现货合同ID, 不填则查所有",
  2004. "name": "relatedid",
  2005. "in": "query"
  2006. },
  2007. {
  2008. "type": "string",
  2009. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2010. "name": "applystatus",
  2011. "in": "query"
  2012. }
  2013. ],
  2014. "responses": {
  2015. "200": {
  2016. "description": "OK",
  2017. "schema": {
  2018. "type": "array",
  2019. "items": {
  2020. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2021. }
  2022. }
  2023. },
  2024. "500": {
  2025. "description": "Internal Server Error",
  2026. "schema": {
  2027. "$ref": "#/definitions/app.Response"
  2028. }
  2029. }
  2030. }
  2031. }
  2032. },
  2033. "/Ermcp/QueryChangeLog": {
  2034. "get": {
  2035. "security": [
  2036. {
  2037. "ApiKeyAuth": []
  2038. }
  2039. ],
  2040. "produces": [
  2041. "application/json"
  2042. ],
  2043. "tags": [
  2044. "企业风险管理(app)"
  2045. ],
  2046. "summary": "查询变更记录",
  2047. "parameters": [
  2048. {
  2049. "type": "string",
  2050. "description": "合同ID",
  2051. "name": "RelatedId",
  2052. "in": "query",
  2053. "required": true
  2054. }
  2055. ],
  2056. "responses": {
  2057. "200": {
  2058. "description": "OK",
  2059. "schema": {
  2060. "type": "array",
  2061. "items": {
  2062. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2063. }
  2064. }
  2065. },
  2066. "500": {
  2067. "description": "Internal Server Error",
  2068. "schema": {
  2069. "$ref": "#/definitions/app.Response"
  2070. }
  2071. }
  2072. }
  2073. }
  2074. },
  2075. "/Ermcp/QueryErmcpHisOrderDetails": {
  2076. "get": {
  2077. "security": [
  2078. {
  2079. "ApiKeyAuth": []
  2080. }
  2081. ],
  2082. "produces": [
  2083. "application/json"
  2084. ],
  2085. "tags": [
  2086. "企业风险管理(app)"
  2087. ],
  2088. "summary": "获取企业风管期货历史委托单信息",
  2089. "parameters": [
  2090. {
  2091. "type": "integer",
  2092. "description": "资金账户ID",
  2093. "name": "accountID",
  2094. "in": "query",
  2095. "required": true
  2096. },
  2097. {
  2098. "type": "string",
  2099. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2100. "name": "startDate",
  2101. "in": "query"
  2102. },
  2103. {
  2104. "type": "string",
  2105. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2106. "name": "endDate",
  2107. "in": "query"
  2108. }
  2109. ],
  2110. "responses": {
  2111. "200": {
  2112. "description": "OK",
  2113. "schema": {
  2114. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2115. }
  2116. },
  2117. "500": {
  2118. "description": "Internal Server Error",
  2119. "schema": {
  2120. "$ref": "#/definitions/app.Response"
  2121. }
  2122. }
  2123. }
  2124. }
  2125. },
  2126. "/Ermcp/QueryErmcpHisTradeDetails": {
  2127. "get": {
  2128. "security": [
  2129. {
  2130. "ApiKeyAuth": []
  2131. }
  2132. ],
  2133. "produces": [
  2134. "application/json"
  2135. ],
  2136. "tags": [
  2137. "企业风险管理(app)"
  2138. ],
  2139. "summary": "获取企业风管期货历史成交单信息",
  2140. "parameters": [
  2141. {
  2142. "type": "integer",
  2143. "description": "资金账户ID",
  2144. "name": "accountID",
  2145. "in": "query",
  2146. "required": true
  2147. },
  2148. {
  2149. "type": "integer",
  2150. "description": "商品ID",
  2151. "name": "goodsID",
  2152. "in": "query"
  2153. },
  2154. {
  2155. "type": "integer",
  2156. "description": "买卖方向,0:买 1:卖",
  2157. "name": "buyOrSell",
  2158. "in": "query"
  2159. },
  2160. {
  2161. "type": "integer",
  2162. "description": "关联委托单号",
  2163. "name": "orderID",
  2164. "in": "query"
  2165. },
  2166. {
  2167. "type": "string",
  2168. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2169. "name": "startDate",
  2170. "in": "query"
  2171. },
  2172. {
  2173. "type": "string",
  2174. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2175. "name": "endDate",
  2176. "in": "query"
  2177. }
  2178. ],
  2179. "responses": {
  2180. "200": {
  2181. "description": "OK",
  2182. "schema": {
  2183. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2184. }
  2185. },
  2186. "500": {
  2187. "description": "Internal Server Error",
  2188. "schema": {
  2189. "$ref": "#/definitions/app.Response"
  2190. }
  2191. }
  2192. }
  2193. }
  2194. },
  2195. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2196. "get": {
  2197. "security": [
  2198. {
  2199. "ApiKeyAuth": []
  2200. }
  2201. ],
  2202. "produces": [
  2203. "application/json"
  2204. ],
  2205. "tags": [
  2206. "企业风险管理(app)"
  2207. ],
  2208. "summary": "获取企业风管期货内部持仓单信息",
  2209. "parameters": [
  2210. {
  2211. "type": "integer",
  2212. "description": "资金账户ID",
  2213. "name": "accountID",
  2214. "in": "query",
  2215. "required": true
  2216. },
  2217. {
  2218. "type": "integer",
  2219. "description": "商品ID",
  2220. "name": "goodsID",
  2221. "in": "query"
  2222. },
  2223. {
  2224. "type": "integer",
  2225. "description": "买卖方向,0:买 1:卖",
  2226. "name": "buyOrSell",
  2227. "in": "query"
  2228. }
  2229. ],
  2230. "responses": {
  2231. "200": {
  2232. "description": "OK",
  2233. "schema": {
  2234. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2235. }
  2236. },
  2237. "500": {
  2238. "description": "Internal Server Error",
  2239. "schema": {
  2240. "$ref": "#/definitions/app.Response"
  2241. }
  2242. }
  2243. }
  2244. }
  2245. },
  2246. "/Ermcp/QueryErmcpOrderDetails": {
  2247. "get": {
  2248. "security": [
  2249. {
  2250. "ApiKeyAuth": []
  2251. }
  2252. ],
  2253. "produces": [
  2254. "application/json"
  2255. ],
  2256. "tags": [
  2257. "企业风险管理(app)"
  2258. ],
  2259. "summary": "获取企业风管期货委托单信息",
  2260. "parameters": [
  2261. {
  2262. "type": "integer",
  2263. "description": "资金账户ID",
  2264. "name": "accountID",
  2265. "in": "query",
  2266. "required": true
  2267. }
  2268. ],
  2269. "responses": {
  2270. "200": {
  2271. "description": "OK",
  2272. "schema": {
  2273. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2274. }
  2275. },
  2276. "500": {
  2277. "description": "Internal Server Error",
  2278. "schema": {
  2279. "$ref": "#/definitions/app.Response"
  2280. }
  2281. }
  2282. }
  2283. }
  2284. },
  2285. "/Ermcp/QueryErmcpTradeDetails": {
  2286. "get": {
  2287. "security": [
  2288. {
  2289. "ApiKeyAuth": []
  2290. }
  2291. ],
  2292. "produces": [
  2293. "application/json"
  2294. ],
  2295. "tags": [
  2296. "企业风险管理(app)"
  2297. ],
  2298. "summary": "获取企业风管期货成交单信息",
  2299. "parameters": [
  2300. {
  2301. "type": "integer",
  2302. "description": "资金账户ID",
  2303. "name": "accountID",
  2304. "in": "query",
  2305. "required": true
  2306. },
  2307. {
  2308. "type": "integer",
  2309. "description": "商品ID",
  2310. "name": "goodsID",
  2311. "in": "query"
  2312. },
  2313. {
  2314. "type": "integer",
  2315. "description": "买卖方向,0:买 1:卖",
  2316. "name": "buyOrSell",
  2317. "in": "query"
  2318. },
  2319. {
  2320. "type": "integer",
  2321. "description": "关联委托单号",
  2322. "name": "orderID",
  2323. "in": "query"
  2324. }
  2325. ],
  2326. "responses": {
  2327. "200": {
  2328. "description": "OK",
  2329. "schema": {
  2330. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2331. }
  2332. },
  2333. "500": {
  2334. "description": "Internal Server Error",
  2335. "schema": {
  2336. "$ref": "#/definitions/app.Response"
  2337. }
  2338. }
  2339. }
  2340. }
  2341. },
  2342. "/Ermcp/QueryErmcpTradePosition": {
  2343. "get": {
  2344. "security": [
  2345. {
  2346. "ApiKeyAuth": []
  2347. }
  2348. ],
  2349. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2350. "produces": [
  2351. "application/json"
  2352. ],
  2353. "tags": [
  2354. "企业风险管理(app)"
  2355. ],
  2356. "summary": "获取企业风管期货持仓头寸信息",
  2357. "parameters": [
  2358. {
  2359. "type": "integer",
  2360. "description": "资金账户ID",
  2361. "name": "accountID",
  2362. "in": "query",
  2363. "required": true
  2364. },
  2365. {
  2366. "type": "integer",
  2367. "description": "所属市场ID",
  2368. "name": "marketID",
  2369. "in": "query"
  2370. }
  2371. ],
  2372. "responses": {
  2373. "200": {
  2374. "description": "OK",
  2375. "schema": {
  2376. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2377. }
  2378. },
  2379. "500": {
  2380. "description": "Internal Server Error",
  2381. "schema": {
  2382. "$ref": "#/definitions/app.Response"
  2383. }
  2384. }
  2385. }
  2386. }
  2387. },
  2388. "/Ermcp/QueryExposureDetail": {
  2389. "get": {
  2390. "security": [
  2391. {
  2392. "ApiKeyAuth": []
  2393. }
  2394. ],
  2395. "produces": [
  2396. "application/json"
  2397. ],
  2398. "tags": [
  2399. "企业风险管理(app)"
  2400. ],
  2401. "summary": "查询敞口现货明细",
  2402. "parameters": [
  2403. {
  2404. "type": "integer",
  2405. "description": "所属机构ID",
  2406. "name": "areaUserId",
  2407. "in": "query",
  2408. "required": true
  2409. },
  2410. {
  2411. "type": "integer",
  2412. "description": "套保商品",
  2413. "name": "middleGoodsId",
  2414. "in": "query",
  2415. "required": true
  2416. }
  2417. ],
  2418. "responses": {
  2419. "200": {
  2420. "description": "OK",
  2421. "schema": {
  2422. "type": "array",
  2423. "items": {
  2424. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2425. }
  2426. }
  2427. },
  2428. "500": {
  2429. "description": "Internal Server Error",
  2430. "schema": {
  2431. "$ref": "#/definitions/app.Response"
  2432. }
  2433. }
  2434. }
  2435. }
  2436. },
  2437. "/Ermcp/QueryExposureGoods": {
  2438. "get": {
  2439. "security": [
  2440. {
  2441. "ApiKeyAuth": []
  2442. }
  2443. ],
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "企业风险管理(app)"
  2449. ],
  2450. "summary": "查询敞口主力合约",
  2451. "parameters": [
  2452. {
  2453. "type": "integer",
  2454. "description": "套保商品id",
  2455. "name": "middlegoodsid",
  2456. "in": "query",
  2457. "required": true
  2458. }
  2459. ],
  2460. "responses": {
  2461. "200": {
  2462. "description": "OK",
  2463. "schema": {
  2464. "type": "array",
  2465. "items": {
  2466. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2467. }
  2468. }
  2469. },
  2470. "500": {
  2471. "description": "Internal Server Error",
  2472. "schema": {
  2473. "$ref": "#/definitions/app.Response"
  2474. }
  2475. }
  2476. }
  2477. }
  2478. },
  2479. "/Ermcp/QueryExposureHedgePosition": {
  2480. "get": {
  2481. "security": [
  2482. {
  2483. "ApiKeyAuth": []
  2484. }
  2485. ],
  2486. "produces": [
  2487. "application/json"
  2488. ],
  2489. "tags": [
  2490. "企业风险管理(app)"
  2491. ],
  2492. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2493. "parameters": [
  2494. {
  2495. "type": "integer",
  2496. "description": "用户id",
  2497. "name": "userid",
  2498. "in": "query",
  2499. "required": true
  2500. }
  2501. ],
  2502. "responses": {
  2503. "200": {
  2504. "description": "OK",
  2505. "schema": {
  2506. "type": "array",
  2507. "items": {
  2508. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2509. }
  2510. }
  2511. },
  2512. "500": {
  2513. "description": "Internal Server Error",
  2514. "schema": {
  2515. "$ref": "#/definitions/app.Response"
  2516. }
  2517. }
  2518. }
  2519. }
  2520. },
  2521. "/Ermcp/QueryExposureHedgePositionDetail": {
  2522. "get": {
  2523. "security": [
  2524. {
  2525. "ApiKeyAuth": []
  2526. }
  2527. ],
  2528. "produces": [
  2529. "application/json"
  2530. ],
  2531. "tags": [
  2532. "企业风险管理(app)"
  2533. ],
  2534. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2535. "parameters": [
  2536. {
  2537. "type": "integer",
  2538. "description": "所属机构ID",
  2539. "name": "userid",
  2540. "in": "query",
  2541. "required": true
  2542. },
  2543. {
  2544. "type": "integer",
  2545. "description": "商品id",
  2546. "name": "goodsId",
  2547. "in": "query",
  2548. "required": true
  2549. }
  2550. ],
  2551. "responses": {
  2552. "200": {
  2553. "description": "OK",
  2554. "schema": {
  2555. "type": "array",
  2556. "items": {
  2557. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2558. }
  2559. }
  2560. },
  2561. "500": {
  2562. "description": "Internal Server Error",
  2563. "schema": {
  2564. "$ref": "#/definitions/app.Response"
  2565. }
  2566. }
  2567. }
  2568. }
  2569. },
  2570. "/Ermcp/QueryExposureSpot": {
  2571. "get": {
  2572. "security": [
  2573. {
  2574. "ApiKeyAuth": []
  2575. }
  2576. ],
  2577. "produces": [
  2578. "application/json"
  2579. ],
  2580. "tags": [
  2581. "企业风险管理(app)"
  2582. ],
  2583. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2584. "parameters": [
  2585. {
  2586. "type": "integer",
  2587. "description": "所属机构ID",
  2588. "name": "areaUserId",
  2589. "in": "query",
  2590. "required": true
  2591. }
  2592. ],
  2593. "responses": {
  2594. "200": {
  2595. "description": "OK",
  2596. "schema": {
  2597. "type": "array",
  2598. "items": {
  2599. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2600. }
  2601. }
  2602. },
  2603. "500": {
  2604. "description": "Internal Server Error",
  2605. "schema": {
  2606. "$ref": "#/definitions/app.Response"
  2607. }
  2608. }
  2609. }
  2610. }
  2611. },
  2612. "/Ermcp/QueryExposureSpotDetail": {
  2613. "get": {
  2614. "security": [
  2615. {
  2616. "ApiKeyAuth": []
  2617. }
  2618. ],
  2619. "produces": [
  2620. "application/json"
  2621. ],
  2622. "tags": [
  2623. "企业风险管理(app)"
  2624. ],
  2625. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2626. "parameters": [
  2627. {
  2628. "type": "integer",
  2629. "description": "所属机构ID",
  2630. "name": "areaUserId",
  2631. "in": "query",
  2632. "required": true
  2633. },
  2634. {
  2635. "type": "integer",
  2636. "description": "现货品种ID",
  2637. "name": "wrstandardId",
  2638. "in": "query",
  2639. "required": true
  2640. }
  2641. ],
  2642. "responses": {
  2643. "200": {
  2644. "description": "OK",
  2645. "schema": {
  2646. "type": "array",
  2647. "items": {
  2648. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2649. }
  2650. }
  2651. },
  2652. "500": {
  2653. "description": "Internal Server Error",
  2654. "schema": {
  2655. "$ref": "#/definitions/app.Response"
  2656. }
  2657. }
  2658. }
  2659. }
  2660. },
  2661. "/Ermcp/QueryFuturesCompany": {
  2662. "get": {
  2663. "security": [
  2664. {
  2665. "ApiKeyAuth": []
  2666. }
  2667. ],
  2668. "produces": [
  2669. "application/json"
  2670. ],
  2671. "tags": [
  2672. "企业风险管理(app)"
  2673. ],
  2674. "summary": "查询期货公司",
  2675. "responses": {
  2676. "200": {
  2677. "description": "OK",
  2678. "schema": {
  2679. "type": "array",
  2680. "items": {
  2681. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2682. }
  2683. }
  2684. },
  2685. "500": {
  2686. "description": "Internal Server Error",
  2687. "schema": {
  2688. "$ref": "#/definitions/app.Response"
  2689. }
  2690. }
  2691. }
  2692. }
  2693. },
  2694. "/Ermcp/QueryGGConvertConfig": {
  2695. "get": {
  2696. "security": [
  2697. {
  2698. "ApiKeyAuth": []
  2699. }
  2700. ],
  2701. "produces": [
  2702. "application/json"
  2703. ],
  2704. "tags": [
  2705. "企业风险管理(app)"
  2706. ],
  2707. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2708. "parameters": [
  2709. {
  2710. "type": "integer",
  2711. "description": "品种id(不填则查所有)",
  2712. "name": "goodsgroupid",
  2713. "in": "query"
  2714. }
  2715. ],
  2716. "responses": {
  2717. "200": {
  2718. "description": "OK",
  2719. "schema": {
  2720. "type": "array",
  2721. "items": {
  2722. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2723. }
  2724. }
  2725. },
  2726. "500": {
  2727. "description": "Internal Server Error",
  2728. "schema": {
  2729. "$ref": "#/definitions/app.Response"
  2730. }
  2731. }
  2732. }
  2733. }
  2734. },
  2735. "/Ermcp/QueryGoodsBrand": {
  2736. "get": {
  2737. "security": [
  2738. {
  2739. "ApiKeyAuth": []
  2740. }
  2741. ],
  2742. "produces": [
  2743. "application/json"
  2744. ],
  2745. "tags": [
  2746. "企业风险管理(app)"
  2747. ],
  2748. "summary": "查询商品品牌",
  2749. "parameters": [
  2750. {
  2751. "type": "integer",
  2752. "description": "用户ID",
  2753. "name": "userid",
  2754. "in": "query",
  2755. "required": true
  2756. },
  2757. {
  2758. "type": "integer",
  2759. "description": "现货商品ID",
  2760. "name": "wrstandardid",
  2761. "in": "query"
  2762. }
  2763. ],
  2764. "responses": {
  2765. "200": {
  2766. "description": "OK",
  2767. "schema": {
  2768. "type": "array",
  2769. "items": {
  2770. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2771. }
  2772. }
  2773. },
  2774. "500": {
  2775. "description": "Internal Server Error",
  2776. "schema": {
  2777. "$ref": "#/definitions/app.Response"
  2778. }
  2779. }
  2780. }
  2781. }
  2782. },
  2783. "/Ermcp/QueryGoodsModel": {
  2784. "get": {
  2785. "security": [
  2786. {
  2787. "ApiKeyAuth": []
  2788. }
  2789. ],
  2790. "produces": [
  2791. "application/json"
  2792. ],
  2793. "tags": [
  2794. "企业风险管理(app)"
  2795. ],
  2796. "summary": "查询商品型号",
  2797. "parameters": [
  2798. {
  2799. "type": "integer",
  2800. "description": "用户ID",
  2801. "name": "userid",
  2802. "in": "query",
  2803. "required": true
  2804. }
  2805. ],
  2806. "responses": {
  2807. "200": {
  2808. "description": "OK",
  2809. "schema": {
  2810. "type": "array",
  2811. "items": {
  2812. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2813. }
  2814. }
  2815. },
  2816. "500": {
  2817. "description": "Internal Server Error",
  2818. "schema": {
  2819. "$ref": "#/definitions/app.Response"
  2820. }
  2821. }
  2822. }
  2823. }
  2824. },
  2825. "/Ermcp/QueryHisExposure": {
  2826. "get": {
  2827. "security": [
  2828. {
  2829. "ApiKeyAuth": []
  2830. }
  2831. ],
  2832. "produces": [
  2833. "application/json"
  2834. ],
  2835. "tags": [
  2836. "企业风险管理(app)"
  2837. ],
  2838. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2839. "parameters": [
  2840. {
  2841. "type": "integer",
  2842. "description": "用户id",
  2843. "name": "userid",
  2844. "in": "query",
  2845. "required": true
  2846. },
  2847. {
  2848. "type": "integer",
  2849. "description": "每个品种记录数",
  2850. "name": "lastNum",
  2851. "in": "query",
  2852. "required": true
  2853. }
  2854. ],
  2855. "responses": {
  2856. "200": {
  2857. "description": "OK",
  2858. "schema": {
  2859. "type": "array",
  2860. "items": {
  2861. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2862. }
  2863. }
  2864. },
  2865. "500": {
  2866. "description": "Internal Server Error",
  2867. "schema": {
  2868. "$ref": "#/definitions/app.Response"
  2869. }
  2870. }
  2871. }
  2872. }
  2873. },
  2874. "/Ermcp/QueryMiddleGoods": {
  2875. "get": {
  2876. "security": [
  2877. {
  2878. "ApiKeyAuth": []
  2879. }
  2880. ],
  2881. "produces": [
  2882. "application/json"
  2883. ],
  2884. "tags": [
  2885. "企业风险管理(app)"
  2886. ],
  2887. "summary": "查询套保品种(菜单:套保品种)",
  2888. "parameters": [
  2889. {
  2890. "type": "integer",
  2891. "description": "所属机构ID",
  2892. "name": "userid",
  2893. "in": "query",
  2894. "required": true
  2895. },
  2896. {
  2897. "type": "integer",
  2898. "description": "状态 0-停用 1-正常",
  2899. "name": "status",
  2900. "in": "query",
  2901. "required": true
  2902. }
  2903. ],
  2904. "responses": {
  2905. "200": {
  2906. "description": "OK",
  2907. "schema": {
  2908. "type": "array",
  2909. "items": {
  2910. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2911. }
  2912. }
  2913. },
  2914. "500": {
  2915. "description": "Internal Server Error",
  2916. "schema": {
  2917. "$ref": "#/definitions/app.Response"
  2918. }
  2919. }
  2920. }
  2921. }
  2922. },
  2923. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2924. "get": {
  2925. "security": [
  2926. {
  2927. "ApiKeyAuth": []
  2928. }
  2929. ],
  2930. "produces": [
  2931. "application/json"
  2932. ],
  2933. "tags": [
  2934. "企业风险管理(app)"
  2935. ],
  2936. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2937. "parameters": [
  2938. {
  2939. "type": "integer",
  2940. "description": "所属机构ID",
  2941. "name": "userid",
  2942. "in": "query",
  2943. "required": true
  2944. },
  2945. {
  2946. "type": "integer",
  2947. "description": "套保品种id",
  2948. "name": "middlegoodsid",
  2949. "in": "query",
  2950. "required": true
  2951. }
  2952. ],
  2953. "responses": {
  2954. "200": {
  2955. "description": "OK",
  2956. "schema": {
  2957. "type": "array",
  2958. "items": {
  2959. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2960. }
  2961. }
  2962. },
  2963. "500": {
  2964. "description": "Internal Server Error",
  2965. "schema": {
  2966. "$ref": "#/definitions/app.Response"
  2967. }
  2968. }
  2969. }
  2970. }
  2971. },
  2972. "/Ermcp/QueryMiddleGoodsDetail": {
  2973. "get": {
  2974. "security": [
  2975. {
  2976. "ApiKeyAuth": []
  2977. }
  2978. ],
  2979. "produces": [
  2980. "application/json"
  2981. ],
  2982. "tags": [
  2983. "企业风险管理(app)"
  2984. ],
  2985. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2986. "parameters": [
  2987. {
  2988. "type": "integer",
  2989. "description": "所属机构ID",
  2990. "name": "userid",
  2991. "in": "query",
  2992. "required": true
  2993. },
  2994. {
  2995. "type": "integer",
  2996. "description": "套保品种id",
  2997. "name": "middlegoodsid",
  2998. "in": "query"
  2999. }
  3000. ],
  3001. "responses": {
  3002. "200": {
  3003. "description": "OK",
  3004. "schema": {
  3005. "type": "array",
  3006. "items": {
  3007. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3008. }
  3009. }
  3010. },
  3011. "500": {
  3012. "description": "Internal Server Error",
  3013. "schema": {
  3014. "$ref": "#/definitions/app.Response"
  3015. }
  3016. }
  3017. }
  3018. }
  3019. },
  3020. "/Ermcp/QueryPendingAuditInfo": {
  3021. "get": {
  3022. "security": [
  3023. {
  3024. "ApiKeyAuth": []
  3025. }
  3026. ],
  3027. "produces": [
  3028. "application/json"
  3029. ],
  3030. "tags": [
  3031. "企业风险管理(app)"
  3032. ],
  3033. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3034. "parameters": [
  3035. {
  3036. "type": "integer",
  3037. "description": "用户ID",
  3038. "name": "UserId",
  3039. "in": "query",
  3040. "required": true
  3041. }
  3042. ],
  3043. "responses": {
  3044. "200": {
  3045. "description": "OK",
  3046. "schema": {
  3047. "type": "array",
  3048. "items": {
  3049. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3050. }
  3051. }
  3052. },
  3053. "500": {
  3054. "description": "Internal Server Error",
  3055. "schema": {
  3056. "$ref": "#/definitions/app.Response"
  3057. }
  3058. }
  3059. }
  3060. }
  3061. },
  3062. "/Ermcp/QueryRealtimeExposure": {
  3063. "get": {
  3064. "security": [
  3065. {
  3066. "ApiKeyAuth": []
  3067. }
  3068. ],
  3069. "produces": [
  3070. "application/json"
  3071. ],
  3072. "tags": [
  3073. "企业风险管理(app)"
  3074. ],
  3075. "summary": "查询实时敞口",
  3076. "parameters": [
  3077. {
  3078. "type": "integer",
  3079. "description": "所属机构ID",
  3080. "name": "userid",
  3081. "in": "query",
  3082. "required": true
  3083. }
  3084. ],
  3085. "responses": {
  3086. "200": {
  3087. "description": "OK",
  3088. "schema": {
  3089. "type": "array",
  3090. "items": {
  3091. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3092. }
  3093. }
  3094. },
  3095. "500": {
  3096. "description": "Internal Server Error",
  3097. "schema": {
  3098. "$ref": "#/definitions/app.Response"
  3099. }
  3100. }
  3101. }
  3102. }
  3103. },
  3104. "/Ermcp/QueryRealtimeExposurePosition": {
  3105. "get": {
  3106. "security": [
  3107. {
  3108. "ApiKeyAuth": []
  3109. }
  3110. ],
  3111. "produces": [
  3112. "application/json"
  3113. ],
  3114. "tags": [
  3115. "企业风险管理(app)"
  3116. ],
  3117. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3118. "parameters": [
  3119. {
  3120. "type": "integer",
  3121. "description": "用户id",
  3122. "name": "userid",
  3123. "in": "query",
  3124. "required": true
  3125. },
  3126. {
  3127. "type": "integer",
  3128. "description": "套保商品ID",
  3129. "name": "middleGoodsId",
  3130. "in": "query",
  3131. "required": true
  3132. }
  3133. ],
  3134. "responses": {
  3135. "200": {
  3136. "description": "OK",
  3137. "schema": {
  3138. "type": "array",
  3139. "items": {
  3140. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3141. }
  3142. }
  3143. },
  3144. "500": {
  3145. "description": "Internal Server Error",
  3146. "schema": {
  3147. "$ref": "#/definitions/app.Response"
  3148. }
  3149. }
  3150. }
  3151. }
  3152. },
  3153. "/Ermcp/QueryRoleMenu": {
  3154. "get": {
  3155. "security": [
  3156. {
  3157. "ApiKeyAuth": []
  3158. }
  3159. ],
  3160. "produces": [
  3161. "application/json"
  3162. ],
  3163. "tags": [
  3164. "企业风险管理(app)"
  3165. ],
  3166. "summary": "查询角色菜单和权限",
  3167. "parameters": [
  3168. {
  3169. "type": "integer",
  3170. "description": "登录ID",
  3171. "name": "loginid",
  3172. "in": "query",
  3173. "required": true
  3174. },
  3175. {
  3176. "type": "integer",
  3177. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  3178. "name": "menutype",
  3179. "in": "query"
  3180. }
  3181. ],
  3182. "responses": {
  3183. "200": {
  3184. "description": "OK",
  3185. "schema": {
  3186. "type": "array",
  3187. "items": {
  3188. "$ref": "#/definitions/models.RoleMenu"
  3189. }
  3190. }
  3191. },
  3192. "500": {
  3193. "description": "Internal Server Error",
  3194. "schema": {
  3195. "$ref": "#/definitions/app.Response"
  3196. }
  3197. }
  3198. }
  3199. }
  3200. },
  3201. "/Ermcp/QueryTradeConfigTMP": {
  3202. "get": {
  3203. "security": [
  3204. {
  3205. "ApiKeyAuth": []
  3206. }
  3207. ],
  3208. "produces": [
  3209. "application/json"
  3210. ],
  3211. "tags": [
  3212. "企业风险管理(app)"
  3213. ],
  3214. "summary": "查询交易模板配置",
  3215. "parameters": [
  3216. {
  3217. "type": "integer",
  3218. "description": "所属机构id",
  3219. "name": "areauserid",
  3220. "in": "query"
  3221. }
  3222. ],
  3223. "responses": {
  3224. "200": {
  3225. "description": "OK",
  3226. "schema": {
  3227. "type": "array",
  3228. "items": {
  3229. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3230. }
  3231. }
  3232. },
  3233. "500": {
  3234. "description": "Internal Server Error",
  3235. "schema": {
  3236. "$ref": "#/definitions/app.Response"
  3237. }
  3238. }
  3239. }
  3240. }
  3241. },
  3242. "/Ermcp/QueryUserInfo": {
  3243. "get": {
  3244. "security": [
  3245. {
  3246. "ApiKeyAuth": []
  3247. }
  3248. ],
  3249. "produces": [
  3250. "application/json"
  3251. ],
  3252. "tags": [
  3253. "企业风险管理(app)"
  3254. ],
  3255. "summary": "查询客户资料",
  3256. "parameters": [
  3257. {
  3258. "type": "integer",
  3259. "description": "所属机构用户ID",
  3260. "name": "MemberUserID",
  3261. "in": "query",
  3262. "required": true
  3263. },
  3264. {
  3265. "type": "integer",
  3266. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3267. "name": "queryType",
  3268. "in": "query",
  3269. "required": true
  3270. }
  3271. ],
  3272. "responses": {
  3273. "200": {
  3274. "description": "OK",
  3275. "schema": {
  3276. "type": "array",
  3277. "items": {
  3278. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3279. }
  3280. }
  3281. },
  3282. "500": {
  3283. "description": "Internal Server Error",
  3284. "schema": {
  3285. "$ref": "#/definitions/app.Response"
  3286. }
  3287. }
  3288. }
  3289. }
  3290. },
  3291. "/Ermcp/QueryWarehouseInfo": {
  3292. "get": {
  3293. "security": [
  3294. {
  3295. "ApiKeyAuth": []
  3296. }
  3297. ],
  3298. "produces": [
  3299. "application/json"
  3300. ],
  3301. "tags": [
  3302. "企业风险管理(app)"
  3303. ],
  3304. "summary": "查询仓库信息",
  3305. "parameters": [
  3306. {
  3307. "type": "integer",
  3308. "description": "用户ID",
  3309. "name": "userid",
  3310. "in": "query",
  3311. "required": true
  3312. },
  3313. {
  3314. "type": "string",
  3315. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3316. "name": "status",
  3317. "in": "query"
  3318. }
  3319. ],
  3320. "responses": {
  3321. "200": {
  3322. "description": "OK",
  3323. "schema": {
  3324. "type": "array",
  3325. "items": {
  3326. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3327. }
  3328. }
  3329. },
  3330. "500": {
  3331. "description": "Internal Server Error",
  3332. "schema": {
  3333. "$ref": "#/definitions/app.Response"
  3334. }
  3335. }
  3336. }
  3337. }
  3338. },
  3339. "/Ermcp3/QryAreaExpourseContractDetail": {
  3340. "get": {
  3341. "security": [
  3342. {
  3343. "ApiKeyAuth": []
  3344. }
  3345. ],
  3346. "produces": [
  3347. "application/json"
  3348. ],
  3349. "tags": [
  3350. "企业风险管理v3(app)"
  3351. ],
  3352. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3353. "parameters": [
  3354. {
  3355. "type": "integer",
  3356. "description": "用户ID",
  3357. "name": "userid",
  3358. "in": "query",
  3359. "required": true
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": "套保商品id",
  3364. "name": "middlegoodsid",
  3365. "in": "query",
  3366. "required": true
  3367. },
  3368. {
  3369. "type": "integer",
  3370. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3371. "name": "cycletype",
  3372. "in": "query",
  3373. "required": true
  3374. },
  3375. {
  3376. "type": "string",
  3377. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3378. "name": "cycletime",
  3379. "in": "query",
  3380. "required": true
  3381. }
  3382. ],
  3383. "responses": {
  3384. "200": {
  3385. "description": "OK",
  3386. "schema": {
  3387. "type": "array",
  3388. "items": {
  3389. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3390. }
  3391. }
  3392. },
  3393. "500": {
  3394. "description": "Internal Server Error",
  3395. "schema": {
  3396. "$ref": "#/definitions/app.Response"
  3397. }
  3398. }
  3399. }
  3400. }
  3401. },
  3402. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3403. "get": {
  3404. "security": [
  3405. {
  3406. "ApiKeyAuth": []
  3407. }
  3408. ],
  3409. "produces": [
  3410. "application/json"
  3411. ],
  3412. "tags": [
  3413. "企业风险管理v3(app)"
  3414. ],
  3415. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3416. "parameters": [
  3417. {
  3418. "type": "integer",
  3419. "description": "用户ID",
  3420. "name": "userid",
  3421. "in": "query",
  3422. "required": true
  3423. },
  3424. {
  3425. "type": "integer",
  3426. "description": "套保商品id",
  3427. "name": "middlegoodsid",
  3428. "in": "query",
  3429. "required": true
  3430. },
  3431. {
  3432. "type": "integer",
  3433. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3434. "name": "cycletype",
  3435. "in": "query",
  3436. "required": true
  3437. },
  3438. {
  3439. "type": "string",
  3440. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3441. "name": "cycletime",
  3442. "in": "query",
  3443. "required": true
  3444. }
  3445. ],
  3446. "responses": {
  3447. "200": {
  3448. "description": "OK",
  3449. "schema": {
  3450. "type": "array",
  3451. "items": {
  3452. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3453. }
  3454. }
  3455. },
  3456. "500": {
  3457. "description": "Internal Server Error",
  3458. "schema": {
  3459. "$ref": "#/definitions/app.Response"
  3460. }
  3461. }
  3462. }
  3463. }
  3464. },
  3465. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  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": "套保商品id",
  3490. "name": "middlegoodsid",
  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. "responses": {
  3510. "200": {
  3511. "description": "OK",
  3512. "schema": {
  3513. "type": "array",
  3514. "items": {
  3515. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3516. }
  3517. }
  3518. },
  3519. "500": {
  3520. "description": "Internal Server Error",
  3521. "schema": {
  3522. "$ref": "#/definitions/app.Response"
  3523. }
  3524. }
  3525. }
  3526. }
  3527. },
  3528. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3529. "get": {
  3530. "security": [
  3531. {
  3532. "ApiKeyAuth": []
  3533. }
  3534. ],
  3535. "produces": [
  3536. "application/json"
  3537. ],
  3538. "tags": [
  3539. "企业风险管理v3(app)"
  3540. ],
  3541. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3542. "parameters": [
  3543. {
  3544. "type": "integer",
  3545. "description": "用户ID",
  3546. "name": "userid",
  3547. "in": "query",
  3548. "required": true
  3549. },
  3550. {
  3551. "type": "integer",
  3552. "description": "套保商品id",
  3553. "name": "middlegoodsid",
  3554. "in": "query",
  3555. "required": true
  3556. },
  3557. {
  3558. "type": "integer",
  3559. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3560. "name": "cycletype",
  3561. "in": "query",
  3562. "required": true
  3563. },
  3564. {
  3565. "type": "string",
  3566. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3567. "name": "cycletime",
  3568. "in": "query",
  3569. "required": true
  3570. }
  3571. ],
  3572. "responses": {
  3573. "200": {
  3574. "description": "OK",
  3575. "schema": {
  3576. "type": "array",
  3577. "items": {
  3578. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3579. }
  3580. }
  3581. },
  3582. "500": {
  3583. "description": "Internal Server Error",
  3584. "schema": {
  3585. "$ref": "#/definitions/app.Response"
  3586. }
  3587. }
  3588. }
  3589. }
  3590. },
  3591. "/Ermcp3/QryAreaExpourseReport": {
  3592. "get": {
  3593. "security": [
  3594. {
  3595. "ApiKeyAuth": []
  3596. }
  3597. ],
  3598. "produces": [
  3599. "application/json"
  3600. ],
  3601. "tags": [
  3602. "企业风险管理v3(app)"
  3603. ],
  3604. "summary": "查询敞口报表",
  3605. "parameters": [
  3606. {
  3607. "type": "integer",
  3608. "description": "用户ID",
  3609. "name": "userid",
  3610. "in": "query",
  3611. "required": true
  3612. },
  3613. {
  3614. "type": "integer",
  3615. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3616. "name": "querytype",
  3617. "in": "query",
  3618. "required": true
  3619. },
  3620. {
  3621. "type": "integer",
  3622. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3623. "name": "cycletype",
  3624. "in": "query",
  3625. "required": true
  3626. },
  3627. {
  3628. "type": "string",
  3629. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3630. "name": "cycletime",
  3631. "in": "query",
  3632. "required": true
  3633. }
  3634. ],
  3635. "responses": {
  3636. "200": {
  3637. "description": "OK",
  3638. "schema": {
  3639. "type": "array",
  3640. "items": {
  3641. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3642. }
  3643. }
  3644. },
  3645. "500": {
  3646. "description": "Internal Server Error",
  3647. "schema": {
  3648. "$ref": "#/definitions/app.Response"
  3649. }
  3650. }
  3651. }
  3652. }
  3653. },
  3654. "/Ermcp3/QryAreaSpotplReport": {
  3655. "get": {
  3656. "security": [
  3657. {
  3658. "ApiKeyAuth": []
  3659. }
  3660. ],
  3661. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3662. "produces": [
  3663. "application/json"
  3664. ],
  3665. "tags": [
  3666. "企业风险管理v3(app)"
  3667. ],
  3668. "summary": "查询现货报表",
  3669. "parameters": [
  3670. {
  3671. "type": "integer",
  3672. "description": "用户ID",
  3673. "name": "userid",
  3674. "in": "query",
  3675. "required": true
  3676. },
  3677. {
  3678. "type": "integer",
  3679. "description": "查询类型 1-报表 2-报表明细",
  3680. "name": "querytype",
  3681. "in": "query",
  3682. "required": true
  3683. },
  3684. {
  3685. "type": "integer",
  3686. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3687. "name": "cycletype",
  3688. "in": "query",
  3689. "required": true
  3690. },
  3691. {
  3692. "type": "string",
  3693. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3694. "name": "cycletime",
  3695. "in": "query",
  3696. "required": true
  3697. },
  3698. {
  3699. "type": "integer",
  3700. "description": "现货品种id(明细必填)",
  3701. "name": "deliverygoodsid",
  3702. "in": "query"
  3703. },
  3704. {
  3705. "type": "integer",
  3706. "description": "币种id(明细必填)",
  3707. "name": "currencyid",
  3708. "in": "query"
  3709. },
  3710. {
  3711. "type": "integer",
  3712. "description": "日/周/月报表汇总维度 1:品种+品类",
  3713. "name": "sumflag",
  3714. "in": "query"
  3715. }
  3716. ],
  3717. "responses": {
  3718. "200": {
  3719. "description": "OK",
  3720. "schema": {
  3721. "type": "array",
  3722. "items": {
  3723. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3724. }
  3725. }
  3726. },
  3727. "500": {
  3728. "description": "Internal Server Error",
  3729. "schema": {
  3730. "$ref": "#/definitions/app.Response"
  3731. }
  3732. }
  3733. }
  3734. }
  3735. },
  3736. "/Ermcp3/QryAreaStockReport": {
  3737. "get": {
  3738. "security": [
  3739. {
  3740. "ApiKeyAuth": []
  3741. }
  3742. ],
  3743. "produces": [
  3744. "application/json"
  3745. ],
  3746. "tags": [
  3747. "企业风险管理v3(app)"
  3748. ],
  3749. "summary": "查询库存报表",
  3750. "parameters": [
  3751. {
  3752. "type": "integer",
  3753. "description": "用户ID",
  3754. "name": "userid",
  3755. "in": "query",
  3756. "required": true
  3757. },
  3758. {
  3759. "type": "integer",
  3760. "description": "查询类型 1-报表 2-报表明细",
  3761. "name": "querytype",
  3762. "in": "query",
  3763. "required": true
  3764. },
  3765. {
  3766. "type": "integer",
  3767. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3768. "name": "cycletype",
  3769. "in": "query",
  3770. "required": true
  3771. },
  3772. {
  3773. "type": "string",
  3774. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3775. "name": "cycletime",
  3776. "in": "query",
  3777. "required": true
  3778. },
  3779. {
  3780. "type": "string",
  3781. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3782. "name": "sumfields",
  3783. "in": "query"
  3784. },
  3785. {
  3786. "type": "integer",
  3787. "description": "品种ID",
  3788. "name": "deliverygoodsid",
  3789. "in": "query"
  3790. },
  3791. {
  3792. "type": "integer",
  3793. "description": "品类ID",
  3794. "name": "wrstandardid",
  3795. "in": "query"
  3796. },
  3797. {
  3798. "type": "integer",
  3799. "description": "品牌ID",
  3800. "name": "spotgoodsbrandid",
  3801. "in": "query"
  3802. },
  3803. {
  3804. "type": "integer",
  3805. "description": "仓库ID",
  3806. "name": "warehouseinfoid",
  3807. "in": "query"
  3808. }
  3809. ],
  3810. "responses": {
  3811. "200": {
  3812. "description": "OK",
  3813. "schema": {
  3814. "type": "array",
  3815. "items": {
  3816. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3817. }
  3818. }
  3819. },
  3820. "500": {
  3821. "description": "Internal Server Error",
  3822. "schema": {
  3823. "$ref": "#/definitions/app.Response"
  3824. }
  3825. }
  3826. }
  3827. }
  3828. },
  3829. "/Ermcp3/QryAreaSumPL": {
  3830. "get": {
  3831. "security": [
  3832. {
  3833. "ApiKeyAuth": []
  3834. }
  3835. ],
  3836. "produces": [
  3837. "application/json"
  3838. ],
  3839. "tags": [
  3840. "企业风险管理v3(app)"
  3841. ],
  3842. "summary": "查询汇总损益表",
  3843. "parameters": [
  3844. {
  3845. "type": "integer",
  3846. "description": "用户ID",
  3847. "name": "userid",
  3848. "in": "query",
  3849. "required": true
  3850. },
  3851. {
  3852. "type": "integer",
  3853. "description": "查询类型 1-报表 2-报表明细",
  3854. "name": "querytype",
  3855. "in": "query",
  3856. "required": true
  3857. },
  3858. {
  3859. "type": "integer",
  3860. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3861. "name": "cycletype",
  3862. "in": "query",
  3863. "required": true
  3864. },
  3865. {
  3866. "type": "string",
  3867. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3868. "name": "cycletime",
  3869. "in": "query",
  3870. "required": true
  3871. },
  3872. {
  3873. "type": "integer",
  3874. "description": "币种id(明细必填)",
  3875. "name": "currencyid",
  3876. "in": "query"
  3877. },
  3878. {
  3879. "type": "integer",
  3880. "description": "套保品种ID, 查询类型为2时起效",
  3881. "name": "middlegoodsid",
  3882. "in": "query"
  3883. }
  3884. ],
  3885. "responses": {
  3886. "200": {
  3887. "description": "OK",
  3888. "schema": {
  3889. "type": "array",
  3890. "items": {
  3891. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3892. }
  3893. }
  3894. },
  3895. "500": {
  3896. "description": "Internal Server Error",
  3897. "schema": {
  3898. "$ref": "#/definitions/app.Response"
  3899. }
  3900. }
  3901. }
  3902. }
  3903. },
  3904. "/Ermcp3/QryFinanceReport": {
  3905. "get": {
  3906. "security": [
  3907. {
  3908. "ApiKeyAuth": []
  3909. }
  3910. ],
  3911. "produces": [
  3912. "application/json"
  3913. ],
  3914. "tags": [
  3915. "企业风险管理v3(app)"
  3916. ],
  3917. "summary": "查询财务报表",
  3918. "parameters": [
  3919. {
  3920. "type": "integer",
  3921. "description": "用户ID",
  3922. "name": "userid",
  3923. "in": "query",
  3924. "required": true
  3925. },
  3926. {
  3927. "type": "integer",
  3928. "description": "查询类型 1-报表 2-报表明细",
  3929. "name": "querytype",
  3930. "in": "query",
  3931. "required": true
  3932. },
  3933. {
  3934. "type": "integer",
  3935. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3936. "name": "cycletype",
  3937. "in": "query",
  3938. "required": true
  3939. },
  3940. {
  3941. "type": "string",
  3942. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3943. "name": "cycletime",
  3944. "in": "query",
  3945. "required": true
  3946. },
  3947. {
  3948. "type": "integer",
  3949. "description": "币种id(报表明细必填)",
  3950. "name": "currencyid",
  3951. "in": "query"
  3952. },
  3953. {
  3954. "type": "string",
  3955. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3956. "name": "sumfields",
  3957. "in": "query"
  3958. }
  3959. ],
  3960. "responses": {
  3961. "200": {
  3962. "description": "OK",
  3963. "schema": {
  3964. "type": "array",
  3965. "items": {
  3966. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3967. }
  3968. }
  3969. },
  3970. "500": {
  3971. "description": "Internal Server Error",
  3972. "schema": {
  3973. "$ref": "#/definitions/app.Response"
  3974. }
  3975. }
  3976. }
  3977. }
  3978. },
  3979. "/Ermcp3/QrySCMiddleGoodsReport": {
  3980. "get": {
  3981. "security": [
  3982. {
  3983. "ApiKeyAuth": []
  3984. }
  3985. ],
  3986. "produces": [
  3987. "application/json"
  3988. ],
  3989. "tags": [
  3990. "企业风险管理v3(app)"
  3991. ],
  3992. "summary": "查询定价报表",
  3993. "parameters": [
  3994. {
  3995. "type": "integer",
  3996. "description": "用户ID",
  3997. "name": "userid",
  3998. "in": "query",
  3999. "required": true
  4000. },
  4001. {
  4002. "type": "integer",
  4003. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4004. "name": "cycletype",
  4005. "in": "query",
  4006. "required": true
  4007. },
  4008. {
  4009. "type": "string",
  4010. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4011. "name": "cycletime",
  4012. "in": "query",
  4013. "required": true
  4014. },
  4015. {
  4016. "type": "integer",
  4017. "description": "合同id",
  4018. "name": "spotcontractid",
  4019. "in": "query"
  4020. },
  4021. {
  4022. "type": "integer",
  4023. "description": "套保品种id",
  4024. "name": "middlegoodsid",
  4025. "in": "query"
  4026. },
  4027. {
  4028. "type": "integer",
  4029. "description": "现货品种id",
  4030. "name": "deliverygoodsid",
  4031. "in": "query"
  4032. },
  4033. {
  4034. "type": "integer",
  4035. "description": "现货商品id",
  4036. "name": "wrstandardid",
  4037. "in": "query"
  4038. },
  4039. {
  4040. "type": "string",
  4041. "description": "合同编号(模糊匹配)",
  4042. "name": "contractno",
  4043. "in": "query"
  4044. }
  4045. ],
  4046. "responses": {
  4047. "200": {
  4048. "description": "OK",
  4049. "schema": {
  4050. "type": "array",
  4051. "items": {
  4052. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  4053. }
  4054. }
  4055. },
  4056. "500": {
  4057. "description": "Internal Server Error",
  4058. "schema": {
  4059. "$ref": "#/definitions/app.Response"
  4060. }
  4061. }
  4062. }
  4063. }
  4064. },
  4065. "/Ermcp3/QryTaFutureDataReport": {
  4066. "get": {
  4067. "security": [
  4068. {
  4069. "ApiKeyAuth": []
  4070. }
  4071. ],
  4072. "produces": [
  4073. "application/json"
  4074. ],
  4075. "tags": [
  4076. "企业风险管理v3(app)"
  4077. ],
  4078. "summary": "查询期货报表",
  4079. "parameters": [
  4080. {
  4081. "type": "integer",
  4082. "description": "用户ID",
  4083. "name": "userid",
  4084. "in": "query",
  4085. "required": true
  4086. },
  4087. {
  4088. "type": "integer",
  4089. "description": "查询类型 1-报表 2-报表明细",
  4090. "name": "querytype",
  4091. "in": "query",
  4092. "required": true
  4093. },
  4094. {
  4095. "type": "integer",
  4096. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4097. "name": "cycletype",
  4098. "in": "query",
  4099. "required": true
  4100. },
  4101. {
  4102. "type": "string",
  4103. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4104. "name": "cycletime",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "integer",
  4110. "description": "币种id(查明细必填)",
  4111. "name": "currencyid",
  4112. "in": "query"
  4113. },
  4114. {
  4115. "type": "integer",
  4116. "description": "品种id(查明细必填)",
  4117. "name": "goodsgroupid",
  4118. "in": "query"
  4119. },
  4120. {
  4121. "type": "integer",
  4122. "description": "商品id(查明细必填)",
  4123. "name": "goodsid",
  4124. "in": "query"
  4125. },
  4126. {
  4127. "type": "integer",
  4128. "description": "买卖方向(查明细必填)",
  4129. "name": "buyorsell",
  4130. "in": "query"
  4131. }
  4132. ],
  4133. "responses": {
  4134. "200": {
  4135. "description": "OK",
  4136. "schema": {
  4137. "type": "array",
  4138. "items": {
  4139. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  4140. }
  4141. }
  4142. },
  4143. "500": {
  4144. "description": "Internal Server Error",
  4145. "schema": {
  4146. "$ref": "#/definitions/app.Response"
  4147. }
  4148. }
  4149. }
  4150. }
  4151. },
  4152. "/Ermcp3/QueryAreaStock": {
  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. "responses": {
  4176. "200": {
  4177. "description": "OK",
  4178. "schema": {
  4179. "type": "array",
  4180. "items": {
  4181. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4182. }
  4183. }
  4184. },
  4185. "500": {
  4186. "description": "Internal Server Error",
  4187. "schema": {
  4188. "$ref": "#/definitions/app.Response"
  4189. }
  4190. }
  4191. }
  4192. }
  4193. },
  4194. "/Ermcp3/QueryAreaStockApply": {
  4195. "get": {
  4196. "security": [
  4197. {
  4198. "ApiKeyAuth": []
  4199. }
  4200. ],
  4201. "produces": [
  4202. "application/json"
  4203. ],
  4204. "tags": [
  4205. "企业风险管理v3(app)"
  4206. ],
  4207. "summary": "查询库存申请(出入库记录|库存审核)",
  4208. "parameters": [
  4209. {
  4210. "type": "integer",
  4211. "description": "用户ID",
  4212. "name": "userid",
  4213. "in": "query",
  4214. "required": true
  4215. },
  4216. {
  4217. "type": "integer",
  4218. "description": "用户类型 2-机构 7-企业成员",
  4219. "name": "usertype",
  4220. "in": "query"
  4221. },
  4222. {
  4223. "type": "integer",
  4224. "description": "现货商品ID",
  4225. "name": "deliverygoodsid",
  4226. "in": "query"
  4227. },
  4228. {
  4229. "type": "string",
  4230. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  4231. "name": "inouttype",
  4232. "in": "query"
  4233. },
  4234. {
  4235. "type": "integer",
  4236. "description": "合同ID",
  4237. "name": "spotcontractid",
  4238. "in": "query"
  4239. },
  4240. {
  4241. "type": "integer",
  4242. "description": "品类ID",
  4243. "name": "wrstandardid",
  4244. "in": "query"
  4245. },
  4246. {
  4247. "type": "integer",
  4248. "description": "品牌ID",
  4249. "name": "spotgoodsbrandid",
  4250. "in": "query"
  4251. },
  4252. {
  4253. "type": "integer",
  4254. "description": "仓库ID",
  4255. "name": "warehouseinfoid",
  4256. "in": "query"
  4257. },
  4258. {
  4259. "type": "string",
  4260. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4261. "name": "applystatus",
  4262. "in": "query"
  4263. }
  4264. ],
  4265. "responses": {
  4266. "200": {
  4267. "description": "OK",
  4268. "schema": {
  4269. "type": "array",
  4270. "items": {
  4271. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4272. }
  4273. }
  4274. },
  4275. "500": {
  4276. "description": "Internal Server Error",
  4277. "schema": {
  4278. "$ref": "#/definitions/app.Response"
  4279. }
  4280. }
  4281. }
  4282. }
  4283. },
  4284. "/Ermcp3/QueryAreaStockApplySum": {
  4285. "get": {
  4286. "security": [
  4287. {
  4288. "ApiKeyAuth": []
  4289. }
  4290. ],
  4291. "produces": [
  4292. "application/json"
  4293. ],
  4294. "tags": [
  4295. "企业风险管理v3(app)"
  4296. ],
  4297. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4298. "parameters": [
  4299. {
  4300. "type": "integer",
  4301. "description": "合同ID",
  4302. "name": "spotcontractid",
  4303. "in": "query",
  4304. "required": true
  4305. }
  4306. ],
  4307. "responses": {
  4308. "200": {
  4309. "description": "OK",
  4310. "schema": {
  4311. "type": "array",
  4312. "items": {
  4313. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4314. }
  4315. }
  4316. },
  4317. "500": {
  4318. "description": "Internal Server Error",
  4319. "schema": {
  4320. "$ref": "#/definitions/app.Response"
  4321. }
  4322. }
  4323. }
  4324. }
  4325. },
  4326. "/Ermcp3/QueryDGFactoryItem": {
  4327. "get": {
  4328. "security": [
  4329. {
  4330. "ApiKeyAuth": []
  4331. }
  4332. ],
  4333. "produces": [
  4334. "application/json"
  4335. ],
  4336. "tags": [
  4337. "企业风险管理v3(app)"
  4338. ],
  4339. "summary": "查询品种要素定义项",
  4340. "parameters": [
  4341. {
  4342. "type": "integer",
  4343. "description": "用户id",
  4344. "name": "userid",
  4345. "in": "query"
  4346. },
  4347. {
  4348. "type": "integer",
  4349. "description": "用户类型 2-机构 7-企业成员",
  4350. "name": "usertype",
  4351. "in": "query"
  4352. },
  4353. {
  4354. "type": "integer",
  4355. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4356. "name": "dgfactoryitemid",
  4357. "in": "query"
  4358. },
  4359. {
  4360. "type": "integer",
  4361. "description": "现货品种ID",
  4362. "name": "deliverygoodsid",
  4363. "in": "query"
  4364. },
  4365. {
  4366. "type": "integer",
  4367. "description": "要素项类型",
  4368. "name": "dgfactoryitemtypeid",
  4369. "in": "query"
  4370. },
  4371. {
  4372. "type": "integer",
  4373. "description": "顺序",
  4374. "name": "orderindex",
  4375. "in": "query"
  4376. }
  4377. ],
  4378. "responses": {
  4379. "200": {
  4380. "description": "OK",
  4381. "schema": {
  4382. "type": "array",
  4383. "items": {
  4384. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4385. }
  4386. }
  4387. },
  4388. "500": {
  4389. "description": "Internal Server Error",
  4390. "schema": {
  4391. "$ref": "#/definitions/app.Response"
  4392. }
  4393. }
  4394. }
  4395. }
  4396. },
  4397. "/Ermcp3/QueryDeliveryGoods": {
  4398. "get": {
  4399. "security": [
  4400. {
  4401. "ApiKeyAuth": []
  4402. }
  4403. ],
  4404. "produces": [
  4405. "application/json"
  4406. ],
  4407. "tags": [
  4408. "企业风险管理v3(app)"
  4409. ],
  4410. "summary": "查询现货商品",
  4411. "parameters": [
  4412. {
  4413. "type": "integer",
  4414. "description": "用户id",
  4415. "name": "userid",
  4416. "in": "query",
  4417. "required": true
  4418. },
  4419. {
  4420. "type": "integer",
  4421. "description": "用户类型 2-机构 7-企业成员",
  4422. "name": "usertype",
  4423. "in": "query"
  4424. },
  4425. {
  4426. "type": "integer",
  4427. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4428. "name": "excludecfg",
  4429. "in": "query"
  4430. }
  4431. ],
  4432. "responses": {
  4433. "200": {
  4434. "description": "OK",
  4435. "schema": {
  4436. "type": "array",
  4437. "items": {
  4438. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4439. }
  4440. }
  4441. },
  4442. "500": {
  4443. "description": "Internal Server Error",
  4444. "schema": {
  4445. "$ref": "#/definitions/app.Response"
  4446. }
  4447. }
  4448. }
  4449. }
  4450. },
  4451. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4452. "get": {
  4453. "security": [
  4454. {
  4455. "ApiKeyAuth": []
  4456. }
  4457. ],
  4458. "produces": [
  4459. "application/json"
  4460. ],
  4461. "tags": [
  4462. "企业风险管理v3(app)"
  4463. ],
  4464. "summary": "查询现货商品详情",
  4465. "parameters": [
  4466. {
  4467. "type": "integer",
  4468. "description": "用户id",
  4469. "name": "userid",
  4470. "in": "query",
  4471. "required": true
  4472. },
  4473. {
  4474. "type": "integer",
  4475. "description": "用户类型 2-机构 7-企业成员",
  4476. "name": "usertype",
  4477. "in": "query"
  4478. },
  4479. {
  4480. "type": "integer",
  4481. "description": "现货商品id",
  4482. "name": "deliverygoodsid",
  4483. "in": "query"
  4484. },
  4485. {
  4486. "type": "integer",
  4487. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4488. "name": "filtersubempty",
  4489. "in": "query"
  4490. }
  4491. ],
  4492. "responses": {
  4493. "200": {
  4494. "description": "OK",
  4495. "schema": {
  4496. "type": "array",
  4497. "items": {
  4498. "$ref": "#/definitions/models.XHDeliveryGoods"
  4499. }
  4500. }
  4501. },
  4502. "500": {
  4503. "description": "Internal Server Error",
  4504. "schema": {
  4505. "$ref": "#/definitions/app.Response"
  4506. }
  4507. }
  4508. }
  4509. }
  4510. },
  4511. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4512. "get": {
  4513. "security": [
  4514. {
  4515. "ApiKeyAuth": []
  4516. }
  4517. ],
  4518. "produces": [
  4519. "application/json"
  4520. ],
  4521. "tags": [
  4522. "企业风险管理v3(app)"
  4523. ],
  4524. "summary": "查询现货合同期现配置信息",
  4525. "parameters": [
  4526. {
  4527. "type": "string",
  4528. "description": "合同id",
  4529. "name": "spotcontractid",
  4530. "in": "query",
  4531. "required": true
  4532. }
  4533. ],
  4534. "responses": {
  4535. "200": {
  4536. "description": "OK",
  4537. "schema": {
  4538. "type": "array",
  4539. "items": {
  4540. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4541. }
  4542. }
  4543. },
  4544. "500": {
  4545. "description": "Internal Server Error",
  4546. "schema": {
  4547. "$ref": "#/definitions/app.Response"
  4548. }
  4549. }
  4550. }
  4551. }
  4552. },
  4553. "/Ermcp3/QueryExposureDetail": {
  4554. "get": {
  4555. "security": [
  4556. {
  4557. "ApiKeyAuth": []
  4558. }
  4559. ],
  4560. "produces": [
  4561. "application/json"
  4562. ],
  4563. "tags": [
  4564. "企业风险管理v3(app)"
  4565. ],
  4566. "summary": "查询敞口现货明细",
  4567. "parameters": [
  4568. {
  4569. "type": "integer",
  4570. "description": "用户id",
  4571. "name": "userid",
  4572. "in": "query",
  4573. "required": true
  4574. },
  4575. {
  4576. "type": "integer",
  4577. "description": "用户类型 2-机构 7-企业成员",
  4578. "name": "usertype",
  4579. "in": "query"
  4580. },
  4581. {
  4582. "type": "integer",
  4583. "description": "套保商品",
  4584. "name": "middlegoodsid",
  4585. "in": "query",
  4586. "required": true
  4587. }
  4588. ],
  4589. "responses": {
  4590. "200": {
  4591. "description": "OK",
  4592. "schema": {
  4593. "type": "array",
  4594. "items": {
  4595. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4596. }
  4597. }
  4598. },
  4599. "500": {
  4600. "description": "Internal Server Error",
  4601. "schema": {
  4602. "$ref": "#/definitions/app.Response"
  4603. }
  4604. }
  4605. }
  4606. }
  4607. },
  4608. "/Ermcp3/QueryExposureSpot": {
  4609. "get": {
  4610. "security": [
  4611. {
  4612. "ApiKeyAuth": []
  4613. }
  4614. ],
  4615. "produces": [
  4616. "application/json"
  4617. ],
  4618. "tags": [
  4619. "企业风险管理v3(app)"
  4620. ],
  4621. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4622. "parameters": [
  4623. {
  4624. "type": "integer",
  4625. "description": "用户id",
  4626. "name": "userid",
  4627. "in": "query",
  4628. "required": true
  4629. },
  4630. {
  4631. "type": "integer",
  4632. "description": "用户类型 2-机构 7-企业成员",
  4633. "name": "usertype",
  4634. "in": "query"
  4635. }
  4636. ],
  4637. "responses": {
  4638. "200": {
  4639. "description": "OK",
  4640. "schema": {
  4641. "type": "array",
  4642. "items": {
  4643. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4644. }
  4645. }
  4646. },
  4647. "500": {
  4648. "description": "Internal Server Error",
  4649. "schema": {
  4650. "$ref": "#/definitions/app.Response"
  4651. }
  4652. }
  4653. }
  4654. }
  4655. },
  4656. "/Ermcp3/QueryExposureSpotDetail": {
  4657. "get": {
  4658. "security": [
  4659. {
  4660. "ApiKeyAuth": []
  4661. }
  4662. ],
  4663. "produces": [
  4664. "application/json"
  4665. ],
  4666. "tags": [
  4667. "企业风险管理v3(app)"
  4668. ],
  4669. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4670. "parameters": [
  4671. {
  4672. "type": "integer",
  4673. "description": "用户id",
  4674. "name": "userid",
  4675. "in": "query",
  4676. "required": true
  4677. },
  4678. {
  4679. "type": "integer",
  4680. "description": "用户类型 2-机构 7-企业成员",
  4681. "name": "usertype",
  4682. "in": "query"
  4683. },
  4684. {
  4685. "type": "integer",
  4686. "description": "现货商品ID",
  4687. "name": "wrstandardid",
  4688. "in": "query",
  4689. "required": true
  4690. }
  4691. ],
  4692. "responses": {
  4693. "200": {
  4694. "description": "OK",
  4695. "schema": {
  4696. "type": "array",
  4697. "items": {
  4698. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4699. }
  4700. }
  4701. },
  4702. "500": {
  4703. "description": "Internal Server Error",
  4704. "schema": {
  4705. "$ref": "#/definitions/app.Response"
  4706. }
  4707. }
  4708. }
  4709. }
  4710. },
  4711. "/Ermcp3/QueryGoodsGroup": {
  4712. "get": {
  4713. "security": [
  4714. {
  4715. "ApiKeyAuth": []
  4716. }
  4717. ],
  4718. "produces": [
  4719. "application/json"
  4720. ],
  4721. "tags": [
  4722. "企业风险管理v3(app)"
  4723. ],
  4724. "summary": "查询期货商品组",
  4725. "parameters": [
  4726. {
  4727. "type": "integer",
  4728. "description": "用户id",
  4729. "name": "userid",
  4730. "in": "query",
  4731. "required": true
  4732. },
  4733. {
  4734. "type": "integer",
  4735. "description": "用户类型 2-机构 7-企业成员",
  4736. "name": "usertype",
  4737. "in": "query"
  4738. },
  4739. {
  4740. "type": "integer",
  4741. "description": "排除套保品中已关联的商品组 1-排除",
  4742. "name": "excludecfg",
  4743. "in": "query"
  4744. }
  4745. ],
  4746. "responses": {
  4747. "200": {
  4748. "description": "OK",
  4749. "schema": {
  4750. "type": "array",
  4751. "items": {
  4752. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4753. }
  4754. }
  4755. },
  4756. "500": {
  4757. "description": "Internal Server Error",
  4758. "schema": {
  4759. "$ref": "#/definitions/app.Response"
  4760. }
  4761. }
  4762. }
  4763. }
  4764. },
  4765. "/Ermcp3/QueryGoodsWrstandard": {
  4766. "get": {
  4767. "security": [
  4768. {
  4769. "ApiKeyAuth": []
  4770. }
  4771. ],
  4772. "produces": [
  4773. "application/json"
  4774. ],
  4775. "tags": [
  4776. "企业风险管理v3(app)"
  4777. ],
  4778. "summary": "查询商品品类",
  4779. "parameters": [
  4780. {
  4781. "type": "integer",
  4782. "description": "用户id",
  4783. "name": "userid",
  4784. "in": "query",
  4785. "required": true
  4786. },
  4787. {
  4788. "type": "integer",
  4789. "description": "用户类型 2-机构 7-企业成员",
  4790. "name": "usertype",
  4791. "in": "query"
  4792. },
  4793. {
  4794. "type": "integer",
  4795. "description": "现货商品id",
  4796. "name": "deliverygoodsid",
  4797. "in": "query"
  4798. }
  4799. ],
  4800. "responses": {
  4801. "200": {
  4802. "description": "OK",
  4803. "schema": {
  4804. "type": "array",
  4805. "items": {
  4806. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4807. }
  4808. }
  4809. },
  4810. "500": {
  4811. "description": "Internal Server Error",
  4812. "schema": {
  4813. "$ref": "#/definitions/app.Response"
  4814. }
  4815. }
  4816. }
  4817. }
  4818. },
  4819. "/Ermcp3/QueryGoodsbrand": {
  4820. "get": {
  4821. "security": [
  4822. {
  4823. "ApiKeyAuth": []
  4824. }
  4825. ],
  4826. "produces": [
  4827. "application/json"
  4828. ],
  4829. "tags": [
  4830. "企业风险管理v3(app)"
  4831. ],
  4832. "summary": "查询商品品牌",
  4833. "parameters": [
  4834. {
  4835. "type": "integer",
  4836. "description": "用户id",
  4837. "name": "userid",
  4838. "in": "query",
  4839. "required": true
  4840. },
  4841. {
  4842. "type": "integer",
  4843. "description": "用户类型 2-机构 7-企业成员",
  4844. "name": "usertype",
  4845. "in": "query"
  4846. }
  4847. ],
  4848. "responses": {
  4849. "200": {
  4850. "description": "OK",
  4851. "schema": {
  4852. "type": "array",
  4853. "items": {
  4854. "$ref": "#/definitions/models.Ermcp3Brand"
  4855. }
  4856. }
  4857. },
  4858. "500": {
  4859. "description": "Internal Server Error",
  4860. "schema": {
  4861. "$ref": "#/definitions/app.Response"
  4862. }
  4863. }
  4864. }
  4865. }
  4866. },
  4867. "/Ermcp3/QueryHPMiddleGoods": {
  4868. "get": {
  4869. "security": [
  4870. {
  4871. "ApiKeyAuth": []
  4872. }
  4873. ],
  4874. "produces": [
  4875. "application/json"
  4876. ],
  4877. "tags": [
  4878. "企业风险管理v3(app)"
  4879. ],
  4880. "summary": "查询可关联套保计划",
  4881. "parameters": [
  4882. {
  4883. "type": "integer",
  4884. "description": "用户ID(填登录用户的userid)",
  4885. "name": "userid",
  4886. "in": "query",
  4887. "required": true
  4888. },
  4889. {
  4890. "type": "integer",
  4891. "description": "买卖方向 0-买 1-卖",
  4892. "name": "buyorsell",
  4893. "in": "query",
  4894. "required": true
  4895. },
  4896. {
  4897. "type": "integer",
  4898. "description": "商品组id",
  4899. "name": "goodsgroupid",
  4900. "in": "query",
  4901. "required": true
  4902. },
  4903. {
  4904. "type": "string",
  4905. "description": "套保计划编号(模糊匹配)",
  4906. "name": "hedgeplanno",
  4907. "in": "query"
  4908. },
  4909. {
  4910. "type": "string",
  4911. "description": "现货商品名称(模糊匹配)",
  4912. "name": "wrstandardname",
  4913. "in": "query"
  4914. }
  4915. ],
  4916. "responses": {
  4917. "200": {
  4918. "description": "OK",
  4919. "schema": {
  4920. "type": "array",
  4921. "items": {
  4922. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4923. }
  4924. }
  4925. },
  4926. "500": {
  4927. "description": "Internal Server Error",
  4928. "schema": {
  4929. "$ref": "#/definitions/app.Response"
  4930. }
  4931. }
  4932. }
  4933. }
  4934. },
  4935. "/Ermcp3/QueryHedgePlan": {
  4936. "get": {
  4937. "security": [
  4938. {
  4939. "ApiKeyAuth": []
  4940. }
  4941. ],
  4942. "produces": [
  4943. "application/json"
  4944. ],
  4945. "tags": [
  4946. "企业风险管理v3(app)"
  4947. ],
  4948. "summary": "查询套保计划",
  4949. "parameters": [
  4950. {
  4951. "type": "integer",
  4952. "description": "用户ID",
  4953. "name": "userid",
  4954. "in": "query",
  4955. "required": true
  4956. },
  4957. {
  4958. "type": "integer",
  4959. "description": "用户类型 2-机构 7-企业成员",
  4960. "name": "usertype",
  4961. "in": "query"
  4962. },
  4963. {
  4964. "type": "string",
  4965. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4966. "name": "hedgeplanstatus",
  4967. "in": "query",
  4968. "required": true
  4969. }
  4970. ],
  4971. "responses": {
  4972. "200": {
  4973. "description": "OK",
  4974. "schema": {
  4975. "type": "array",
  4976. "items": {
  4977. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4978. }
  4979. }
  4980. },
  4981. "500": {
  4982. "description": "Internal Server Error",
  4983. "schema": {
  4984. "$ref": "#/definitions/app.Response"
  4985. }
  4986. }
  4987. }
  4988. }
  4989. },
  4990. "/Ermcp3/QueryInnerTradeLink": {
  4991. "get": {
  4992. "security": [
  4993. {
  4994. "ApiKeyAuth": []
  4995. }
  4996. ],
  4997. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4998. "produces": [
  4999. "application/json"
  5000. ],
  5001. "tags": [
  5002. "企业风险管理v3(app)"
  5003. ],
  5004. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  5005. "parameters": [
  5006. {
  5007. "type": "integer",
  5008. "description": "外部成交单号",
  5009. "name": "outtradeid",
  5010. "in": "query",
  5011. "required": true
  5012. }
  5013. ],
  5014. "responses": {
  5015. "200": {
  5016. "description": "OK",
  5017. "schema": {
  5018. "type": "array",
  5019. "items": {
  5020. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  5021. }
  5022. }
  5023. },
  5024. "500": {
  5025. "description": "Internal Server Error",
  5026. "schema": {
  5027. "$ref": "#/definitions/app.Response"
  5028. }
  5029. }
  5030. }
  5031. }
  5032. },
  5033. "/Ermcp3/QueryMiddleGoodsDetail": {
  5034. "get": {
  5035. "security": [
  5036. {
  5037. "ApiKeyAuth": []
  5038. }
  5039. ],
  5040. "produces": [
  5041. "application/json"
  5042. ],
  5043. "tags": [
  5044. "企业风险管理v3(app)"
  5045. ],
  5046. "summary": "查询套保品种详情(套保品种/商品详情)",
  5047. "parameters": [
  5048. {
  5049. "type": "integer",
  5050. "description": "用户id",
  5051. "name": "userid",
  5052. "in": "query",
  5053. "required": true
  5054. },
  5055. {
  5056. "type": "integer",
  5057. "description": "用户类型 2-机构 7-企业成员",
  5058. "name": "usertype",
  5059. "in": "query"
  5060. },
  5061. {
  5062. "type": "integer",
  5063. "description": "套保品种id",
  5064. "name": "middlegoodsid",
  5065. "in": "query"
  5066. }
  5067. ],
  5068. "responses": {
  5069. "200": {
  5070. "description": "OK",
  5071. "schema": {
  5072. "type": "array",
  5073. "items": {
  5074. "$ref": "#/definitions/models.TBMiddleGoods"
  5075. }
  5076. }
  5077. },
  5078. "500": {
  5079. "description": "Internal Server Error",
  5080. "schema": {
  5081. "$ref": "#/definitions/app.Response"
  5082. }
  5083. }
  5084. }
  5085. }
  5086. },
  5087. "/Ermcp3/QueryOutTradeLink": {
  5088. "get": {
  5089. "security": [
  5090. {
  5091. "ApiKeyAuth": []
  5092. }
  5093. ],
  5094. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  5095. "produces": [
  5096. "application/json"
  5097. ],
  5098. "tags": [
  5099. "企业风险管理v3(app)"
  5100. ],
  5101. "summary": "查询外部成交单关联",
  5102. "parameters": [
  5103. {
  5104. "type": "integer",
  5105. "description": "用户ID(填登录用户的userid)",
  5106. "name": "userid",
  5107. "in": "query",
  5108. "required": true
  5109. },
  5110. {
  5111. "type": "string",
  5112. "description": "外部订单号(模糊匹配)",
  5113. "name": "outtradeid",
  5114. "in": "query"
  5115. },
  5116. {
  5117. "type": "string",
  5118. "description": "合约名称/代码(模糊匹配)",
  5119. "name": "goodsname",
  5120. "in": "query"
  5121. },
  5122. {
  5123. "type": "integer",
  5124. "description": "关联状态 0-未关联 1-已关联",
  5125. "name": "hasinnerorder",
  5126. "in": "query"
  5127. }
  5128. ],
  5129. "responses": {
  5130. "200": {
  5131. "description": "OK",
  5132. "schema": {
  5133. "type": "array",
  5134. "items": {
  5135. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  5136. }
  5137. }
  5138. },
  5139. "500": {
  5140. "description": "Internal Server Error",
  5141. "schema": {
  5142. "$ref": "#/definitions/app.Response"
  5143. }
  5144. }
  5145. }
  5146. }
  5147. },
  5148. "/Ermcp3/QueryPaAreaAuditCfg": {
  5149. "get": {
  5150. "security": [
  5151. {
  5152. "ApiKeyAuth": []
  5153. }
  5154. ],
  5155. "produces": [
  5156. "application/json"
  5157. ],
  5158. "tags": [
  5159. "企业风险管理v3(app)"
  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. "type": "array",
  5176. "items": {
  5177. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  5178. }
  5179. }
  5180. },
  5181. "500": {
  5182. "description": "Internal Server Error",
  5183. "schema": {
  5184. "$ref": "#/definitions/app.Response"
  5185. }
  5186. }
  5187. }
  5188. }
  5189. },
  5190. "/Ermcp3/QueryPaAreaSubject": {
  5191. "get": {
  5192. "security": [
  5193. {
  5194. "ApiKeyAuth": []
  5195. }
  5196. ],
  5197. "produces": [
  5198. "application/json"
  5199. ],
  5200. "tags": [
  5201. "企业风险管理v3(app)"
  5202. ],
  5203. "summary": "查询交易主体",
  5204. "parameters": [
  5205. {
  5206. "type": "integer",
  5207. "description": "用户id",
  5208. "name": "userid",
  5209. "in": "query",
  5210. "required": true
  5211. },
  5212. {
  5213. "type": "integer",
  5214. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  5215. "name": "subjectid",
  5216. "in": "query"
  5217. },
  5218. {
  5219. "type": "integer",
  5220. "description": "主体类型 - 1:交易主体 2:业务部门",
  5221. "name": "subjecttype",
  5222. "in": "query"
  5223. },
  5224. {
  5225. "type": "integer",
  5226. "description": "主体状态 - 1:正常 2: 停用",
  5227. "name": "subjectstatus",
  5228. "in": "query"
  5229. }
  5230. ],
  5231. "responses": {
  5232. "200": {
  5233. "description": "OK",
  5234. "schema": {
  5235. "type": "array",
  5236. "items": {
  5237. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  5238. }
  5239. }
  5240. },
  5241. "500": {
  5242. "description": "Internal Server Error",
  5243. "schema": {
  5244. "$ref": "#/definitions/app.Response"
  5245. }
  5246. }
  5247. }
  5248. }
  5249. },
  5250. "/Ermcp3/QueryPaTradeLink": {
  5251. "get": {
  5252. "security": [
  5253. {
  5254. "ApiKeyAuth": []
  5255. }
  5256. ],
  5257. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  5258. "produces": [
  5259. "application/json"
  5260. ],
  5261. "tags": [
  5262. "企业风险管理v3(app)"
  5263. ],
  5264. "summary": "查询期现单据关联",
  5265. "parameters": [
  5266. {
  5267. "type": "integer",
  5268. "description": "用户ID",
  5269. "name": "userid",
  5270. "in": "query",
  5271. "required": true
  5272. }
  5273. ],
  5274. "responses": {
  5275. "200": {
  5276. "description": "OK",
  5277. "schema": {
  5278. "type": "array",
  5279. "items": {
  5280. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  5281. }
  5282. }
  5283. },
  5284. "500": {
  5285. "description": "Internal Server Error",
  5286. "schema": {
  5287. "$ref": "#/definitions/app.Response"
  5288. }
  5289. }
  5290. }
  5291. }
  5292. },
  5293. "/Ermcp3/QueryPaTradeLinkDetail": {
  5294. "get": {
  5295. "security": [
  5296. {
  5297. "ApiKeyAuth": []
  5298. }
  5299. ],
  5300. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5301. "produces": [
  5302. "application/json"
  5303. ],
  5304. "tags": [
  5305. "企业风险管理v3(app)"
  5306. ],
  5307. "summary": "查询期现关联记录",
  5308. "parameters": [
  5309. {
  5310. "type": "integer",
  5311. "description": "用户ID(填登录用户的userid)",
  5312. "name": "userid",
  5313. "in": "query",
  5314. "required": true
  5315. },
  5316. {
  5317. "type": "integer",
  5318. "description": "关联状态 1:成功 2:失败 3:解绑",
  5319. "name": "linkstatus",
  5320. "in": "query"
  5321. },
  5322. {
  5323. "type": "string",
  5324. "description": "期货订单号(模糊匹配)",
  5325. "name": "tradeid",
  5326. "in": "query"
  5327. },
  5328. {
  5329. "type": "string",
  5330. "description": "现货编号(模糊匹配)",
  5331. "name": "contractno",
  5332. "in": "query"
  5333. },
  5334. {
  5335. "type": "string",
  5336. "description": "期货账户(模糊匹配)",
  5337. "name": "taname",
  5338. "in": "query"
  5339. }
  5340. ],
  5341. "responses": {
  5342. "200": {
  5343. "description": "OK",
  5344. "schema": {
  5345. "type": "array",
  5346. "items": {
  5347. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5348. }
  5349. }
  5350. },
  5351. "500": {
  5352. "description": "Internal Server Error",
  5353. "schema": {
  5354. "$ref": "#/definitions/app.Response"
  5355. }
  5356. }
  5357. }
  5358. }
  5359. },
  5360. "/Ermcp3/QueryParamChangeApp": {
  5361. "get": {
  5362. "security": [
  5363. {
  5364. "ApiKeyAuth": []
  5365. }
  5366. ],
  5367. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5368. "produces": [
  5369. "application/json"
  5370. ],
  5371. "tags": [
  5372. "企业风险管理v3(app)"
  5373. ],
  5374. "summary": "查询现货商品参数变更申请(流水)",
  5375. "parameters": [
  5376. {
  5377. "type": "integer",
  5378. "description": "用户ID",
  5379. "name": "userid",
  5380. "in": "query",
  5381. "required": true
  5382. },
  5383. {
  5384. "type": "integer",
  5385. "description": "现货品种id",
  5386. "name": "deliverygoodsid",
  5387. "in": "query"
  5388. },
  5389. {
  5390. "type": "integer",
  5391. "description": "现货商品id",
  5392. "name": "wrstandardid",
  5393. "in": "query"
  5394. },
  5395. {
  5396. "type": "integer",
  5397. "description": "套保商品id",
  5398. "name": "middlegoodsid",
  5399. "in": "query"
  5400. },
  5401. {
  5402. "type": "integer",
  5403. "description": "操作类型 1:新增 2:修改",
  5404. "name": "operatetype",
  5405. "in": "query"
  5406. },
  5407. {
  5408. "type": "integer",
  5409. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5410. "name": "paramchangetype",
  5411. "in": "query"
  5412. },
  5413. {
  5414. "type": "string",
  5415. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5416. "name": "ftstatus",
  5417. "in": "query"
  5418. }
  5419. ],
  5420. "responses": {
  5421. "200": {
  5422. "description": "OK",
  5423. "schema": {
  5424. "type": "array",
  5425. "items": {
  5426. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5427. }
  5428. }
  5429. },
  5430. "500": {
  5431. "description": "Internal Server Error",
  5432. "schema": {
  5433. "$ref": "#/definitions/app.Response"
  5434. }
  5435. }
  5436. }
  5437. }
  5438. },
  5439. "/Ermcp3/QueryRootUserAccount": {
  5440. "get": {
  5441. "security": [
  5442. {
  5443. "ApiKeyAuth": []
  5444. }
  5445. ],
  5446. "produces": [
  5447. "application/json"
  5448. ],
  5449. "tags": [
  5450. "企业风险管理v3(app)"
  5451. ],
  5452. "summary": "查询顶级用户信息",
  5453. "parameters": [
  5454. {
  5455. "type": "integer",
  5456. "description": "用户ID",
  5457. "name": "userid",
  5458. "in": "query",
  5459. "required": true
  5460. }
  5461. ],
  5462. "responses": {
  5463. "200": {
  5464. "description": "OK",
  5465. "schema": {
  5466. "type": "array",
  5467. "items": {
  5468. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5469. }
  5470. }
  5471. },
  5472. "500": {
  5473. "description": "Internal Server Error",
  5474. "schema": {
  5475. "$ref": "#/definitions/app.Response"
  5476. }
  5477. }
  5478. }
  5479. }
  5480. },
  5481. "/Ermcp3/QuerySCMiddleGoods": {
  5482. "get": {
  5483. "security": [
  5484. {
  5485. "ApiKeyAuth": []
  5486. }
  5487. ],
  5488. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5489. "produces": [
  5490. "application/json"
  5491. ],
  5492. "tags": [
  5493. "企业风险管理v3(app)"
  5494. ],
  5495. "summary": "查询现货订单",
  5496. "parameters": [
  5497. {
  5498. "type": "integer",
  5499. "description": "用户ID(填登录用户的userid)",
  5500. "name": "userid",
  5501. "in": "query",
  5502. "required": true
  5503. },
  5504. {
  5505. "type": "integer",
  5506. "description": "买卖方向 0-买 1-卖",
  5507. "name": "buyorsell",
  5508. "in": "query",
  5509. "required": true
  5510. },
  5511. {
  5512. "type": "integer",
  5513. "description": "商品组id",
  5514. "name": "goodsgroupid",
  5515. "in": "query",
  5516. "required": true
  5517. },
  5518. {
  5519. "type": "integer",
  5520. "description": "业务类型 1:套保 2:套利",
  5521. "name": "biztype",
  5522. "in": "query"
  5523. },
  5524. {
  5525. "type": "string",
  5526. "description": "现货编号(模糊匹配)",
  5527. "name": "contractno",
  5528. "in": "query"
  5529. },
  5530. {
  5531. "type": "string",
  5532. "description": "对手方(模糊匹配)",
  5533. "name": "customername",
  5534. "in": "query"
  5535. },
  5536. {
  5537. "type": "string",
  5538. "description": "现货商品名称(模糊匹配)",
  5539. "name": "wrstandardname",
  5540. "in": "query"
  5541. }
  5542. ],
  5543. "responses": {
  5544. "200": {
  5545. "description": "OK",
  5546. "schema": {
  5547. "type": "array",
  5548. "items": {
  5549. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5550. }
  5551. }
  5552. },
  5553. "500": {
  5554. "description": "Internal Server Error",
  5555. "schema": {
  5556. "$ref": "#/definitions/app.Response"
  5557. }
  5558. }
  5559. }
  5560. }
  5561. },
  5562. "/Ermcp3/QuerySpotContract": {
  5563. "get": {
  5564. "security": [
  5565. {
  5566. "ApiKeyAuth": []
  5567. }
  5568. ],
  5569. "produces": [
  5570. "application/json"
  5571. ],
  5572. "tags": [
  5573. "企业风险管理v3(app)"
  5574. ],
  5575. "summary": "查询现货合同",
  5576. "parameters": [
  5577. {
  5578. "type": "integer",
  5579. "description": "用户id(当指定contractid, userid可不填)",
  5580. "name": "userid",
  5581. "in": "query",
  5582. "required": true
  5583. },
  5584. {
  5585. "type": "integer",
  5586. "description": "用户类型 2-机构 7-企业成员",
  5587. "name": "usertype",
  5588. "in": "query"
  5589. },
  5590. {
  5591. "type": "integer",
  5592. "description": "合同类型 1-采购, -1-销售",
  5593. "name": "contracttype",
  5594. "in": "query"
  5595. },
  5596. {
  5597. "type": "string",
  5598. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5599. "name": "querytype",
  5600. "in": "query"
  5601. },
  5602. {
  5603. "type": "string",
  5604. "description": "合同ID(SpotContractId)",
  5605. "name": "contractid",
  5606. "in": "query"
  5607. },
  5608. {
  5609. "type": "string",
  5610. "description": "合同编号(模糊匹配)",
  5611. "name": "contractno",
  5612. "in": "query"
  5613. },
  5614. {
  5615. "type": "string",
  5616. "description": "商品名称(模糊匹配)",
  5617. "name": "wrstandardname",
  5618. "in": "query"
  5619. },
  5620. {
  5621. "type": "string",
  5622. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5623. "name": "status",
  5624. "in": "query"
  5625. },
  5626. {
  5627. "type": "integer",
  5628. "description": "是否只查今日的合同 1-查今日合同",
  5629. "name": "istoday",
  5630. "in": "query"
  5631. }
  5632. ],
  5633. "responses": {
  5634. "200": {
  5635. "description": "OK",
  5636. "schema": {
  5637. "type": "array",
  5638. "items": {
  5639. "$ref": "#/definitions/models.Ermcp3Contract"
  5640. }
  5641. }
  5642. },
  5643. "500": {
  5644. "description": "Internal Server Error",
  5645. "schema": {
  5646. "$ref": "#/definitions/app.Response"
  5647. }
  5648. }
  5649. }
  5650. }
  5651. },
  5652. "/Ermcp3/QuerySpotContractBS": {
  5653. "get": {
  5654. "security": [
  5655. {
  5656. "ApiKeyAuth": []
  5657. }
  5658. ],
  5659. "produces": [
  5660. "application/json"
  5661. ],
  5662. "tags": [
  5663. "企业风险管理v3(app)"
  5664. ],
  5665. "summary": "查询合同(采购/销售)",
  5666. "parameters": [
  5667. {
  5668. "type": "integer",
  5669. "description": "用户id",
  5670. "name": "userid",
  5671. "in": "query",
  5672. "required": true
  5673. },
  5674. {
  5675. "type": "integer",
  5676. "description": "用户类型 2-机构 7-企业成员",
  5677. "name": "usertype",
  5678. "in": "query"
  5679. },
  5680. {
  5681. "type": "integer",
  5682. "description": "合同类型 1-采购, -1-销售",
  5683. "name": "contracttype",
  5684. "in": "query",
  5685. "required": true
  5686. },
  5687. {
  5688. "type": "integer",
  5689. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5690. "name": "querytype",
  5691. "in": "query"
  5692. },
  5693. {
  5694. "type": "string",
  5695. "description": "合同ID(SpotContractId)",
  5696. "name": "contractid",
  5697. "in": "query"
  5698. },
  5699. {
  5700. "type": "string",
  5701. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5702. "name": "status",
  5703. "in": "query"
  5704. },
  5705. {
  5706. "type": "integer",
  5707. "description": "是否只查今日的合同 1-查今日合同",
  5708. "name": "istoday",
  5709. "in": "query"
  5710. }
  5711. ],
  5712. "responses": {
  5713. "200": {
  5714. "description": "OK",
  5715. "schema": {
  5716. "type": "array",
  5717. "items": {
  5718. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5719. }
  5720. }
  5721. },
  5722. "500": {
  5723. "description": "Internal Server Error",
  5724. "schema": {
  5725. "$ref": "#/definitions/app.Response"
  5726. }
  5727. }
  5728. }
  5729. }
  5730. },
  5731. "/Ermcp3/QuerySpotGoodsPrice": {
  5732. "get": {
  5733. "security": [
  5734. {
  5735. "ApiKeyAuth": []
  5736. }
  5737. ],
  5738. "produces": [
  5739. "application/json"
  5740. ],
  5741. "tags": [
  5742. "企业风险管理v3(app)"
  5743. ],
  5744. "summary": "查询现货市价(现货市价)",
  5745. "parameters": [
  5746. {
  5747. "type": "integer",
  5748. "description": "用户ID",
  5749. "name": "userid",
  5750. "in": "query",
  5751. "required": true
  5752. }
  5753. ],
  5754. "responses": {
  5755. "200": {
  5756. "description": "OK",
  5757. "schema": {
  5758. "type": "array",
  5759. "items": {
  5760. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5761. }
  5762. }
  5763. },
  5764. "500": {
  5765. "description": "Internal Server Error",
  5766. "schema": {
  5767. "$ref": "#/definitions/app.Response"
  5768. }
  5769. }
  5770. }
  5771. }
  5772. },
  5773. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5774. "get": {
  5775. "security": [
  5776. {
  5777. "ApiKeyAuth": []
  5778. }
  5779. ],
  5780. "produces": [
  5781. "application/json"
  5782. ],
  5783. "tags": [
  5784. "企业风险管理v3(app)"
  5785. ],
  5786. "summary": "查询现货市价详情(现货市价/详情)",
  5787. "parameters": [
  5788. {
  5789. "type": "integer",
  5790. "description": "用户ID",
  5791. "name": "userid",
  5792. "in": "query",
  5793. "required": true
  5794. },
  5795. {
  5796. "type": "integer",
  5797. "description": "现货商品ID",
  5798. "name": "deliverygoodsid",
  5799. "in": "query",
  5800. "required": true
  5801. },
  5802. {
  5803. "type": "integer",
  5804. "description": "品牌ID",
  5805. "name": "brandid",
  5806. "in": "query"
  5807. },
  5808. {
  5809. "type": "integer",
  5810. "description": "品类ID",
  5811. "name": "wrstandardid",
  5812. "in": "query"
  5813. }
  5814. ],
  5815. "responses": {
  5816. "200": {
  5817. "description": "OK",
  5818. "schema": {
  5819. "type": "array",
  5820. "items": {
  5821. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5822. }
  5823. }
  5824. },
  5825. "500": {
  5826. "description": "Internal Server Error",
  5827. "schema": {
  5828. "$ref": "#/definitions/app.Response"
  5829. }
  5830. }
  5831. }
  5832. }
  5833. },
  5834. "/Ermcp3/QuerySubTaaccount": {
  5835. "get": {
  5836. "security": [
  5837. {
  5838. "ApiKeyAuth": []
  5839. }
  5840. ],
  5841. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5842. "produces": [
  5843. "application/json"
  5844. ],
  5845. "tags": [
  5846. "企业风险管理v3(app)"
  5847. ],
  5848. "summary": "查询期货子账户",
  5849. "parameters": [
  5850. {
  5851. "type": "integer",
  5852. "description": "母账号id",
  5853. "name": "parentaccountid",
  5854. "in": "query"
  5855. },
  5856. {
  5857. "type": "string",
  5858. "description": "母账号代码",
  5859. "name": "parentaccountcode",
  5860. "in": "query"
  5861. }
  5862. ],
  5863. "responses": {
  5864. "200": {
  5865. "description": "OK",
  5866. "schema": {
  5867. "type": "array",
  5868. "items": {
  5869. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5870. }
  5871. }
  5872. },
  5873. "500": {
  5874. "description": "Internal Server Error",
  5875. "schema": {
  5876. "$ref": "#/definitions/app.Response"
  5877. }
  5878. }
  5879. }
  5880. }
  5881. },
  5882. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5883. "get": {
  5884. "security": [
  5885. {
  5886. "ApiKeyAuth": []
  5887. }
  5888. ],
  5889. "produces": [
  5890. "application/json"
  5891. ],
  5892. "tags": [
  5893. "企业风险管理v8"
  5894. ],
  5895. "summary": "现货成交明细查询",
  5896. "parameters": [
  5897. {
  5898. "type": "integer",
  5899. "description": "套期项目ID",
  5900. "name": "hedgeditemid",
  5901. "in": "query",
  5902. "required": true
  5903. }
  5904. ],
  5905. "responses": {
  5906. "200": {
  5907. "description": "OK",
  5908. "schema": {
  5909. "type": "array",
  5910. "items": {
  5911. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5912. }
  5913. }
  5914. },
  5915. "500": {
  5916. "description": "Internal Server Error",
  5917. "schema": {
  5918. "$ref": "#/definitions/app.Response"
  5919. }
  5920. }
  5921. }
  5922. }
  5923. },
  5924. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5925. "get": {
  5926. "security": [
  5927. {
  5928. "ApiKeyAuth": []
  5929. }
  5930. ],
  5931. "produces": [
  5932. "application/json"
  5933. ],
  5934. "tags": [
  5935. "企业风险管理v8"
  5936. ],
  5937. "summary": "套期计划明细查询",
  5938. "parameters": [
  5939. {
  5940. "type": "integer",
  5941. "description": "套期项目ID",
  5942. "name": "hedgeditemid",
  5943. "in": "query",
  5944. "required": true
  5945. }
  5946. ],
  5947. "responses": {
  5948. "200": {
  5949. "description": "OK",
  5950. "schema": {
  5951. "type": "array",
  5952. "items": {
  5953. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5954. }
  5955. }
  5956. },
  5957. "500": {
  5958. "description": "Internal Server Error",
  5959. "schema": {
  5960. "$ref": "#/definitions/app.Response"
  5961. }
  5962. }
  5963. }
  5964. }
  5965. },
  5966. "/Ermcp8/QueryERMCPJRLinkPos": {
  5967. "get": {
  5968. "security": [
  5969. {
  5970. "ApiKeyAuth": []
  5971. }
  5972. ],
  5973. "produces": [
  5974. "application/json"
  5975. ],
  5976. "tags": [
  5977. "企业风险管理v8"
  5978. ],
  5979. "summary": "期货持仓明细查询",
  5980. "parameters": [
  5981. {
  5982. "type": "integer",
  5983. "description": "套期项目ID",
  5984. "name": "hedgeditemid",
  5985. "in": "query",
  5986. "required": true
  5987. }
  5988. ],
  5989. "responses": {
  5990. "200": {
  5991. "description": "OK",
  5992. "schema": {
  5993. "type": "array",
  5994. "items": {
  5995. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  5996. }
  5997. }
  5998. },
  5999. "500": {
  6000. "description": "Internal Server Error",
  6001. "schema": {
  6002. "$ref": "#/definitions/app.Response"
  6003. }
  6004. }
  6005. }
  6006. }
  6007. },
  6008. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  6009. "get": {
  6010. "security": [
  6011. {
  6012. "ApiKeyAuth": []
  6013. }
  6014. ],
  6015. "produces": [
  6016. "application/json"
  6017. ],
  6018. "tags": [
  6019. "企业风险管理v8"
  6020. ],
  6021. "summary": "期货成交单明细查询",
  6022. "parameters": [
  6023. {
  6024. "type": "integer",
  6025. "description": "套期项目ID",
  6026. "name": "hedgeditemid",
  6027. "in": "query",
  6028. "required": true
  6029. }
  6030. ],
  6031. "responses": {
  6032. "200": {
  6033. "description": "OK",
  6034. "schema": {
  6035. "type": "array",
  6036. "items": {
  6037. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  6038. }
  6039. }
  6040. },
  6041. "500": {
  6042. "description": "Internal Server Error",
  6043. "schema": {
  6044. "$ref": "#/definitions/app.Response"
  6045. }
  6046. }
  6047. }
  6048. }
  6049. },
  6050. "/Ermcp8/QueryErmcp2AreaExposure": {
  6051. "get": {
  6052. "security": [
  6053. {
  6054. "ApiKeyAuth": []
  6055. }
  6056. ],
  6057. "produces": [
  6058. "application/json"
  6059. ],
  6060. "tags": [
  6061. "企业风险管理v8"
  6062. ],
  6063. "summary": "企业敞口查询",
  6064. "parameters": [
  6065. {
  6066. "type": "string",
  6067. "description": "用户ID",
  6068. "name": "userid",
  6069. "in": "query",
  6070. "required": true
  6071. }
  6072. ],
  6073. "responses": {
  6074. "200": {
  6075. "description": "OK",
  6076. "schema": {
  6077. "type": "array",
  6078. "items": {
  6079. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  6080. }
  6081. }
  6082. },
  6083. "500": {
  6084. "description": "Internal Server Error",
  6085. "schema": {
  6086. "$ref": "#/definitions/app.Response"
  6087. }
  6088. }
  6089. }
  6090. }
  6091. },
  6092. "/Ermcp8/QueryErmcp2HedgedItem": {
  6093. "get": {
  6094. "security": [
  6095. {
  6096. "ApiKeyAuth": []
  6097. }
  6098. ],
  6099. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  6100. "produces": [
  6101. "application/json"
  6102. ],
  6103. "tags": [
  6104. "企业风险管理v8"
  6105. ],
  6106. "summary": "查询被套期项目信息",
  6107. "parameters": [
  6108. {
  6109. "type": "string",
  6110. "description": "用户ID",
  6111. "name": "userid",
  6112. "in": "query",
  6113. "required": true
  6114. },
  6115. {
  6116. "type": "integer",
  6117. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6118. "name": "hedgedtype",
  6119. "in": "query"
  6120. },
  6121. {
  6122. "type": "integer",
  6123. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6124. "name": "hedgeditemstatus",
  6125. "in": "query"
  6126. }
  6127. ],
  6128. "responses": {
  6129. "200": {
  6130. "description": "OK",
  6131. "schema": {
  6132. "type": "array",
  6133. "items": {
  6134. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  6135. }
  6136. }
  6137. },
  6138. "500": {
  6139. "description": "Internal Server Error",
  6140. "schema": {
  6141. "$ref": "#/definitions/app.Response"
  6142. }
  6143. }
  6144. }
  6145. }
  6146. },
  6147. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  6148. "get": {
  6149. "security": [
  6150. {
  6151. "ApiKeyAuth": []
  6152. }
  6153. ],
  6154. "produces": [
  6155. "application/json"
  6156. ],
  6157. "tags": [
  6158. "企业风险管理v8"
  6159. ],
  6160. "summary": "现货合同关联被套期项目查询",
  6161. "parameters": [
  6162. {
  6163. "type": "integer",
  6164. "description": "现货合同ID",
  6165. "name": "spotcontractid",
  6166. "in": "query",
  6167. "required": true
  6168. }
  6169. ],
  6170. "responses": {
  6171. "200": {
  6172. "description": "OK",
  6173. "schema": {
  6174. "type": "array",
  6175. "items": {
  6176. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  6177. }
  6178. }
  6179. },
  6180. "500": {
  6181. "description": "Internal Server Error",
  6182. "schema": {
  6183. "$ref": "#/definitions/app.Response"
  6184. }
  6185. }
  6186. }
  6187. }
  6188. },
  6189. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  6190. "get": {
  6191. "security": [
  6192. {
  6193. "ApiKeyAuth": []
  6194. }
  6195. ],
  6196. "produces": [
  6197. "application/json"
  6198. ],
  6199. "tags": [
  6200. "企业风险管理v8"
  6201. ],
  6202. "summary": "敞口明细 - 计划变动明细",
  6203. "parameters": [
  6204. {
  6205. "type": "integer",
  6206. "description": "用户ID",
  6207. "name": "userid",
  6208. "in": "query",
  6209. "required": true
  6210. },
  6211. {
  6212. "type": "integer",
  6213. "description": "套保品种ID",
  6214. "name": "middlegoodsid",
  6215. "in": "query",
  6216. "required": true
  6217. }
  6218. ],
  6219. "responses": {
  6220. "200": {
  6221. "description": "OK",
  6222. "schema": {
  6223. "type": "array",
  6224. "items": {
  6225. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  6226. }
  6227. }
  6228. },
  6229. "500": {
  6230. "description": "Internal Server Error",
  6231. "schema": {
  6232. "$ref": "#/definitions/app.Response"
  6233. }
  6234. }
  6235. }
  6236. }
  6237. },
  6238. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  6239. "get": {
  6240. "security": [
  6241. {
  6242. "ApiKeyAuth": []
  6243. }
  6244. ],
  6245. "produces": [
  6246. "application/json"
  6247. ],
  6248. "tags": [
  6249. "企业风险管理v8"
  6250. ],
  6251. "summary": "敞口明细 - 现货变动明细查询",
  6252. "parameters": [
  6253. {
  6254. "type": "integer",
  6255. "description": "用户ID",
  6256. "name": "userid",
  6257. "in": "query",
  6258. "required": true
  6259. },
  6260. {
  6261. "type": "integer",
  6262. "description": "套保品种ID",
  6263. "name": "middlegoodsid",
  6264. "in": "query",
  6265. "required": true
  6266. }
  6267. ],
  6268. "responses": {
  6269. "200": {
  6270. "description": "OK",
  6271. "schema": {
  6272. "type": "array",
  6273. "items": {
  6274. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  6275. }
  6276. }
  6277. },
  6278. "500": {
  6279. "description": "Internal Server Error",
  6280. "schema": {
  6281. "$ref": "#/definitions/app.Response"
  6282. }
  6283. }
  6284. }
  6285. }
  6286. },
  6287. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  6288. "get": {
  6289. "security": [
  6290. {
  6291. "ApiKeyAuth": []
  6292. }
  6293. ],
  6294. "produces": [
  6295. "application/json"
  6296. ],
  6297. "tags": [
  6298. "企业风险管理v8"
  6299. ],
  6300. "summary": "可关联项目查询",
  6301. "parameters": [
  6302. {
  6303. "type": "integer",
  6304. "description": "用户ID",
  6305. "name": "userid",
  6306. "in": "query",
  6307. "required": true
  6308. },
  6309. {
  6310. "type": "integer",
  6311. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6312. "name": "spottype",
  6313. "in": "query",
  6314. "required": true
  6315. },
  6316. {
  6317. "type": "integer",
  6318. "description": "现货商品ID",
  6319. "name": "wrstandardid",
  6320. "in": "query"
  6321. }
  6322. ],
  6323. "responses": {
  6324. "200": {
  6325. "description": "OK",
  6326. "schema": {
  6327. "type": "array",
  6328. "items": {
  6329. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6330. }
  6331. }
  6332. },
  6333. "500": {
  6334. "description": "Internal Server Error",
  6335. "schema": {
  6336. "$ref": "#/definitions/app.Response"
  6337. }
  6338. }
  6339. }
  6340. }
  6341. },
  6342. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6343. "get": {
  6344. "security": [
  6345. {
  6346. "ApiKeyAuth": []
  6347. }
  6348. ],
  6349. "produces": [
  6350. "application/json"
  6351. ],
  6352. "tags": [
  6353. "企业风险管理v8"
  6354. ],
  6355. "summary": "套期项目报表查询",
  6356. "parameters": [
  6357. {
  6358. "type": "integer",
  6359. "description": "用户ID",
  6360. "name": "userid",
  6361. "in": "query",
  6362. "required": true
  6363. },
  6364. {
  6365. "type": "integer",
  6366. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6367. "name": "cycletype",
  6368. "in": "query"
  6369. },
  6370. {
  6371. "type": "string",
  6372. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6373. "name": "cycletime",
  6374. "in": "query",
  6375. "required": true
  6376. },
  6377. {
  6378. "type": "integer",
  6379. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6380. "name": "hedgedtype",
  6381. "in": "query"
  6382. },
  6383. {
  6384. "type": "integer",
  6385. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6386. "name": "hedgeditemstatus",
  6387. "in": "query"
  6388. },
  6389. {
  6390. "type": "string",
  6391. "description": "项目编号,模糊查询",
  6392. "name": "hedgeditemnum",
  6393. "in": "query"
  6394. },
  6395. {
  6396. "type": "integer",
  6397. "description": "现货商品ID",
  6398. "name": "wrstandardid",
  6399. "in": "query"
  6400. }
  6401. ],
  6402. "responses": {
  6403. "200": {
  6404. "description": "OK",
  6405. "schema": {
  6406. "type": "array",
  6407. "items": {
  6408. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6409. }
  6410. }
  6411. },
  6412. "500": {
  6413. "description": "Internal Server Error",
  6414. "schema": {
  6415. "$ref": "#/definitions/app.Response"
  6416. }
  6417. }
  6418. }
  6419. }
  6420. },
  6421. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6422. "get": {
  6423. "security": [
  6424. {
  6425. "ApiKeyAuth": []
  6426. }
  6427. ],
  6428. "produces": [
  6429. "application/json"
  6430. ],
  6431. "tags": [
  6432. "企业风险管理v8"
  6433. ],
  6434. "summary": "查询执行中项目查询信息",
  6435. "parameters": [
  6436. {
  6437. "type": "string",
  6438. "description": "用户ID",
  6439. "name": "userid",
  6440. "in": "query",
  6441. "required": true
  6442. }
  6443. ],
  6444. "responses": {
  6445. "200": {
  6446. "description": "OK",
  6447. "schema": {
  6448. "type": "array",
  6449. "items": {
  6450. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6451. }
  6452. }
  6453. },
  6454. "500": {
  6455. "description": "Internal Server Error",
  6456. "schema": {
  6457. "$ref": "#/definitions/app.Response"
  6458. }
  6459. }
  6460. }
  6461. }
  6462. },
  6463. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6464. "get": {
  6465. "security": [
  6466. {
  6467. "ApiKeyAuth": []
  6468. }
  6469. ],
  6470. "produces": [
  6471. "application/json"
  6472. ],
  6473. "tags": [
  6474. "企业风险管理v8"
  6475. ],
  6476. "summary": "内部成交单可关联项目查询",
  6477. "parameters": [
  6478. {
  6479. "type": "integer",
  6480. "description": "企业ID",
  6481. "name": "areauserid",
  6482. "in": "query",
  6483. "required": true
  6484. },
  6485. {
  6486. "type": "integer",
  6487. "description": "期货合约ID",
  6488. "name": "goodsid",
  6489. "in": "query",
  6490. "required": true
  6491. },
  6492. {
  6493. "type": "integer",
  6494. "description": "交易用户ID",
  6495. "name": "tradeuserid",
  6496. "in": "query",
  6497. "required": true
  6498. }
  6499. ],
  6500. "responses": {
  6501. "200": {
  6502. "description": "OK",
  6503. "schema": {
  6504. "type": "array",
  6505. "items": {
  6506. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6507. }
  6508. }
  6509. },
  6510. "500": {
  6511. "description": "Internal Server Error",
  6512. "schema": {
  6513. "$ref": "#/definitions/app.Response"
  6514. }
  6515. }
  6516. }
  6517. }
  6518. },
  6519. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6520. "get": {
  6521. "security": [
  6522. {
  6523. "ApiKeyAuth": []
  6524. }
  6525. ],
  6526. "produces": [
  6527. "application/json"
  6528. ],
  6529. "tags": [
  6530. "企业风险管理v8"
  6531. ],
  6532. "summary": "内部未关联成交单查询",
  6533. "parameters": [
  6534. {
  6535. "type": "integer",
  6536. "description": "用户编号",
  6537. "name": "userid",
  6538. "in": "query",
  6539. "required": true
  6540. },
  6541. {
  6542. "type": "string",
  6543. "description": "起始日期(格式yyyymmdd)",
  6544. "name": "begindate",
  6545. "in": "query"
  6546. },
  6547. {
  6548. "type": "string",
  6549. "description": "终止日期(格式yyyymmdd)",
  6550. "name": "enddate",
  6551. "in": "query"
  6552. },
  6553. {
  6554. "type": "string",
  6555. "description": "合约代码",
  6556. "name": "goodscode",
  6557. "in": "query"
  6558. },
  6559. {
  6560. "type": "string",
  6561. "description": "合约名称",
  6562. "name": "goodsname",
  6563. "in": "query"
  6564. },
  6565. {
  6566. "type": "integer",
  6567. "description": "成交单号",
  6568. "name": "tradeid",
  6569. "in": "query"
  6570. },
  6571. {
  6572. "type": "integer",
  6573. "description": "方向 - 0:买 1:卖",
  6574. "name": "buyorsell",
  6575. "in": "query"
  6576. },
  6577. {
  6578. "type": "string",
  6579. "description": "套期主体",
  6580. "name": "accountname",
  6581. "in": "query"
  6582. }
  6583. ],
  6584. "responses": {
  6585. "200": {
  6586. "description": "OK",
  6587. "schema": {
  6588. "type": "array",
  6589. "items": {
  6590. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6591. }
  6592. }
  6593. },
  6594. "500": {
  6595. "description": "Internal Server Error",
  6596. "schema": {
  6597. "$ref": "#/definitions/app.Response"
  6598. }
  6599. }
  6600. }
  6601. }
  6602. },
  6603. "/Ermcp8/QueryMarketCalendar": {
  6604. "get": {
  6605. "security": [
  6606. {
  6607. "ApiKeyAuth": []
  6608. }
  6609. ],
  6610. "produces": [
  6611. "application/json"
  6612. ],
  6613. "tags": [
  6614. "企业风险管理v8"
  6615. ],
  6616. "summary": "市场节假日查询",
  6617. "parameters": [
  6618. {
  6619. "type": "integer",
  6620. "description": "市场ID",
  6621. "name": "marketid",
  6622. "in": "query"
  6623. }
  6624. ],
  6625. "responses": {
  6626. "200": {
  6627. "description": "OK",
  6628. "schema": {
  6629. "type": "array",
  6630. "items": {
  6631. "$ref": "#/definitions/models.Marketcalendar"
  6632. }
  6633. }
  6634. },
  6635. "500": {
  6636. "description": "Internal Server Error",
  6637. "schema": {
  6638. "$ref": "#/definitions/app.Response"
  6639. }
  6640. }
  6641. }
  6642. }
  6643. },
  6644. "/Ermcp8/QueryPatradeLinkDetail": {
  6645. "get": {
  6646. "security": [
  6647. {
  6648. "ApiKeyAuth": []
  6649. }
  6650. ],
  6651. "produces": [
  6652. "application/json"
  6653. ],
  6654. "tags": [
  6655. "企业风险管理v8"
  6656. ],
  6657. "summary": "敞口明细 - 期货变动明细",
  6658. "parameters": [
  6659. {
  6660. "type": "integer",
  6661. "description": "用户ID",
  6662. "name": "userid",
  6663. "in": "query",
  6664. "required": true
  6665. },
  6666. {
  6667. "type": "integer",
  6668. "description": "套保品种ID",
  6669. "name": "middlegoodsid",
  6670. "in": "query",
  6671. "required": true
  6672. }
  6673. ],
  6674. "responses": {
  6675. "200": {
  6676. "description": "OK",
  6677. "schema": {
  6678. "type": "array",
  6679. "items": {
  6680. "$ref": "#/definitions/models.Patradelinkdetail"
  6681. }
  6682. }
  6683. },
  6684. "500": {
  6685. "description": "Internal Server Error",
  6686. "schema": {
  6687. "$ref": "#/definitions/app.Response"
  6688. }
  6689. }
  6690. }
  6691. }
  6692. },
  6693. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6694. "get": {
  6695. "security": [
  6696. {
  6697. "ApiKeyAuth": []
  6698. }
  6699. ],
  6700. "produces": [
  6701. "application/json"
  6702. ],
  6703. "tags": [
  6704. "企业风险管理v8"
  6705. ],
  6706. "summary": "未关联购销计划",
  6707. "parameters": [
  6708. {
  6709. "type": "integer",
  6710. "description": "企业ID",
  6711. "name": "areauserid",
  6712. "in": "query",
  6713. "required": true
  6714. },
  6715. {
  6716. "type": "integer",
  6717. "description": "计划类型 - 1:采购 -1:销售",
  6718. "name": "contracttype",
  6719. "in": "query"
  6720. },
  6721. {
  6722. "type": "string",
  6723. "description": "计划编号,模糊查询",
  6724. "name": "hedgeplanno",
  6725. "in": "query"
  6726. },
  6727. {
  6728. "type": "string",
  6729. "description": "现货商品,模糊查询",
  6730. "name": "wrstandardname",
  6731. "in": "query"
  6732. }
  6733. ],
  6734. "responses": {
  6735. "200": {
  6736. "description": "OK",
  6737. "schema": {
  6738. "type": "array",
  6739. "items": {
  6740. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6741. }
  6742. }
  6743. },
  6744. "500": {
  6745. "description": "Internal Server Error",
  6746. "schema": {
  6747. "$ref": "#/definitions/app.Response"
  6748. }
  6749. }
  6750. }
  6751. }
  6752. },
  6753. "/Ermcp8/QueryUnLinkSpotContract": {
  6754. "get": {
  6755. "security": [
  6756. {
  6757. "ApiKeyAuth": []
  6758. }
  6759. ],
  6760. "produces": [
  6761. "application/json"
  6762. ],
  6763. "tags": [
  6764. "企业风险管理v8"
  6765. ],
  6766. "summary": "未关联合同查询",
  6767. "parameters": [
  6768. {
  6769. "type": "integer",
  6770. "description": "用户ID",
  6771. "name": "userid",
  6772. "in": "query",
  6773. "required": true
  6774. },
  6775. {
  6776. "type": "integer",
  6777. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6778. "name": "pricetype",
  6779. "in": "query"
  6780. },
  6781. {
  6782. "type": "string",
  6783. "description": "合同编号, 模拟查询",
  6784. "name": "contractno",
  6785. "in": "query"
  6786. },
  6787. {
  6788. "type": "string",
  6789. "description": "对手方, 模拟查询",
  6790. "name": "customername",
  6791. "in": "query"
  6792. },
  6793. {
  6794. "type": "integer",
  6795. "description": "项合同类型 - 1:采购 -1:销售",
  6796. "name": "contracttype",
  6797. "in": "query"
  6798. }
  6799. ],
  6800. "responses": {
  6801. "200": {
  6802. "description": "OK",
  6803. "schema": {
  6804. "type": "array",
  6805. "items": {
  6806. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6807. }
  6808. }
  6809. },
  6810. "500": {
  6811. "description": "Internal Server Error",
  6812. "schema": {
  6813. "$ref": "#/definitions/app.Response"
  6814. }
  6815. }
  6816. }
  6817. }
  6818. },
  6819. "/Erms2/QueryArbitrageStrategy": {
  6820. "get": {
  6821. "security": [
  6822. {
  6823. "ApiKeyAuth": []
  6824. }
  6825. ],
  6826. "produces": [
  6827. "application/json"
  6828. ],
  6829. "tags": [
  6830. "风险管理"
  6831. ],
  6832. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6833. "parameters": [
  6834. {
  6835. "type": "integer",
  6836. "description": "账户ID",
  6837. "name": "userid",
  6838. "in": "query",
  6839. "required": true
  6840. },
  6841. {
  6842. "type": "string",
  6843. "description": "商品组ID(品种ID)",
  6844. "name": "goodsgroupid",
  6845. "in": "query"
  6846. }
  6847. ],
  6848. "responses": {
  6849. "200": {
  6850. "description": "OK",
  6851. "schema": {
  6852. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6853. }
  6854. },
  6855. "500": {
  6856. "description": "Internal Server Error",
  6857. "schema": {
  6858. "$ref": "#/definitions/app.Response"
  6859. }
  6860. }
  6861. }
  6862. }
  6863. },
  6864. "/Erms2/QueryInnerTradeDetail": {
  6865. "get": {
  6866. "security": [
  6867. {
  6868. "ApiKeyAuth": []
  6869. }
  6870. ],
  6871. "produces": [
  6872. "application/json"
  6873. ],
  6874. "tags": [
  6875. "风险管理"
  6876. ],
  6877. "summary": "查询内部成交单信息",
  6878. "parameters": [
  6879. {
  6880. "type": "integer",
  6881. "description": "资金账户",
  6882. "name": "accountid",
  6883. "in": "query",
  6884. "required": true
  6885. }
  6886. ],
  6887. "responses": {
  6888. "200": {
  6889. "description": "OK",
  6890. "schema": {
  6891. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6892. }
  6893. },
  6894. "500": {
  6895. "description": "Internal Server Error",
  6896. "schema": {
  6897. "$ref": "#/definitions/app.Response"
  6898. }
  6899. }
  6900. }
  6901. }
  6902. },
  6903. "/Erms2/QuerySpotContract": {
  6904. "get": {
  6905. "security": [
  6906. {
  6907. "ApiKeyAuth": []
  6908. }
  6909. ],
  6910. "produces": [
  6911. "application/json"
  6912. ],
  6913. "tags": [
  6914. "风险管理"
  6915. ],
  6916. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6917. "parameters": [
  6918. {
  6919. "type": "integer",
  6920. "description": "策略申请ID",
  6921. "name": "asapplyid",
  6922. "in": "query",
  6923. "required": true
  6924. },
  6925. {
  6926. "type": "integer",
  6927. "description": "现货合同ID",
  6928. "name": "spotcontractid",
  6929. "in": "query"
  6930. }
  6931. ],
  6932. "responses": {
  6933. "200": {
  6934. "description": "OK",
  6935. "schema": {
  6936. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6937. }
  6938. },
  6939. "500": {
  6940. "description": "Internal Server Error",
  6941. "schema": {
  6942. "$ref": "#/definitions/app.Response"
  6943. }
  6944. }
  6945. }
  6946. }
  6947. },
  6948. "/Erms3/AddErms2ASApply": {
  6949. "post": {
  6950. "security": [
  6951. {
  6952. "ApiKeyAuth": []
  6953. }
  6954. ],
  6955. "produces": [
  6956. "application/json"
  6957. ],
  6958. "tags": [
  6959. "风险管理v3"
  6960. ],
  6961. "summary": "新增期现套利业务申请",
  6962. "parameters": [
  6963. {
  6964. "description": "申请参数",
  6965. "name": "jsonBody",
  6966. "in": "body",
  6967. "required": true,
  6968. "schema": {
  6969. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6970. }
  6971. }
  6972. ],
  6973. "responses": {
  6974. "200": {
  6975. "description": "OK",
  6976. "schema": {
  6977. "$ref": "#/definitions/app.Response"
  6978. }
  6979. },
  6980. "500": {
  6981. "description": "Internal Server Error",
  6982. "schema": {
  6983. "$ref": "#/definitions/app.Response"
  6984. }
  6985. }
  6986. }
  6987. }
  6988. },
  6989. "/Erms3/AddErms2SpotTradeApply": {
  6990. "post": {
  6991. "security": [
  6992. {
  6993. "ApiKeyAuth": []
  6994. }
  6995. ],
  6996. "produces": [
  6997. "application/json"
  6998. ],
  6999. "tags": [
  7000. "风险管理v3"
  7001. ],
  7002. "summary": "新增现货贸易业务申请",
  7003. "parameters": [
  7004. {
  7005. "description": "申请参数",
  7006. "name": "jsonBody",
  7007. "in": "body",
  7008. "required": true,
  7009. "schema": {
  7010. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  7011. }
  7012. }
  7013. ],
  7014. "responses": {
  7015. "200": {
  7016. "description": "OK",
  7017. "schema": {
  7018. "$ref": "#/definitions/app.Response"
  7019. }
  7020. },
  7021. "500": {
  7022. "description": "Internal Server Error",
  7023. "schema": {
  7024. "$ref": "#/definitions/app.Response"
  7025. }
  7026. }
  7027. }
  7028. }
  7029. },
  7030. "/Erms3/AddSpotContractApply": {
  7031. "post": {
  7032. "security": [
  7033. {
  7034. "ApiKeyAuth": []
  7035. }
  7036. ],
  7037. "produces": [
  7038. "application/json"
  7039. ],
  7040. "tags": [
  7041. "风险管理v3"
  7042. ],
  7043. "summary": "新增现货合同申请",
  7044. "parameters": [
  7045. {
  7046. "description": "申请参数",
  7047. "name": "jsonBody",
  7048. "in": "body",
  7049. "required": true,
  7050. "schema": {
  7051. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  7052. }
  7053. }
  7054. ],
  7055. "responses": {
  7056. "200": {
  7057. "description": "OK",
  7058. "schema": {
  7059. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  7060. }
  7061. },
  7062. "500": {
  7063. "description": "Internal Server Error",
  7064. "schema": {
  7065. "$ref": "#/definitions/app.Response"
  7066. }
  7067. }
  7068. }
  7069. }
  7070. },
  7071. "/Erms3/AddUserInfoApply": {
  7072. "post": {
  7073. "security": [
  7074. {
  7075. "ApiKeyAuth": []
  7076. }
  7077. ],
  7078. "produces": [
  7079. "application/json"
  7080. ],
  7081. "tags": [
  7082. "风险管理v3"
  7083. ],
  7084. "summary": "新增客户申请",
  7085. "parameters": [
  7086. {
  7087. "description": "用户信息",
  7088. "name": "jsonBody",
  7089. "in": "body",
  7090. "required": true,
  7091. "schema": {
  7092. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  7093. }
  7094. }
  7095. ],
  7096. "responses": {
  7097. "200": {
  7098. "description": "OK",
  7099. "schema": {
  7100. "$ref": "#/definitions/app.Response"
  7101. }
  7102. },
  7103. "500": {
  7104. "description": "Internal Server Error",
  7105. "schema": {
  7106. "$ref": "#/definitions/app.Response"
  7107. }
  7108. }
  7109. }
  7110. }
  7111. },
  7112. "/Erms3/DeleteUserInfoApply": {
  7113. "get": {
  7114. "security": [
  7115. {
  7116. "ApiKeyAuth": []
  7117. }
  7118. ],
  7119. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  7120. "produces": [
  7121. "application/json"
  7122. ],
  7123. "tags": [
  7124. "风险管理v3"
  7125. ],
  7126. "summary": "删除客户申请",
  7127. "parameters": [
  7128. {
  7129. "type": "integer",
  7130. "description": "用户ID",
  7131. "name": "userID",
  7132. "in": "query",
  7133. "required": true
  7134. }
  7135. ],
  7136. "responses": {
  7137. "200": {
  7138. "description": "OK",
  7139. "schema": {
  7140. "$ref": "#/definitions/app.Response"
  7141. }
  7142. },
  7143. "500": {
  7144. "description": "Internal Server Error",
  7145. "schema": {
  7146. "$ref": "#/definitions/app.Response"
  7147. }
  7148. }
  7149. }
  7150. }
  7151. },
  7152. "/Erms3/ModifyUserInfoApply": {
  7153. "post": {
  7154. "security": [
  7155. {
  7156. "ApiKeyAuth": []
  7157. }
  7158. ],
  7159. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  7160. "produces": [
  7161. "application/json"
  7162. ],
  7163. "tags": [
  7164. "风险管理v3"
  7165. ],
  7166. "summary": "修改客户申请",
  7167. "parameters": [
  7168. {
  7169. "description": "用户信息",
  7170. "name": "jsonBody",
  7171. "in": "body",
  7172. "required": true,
  7173. "schema": {
  7174. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  7175. }
  7176. }
  7177. ],
  7178. "responses": {
  7179. "200": {
  7180. "description": "OK",
  7181. "schema": {
  7182. "$ref": "#/definitions/app.Response"
  7183. }
  7184. },
  7185. "500": {
  7186. "description": "Internal Server Error",
  7187. "schema": {
  7188. "$ref": "#/definitions/app.Response"
  7189. }
  7190. }
  7191. }
  7192. }
  7193. },
  7194. "/Erms3/QueryBusinessInfo": {
  7195. "get": {
  7196. "security": [
  7197. {
  7198. "ApiKeyAuth": []
  7199. }
  7200. ],
  7201. "produces": [
  7202. "application/json"
  7203. ],
  7204. "tags": [
  7205. "风险管理v3"
  7206. ],
  7207. "summary": "查询业务表单数据",
  7208. "parameters": [
  7209. {
  7210. "type": "string",
  7211. "description": "资金账号ID列表,用逗号分隔",
  7212. "name": "accountids",
  7213. "in": "query",
  7214. "required": true
  7215. },
  7216. {
  7217. "type": "integer",
  7218. "description": "状态,0为未结束 1为已结束",
  7219. "name": "status",
  7220. "in": "query",
  7221. "required": true
  7222. }
  7223. ],
  7224. "responses": {
  7225. "200": {
  7226. "description": "OK",
  7227. "schema": {
  7228. "type": "array",
  7229. "items": {
  7230. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  7231. }
  7232. }
  7233. },
  7234. "500": {
  7235. "description": "Internal Server Error",
  7236. "schema": {
  7237. "$ref": "#/definitions/app.Response"
  7238. }
  7239. }
  7240. }
  7241. }
  7242. },
  7243. "/Erms3/QueryPendingAuditContract": {
  7244. "get": {
  7245. "security": [
  7246. {
  7247. "ApiKeyAuth": []
  7248. }
  7249. ],
  7250. "produces": [
  7251. "application/json"
  7252. ],
  7253. "tags": [
  7254. "风险管理v3"
  7255. ],
  7256. "summary": "查询待审核合同",
  7257. "parameters": [
  7258. {
  7259. "type": "string",
  7260. "description": "资金账号ID列表,逗号隔开",
  7261. "name": "accountids",
  7262. "in": "query",
  7263. "required": true
  7264. },
  7265. {
  7266. "type": "integer",
  7267. "description": "合同类型 1-采购 -1-销售",
  7268. "name": "contracttype",
  7269. "in": "query",
  7270. "required": true
  7271. },
  7272. {
  7273. "type": "integer",
  7274. "description": "合同模式 1-普通 2-回购",
  7275. "name": "contractmode",
  7276. "in": "query",
  7277. "required": true
  7278. }
  7279. ],
  7280. "responses": {
  7281. "200": {
  7282. "description": "OK",
  7283. "schema": {
  7284. "type": "array",
  7285. "items": {
  7286. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  7287. }
  7288. }
  7289. },
  7290. "500": {
  7291. "description": "Internal Server Error",
  7292. "schema": {
  7293. "$ref": "#/definitions/app.Response"
  7294. }
  7295. }
  7296. }
  7297. }
  7298. },
  7299. "/Erms3/QueryPendingBusiness": {
  7300. "get": {
  7301. "security": [
  7302. {
  7303. "ApiKeyAuth": []
  7304. }
  7305. ],
  7306. "produces": [
  7307. "application/json"
  7308. ],
  7309. "tags": [
  7310. "风险管理v3"
  7311. ],
  7312. "summary": "查询待审核基差贸易业务",
  7313. "parameters": [
  7314. {
  7315. "type": "string",
  7316. "description": "资金账号ID列表,逗号隔开",
  7317. "name": "accountids",
  7318. "in": "query",
  7319. "required": true
  7320. }
  7321. ],
  7322. "responses": {
  7323. "200": {
  7324. "description": "OK",
  7325. "schema": {
  7326. "type": "array",
  7327. "items": {
  7328. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  7329. }
  7330. }
  7331. },
  7332. "500": {
  7333. "description": "Internal Server Error",
  7334. "schema": {
  7335. "$ref": "#/definitions/app.Response"
  7336. }
  7337. }
  7338. }
  7339. }
  7340. },
  7341. "/Erms3/QuerySpotContractAppleForm": {
  7342. "get": {
  7343. "security": [
  7344. {
  7345. "ApiKeyAuth": []
  7346. }
  7347. ],
  7348. "produces": [
  7349. "application/json"
  7350. ],
  7351. "tags": [
  7352. "风险管理v3"
  7353. ],
  7354. "summary": "查询合同申请表单数据",
  7355. "parameters": [
  7356. {
  7357. "type": "integer",
  7358. "description": "登录账号",
  7359. "name": "loginID",
  7360. "in": "query",
  7361. "required": true
  7362. }
  7363. ],
  7364. "responses": {
  7365. "200": {
  7366. "description": "OK",
  7367. "schema": {
  7368. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7369. }
  7370. },
  7371. "500": {
  7372. "description": "Internal Server Error",
  7373. "schema": {
  7374. "$ref": "#/definitions/app.Response"
  7375. }
  7376. }
  7377. }
  7378. }
  7379. },
  7380. "/Erms3/QuerySpotContractDetail": {
  7381. "get": {
  7382. "security": [
  7383. {
  7384. "ApiKeyAuth": []
  7385. }
  7386. ],
  7387. "produces": [
  7388. "application/json"
  7389. ],
  7390. "tags": [
  7391. "风险管理v3"
  7392. ],
  7393. "summary": "查询合同详细信息",
  7394. "parameters": [
  7395. {
  7396. "type": "string",
  7397. "description": "资金账号ID列表,用逗号分隔",
  7398. "name": "accountids",
  7399. "in": "query",
  7400. "required": true
  7401. },
  7402. {
  7403. "type": "integer",
  7404. "description": "合同类型,1为采购合同 -1为销售合同",
  7405. "name": "contracttype",
  7406. "in": "query",
  7407. "required": true
  7408. },
  7409. {
  7410. "type": "integer",
  7411. "description": "合同模式,1为普通合同 2为回购销售合同",
  7412. "name": "contractmode",
  7413. "in": "query",
  7414. "required": true
  7415. },
  7416. {
  7417. "type": "integer",
  7418. "description": "状态,0为履约中 1为已完成",
  7419. "name": "status",
  7420. "in": "query",
  7421. "required": true
  7422. }
  7423. ],
  7424. "responses": {
  7425. "200": {
  7426. "description": "OK",
  7427. "schema": {
  7428. "type": "array",
  7429. "items": {
  7430. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7431. }
  7432. }
  7433. },
  7434. "500": {
  7435. "description": "Internal Server Error",
  7436. "schema": {
  7437. "$ref": "#/definitions/app.Response"
  7438. }
  7439. }
  7440. }
  7441. }
  7442. },
  7443. "/Erms3/QueryUserInfoApplies": {
  7444. "get": {
  7445. "security": [
  7446. {
  7447. "ApiKeyAuth": []
  7448. }
  7449. ],
  7450. "produces": [
  7451. "application/json"
  7452. ],
  7453. "tags": [
  7454. "风险管理v3"
  7455. ],
  7456. "summary": "客户申请信息查询",
  7457. "parameters": [
  7458. {
  7459. "type": "integer",
  7460. "description": "页码",
  7461. "name": "page",
  7462. "in": "query"
  7463. },
  7464. {
  7465. "type": "integer",
  7466. "description": "每页条数",
  7467. "name": "pagesize",
  7468. "in": "query"
  7469. },
  7470. {
  7471. "type": "string",
  7472. "description": "客户名称,支持模糊查询",
  7473. "name": "userName",
  7474. "in": "query"
  7475. }
  7476. ],
  7477. "responses": {
  7478. "200": {
  7479. "description": "OK",
  7480. "schema": {
  7481. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7482. }
  7483. },
  7484. "500": {
  7485. "description": "Internal Server Error",
  7486. "schema": {
  7487. "$ref": "#/definitions/app.Response"
  7488. }
  7489. }
  7490. }
  7491. }
  7492. },
  7493. "/Erms3/QueryUserInfos": {
  7494. "get": {
  7495. "security": [
  7496. {
  7497. "ApiKeyAuth": []
  7498. }
  7499. ],
  7500. "produces": [
  7501. "application/json"
  7502. ],
  7503. "tags": [
  7504. "风险管理v3"
  7505. ],
  7506. "summary": "客户信息查询",
  7507. "parameters": [
  7508. {
  7509. "type": "integer",
  7510. "description": "页码",
  7511. "name": "page",
  7512. "in": "query"
  7513. },
  7514. {
  7515. "type": "integer",
  7516. "description": "每页条数",
  7517. "name": "pagesize",
  7518. "in": "query"
  7519. },
  7520. {
  7521. "type": "string",
  7522. "description": "客户名称,支持模糊查询",
  7523. "name": "userName",
  7524. "in": "query"
  7525. }
  7526. ],
  7527. "responses": {
  7528. "200": {
  7529. "description": "OK",
  7530. "schema": {
  7531. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7532. }
  7533. },
  7534. "500": {
  7535. "description": "Internal Server Error",
  7536. "schema": {
  7537. "$ref": "#/definitions/app.Response"
  7538. }
  7539. }
  7540. }
  7541. }
  7542. },
  7543. "/Guangzuan/GetGoods": {
  7544. "get": {
  7545. "security": [
  7546. {
  7547. "ApiKeyAuth": []
  7548. },
  7549. {
  7550. "LoginID": []
  7551. },
  7552. {
  7553. "Group": []
  7554. }
  7555. ],
  7556. "produces": [
  7557. "application/json"
  7558. ],
  7559. "tags": [
  7560. "广钻"
  7561. ],
  7562. "summary": "获取钻石详情",
  7563. "parameters": [
  7564. {
  7565. "type": "string",
  7566. "description": "商品编号",
  7567. "name": "goodsno",
  7568. "in": "query",
  7569. "required": true
  7570. }
  7571. ],
  7572. "responses": {
  7573. "200": {
  7574. "description": "OK",
  7575. "schema": {
  7576. "$ref": "#/definitions/models.GZGoods"
  7577. }
  7578. },
  7579. "500": {
  7580. "description": "Internal Server Error",
  7581. "schema": {
  7582. "$ref": "#/definitions/app.Response"
  7583. }
  7584. }
  7585. }
  7586. }
  7587. },
  7588. "/Guangzuan/QueryBuyOrder": {
  7589. "get": {
  7590. "security": [
  7591. {
  7592. "ApiKeyAuth": []
  7593. },
  7594. {
  7595. "LoginID": []
  7596. },
  7597. {
  7598. "Group": []
  7599. }
  7600. ],
  7601. "produces": [
  7602. "application/json"
  7603. ],
  7604. "tags": [
  7605. "广钻"
  7606. ],
  7607. "summary": "查询求购大厅委托单",
  7608. "parameters": [
  7609. {
  7610. "type": "integer",
  7611. "description": "页码",
  7612. "name": "page",
  7613. "in": "query"
  7614. },
  7615. {
  7616. "type": "integer",
  7617. "description": "每页条数",
  7618. "name": "pagesize",
  7619. "in": "query"
  7620. },
  7621. {
  7622. "type": "string",
  7623. "description": "商品(查询字段-模糊查询)",
  7624. "name": "zsallproperties",
  7625. "in": "query"
  7626. },
  7627. {
  7628. "type": "string",
  7629. "description": "钻石分类, 格式:1,2,3",
  7630. "name": "zscategorys",
  7631. "in": "query"
  7632. },
  7633. {
  7634. "type": "integer",
  7635. "description": "委托单号",
  7636. "name": "wrtradeorderid",
  7637. "in": "query"
  7638. },
  7639. {
  7640. "type": "string",
  7641. "description": "买方(查询字段-模糊查询)",
  7642. "name": "buyusername",
  7643. "in": "query"
  7644. }
  7645. ],
  7646. "responses": {
  7647. "200": {
  7648. "description": "OK",
  7649. "schema": {
  7650. "type": "array",
  7651. "items": {
  7652. "$ref": "#/definitions/models.BuyOrder"
  7653. }
  7654. }
  7655. },
  7656. "500": {
  7657. "description": "Internal Server Error",
  7658. "schema": {
  7659. "$ref": "#/definitions/app.Response"
  7660. }
  7661. }
  7662. }
  7663. }
  7664. },
  7665. "/Guangzuan/QueryDiamond": {
  7666. "post": {
  7667. "security": [
  7668. {
  7669. "ApiKeyAuth": []
  7670. },
  7671. {
  7672. "LoginID": []
  7673. },
  7674. {
  7675. "Group": []
  7676. }
  7677. ],
  7678. "produces": [
  7679. "application/json"
  7680. ],
  7681. "tags": [
  7682. "广钻"
  7683. ],
  7684. "summary": "钻石搜索",
  7685. "parameters": [
  7686. {
  7687. "description": "钻石搜索入参",
  7688. "name": "data",
  7689. "in": "body",
  7690. "required": true,
  7691. "schema": {
  7692. "$ref": "#/definitions/models.SellOrderQueryReq"
  7693. }
  7694. }
  7695. ],
  7696. "responses": {
  7697. "200": {
  7698. "description": "OK",
  7699. "schema": {
  7700. "type": "array",
  7701. "items": {
  7702. "$ref": "#/definitions/models.SellOrder"
  7703. }
  7704. }
  7705. },
  7706. "500": {
  7707. "description": "Internal Server Error",
  7708. "schema": {
  7709. "$ref": "#/definitions/app.Response"
  7710. }
  7711. }
  7712. }
  7713. }
  7714. },
  7715. "/Guangzuan/QueryMyBargainApply": {
  7716. "get": {
  7717. "security": [
  7718. {
  7719. "ApiKeyAuth": []
  7720. },
  7721. {
  7722. "LoginID": []
  7723. },
  7724. {
  7725. "Group": []
  7726. }
  7727. ],
  7728. "produces": [
  7729. "application/json"
  7730. ],
  7731. "tags": [
  7732. "广钻"
  7733. ],
  7734. "summary": "查询询价-求购",
  7735. "parameters": [
  7736. {
  7737. "type": "integer",
  7738. "description": "用户ID",
  7739. "name": "userid",
  7740. "in": "query",
  7741. "required": true
  7742. },
  7743. {
  7744. "type": "integer",
  7745. "description": "页码",
  7746. "name": "page",
  7747. "in": "query"
  7748. },
  7749. {
  7750. "type": "integer",
  7751. "description": "每页条数",
  7752. "name": "pagesize",
  7753. "in": "query"
  7754. },
  7755. {
  7756. "type": "integer",
  7757. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  7758. "name": "applystatus",
  7759. "in": "query"
  7760. },
  7761. {
  7762. "type": "integer",
  7763. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  7764. "name": "type",
  7765. "in": "query"
  7766. },
  7767. {
  7768. "type": "string",
  7769. "description": "关联委托单ID",
  7770. "name": "wrtradeorderid",
  7771. "in": "query"
  7772. }
  7773. ],
  7774. "responses": {
  7775. "200": {
  7776. "description": "OK",
  7777. "schema": {
  7778. "type": "array",
  7779. "items": {
  7780. "$ref": "#/definitions/models.MyBargainApply"
  7781. }
  7782. }
  7783. },
  7784. "500": {
  7785. "description": "Internal Server Error",
  7786. "schema": {
  7787. "$ref": "#/definitions/app.Response"
  7788. }
  7789. }
  7790. }
  7791. }
  7792. },
  7793. "/Guangzuan/QueryMyBuyOrder": {
  7794. "get": {
  7795. "security": [
  7796. {
  7797. "ApiKeyAuth": []
  7798. },
  7799. {
  7800. "LoginID": []
  7801. },
  7802. {
  7803. "Group": []
  7804. }
  7805. ],
  7806. "produces": [
  7807. "application/json"
  7808. ],
  7809. "tags": [
  7810. "广钻"
  7811. ],
  7812. "summary": "查询我的求购",
  7813. "parameters": [
  7814. {
  7815. "type": "integer",
  7816. "description": "用户ID",
  7817. "name": "userid",
  7818. "in": "query",
  7819. "required": true
  7820. },
  7821. {
  7822. "type": "integer",
  7823. "description": "页码",
  7824. "name": "page",
  7825. "in": "query"
  7826. },
  7827. {
  7828. "type": "integer",
  7829. "description": "每页条数",
  7830. "name": "pagesize",
  7831. "in": "query"
  7832. },
  7833. {
  7834. "type": "string",
  7835. "description": "商品(查询字段-模糊查询)",
  7836. "name": "zsallproperties",
  7837. "in": "query"
  7838. },
  7839. {
  7840. "type": "string",
  7841. "description": "钻石分类, 格式:1,2,3",
  7842. "name": "zscategorys",
  7843. "in": "query"
  7844. },
  7845. {
  7846. "type": "integer",
  7847. "description": "委托单号",
  7848. "name": "wrtradeorderid",
  7849. "in": "query"
  7850. },
  7851. {
  7852. "type": "boolean",
  7853. "description": "是否历史查询",
  7854. "name": "ishis",
  7855. "in": "query"
  7856. },
  7857. {
  7858. "type": "string",
  7859. "description": "开始交易日(yyyymmdd)",
  7860. "name": "begindate",
  7861. "in": "query"
  7862. },
  7863. {
  7864. "type": "string",
  7865. "description": "结束交易日(yyyymmdd)",
  7866. "name": "enddate",
  7867. "in": "query"
  7868. }
  7869. ],
  7870. "responses": {
  7871. "200": {
  7872. "description": "OK",
  7873. "schema": {
  7874. "type": "array",
  7875. "items": {
  7876. "$ref": "#/definitions/models.MyBuyOrder"
  7877. }
  7878. }
  7879. },
  7880. "500": {
  7881. "description": "Internal Server Error",
  7882. "schema": {
  7883. "$ref": "#/definitions/app.Response"
  7884. }
  7885. }
  7886. }
  7887. }
  7888. },
  7889. "/Guangzuan/QueryMyDeListing": {
  7890. "get": {
  7891. "security": [
  7892. {
  7893. "ApiKeyAuth": []
  7894. },
  7895. {
  7896. "LoginID": []
  7897. },
  7898. {
  7899. "Group": []
  7900. }
  7901. ],
  7902. "produces": [
  7903. "application/json"
  7904. ],
  7905. "tags": [
  7906. "广钻"
  7907. ],
  7908. "summary": "查询我的摘牌",
  7909. "parameters": [
  7910. {
  7911. "type": "integer",
  7912. "description": "用户ID",
  7913. "name": "userid",
  7914. "in": "query",
  7915. "required": true
  7916. },
  7917. {
  7918. "type": "integer",
  7919. "description": "页码",
  7920. "name": "page",
  7921. "in": "query"
  7922. },
  7923. {
  7924. "type": "integer",
  7925. "description": "每页条数",
  7926. "name": "pagesize",
  7927. "in": "query"
  7928. },
  7929. {
  7930. "type": "string",
  7931. "description": "商品(查询字段-模糊查询)",
  7932. "name": "zsallproperties",
  7933. "in": "query"
  7934. },
  7935. {
  7936. "type": "string",
  7937. "description": "钻石分类, 格式:1,2,3",
  7938. "name": "zscategorys",
  7939. "in": "query"
  7940. },
  7941. {
  7942. "type": "integer",
  7943. "description": "成交单号",
  7944. "name": "wrtradedetailid",
  7945. "in": "query"
  7946. },
  7947. {
  7948. "type": "integer",
  7949. "description": "方向,0-购买 1-出售",
  7950. "name": "buyorsell",
  7951. "in": "query"
  7952. },
  7953. {
  7954. "type": "string",
  7955. "description": "对手方(模糊匹配)",
  7956. "name": "matchusername",
  7957. "in": "query"
  7958. },
  7959. {
  7960. "type": "string",
  7961. "description": "开始交易日(yyyymmdd)",
  7962. "name": "begindate",
  7963. "in": "query"
  7964. },
  7965. {
  7966. "type": "string",
  7967. "description": "结束交易日(yyyymmdd)",
  7968. "name": "enddate",
  7969. "in": "query"
  7970. }
  7971. ],
  7972. "responses": {
  7973. "200": {
  7974. "description": "OK",
  7975. "schema": {
  7976. "type": "array",
  7977. "items": {
  7978. "$ref": "#/definitions/models.MyDeListing"
  7979. }
  7980. }
  7981. },
  7982. "500": {
  7983. "description": "Internal Server Error",
  7984. "schema": {
  7985. "$ref": "#/definitions/app.Response"
  7986. }
  7987. }
  7988. }
  7989. }
  7990. },
  7991. "/Guangzuan/QueryMyDelistingApply": {
  7992. "get": {
  7993. "security": [
  7994. {
  7995. "ApiKeyAuth": []
  7996. },
  7997. {
  7998. "LoginID": []
  7999. },
  8000. {
  8001. "Group": []
  8002. }
  8003. ],
  8004. "produces": [
  8005. "application/json"
  8006. ],
  8007. "tags": [
  8008. "广钻"
  8009. ],
  8010. "summary": "查询询价-出售",
  8011. "parameters": [
  8012. {
  8013. "type": "integer",
  8014. "description": "用户ID",
  8015. "name": "userid",
  8016. "in": "query",
  8017. "required": true
  8018. },
  8019. {
  8020. "type": "integer",
  8021. "description": "页码",
  8022. "name": "page",
  8023. "in": "query"
  8024. },
  8025. {
  8026. "type": "integer",
  8027. "description": "每页条数",
  8028. "name": "pagesize",
  8029. "in": "query"
  8030. },
  8031. {
  8032. "type": "integer",
  8033. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8034. "name": "applystatus",
  8035. "in": "query"
  8036. },
  8037. {
  8038. "type": "integer",
  8039. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  8040. "name": "type",
  8041. "in": "query"
  8042. },
  8043. {
  8044. "type": "string",
  8045. "description": "买委托单ID",
  8046. "name": "buywrtradeorderid",
  8047. "in": "query"
  8048. }
  8049. ],
  8050. "responses": {
  8051. "200": {
  8052. "description": "OK",
  8053. "schema": {
  8054. "type": "array",
  8055. "items": {
  8056. "$ref": "#/definitions/models.MyDelistingApply"
  8057. }
  8058. }
  8059. },
  8060. "500": {
  8061. "description": "Internal Server Error",
  8062. "schema": {
  8063. "$ref": "#/definitions/app.Response"
  8064. }
  8065. }
  8066. }
  8067. }
  8068. },
  8069. "/Guangzuan/QueryMyFavorite": {
  8070. "get": {
  8071. "security": [
  8072. {
  8073. "ApiKeyAuth": []
  8074. },
  8075. {
  8076. "LoginID": []
  8077. },
  8078. {
  8079. "Group": []
  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. "required": true
  8096. },
  8097. {
  8098. "type": "integer",
  8099. "description": "页码",
  8100. "name": "page",
  8101. "in": "query"
  8102. },
  8103. {
  8104. "type": "integer",
  8105. "description": "每页条数",
  8106. "name": "pagesize",
  8107. "in": "query"
  8108. },
  8109. {
  8110. "type": "string",
  8111. "description": "钻石分类, 格式:1,2,3",
  8112. "name": "zscategorys",
  8113. "in": "query"
  8114. }
  8115. ],
  8116. "responses": {
  8117. "200": {
  8118. "description": "OK",
  8119. "schema": {
  8120. "type": "array",
  8121. "items": {
  8122. "$ref": "#/definitions/models.MyFavorite"
  8123. }
  8124. }
  8125. },
  8126. "500": {
  8127. "description": "Internal Server Error",
  8128. "schema": {
  8129. "$ref": "#/definitions/app.Response"
  8130. }
  8131. }
  8132. }
  8133. }
  8134. },
  8135. "/Guangzuan/QueryMyPerformanc": {
  8136. "get": {
  8137. "security": [
  8138. {
  8139. "ApiKeyAuth": []
  8140. },
  8141. {
  8142. "LoginID": []
  8143. },
  8144. {
  8145. "Group": []
  8146. }
  8147. ],
  8148. "produces": [
  8149. "application/json"
  8150. ],
  8151. "tags": [
  8152. "广钻"
  8153. ],
  8154. "summary": "查询我的履约",
  8155. "parameters": [
  8156. {
  8157. "type": "integer",
  8158. "description": "用户ID",
  8159. "name": "userid",
  8160. "in": "query",
  8161. "required": true
  8162. },
  8163. {
  8164. "type": "integer",
  8165. "description": "页码",
  8166. "name": "page",
  8167. "in": "query"
  8168. },
  8169. {
  8170. "type": "integer",
  8171. "description": "每页条数",
  8172. "name": "pagesize",
  8173. "in": "query"
  8174. },
  8175. {
  8176. "type": "string",
  8177. "description": "商品(查询字段-模糊查询)",
  8178. "name": "zsallproperties",
  8179. "in": "query"
  8180. },
  8181. {
  8182. "type": "integer",
  8183. "description": "方向,0-买 1-卖",
  8184. "name": "buyorsell",
  8185. "in": "query"
  8186. },
  8187. {
  8188. "type": "boolean",
  8189. "description": "是否历史查询",
  8190. "name": "ishis",
  8191. "in": "query"
  8192. },
  8193. {
  8194. "type": "string",
  8195. "description": "开始交易日(yyyymmdd)",
  8196. "name": "begindate",
  8197. "in": "query"
  8198. },
  8199. {
  8200. "type": "string",
  8201. "description": "结束交易日(yyyymmdd)",
  8202. "name": "enddate",
  8203. "in": "query"
  8204. }
  8205. ],
  8206. "responses": {
  8207. "200": {
  8208. "description": "OK",
  8209. "schema": {
  8210. "type": "array",
  8211. "items": {
  8212. "$ref": "#/definitions/models.MyPerformanc"
  8213. }
  8214. }
  8215. },
  8216. "500": {
  8217. "description": "Internal Server Error",
  8218. "schema": {
  8219. "$ref": "#/definitions/app.Response"
  8220. }
  8221. }
  8222. }
  8223. }
  8224. },
  8225. "/Guangzuan/QueryMySellOrder": {
  8226. "get": {
  8227. "security": [
  8228. {
  8229. "ApiKeyAuth": []
  8230. },
  8231. {
  8232. "LoginID": []
  8233. },
  8234. {
  8235. "Group": []
  8236. }
  8237. ],
  8238. "produces": [
  8239. "application/json"
  8240. ],
  8241. "tags": [
  8242. "广钻"
  8243. ],
  8244. "summary": "查询我的出售",
  8245. "parameters": [
  8246. {
  8247. "type": "integer",
  8248. "description": "用户ID",
  8249. "name": "userid",
  8250. "in": "query",
  8251. "required": true
  8252. },
  8253. {
  8254. "type": "integer",
  8255. "description": "页码",
  8256. "name": "page",
  8257. "in": "query"
  8258. },
  8259. {
  8260. "type": "integer",
  8261. "description": "每页条数",
  8262. "name": "pagesize",
  8263. "in": "query"
  8264. },
  8265. {
  8266. "type": "string",
  8267. "description": "商品(查询字段-模糊查询)",
  8268. "name": "zsallproperties",
  8269. "in": "query"
  8270. },
  8271. {
  8272. "type": "string",
  8273. "description": "钻石分类, 格式:1,2,3",
  8274. "name": "zscategorys",
  8275. "in": "query"
  8276. },
  8277. {
  8278. "type": "integer",
  8279. "description": "委托单号",
  8280. "name": "wrtradeorderid",
  8281. "in": "query"
  8282. },
  8283. {
  8284. "type": "boolean",
  8285. "description": "是否历史查询",
  8286. "name": "ishis",
  8287. "in": "query"
  8288. },
  8289. {
  8290. "type": "string",
  8291. "description": "开始交易日(yyyymmdd)",
  8292. "name": "begindate",
  8293. "in": "query"
  8294. },
  8295. {
  8296. "type": "string",
  8297. "description": "结束交易日(yyyymmdd)",
  8298. "name": "enddate",
  8299. "in": "query"
  8300. }
  8301. ],
  8302. "responses": {
  8303. "200": {
  8304. "description": "OK",
  8305. "schema": {
  8306. "type": "array",
  8307. "items": {
  8308. "$ref": "#/definitions/models.MySellOrder"
  8309. }
  8310. }
  8311. },
  8312. "500": {
  8313. "description": "Internal Server Error",
  8314. "schema": {
  8315. "$ref": "#/definitions/app.Response"
  8316. }
  8317. }
  8318. }
  8319. }
  8320. },
  8321. "/Guangzuan/QueryMyWRPosition": {
  8322. "get": {
  8323. "security": [
  8324. {
  8325. "ApiKeyAuth": []
  8326. },
  8327. {
  8328. "LoginID": []
  8329. },
  8330. {
  8331. "Group": []
  8332. }
  8333. ],
  8334. "produces": [
  8335. "application/json"
  8336. ],
  8337. "tags": [
  8338. "广钻"
  8339. ],
  8340. "summary": "查询我的库存",
  8341. "parameters": [
  8342. {
  8343. "type": "integer",
  8344. "description": "页码",
  8345. "name": "page",
  8346. "in": "query"
  8347. },
  8348. {
  8349. "type": "integer",
  8350. "description": "每页条数",
  8351. "name": "pagesize",
  8352. "in": "query"
  8353. },
  8354. {
  8355. "type": "integer",
  8356. "description": "登录用户ID",
  8357. "name": "wruserid",
  8358. "in": "query",
  8359. "required": true
  8360. },
  8361. {
  8362. "type": "string",
  8363. "description": "商品(查询字段-模糊查询)",
  8364. "name": "zsallproperties",
  8365. "in": "query"
  8366. },
  8367. {
  8368. "type": "string",
  8369. "description": "钻石分类, 格式:1,2,3",
  8370. "name": "zscategorys",
  8371. "in": "query"
  8372. },
  8373. {
  8374. "type": "integer",
  8375. "description": "仓库ID",
  8376. "name": "warehouseid",
  8377. "in": "query"
  8378. },
  8379. {
  8380. "type": "integer",
  8381. "description": "是否上架,0-全部 1-是 2-否",
  8382. "name": "marketflag",
  8383. "in": "query"
  8384. }
  8385. ],
  8386. "responses": {
  8387. "200": {
  8388. "description": "OK",
  8389. "schema": {
  8390. "type": "array",
  8391. "items": {
  8392. "$ref": "#/definitions/models.MyWRPosition"
  8393. }
  8394. }
  8395. },
  8396. "500": {
  8397. "description": "Internal Server Error",
  8398. "schema": {
  8399. "$ref": "#/definitions/app.Response"
  8400. }
  8401. }
  8402. }
  8403. }
  8404. },
  8405. "/Guangzuan/QuerySellOrder": {
  8406. "get": {
  8407. "security": [
  8408. {
  8409. "ApiKeyAuth": []
  8410. },
  8411. {
  8412. "LoginID": []
  8413. },
  8414. {
  8415. "Group": []
  8416. }
  8417. ],
  8418. "produces": [
  8419. "application/json"
  8420. ],
  8421. "tags": [
  8422. "广钻"
  8423. ],
  8424. "summary": "查询出售大厅委托单",
  8425. "parameters": [
  8426. {
  8427. "type": "integer",
  8428. "description": "页码",
  8429. "name": "page",
  8430. "in": "query"
  8431. },
  8432. {
  8433. "type": "integer",
  8434. "description": "每页条数",
  8435. "name": "pagesize",
  8436. "in": "query"
  8437. },
  8438. {
  8439. "type": "string",
  8440. "description": "商品(查询字段-模糊查询)",
  8441. "name": "zsallproperties",
  8442. "in": "query"
  8443. },
  8444. {
  8445. "type": "string",
  8446. "description": "钻石分类, 格式:1,2,3",
  8447. "name": "zscategorys",
  8448. "in": "query"
  8449. },
  8450. {
  8451. "type": "integer",
  8452. "description": "委托单号",
  8453. "name": "wrtradeorderid",
  8454. "in": "query"
  8455. },
  8456. {
  8457. "type": "string",
  8458. "description": "卖方(查询字段-模糊查询)",
  8459. "name": "buyusername",
  8460. "in": "query"
  8461. }
  8462. ],
  8463. "responses": {
  8464. "200": {
  8465. "description": "OK",
  8466. "schema": {
  8467. "type": "array",
  8468. "items": {
  8469. "$ref": "#/definitions/models.SellOrder"
  8470. }
  8471. }
  8472. },
  8473. "500": {
  8474. "description": "Internal Server Error",
  8475. "schema": {
  8476. "$ref": "#/definitions/app.Response"
  8477. }
  8478. }
  8479. }
  8480. }
  8481. },
  8482. "/Guangzuan/QueryWarehouseInfo": {
  8483. "get": {
  8484. "security": [
  8485. {
  8486. "ApiKeyAuth": []
  8487. },
  8488. {
  8489. "LoginID": []
  8490. },
  8491. {
  8492. "Group": []
  8493. }
  8494. ],
  8495. "produces": [
  8496. "application/json"
  8497. ],
  8498. "tags": [
  8499. "广钻"
  8500. ],
  8501. "summary": "查询仓库信息",
  8502. "parameters": [
  8503. {
  8504. "type": "integer",
  8505. "description": "页码",
  8506. "name": "page",
  8507. "in": "query"
  8508. },
  8509. {
  8510. "type": "integer",
  8511. "description": "每页条数",
  8512. "name": "pagesize",
  8513. "in": "query"
  8514. },
  8515. {
  8516. "type": "integer",
  8517. "description": "用户ID",
  8518. "name": "userid",
  8519. "in": "query",
  8520. "required": true
  8521. },
  8522. {
  8523. "type": "string",
  8524. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  8525. "name": "status",
  8526. "in": "query"
  8527. },
  8528. {
  8529. "type": "boolean",
  8530. "description": "是返回交易所仓库",
  8531. "name": "isincludeexchange",
  8532. "in": "query"
  8533. }
  8534. ],
  8535. "responses": {
  8536. "200": {
  8537. "description": "OK",
  8538. "schema": {
  8539. "type": "array",
  8540. "items": {
  8541. "$ref": "#/definitions/models.GZWarehouseinfo"
  8542. }
  8543. }
  8544. },
  8545. "500": {
  8546. "description": "Internal Server Error",
  8547. "schema": {
  8548. "$ref": "#/definitions/app.Response"
  8549. }
  8550. }
  8551. }
  8552. }
  8553. },
  8554. "/Market/GetAllExExchanges": {
  8555. "get": {
  8556. "security": [
  8557. {
  8558. "ApiKeyAuth": []
  8559. }
  8560. ],
  8561. "produces": [
  8562. "application/json"
  8563. ],
  8564. "tags": [
  8565. "通用市场"
  8566. ],
  8567. "summary": "获取所有外部交易所信息",
  8568. "responses": {
  8569. "200": {
  8570. "description": "OK",
  8571. "schema": {
  8572. "$ref": "#/definitions/models.Goods"
  8573. }
  8574. },
  8575. "500": {
  8576. "description": "Internal Server Error",
  8577. "schema": {
  8578. "$ref": "#/definitions/app.Response"
  8579. }
  8580. }
  8581. }
  8582. }
  8583. },
  8584. "/Market/QueryGoodsesByLoginID": {
  8585. "get": {
  8586. "security": [
  8587. {
  8588. "ApiKeyAuth": []
  8589. }
  8590. ],
  8591. "produces": [
  8592. "application/json"
  8593. ],
  8594. "tags": [
  8595. "通用市场"
  8596. ],
  8597. "summary": "获取登录账号有权限的商品信息",
  8598. "parameters": [
  8599. {
  8600. "type": "integer",
  8601. "description": "登录账号",
  8602. "name": "loginID",
  8603. "in": "query",
  8604. "required": true
  8605. },
  8606. {
  8607. "type": "string",
  8608. "description": "市场ID列表,格式:1,2,3",
  8609. "name": "marketIDs",
  8610. "in": "query"
  8611. }
  8612. ],
  8613. "responses": {
  8614. "200": {
  8615. "description": "OK",
  8616. "schema": {
  8617. "$ref": "#/definitions/models.Goods"
  8618. }
  8619. },
  8620. "500": {
  8621. "description": "Internal Server Error",
  8622. "schema": {
  8623. "$ref": "#/definitions/app.Response"
  8624. }
  8625. }
  8626. }
  8627. }
  8628. },
  8629. "/Market/QueryMarketRun": {
  8630. "get": {
  8631. "security": [
  8632. {
  8633. "ApiKeyAuth": []
  8634. }
  8635. ],
  8636. "produces": [
  8637. "application/json"
  8638. ],
  8639. "tags": [
  8640. "通用市场"
  8641. ],
  8642. "summary": "查询市场运行信息",
  8643. "parameters": [
  8644. {
  8645. "type": "integer",
  8646. "description": "市场ID,不传返回所有",
  8647. "name": "marketID",
  8648. "in": "query"
  8649. }
  8650. ],
  8651. "responses": {
  8652. "200": {
  8653. "description": "OK",
  8654. "schema": {
  8655. "$ref": "#/definitions/models.Marketrun"
  8656. }
  8657. },
  8658. "500": {
  8659. "description": "Internal Server Error",
  8660. "schema": {
  8661. "$ref": "#/definitions/app.Response"
  8662. }
  8663. }
  8664. }
  8665. }
  8666. },
  8667. "/Market/QueryMarketsByLoginID": {
  8668. "get": {
  8669. "security": [
  8670. {
  8671. "ApiKeyAuth": []
  8672. }
  8673. ],
  8674. "produces": [
  8675. "application/json"
  8676. ],
  8677. "tags": [
  8678. "通用市场"
  8679. ],
  8680. "summary": "获取登录账号有权限的市场信息",
  8681. "parameters": [
  8682. {
  8683. "type": "integer",
  8684. "description": "登录账号",
  8685. "name": "loginID",
  8686. "in": "query",
  8687. "required": true
  8688. }
  8689. ],
  8690. "responses": {
  8691. "200": {
  8692. "description": "OK",
  8693. "schema": {
  8694. "$ref": "#/definitions/models.Market"
  8695. }
  8696. },
  8697. "500": {
  8698. "description": "Internal Server Error",
  8699. "schema": {
  8700. "$ref": "#/definitions/app.Response"
  8701. }
  8702. }
  8703. }
  8704. }
  8705. },
  8706. "/Order/QueryHisTradeDetail": {
  8707. "get": {
  8708. "security": [
  8709. {
  8710. "ApiKeyAuth": []
  8711. }
  8712. ],
  8713. "produces": [
  8714. "application/json"
  8715. ],
  8716. "tags": [
  8717. "通用单据"
  8718. ],
  8719. "summary": "历史成交单查询(合约市场)",
  8720. "parameters": [
  8721. {
  8722. "type": "string",
  8723. "description": "资金账户 - 格式:1,2,3",
  8724. "name": "accountID",
  8725. "in": "query",
  8726. "required": true
  8727. },
  8728. {
  8729. "type": "integer",
  8730. "description": "成交单号",
  8731. "name": "tradeID",
  8732. "in": "query"
  8733. },
  8734. {
  8735. "type": "integer",
  8736. "description": "委托单号",
  8737. "name": "orderID",
  8738. "in": "query"
  8739. },
  8740. {
  8741. "type": "integer",
  8742. "description": "商品ID",
  8743. "name": "goodsID",
  8744. "in": "query"
  8745. },
  8746. {
  8747. "type": "string",
  8748. "description": "交易模式 - 格式:1,2,3",
  8749. "name": "tradeMode",
  8750. "in": "query"
  8751. },
  8752. {
  8753. "type": "integer",
  8754. "description": "委托单据类型",
  8755. "name": "buildType",
  8756. "in": "query"
  8757. },
  8758. {
  8759. "type": "string",
  8760. "description": "成交类别 - 格式:1,2,3",
  8761. "name": "tradeType",
  8762. "in": "query"
  8763. },
  8764. {
  8765. "type": "string",
  8766. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8767. "name": "startDate",
  8768. "in": "query"
  8769. },
  8770. {
  8771. "type": "string",
  8772. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8773. "name": "endDate",
  8774. "in": "query"
  8775. }
  8776. ],
  8777. "responses": {
  8778. "200": {
  8779. "description": "OK",
  8780. "schema": {
  8781. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8782. }
  8783. },
  8784. "500": {
  8785. "description": "Internal Server Error",
  8786. "schema": {
  8787. "$ref": "#/definitions/app.Response"
  8788. }
  8789. }
  8790. }
  8791. }
  8792. },
  8793. "/Order/QueryHisTradeOrderDetail": {
  8794. "get": {
  8795. "security": [
  8796. {
  8797. "ApiKeyAuth": []
  8798. }
  8799. ],
  8800. "produces": [
  8801. "application/json"
  8802. ],
  8803. "tags": [
  8804. "通用单据"
  8805. ],
  8806. "summary": "历史委托单查询请求(合约市场)",
  8807. "parameters": [
  8808. {
  8809. "type": "string",
  8810. "description": "资金账户 - 格式:1,2,3",
  8811. "name": "accountID",
  8812. "in": "query",
  8813. "required": true
  8814. },
  8815. {
  8816. "type": "string",
  8817. "description": "交易模式 - 格式:1,2,3",
  8818. "name": "tradeMode",
  8819. "in": "query"
  8820. },
  8821. {
  8822. "type": "string",
  8823. "description": "委托状态 - 格式:1,2,3",
  8824. "name": "orderStatus",
  8825. "in": "query"
  8826. },
  8827. {
  8828. "type": "integer",
  8829. "description": "委托单号",
  8830. "name": "orderID",
  8831. "in": "query"
  8832. },
  8833. {
  8834. "type": "string",
  8835. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8836. "name": "startDate",
  8837. "in": "query"
  8838. },
  8839. {
  8840. "type": "string",
  8841. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8842. "name": "endDate",
  8843. "in": "query"
  8844. }
  8845. ],
  8846. "responses": {
  8847. "200": {
  8848. "description": "OK",
  8849. "schema": {
  8850. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8851. }
  8852. },
  8853. "500": {
  8854. "description": "Internal Server Error",
  8855. "schema": {
  8856. "$ref": "#/definitions/app.Response"
  8857. }
  8858. }
  8859. }
  8860. }
  8861. },
  8862. "/Order/QueryTradeDetail": {
  8863. "get": {
  8864. "security": [
  8865. {
  8866. "ApiKeyAuth": []
  8867. }
  8868. ],
  8869. "produces": [
  8870. "application/json"
  8871. ],
  8872. "tags": [
  8873. "通用单据"
  8874. ],
  8875. "summary": "成交单查询(合约市场)",
  8876. "parameters": [
  8877. {
  8878. "type": "string",
  8879. "description": "资金账户 - 格式:1,2,3",
  8880. "name": "accountID",
  8881. "in": "query",
  8882. "required": true
  8883. },
  8884. {
  8885. "type": "integer",
  8886. "description": "成交单号",
  8887. "name": "tradeID",
  8888. "in": "query"
  8889. },
  8890. {
  8891. "type": "integer",
  8892. "description": "委托单号",
  8893. "name": "orderID",
  8894. "in": "query"
  8895. },
  8896. {
  8897. "type": "string",
  8898. "description": "交易模式 - 格式:1,2,3",
  8899. "name": "tradeMode",
  8900. "in": "query"
  8901. },
  8902. {
  8903. "type": "integer",
  8904. "description": "委托单据类型",
  8905. "name": "buildType",
  8906. "in": "query"
  8907. },
  8908. {
  8909. "type": "string",
  8910. "description": "成交类别 - 格式:1,2,3",
  8911. "name": "tradeType",
  8912. "in": "query"
  8913. },
  8914. {
  8915. "type": "integer",
  8916. "description": "商品ID",
  8917. "name": "goodsID",
  8918. "in": "query"
  8919. }
  8920. ],
  8921. "responses": {
  8922. "200": {
  8923. "description": "OK",
  8924. "schema": {
  8925. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  8926. }
  8927. },
  8928. "500": {
  8929. "description": "Internal Server Error",
  8930. "schema": {
  8931. "$ref": "#/definitions/app.Response"
  8932. }
  8933. }
  8934. }
  8935. }
  8936. },
  8937. "/Order/QueryTradeHolderDetail": {
  8938. "get": {
  8939. "security": [
  8940. {
  8941. "ApiKeyAuth": []
  8942. }
  8943. ],
  8944. "produces": [
  8945. "application/json"
  8946. ],
  8947. "tags": [
  8948. "通用单据"
  8949. ],
  8950. "summary": "查询持仓明细",
  8951. "parameters": [
  8952. {
  8953. "type": "integer",
  8954. "description": "用户id",
  8955. "name": "userid",
  8956. "in": "query"
  8957. },
  8958. {
  8959. "type": "string",
  8960. "description": "资金账号, 格式 1,2,3",
  8961. "name": "accids",
  8962. "in": "query"
  8963. },
  8964. {
  8965. "type": "string",
  8966. "description": "交易模式, 格式 1,2,3",
  8967. "name": "trademodes",
  8968. "in": "query"
  8969. },
  8970. {
  8971. "type": "string",
  8972. "description": "市场id, 格式 1,2,3",
  8973. "name": "marketids",
  8974. "in": "query"
  8975. },
  8976. {
  8977. "type": "integer",
  8978. "description": "商品id",
  8979. "name": "goodsid",
  8980. "in": "query"
  8981. },
  8982. {
  8983. "type": "integer",
  8984. "description": "买卖方向 0-买 1-卖",
  8985. "name": "buyorsell",
  8986. "in": "query"
  8987. }
  8988. ],
  8989. "responses": {
  8990. "200": {
  8991. "description": "OK",
  8992. "schema": {
  8993. "type": "array",
  8994. "items": {
  8995. "$ref": "#/definitions/models.TradeHolderDetail"
  8996. }
  8997. }
  8998. },
  8999. "500": {
  9000. "description": "Internal Server Error",
  9001. "schema": {
  9002. "$ref": "#/definitions/app.Response"
  9003. }
  9004. }
  9005. }
  9006. }
  9007. },
  9008. "/Order/QueryTradeOrderDetail": {
  9009. "get": {
  9010. "security": [
  9011. {
  9012. "ApiKeyAuth": []
  9013. }
  9014. ],
  9015. "produces": [
  9016. "application/json"
  9017. ],
  9018. "tags": [
  9019. "通用单据"
  9020. ],
  9021. "summary": "委托单查询请求(合约市场)",
  9022. "parameters": [
  9023. {
  9024. "type": "string",
  9025. "description": "资金账户 - 格式:1,2,3",
  9026. "name": "accountID",
  9027. "in": "query",
  9028. "required": true
  9029. },
  9030. {
  9031. "type": "string",
  9032. "description": "交易模式 - 格式:1,2,3",
  9033. "name": "tradeMode",
  9034. "in": "query"
  9035. },
  9036. {
  9037. "type": "string",
  9038. "description": "委托状态 - 格式:1,2,3",
  9039. "name": "orderStatus",
  9040. "in": "query"
  9041. },
  9042. {
  9043. "type": "integer",
  9044. "description": "委托单号",
  9045. "name": "orderID",
  9046. "in": "query"
  9047. }
  9048. ],
  9049. "responses": {
  9050. "200": {
  9051. "description": "OK",
  9052. "schema": {
  9053. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  9054. }
  9055. },
  9056. "500": {
  9057. "description": "Internal Server Error",
  9058. "schema": {
  9059. "$ref": "#/definitions/app.Response"
  9060. }
  9061. }
  9062. }
  9063. }
  9064. },
  9065. "/Order/QueryTradePosition": {
  9066. "get": {
  9067. "security": [
  9068. {
  9069. "ApiKeyAuth": []
  9070. }
  9071. ],
  9072. "produces": [
  9073. "application/json"
  9074. ],
  9075. "tags": [
  9076. "通用单据"
  9077. ],
  9078. "summary": "持仓汇总查询(合约市场)",
  9079. "parameters": [
  9080. {
  9081. "type": "string",
  9082. "description": "资金账户 - 格式:1,2,3",
  9083. "name": "accountID",
  9084. "in": "query",
  9085. "required": true
  9086. },
  9087. {
  9088. "type": "string",
  9089. "description": "交易模式 - 格式:1,2,3",
  9090. "name": "tradeMode",
  9091. "in": "query"
  9092. }
  9093. ],
  9094. "responses": {
  9095. "200": {
  9096. "description": "OK",
  9097. "schema": {
  9098. "$ref": "#/definitions/order.QueryTradePositionRsp"
  9099. }
  9100. },
  9101. "500": {
  9102. "description": "Internal Server Error",
  9103. "schema": {
  9104. "$ref": "#/definitions/app.Response"
  9105. }
  9106. }
  9107. }
  9108. }
  9109. },
  9110. "/Qhj/QueryAccountInOutApply": {
  9111. "get": {
  9112. "security": [
  9113. {
  9114. "ApiKeyAuth": []
  9115. }
  9116. ],
  9117. "produces": [
  9118. "application/json"
  9119. ],
  9120. "tags": [
  9121. "大连千海金"
  9122. ],
  9123. "summary": "查询充值提现",
  9124. "parameters": [
  9125. {
  9126. "type": "integer",
  9127. "description": "用户ID",
  9128. "name": "userid",
  9129. "in": "query",
  9130. "required": true
  9131. },
  9132. {
  9133. "type": "string",
  9134. "description": "申请起始日期(格式yyyymmdd)",
  9135. "name": "begindate",
  9136. "in": "query"
  9137. },
  9138. {
  9139. "type": "string",
  9140. "description": "申请截止日期(格式yyyymmdd)",
  9141. "name": "enddate",
  9142. "in": "query"
  9143. },
  9144. {
  9145. "type": "string",
  9146. "description": "模糊搜索名称",
  9147. "name": "likename",
  9148. "in": "query"
  9149. },
  9150. {
  9151. "type": "integer",
  9152. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9153. "name": "applystatus",
  9154. "in": "query"
  9155. },
  9156. {
  9157. "type": "integer",
  9158. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9159. "name": "querytype",
  9160. "in": "query"
  9161. }
  9162. ],
  9163. "responses": {
  9164. "200": {
  9165. "description": "OK",
  9166. "schema": {
  9167. "type": "array",
  9168. "items": {
  9169. "$ref": "#/definitions/models.QhjAccountOutInApply"
  9170. }
  9171. }
  9172. },
  9173. "500": {
  9174. "description": "Internal Server Error",
  9175. "schema": {
  9176. "$ref": "#/definitions/app.Response"
  9177. }
  9178. }
  9179. }
  9180. }
  9181. },
  9182. "/Qhj/QueryAreaFinanceConfig": {
  9183. "get": {
  9184. "security": [
  9185. {
  9186. "ApiKeyAuth": []
  9187. }
  9188. ],
  9189. "produces": [
  9190. "application/json"
  9191. ],
  9192. "tags": [
  9193. "大连千海金"
  9194. ],
  9195. "summary": "查询企业配置表",
  9196. "parameters": [
  9197. {
  9198. "type": "integer",
  9199. "description": "机构用户ID 其他做市关系,都设置为 1",
  9200. "name": "userid",
  9201. "in": "query"
  9202. }
  9203. ],
  9204. "responses": {
  9205. "200": {
  9206. "description": "OK",
  9207. "schema": {
  9208. "type": "array",
  9209. "items": {
  9210. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  9211. }
  9212. }
  9213. },
  9214. "500": {
  9215. "description": "Internal Server Error",
  9216. "schema": {
  9217. "$ref": "#/definitions/app.Response"
  9218. }
  9219. }
  9220. }
  9221. }
  9222. },
  9223. "/Qhj/QueryBankAccountSign": {
  9224. "get": {
  9225. "security": [
  9226. {
  9227. "ApiKeyAuth": []
  9228. }
  9229. ],
  9230. "produces": [
  9231. "application/json"
  9232. ],
  9233. "tags": [
  9234. "大连千海金"
  9235. ],
  9236. "summary": "查询签约银行信息(提现账户管理)",
  9237. "parameters": [
  9238. {
  9239. "type": "integer",
  9240. "description": "用户ID",
  9241. "name": "userid",
  9242. "in": "query",
  9243. "required": true
  9244. }
  9245. ],
  9246. "responses": {
  9247. "200": {
  9248. "description": "OK",
  9249. "schema": {
  9250. "type": "array",
  9251. "items": {
  9252. "$ref": "#/definitions/models.QhjBankAccountSign"
  9253. }
  9254. }
  9255. },
  9256. "500": {
  9257. "description": "Internal Server Error",
  9258. "schema": {
  9259. "$ref": "#/definitions/app.Response"
  9260. }
  9261. }
  9262. }
  9263. }
  9264. },
  9265. "/Qhj/QueryBankInfo": {
  9266. "get": {
  9267. "security": [
  9268. {
  9269. "ApiKeyAuth": []
  9270. }
  9271. ],
  9272. "produces": [
  9273. "application/json"
  9274. ],
  9275. "tags": [
  9276. "大连千海金"
  9277. ],
  9278. "summary": "查询开户行",
  9279. "responses": {
  9280. "200": {
  9281. "description": "OK",
  9282. "schema": {
  9283. "type": "array",
  9284. "items": {
  9285. "$ref": "#/definitions/models.QhjBankInfo"
  9286. }
  9287. }
  9288. },
  9289. "500": {
  9290. "description": "Internal Server Error",
  9291. "schema": {
  9292. "$ref": "#/definitions/app.Response"
  9293. }
  9294. }
  9295. }
  9296. }
  9297. },
  9298. "/Qhj/QueryBrokerApply": {
  9299. "get": {
  9300. "security": [
  9301. {
  9302. "ApiKeyAuth": []
  9303. }
  9304. ],
  9305. "produces": [
  9306. "application/json"
  9307. ],
  9308. "tags": [
  9309. "大连千海金"
  9310. ],
  9311. "summary": "查询经纪人申请",
  9312. "parameters": [
  9313. {
  9314. "type": "integer",
  9315. "description": "所属机构ID",
  9316. "name": "userid",
  9317. "in": "query"
  9318. },
  9319. {
  9320. "type": "string",
  9321. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9322. "name": "filterstatus",
  9323. "in": "query"
  9324. }
  9325. ],
  9326. "responses": {
  9327. "200": {
  9328. "description": "OK",
  9329. "schema": {
  9330. "type": "array",
  9331. "items": {
  9332. "$ref": "#/definitions/models.QhjBrokerApply"
  9333. }
  9334. }
  9335. },
  9336. "500": {
  9337. "description": "Internal Server Error",
  9338. "schema": {
  9339. "$ref": "#/definitions/app.Response"
  9340. }
  9341. }
  9342. }
  9343. }
  9344. },
  9345. "/Qhj/QueryBrokerApplyEx": {
  9346. "get": {
  9347. "security": [
  9348. {
  9349. "ApiKeyAuth": []
  9350. }
  9351. ],
  9352. "produces": [
  9353. "application/json"
  9354. ],
  9355. "tags": [
  9356. "大连千海金"
  9357. ],
  9358. "summary": "查询经纪人信息和申请记录",
  9359. "parameters": [
  9360. {
  9361. "type": "integer",
  9362. "description": "所属机构ID",
  9363. "name": "userid",
  9364. "in": "query"
  9365. }
  9366. ],
  9367. "responses": {
  9368. "200": {
  9369. "description": "OK",
  9370. "schema": {
  9371. "type": "array",
  9372. "items": {
  9373. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  9374. }
  9375. }
  9376. },
  9377. "500": {
  9378. "description": "Internal Server Error",
  9379. "schema": {
  9380. "$ref": "#/definitions/app.Response"
  9381. }
  9382. }
  9383. }
  9384. }
  9385. },
  9386. "/Qhj/QueryBrokerRewardLog": {
  9387. "get": {
  9388. "security": [
  9389. {
  9390. "ApiKeyAuth": []
  9391. }
  9392. ],
  9393. "produces": [
  9394. "application/json"
  9395. ],
  9396. "tags": [
  9397. "大连千海金"
  9398. ],
  9399. "summary": "查询奖励流水(我的奖励)",
  9400. "parameters": [
  9401. {
  9402. "type": "integer",
  9403. "description": "用户ID",
  9404. "name": "userid",
  9405. "in": "query",
  9406. "required": true
  9407. },
  9408. {
  9409. "type": "string",
  9410. "description": "开始交易日(yyyymmdd)",
  9411. "name": "begindate",
  9412. "in": "query"
  9413. },
  9414. {
  9415. "type": "string",
  9416. "description": "结束交易日(yyyymmdd)",
  9417. "name": "enddate",
  9418. "in": "query"
  9419. }
  9420. ],
  9421. "responses": {
  9422. "200": {
  9423. "description": "OK",
  9424. "schema": {
  9425. "type": "array",
  9426. "items": {
  9427. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  9428. }
  9429. }
  9430. },
  9431. "500": {
  9432. "description": "Internal Server Error",
  9433. "schema": {
  9434. "$ref": "#/definitions/app.Response"
  9435. }
  9436. }
  9437. }
  9438. }
  9439. },
  9440. "/Qhj/QueryContract": {
  9441. "get": {
  9442. "security": [
  9443. {
  9444. "ApiKeyAuth": []
  9445. }
  9446. ],
  9447. "produces": [
  9448. "application/json"
  9449. ],
  9450. "tags": [
  9451. "大连千海金"
  9452. ],
  9453. "summary": "查询融资明细(合同)",
  9454. "parameters": [
  9455. {
  9456. "type": "integer",
  9457. "description": "用户ID",
  9458. "name": "userid",
  9459. "in": "query"
  9460. },
  9461. {
  9462. "type": "integer",
  9463. "description": "scf合同id",
  9464. "name": "scfcontractid",
  9465. "in": "query"
  9466. }
  9467. ],
  9468. "responses": {
  9469. "200": {
  9470. "description": "OK",
  9471. "schema": {
  9472. "type": "array",
  9473. "items": {
  9474. "$ref": "#/definitions/models.QhjContract"
  9475. }
  9476. }
  9477. },
  9478. "500": {
  9479. "description": "Internal Server Error",
  9480. "schema": {
  9481. "$ref": "#/definitions/app.Response"
  9482. }
  9483. }
  9484. }
  9485. }
  9486. },
  9487. "/Qhj/QueryContractLog": {
  9488. "get": {
  9489. "security": [
  9490. {
  9491. "ApiKeyAuth": []
  9492. }
  9493. ],
  9494. "produces": [
  9495. "application/json"
  9496. ],
  9497. "tags": [
  9498. "大连千海金"
  9499. ],
  9500. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  9501. "parameters": [
  9502. {
  9503. "type": "integer",
  9504. "description": "scf合同id",
  9505. "name": "scfcontractid",
  9506. "in": "query",
  9507. "required": true
  9508. },
  9509. {
  9510. "type": "string",
  9511. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  9512. "name": "amounttype",
  9513. "in": "query"
  9514. }
  9515. ],
  9516. "responses": {
  9517. "200": {
  9518. "description": "OK",
  9519. "schema": {
  9520. "type": "array",
  9521. "items": {
  9522. "$ref": "#/definitions/models.QhjContractLog"
  9523. }
  9524. }
  9525. },
  9526. "500": {
  9527. "description": "Internal Server Error",
  9528. "schema": {
  9529. "$ref": "#/definitions/app.Response"
  9530. }
  9531. }
  9532. }
  9533. }
  9534. },
  9535. "/Qhj/QueryCusBankSignBank": {
  9536. "get": {
  9537. "security": [
  9538. {
  9539. "ApiKeyAuth": []
  9540. }
  9541. ],
  9542. "produces": [
  9543. "application/json"
  9544. ],
  9545. "tags": [
  9546. "大连千海金"
  9547. ],
  9548. "summary": "查询托管银行",
  9549. "responses": {
  9550. "200": {
  9551. "description": "OK",
  9552. "schema": {
  9553. "type": "array",
  9554. "items": {
  9555. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  9556. }
  9557. }
  9558. },
  9559. "500": {
  9560. "description": "Internal Server Error",
  9561. "schema": {
  9562. "$ref": "#/definitions/app.Response"
  9563. }
  9564. }
  9565. }
  9566. }
  9567. },
  9568. "/Qhj/QueryCustomerInfo": {
  9569. "get": {
  9570. "security": [
  9571. {
  9572. "ApiKeyAuth": []
  9573. }
  9574. ],
  9575. "produces": [
  9576. "application/json"
  9577. ],
  9578. "tags": [
  9579. "大连千海金"
  9580. ],
  9581. "summary": "查询客户资料",
  9582. "parameters": [
  9583. {
  9584. "type": "integer",
  9585. "description": "用户ID",
  9586. "name": "userid",
  9587. "in": "query",
  9588. "required": true
  9589. },
  9590. {
  9591. "type": "integer",
  9592. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9593. "name": "querytype",
  9594. "in": "query",
  9595. "required": true
  9596. },
  9597. {
  9598. "type": "integer",
  9599. "description": "客户类型 1-个人 2-企业",
  9600. "name": "userinfotype",
  9601. "in": "query"
  9602. },
  9603. {
  9604. "type": "string",
  9605. "description": "客户名称(模糊匹配)",
  9606. "name": "customername",
  9607. "in": "query"
  9608. },
  9609. {
  9610. "type": "string",
  9611. "description": "昵称(模糊匹配)",
  9612. "name": "nickname",
  9613. "in": "query"
  9614. },
  9615. {
  9616. "type": "integer",
  9617. "description": "是否包含子级 1-包含",
  9618. "name": "includesub",
  9619. "in": "query"
  9620. }
  9621. ],
  9622. "responses": {
  9623. "200": {
  9624. "description": "OK",
  9625. "schema": {
  9626. "type": "array",
  9627. "items": {
  9628. "$ref": "#/definitions/models.QhjCustomer"
  9629. }
  9630. }
  9631. },
  9632. "500": {
  9633. "description": "Internal Server Error",
  9634. "schema": {
  9635. "$ref": "#/definitions/app.Response"
  9636. }
  9637. }
  9638. }
  9639. }
  9640. },
  9641. "/Qhj/QueryGoodsEx": {
  9642. "get": {
  9643. "security": [
  9644. {
  9645. "ApiKeyAuth": []
  9646. }
  9647. ],
  9648. "produces": [
  9649. "application/json"
  9650. ],
  9651. "tags": [
  9652. "大连千海金"
  9653. ],
  9654. "summary": "交易商品扩展表",
  9655. "parameters": [
  9656. {
  9657. "type": "integer",
  9658. "description": "商品id",
  9659. "name": "goodsid",
  9660. "in": "query"
  9661. }
  9662. ],
  9663. "responses": {
  9664. "200": {
  9665. "description": "OK",
  9666. "schema": {
  9667. "type": "array",
  9668. "items": {
  9669. "$ref": "#/definitions/models.Qhjgoodsex"
  9670. }
  9671. }
  9672. },
  9673. "500": {
  9674. "description": "Internal Server Error",
  9675. "schema": {
  9676. "$ref": "#/definitions/app.Response"
  9677. }
  9678. }
  9679. }
  9680. }
  9681. },
  9682. "/Qhj/QueryMyTeam": {
  9683. "get": {
  9684. "security": [
  9685. {
  9686. "ApiKeyAuth": []
  9687. }
  9688. ],
  9689. "produces": [
  9690. "application/json"
  9691. ],
  9692. "tags": [
  9693. "大连千海金"
  9694. ],
  9695. "summary": "查询我的团队",
  9696. "parameters": [
  9697. {
  9698. "type": "integer",
  9699. "description": "用户ID",
  9700. "name": "userid",
  9701. "in": "query",
  9702. "required": true
  9703. }
  9704. ],
  9705. "responses": {
  9706. "200": {
  9707. "description": "OK",
  9708. "schema": {
  9709. "type": "array",
  9710. "items": {
  9711. "$ref": "#/definitions/models.QhjMyTeamEx"
  9712. }
  9713. }
  9714. },
  9715. "500": {
  9716. "description": "Internal Server Error",
  9717. "schema": {
  9718. "$ref": "#/definitions/app.Response"
  9719. }
  9720. }
  9721. }
  9722. }
  9723. },
  9724. "/Qhj/QueryMyTeamOrder": {
  9725. "get": {
  9726. "security": [
  9727. {
  9728. "ApiKeyAuth": []
  9729. }
  9730. ],
  9731. "produces": [
  9732. "application/json"
  9733. ],
  9734. "tags": [
  9735. "大连千海金"
  9736. ],
  9737. "summary": "查询团队订单(我的团队/团队订单)",
  9738. "parameters": [
  9739. {
  9740. "type": "integer",
  9741. "description": "页码",
  9742. "name": "page",
  9743. "in": "query"
  9744. },
  9745. {
  9746. "type": "integer",
  9747. "description": "每页条数",
  9748. "name": "pagesize",
  9749. "in": "query"
  9750. },
  9751. {
  9752. "type": "integer",
  9753. "description": "用户ID",
  9754. "name": "userid",
  9755. "in": "query",
  9756. "required": true
  9757. },
  9758. {
  9759. "type": "integer",
  9760. "description": "交易模式",
  9761. "name": "trademode",
  9762. "in": "query"
  9763. },
  9764. {
  9765. "type": "string",
  9766. "description": "名称(模糊搜索账户)",
  9767. "name": "filtername",
  9768. "in": "query"
  9769. }
  9770. ],
  9771. "responses": {
  9772. "200": {
  9773. "description": "OK",
  9774. "schema": {
  9775. "type": "array",
  9776. "items": {
  9777. "$ref": "#/definitions/models.QhjTeamOrder"
  9778. }
  9779. }
  9780. },
  9781. "500": {
  9782. "description": "Internal Server Error",
  9783. "schema": {
  9784. "$ref": "#/definitions/app.Response"
  9785. }
  9786. }
  9787. }
  9788. }
  9789. },
  9790. "/Qhj/QueryParentAreaList": {
  9791. "get": {
  9792. "security": [
  9793. {
  9794. "ApiKeyAuth": []
  9795. }
  9796. ],
  9797. "produces": [
  9798. "application/json"
  9799. ],
  9800. "tags": [
  9801. "大连千海金"
  9802. ],
  9803. "summary": "查询所属机构列表",
  9804. "parameters": [
  9805. {
  9806. "type": "integer",
  9807. "description": "用户ID",
  9808. "name": "userid",
  9809. "in": "query",
  9810. "required": true
  9811. }
  9812. ],
  9813. "responses": {
  9814. "200": {
  9815. "description": "OK",
  9816. "schema": {
  9817. "type": "array",
  9818. "items": {
  9819. "$ref": "#/definitions/models.QhjParentAreaList"
  9820. }
  9821. }
  9822. },
  9823. "500": {
  9824. "description": "Internal Server Error",
  9825. "schema": {
  9826. "$ref": "#/definitions/app.Response"
  9827. }
  9828. }
  9829. }
  9830. }
  9831. },
  9832. "/Qhj/QueryPayOrder": {
  9833. "get": {
  9834. "security": [
  9835. {
  9836. "ApiKeyAuth": []
  9837. }
  9838. ],
  9839. "produces": [
  9840. "application/json"
  9841. ],
  9842. "tags": [
  9843. "大连千海金"
  9844. ],
  9845. "summary": "查询待付款单据",
  9846. "parameters": [
  9847. {
  9848. "type": "integer",
  9849. "description": "资金账号id",
  9850. "name": "accountid",
  9851. "in": "query",
  9852. "required": true
  9853. },
  9854. {
  9855. "type": "integer",
  9856. "description": "成交单号",
  9857. "name": "tradeid",
  9858. "in": "query"
  9859. },
  9860. {
  9861. "type": "string",
  9862. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9863. "name": "payflag",
  9864. "in": "query"
  9865. }
  9866. ],
  9867. "responses": {
  9868. "200": {
  9869. "description": "OK",
  9870. "schema": {
  9871. "type": "array",
  9872. "items": {
  9873. "$ref": "#/definitions/models.QhjPayOrder"
  9874. }
  9875. }
  9876. },
  9877. "500": {
  9878. "description": "Internal Server Error",
  9879. "schema": {
  9880. "$ref": "#/definitions/app.Response"
  9881. }
  9882. }
  9883. }
  9884. }
  9885. },
  9886. "/Qhj/QueryPickArea": {
  9887. "get": {
  9888. "security": [
  9889. {
  9890. "ApiKeyAuth": []
  9891. }
  9892. ],
  9893. "produces": [
  9894. "application/json"
  9895. ],
  9896. "tags": [
  9897. "大连千海金"
  9898. ],
  9899. "summary": "查询提货门店",
  9900. "parameters": [
  9901. {
  9902. "type": "integer",
  9903. "description": "用户ID",
  9904. "name": "userid",
  9905. "in": "query"
  9906. }
  9907. ],
  9908. "responses": {
  9909. "200": {
  9910. "description": "OK",
  9911. "schema": {
  9912. "type": "array",
  9913. "items": {
  9914. "$ref": "#/definitions/models.QhjPickArea"
  9915. }
  9916. }
  9917. },
  9918. "500": {
  9919. "description": "Internal Server Error",
  9920. "schema": {
  9921. "$ref": "#/definitions/app.Response"
  9922. }
  9923. }
  9924. }
  9925. }
  9926. },
  9927. "/Qhj/QueryPickGoods": {
  9928. "get": {
  9929. "security": [
  9930. {
  9931. "ApiKeyAuth": []
  9932. }
  9933. ],
  9934. "produces": [
  9935. "application/json"
  9936. ],
  9937. "tags": [
  9938. "大连千海金"
  9939. ],
  9940. "summary": "查询提货商品",
  9941. "parameters": [
  9942. {
  9943. "type": "integer",
  9944. "description": "交易商品id",
  9945. "name": "goodsid",
  9946. "in": "query",
  9947. "required": true
  9948. },
  9949. {
  9950. "type": "string",
  9951. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9952. "name": "status",
  9953. "in": "query"
  9954. }
  9955. ],
  9956. "responses": {
  9957. "200": {
  9958. "description": "OK",
  9959. "schema": {
  9960. "type": "array",
  9961. "items": {
  9962. "$ref": "#/definitions/models.QhjPickGoods"
  9963. }
  9964. }
  9965. },
  9966. "500": {
  9967. "description": "Internal Server Error",
  9968. "schema": {
  9969. "$ref": "#/definitions/app.Response"
  9970. }
  9971. }
  9972. }
  9973. }
  9974. },
  9975. "/Qhj/QueryRSTriggerLog": {
  9976. "get": {
  9977. "security": [
  9978. {
  9979. "ApiKeyAuth": []
  9980. }
  9981. ],
  9982. "produces": [
  9983. "application/json"
  9984. ],
  9985. "tags": [
  9986. "大连千海金"
  9987. ],
  9988. "summary": "查询定投记录(定投管理/详情/定投记录)",
  9989. "parameters": [
  9990. {
  9991. "type": "integer",
  9992. "description": "用户ID",
  9993. "name": "userid",
  9994. "in": "query"
  9995. },
  9996. {
  9997. "type": "integer",
  9998. "description": "定投策略id",
  9999. "name": "regularlystrategyid",
  10000. "in": "query"
  10001. },
  10002. {
  10003. "type": "integer",
  10004. "description": "商品id",
  10005. "name": "goodsid",
  10006. "in": "query"
  10007. },
  10008. {
  10009. "type": "string",
  10010. "description": "开始交易日(yyyymmdd)",
  10011. "name": "begindate",
  10012. "in": "query"
  10013. },
  10014. {
  10015. "type": "string",
  10016. "description": "结束交易日(yyyymmdd)",
  10017. "name": "enddate",
  10018. "in": "query"
  10019. },
  10020. {
  10021. "type": "string",
  10022. "description": "名称(模糊搜索账户)",
  10023. "name": "filtername",
  10024. "in": "query"
  10025. }
  10026. ],
  10027. "responses": {
  10028. "200": {
  10029. "description": "OK",
  10030. "schema": {
  10031. "type": "array",
  10032. "items": {
  10033. "$ref": "#/definitions/models.QhjRSTriggerLog"
  10034. }
  10035. }
  10036. },
  10037. "500": {
  10038. "description": "Internal Server Error",
  10039. "schema": {
  10040. "$ref": "#/definitions/app.Response"
  10041. }
  10042. }
  10043. }
  10044. }
  10045. },
  10046. "/Qhj/QueryRStrategy": {
  10047. "get": {
  10048. "security": [
  10049. {
  10050. "ApiKeyAuth": []
  10051. }
  10052. ],
  10053. "produces": [
  10054. "application/json"
  10055. ],
  10056. "tags": [
  10057. "大连千海金"
  10058. ],
  10059. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  10060. "parameters": [
  10061. {
  10062. "type": "integer",
  10063. "description": "用户ID",
  10064. "name": "userid",
  10065. "in": "query"
  10066. },
  10067. {
  10068. "type": "integer",
  10069. "description": "商品id",
  10070. "name": "goodsid",
  10071. "in": "query"
  10072. },
  10073. {
  10074. "type": "string",
  10075. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  10076. "name": "status",
  10077. "in": "query"
  10078. },
  10079. {
  10080. "type": "string",
  10081. "description": "名称(模糊搜索账户)",
  10082. "name": "filtername",
  10083. "in": "query"
  10084. }
  10085. ],
  10086. "responses": {
  10087. "200": {
  10088. "description": "OK",
  10089. "schema": {
  10090. "type": "array",
  10091. "items": {
  10092. "$ref": "#/definitions/models.QhjRStrategy"
  10093. }
  10094. }
  10095. },
  10096. "500": {
  10097. "description": "Internal Server Error",
  10098. "schema": {
  10099. "$ref": "#/definitions/app.Response"
  10100. }
  10101. }
  10102. }
  10103. }
  10104. },
  10105. "/Qhj/QueryReckonPriceLog": {
  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": "integer",
  10122. "description": "商品ID",
  10123. "name": "goodsid",
  10124. "in": "query"
  10125. },
  10126. {
  10127. "type": "string",
  10128. "description": "交易日 格式(yyyymmdd)",
  10129. "name": "tradedate",
  10130. "in": "query"
  10131. }
  10132. ],
  10133. "responses": {
  10134. "200": {
  10135. "description": "OK",
  10136. "schema": {
  10137. "type": "array",
  10138. "items": {
  10139. "$ref": "#/definitions/models.QhjReckonPriceLog"
  10140. }
  10141. }
  10142. },
  10143. "500": {
  10144. "description": "Internal Server Error",
  10145. "schema": {
  10146. "$ref": "#/definitions/app.Response"
  10147. }
  10148. }
  10149. }
  10150. }
  10151. },
  10152. "/Qhj/QueryScoreLog": {
  10153. "get": {
  10154. "security": [
  10155. {
  10156. "ApiKeyAuth": []
  10157. }
  10158. ],
  10159. "produces": [
  10160. "application/json"
  10161. ],
  10162. "tags": [
  10163. "大连千海金"
  10164. ],
  10165. "summary": "查询积分流水(我的积分)",
  10166. "parameters": [
  10167. {
  10168. "type": "integer",
  10169. "description": "用户ID",
  10170. "name": "userid",
  10171. "in": "query",
  10172. "required": true
  10173. },
  10174. {
  10175. "type": "string",
  10176. "description": "开始交易日(yyyymmdd)",
  10177. "name": "begindate",
  10178. "in": "query"
  10179. },
  10180. {
  10181. "type": "string",
  10182. "description": "结束交易日(yyyymmdd)",
  10183. "name": "enddate",
  10184. "in": "query"
  10185. },
  10186. {
  10187. "type": "integer",
  10188. "description": "最近多少条",
  10189. "name": "lastnum",
  10190. "in": "query"
  10191. }
  10192. ],
  10193. "responses": {
  10194. "200": {
  10195. "description": "OK",
  10196. "schema": {
  10197. "type": "array",
  10198. "items": {
  10199. "$ref": "#/definitions/models.QhjScoreLog"
  10200. }
  10201. }
  10202. },
  10203. "500": {
  10204. "description": "Internal Server Error",
  10205. "schema": {
  10206. "$ref": "#/definitions/app.Response"
  10207. }
  10208. }
  10209. }
  10210. }
  10211. },
  10212. "/Qhj/QuerySiteColumnDetail": {
  10213. "get": {
  10214. "security": [
  10215. {
  10216. "ApiKeyAuth": []
  10217. }
  10218. ],
  10219. "produces": [
  10220. "application/json"
  10221. ],
  10222. "tags": [
  10223. "大连千海金"
  10224. ],
  10225. "summary": "查询资讯",
  10226. "parameters": [
  10227. {
  10228. "type": "integer",
  10229. "description": "用户ID",
  10230. "name": "userid",
  10231. "in": "query",
  10232. "required": true
  10233. }
  10234. ],
  10235. "responses": {
  10236. "200": {
  10237. "description": "OK",
  10238. "schema": {
  10239. "type": "array",
  10240. "items": {
  10241. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  10242. }
  10243. }
  10244. },
  10245. "500": {
  10246. "description": "Internal Server Error",
  10247. "schema": {
  10248. "$ref": "#/definitions/app.Response"
  10249. }
  10250. }
  10251. }
  10252. }
  10253. },
  10254. "/Qhj/QueryTradeGoodsPickup": {
  10255. "get": {
  10256. "security": [
  10257. {
  10258. "ApiKeyAuth": []
  10259. }
  10260. ],
  10261. "produces": [
  10262. "application/json"
  10263. ],
  10264. "tags": [
  10265. "大连千海金"
  10266. ],
  10267. "summary": "查询提货",
  10268. "parameters": [
  10269. {
  10270. "type": "integer",
  10271. "description": "用户ID",
  10272. "name": "userid",
  10273. "in": "query",
  10274. "required": true
  10275. },
  10276. {
  10277. "type": "integer",
  10278. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  10279. "name": "takeorderstatus",
  10280. "in": "query"
  10281. }
  10282. ],
  10283. "responses": {
  10284. "200": {
  10285. "description": "OK",
  10286. "schema": {
  10287. "type": "array",
  10288. "items": {
  10289. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  10290. }
  10291. }
  10292. },
  10293. "500": {
  10294. "description": "Internal Server Error",
  10295. "schema": {
  10296. "$ref": "#/definitions/app.Response"
  10297. }
  10298. }
  10299. }
  10300. }
  10301. },
  10302. "/Qhj/QueryUserCollectConfig": {
  10303. "get": {
  10304. "security": [
  10305. {
  10306. "ApiKeyAuth": []
  10307. }
  10308. ],
  10309. "produces": [
  10310. "application/json"
  10311. ],
  10312. "tags": [
  10313. "大连千海金"
  10314. ],
  10315. "summary": "查询提现账户设置",
  10316. "parameters": [
  10317. {
  10318. "type": "integer",
  10319. "description": "用户ID",
  10320. "name": "userid",
  10321. "in": "query",
  10322. "required": true
  10323. }
  10324. ],
  10325. "responses": {
  10326. "200": {
  10327. "description": "OK",
  10328. "schema": {
  10329. "type": "array",
  10330. "items": {
  10331. "$ref": "#/definitions/models.UserCollectConfig"
  10332. }
  10333. }
  10334. },
  10335. "500": {
  10336. "description": "Internal Server Error",
  10337. "schema": {
  10338. "$ref": "#/definitions/app.Response"
  10339. }
  10340. }
  10341. }
  10342. }
  10343. },
  10344. "/Qhj/QueryUserReceiveInfo": {
  10345. "get": {
  10346. "security": [
  10347. {
  10348. "ApiKeyAuth": []
  10349. }
  10350. ],
  10351. "produces": [
  10352. "application/json"
  10353. ],
  10354. "tags": [
  10355. "大连千海金"
  10356. ],
  10357. "summary": "查询收货地址信息",
  10358. "parameters": [
  10359. {
  10360. "type": "integer",
  10361. "description": "用户ID",
  10362. "name": "userid",
  10363. "in": "query",
  10364. "required": true
  10365. }
  10366. ],
  10367. "responses": {
  10368. "200": {
  10369. "description": "OK",
  10370. "schema": {
  10371. "type": "array",
  10372. "items": {
  10373. "$ref": "#/definitions/models.UserReceiveInfo"
  10374. }
  10375. }
  10376. },
  10377. "500": {
  10378. "description": "Internal Server Error",
  10379. "schema": {
  10380. "$ref": "#/definitions/app.Response"
  10381. }
  10382. }
  10383. }
  10384. }
  10385. },
  10386. "/QhjMgr/QueryAccountInOutApply": {
  10387. "get": {
  10388. "security": [
  10389. {
  10390. "ApiKeyAuth": []
  10391. }
  10392. ],
  10393. "produces": [
  10394. "application/json"
  10395. ],
  10396. "tags": [
  10397. "大连千海金(PCWeb)"
  10398. ],
  10399. "summary": "查询充值提现",
  10400. "parameters": [
  10401. {
  10402. "type": "integer",
  10403. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  10404. "name": "querytype",
  10405. "in": "query",
  10406. "required": true
  10407. },
  10408. {
  10409. "type": "integer",
  10410. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10411. "name": "applystatus",
  10412. "in": "query"
  10413. },
  10414. {
  10415. "type": "string",
  10416. "description": "申请起始日期(格式yyyymmdd)",
  10417. "name": "begindate",
  10418. "in": "query"
  10419. },
  10420. {
  10421. "type": "string",
  10422. "description": "申请截止日期(格式yyyymmdd)",
  10423. "name": "enddate",
  10424. "in": "query"
  10425. },
  10426. {
  10427. "type": "string",
  10428. "description": "模糊搜索名称",
  10429. "name": "likename",
  10430. "in": "query"
  10431. }
  10432. ],
  10433. "responses": {
  10434. "200": {
  10435. "description": "OK",
  10436. "schema": {
  10437. "type": "array",
  10438. "items": {
  10439. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  10440. }
  10441. }
  10442. },
  10443. "500": {
  10444. "description": "Internal Server Error",
  10445. "schema": {
  10446. "$ref": "#/definitions/app.Response"
  10447. }
  10448. }
  10449. }
  10450. }
  10451. },
  10452. "/QhjMgr/QueryBrokerApply": {
  10453. "get": {
  10454. "security": [
  10455. {
  10456. "ApiKeyAuth": []
  10457. }
  10458. ],
  10459. "produces": [
  10460. "application/json"
  10461. ],
  10462. "tags": [
  10463. "大连千海金(PCWeb)"
  10464. ],
  10465. "summary": "查询经纪人申请",
  10466. "parameters": [
  10467. {
  10468. "type": "integer",
  10469. "description": "所属机构ID",
  10470. "name": "userid",
  10471. "in": "query"
  10472. },
  10473. {
  10474. "type": "string",
  10475. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10476. "name": "filterstatus",
  10477. "in": "query"
  10478. },
  10479. {
  10480. "type": "string",
  10481. "description": "名称(模糊匹配)",
  10482. "name": "filtername",
  10483. "in": "query"
  10484. },
  10485. {
  10486. "type": "integer",
  10487. "description": "是否包含子级 1-包含",
  10488. "name": "includesub",
  10489. "in": "query"
  10490. }
  10491. ],
  10492. "responses": {
  10493. "200": {
  10494. "description": "OK",
  10495. "schema": {
  10496. "type": "array",
  10497. "items": {
  10498. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  10499. }
  10500. }
  10501. },
  10502. "500": {
  10503. "description": "Internal Server Error",
  10504. "schema": {
  10505. "$ref": "#/definitions/app.Response"
  10506. }
  10507. }
  10508. }
  10509. }
  10510. },
  10511. "/QhjMgr/QueryBrokerRewardReport": {
  10512. "get": {
  10513. "security": [
  10514. {
  10515. "ApiKeyAuth": []
  10516. }
  10517. ],
  10518. "produces": [
  10519. "application/json"
  10520. ],
  10521. "tags": [
  10522. "大连千海金(PCWeb)"
  10523. ],
  10524. "summary": "查询经纪人奖励报表(废弃)",
  10525. "parameters": [
  10526. {
  10527. "type": "integer",
  10528. "description": "所属机构ID",
  10529. "name": "userid",
  10530. "in": "query",
  10531. "required": true
  10532. },
  10533. {
  10534. "type": "integer",
  10535. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10536. "name": "cycletype",
  10537. "in": "query",
  10538. "required": true
  10539. },
  10540. {
  10541. "type": "string",
  10542. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  10543. "name": "cycletime",
  10544. "in": "query",
  10545. "required": true
  10546. },
  10547. {
  10548. "type": "string",
  10549. "description": "名称(模糊匹配)",
  10550. "name": "filtername",
  10551. "in": "query"
  10552. },
  10553. {
  10554. "type": "integer",
  10555. "description": "是否包含子级 1-包含",
  10556. "name": "includesub",
  10557. "in": "query"
  10558. }
  10559. ],
  10560. "responses": {
  10561. "200": {
  10562. "description": "OK",
  10563. "schema": {
  10564. "type": "array",
  10565. "items": {
  10566. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  10567. }
  10568. }
  10569. },
  10570. "500": {
  10571. "description": "Internal Server Error",
  10572. "schema": {
  10573. "$ref": "#/definitions/app.Response"
  10574. }
  10575. }
  10576. }
  10577. }
  10578. },
  10579. "/QhjMgr/QueryContract": {
  10580. "get": {
  10581. "security": [
  10582. {
  10583. "ApiKeyAuth": []
  10584. }
  10585. ],
  10586. "produces": [
  10587. "application/json"
  10588. ],
  10589. "tags": [
  10590. "大连千海金(PCWeb)"
  10591. ],
  10592. "summary": "查询融资信息(合同)",
  10593. "parameters": [
  10594. {
  10595. "type": "integer",
  10596. "description": "用户ID",
  10597. "name": "userid",
  10598. "in": "query"
  10599. },
  10600. {
  10601. "type": "integer",
  10602. "description": "商品id",
  10603. "name": "goodsid",
  10604. "in": "query"
  10605. },
  10606. {
  10607. "type": "string",
  10608. "description": "名称(模糊搜索账户)",
  10609. "name": "filtername",
  10610. "in": "query"
  10611. },
  10612. {
  10613. "type": "string",
  10614. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  10615. "name": "risklevel",
  10616. "in": "query"
  10617. },
  10618. {
  10619. "type": "string",
  10620. "description": "开始交易日(yyyymmdd)",
  10621. "name": "begindate",
  10622. "in": "query"
  10623. },
  10624. {
  10625. "type": "string",
  10626. "description": "结束交易日(yyyymmdd)",
  10627. "name": "enddate",
  10628. "in": "query"
  10629. }
  10630. ],
  10631. "responses": {
  10632. "200": {
  10633. "description": "OK",
  10634. "schema": {
  10635. "type": "array",
  10636. "items": {
  10637. "$ref": "#/definitions/models.QhjMgrContract"
  10638. }
  10639. }
  10640. },
  10641. "500": {
  10642. "description": "Internal Server Error",
  10643. "schema": {
  10644. "$ref": "#/definitions/app.Response"
  10645. }
  10646. }
  10647. }
  10648. }
  10649. },
  10650. "/QhjMgr/QueryCustomerInfo": {
  10651. "get": {
  10652. "security": [
  10653. {
  10654. "ApiKeyAuth": []
  10655. }
  10656. ],
  10657. "produces": [
  10658. "application/json"
  10659. ],
  10660. "tags": [
  10661. "大连千海金(PCWeb)"
  10662. ],
  10663. "summary": "查询客户资料",
  10664. "parameters": [
  10665. {
  10666. "type": "integer",
  10667. "description": "用户ID",
  10668. "name": "userid",
  10669. "in": "query",
  10670. "required": true
  10671. },
  10672. {
  10673. "type": "integer",
  10674. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10675. "name": "querytype",
  10676. "in": "query",
  10677. "required": true
  10678. },
  10679. {
  10680. "type": "integer",
  10681. "description": "客户类型 1-个人 2-企业",
  10682. "name": "userinfotype",
  10683. "in": "query"
  10684. },
  10685. {
  10686. "type": "string",
  10687. "description": "客户名称(模糊匹配)",
  10688. "name": "customername",
  10689. "in": "query"
  10690. },
  10691. {
  10692. "type": "string",
  10693. "description": "昵称(模糊匹配)",
  10694. "name": "nickname",
  10695. "in": "query"
  10696. },
  10697. {
  10698. "type": "string",
  10699. "description": "所属客户经理(模糊匹配)",
  10700. "name": "brokername",
  10701. "in": "query"
  10702. },
  10703. {
  10704. "type": "string",
  10705. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  10706. "name": "birthday",
  10707. "in": "query"
  10708. },
  10709. {
  10710. "type": "integer",
  10711. "description": "是否包含子级 1-包含",
  10712. "name": "includesub",
  10713. "in": "query"
  10714. }
  10715. ],
  10716. "responses": {
  10717. "200": {
  10718. "description": "OK",
  10719. "schema": {
  10720. "type": "array",
  10721. "items": {
  10722. "$ref": "#/definitions/models.QhjMgrCustomer"
  10723. }
  10724. }
  10725. },
  10726. "500": {
  10727. "description": "Internal Server Error",
  10728. "schema": {
  10729. "$ref": "#/definitions/app.Response"
  10730. }
  10731. }
  10732. }
  10733. }
  10734. },
  10735. "/QhjMgr/QueryPickGoods": {
  10736. "get": {
  10737. "security": [
  10738. {
  10739. "ApiKeyAuth": []
  10740. }
  10741. ],
  10742. "produces": [
  10743. "application/json"
  10744. ],
  10745. "tags": [
  10746. "大连千海金(PCWeb)"
  10747. ],
  10748. "summary": "查询提货商品",
  10749. "parameters": [
  10750. {
  10751. "type": "string",
  10752. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10753. "name": "status",
  10754. "in": "query"
  10755. }
  10756. ],
  10757. "responses": {
  10758. "200": {
  10759. "description": "OK",
  10760. "schema": {
  10761. "type": "array",
  10762. "items": {
  10763. "$ref": "#/definitions/models.QhjMgrPickGoods"
  10764. }
  10765. }
  10766. },
  10767. "500": {
  10768. "description": "Internal Server Error",
  10769. "schema": {
  10770. "$ref": "#/definitions/app.Response"
  10771. }
  10772. }
  10773. }
  10774. }
  10775. },
  10776. "/QhjMgr/QuerySubArea": {
  10777. "get": {
  10778. "security": [
  10779. {
  10780. "ApiKeyAuth": []
  10781. }
  10782. ],
  10783. "produces": [
  10784. "application/json"
  10785. ],
  10786. "tags": [
  10787. "大连千海金(PCWeb)"
  10788. ],
  10789. "summary": "查询子机构列表",
  10790. "parameters": [
  10791. {
  10792. "type": "integer",
  10793. "description": "用户ID",
  10794. "name": "userid",
  10795. "in": "query",
  10796. "required": true
  10797. }
  10798. ],
  10799. "responses": {
  10800. "200": {
  10801. "description": "OK",
  10802. "schema": {
  10803. "type": "array",
  10804. "items": {
  10805. "$ref": "#/definitions/models.QhjMgrSubArea"
  10806. }
  10807. }
  10808. },
  10809. "500": {
  10810. "description": "Internal Server Error",
  10811. "schema": {
  10812. "$ref": "#/definitions/app.Response"
  10813. }
  10814. }
  10815. }
  10816. }
  10817. },
  10818. "/QhjMgr/QueryTradeDetail": {
  10819. "get": {
  10820. "security": [
  10821. {
  10822. "ApiKeyAuth": []
  10823. }
  10824. ],
  10825. "produces": [
  10826. "application/json"
  10827. ],
  10828. "tags": [
  10829. "大连千海金(PCWeb)"
  10830. ],
  10831. "summary": "查询成交明细",
  10832. "parameters": [
  10833. {
  10834. "type": "integer",
  10835. "description": "用户ID",
  10836. "name": "userid",
  10837. "in": "query",
  10838. "required": true
  10839. },
  10840. {
  10841. "type": "integer",
  10842. "description": "用户类型 1-个人 2-企业",
  10843. "name": "userinfotype",
  10844. "in": "query"
  10845. },
  10846. {
  10847. "type": "integer",
  10848. "description": "交易模式",
  10849. "name": "trademode",
  10850. "in": "query"
  10851. },
  10852. {
  10853. "type": "integer",
  10854. "description": "商品id",
  10855. "name": "goodsid",
  10856. "in": "query"
  10857. },
  10858. {
  10859. "type": "string",
  10860. "description": "名称(模糊搜索账户)",
  10861. "name": "filtername",
  10862. "in": "query"
  10863. },
  10864. {
  10865. "type": "string",
  10866. "description": "开始交易日(yyyymmdd)",
  10867. "name": "begindate",
  10868. "in": "query"
  10869. },
  10870. {
  10871. "type": "string",
  10872. "description": "结束交易日(yyyymmdd)",
  10873. "name": "enddate",
  10874. "in": "query"
  10875. },
  10876. {
  10877. "type": "integer",
  10878. "description": "是否包含子级 1-包含",
  10879. "name": "includesub",
  10880. "in": "query"
  10881. }
  10882. ],
  10883. "responses": {
  10884. "200": {
  10885. "description": "OK",
  10886. "schema": {
  10887. "type": "array",
  10888. "items": {
  10889. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  10890. }
  10891. }
  10892. },
  10893. "500": {
  10894. "description": "Internal Server Error",
  10895. "schema": {
  10896. "$ref": "#/definitions/app.Response"
  10897. }
  10898. }
  10899. }
  10900. }
  10901. },
  10902. "/QhjMgr/QueryTradeOrderDetail": {
  10903. "get": {
  10904. "security": [
  10905. {
  10906. "ApiKeyAuth": []
  10907. }
  10908. ],
  10909. "produces": [
  10910. "application/json"
  10911. ],
  10912. "tags": [
  10913. "大连千海金(PCWeb)"
  10914. ],
  10915. "summary": "查询委托明细",
  10916. "parameters": [
  10917. {
  10918. "type": "integer",
  10919. "description": "用户ID",
  10920. "name": "userid",
  10921. "in": "query",
  10922. "required": true
  10923. },
  10924. {
  10925. "type": "integer",
  10926. "description": "用户类型 1-个人 2-企业",
  10927. "name": "userinfotype",
  10928. "in": "query"
  10929. },
  10930. {
  10931. "type": "integer",
  10932. "description": "交易模式",
  10933. "name": "trademode",
  10934. "in": "query"
  10935. },
  10936. {
  10937. "type": "integer",
  10938. "description": "商品id",
  10939. "name": "goodsid",
  10940. "in": "query"
  10941. },
  10942. {
  10943. "type": "string",
  10944. "description": "名称(模糊搜索账户)",
  10945. "name": "filtername",
  10946. "in": "query"
  10947. },
  10948. {
  10949. "type": "string",
  10950. "description": "开始交易日(yyyymmdd)",
  10951. "name": "begindate",
  10952. "in": "query"
  10953. },
  10954. {
  10955. "type": "string",
  10956. "description": "结束交易日(yyyymmdd)",
  10957. "name": "enddate",
  10958. "in": "query"
  10959. },
  10960. {
  10961. "type": "integer",
  10962. "description": "是否包含子级 1-包含",
  10963. "name": "includesub",
  10964. "in": "query"
  10965. }
  10966. ],
  10967. "responses": {
  10968. "200": {
  10969. "description": "OK",
  10970. "schema": {
  10971. "type": "array",
  10972. "items": {
  10973. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  10974. }
  10975. }
  10976. },
  10977. "500": {
  10978. "description": "Internal Server Error",
  10979. "schema": {
  10980. "$ref": "#/definitions/app.Response"
  10981. }
  10982. }
  10983. }
  10984. }
  10985. },
  10986. "/QhjMgr/QueryTradePayOrder": {
  10987. "get": {
  10988. "security": [
  10989. {
  10990. "ApiKeyAuth": []
  10991. }
  10992. ],
  10993. "produces": [
  10994. "application/json"
  10995. ],
  10996. "tags": [
  10997. "大连千海金(PCWeb)"
  10998. ],
  10999. "summary": "查询待付款单",
  11000. "parameters": [
  11001. {
  11002. "type": "integer",
  11003. "description": "用户ID",
  11004. "name": "userid",
  11005. "in": "query",
  11006. "required": true
  11007. },
  11008. {
  11009. "type": "string",
  11010. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11011. "name": "payflag",
  11012. "in": "query"
  11013. },
  11014. {
  11015. "type": "integer",
  11016. "description": "用户类型 1-个人 2-企业",
  11017. "name": "userinfotype",
  11018. "in": "query"
  11019. },
  11020. {
  11021. "type": "integer",
  11022. "description": "交易模式",
  11023. "name": "trademode",
  11024. "in": "query"
  11025. },
  11026. {
  11027. "type": "integer",
  11028. "description": "商品id",
  11029. "name": "goodsid",
  11030. "in": "query"
  11031. },
  11032. {
  11033. "type": "string",
  11034. "description": "名称(模糊搜索账户)",
  11035. "name": "filtername",
  11036. "in": "query"
  11037. },
  11038. {
  11039. "type": "string",
  11040. "description": "开始交易日(yyyymmdd)",
  11041. "name": "begindate",
  11042. "in": "query"
  11043. },
  11044. {
  11045. "type": "string",
  11046. "description": "结束交易日(yyyymmdd)",
  11047. "name": "enddate",
  11048. "in": "query"
  11049. },
  11050. {
  11051. "type": "integer",
  11052. "description": "是否包含子级 1-包含",
  11053. "name": "includesub",
  11054. "in": "query"
  11055. }
  11056. ],
  11057. "responses": {
  11058. "200": {
  11059. "description": "OK",
  11060. "schema": {
  11061. "type": "array",
  11062. "items": {
  11063. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  11064. }
  11065. }
  11066. },
  11067. "500": {
  11068. "description": "Internal Server Error",
  11069. "schema": {
  11070. "$ref": "#/definitions/app.Response"
  11071. }
  11072. }
  11073. }
  11074. }
  11075. },
  11076. "/QhjMgr/QueryTradePosition": {
  11077. "get": {
  11078. "security": [
  11079. {
  11080. "ApiKeyAuth": []
  11081. }
  11082. ],
  11083. "produces": [
  11084. "application/json"
  11085. ],
  11086. "tags": [
  11087. "大连千海金(PCWeb)"
  11088. ],
  11089. "summary": "查询持仓汇总",
  11090. "parameters": [
  11091. {
  11092. "type": "integer",
  11093. "description": "用户ID",
  11094. "name": "userid",
  11095. "in": "query",
  11096. "required": true
  11097. },
  11098. {
  11099. "type": "integer",
  11100. "description": "用户类型 1-个人 2-企业",
  11101. "name": "userinfotype",
  11102. "in": "query"
  11103. },
  11104. {
  11105. "type": "integer",
  11106. "description": "交易模式",
  11107. "name": "trademode",
  11108. "in": "query"
  11109. },
  11110. {
  11111. "type": "integer",
  11112. "description": "商品id",
  11113. "name": "goodsid",
  11114. "in": "query"
  11115. },
  11116. {
  11117. "type": "string",
  11118. "description": "名称(模糊搜索账户)",
  11119. "name": "filtername",
  11120. "in": "query"
  11121. },
  11122. {
  11123. "type": "integer",
  11124. "description": "是否包含子级 1-包含",
  11125. "name": "includesub",
  11126. "in": "query"
  11127. }
  11128. ],
  11129. "responses": {
  11130. "200": {
  11131. "description": "OK",
  11132. "schema": {
  11133. "type": "array",
  11134. "items": {
  11135. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  11136. }
  11137. }
  11138. },
  11139. "500": {
  11140. "description": "Internal Server Error",
  11141. "schema": {
  11142. "$ref": "#/definitions/app.Response"
  11143. }
  11144. }
  11145. }
  11146. }
  11147. },
  11148. "/QhjSys/QueryAgreementChangeLog": {
  11149. "get": {
  11150. "security": [
  11151. {
  11152. "ApiKeyAuth": []
  11153. }
  11154. ],
  11155. "produces": [
  11156. "application/json"
  11157. ],
  11158. "tags": [
  11159. "大连千海金(协议和签约信息)"
  11160. ],
  11161. "summary": "查询协议配置变更流水",
  11162. "parameters": [
  11163. {
  11164. "type": "integer",
  11165. "description": "协议ID",
  11166. "name": "agreementid",
  11167. "in": "query"
  11168. },
  11169. {
  11170. "type": "integer",
  11171. "description": "协议版本号",
  11172. "name": "agreementversion",
  11173. "in": "query"
  11174. },
  11175. {
  11176. "type": "integer",
  11177. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11178. "name": "agreementtype",
  11179. "in": "query"
  11180. },
  11181. {
  11182. "type": "string",
  11183. "description": "协议编号(模糊匹配)",
  11184. "name": "agreementno",
  11185. "in": "query"
  11186. },
  11187. {
  11188. "type": "string",
  11189. "description": "协议名称(模糊匹配)",
  11190. "name": "agreementname",
  11191. "in": "query"
  11192. }
  11193. ],
  11194. "responses": {
  11195. "200": {
  11196. "description": "OK",
  11197. "schema": {
  11198. "type": "array",
  11199. "items": {
  11200. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  11201. }
  11202. }
  11203. },
  11204. "500": {
  11205. "description": "Internal Server Error",
  11206. "schema": {
  11207. "$ref": "#/definitions/app.Response"
  11208. }
  11209. }
  11210. }
  11211. }
  11212. },
  11213. "/QhjSys/QueryAgreementConfig": {
  11214. "get": {
  11215. "security": [
  11216. {
  11217. "ApiKeyAuth": []
  11218. }
  11219. ],
  11220. "produces": [
  11221. "application/json"
  11222. ],
  11223. "tags": [
  11224. "大连千海金(协议和签约信息)"
  11225. ],
  11226. "summary": "查询协议配置",
  11227. "parameters": [
  11228. {
  11229. "type": "integer",
  11230. "description": "协议ID",
  11231. "name": "agreementid",
  11232. "in": "query"
  11233. },
  11234. {
  11235. "type": "integer",
  11236. "description": "协议版本号",
  11237. "name": "agreementversion",
  11238. "in": "query"
  11239. },
  11240. {
  11241. "type": "integer",
  11242. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11243. "name": "agreementtype",
  11244. "in": "query"
  11245. },
  11246. {
  11247. "type": "integer",
  11248. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  11249. "name": "isvalid",
  11250. "in": "query"
  11251. },
  11252. {
  11253. "type": "string",
  11254. "description": "协议编号(模糊匹配)",
  11255. "name": "agreementno",
  11256. "in": "query"
  11257. },
  11258. {
  11259. "type": "string",
  11260. "description": "协议名称(模糊匹配)",
  11261. "name": "agreementname",
  11262. "in": "query"
  11263. }
  11264. ],
  11265. "responses": {
  11266. "200": {
  11267. "description": "OK",
  11268. "schema": {
  11269. "type": "array",
  11270. "items": {
  11271. "$ref": "#/definitions/models.QhjAgreementConfig"
  11272. }
  11273. }
  11274. },
  11275. "500": {
  11276. "description": "Internal Server Error",
  11277. "schema": {
  11278. "$ref": "#/definitions/app.Response"
  11279. }
  11280. }
  11281. }
  11282. }
  11283. },
  11284. "/QhjSys/QueryCustomerSignStatus": {
  11285. "get": {
  11286. "security": [
  11287. {
  11288. "ApiKeyAuth": []
  11289. }
  11290. ],
  11291. "produces": [
  11292. "application/json"
  11293. ],
  11294. "tags": [
  11295. "大连千海金(协议和签约信息)"
  11296. ],
  11297. "summary": "查询客户协议签约状态",
  11298. "parameters": [
  11299. {
  11300. "type": "integer",
  11301. "description": "客户ID",
  11302. "name": "userid",
  11303. "in": "query"
  11304. },
  11305. {
  11306. "type": "integer",
  11307. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  11308. "name": "nodetype",
  11309. "in": "query"
  11310. },
  11311. {
  11312. "type": "integer",
  11313. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11314. "name": "goodsid",
  11315. "in": "query"
  11316. },
  11317. {
  11318. "type": "string",
  11319. "description": "创建交易日(yyyyMMdd)",
  11320. "name": "tradedate",
  11321. "in": "query"
  11322. },
  11323. {
  11324. "type": "string",
  11325. "description": "用户名称(模糊匹配)",
  11326. "name": "username",
  11327. "in": "query"
  11328. }
  11329. ],
  11330. "responses": {
  11331. "200": {
  11332. "description": "OK",
  11333. "schema": {
  11334. "type": "array",
  11335. "items": {
  11336. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  11337. }
  11338. }
  11339. },
  11340. "500": {
  11341. "description": "Internal Server Error",
  11342. "schema": {
  11343. "$ref": "#/definitions/app.Response"
  11344. }
  11345. }
  11346. }
  11347. }
  11348. },
  11349. "/QhjSys/QueryNodeAgreementConfig": {
  11350. "get": {
  11351. "security": [
  11352. {
  11353. "ApiKeyAuth": []
  11354. }
  11355. ],
  11356. "produces": [
  11357. "application/json"
  11358. ],
  11359. "tags": [
  11360. "大连千海金(协议和签约信息)"
  11361. ],
  11362. "summary": "查询协议节点配置",
  11363. "parameters": [
  11364. {
  11365. "type": "integer",
  11366. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11367. "name": "configid",
  11368. "in": "query"
  11369. },
  11370. {
  11371. "type": "integer",
  11372. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11373. "name": "nodetype",
  11374. "in": "query"
  11375. },
  11376. {
  11377. "type": "integer",
  11378. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11379. "name": "goodsid",
  11380. "in": "query"
  11381. },
  11382. {
  11383. "type": "integer",
  11384. "description": "协议ID",
  11385. "name": "agreementid",
  11386. "in": "query"
  11387. },
  11388. {
  11389. "type": "integer",
  11390. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11391. "name": "agreementtype",
  11392. "in": "query"
  11393. },
  11394. {
  11395. "type": "integer",
  11396. "description": "协议版本号",
  11397. "name": "agreementversion",
  11398. "in": "query"
  11399. },
  11400. {
  11401. "type": "string",
  11402. "description": "协议编号(模糊匹配)",
  11403. "name": "agreementno",
  11404. "in": "query"
  11405. },
  11406. {
  11407. "type": "string",
  11408. "description": "协议名称(模糊匹配)",
  11409. "name": "agreementname",
  11410. "in": "query"
  11411. }
  11412. ],
  11413. "responses": {
  11414. "200": {
  11415. "description": "OK",
  11416. "schema": {
  11417. "type": "array",
  11418. "items": {
  11419. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  11420. }
  11421. }
  11422. },
  11423. "500": {
  11424. "description": "Internal Server Error",
  11425. "schema": {
  11426. "$ref": "#/definitions/app.Response"
  11427. }
  11428. }
  11429. }
  11430. }
  11431. },
  11432. "/QhjSys/QueryQhjCustomerSignLog": {
  11433. "get": {
  11434. "security": [
  11435. {
  11436. "ApiKeyAuth": []
  11437. }
  11438. ],
  11439. "produces": [
  11440. "application/json"
  11441. ],
  11442. "tags": [
  11443. "大连千海金(协议和签约信息)"
  11444. ],
  11445. "summary": "查询客户协议签约流水",
  11446. "parameters": [
  11447. {
  11448. "type": "integer",
  11449. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  11450. "name": "logid",
  11451. "in": "query"
  11452. },
  11453. {
  11454. "type": "integer",
  11455. "description": "客户ID",
  11456. "name": "userid",
  11457. "in": "query"
  11458. },
  11459. {
  11460. "type": "integer",
  11461. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11462. "name": "nodetype",
  11463. "in": "query"
  11464. },
  11465. {
  11466. "type": "integer",
  11467. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11468. "name": "goodsid",
  11469. "in": "query"
  11470. },
  11471. {
  11472. "type": "integer",
  11473. "description": "协议ID",
  11474. "name": "agreementid",
  11475. "in": "query"
  11476. },
  11477. {
  11478. "type": "string",
  11479. "description": "用户名称(模糊匹配)",
  11480. "name": "username",
  11481. "in": "query"
  11482. },
  11483. {
  11484. "type": "string",
  11485. "description": "协议编号(模糊匹配)",
  11486. "name": "agreementno",
  11487. "in": "query"
  11488. },
  11489. {
  11490. "type": "string",
  11491. "description": "协议名称(模糊匹配)",
  11492. "name": "agreementname",
  11493. "in": "query"
  11494. }
  11495. ],
  11496. "responses": {
  11497. "200": {
  11498. "description": "OK",
  11499. "schema": {
  11500. "type": "array",
  11501. "items": {
  11502. "$ref": "#/definitions/models.QhjCustomerSignLog"
  11503. }
  11504. }
  11505. },
  11506. "500": {
  11507. "description": "Internal Server Error",
  11508. "schema": {
  11509. "$ref": "#/definitions/app.Response"
  11510. }
  11511. }
  11512. }
  11513. }
  11514. },
  11515. "/QhjSys/QueryUserNodeCfgAndStatus": {
  11516. "get": {
  11517. "security": [
  11518. {
  11519. "ApiKeyAuth": []
  11520. }
  11521. ],
  11522. "produces": [
  11523. "application/json"
  11524. ],
  11525. "tags": [
  11526. "大连千海金(协议和签约信息)"
  11527. ],
  11528. "summary": "查询用户协议节点配置和状态",
  11529. "parameters": [
  11530. {
  11531. "type": "integer",
  11532. "description": "客户ID",
  11533. "name": "userid",
  11534. "in": "query"
  11535. },
  11536. {
  11537. "type": "integer",
  11538. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11539. "name": "configid",
  11540. "in": "query"
  11541. },
  11542. {
  11543. "type": "string",
  11544. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11545. "name": "nodetype",
  11546. "in": "query"
  11547. },
  11548. {
  11549. "type": "integer",
  11550. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11551. "name": "goodsid",
  11552. "in": "query"
  11553. },
  11554. {
  11555. "type": "integer",
  11556. "description": "协议ID",
  11557. "name": "agreementid",
  11558. "in": "query"
  11559. },
  11560. {
  11561. "type": "integer",
  11562. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11563. "name": "agreementtype",
  11564. "in": "query"
  11565. },
  11566. {
  11567. "type": "integer",
  11568. "description": "协议版本号",
  11569. "name": "agreementversion",
  11570. "in": "query"
  11571. },
  11572. {
  11573. "type": "string",
  11574. "description": "协议编号(模糊匹配)",
  11575. "name": "agreementno",
  11576. "in": "query"
  11577. },
  11578. {
  11579. "type": "string",
  11580. "description": "协议名称(模糊匹配)",
  11581. "name": "agreementname",
  11582. "in": "query"
  11583. }
  11584. ],
  11585. "responses": {
  11586. "200": {
  11587. "description": "OK",
  11588. "schema": {
  11589. "type": "array",
  11590. "items": {
  11591. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  11592. }
  11593. }
  11594. },
  11595. "500": {
  11596. "description": "Internal Server Error",
  11597. "schema": {
  11598. "$ref": "#/definitions/app.Response"
  11599. }
  11600. }
  11601. }
  11602. }
  11603. },
  11604. "/Quote/QueryHistoryDatas": {
  11605. "get": {
  11606. "security": [
  11607. {
  11608. "ApiKeyAuth": []
  11609. }
  11610. ],
  11611. "produces": [
  11612. "application/json"
  11613. ],
  11614. "tags": [
  11615. "行情服务"
  11616. ],
  11617. "summary": "查询行情历史数据",
  11618. "parameters": [
  11619. {
  11620. "type": "integer",
  11621. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  11622. "name": "cycleType",
  11623. "in": "query",
  11624. "required": true
  11625. },
  11626. {
  11627. "type": "string",
  11628. "description": "商品代码",
  11629. "name": "goodsCode",
  11630. "in": "query",
  11631. "required": true
  11632. },
  11633. {
  11634. "type": "string",
  11635. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11636. "name": "startTime",
  11637. "in": "query"
  11638. },
  11639. {
  11640. "type": "string",
  11641. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11642. "name": "endTime",
  11643. "in": "query"
  11644. },
  11645. {
  11646. "type": "integer",
  11647. "description": "条数",
  11648. "name": "count",
  11649. "in": "query"
  11650. },
  11651. {
  11652. "type": "boolean",
  11653. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11654. "name": "isAsc",
  11655. "in": "query"
  11656. }
  11657. ],
  11658. "responses": {
  11659. "200": {
  11660. "description": "OK",
  11661. "schema": {
  11662. "$ref": "#/definitions/quote.HistoryData"
  11663. }
  11664. },
  11665. "500": {
  11666. "description": "Internal Server Error",
  11667. "schema": {
  11668. "$ref": "#/definitions/app.Response"
  11669. }
  11670. }
  11671. }
  11672. }
  11673. },
  11674. "/Quote/QueryHistoryTikDatas": {
  11675. "get": {
  11676. "security": [
  11677. {
  11678. "ApiKeyAuth": []
  11679. }
  11680. ],
  11681. "produces": [
  11682. "application/json"
  11683. ],
  11684. "tags": [
  11685. "行情服务"
  11686. ],
  11687. "summary": "查询行情Tik数据",
  11688. "parameters": [
  11689. {
  11690. "type": "string",
  11691. "description": "商品代码",
  11692. "name": "goodsCode",
  11693. "in": "query",
  11694. "required": true
  11695. },
  11696. {
  11697. "type": "string",
  11698. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11699. "name": "startTime",
  11700. "in": "query"
  11701. },
  11702. {
  11703. "type": "string",
  11704. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11705. "name": "endTime",
  11706. "in": "query"
  11707. },
  11708. {
  11709. "type": "integer",
  11710. "description": "条数",
  11711. "name": "count",
  11712. "in": "query"
  11713. },
  11714. {
  11715. "type": "boolean",
  11716. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11717. "name": "isAsc",
  11718. "in": "query"
  11719. }
  11720. ],
  11721. "responses": {
  11722. "200": {
  11723. "description": "OK",
  11724. "schema": {
  11725. "$ref": "#/definitions/quote.HistoryTikData"
  11726. }
  11727. },
  11728. "500": {
  11729. "description": "Internal Server Error",
  11730. "schema": {
  11731. "$ref": "#/definitions/app.Response"
  11732. }
  11733. }
  11734. }
  11735. }
  11736. },
  11737. "/Quote/QueryQuoteDay": {
  11738. "get": {
  11739. "security": [
  11740. {
  11741. "ApiKeyAuth": []
  11742. }
  11743. ],
  11744. "produces": [
  11745. "application/json"
  11746. ],
  11747. "tags": [
  11748. "行情服务"
  11749. ],
  11750. "summary": "获取商品盘面信息",
  11751. "parameters": [
  11752. {
  11753. "type": "string",
  11754. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  11755. "name": "goodsCodes",
  11756. "in": "query"
  11757. }
  11758. ],
  11759. "responses": {
  11760. "200": {
  11761. "description": "OK",
  11762. "schema": {
  11763. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  11764. }
  11765. },
  11766. "500": {
  11767. "description": "Internal Server Error",
  11768. "schema": {
  11769. "$ref": "#/definitions/app.Response"
  11770. }
  11771. }
  11772. }
  11773. }
  11774. },
  11775. "/Quote/QueryTSData": {
  11776. "get": {
  11777. "security": [
  11778. {
  11779. "ApiKeyAuth": []
  11780. }
  11781. ],
  11782. "produces": [
  11783. "application/json"
  11784. ],
  11785. "tags": [
  11786. "行情服务"
  11787. ],
  11788. "summary": "分时图数据查询",
  11789. "parameters": [
  11790. {
  11791. "type": "string",
  11792. "description": "商品代码",
  11793. "name": "goodsCode",
  11794. "in": "query",
  11795. "required": true
  11796. }
  11797. ],
  11798. "responses": {
  11799. "200": {
  11800. "description": "OK",
  11801. "schema": {
  11802. "$ref": "#/definitions/quote.QueryTSDataRsp"
  11803. }
  11804. },
  11805. "500": {
  11806. "description": "Internal Server Error",
  11807. "schema": {
  11808. "$ref": "#/definitions/app.Response"
  11809. }
  11810. }
  11811. }
  11812. }
  11813. },
  11814. "/SZDZ/QueryConvertConfig": {
  11815. "get": {
  11816. "security": [
  11817. {
  11818. "ApiKeyAuth": []
  11819. }
  11820. ],
  11821. "produces": [
  11822. "application/json"
  11823. ],
  11824. "tags": [
  11825. "定制【尚志大宗】"
  11826. ],
  11827. "summary": "查询交易系统转换设置",
  11828. "parameters": [
  11829. {
  11830. "type": "integer",
  11831. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  11832. "name": "convertType",
  11833. "in": "query"
  11834. },
  11835. {
  11836. "type": "string",
  11837. "description": "外部商品代码[JD\\PD]",
  11838. "name": "outerGoodsCode",
  11839. "in": "query"
  11840. },
  11841. {
  11842. "type": "string",
  11843. "description": "内部商品ID列表[交易],格式:1,2,3",
  11844. "name": "innerGoodsIDs",
  11845. "in": "query"
  11846. }
  11847. ],
  11848. "responses": {
  11849. "200": {
  11850. "description": "OK",
  11851. "schema": {
  11852. "$ref": "#/definitions/models.Szdz3convertconfig"
  11853. }
  11854. },
  11855. "500": {
  11856. "description": "Internal Server Error",
  11857. "schema": {
  11858. "$ref": "#/definitions/app.Response"
  11859. }
  11860. }
  11861. }
  11862. }
  11863. },
  11864. "/SZDZ/QueryConvertLog": {
  11865. "get": {
  11866. "security": [
  11867. {
  11868. "ApiKeyAuth": []
  11869. }
  11870. ],
  11871. "produces": [
  11872. "application/json"
  11873. ],
  11874. "tags": [
  11875. "定制【尚志大宗】"
  11876. ],
  11877. "summary": "交易系统转换流水查询",
  11878. "parameters": [
  11879. {
  11880. "type": "string",
  11881. "description": "资金账户 - 格式:1,2,3",
  11882. "name": "accountID",
  11883. "in": "query",
  11884. "required": true
  11885. },
  11886. {
  11887. "type": "string",
  11888. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11889. "name": "startDate",
  11890. "in": "query"
  11891. },
  11892. {
  11893. "type": "string",
  11894. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11895. "name": "endDate",
  11896. "in": "query"
  11897. }
  11898. ],
  11899. "responses": {
  11900. "200": {
  11901. "description": "OK",
  11902. "schema": {
  11903. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  11904. }
  11905. },
  11906. "500": {
  11907. "description": "Internal Server Error",
  11908. "schema": {
  11909. "$ref": "#/definitions/app.Response"
  11910. }
  11911. }
  11912. }
  11913. }
  11914. },
  11915. "/SZDZ/QueryGoodsPickup": {
  11916. "get": {
  11917. "security": [
  11918. {
  11919. "ApiKeyAuth": []
  11920. }
  11921. ],
  11922. "produces": [
  11923. "application/json"
  11924. ],
  11925. "tags": [
  11926. "定制【尚志大宗】"
  11927. ],
  11928. "summary": "商品提货单查询",
  11929. "parameters": [
  11930. {
  11931. "type": "string",
  11932. "description": "资金账户 - 格式:1,2,3",
  11933. "name": "accountID",
  11934. "in": "query",
  11935. "required": true
  11936. },
  11937. {
  11938. "type": "integer",
  11939. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11940. "name": "takeOrderStatus",
  11941. "in": "query"
  11942. }
  11943. ],
  11944. "responses": {
  11945. "200": {
  11946. "description": "OK",
  11947. "schema": {
  11948. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  11949. }
  11950. },
  11951. "500": {
  11952. "description": "Internal Server Error",
  11953. "schema": {
  11954. "$ref": "#/definitions/app.Response"
  11955. }
  11956. }
  11957. }
  11958. }
  11959. },
  11960. "/SZDZ/QueryRecieptOrder": {
  11961. "get": {
  11962. "security": [
  11963. {
  11964. "ApiKeyAuth": []
  11965. }
  11966. ],
  11967. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11968. "produces": [
  11969. "application/json"
  11970. ],
  11971. "tags": [
  11972. "定制【尚志大宗】"
  11973. ],
  11974. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  11975. "parameters": [
  11976. {
  11977. "type": "integer",
  11978. "description": "页码",
  11979. "name": "page",
  11980. "in": "query"
  11981. },
  11982. {
  11983. "type": "integer",
  11984. "description": "每页条数",
  11985. "name": "pagesize",
  11986. "in": "query"
  11987. },
  11988. {
  11989. "type": "integer",
  11990. "description": "商品ID",
  11991. "name": "goodsID",
  11992. "in": "query",
  11993. "required": true
  11994. },
  11995. {
  11996. "type": "string",
  11997. "description": "所属账户名称",
  11998. "name": "accountName",
  11999. "in": "query"
  12000. },
  12001. {
  12002. "type": "integer",
  12003. "description": "市场ID",
  12004. "name": "marketID",
  12005. "in": "query"
  12006. },
  12007. {
  12008. "type": "integer",
  12009. "description": "方向 - 0:买 1:卖",
  12010. "name": "buyorsell",
  12011. "in": "query",
  12012. "required": true
  12013. }
  12014. ],
  12015. "responses": {
  12016. "200": {
  12017. "description": "OK",
  12018. "schema": {
  12019. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  12020. }
  12021. },
  12022. "500": {
  12023. "description": "Internal Server Error",
  12024. "schema": {
  12025. "$ref": "#/definitions/app.Response"
  12026. }
  12027. }
  12028. }
  12029. }
  12030. },
  12031. "/SZDZ/QuerySZDZTradePosition": {
  12032. "get": {
  12033. "security": [
  12034. {
  12035. "ApiKeyAuth": []
  12036. }
  12037. ],
  12038. "produces": [
  12039. "application/json"
  12040. ],
  12041. "tags": [
  12042. "定制【尚志大宗】"
  12043. ],
  12044. "summary": "持仓汇总查询(尚志大宗)",
  12045. "parameters": [
  12046. {
  12047. "type": "integer",
  12048. "description": "资金账户",
  12049. "name": "accountID",
  12050. "in": "query",
  12051. "required": true
  12052. }
  12053. ],
  12054. "responses": {
  12055. "200": {
  12056. "description": "OK",
  12057. "schema": {
  12058. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  12059. }
  12060. },
  12061. "500": {
  12062. "description": "Internal Server Error",
  12063. "schema": {
  12064. "$ref": "#/definitions/app.Response"
  12065. }
  12066. }
  12067. }
  12068. }
  12069. },
  12070. "/SZDZ/SearchWhite": {
  12071. "get": {
  12072. "security": [
  12073. {
  12074. "ApiKeyAuth": []
  12075. }
  12076. ],
  12077. "produces": [
  12078. "application/json"
  12079. ],
  12080. "tags": [
  12081. "定制【尚志大宗】"
  12082. ],
  12083. "summary": "搜索白名单",
  12084. "parameters": [
  12085. {
  12086. "type": "integer",
  12087. "description": "用户ID",
  12088. "name": "userID",
  12089. "in": "query",
  12090. "required": true
  12091. }
  12092. ],
  12093. "responses": {
  12094. "200": {
  12095. "description": "OK",
  12096. "schema": {
  12097. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  12098. }
  12099. },
  12100. "500": {
  12101. "description": "Internal Server Error",
  12102. "schema": {
  12103. "$ref": "#/definitions/app.Response"
  12104. }
  12105. }
  12106. }
  12107. }
  12108. },
  12109. "/Search/SearchGoodses": {
  12110. "get": {
  12111. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  12112. "produces": [
  12113. "application/json"
  12114. ],
  12115. "tags": [
  12116. "检索服务"
  12117. ],
  12118. "summary": "检索商品信息",
  12119. "parameters": [
  12120. {
  12121. "type": "string",
  12122. "description": "检索内容",
  12123. "name": "content",
  12124. "in": "query",
  12125. "required": true
  12126. },
  12127. {
  12128. "type": "string",
  12129. "description": "交易模式,格式:1,2,3",
  12130. "name": "tradeModes",
  12131. "in": "query"
  12132. }
  12133. ],
  12134. "responses": {
  12135. "200": {
  12136. "description": "OK",
  12137. "schema": {
  12138. "$ref": "#/definitions/models.SearchGoods"
  12139. }
  12140. },
  12141. "500": {
  12142. "description": "Internal Server Error",
  12143. "schema": {
  12144. "$ref": "#/definitions/app.Response"
  12145. }
  12146. }
  12147. }
  12148. }
  12149. },
  12150. "/TaAccount/GetTaAccounts": {
  12151. "get": {
  12152. "security": [
  12153. {
  12154. "ApiKeyAuth": []
  12155. }
  12156. ],
  12157. "produces": [
  12158. "application/json"
  12159. ],
  12160. "tags": [
  12161. "资金账户"
  12162. ],
  12163. "summary": "获取资金账户信息",
  12164. "parameters": [
  12165. {
  12166. "type": "integer",
  12167. "description": "登录账户",
  12168. "name": "loginID",
  12169. "in": "query",
  12170. "required": true
  12171. },
  12172. {
  12173. "type": "integer",
  12174. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  12175. "name": "taAccountType",
  12176. "in": "query"
  12177. }
  12178. ],
  12179. "responses": {
  12180. "200": {
  12181. "description": "OK",
  12182. "schema": {
  12183. "$ref": "#/definitions/models.Taaccount"
  12184. }
  12185. },
  12186. "500": {
  12187. "description": "Internal Server Error",
  12188. "schema": {
  12189. "$ref": "#/definitions/app.Response"
  12190. }
  12191. }
  12192. }
  12193. }
  12194. },
  12195. "/TaAccount/QueryAmountLog": {
  12196. "get": {
  12197. "security": [
  12198. {
  12199. "ApiKeyAuth": []
  12200. }
  12201. ],
  12202. "produces": [
  12203. "application/json"
  12204. ],
  12205. "tags": [
  12206. "资金账户"
  12207. ],
  12208. "summary": "资金流水查询(当前)",
  12209. "parameters": [
  12210. {
  12211. "type": "integer",
  12212. "description": "页码",
  12213. "name": "page",
  12214. "in": "query"
  12215. },
  12216. {
  12217. "type": "integer",
  12218. "description": "每页条数",
  12219. "name": "pagesize",
  12220. "in": "query"
  12221. },
  12222. {
  12223. "type": "string",
  12224. "description": "资金账户 - 格式:1,2,3",
  12225. "name": "accountID",
  12226. "in": "query",
  12227. "required": true
  12228. },
  12229. {
  12230. "type": "string",
  12231. "description": "资金操作类型 - 格式:1,2,3",
  12232. "name": "OperateType",
  12233. "in": "query"
  12234. }
  12235. ],
  12236. "responses": {
  12237. "200": {
  12238. "description": "OK",
  12239. "schema": {
  12240. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  12241. }
  12242. },
  12243. "500": {
  12244. "description": "Internal Server Error",
  12245. "schema": {
  12246. "$ref": "#/definitions/app.Response"
  12247. }
  12248. }
  12249. }
  12250. }
  12251. },
  12252. "/TaAccount/QueryHisAmountLog": {
  12253. "get": {
  12254. "security": [
  12255. {
  12256. "ApiKeyAuth": []
  12257. }
  12258. ],
  12259. "produces": [
  12260. "application/json"
  12261. ],
  12262. "tags": [
  12263. "资金账户"
  12264. ],
  12265. "summary": "资金流水查询(历史)",
  12266. "parameters": [
  12267. {
  12268. "type": "integer",
  12269. "description": "页码",
  12270. "name": "page",
  12271. "in": "query"
  12272. },
  12273. {
  12274. "type": "integer",
  12275. "description": "每页条数",
  12276. "name": "pagesize",
  12277. "in": "query"
  12278. },
  12279. {
  12280. "type": "string",
  12281. "description": "资金账户 - 格式:1,2,3",
  12282. "name": "accountID",
  12283. "in": "query",
  12284. "required": true
  12285. },
  12286. {
  12287. "type": "string",
  12288. "description": "资金操作类型 - 格式:1,2,3",
  12289. "name": "OperateType",
  12290. "in": "query"
  12291. },
  12292. {
  12293. "type": "string",
  12294. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  12295. "name": "startDate",
  12296. "in": "query"
  12297. },
  12298. {
  12299. "type": "string",
  12300. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  12301. "name": "endDate",
  12302. "in": "query"
  12303. }
  12304. ],
  12305. "responses": {
  12306. "200": {
  12307. "description": "OK",
  12308. "schema": {
  12309. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  12310. }
  12311. },
  12312. "500": {
  12313. "description": "Internal Server Error",
  12314. "schema": {
  12315. "$ref": "#/definitions/app.Response"
  12316. }
  12317. }
  12318. }
  12319. }
  12320. },
  12321. "/TaAccount/QueryRelatedTaAccount": {
  12322. "get": {
  12323. "security": [
  12324. {
  12325. "ApiKeyAuth": []
  12326. }
  12327. ],
  12328. "produces": [
  12329. "application/json"
  12330. ],
  12331. "tags": [
  12332. "资金账户"
  12333. ],
  12334. "summary": "查询关联资金账户信息",
  12335. "parameters": [
  12336. {
  12337. "type": "integer",
  12338. "description": "关联UserID",
  12339. "name": "relateduserid",
  12340. "in": "query",
  12341. "required": true
  12342. }
  12343. ],
  12344. "responses": {
  12345. "200": {
  12346. "description": "OK",
  12347. "schema": {
  12348. "type": "array",
  12349. "items": {
  12350. "$ref": "#/definitions/models.RelatedTaAccount"
  12351. }
  12352. }
  12353. },
  12354. "500": {
  12355. "description": "Internal Server Error",
  12356. "schema": {
  12357. "$ref": "#/definitions/app.Response"
  12358. }
  12359. }
  12360. }
  12361. }
  12362. },
  12363. "/Tjmd/QueryQuoteGoodsList": {
  12364. "get": {
  12365. "security": [
  12366. {
  12367. "ApiKeyAuth": []
  12368. }
  12369. ],
  12370. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  12371. "produces": [
  12372. "application/json"
  12373. ],
  12374. "tags": [
  12375. "天津麦顿"
  12376. ],
  12377. "summary": "查询掉期报价列表",
  12378. "parameters": [
  12379. {
  12380. "type": "integer",
  12381. "description": "用户类型",
  12382. "name": "usertype",
  12383. "in": "query",
  12384. "required": true
  12385. },
  12386. {
  12387. "type": "string",
  12388. "description": "市场id, 格式 1,2,3",
  12389. "name": "marketids",
  12390. "in": "query"
  12391. },
  12392. {
  12393. "type": "integer",
  12394. "description": "商品组id",
  12395. "name": "goodsgroupid",
  12396. "in": "query"
  12397. },
  12398. {
  12399. "type": "integer",
  12400. "description": "商品id",
  12401. "name": "goodsid",
  12402. "in": "query"
  12403. }
  12404. ],
  12405. "responses": {
  12406. "200": {
  12407. "description": "OK",
  12408. "schema": {
  12409. "type": "array",
  12410. "items": {
  12411. "$ref": "#/definitions/models.TjmdQuoteGoods"
  12412. }
  12413. }
  12414. },
  12415. "500": {
  12416. "description": "Internal Server Error",
  12417. "schema": {
  12418. "$ref": "#/definitions/app.Response"
  12419. }
  12420. }
  12421. }
  12422. }
  12423. },
  12424. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  12425. "get": {
  12426. "security": [
  12427. {
  12428. "ApiKeyAuth": []
  12429. }
  12430. ],
  12431. "produces": [
  12432. "application/json"
  12433. ],
  12434. "tags": [
  12435. "天津麦顿"
  12436. ],
  12437. "summary": "掉期商品订单详情(交易确认书)",
  12438. "parameters": [
  12439. {
  12440. "type": "string",
  12441. "description": "成交单号",
  12442. "name": "tradeid",
  12443. "in": "query",
  12444. "required": true
  12445. }
  12446. ],
  12447. "responses": {
  12448. "200": {
  12449. "description": "OK",
  12450. "schema": {
  12451. "type": "array",
  12452. "items": {
  12453. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  12454. }
  12455. }
  12456. },
  12457. "500": {
  12458. "description": "Internal Server Error",
  12459. "schema": {
  12460. "$ref": "#/definitions/app.Response"
  12461. }
  12462. }
  12463. }
  12464. }
  12465. },
  12466. "/Tjmd/QueryTjmdMarketSection": {
  12467. "get": {
  12468. "security": [
  12469. {
  12470. "ApiKeyAuth": []
  12471. }
  12472. ],
  12473. "produces": [
  12474. "application/json"
  12475. ],
  12476. "tags": [
  12477. "天津麦顿"
  12478. ],
  12479. "summary": "查询市场板块",
  12480. "responses": {
  12481. "200": {
  12482. "description": "OK",
  12483. "schema": {
  12484. "type": "array",
  12485. "items": {
  12486. "$ref": "#/definitions/models.TjmdMarketSection"
  12487. }
  12488. }
  12489. },
  12490. "500": {
  12491. "description": "Internal Server Error",
  12492. "schema": {
  12493. "$ref": "#/definitions/app.Response"
  12494. }
  12495. }
  12496. }
  12497. }
  12498. },
  12499. "/Tjmd/QueryTjmdTodayAccountMargin": {
  12500. "get": {
  12501. "security": [
  12502. {
  12503. "ApiKeyAuth": []
  12504. }
  12505. ],
  12506. "produces": [
  12507. "application/json"
  12508. ],
  12509. "tags": [
  12510. "天津麦顿"
  12511. ],
  12512. "summary": "查询今日账户保证金配置",
  12513. "parameters": [
  12514. {
  12515. "type": "string",
  12516. "description": "市场id",
  12517. "name": "marketid",
  12518. "in": "query"
  12519. },
  12520. {
  12521. "type": "string",
  12522. "description": "商品id",
  12523. "name": "goodsid",
  12524. "in": "query"
  12525. },
  12526. {
  12527. "type": "string",
  12528. "description": "资金账号",
  12529. "name": "accountid",
  12530. "in": "query"
  12531. }
  12532. ],
  12533. "responses": {
  12534. "200": {
  12535. "description": "OK",
  12536. "schema": {
  12537. "type": "array",
  12538. "items": {
  12539. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  12540. }
  12541. }
  12542. },
  12543. "500": {
  12544. "description": "Internal Server Error",
  12545. "schema": {
  12546. "$ref": "#/definitions/app.Response"
  12547. }
  12548. }
  12549. }
  12550. }
  12551. },
  12552. "/Tjmd/QueryTjmdTradeOrderDetail": {
  12553. "get": {
  12554. "security": [
  12555. {
  12556. "ApiKeyAuth": []
  12557. }
  12558. ],
  12559. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  12560. "produces": [
  12561. "application/json"
  12562. ],
  12563. "tags": [
  12564. "天津麦顿"
  12565. ],
  12566. "summary": "查询掉期买卖大厅",
  12567. "parameters": [
  12568. {
  12569. "type": "integer",
  12570. "description": "页码",
  12571. "name": "page",
  12572. "in": "query"
  12573. },
  12574. {
  12575. "type": "integer",
  12576. "description": "每页条数",
  12577. "name": "pagesize",
  12578. "in": "query"
  12579. },
  12580. {
  12581. "type": "integer",
  12582. "description": "用户id",
  12583. "name": "userid",
  12584. "in": "query",
  12585. "required": true
  12586. },
  12587. {
  12588. "type": "integer",
  12589. "description": "用户类型",
  12590. "name": "usertype",
  12591. "in": "query",
  12592. "required": true
  12593. },
  12594. {
  12595. "type": "string",
  12596. "description": "市场id, 格式 1,2,3",
  12597. "name": "marketids",
  12598. "in": "query"
  12599. },
  12600. {
  12601. "type": "integer",
  12602. "description": "商品id",
  12603. "name": "goodsid",
  12604. "in": "query",
  12605. "required": true
  12606. },
  12607. {
  12608. "type": "integer",
  12609. "description": "买卖方向 0-买 1-卖",
  12610. "name": "buyorsell",
  12611. "in": "query",
  12612. "required": true
  12613. }
  12614. ],
  12615. "responses": {
  12616. "200": {
  12617. "description": "OK",
  12618. "schema": {
  12619. "type": "array",
  12620. "items": {
  12621. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  12622. }
  12623. }
  12624. },
  12625. "500": {
  12626. "description": "Internal Server Error",
  12627. "schema": {
  12628. "$ref": "#/definitions/app.Response"
  12629. }
  12630. }
  12631. }
  12632. }
  12633. },
  12634. "/Tjmd/QueryTjmdTransferApply": {
  12635. "get": {
  12636. "security": [
  12637. {
  12638. "ApiKeyAuth": []
  12639. }
  12640. ],
  12641. "produces": [
  12642. "application/json"
  12643. ],
  12644. "tags": [
  12645. "天津麦顿"
  12646. ],
  12647. "summary": "查询掉期协议单",
  12648. "parameters": [
  12649. {
  12650. "type": "integer",
  12651. "description": "类型 1-我的申请 2-对方申请",
  12652. "name": "applytype",
  12653. "in": "query",
  12654. "required": true
  12655. },
  12656. {
  12657. "type": "string",
  12658. "description": "市场id, 格式 1,2,3",
  12659. "name": "marketids",
  12660. "in": "query"
  12661. },
  12662. {
  12663. "type": "string",
  12664. "description": "资金账号, 格式 25000000001,25000000003",
  12665. "name": "accountids",
  12666. "in": "query"
  12667. },
  12668. {
  12669. "type": "string",
  12670. "description": "开始交易日(yyyymmdd)",
  12671. "name": "begindate",
  12672. "in": "query"
  12673. },
  12674. {
  12675. "type": "string",
  12676. "description": "结束交易日(yyyymmdd)",
  12677. "name": "enddate",
  12678. "in": "query"
  12679. }
  12680. ],
  12681. "responses": {
  12682. "200": {
  12683. "description": "OK",
  12684. "schema": {
  12685. "type": "array",
  12686. "items": {
  12687. "$ref": "#/definitions/models.TjmdTransferApply"
  12688. }
  12689. }
  12690. },
  12691. "500": {
  12692. "description": "Internal Server Error",
  12693. "schema": {
  12694. "$ref": "#/definitions/app.Response"
  12695. }
  12696. }
  12697. }
  12698. }
  12699. },
  12700. "/Trade/QueryRecieptOrder": {
  12701. "get": {
  12702. "security": [
  12703. {
  12704. "ApiKeyAuth": []
  12705. }
  12706. ],
  12707. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12708. "produces": [
  12709. "application/json"
  12710. ],
  12711. "tags": [
  12712. "通用交易"
  12713. ],
  12714. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  12715. "parameters": [
  12716. {
  12717. "type": "integer",
  12718. "description": "页码",
  12719. "name": "page",
  12720. "in": "query"
  12721. },
  12722. {
  12723. "type": "integer",
  12724. "description": "每页条数",
  12725. "name": "pagesize",
  12726. "in": "query"
  12727. },
  12728. {
  12729. "type": "integer",
  12730. "description": "商品ID",
  12731. "name": "goodsID",
  12732. "in": "query",
  12733. "required": true
  12734. },
  12735. {
  12736. "type": "string",
  12737. "description": "所属账户名称",
  12738. "name": "accountName",
  12739. "in": "query"
  12740. },
  12741. {
  12742. "type": "integer",
  12743. "description": "市场ID",
  12744. "name": "marketID",
  12745. "in": "query"
  12746. },
  12747. {
  12748. "type": "integer",
  12749. "description": "方向 - 0:买 1:卖",
  12750. "name": "buyorsell",
  12751. "in": "query",
  12752. "required": true
  12753. }
  12754. ],
  12755. "responses": {
  12756. "200": {
  12757. "description": "OK",
  12758. "schema": {
  12759. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  12760. }
  12761. },
  12762. "500": {
  12763. "description": "Internal Server Error",
  12764. "schema": {
  12765. "$ref": "#/definitions/app.Response"
  12766. }
  12767. }
  12768. }
  12769. }
  12770. },
  12771. "/User/AddMessageBoard": {
  12772. "post": {
  12773. "security": [
  12774. {
  12775. "ApiKeyAuth": []
  12776. }
  12777. ],
  12778. "produces": [
  12779. "application/json"
  12780. ],
  12781. "tags": [
  12782. "用户信息"
  12783. ],
  12784. "summary": "添加用户留言板信息",
  12785. "parameters": [
  12786. {
  12787. "type": "integer",
  12788. "description": "用户ID",
  12789. "name": "userID",
  12790. "in": "query",
  12791. "required": true
  12792. },
  12793. {
  12794. "type": "string",
  12795. "description": "留言信息",
  12796. "name": "message",
  12797. "in": "query",
  12798. "required": true
  12799. },
  12800. {
  12801. "type": "string",
  12802. "description": "联系电话",
  12803. "name": "contactNum",
  12804. "in": "query",
  12805. "required": true
  12806. }
  12807. ],
  12808. "responses": {
  12809. "200": {
  12810. "description": "OK",
  12811. "schema": {
  12812. "$ref": "#/definitions/app.Response"
  12813. }
  12814. },
  12815. "500": {
  12816. "description": "Internal Server Error",
  12817. "schema": {
  12818. "$ref": "#/definitions/app.Response"
  12819. }
  12820. }
  12821. }
  12822. }
  12823. },
  12824. "/User/AddUserFavoriteGoods": {
  12825. "post": {
  12826. "security": [
  12827. {
  12828. "ApiKeyAuth": []
  12829. }
  12830. ],
  12831. "produces": [
  12832. "application/json"
  12833. ],
  12834. "tags": [
  12835. "用户信息"
  12836. ],
  12837. "summary": "添加用户商品收藏信息",
  12838. "parameters": [
  12839. {
  12840. "type": "integer",
  12841. "description": "用户ID",
  12842. "name": "userID",
  12843. "in": "query",
  12844. "required": true
  12845. },
  12846. {
  12847. "type": "integer",
  12848. "description": "商品ID",
  12849. "name": "goodsID",
  12850. "in": "query",
  12851. "required": true
  12852. }
  12853. ],
  12854. "responses": {
  12855. "200": {
  12856. "description": "OK",
  12857. "schema": {
  12858. "$ref": "#/definitions/app.Response"
  12859. }
  12860. },
  12861. "500": {
  12862. "description": "Internal Server Error",
  12863. "schema": {
  12864. "$ref": "#/definitions/app.Response"
  12865. }
  12866. }
  12867. }
  12868. }
  12869. },
  12870. "/User/GetLoginID": {
  12871. "get": {
  12872. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  12873. "produces": [
  12874. "application/json"
  12875. ],
  12876. "tags": [
  12877. "用户信息"
  12878. ],
  12879. "summary": "获取登录ID",
  12880. "parameters": [
  12881. {
  12882. "type": "string",
  12883. "description": "登录代码",
  12884. "name": "username",
  12885. "in": "query",
  12886. "required": true
  12887. }
  12888. ],
  12889. "responses": {
  12890. "200": {
  12891. "description": "OK",
  12892. "schema": {
  12893. "$ref": "#/definitions/app.Response"
  12894. }
  12895. },
  12896. "500": {
  12897. "description": "Internal Server Error",
  12898. "schema": {
  12899. "$ref": "#/definitions/app.Response"
  12900. }
  12901. }
  12902. }
  12903. }
  12904. },
  12905. "/User/GetUserAccount": {
  12906. "get": {
  12907. "security": [
  12908. {
  12909. "ApiKeyAuth": []
  12910. }
  12911. ],
  12912. "produces": [
  12913. "application/json"
  12914. ],
  12915. "tags": [
  12916. "用户信息"
  12917. ],
  12918. "summary": "获取用户账号信息",
  12919. "parameters": [
  12920. {
  12921. "type": "integer",
  12922. "description": "用户ID",
  12923. "name": "userID",
  12924. "in": "query",
  12925. "required": true
  12926. }
  12927. ],
  12928. "responses": {
  12929. "200": {
  12930. "description": "OK",
  12931. "schema": {
  12932. "$ref": "#/definitions/models.Useraccount"
  12933. }
  12934. },
  12935. "500": {
  12936. "description": "Internal Server Error",
  12937. "schema": {
  12938. "$ref": "#/definitions/app.Response"
  12939. }
  12940. }
  12941. }
  12942. }
  12943. },
  12944. "/User/GetUserAuthStatus": {
  12945. "get": {
  12946. "security": [
  12947. {
  12948. "ApiKeyAuth": []
  12949. }
  12950. ],
  12951. "produces": [
  12952. "application/json"
  12953. ],
  12954. "tags": [
  12955. "用户信息"
  12956. ],
  12957. "summary": "获取用户实名认证状态",
  12958. "parameters": [
  12959. {
  12960. "type": "integer",
  12961. "description": "用户ID",
  12962. "name": "userID",
  12963. "in": "query",
  12964. "required": true
  12965. }
  12966. ],
  12967. "responses": {
  12968. "200": {
  12969. "description": "OK",
  12970. "schema": {
  12971. "$ref": "#/definitions/app.Response"
  12972. }
  12973. },
  12974. "500": {
  12975. "description": "Internal Server Error",
  12976. "schema": {
  12977. "$ref": "#/definitions/app.Response"
  12978. }
  12979. }
  12980. }
  12981. }
  12982. },
  12983. "/User/LoginQuery": {
  12984. "get": {
  12985. "security": [
  12986. {
  12987. "ApiKeyAuth": []
  12988. }
  12989. ],
  12990. "produces": [
  12991. "application/json"
  12992. ],
  12993. "tags": [
  12994. "用户信息"
  12995. ],
  12996. "summary": "账户登录后信息查询",
  12997. "parameters": [
  12998. {
  12999. "type": "integer",
  13000. "description": "登录账号",
  13001. "name": "loginID",
  13002. "in": "query",
  13003. "required": true
  13004. }
  13005. ],
  13006. "responses": {
  13007. "200": {
  13008. "description": "OK",
  13009. "schema": {
  13010. "$ref": "#/definitions/user.LoginQueryRsp"
  13011. }
  13012. },
  13013. "500": {
  13014. "description": "Internal Server Error",
  13015. "schema": {
  13016. "$ref": "#/definitions/app.Response"
  13017. }
  13018. }
  13019. }
  13020. }
  13021. },
  13022. "/User/QueryMessageBoard": {
  13023. "get": {
  13024. "security": [
  13025. {
  13026. "ApiKeyAuth": []
  13027. }
  13028. ],
  13029. "produces": [
  13030. "application/json"
  13031. ],
  13032. "tags": [
  13033. "用户信息"
  13034. ],
  13035. "summary": "获取用户留言板信息",
  13036. "parameters": [
  13037. {
  13038. "type": "integer",
  13039. "description": "用户ID",
  13040. "name": "userID",
  13041. "in": "query",
  13042. "required": true
  13043. }
  13044. ],
  13045. "responses": {
  13046. "200": {
  13047. "description": "OK",
  13048. "schema": {
  13049. "$ref": "#/definitions/models.Messageboard"
  13050. }
  13051. },
  13052. "500": {
  13053. "description": "Internal Server Error",
  13054. "schema": {
  13055. "$ref": "#/definitions/app.Response"
  13056. }
  13057. }
  13058. }
  13059. }
  13060. },
  13061. "/User/QueryUserFavoriteGoodses": {
  13062. "get": {
  13063. "security": [
  13064. {
  13065. "ApiKeyAuth": []
  13066. }
  13067. ],
  13068. "produces": [
  13069. "application/json"
  13070. ],
  13071. "tags": [
  13072. "用户信息"
  13073. ],
  13074. "summary": "获取用户商品收藏信息",
  13075. "parameters": [
  13076. {
  13077. "type": "integer",
  13078. "description": "用户ID",
  13079. "name": "userID",
  13080. "in": "query",
  13081. "required": true
  13082. }
  13083. ],
  13084. "responses": {
  13085. "200": {
  13086. "description": "OK",
  13087. "schema": {
  13088. "$ref": "#/definitions/models.Userfavoritegoods"
  13089. }
  13090. },
  13091. "500": {
  13092. "description": "Internal Server Error",
  13093. "schema": {
  13094. "$ref": "#/definitions/app.Response"
  13095. }
  13096. }
  13097. }
  13098. }
  13099. },
  13100. "/User/QueryUserInfo": {
  13101. "get": {
  13102. "security": [
  13103. {
  13104. "ApiKeyAuth": []
  13105. }
  13106. ],
  13107. "produces": [
  13108. "application/json"
  13109. ],
  13110. "tags": [
  13111. "用户信息"
  13112. ],
  13113. "summary": "获取用户信息",
  13114. "parameters": [
  13115. {
  13116. "type": "integer",
  13117. "description": "用户ID",
  13118. "name": "userID",
  13119. "in": "query",
  13120. "required": true
  13121. },
  13122. {
  13123. "type": "boolean",
  13124. "description": "是否解密",
  13125. "name": "isDecrypt",
  13126. "in": "query"
  13127. }
  13128. ],
  13129. "responses": {
  13130. "200": {
  13131. "description": "OK",
  13132. "schema": {
  13133. "$ref": "#/definitions/models.Userinfo"
  13134. }
  13135. },
  13136. "500": {
  13137. "description": "Internal Server Error",
  13138. "schema": {
  13139. "$ref": "#/definitions/app.Response"
  13140. }
  13141. }
  13142. }
  13143. }
  13144. },
  13145. "/User/QueryUserReferNum": {
  13146. "get": {
  13147. "produces": [
  13148. "application/json"
  13149. ],
  13150. "tags": [
  13151. "用户信息"
  13152. ],
  13153. "summary": "获取用户邀请码",
  13154. "parameters": [
  13155. {
  13156. "type": "integer",
  13157. "description": "用户ID",
  13158. "name": "userID",
  13159. "in": "query",
  13160. "required": true
  13161. }
  13162. ],
  13163. "responses": {
  13164. "200": {
  13165. "description": "OK",
  13166. "schema": {
  13167. "$ref": "#/definitions/app.Response"
  13168. }
  13169. },
  13170. "500": {
  13171. "description": "Internal Server Error",
  13172. "schema": {
  13173. "$ref": "#/definitions/app.Response"
  13174. }
  13175. }
  13176. }
  13177. }
  13178. },
  13179. "/User/RemoveUserFavoriteGoods": {
  13180. "post": {
  13181. "security": [
  13182. {
  13183. "ApiKeyAuth": []
  13184. }
  13185. ],
  13186. "produces": [
  13187. "application/json"
  13188. ],
  13189. "tags": [
  13190. "用户信息"
  13191. ],
  13192. "summary": "移除用户商品收藏信息",
  13193. "parameters": [
  13194. {
  13195. "type": "integer",
  13196. "description": "用户ID",
  13197. "name": "userID",
  13198. "in": "query",
  13199. "required": true
  13200. },
  13201. {
  13202. "type": "integer",
  13203. "description": "商品ID",
  13204. "name": "goodsID",
  13205. "in": "query",
  13206. "required": true
  13207. }
  13208. ],
  13209. "responses": {
  13210. "200": {
  13211. "description": "OK",
  13212. "schema": {
  13213. "$ref": "#/definitions/app.Response"
  13214. }
  13215. },
  13216. "500": {
  13217. "description": "Internal Server Error",
  13218. "schema": {
  13219. "$ref": "#/definitions/app.Response"
  13220. }
  13221. }
  13222. }
  13223. }
  13224. },
  13225. "/User/UpdateUserAccountStatus": {
  13226. "post": {
  13227. "security": [
  13228. {
  13229. "ApiKeyAuth": []
  13230. }
  13231. ],
  13232. "produces": [
  13233. "application/json"
  13234. ],
  13235. "tags": [
  13236. "用户信息"
  13237. ],
  13238. "summary": "更新用户状态",
  13239. "parameters": [
  13240. {
  13241. "type": "integer",
  13242. "description": "用户ID",
  13243. "name": "userID",
  13244. "in": "query",
  13245. "required": true
  13246. },
  13247. {
  13248. "type": "integer",
  13249. "description": "账户状态 - 4:正常 6:注销(停用)",
  13250. "name": "accountStatus",
  13251. "in": "query",
  13252. "required": true
  13253. }
  13254. ],
  13255. "responses": {
  13256. "200": {
  13257. "description": "OK",
  13258. "schema": {
  13259. "$ref": "#/definitions/app.Response"
  13260. }
  13261. },
  13262. "500": {
  13263. "description": "Internal Server Error",
  13264. "schema": {
  13265. "$ref": "#/definitions/app.Response"
  13266. }
  13267. }
  13268. }
  13269. }
  13270. },
  13271. "/WRTrade/GetAllDeliveryGoods": {
  13272. "get": {
  13273. "security": [
  13274. {
  13275. "ApiKeyAuth": []
  13276. }
  13277. ],
  13278. "produces": [
  13279. "application/json"
  13280. ],
  13281. "tags": [
  13282. "仓单贸易",
  13283. "仓单贸易"
  13284. ],
  13285. "summary": "获取带仓单分类的种类信息",
  13286. "responses": {
  13287. "200": {
  13288. "description": "OK",
  13289. "schema": {
  13290. "$ref": "#/definitions/app.Response"
  13291. }
  13292. },
  13293. "500": {
  13294. "description": "Internal Server Error",
  13295. "schema": {
  13296. "$ref": "#/definitions/app.Response"
  13297. }
  13298. }
  13299. }
  13300. }
  13301. },
  13302. "/WrTrade2/InsertXhcpSellBackApply": {
  13303. "post": {
  13304. "security": [
  13305. {
  13306. "ApiKeyAuth": []
  13307. }
  13308. ],
  13309. "produces": [
  13310. "application/json"
  13311. ],
  13312. "tags": [
  13313. "仓单贸易v2"
  13314. ],
  13315. "summary": "新增回收申请(新会陈皮)",
  13316. "parameters": [
  13317. {
  13318. "description": "回收申请",
  13319. "name": "jsonBody",
  13320. "in": "body",
  13321. "required": true,
  13322. "schema": {
  13323. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  13324. }
  13325. }
  13326. ],
  13327. "responses": {
  13328. "200": {
  13329. "description": "OK",
  13330. "schema": {
  13331. "$ref": "#/definitions/app.Response"
  13332. }
  13333. },
  13334. "500": {
  13335. "description": "Internal Server Error",
  13336. "schema": {
  13337. "$ref": "#/definitions/app.Response"
  13338. }
  13339. }
  13340. }
  13341. }
  13342. },
  13343. "/WrTrade2/QueryDeliveryGoodsSection": {
  13344. "get": {
  13345. "security": [
  13346. {
  13347. "ApiKeyAuth": []
  13348. }
  13349. ],
  13350. "produces": [
  13351. "application/json"
  13352. ],
  13353. "tags": [
  13354. "仓单贸易v2"
  13355. ],
  13356. "summary": "查询板块(分类)",
  13357. "responses": {
  13358. "200": {
  13359. "description": "OK",
  13360. "schema": {
  13361. "type": "array",
  13362. "items": {
  13363. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  13364. }
  13365. }
  13366. },
  13367. "500": {
  13368. "description": "Internal Server Error",
  13369. "schema": {
  13370. "$ref": "#/definitions/app.Response"
  13371. }
  13372. }
  13373. }
  13374. }
  13375. },
  13376. "/WrTrade2/QueryFaProductDetail": {
  13377. "get": {
  13378. "security": [
  13379. {
  13380. "ApiKeyAuth": []
  13381. }
  13382. ],
  13383. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  13384. "produces": [
  13385. "application/json"
  13386. ],
  13387. "tags": [
  13388. "仓单贸易v2"
  13389. ],
  13390. "summary": "查询融资产品列表",
  13391. "parameters": [
  13392. {
  13393. "type": "integer",
  13394. "description": "仓单要素id",
  13395. "name": "wrfactortypeid",
  13396. "in": "query",
  13397. "required": true
  13398. }
  13399. ],
  13400. "responses": {
  13401. "200": {
  13402. "description": "OK",
  13403. "schema": {
  13404. "type": "array",
  13405. "items": {
  13406. "$ref": "#/definitions/models.WrFAProductDetail"
  13407. }
  13408. }
  13409. },
  13410. "500": {
  13411. "description": "Internal Server Error",
  13412. "schema": {
  13413. "$ref": "#/definitions/app.Response"
  13414. }
  13415. }
  13416. }
  13417. }
  13418. },
  13419. "/WrTrade2/QueryFilterItem": {
  13420. "get": {
  13421. "security": [
  13422. {
  13423. "ApiKeyAuth": []
  13424. }
  13425. ],
  13426. "produces": [
  13427. "application/json"
  13428. ],
  13429. "tags": [
  13430. "仓单贸易v2"
  13431. ],
  13432. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  13433. "parameters": [
  13434. {
  13435. "type": "string",
  13436. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  13437. "name": "itype",
  13438. "in": "query",
  13439. "required": true
  13440. }
  13441. ],
  13442. "responses": {
  13443. "200": {
  13444. "description": "OK",
  13445. "schema": {
  13446. "type": "array",
  13447. "items": {
  13448. "$ref": "#/definitions/models.WrFilterItem"
  13449. }
  13450. }
  13451. },
  13452. "500": {
  13453. "description": "Internal Server Error",
  13454. "schema": {
  13455. "$ref": "#/definitions/app.Response"
  13456. }
  13457. }
  13458. }
  13459. }
  13460. },
  13461. "/WrTrade2/QueryFtDeliveryGoods": {
  13462. "get": {
  13463. "security": [
  13464. {
  13465. "ApiKeyAuth": []
  13466. }
  13467. ],
  13468. "produces": [
  13469. "application/json"
  13470. ],
  13471. "tags": [
  13472. "仓单贸易v2"
  13473. ],
  13474. "summary": "查询品种品类筛选框列表",
  13475. "responses": {
  13476. "200": {
  13477. "description": "OK",
  13478. "schema": {
  13479. "type": "array",
  13480. "items": {
  13481. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  13482. }
  13483. }
  13484. },
  13485. "500": {
  13486. "description": "Internal Server Error",
  13487. "schema": {
  13488. "$ref": "#/definitions/app.Response"
  13489. }
  13490. }
  13491. }
  13492. }
  13493. },
  13494. "/WrTrade2/QueryHoldLB": {
  13495. "get": {
  13496. "security": [
  13497. {
  13498. "ApiKeyAuth": []
  13499. }
  13500. ],
  13501. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  13502. "produces": [
  13503. "application/json"
  13504. ],
  13505. "tags": [
  13506. "仓单贸易v2"
  13507. ],
  13508. "summary": "查询仓单持有记录",
  13509. "parameters": [
  13510. {
  13511. "type": "integer",
  13512. "description": "资金账号",
  13513. "name": "accountid",
  13514. "in": "query",
  13515. "required": true
  13516. },
  13517. {
  13518. "type": "integer",
  13519. "description": "仓库id",
  13520. "name": "warehouseid",
  13521. "in": "query"
  13522. },
  13523. {
  13524. "type": "integer",
  13525. "description": "品种id",
  13526. "name": "deliverygoodsid",
  13527. "in": "query"
  13528. },
  13529. {
  13530. "type": "integer",
  13531. "description": "品类id",
  13532. "name": "wrstandardid",
  13533. "in": "query"
  13534. },
  13535. {
  13536. "type": "integer",
  13537. "description": "仓单要素id",
  13538. "name": "wrfactortypeid",
  13539. "in": "query"
  13540. },
  13541. {
  13542. "type": "string",
  13543. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13544. "name": "dgitemname",
  13545. "in": "query"
  13546. }
  13547. ],
  13548. "responses": {
  13549. "200": {
  13550. "description": "OK",
  13551. "schema": {
  13552. "type": "array",
  13553. "items": {
  13554. "$ref": "#/definitions/models.WrHoldLB"
  13555. }
  13556. }
  13557. },
  13558. "500": {
  13559. "description": "Internal Server Error",
  13560. "schema": {
  13561. "$ref": "#/definitions/app.Response"
  13562. }
  13563. }
  13564. }
  13565. }
  13566. },
  13567. "/WrTrade2/QueryOrderQuote": {
  13568. "get": {
  13569. "security": [
  13570. {
  13571. "ApiKeyAuth": []
  13572. }
  13573. ],
  13574. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  13575. "produces": [
  13576. "application/json"
  13577. ],
  13578. "tags": [
  13579. "仓单贸易v2"
  13580. ],
  13581. "summary": "查询大厅行情列表",
  13582. "parameters": [
  13583. {
  13584. "type": "integer",
  13585. "description": "页码",
  13586. "name": "page",
  13587. "in": "query"
  13588. },
  13589. {
  13590. "type": "integer",
  13591. "description": "每页条数",
  13592. "name": "pagesize",
  13593. "in": "query"
  13594. },
  13595. {
  13596. "type": "integer",
  13597. "description": "仓单贸易市场id",
  13598. "name": "marketid",
  13599. "in": "query"
  13600. },
  13601. {
  13602. "type": "integer",
  13603. "description": "价格方式 - 1:固定价 2-浮动价",
  13604. "name": "wrpricetype",
  13605. "in": "query",
  13606. "required": true
  13607. },
  13608. {
  13609. "type": "integer",
  13610. "description": "0:仓单预售 1:仓单贸易",
  13611. "name": "haswr",
  13612. "in": "query"
  13613. },
  13614. {
  13615. "type": "string",
  13616. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13617. "name": "dgitemname",
  13618. "in": "query"
  13619. },
  13620. {
  13621. "type": "integer",
  13622. "description": "仓库id(筛选条件)",
  13623. "name": "warehouseid",
  13624. "in": "query"
  13625. },
  13626. {
  13627. "type": "integer",
  13628. "description": "品种id",
  13629. "name": "deliverygoodsid",
  13630. "in": "query"
  13631. },
  13632. {
  13633. "type": "integer",
  13634. "description": "品类id",
  13635. "name": "wrstandardid",
  13636. "in": "query"
  13637. },
  13638. {
  13639. "type": "integer",
  13640. "description": "品牌id(dgfactoryitemid)",
  13641. "name": "brandid",
  13642. "in": "query"
  13643. },
  13644. {
  13645. "type": "integer",
  13646. "description": "年份id(dgfactoryitemid)",
  13647. "name": "yearsid",
  13648. "in": "query"
  13649. },
  13650. {
  13651. "type": "integer",
  13652. "description": "仓单要素id",
  13653. "name": "wrfactortypeid",
  13654. "in": "query"
  13655. },
  13656. {
  13657. "type": "string",
  13658. "description": "交收月(yyyy-mm) 仓单预售填写",
  13659. "name": "deliverymonth",
  13660. "in": "query"
  13661. }
  13662. ],
  13663. "responses": {
  13664. "200": {
  13665. "description": "OK",
  13666. "schema": {
  13667. "type": "array",
  13668. "items": {
  13669. "$ref": "#/definitions/models.WrOrderQuote"
  13670. }
  13671. }
  13672. },
  13673. "500": {
  13674. "description": "Internal Server Error",
  13675. "schema": {
  13676. "$ref": "#/definitions/app.Response"
  13677. }
  13678. }
  13679. }
  13680. }
  13681. },
  13682. "/WrTrade2/QueryOrderQuoteDetail": {
  13683. "get": {
  13684. "security": [
  13685. {
  13686. "ApiKeyAuth": []
  13687. }
  13688. ],
  13689. "produces": [
  13690. "application/json"
  13691. ],
  13692. "tags": [
  13693. "仓单贸易v2"
  13694. ],
  13695. "summary": "查询买卖大厅",
  13696. "parameters": [
  13697. {
  13698. "type": "integer",
  13699. "description": "页码",
  13700. "name": "page",
  13701. "in": "query"
  13702. },
  13703. {
  13704. "type": "integer",
  13705. "description": "每页条数",
  13706. "name": "pagesize",
  13707. "in": "query"
  13708. },
  13709. {
  13710. "type": "integer",
  13711. "description": "仓单贸易市场id",
  13712. "name": "marketid",
  13713. "in": "query"
  13714. },
  13715. {
  13716. "type": "integer",
  13717. "description": "价格方式 - 1:固定价 2-浮动价",
  13718. "name": "wrpricetype",
  13719. "in": "query",
  13720. "required": true
  13721. },
  13722. {
  13723. "type": "integer",
  13724. "description": "0:仓单预售 1:仓单贸易",
  13725. "name": "haswr",
  13726. "in": "query"
  13727. },
  13728. {
  13729. "type": "integer",
  13730. "description": "仓单要素id",
  13731. "name": "wrfactortypeid",
  13732. "in": "query",
  13733. "required": true
  13734. },
  13735. {
  13736. "type": "integer",
  13737. "description": "期货商品id(浮动价方式时填)",
  13738. "name": "goodsid",
  13739. "in": "query"
  13740. },
  13741. {
  13742. "type": "integer",
  13743. "description": "买卖方向 0-买 1-卖",
  13744. "name": "buyorsell",
  13745. "in": "query",
  13746. "required": true
  13747. },
  13748. {
  13749. "type": "string",
  13750. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  13751. "name": "deliverymonth",
  13752. "in": "query"
  13753. }
  13754. ],
  13755. "responses": {
  13756. "200": {
  13757. "description": "OK",
  13758. "schema": {
  13759. "type": "array",
  13760. "items": {
  13761. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  13762. }
  13763. }
  13764. },
  13765. "500": {
  13766. "description": "Internal Server Error",
  13767. "schema": {
  13768. "$ref": "#/definitions/app.Response"
  13769. }
  13770. }
  13771. }
  13772. }
  13773. },
  13774. "/WrTrade2/QueryOrderQuoteMyq": {
  13775. "get": {
  13776. "security": [
  13777. {
  13778. "ApiKeyAuth": []
  13779. }
  13780. ],
  13781. "produces": [
  13782. "application/json"
  13783. ],
  13784. "tags": [
  13785. "仓单贸易v2"
  13786. ],
  13787. "summary": "查询贸易圈挂牌大厅",
  13788. "parameters": [
  13789. {
  13790. "type": "integer",
  13791. "description": "页码",
  13792. "name": "page",
  13793. "in": "query"
  13794. },
  13795. {
  13796. "type": "integer",
  13797. "description": "每页条数",
  13798. "name": "pagesize",
  13799. "in": "query"
  13800. },
  13801. {
  13802. "type": "integer",
  13803. "description": "用户id",
  13804. "name": "userid",
  13805. "in": "query",
  13806. "required": true
  13807. },
  13808. {
  13809. "type": "integer",
  13810. "description": "仓单贸易市场id",
  13811. "name": "marketid",
  13812. "in": "query"
  13813. },
  13814. {
  13815. "type": "integer",
  13816. "description": "0:仓单预售 1:仓单贸易",
  13817. "name": "haswr",
  13818. "in": "query"
  13819. },
  13820. {
  13821. "type": "integer",
  13822. "description": "买卖方向 0-买 1-卖",
  13823. "name": "buyorsell",
  13824. "in": "query",
  13825. "required": true
  13826. },
  13827. {
  13828. "type": "integer",
  13829. "description": "品种id",
  13830. "name": "deliverygoodsid",
  13831. "in": "query"
  13832. },
  13833. {
  13834. "type": "integer",
  13835. "description": "品类id",
  13836. "name": "wrstandardid",
  13837. "in": "query"
  13838. },
  13839. {
  13840. "type": "string",
  13841. "description": "交收月(yyyy-mm) 仓单预售填写",
  13842. "name": "deliverymonth",
  13843. "in": "query"
  13844. },
  13845. {
  13846. "type": "string",
  13847. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13848. "name": "dgitemname",
  13849. "in": "query"
  13850. }
  13851. ],
  13852. "responses": {
  13853. "200": {
  13854. "description": "OK",
  13855. "schema": {
  13856. "type": "array",
  13857. "items": {
  13858. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  13859. }
  13860. }
  13861. },
  13862. "500": {
  13863. "description": "Internal Server Error",
  13864. "schema": {
  13865. "$ref": "#/definitions/app.Response"
  13866. }
  13867. }
  13868. }
  13869. }
  13870. },
  13871. "/WrTrade2/QueryPerformancePlan": {
  13872. "get": {
  13873. "security": [
  13874. {
  13875. "ApiKeyAuth": []
  13876. }
  13877. ],
  13878. "produces": [
  13879. "application/json"
  13880. ],
  13881. "tags": [
  13882. "仓单贸易v2"
  13883. ],
  13884. "summary": "查询履约信息",
  13885. "parameters": [
  13886. {
  13887. "type": "integer",
  13888. "description": "用户id",
  13889. "name": "userid",
  13890. "in": "query",
  13891. "required": true
  13892. },
  13893. {
  13894. "type": "integer",
  13895. "description": "买卖方向 0-买 1-卖",
  13896. "name": "buyorsell",
  13897. "in": "query",
  13898. "required": true
  13899. },
  13900. {
  13901. "type": "string",
  13902. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  13903. "name": "status",
  13904. "in": "query"
  13905. },
  13906. {
  13907. "type": "string",
  13908. "description": "开始交易日(yyyymmdd)",
  13909. "name": "begindate",
  13910. "in": "query"
  13911. },
  13912. {
  13913. "type": "string",
  13914. "description": "结束交易日(yyyymmdd)",
  13915. "name": "enddate",
  13916. "in": "query"
  13917. }
  13918. ],
  13919. "responses": {
  13920. "200": {
  13921. "description": "OK",
  13922. "schema": {
  13923. "type": "array",
  13924. "items": {
  13925. "$ref": "#/definitions/models.WrPerformancePlan"
  13926. }
  13927. }
  13928. },
  13929. "500": {
  13930. "description": "Internal Server Error",
  13931. "schema": {
  13932. "$ref": "#/definitions/app.Response"
  13933. }
  13934. }
  13935. }
  13936. }
  13937. },
  13938. "/WrTrade2/QueryPermancePlanTmp": {
  13939. "get": {
  13940. "security": [
  13941. {
  13942. "ApiKeyAuth": []
  13943. }
  13944. ],
  13945. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  13946. "produces": [
  13947. "application/json"
  13948. ],
  13949. "tags": [
  13950. "仓单贸易v2"
  13951. ],
  13952. "summary": "查询履约模板",
  13953. "parameters": [
  13954. {
  13955. "type": "integer",
  13956. "description": "用户id",
  13957. "name": "userid",
  13958. "in": "query"
  13959. },
  13960. {
  13961. "type": "string",
  13962. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  13963. "name": "tmptype",
  13964. "in": "query"
  13965. },
  13966. {
  13967. "type": "integer",
  13968. "description": "是否包含公共模板(用户id为空的) 1-包含",
  13969. "name": "includepub",
  13970. "in": "query"
  13971. },
  13972. {
  13973. "type": "integer",
  13974. "description": "市场id(天津麦顿指定此参数,其它不用)",
  13975. "name": "marketid",
  13976. "in": "query"
  13977. }
  13978. ],
  13979. "responses": {
  13980. "200": {
  13981. "description": "OK",
  13982. "schema": {
  13983. "type": "array",
  13984. "items": {
  13985. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  13986. }
  13987. }
  13988. },
  13989. "500": {
  13990. "description": "Internal Server Error",
  13991. "schema": {
  13992. "$ref": "#/definitions/app.Response"
  13993. }
  13994. }
  13995. }
  13996. }
  13997. },
  13998. "/WrTrade2/QuerySiteColumnDetail": {
  13999. "get": {
  14000. "security": [
  14001. {
  14002. "ApiKeyAuth": []
  14003. }
  14004. ],
  14005. "produces": [
  14006. "application/json"
  14007. ],
  14008. "tags": [
  14009. "仓单贸易v2"
  14010. ],
  14011. "summary": "查询资讯",
  14012. "parameters": [
  14013. {
  14014. "type": "integer",
  14015. "description": "页码",
  14016. "name": "page",
  14017. "in": "query"
  14018. },
  14019. {
  14020. "type": "integer",
  14021. "description": "每页条数",
  14022. "name": "pagesize",
  14023. "in": "query"
  14024. },
  14025. {
  14026. "type": "integer",
  14027. "description": "所属栏目id",
  14028. "name": "columnid",
  14029. "in": "query"
  14030. }
  14031. ],
  14032. "responses": {
  14033. "200": {
  14034. "description": "OK",
  14035. "schema": {
  14036. "type": "array",
  14037. "items": {
  14038. "$ref": "#/definitions/models.WrSiteColumnDetail"
  14039. }
  14040. }
  14041. },
  14042. "500": {
  14043. "description": "Internal Server Error",
  14044. "schema": {
  14045. "$ref": "#/definitions/app.Response"
  14046. }
  14047. }
  14048. }
  14049. }
  14050. },
  14051. "/WrTrade2/QuerySpotGroupTradeSum": {
  14052. "get": {
  14053. "security": [
  14054. {
  14055. "ApiKeyAuth": []
  14056. }
  14057. ],
  14058. "produces": [
  14059. "application/json"
  14060. ],
  14061. "tags": [
  14062. "仓单贸易v2"
  14063. ],
  14064. "summary": "查询指数",
  14065. "responses": {
  14066. "200": {
  14067. "description": "OK",
  14068. "schema": {
  14069. "type": "array",
  14070. "items": {
  14071. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  14072. }
  14073. }
  14074. },
  14075. "500": {
  14076. "description": "Internal Server Error",
  14077. "schema": {
  14078. "$ref": "#/definitions/app.Response"
  14079. }
  14080. }
  14081. }
  14082. }
  14083. },
  14084. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  14085. "get": {
  14086. "security": [
  14087. {
  14088. "ApiKeyAuth": []
  14089. }
  14090. ],
  14091. "description": "查询的结果将会按日期 从小到大 排序",
  14092. "produces": [
  14093. "application/json"
  14094. ],
  14095. "tags": [
  14096. "仓单贸易v2"
  14097. ],
  14098. "summary": "查询指数详细(价格走势图)",
  14099. "parameters": [
  14100. {
  14101. "type": "integer",
  14102. "description": "现货商品id",
  14103. "name": "deliverygoodsid",
  14104. "in": "query",
  14105. "required": true
  14106. },
  14107. {
  14108. "type": "integer",
  14109. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  14110. "name": "lastnum",
  14111. "in": "query"
  14112. }
  14113. ],
  14114. "responses": {
  14115. "200": {
  14116. "description": "OK",
  14117. "schema": {
  14118. "type": "array",
  14119. "items": {
  14120. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  14121. }
  14122. }
  14123. },
  14124. "500": {
  14125. "description": "Internal Server Error",
  14126. "schema": {
  14127. "$ref": "#/definitions/app.Response"
  14128. }
  14129. }
  14130. }
  14131. }
  14132. },
  14133. "/WrTrade2/QueryWrAverageTradePrice": {
  14134. "get": {
  14135. "security": [
  14136. {
  14137. "ApiKeyAuth": []
  14138. }
  14139. ],
  14140. "produces": [
  14141. "application/json"
  14142. ],
  14143. "tags": [
  14144. "仓单贸易v2"
  14145. ],
  14146. "summary": "查询成交价(历史走势)",
  14147. "parameters": [
  14148. {
  14149. "type": "integer",
  14150. "description": "页码",
  14151. "name": "page",
  14152. "in": "query"
  14153. },
  14154. {
  14155. "type": "integer",
  14156. "description": "每页条数",
  14157. "name": "pagesize",
  14158. "in": "query"
  14159. },
  14160. {
  14161. "type": "integer",
  14162. "description": "0:仓单预售 1:仓单贸易",
  14163. "name": "haswr",
  14164. "in": "query",
  14165. "required": true
  14166. },
  14167. {
  14168. "type": "integer",
  14169. "description": "仓单要素id",
  14170. "name": "wrfactortypeid",
  14171. "in": "query",
  14172. "required": true
  14173. }
  14174. ],
  14175. "responses": {
  14176. "200": {
  14177. "description": "OK",
  14178. "schema": {
  14179. "type": "array",
  14180. "items": {
  14181. "$ref": "#/definitions/models.WrAverageTradePrice"
  14182. }
  14183. }
  14184. },
  14185. "500": {
  14186. "description": "Internal Server Error",
  14187. "schema": {
  14188. "$ref": "#/definitions/app.Response"
  14189. }
  14190. }
  14191. }
  14192. }
  14193. },
  14194. "/WrTrade2/QueryWrBrandAndYears": {
  14195. "get": {
  14196. "security": [
  14197. {
  14198. "ApiKeyAuth": []
  14199. }
  14200. ],
  14201. "produces": [
  14202. "application/json"
  14203. ],
  14204. "tags": [
  14205. "仓单贸易v2"
  14206. ],
  14207. "summary": "查询品牌和年份",
  14208. "responses": {
  14209. "200": {
  14210. "description": "OK",
  14211. "schema": {
  14212. "type": "array",
  14213. "items": {
  14214. "$ref": "#/definitions/models.WrBrandAndYears"
  14215. }
  14216. }
  14217. },
  14218. "500": {
  14219. "description": "Internal Server Error",
  14220. "schema": {
  14221. "$ref": "#/definitions/app.Response"
  14222. }
  14223. }
  14224. }
  14225. }
  14226. },
  14227. "/WrTrade2/QueryWrBsGoodsInfo": {
  14228. "get": {
  14229. "security": [
  14230. {
  14231. "ApiKeyAuth": []
  14232. }
  14233. ],
  14234. "description": "合约交易/买卖大厅/详情",
  14235. "produces": [
  14236. "application/json"
  14237. ],
  14238. "tags": [
  14239. "仓单贸易v2"
  14240. ],
  14241. "summary": "查询合约交易买卖大厅详情",
  14242. "parameters": [
  14243. {
  14244. "type": "integer",
  14245. "description": "商品id",
  14246. "name": "goodsid",
  14247. "in": "query",
  14248. "required": true
  14249. }
  14250. ],
  14251. "responses": {
  14252. "200": {
  14253. "description": "OK",
  14254. "schema": {
  14255. "type": "array",
  14256. "items": {
  14257. "$ref": "#/definitions/models.WrBsGoodsInfo"
  14258. }
  14259. }
  14260. },
  14261. "500": {
  14262. "description": "Internal Server Error",
  14263. "schema": {
  14264. "$ref": "#/definitions/app.Response"
  14265. }
  14266. }
  14267. }
  14268. }
  14269. },
  14270. "/WrTrade2/QueryWrBuybackDetail": {
  14271. "get": {
  14272. "security": [
  14273. {
  14274. "ApiKeyAuth": []
  14275. }
  14276. ],
  14277. "produces": [
  14278. "application/json"
  14279. ],
  14280. "tags": [
  14281. "仓单贸易v2"
  14282. ],
  14283. "summary": "查询仓单回购明细",
  14284. "parameters": [
  14285. {
  14286. "type": "integer",
  14287. "description": "融资合同id",
  14288. "name": "scfcontractid",
  14289. "in": "query"
  14290. }
  14291. ],
  14292. "responses": {
  14293. "200": {
  14294. "description": "OK",
  14295. "schema": {
  14296. "type": "array",
  14297. "items": {
  14298. "$ref": "#/definitions/models.WrBuybackDetail"
  14299. }
  14300. }
  14301. },
  14302. "500": {
  14303. "description": "Internal Server Error",
  14304. "schema": {
  14305. "$ref": "#/definitions/app.Response"
  14306. }
  14307. }
  14308. }
  14309. }
  14310. },
  14311. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  14312. "get": {
  14313. "security": [
  14314. {
  14315. "ApiKeyAuth": []
  14316. }
  14317. ],
  14318. "produces": [
  14319. "application/json"
  14320. ],
  14321. "tags": [
  14322. "仓单贸易v2"
  14323. ],
  14324. "summary": "查询固定广告配置",
  14325. "responses": {
  14326. "200": {
  14327. "description": "OK",
  14328. "schema": {
  14329. "type": "array",
  14330. "items": {
  14331. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  14332. }
  14333. }
  14334. },
  14335. "500": {
  14336. "description": "Internal Server Error",
  14337. "schema": {
  14338. "$ref": "#/definitions/app.Response"
  14339. }
  14340. }
  14341. }
  14342. }
  14343. },
  14344. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  14345. "get": {
  14346. "security": [
  14347. {
  14348. "ApiKeyAuth": []
  14349. }
  14350. ],
  14351. "produces": [
  14352. "application/json"
  14353. ],
  14354. "tags": [
  14355. "仓单贸易v2"
  14356. ],
  14357. "summary": "查询合约交收可点选仓单",
  14358. "parameters": [
  14359. {
  14360. "type": "integer",
  14361. "description": "资金账号",
  14362. "name": "accountid",
  14363. "in": "query",
  14364. "required": true
  14365. },
  14366. {
  14367. "type": "integer",
  14368. "description": "商品id",
  14369. "name": "goodsid",
  14370. "in": "query",
  14371. "required": true
  14372. }
  14373. ],
  14374. "responses": {
  14375. "200": {
  14376. "description": "OK",
  14377. "schema": {
  14378. "type": "array",
  14379. "items": {
  14380. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  14381. }
  14382. }
  14383. },
  14384. "500": {
  14385. "description": "Internal Server Error",
  14386. "schema": {
  14387. "$ref": "#/definitions/app.Response"
  14388. }
  14389. }
  14390. }
  14391. }
  14392. },
  14393. "/WrTrade2/QueryWrDeliveryDetail": {
  14394. "get": {
  14395. "security": [
  14396. {
  14397. "ApiKeyAuth": []
  14398. }
  14399. ],
  14400. "produces": [
  14401. "application/json"
  14402. ],
  14403. "tags": [
  14404. "仓单贸易v2"
  14405. ],
  14406. "summary": "查询交收",
  14407. "parameters": [
  14408. {
  14409. "type": "integer",
  14410. "description": "用户id",
  14411. "name": "userid",
  14412. "in": "query",
  14413. "required": true
  14414. },
  14415. {
  14416. "type": "integer",
  14417. "description": "资金账号id",
  14418. "name": "accountid",
  14419. "in": "query"
  14420. },
  14421. {
  14422. "type": "string",
  14423. "description": "开始交易日(yyyymmdd)",
  14424. "name": "begindate",
  14425. "in": "query"
  14426. },
  14427. {
  14428. "type": "string",
  14429. "description": "结束交易日(yyyymmdd)",
  14430. "name": "enddate",
  14431. "in": "query"
  14432. }
  14433. ],
  14434. "responses": {
  14435. "200": {
  14436. "description": "OK",
  14437. "schema": {
  14438. "type": "array",
  14439. "items": {
  14440. "$ref": "#/definitions/models.WrDeliveryDetail"
  14441. }
  14442. }
  14443. },
  14444. "500": {
  14445. "description": "Internal Server Error",
  14446. "schema": {
  14447. "$ref": "#/definitions/app.Response"
  14448. }
  14449. }
  14450. }
  14451. }
  14452. },
  14453. "/WrTrade2/QueryWrDraftUserInfo": {
  14454. "get": {
  14455. "security": [
  14456. {
  14457. "ApiKeyAuth": []
  14458. }
  14459. ],
  14460. "produces": [
  14461. "application/json"
  14462. ],
  14463. "tags": [
  14464. "仓单贸易v2"
  14465. ],
  14466. "summary": "查询实名认证信息",
  14467. "parameters": [
  14468. {
  14469. "type": "integer",
  14470. "description": "用户ID",
  14471. "name": "userid",
  14472. "in": "query",
  14473. "required": true
  14474. },
  14475. {
  14476. "type": "integer",
  14477. "description": "用户状态 1:正常 2:注销",
  14478. "name": "userstatus",
  14479. "in": "query"
  14480. }
  14481. ],
  14482. "responses": {
  14483. "200": {
  14484. "description": "OK",
  14485. "schema": {
  14486. "type": "array",
  14487. "items": {
  14488. "$ref": "#/definitions/models.WrDraftUserInfo"
  14489. }
  14490. }
  14491. },
  14492. "500": {
  14493. "description": "Internal Server Error",
  14494. "schema": {
  14495. "$ref": "#/definitions/app.Response"
  14496. }
  14497. }
  14498. }
  14499. }
  14500. },
  14501. "/WrTrade2/QueryWrFactorTypeInfo": {
  14502. "get": {
  14503. "security": [
  14504. {
  14505. "ApiKeyAuth": []
  14506. }
  14507. ],
  14508. "produces": [
  14509. "application/json"
  14510. ],
  14511. "tags": [
  14512. "仓单贸易v2"
  14513. ],
  14514. "summary": "查询仓单要素详细信息",
  14515. "parameters": [
  14516. {
  14517. "type": "integer",
  14518. "description": "仓单要素id",
  14519. "name": "wrfactortypeid",
  14520. "in": "query",
  14521. "required": true
  14522. }
  14523. ],
  14524. "responses": {
  14525. "200": {
  14526. "description": "OK",
  14527. "schema": {
  14528. "type": "array",
  14529. "items": {
  14530. "$ref": "#/definitions/models.WrFactorTypeInfo"
  14531. }
  14532. }
  14533. },
  14534. "500": {
  14535. "description": "Internal Server Error",
  14536. "schema": {
  14537. "$ref": "#/definitions/app.Response"
  14538. }
  14539. }
  14540. }
  14541. }
  14542. },
  14543. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  14544. "get": {
  14545. "security": [
  14546. {
  14547. "ApiKeyAuth": []
  14548. }
  14549. ],
  14550. "produces": [
  14551. "application/json"
  14552. ],
  14553. "tags": [
  14554. "仓单贸易v2"
  14555. ],
  14556. "summary": "查询仓单要素详细信息列表项",
  14557. "parameters": [
  14558. {
  14559. "type": "integer",
  14560. "description": "仓单要素id",
  14561. "name": "wrfactortypeid",
  14562. "in": "query",
  14563. "required": true
  14564. }
  14565. ],
  14566. "responses": {
  14567. "200": {
  14568. "description": "OK",
  14569. "schema": {
  14570. "type": "array",
  14571. "items": {
  14572. "$ref": "#/definitions/models.WrTypeItem"
  14573. }
  14574. }
  14575. },
  14576. "500": {
  14577. "description": "Internal Server Error",
  14578. "schema": {
  14579. "$ref": "#/definitions/app.Response"
  14580. }
  14581. }
  14582. }
  14583. }
  14584. },
  14585. "/WrTrade2/QueryWrFinanceBuyApply": {
  14586. "get": {
  14587. "security": [
  14588. {
  14589. "ApiKeyAuth": []
  14590. }
  14591. ],
  14592. "description": "页面 融资信息+ / 申请单",
  14593. "produces": [
  14594. "application/json"
  14595. ],
  14596. "tags": [
  14597. "仓单贸易v2"
  14598. ],
  14599. "summary": "查询融资购买申请",
  14600. "parameters": [
  14601. {
  14602. "type": "integer",
  14603. "description": "用户id",
  14604. "name": "userid",
  14605. "in": "query",
  14606. "required": true
  14607. }
  14608. ],
  14609. "responses": {
  14610. "200": {
  14611. "description": "OK",
  14612. "schema": {
  14613. "type": "array",
  14614. "items": {
  14615. "$ref": "#/definitions/models.WrFinanceBuyApply"
  14616. }
  14617. }
  14618. },
  14619. "500": {
  14620. "description": "Internal Server Error",
  14621. "schema": {
  14622. "$ref": "#/definitions/app.Response"
  14623. }
  14624. }
  14625. }
  14626. }
  14627. },
  14628. "/WrTrade2/QueryWrFriendApply": {
  14629. "get": {
  14630. "security": [
  14631. {
  14632. "ApiKeyAuth": []
  14633. }
  14634. ],
  14635. "produces": [
  14636. "application/json"
  14637. ],
  14638. "tags": [
  14639. "仓单贸易v2"
  14640. ],
  14641. "summary": "查询好友申请记录",
  14642. "parameters": [
  14643. {
  14644. "type": "integer",
  14645. "description": "用户id",
  14646. "name": "userid",
  14647. "in": "query",
  14648. "required": true
  14649. }
  14650. ],
  14651. "responses": {
  14652. "200": {
  14653. "description": "OK",
  14654. "schema": {
  14655. "type": "array",
  14656. "items": {
  14657. "$ref": "#/definitions/models.WrFriendApply"
  14658. }
  14659. }
  14660. },
  14661. "500": {
  14662. "description": "Internal Server Error",
  14663. "schema": {
  14664. "$ref": "#/definitions/app.Response"
  14665. }
  14666. }
  14667. }
  14668. }
  14669. },
  14670. "/WrTrade2/QueryWrGoodsInfo": {
  14671. "get": {
  14672. "security": [
  14673. {
  14674. "ApiKeyAuth": []
  14675. }
  14676. ],
  14677. "produces": [
  14678. "application/json"
  14679. ],
  14680. "tags": [
  14681. "仓单贸易v2"
  14682. ],
  14683. "summary": "查询仓单商品信息",
  14684. "parameters": [
  14685. {
  14686. "type": "integer",
  14687. "description": "仓单贸易市场id",
  14688. "name": "marketid",
  14689. "in": "query"
  14690. },
  14691. {
  14692. "type": "integer",
  14693. "description": "0:仓单预售 1:仓单贸易",
  14694. "name": "haswr",
  14695. "in": "query",
  14696. "required": true
  14697. },
  14698. {
  14699. "type": "integer",
  14700. "description": "仓单要素id",
  14701. "name": "wrfactortypeid",
  14702. "in": "query",
  14703. "required": true
  14704. },
  14705. {
  14706. "type": "integer",
  14707. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  14708. "name": "tmplateid",
  14709. "in": "query"
  14710. }
  14711. ],
  14712. "responses": {
  14713. "200": {
  14714. "description": "OK",
  14715. "schema": {
  14716. "type": "array",
  14717. "items": {
  14718. "$ref": "#/definitions/models.WrGoodsInfo"
  14719. }
  14720. }
  14721. },
  14722. "500": {
  14723. "description": "Internal Server Error",
  14724. "schema": {
  14725. "$ref": "#/definitions/app.Response"
  14726. }
  14727. }
  14728. }
  14729. }
  14730. },
  14731. "/WrTrade2/QueryWrMarketTradeConfig": {
  14732. "get": {
  14733. "security": [
  14734. {
  14735. "ApiKeyAuth": []
  14736. }
  14737. ],
  14738. "produces": [
  14739. "application/json"
  14740. ],
  14741. "tags": [
  14742. "仓单贸易v2"
  14743. ],
  14744. "summary": "查询市场交易参数配置",
  14745. "parameters": [
  14746. {
  14747. "type": "integer",
  14748. "description": "市场id",
  14749. "name": "marketid",
  14750. "in": "query"
  14751. }
  14752. ],
  14753. "responses": {
  14754. "200": {
  14755. "description": "OK",
  14756. "schema": {
  14757. "type": "array",
  14758. "items": {
  14759. "$ref": "#/definitions/models.WrMarketTradeConfig"
  14760. }
  14761. }
  14762. },
  14763. "500": {
  14764. "description": "Internal Server Error",
  14765. "schema": {
  14766. "$ref": "#/definitions/app.Response"
  14767. }
  14768. }
  14769. }
  14770. }
  14771. },
  14772. "/WrTrade2/QueryWrOrderDetail": {
  14773. "get": {
  14774. "security": [
  14775. {
  14776. "ApiKeyAuth": []
  14777. }
  14778. ],
  14779. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  14780. "produces": [
  14781. "application/json"
  14782. ],
  14783. "tags": [
  14784. "仓单贸易v2"
  14785. ],
  14786. "summary": "查询仓单委托单",
  14787. "parameters": [
  14788. {
  14789. "type": "integer",
  14790. "description": "页码",
  14791. "name": "page",
  14792. "in": "query"
  14793. },
  14794. {
  14795. "type": "integer",
  14796. "description": "每页条数",
  14797. "name": "pagesize",
  14798. "in": "query"
  14799. },
  14800. {
  14801. "type": "integer",
  14802. "description": "用户id",
  14803. "name": "userid",
  14804. "in": "query",
  14805. "required": true
  14806. },
  14807. {
  14808. "type": "integer",
  14809. "description": "仓单贸易市场id",
  14810. "name": "marketid",
  14811. "in": "query"
  14812. },
  14813. {
  14814. "type": "integer",
  14815. "description": "0:仓单预售 1:仓单贸易",
  14816. "name": "haswr",
  14817. "in": "query",
  14818. "required": true
  14819. },
  14820. {
  14821. "type": "integer",
  14822. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  14823. "name": "bcancel",
  14824. "in": "query"
  14825. },
  14826. {
  14827. "type": "integer",
  14828. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  14829. "name": "wrtradetype",
  14830. "in": "query"
  14831. },
  14832. {
  14833. "type": "string",
  14834. "description": "开始交易日(yyyymmdd)",
  14835. "name": "begindate",
  14836. "in": "query"
  14837. },
  14838. {
  14839. "type": "string",
  14840. "description": "结束交易日(yyyymmdd)",
  14841. "name": "enddate",
  14842. "in": "query"
  14843. }
  14844. ],
  14845. "responses": {
  14846. "200": {
  14847. "description": "OK",
  14848. "schema": {
  14849. "type": "array",
  14850. "items": {
  14851. "$ref": "#/definitions/models.WrOrderDetail"
  14852. }
  14853. }
  14854. },
  14855. "500": {
  14856. "description": "Internal Server Error",
  14857. "schema": {
  14858. "$ref": "#/definitions/app.Response"
  14859. }
  14860. }
  14861. }
  14862. }
  14863. },
  14864. "/WrTrade2/QueryWrOutInApply": {
  14865. "get": {
  14866. "security": [
  14867. {
  14868. "ApiKeyAuth": []
  14869. }
  14870. ],
  14871. "produces": [
  14872. "application/json"
  14873. ],
  14874. "tags": [
  14875. "仓单贸易v2"
  14876. ],
  14877. "summary": "查询提货申请",
  14878. "parameters": [
  14879. {
  14880. "type": "integer",
  14881. "description": "页码",
  14882. "name": "page",
  14883. "in": "query"
  14884. },
  14885. {
  14886. "type": "integer",
  14887. "description": "每页条数",
  14888. "name": "pagesize",
  14889. "in": "query"
  14890. },
  14891. {
  14892. "type": "integer",
  14893. "description": "用户id",
  14894. "name": "userid",
  14895. "in": "query",
  14896. "required": true
  14897. },
  14898. {
  14899. "type": "string",
  14900. "description": "开始交易日(yyyymmdd)",
  14901. "name": "begindate",
  14902. "in": "query"
  14903. },
  14904. {
  14905. "type": "string",
  14906. "description": "结束交易日(yyyymmdd)",
  14907. "name": "enddate",
  14908. "in": "query"
  14909. }
  14910. ],
  14911. "responses": {
  14912. "200": {
  14913. "description": "OK",
  14914. "schema": {
  14915. "type": "array",
  14916. "items": {
  14917. "$ref": "#/definitions/models.WrOutInApply"
  14918. }
  14919. }
  14920. },
  14921. "500": {
  14922. "description": "Internal Server Error",
  14923. "schema": {
  14924. "$ref": "#/definitions/app.Response"
  14925. }
  14926. }
  14927. }
  14928. }
  14929. },
  14930. "/WrTrade2/QueryWrPerformancePlanStep": {
  14931. "get": {
  14932. "security": [
  14933. {
  14934. "ApiKeyAuth": []
  14935. }
  14936. ],
  14937. "produces": [
  14938. "application/json"
  14939. ],
  14940. "tags": [
  14941. "仓单贸易v2"
  14942. ],
  14943. "summary": "查询履约信息详情",
  14944. "parameters": [
  14945. {
  14946. "type": "integer",
  14947. "description": "履约计划id(performanceplanid)",
  14948. "name": "planid",
  14949. "in": "query",
  14950. "required": true
  14951. },
  14952. {
  14953. "type": "integer",
  14954. "description": "当前步骤id",
  14955. "name": "curstepid",
  14956. "in": "query"
  14957. }
  14958. ],
  14959. "responses": {
  14960. "200": {
  14961. "description": "OK",
  14962. "schema": {
  14963. "type": "array",
  14964. "items": {
  14965. "$ref": "#/definitions/models.WrPerformancePlanStep"
  14966. }
  14967. }
  14968. },
  14969. "500": {
  14970. "description": "Internal Server Error",
  14971. "schema": {
  14972. "$ref": "#/definitions/app.Response"
  14973. }
  14974. }
  14975. }
  14976. }
  14977. },
  14978. "/WrTrade2/QueryWrPerformanceStepType": {
  14979. "get": {
  14980. "security": [
  14981. {
  14982. "ApiKeyAuth": []
  14983. }
  14984. ],
  14985. "produces": [
  14986. "application/json"
  14987. ],
  14988. "tags": [
  14989. "仓单贸易v2"
  14990. ],
  14991. "summary": "查询履约步骤枚举",
  14992. "responses": {
  14993. "200": {
  14994. "description": "OK",
  14995. "schema": {
  14996. "type": "array",
  14997. "items": {
  14998. "$ref": "#/definitions/models.WrPerformanceStepType"
  14999. }
  15000. }
  15001. },
  15002. "500": {
  15003. "description": "Internal Server Error",
  15004. "schema": {
  15005. "$ref": "#/definitions/app.Response"
  15006. }
  15007. }
  15008. }
  15009. }
  15010. },
  15011. "/WrTrade2/QueryWrPosition": {
  15012. "get": {
  15013. "security": [
  15014. {
  15015. "ApiKeyAuth": []
  15016. }
  15017. ],
  15018. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  15019. "produces": [
  15020. "application/json"
  15021. ],
  15022. "tags": [
  15023. "仓单贸易v2"
  15024. ],
  15025. "summary": "查询现货(预售)仓单持仓",
  15026. "parameters": [
  15027. {
  15028. "type": "integer",
  15029. "description": "用户id",
  15030. "name": "userid",
  15031. "in": "query",
  15032. "required": true
  15033. },
  15034. {
  15035. "type": "integer",
  15036. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  15037. "name": "querytype",
  15038. "in": "query",
  15039. "required": true
  15040. },
  15041. {
  15042. "type": "integer",
  15043. "description": "0:仓单预售 1:仓单贸易",
  15044. "name": "haswr",
  15045. "in": "query",
  15046. "required": true
  15047. },
  15048. {
  15049. "type": "string",
  15050. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15051. "name": "dgitemname",
  15052. "in": "query"
  15053. },
  15054. {
  15055. "type": "integer",
  15056. "description": "仓库id(筛选条件)",
  15057. "name": "warehouseid",
  15058. "in": "query"
  15059. },
  15060. {
  15061. "type": "integer",
  15062. "description": "品种id",
  15063. "name": "deliverygoodsid",
  15064. "in": "query"
  15065. },
  15066. {
  15067. "type": "integer",
  15068. "description": "品类id",
  15069. "name": "wrstandardid",
  15070. "in": "query"
  15071. }
  15072. ],
  15073. "responses": {
  15074. "200": {
  15075. "description": "OK",
  15076. "schema": {
  15077. "type": "array",
  15078. "items": {
  15079. "$ref": "#/definitions/models.WrPosition"
  15080. }
  15081. }
  15082. },
  15083. "500": {
  15084. "description": "Internal Server Error",
  15085. "schema": {
  15086. "$ref": "#/definitions/app.Response"
  15087. }
  15088. }
  15089. }
  15090. }
  15091. },
  15092. "/WrTrade2/QueryWrPreSaleInfo": {
  15093. "get": {
  15094. "security": [
  15095. {
  15096. "ApiKeyAuth": []
  15097. }
  15098. ],
  15099. "produces": [
  15100. "application/json"
  15101. ],
  15102. "tags": [
  15103. "仓单贸易v2"
  15104. ],
  15105. "summary": "查询新品发布",
  15106. "parameters": [
  15107. {
  15108. "type": "integer",
  15109. "description": "市场id",
  15110. "name": "marketid",
  15111. "in": "query"
  15112. },
  15113. {
  15114. "type": "string",
  15115. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  15116. "name": "presalestatus",
  15117. "in": "query"
  15118. },
  15119. {
  15120. "type": "integer",
  15121. "description": "摇号标识 - 0:未摇号 1:已摇号",
  15122. "name": "lotteryflag",
  15123. "in": "query"
  15124. },
  15125. {
  15126. "type": "integer",
  15127. "description": "最近多少条记录(按创建时间倒序)",
  15128. "name": "lastnum",
  15129. "in": "query"
  15130. }
  15131. ],
  15132. "responses": {
  15133. "200": {
  15134. "description": "OK",
  15135. "schema": {
  15136. "type": "array",
  15137. "items": {
  15138. "$ref": "#/definitions/models.WrPreSaleInfo"
  15139. }
  15140. }
  15141. },
  15142. "500": {
  15143. "description": "Internal Server Error",
  15144. "schema": {
  15145. "$ref": "#/definitions/app.Response"
  15146. }
  15147. }
  15148. }
  15149. }
  15150. },
  15151. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  15152. "get": {
  15153. "security": [
  15154. {
  15155. "ApiKeyAuth": []
  15156. }
  15157. ],
  15158. "produces": [
  15159. "application/json"
  15160. ],
  15161. "tags": [
  15162. "仓单贸易v2"
  15163. ],
  15164. "summary": "查询价格走势",
  15165. "parameters": [
  15166. {
  15167. "type": "integer",
  15168. "description": "市场id",
  15169. "name": "marketid",
  15170. "in": "query",
  15171. "required": true
  15172. },
  15173. {
  15174. "type": "integer",
  15175. "description": "现货商品id",
  15176. "name": "wrstandardid",
  15177. "in": "query",
  15178. "required": true
  15179. },
  15180. {
  15181. "type": "string",
  15182. "description": "开始交易日(yyyymmdd)",
  15183. "name": "begindate",
  15184. "in": "query"
  15185. },
  15186. {
  15187. "type": "string",
  15188. "description": "结束交易日(yyyymmdd)",
  15189. "name": "enddate",
  15190. "in": "query"
  15191. },
  15192. {
  15193. "type": "integer",
  15194. "description": "最近多少条记录(按交易日倒序)",
  15195. "name": "lastnum",
  15196. "in": "query"
  15197. },
  15198. {
  15199. "type": "boolean",
  15200. "description": "是否今日",
  15201. "name": "istoday",
  15202. "in": "query"
  15203. }
  15204. ],
  15205. "responses": {
  15206. "200": {
  15207. "description": "OK",
  15208. "schema": {
  15209. "type": "array",
  15210. "items": {
  15211. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  15212. }
  15213. }
  15214. },
  15215. "500": {
  15216. "description": "Internal Server Error",
  15217. "schema": {
  15218. "$ref": "#/definitions/app.Response"
  15219. }
  15220. }
  15221. }
  15222. }
  15223. },
  15224. "/WrTrade2/QueryWrScfContract": {
  15225. "get": {
  15226. "security": [
  15227. {
  15228. "ApiKeyAuth": []
  15229. }
  15230. ],
  15231. "produces": [
  15232. "application/json"
  15233. ],
  15234. "tags": [
  15235. "仓单贸易v2"
  15236. ],
  15237. "summary": "查询仓单贸易融资合同",
  15238. "parameters": [
  15239. {
  15240. "type": "integer",
  15241. "description": "用户id",
  15242. "name": "userid",
  15243. "in": "query",
  15244. "required": true
  15245. },
  15246. {
  15247. "type": "integer",
  15248. "description": "融资合同id",
  15249. "name": "scfcontractid",
  15250. "in": "query"
  15251. }
  15252. ],
  15253. "responses": {
  15254. "200": {
  15255. "description": "OK",
  15256. "schema": {
  15257. "type": "array",
  15258. "items": {
  15259. "$ref": "#/definitions/models.WrScfContract"
  15260. }
  15261. }
  15262. },
  15263. "500": {
  15264. "description": "Internal Server Error",
  15265. "schema": {
  15266. "$ref": "#/definitions/app.Response"
  15267. }
  15268. }
  15269. }
  15270. }
  15271. },
  15272. "/WrTrade2/QueryWrScfContractInterest": {
  15273. "get": {
  15274. "security": [
  15275. {
  15276. "ApiKeyAuth": []
  15277. }
  15278. ],
  15279. "produces": [
  15280. "application/json"
  15281. ],
  15282. "tags": [
  15283. "仓单贸易v2"
  15284. ],
  15285. "summary": "查询融资合同费用明细",
  15286. "parameters": [
  15287. {
  15288. "type": "integer",
  15289. "description": "融资合同id",
  15290. "name": "scfcontractid",
  15291. "in": "query"
  15292. }
  15293. ],
  15294. "responses": {
  15295. "200": {
  15296. "description": "OK",
  15297. "schema": {
  15298. "type": "array",
  15299. "items": {
  15300. "$ref": "#/definitions/models.WrScfContractInterest"
  15301. }
  15302. }
  15303. },
  15304. "500": {
  15305. "description": "Internal Server Error",
  15306. "schema": {
  15307. "$ref": "#/definitions/app.Response"
  15308. }
  15309. }
  15310. }
  15311. }
  15312. },
  15313. "/WrTrade2/QueryWrSearchUser": {
  15314. "get": {
  15315. "security": [
  15316. {
  15317. "ApiKeyAuth": []
  15318. }
  15319. ],
  15320. "produces": [
  15321. "application/json"
  15322. ],
  15323. "tags": [
  15324. "仓单贸易v2"
  15325. ],
  15326. "summary": "查询用户",
  15327. "parameters": [
  15328. {
  15329. "type": "string",
  15330. "description": "用户名称(模糊匹配)",
  15331. "name": "username",
  15332. "in": "query",
  15333. "required": true
  15334. }
  15335. ],
  15336. "responses": {
  15337. "200": {
  15338. "description": "OK",
  15339. "schema": {
  15340. "type": "array",
  15341. "items": {
  15342. "$ref": "#/definitions/models.WrSearchUser"
  15343. }
  15344. }
  15345. },
  15346. "500": {
  15347. "description": "Internal Server Error",
  15348. "schema": {
  15349. "$ref": "#/definitions/app.Response"
  15350. }
  15351. }
  15352. }
  15353. }
  15354. },
  15355. "/WrTrade2/QueryWrSpecialMatchOrder": {
  15356. "get": {
  15357. "security": [
  15358. {
  15359. "ApiKeyAuth": []
  15360. }
  15361. ],
  15362. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  15363. "produces": [
  15364. "application/json"
  15365. ],
  15366. "tags": [
  15367. "仓单贸易v2"
  15368. ],
  15369. "summary": "查询指定成交",
  15370. "parameters": [
  15371. {
  15372. "type": "integer",
  15373. "description": "页码",
  15374. "name": "page",
  15375. "in": "query"
  15376. },
  15377. {
  15378. "type": "integer",
  15379. "description": "每页条数",
  15380. "name": "pagesize",
  15381. "in": "query"
  15382. },
  15383. {
  15384. "type": "integer",
  15385. "description": "用户id",
  15386. "name": "userid",
  15387. "in": "query",
  15388. "required": true
  15389. },
  15390. {
  15391. "type": "integer",
  15392. "description": "仓单贸易市场id",
  15393. "name": "marketid",
  15394. "in": "query"
  15395. },
  15396. {
  15397. "type": "integer",
  15398. "description": "0:仓单预售 1:仓单贸易",
  15399. "name": "haswr",
  15400. "in": "query",
  15401. "required": true
  15402. },
  15403. {
  15404. "type": "integer",
  15405. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  15406. "name": "isspecified",
  15407. "in": "query"
  15408. }
  15409. ],
  15410. "responses": {
  15411. "200": {
  15412. "description": "OK",
  15413. "schema": {
  15414. "type": "array",
  15415. "items": {
  15416. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  15417. }
  15418. }
  15419. },
  15420. "500": {
  15421. "description": "Internal Server Error",
  15422. "schema": {
  15423. "$ref": "#/definitions/app.Response"
  15424. }
  15425. }
  15426. }
  15427. }
  15428. },
  15429. "/WrTrade2/QueryWrStandardFactoryItem": {
  15430. "get": {
  15431. "security": [
  15432. {
  15433. "ApiKeyAuth": []
  15434. }
  15435. ],
  15436. "produces": [
  15437. "application/json"
  15438. ],
  15439. "tags": [
  15440. "仓单贸易v2"
  15441. ],
  15442. "summary": "查询品类要素定义项",
  15443. "parameters": [
  15444. {
  15445. "type": "integer",
  15446. "description": "品类id",
  15447. "name": "wrstandardid",
  15448. "in": "query",
  15449. "required": true
  15450. }
  15451. ],
  15452. "responses": {
  15453. "200": {
  15454. "description": "OK",
  15455. "schema": {
  15456. "type": "array",
  15457. "items": {
  15458. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  15459. }
  15460. }
  15461. },
  15462. "500": {
  15463. "description": "Internal Server Error",
  15464. "schema": {
  15465. "$ref": "#/definitions/app.Response"
  15466. }
  15467. }
  15468. }
  15469. }
  15470. },
  15471. "/WrTrade2/QueryWrTradeBargainApply": {
  15472. "get": {
  15473. "security": [
  15474. {
  15475. "ApiKeyAuth": []
  15476. }
  15477. ],
  15478. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  15479. "produces": [
  15480. "application/json"
  15481. ],
  15482. "tags": [
  15483. "仓单贸易v2"
  15484. ],
  15485. "summary": "查询议价单",
  15486. "parameters": [
  15487. {
  15488. "type": "integer",
  15489. "description": "议价人id(摘牌方)",
  15490. "name": "userid",
  15491. "in": "query"
  15492. },
  15493. {
  15494. "type": "integer",
  15495. "description": "挂牌方id(查对方议价时,填写此项)",
  15496. "name": "matchuserid",
  15497. "in": "query"
  15498. },
  15499. {
  15500. "type": "integer",
  15501. "description": "关联委托单id",
  15502. "name": "wrtradeorderid",
  15503. "in": "query"
  15504. },
  15505. {
  15506. "type": "integer",
  15507. "description": "0:仓单预售 1:仓单贸易",
  15508. "name": "haswr",
  15509. "in": "query",
  15510. "required": true
  15511. },
  15512. {
  15513. "type": "string",
  15514. "description": "开始交易日(yyyymmdd)",
  15515. "name": "begindate",
  15516. "in": "query"
  15517. },
  15518. {
  15519. "type": "string",
  15520. "description": "结束交易日(yyyymmdd)",
  15521. "name": "enddate",
  15522. "in": "query"
  15523. }
  15524. ],
  15525. "responses": {
  15526. "200": {
  15527. "description": "OK",
  15528. "schema": {
  15529. "type": "array",
  15530. "items": {
  15531. "$ref": "#/definitions/models.WRTradeBargainApply"
  15532. }
  15533. }
  15534. },
  15535. "500": {
  15536. "description": "Internal Server Error",
  15537. "schema": {
  15538. "$ref": "#/definitions/app.Response"
  15539. }
  15540. }
  15541. }
  15542. }
  15543. },
  15544. "/WrTrade2/QueryWrTradeDetail": {
  15545. "get": {
  15546. "security": [
  15547. {
  15548. "ApiKeyAuth": []
  15549. }
  15550. ],
  15551. "produces": [
  15552. "application/json"
  15553. ],
  15554. "tags": [
  15555. "仓单贸易v2"
  15556. ],
  15557. "summary": "查询仓单成交明细",
  15558. "parameters": [
  15559. {
  15560. "type": "integer",
  15561. "description": "页码",
  15562. "name": "page",
  15563. "in": "query"
  15564. },
  15565. {
  15566. "type": "integer",
  15567. "description": "每页条数",
  15568. "name": "pagesize",
  15569. "in": "query"
  15570. },
  15571. {
  15572. "type": "integer",
  15573. "description": "用户id",
  15574. "name": "userid",
  15575. "in": "query",
  15576. "required": true
  15577. },
  15578. {
  15579. "type": "integer",
  15580. "description": "仓单贸易市场id",
  15581. "name": "marketid",
  15582. "in": "query"
  15583. },
  15584. {
  15585. "type": "integer",
  15586. "description": "0:仓单预售 1:仓单贸易",
  15587. "name": "haswr",
  15588. "in": "query",
  15589. "required": true
  15590. },
  15591. {
  15592. "type": "string",
  15593. "description": "开始交易日(yyyymmdd)",
  15594. "name": "begindate",
  15595. "in": "query"
  15596. },
  15597. {
  15598. "type": "string",
  15599. "description": "结束交易日(yyyymmdd)",
  15600. "name": "enddate",
  15601. "in": "query"
  15602. }
  15603. ],
  15604. "responses": {
  15605. "200": {
  15606. "description": "OK",
  15607. "schema": {
  15608. "type": "array",
  15609. "items": {
  15610. "$ref": "#/definitions/models.WrTradeDetail"
  15611. }
  15612. }
  15613. },
  15614. "500": {
  15615. "description": "Internal Server Error",
  15616. "schema": {
  15617. "$ref": "#/definitions/app.Response"
  15618. }
  15619. }
  15620. }
  15621. }
  15622. },
  15623. "/WrTrade2/QueryWrTradeOrderDetail": {
  15624. "get": {
  15625. "security": [
  15626. {
  15627. "ApiKeyAuth": []
  15628. }
  15629. ],
  15630. "produces": [
  15631. "application/json"
  15632. ],
  15633. "tags": [
  15634. "仓单贸易v2"
  15635. ],
  15636. "summary": "查询合约交易买卖大厅",
  15637. "parameters": [
  15638. {
  15639. "type": "integer",
  15640. "description": "页码",
  15641. "name": "page",
  15642. "in": "query"
  15643. },
  15644. {
  15645. "type": "integer",
  15646. "description": "每页条数",
  15647. "name": "pagesize",
  15648. "in": "query"
  15649. },
  15650. {
  15651. "type": "integer",
  15652. "description": "商品id",
  15653. "name": "goodsid",
  15654. "in": "query",
  15655. "required": true
  15656. },
  15657. {
  15658. "type": "integer",
  15659. "description": "买卖方向 0-买 1-卖",
  15660. "name": "buyorsell",
  15661. "in": "query",
  15662. "required": true
  15663. }
  15664. ],
  15665. "responses": {
  15666. "200": {
  15667. "description": "OK",
  15668. "schema": {
  15669. "type": "array",
  15670. "items": {
  15671. "$ref": "#/definitions/models.WrTradeOrderDetail"
  15672. }
  15673. }
  15674. },
  15675. "500": {
  15676. "description": "Internal Server Error",
  15677. "schema": {
  15678. "$ref": "#/definitions/app.Response"
  15679. }
  15680. }
  15681. }
  15682. }
  15683. },
  15684. "/WrTrade2/QueryWrTradeQuote": {
  15685. "get": {
  15686. "security": [
  15687. {
  15688. "ApiKeyAuth": []
  15689. }
  15690. ],
  15691. "produces": [
  15692. "application/json"
  15693. ],
  15694. "tags": [
  15695. "仓单贸易v2"
  15696. ],
  15697. "summary": "查询仓单贸易成交行情",
  15698. "parameters": [
  15699. {
  15700. "type": "integer",
  15701. "description": "现货商品id",
  15702. "name": "wrstandardid",
  15703. "in": "query",
  15704. "required": true
  15705. },
  15706. {
  15707. "type": "string",
  15708. "description": "开始日期(yyyymmdd)",
  15709. "name": "begindate",
  15710. "in": "query",
  15711. "required": true
  15712. },
  15713. {
  15714. "type": "string",
  15715. "description": "结束日期(yyyymmdd)",
  15716. "name": "enddate",
  15717. "in": "query",
  15718. "required": true
  15719. },
  15720. {
  15721. "type": "integer",
  15722. "description": "市场id",
  15723. "name": "marketid",
  15724. "in": "query"
  15725. }
  15726. ],
  15727. "responses": {
  15728. "200": {
  15729. "description": "OK",
  15730. "schema": {
  15731. "type": "array",
  15732. "items": {
  15733. "$ref": "#/definitions/models.Wrtradetradequote"
  15734. }
  15735. }
  15736. },
  15737. "500": {
  15738. "description": "Internal Server Error",
  15739. "schema": {
  15740. "$ref": "#/definitions/app.Response"
  15741. }
  15742. }
  15743. }
  15744. }
  15745. },
  15746. "/WrTrade2/QueryWrUserFriend": {
  15747. "get": {
  15748. "security": [
  15749. {
  15750. "ApiKeyAuth": []
  15751. }
  15752. ],
  15753. "produces": [
  15754. "application/json"
  15755. ],
  15756. "tags": [
  15757. "仓单贸易v2"
  15758. ],
  15759. "summary": "查询我的朋友",
  15760. "parameters": [
  15761. {
  15762. "type": "integer",
  15763. "description": "用户id",
  15764. "name": "userid",
  15765. "in": "query",
  15766. "required": true
  15767. },
  15768. {
  15769. "type": "integer",
  15770. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  15771. "name": "newuserid",
  15772. "in": "query"
  15773. }
  15774. ],
  15775. "responses": {
  15776. "200": {
  15777. "description": "OK",
  15778. "schema": {
  15779. "type": "array",
  15780. "items": {
  15781. "$ref": "#/definitions/models.WrUserFriend"
  15782. }
  15783. }
  15784. },
  15785. "500": {
  15786. "description": "Internal Server Error",
  15787. "schema": {
  15788. "$ref": "#/definitions/app.Response"
  15789. }
  15790. }
  15791. }
  15792. }
  15793. },
  15794. "/WrTrade2/QueryWrUserReceiptInfo": {
  15795. "get": {
  15796. "security": [
  15797. {
  15798. "ApiKeyAuth": []
  15799. }
  15800. ],
  15801. "produces": [
  15802. "application/json"
  15803. ],
  15804. "tags": [
  15805. "仓单贸易v2"
  15806. ],
  15807. "summary": "查询发票信息",
  15808. "parameters": [
  15809. {
  15810. "type": "integer",
  15811. "description": "用户id",
  15812. "name": "userid",
  15813. "in": "query"
  15814. },
  15815. {
  15816. "type": "integer",
  15817. "description": "发票类型 - 1:个人 2:企业",
  15818. "name": "receipttype",
  15819. "in": "query"
  15820. }
  15821. ],
  15822. "responses": {
  15823. "200": {
  15824. "description": "OK",
  15825. "schema": {
  15826. "type": "array",
  15827. "items": {
  15828. "$ref": "#/definitions/models.WrUserReceiptInfo"
  15829. }
  15830. }
  15831. },
  15832. "500": {
  15833. "description": "Internal Server Error",
  15834. "schema": {
  15835. "$ref": "#/definitions/app.Response"
  15836. }
  15837. }
  15838. }
  15839. }
  15840. },
  15841. "/WrTrade2/QueryXhcpSellBackApply": {
  15842. "get": {
  15843. "security": [
  15844. {
  15845. "ApiKeyAuth": []
  15846. }
  15847. ],
  15848. "produces": [
  15849. "application/json"
  15850. ],
  15851. "tags": [
  15852. "仓单贸易v2"
  15853. ],
  15854. "summary": "查询我的回收申请(新会陈皮)",
  15855. "parameters": [
  15856. {
  15857. "type": "integer",
  15858. "description": "用户ID",
  15859. "name": "userid",
  15860. "in": "query",
  15861. "required": true
  15862. }
  15863. ],
  15864. "responses": {
  15865. "200": {
  15866. "description": "OK",
  15867. "schema": {
  15868. "type": "array",
  15869. "items": {
  15870. "$ref": "#/definitions/models.Xhcpsellbackapply"
  15871. }
  15872. }
  15873. },
  15874. "500": {
  15875. "description": "Internal Server Error",
  15876. "schema": {
  15877. "$ref": "#/definitions/app.Response"
  15878. }
  15879. }
  15880. }
  15881. }
  15882. },
  15883. "/ZJ/GetBankTip": {
  15884. "get": {
  15885. "produces": [
  15886. "application/json"
  15887. ],
  15888. "tags": [
  15889. "中江"
  15890. ],
  15891. "summary": "获取中江网银端出入金提示信息",
  15892. "responses": {
  15893. "200": {
  15894. "description": "OK",
  15895. "schema": {
  15896. "type": "string"
  15897. }
  15898. },
  15899. "500": {
  15900. "description": "Internal Server Error",
  15901. "schema": {
  15902. "$ref": "#/definitions/app.Response"
  15903. }
  15904. }
  15905. }
  15906. }
  15907. },
  15908. "/ZJ/GetCusBankChannels": {
  15909. "get": {
  15910. "produces": [
  15911. "application/json"
  15912. ],
  15913. "tags": [
  15914. "中江"
  15915. ],
  15916. "summary": "获取中江出入金渠道显示列表",
  15917. "responses": {
  15918. "200": {
  15919. "description": "OK",
  15920. "schema": {
  15921. "type": "array",
  15922. "items": {
  15923. "type": "string"
  15924. }
  15925. }
  15926. },
  15927. "500": {
  15928. "description": "Internal Server Error",
  15929. "schema": {
  15930. "$ref": "#/definitions/app.Response"
  15931. }
  15932. }
  15933. }
  15934. }
  15935. }
  15936. },
  15937. "definitions": {
  15938. "app.Response": {
  15939. "type": "object",
  15940. "properties": {
  15941. "code": {
  15942. "type": "integer"
  15943. },
  15944. "data": {},
  15945. "msg": {
  15946. "type": "string"
  15947. },
  15948. "page": {
  15949. "description": "页码",
  15950. "type": "integer"
  15951. },
  15952. "pagesize": {
  15953. "description": "每页条数",
  15954. "type": "integer"
  15955. },
  15956. "total": {
  15957. "description": "总条数",
  15958. "type": "integer"
  15959. }
  15960. }
  15961. },
  15962. "common.ClientMenu": {
  15963. "type": "object",
  15964. "properties": {
  15965. "children": {
  15966. "description": "子菜单列表",
  15967. "type": "array",
  15968. "items": {
  15969. "$ref": "#/definitions/common.ClientMenu"
  15970. }
  15971. },
  15972. "code": {
  15973. "description": "ID",
  15974. "type": "string"
  15975. },
  15976. "isshow": {
  15977. "description": "是否显示",
  15978. "type": "boolean"
  15979. },
  15980. "remark": {
  15981. "description": "备注",
  15982. "type": "string"
  15983. },
  15984. "rulekey": {
  15985. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  15986. "type": "string"
  15987. },
  15988. "sort": {
  15989. "description": "排序",
  15990. "type": "integer"
  15991. },
  15992. "title": {
  15993. "description": "标题",
  15994. "type": "string"
  15995. },
  15996. "type": {
  15997. "description": "类型,1:菜单 2:按钮",
  15998. "type": "integer"
  15999. },
  16000. "url": {
  16001. "description": "URL",
  16002. "type": "string"
  16003. }
  16004. }
  16005. },
  16006. "common.PCWebMenu": {
  16007. "type": "object",
  16008. "properties": {
  16009. "auth": {
  16010. "description": "页面权限列表",
  16011. "type": "array",
  16012. "items": {
  16013. "$ref": "#/definitions/common.PCWebMenuAuth"
  16014. }
  16015. },
  16016. "children": {
  16017. "description": "子菜单列表",
  16018. "type": "array",
  16019. "items": {
  16020. "$ref": "#/definitions/common.PCWebMenu"
  16021. }
  16022. },
  16023. "code": {
  16024. "description": "ID,新版本中权限KEY也是这个字段",
  16025. "type": "string"
  16026. },
  16027. "component": {
  16028. "description": "路由组件",
  16029. "type": "string"
  16030. },
  16031. "isshow": {
  16032. "description": "是否显示",
  16033. "type": "boolean"
  16034. },
  16035. "path": {
  16036. "description": "路由路径",
  16037. "type": "string"
  16038. },
  16039. "remark": {
  16040. "description": "备注",
  16041. "type": "string"
  16042. },
  16043. "rulekey": {
  16044. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16045. "type": "string"
  16046. },
  16047. "sort": {
  16048. "description": "排序",
  16049. "type": "integer"
  16050. },
  16051. "title": {
  16052. "description": "标题",
  16053. "type": "string"
  16054. },
  16055. "url": {
  16056. "description": "URL",
  16057. "type": "string"
  16058. }
  16059. }
  16060. },
  16061. "common.PCWebMenuAuth": {
  16062. "type": "object",
  16063. "properties": {
  16064. "code": {
  16065. "description": "ID,新版本中权限KEY也是这个字段",
  16066. "type": "string"
  16067. },
  16068. "isshow": {
  16069. "description": "是否显示",
  16070. "type": "boolean"
  16071. },
  16072. "label": {
  16073. "description": "标题",
  16074. "type": "string"
  16075. },
  16076. "remark": {
  16077. "description": "备注",
  16078. "type": "string"
  16079. },
  16080. "rulekey": {
  16081. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16082. "type": "string"
  16083. }
  16084. }
  16085. },
  16086. "common.QueryImageConfigsRsp": {
  16087. "type": "object",
  16088. "required": [
  16089. "configid"
  16090. ],
  16091. "properties": {
  16092. "areauserid": {
  16093. "description": "所属机构ID",
  16094. "type": "integer"
  16095. },
  16096. "configid": {
  16097. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  16098. "type": "integer"
  16099. },
  16100. "createdate": {
  16101. "description": "创建时间",
  16102. "type": "string"
  16103. },
  16104. "creatorid": {
  16105. "description": "创建人",
  16106. "type": "integer"
  16107. },
  16108. "imagedetailpath": {
  16109. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  16110. "type": "string"
  16111. },
  16112. "imagepath": {
  16113. "description": "图片",
  16114. "type": "string"
  16115. },
  16116. "imagetype": {
  16117. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  16118. "type": "integer"
  16119. },
  16120. "isshow": {
  16121. "description": "是否展示 - 0:不展示 1:展示",
  16122. "type": "integer"
  16123. },
  16124. "marketid": {
  16125. "description": "市场ID",
  16126. "type": "integer"
  16127. },
  16128. "modifierid": {
  16129. "description": "操作人",
  16130. "type": "integer"
  16131. },
  16132. "sort": {
  16133. "description": "排序",
  16134. "type": "integer"
  16135. },
  16136. "title": {
  16137. "description": "标题",
  16138. "type": "string"
  16139. },
  16140. "trademode": {
  16141. "description": "交易模式",
  16142. "type": "integer"
  16143. },
  16144. "updatedate": {
  16145. "description": "修改时间",
  16146. "type": "string"
  16147. },
  16148. "url": {
  16149. "description": "链接(地址或商品ID)",
  16150. "type": "string"
  16151. },
  16152. "urltype": {
  16153. "description": "链接类型 - 1:直接地址 2:商品ID",
  16154. "type": "integer"
  16155. }
  16156. }
  16157. },
  16158. "common.QueryNoticeRsp": {
  16159. "type": "object",
  16160. "required": [
  16161. "autoid"
  16162. ],
  16163. "properties": {
  16164. "auditoruserid": {
  16165. "description": "审核人",
  16166. "type": "integer"
  16167. },
  16168. "auditremark": {
  16169. "description": "审核备注",
  16170. "type": "string"
  16171. },
  16172. "audittime": {
  16173. "description": "审核日期",
  16174. "type": "string"
  16175. },
  16176. "autoid": {
  16177. "description": "自增ID",
  16178. "type": "integer"
  16179. },
  16180. "content": {
  16181. "description": "内容",
  16182. "type": "string"
  16183. },
  16184. "createtime": {
  16185. "description": "创建时间",
  16186. "type": "string"
  16187. },
  16188. "creatorid": {
  16189. "description": "建仓人",
  16190. "type": "integer"
  16191. },
  16192. "endtime": {
  16193. "description": "结束时间",
  16194. "type": "string"
  16195. },
  16196. "istop": {
  16197. "description": "是否置顶 - 0:不置顶 1:置顶",
  16198. "type": "integer"
  16199. },
  16200. "msgiconurl": {
  16201. "description": "消息图标Url",
  16202. "type": "string"
  16203. },
  16204. "msgtype": {
  16205. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  16206. "type": "integer"
  16207. },
  16208. "publisher": {
  16209. "description": "消息发布者",
  16210. "type": "string"
  16211. },
  16212. "readed": {
  16213. "description": "是否已读",
  16214. "type": "boolean"
  16215. },
  16216. "scheduletime": {
  16217. "description": "计划发送时间",
  16218. "type": "string"
  16219. },
  16220. "sendtype": {
  16221. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  16222. "type": "integer"
  16223. },
  16224. "sentstatus": {
  16225. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  16226. "type": "integer"
  16227. },
  16228. "title": {
  16229. "description": "标题",
  16230. "type": "string"
  16231. },
  16232. "userid": {
  16233. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  16234. "type": "integer"
  16235. }
  16236. }
  16237. },
  16238. "common.QueryProvincesAndCitiesRsp": {
  16239. "type": "object",
  16240. "properties": {
  16241. "cities": {
  16242. "description": "市",
  16243. "type": "array",
  16244. "items": {
  16245. "$ref": "#/definitions/models.Division"
  16246. }
  16247. },
  16248. "province": {
  16249. "description": "省",
  16250. "$ref": "#/definitions/models.Division"
  16251. }
  16252. }
  16253. },
  16254. "common.QueryTableDefineRsp": {
  16255. "type": "object",
  16256. "required": [
  16257. "tablekey"
  16258. ],
  16259. "properties": {
  16260. "columns": {
  16261. "description": "列头信息数组",
  16262. "type": "array",
  16263. "items": {
  16264. "$ref": "#/definitions/models.Tablecolumnconfig"
  16265. }
  16266. },
  16267. "remark": {
  16268. "description": "Remark",
  16269. "type": "string"
  16270. },
  16271. "tabelmenu": {
  16272. "description": "列表菜单",
  16273. "type": "string"
  16274. },
  16275. "tablekey": {
  16276. "description": "列表Key",
  16277. "type": "string"
  16278. },
  16279. "tablename": {
  16280. "description": "列表名称",
  16281. "type": "string"
  16282. },
  16283. "tabletype": {
  16284. "description": "列表类型 - 1:管理端 2:终端",
  16285. "type": "integer"
  16286. }
  16287. }
  16288. },
  16289. "common.QueryTraderMenuRsp": {
  16290. "type": "object",
  16291. "properties": {
  16292. "OperationMenu": {
  16293. "description": "功能菜单",
  16294. "type": "array",
  16295. "items": {
  16296. "$ref": "#/definitions/models.OperationPrimaryMenu"
  16297. }
  16298. },
  16299. "QuoteMenu": {
  16300. "description": "报价牌分类菜单",
  16301. "type": "array",
  16302. "items": {
  16303. "$ref": "#/definitions/models.QuotePrimaryMenu"
  16304. }
  16305. }
  16306. }
  16307. },
  16308. "cptrade.Cptradepositioncancel": {
  16309. "type": "object",
  16310. "required": [
  16311. "cancelid"
  16312. ],
  16313. "properties": {
  16314. "accountid": {
  16315. "description": "申请人账户ID",
  16316. "type": "integer"
  16317. },
  16318. "applystatus": {
  16319. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16320. "type": "integer"
  16321. },
  16322. "applytime": {
  16323. "description": "申请时间",
  16324. "type": "string"
  16325. },
  16326. "cancelid": {
  16327. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  16328. "type": "integer"
  16329. },
  16330. "cancelqty": {
  16331. "description": "注销数量",
  16332. "type": "integer"
  16333. },
  16334. "createtime": {
  16335. "description": "创建时间",
  16336. "type": "string"
  16337. },
  16338. "creatorid": {
  16339. "description": "创建人ID",
  16340. "type": "integer"
  16341. },
  16342. "creatorname": {
  16343. "description": "创建人",
  16344. "type": "string"
  16345. },
  16346. "goodscode": {
  16347. "description": "订单商品代码",
  16348. "type": "string"
  16349. },
  16350. "goodsid": {
  16351. "description": "商品ID",
  16352. "type": "integer"
  16353. },
  16354. "goodsname": {
  16355. "description": "订单商品名称",
  16356. "type": "string"
  16357. },
  16358. "goodunit": {
  16359. "description": "报价单位",
  16360. "type": "string"
  16361. },
  16362. "handlestatus": {
  16363. "description": "处理状态",
  16364. "type": "integer"
  16365. },
  16366. "marketid": {
  16367. "description": "市场ID",
  16368. "type": "integer"
  16369. },
  16370. "marketname": {
  16371. "description": "市场名称",
  16372. "type": "string"
  16373. },
  16374. "tradedate": {
  16375. "description": "交易日(yyyyMMdd)",
  16376. "type": "string"
  16377. },
  16378. "userid": {
  16379. "description": "申请人ID",
  16380. "type": "integer"
  16381. }
  16382. }
  16383. },
  16384. "cptrade.Cptradepresaleapply": {
  16385. "type": "object",
  16386. "required": [
  16387. "applyid"
  16388. ],
  16389. "properties": {
  16390. "accountid": {
  16391. "description": "申请人账户ID",
  16392. "type": "integer"
  16393. },
  16394. "applyid": {
  16395. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  16396. "type": "integer"
  16397. },
  16398. "applyremark": {
  16399. "description": "申请备注",
  16400. "type": "string"
  16401. },
  16402. "applystatus": {
  16403. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16404. "type": "integer"
  16405. },
  16406. "applytime": {
  16407. "description": "申请时间",
  16408. "type": "string"
  16409. },
  16410. "attachmenturl": {
  16411. "description": "附件地址",
  16412. "type": "string"
  16413. },
  16414. "endtime": {
  16415. "description": "预售结束时间",
  16416. "type": "string"
  16417. },
  16418. "goodscode": {
  16419. "description": "商品代码",
  16420. "type": "string"
  16421. },
  16422. "goodsid": {
  16423. "description": "商品ID",
  16424. "type": "integer"
  16425. },
  16426. "goodsname": {
  16427. "description": "商品名称",
  16428. "type": "string"
  16429. },
  16430. "goodunit": {
  16431. "description": "报价单位",
  16432. "type": "string"
  16433. },
  16434. "handlestatus": {
  16435. "description": "处理状态",
  16436. "type": "integer"
  16437. },
  16438. "marketid": {
  16439. "description": "预售市场ID",
  16440. "type": "integer"
  16441. },
  16442. "marketname": {
  16443. "description": "预售市场名称",
  16444. "type": "string"
  16445. },
  16446. "presaleqty": {
  16447. "description": "预售数量",
  16448. "type": "integer"
  16449. },
  16450. "relatedgoodscode": {
  16451. "description": "关联交易合约代码",
  16452. "type": "string"
  16453. },
  16454. "relatedgoodsid": {
  16455. "description": "关联交易合约ID",
  16456. "type": "integer"
  16457. },
  16458. "relatedgoodsname": {
  16459. "description": "关联交易合约名称",
  16460. "type": "string"
  16461. },
  16462. "starttime": {
  16463. "description": "预售开始时间",
  16464. "type": "string"
  16465. },
  16466. "tradedate": {
  16467. "description": "交易日(yyyyMMdd)",
  16468. "type": "string"
  16469. },
  16470. "trademode": {
  16471. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  16472. "type": "integer"
  16473. },
  16474. "userid": {
  16475. "description": "申请人ID",
  16476. "type": "integer"
  16477. }
  16478. }
  16479. },
  16480. "cptrade.Cptradeusergoodsdata": {
  16481. "type": "object",
  16482. "required": [
  16483. "accountid",
  16484. "goodsid"
  16485. ],
  16486. "properties": {
  16487. "EnabledQty": {
  16488. "description": "可用量",
  16489. "type": "integer"
  16490. },
  16491. "GoodsCode": {
  16492. "description": "订单商品代码",
  16493. "type": "string"
  16494. },
  16495. "GoodsName": {
  16496. "description": "订单商品名称",
  16497. "type": "string"
  16498. },
  16499. "WRStandardCode": {
  16500. "description": "仓单标准代码",
  16501. "type": "string"
  16502. },
  16503. "WRStandardName": {
  16504. "description": "仓单标准名称",
  16505. "type": "string"
  16506. },
  16507. "accountid": {
  16508. "description": "账户ID",
  16509. "type": "integer"
  16510. },
  16511. "cancelqty": {
  16512. "description": "注销量",
  16513. "type": "integer"
  16514. },
  16515. "curpresaleqty": {
  16516. "description": "当前预售量",
  16517. "type": "integer"
  16518. },
  16519. "deliveryqty": {
  16520. "description": "交割量",
  16521. "type": "integer"
  16522. },
  16523. "freezeamount": {
  16524. "description": "冻结金额",
  16525. "type": "number"
  16526. },
  16527. "goodsid": {
  16528. "description": "商品ID",
  16529. "type": "integer"
  16530. },
  16531. "goodunit": {
  16532. "description": "报价单位",
  16533. "type": "string"
  16534. },
  16535. "hasspotfreeze": {
  16536. "description": "是否有现货冻结 - 0:否 1:有",
  16537. "type": "integer"
  16538. },
  16539. "inqty": {
  16540. "description": "转入量(总数量)",
  16541. "type": "integer"
  16542. },
  16543. "marketid": {
  16544. "description": "市场ID",
  16545. "type": "integer"
  16546. },
  16547. "presaledamount": {
  16548. "description": "已预售总金额",
  16549. "type": "integer"
  16550. },
  16551. "presaledqty": {
  16552. "description": "已预售量",
  16553. "type": "integer"
  16554. },
  16555. "userid": {
  16556. "description": "用户ID",
  16557. "type": "integer"
  16558. },
  16559. "wrstandardid": {
  16560. "description": "仓单标准ID",
  16561. "type": "integer"
  16562. }
  16563. }
  16564. },
  16565. "cptrade.QueryCPTradeMyBidRsp": {
  16566. "type": "object",
  16567. "required": [
  16568. "accountid",
  16569. "goodsid",
  16570. "marketid",
  16571. "orderid",
  16572. "orderqty",
  16573. "ordertime",
  16574. "tradeprice",
  16575. "tradeqty"
  16576. ],
  16577. "properties": {
  16578. "accountid": {
  16579. "description": "账户ID[报价币种]",
  16580. "type": "integer"
  16581. },
  16582. "goodsid": {
  16583. "description": "商品ID",
  16584. "type": "integer"
  16585. },
  16586. "goodunit": {
  16587. "description": "报价单位",
  16588. "type": "string"
  16589. },
  16590. "marketid": {
  16591. "description": "市场ID",
  16592. "type": "integer"
  16593. },
  16594. "orderid": {
  16595. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16596. "type": "integer"
  16597. },
  16598. "orderprice": {
  16599. "description": "委托价格",
  16600. "type": "number"
  16601. },
  16602. "orderqty": {
  16603. "description": "委托数量",
  16604. "type": "integer"
  16605. },
  16606. "ordertime": {
  16607. "description": "委托时间",
  16608. "type": "string"
  16609. },
  16610. "ordertotalprice": {
  16611. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  16612. "type": "number"
  16613. },
  16614. "ordertotalweight": {
  16615. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  16616. "type": "integer"
  16617. },
  16618. "totaltotalprice": {
  16619. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  16620. "type": "number"
  16621. },
  16622. "tradeprice": {
  16623. "description": "成交价格",
  16624. "type": "number"
  16625. },
  16626. "tradeqty": {
  16627. "description": "成交数量",
  16628. "type": "integer"
  16629. }
  16630. }
  16631. },
  16632. "cptrade.QueryCPTradeOrderDetailRsq": {
  16633. "type": "object",
  16634. "required": [
  16635. "accountid",
  16636. "buildtype",
  16637. "buyorsell",
  16638. "goodsid",
  16639. "marketid",
  16640. "memberuserid",
  16641. "operatetype",
  16642. "orderqty",
  16643. "ordertime",
  16644. "pricemode",
  16645. "strorderid",
  16646. "tradedate",
  16647. "validtype"
  16648. ],
  16649. "properties": {
  16650. "accountid": {
  16651. "description": "账户ID[报价币种]",
  16652. "type": "integer"
  16653. },
  16654. "buildtype": {
  16655. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16656. "type": "integer"
  16657. },
  16658. "buyorsell": {
  16659. "description": "买卖 - 0:买 1:卖",
  16660. "type": "integer"
  16661. },
  16662. "cancelorderid": {
  16663. "description": "撤单单号(撤单时填写)",
  16664. "type": "integer"
  16665. },
  16666. "cancelqty": {
  16667. "description": "撤单数量",
  16668. "type": "integer"
  16669. },
  16670. "clientordertime": {
  16671. "description": "客户端委托时间",
  16672. "type": "string"
  16673. },
  16674. "clientticket": {
  16675. "description": "客户端流水号",
  16676. "type": "string"
  16677. },
  16678. "clienttype": {
  16679. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16680. "type": "integer"
  16681. },
  16682. "closeexchagechargevalue": {
  16683. "description": "平仓交易所手续费设置值",
  16684. "type": "number"
  16685. },
  16686. "closefeealgorithm": {
  16687. "description": "平仓手续费收取方式 1:比率 2:固定",
  16688. "type": "integer"
  16689. },
  16690. "closefreezecharge": {
  16691. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16692. "type": "number"
  16693. },
  16694. "closememberchargevalue": {
  16695. "description": "平仓会员手续费设置值",
  16696. "type": "number"
  16697. },
  16698. "closeqty": {
  16699. "description": "平仓数量(先建后平操作 需要记录)",
  16700. "type": "integer"
  16701. },
  16702. "closetradeqty": {
  16703. "description": "平仓成交数量(先建后平操作,需要记录)",
  16704. "type": "integer"
  16705. },
  16706. "closeunfreezecharge": {
  16707. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16708. "type": "number"
  16709. },
  16710. "delistingtype": {
  16711. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16712. "type": "integer"
  16713. },
  16714. "freezecharge": {
  16715. "description": "冻结手续费",
  16716. "type": "number"
  16717. },
  16718. "freezemargin": {
  16719. "description": "冻结保证金(冻结交易金额)",
  16720. "type": "number"
  16721. },
  16722. "gcaccountid": {
  16723. "description": "账户ID[合约币种]",
  16724. "type": "integer"
  16725. },
  16726. "goodsid": {
  16727. "description": "商品ID",
  16728. "type": "integer"
  16729. },
  16730. "isconfirmexercise": {
  16731. "description": "是否确认行权- 0:否 1:是",
  16732. "type": "integer"
  16733. },
  16734. "ispreexercise": {
  16735. "description": "是否预申报- 0:否 1:是",
  16736. "type": "integer"
  16737. },
  16738. "listingselecttype": {
  16739. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16740. "type": "integer"
  16741. },
  16742. "marginalgorithm": {
  16743. "description": "保证金收取方式 1:比率 2:固定",
  16744. "type": "integer"
  16745. },
  16746. "marginvalue": {
  16747. "description": "即市保证金设置值",
  16748. "type": "number"
  16749. },
  16750. "marketid": {
  16751. "description": "市场ID",
  16752. "type": "integer"
  16753. },
  16754. "marketmaxsub": {
  16755. "description": "市价最大偏移范围",
  16756. "type": "number"
  16757. },
  16758. "memberuserid": {
  16759. "description": "所属会员UserID",
  16760. "type": "integer"
  16761. },
  16762. "openexchagechargevalue": {
  16763. "description": "建仓交易所手续费设置值",
  16764. "type": "number"
  16765. },
  16766. "openfeealgorithm": {
  16767. "description": "建仓手续费收取方式 1:比率 2:固定",
  16768. "type": "integer"
  16769. },
  16770. "openfreezecharge": {
  16771. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16772. "type": "number"
  16773. },
  16774. "openmemberchargevalue": {
  16775. "description": "建仓会员手续费设置值",
  16776. "type": "number"
  16777. },
  16778. "openqty": {
  16779. "description": "开仓数量(先建后平操作,需要记录)",
  16780. "type": "integer"
  16781. },
  16782. "opentradeqty": {
  16783. "description": "开仓成交数量(先建后平操作,需要记录)",
  16784. "type": "integer"
  16785. },
  16786. "openunfreezecharge": {
  16787. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16788. "type": "number"
  16789. },
  16790. "operatetype": {
  16791. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16792. "type": "integer"
  16793. },
  16794. "operatorid": {
  16795. "description": "登录账号(LoginID)",
  16796. "type": "integer"
  16797. },
  16798. "optiontype": {
  16799. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16800. "type": "integer"
  16801. },
  16802. "orderprice": {
  16803. "description": "委托价格",
  16804. "type": "number"
  16805. },
  16806. "orderqty": {
  16807. "description": "委托数量",
  16808. "type": "integer"
  16809. },
  16810. "ordersrc": {
  16811. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16812. "type": "integer"
  16813. },
  16814. "orderstatus": {
  16815. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16816. "type": "integer"
  16817. },
  16818. "ordertime": {
  16819. "description": "委托时间",
  16820. "type": "string"
  16821. },
  16822. "preexerciseprice": {
  16823. "description": "预申报价格",
  16824. "type": "number"
  16825. },
  16826. "premium": {
  16827. "description": "权利金",
  16828. "type": "number"
  16829. },
  16830. "preorderid": {
  16831. "description": "关联预埋单号(止盈止损单时填写)",
  16832. "type": "integer"
  16833. },
  16834. "pricemode": {
  16835. "description": "取价方式 - 1:市价 2: 限价",
  16836. "type": "integer"
  16837. },
  16838. "quoteid": {
  16839. "description": "报价单ID",
  16840. "type": "integer"
  16841. },
  16842. "relatedid": {
  16843. "description": "关联单号(交割单)",
  16844. "type": "integer"
  16845. },
  16846. "retcode": {
  16847. "description": "错误代码",
  16848. "type": "integer"
  16849. },
  16850. "sessionid": {
  16851. "description": "会话ID",
  16852. "type": "integer"
  16853. },
  16854. "strorderid": {
  16855. "description": "委托单号",
  16856. "type": "string"
  16857. },
  16858. "tradedate": {
  16859. "description": "交易日(yyyyMMdd)",
  16860. "type": "string"
  16861. },
  16862. "tradeproperty": {
  16863. "description": "交易属性",
  16864. "type": "integer"
  16865. },
  16866. "tradeqty": {
  16867. "description": "成交数量",
  16868. "type": "integer"
  16869. },
  16870. "unfreezecharge": {
  16871. "description": "解冻手续费",
  16872. "type": "number"
  16873. },
  16874. "unfreezemargin": {
  16875. "description": "解冻保证金",
  16876. "type": "number"
  16877. },
  16878. "updatetime": {
  16879. "description": "更新时间",
  16880. "type": "string"
  16881. },
  16882. "uuid": {
  16883. "description": "发起端唯一id",
  16884. "type": "string"
  16885. },
  16886. "validtime": {
  16887. "description": "有效期限",
  16888. "type": "string"
  16889. },
  16890. "validtype": {
  16891. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16892. "type": "integer"
  16893. },
  16894. "volumetype": {
  16895. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16896. "type": "integer"
  16897. }
  16898. }
  16899. },
  16900. "cptrade.QueryMyCPTradeGoodsRsp": {
  16901. "type": "object",
  16902. "required": [
  16903. "goodscode",
  16904. "goodsid",
  16905. "goodsname",
  16906. "marketid",
  16907. "relatedgoodscode",
  16908. "relatedgoodsname"
  16909. ],
  16910. "properties": {
  16911. "accountid": {
  16912. "description": "卖方账户ID",
  16913. "type": "integer"
  16914. },
  16915. "agreeunit": {
  16916. "description": "合约单位",
  16917. "type": "number"
  16918. },
  16919. "applyid": {
  16920. "description": "关联申请ID",
  16921. "type": "integer"
  16922. },
  16923. "attachmenturl": {
  16924. "description": "附件地址",
  16925. "type": "string"
  16926. },
  16927. "createtime": {
  16928. "description": "创建时间",
  16929. "type": "string"
  16930. },
  16931. "currencyid": {
  16932. "description": "报价货币ID",
  16933. "type": "integer"
  16934. },
  16935. "decimalplace": {
  16936. "description": "报价小数位",
  16937. "type": "integer"
  16938. },
  16939. "endtime": {
  16940. "description": "预售结束时间",
  16941. "type": "string"
  16942. },
  16943. "floorprice": {
  16944. "description": "底价[大宗式竞拍]",
  16945. "type": "number"
  16946. },
  16947. "goodscode": {
  16948. "description": "商品代码(预售)",
  16949. "type": "string"
  16950. },
  16951. "goodsdetail": {
  16952. "description": "详情[大宗]",
  16953. "type": "string"
  16954. },
  16955. "goodsid": {
  16956. "description": "商品ID(自增ID SEQ_GOODS)",
  16957. "type": "integer"
  16958. },
  16959. "goodsname": {
  16960. "description": "商品名称(预售)",
  16961. "type": "string"
  16962. },
  16963. "goodunit": {
  16964. "description": "报价单位",
  16965. "type": "string"
  16966. },
  16967. "goodunitid": {
  16968. "description": "报价单位ID",
  16969. "type": "integer"
  16970. },
  16971. "marketid": {
  16972. "description": "所属市场ID",
  16973. "type": "integer"
  16974. },
  16975. "marketname": {
  16976. "description": "预售市场名称",
  16977. "type": "string"
  16978. },
  16979. "presaledamount": {
  16980. "description": "已预售总金额(预售结束时更新)",
  16981. "type": "number"
  16982. },
  16983. "presaledqty": {
  16984. "description": "已预售量(预售结束时更新)",
  16985. "type": "integer"
  16986. },
  16987. "presalemode": {
  16988. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16989. "type": "integer"
  16990. },
  16991. "presaleqty": {
  16992. "description": "预售数量",
  16993. "type": "integer"
  16994. },
  16995. "refprice": {
  16996. "description": "参考价格[一口价]",
  16997. "type": "number"
  16998. },
  16999. "relatedgoodscode": {
  17000. "description": "商品代码(订单)",
  17001. "type": "string"
  17002. },
  17003. "relatedgoodsid": {
  17004. "description": "关联交易合约ID",
  17005. "type": "integer"
  17006. },
  17007. "relatedgoodsname": {
  17008. "description": "商品名称(订单)",
  17009. "type": "string"
  17010. },
  17011. "relatedmarketid": {
  17012. "description": "关联交易合约市场ID",
  17013. "type": "integer"
  17014. },
  17015. "sellstatus": {
  17016. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17017. "type": "integer"
  17018. },
  17019. "startprice": {
  17020. "description": "起拍价[大宗式竞拍]",
  17021. "type": "number"
  17022. },
  17023. "starttime": {
  17024. "description": "预售开始时间",
  17025. "type": "string"
  17026. },
  17027. "tradedate": {
  17028. "description": "交易日(yyyyMMdd)",
  17029. "type": "string"
  17030. },
  17031. "tradeprice": {
  17032. "description": "成交价[大宗]",
  17033. "type": "number"
  17034. },
  17035. "userid": {
  17036. "description": "卖方用户ID",
  17037. "type": "integer"
  17038. }
  17039. }
  17040. },
  17041. "cptrade.QueryPresaleGoodsExRsp": {
  17042. "type": "object",
  17043. "required": [
  17044. "goodsid"
  17045. ],
  17046. "properties": {
  17047. "attachmenturl": {
  17048. "description": "附件地址",
  17049. "type": "string"
  17050. },
  17051. "createtime": {
  17052. "description": "创建时间",
  17053. "type": "string"
  17054. },
  17055. "endtime": {
  17056. "description": "预售结束时间",
  17057. "type": "string"
  17058. },
  17059. "floorprice": {
  17060. "description": "底价[大宗式竞拍]",
  17061. "type": "number"
  17062. },
  17063. "goodsdetail": {
  17064. "description": "详情[大宗]",
  17065. "type": "string"
  17066. },
  17067. "goodsid": {
  17068. "description": "商品ID(预售)",
  17069. "type": "integer"
  17070. },
  17071. "goodunit": {
  17072. "description": "报价单位",
  17073. "type": "string"
  17074. },
  17075. "marketid": {
  17076. "description": "预售市场ID - 根据预售模式选择市场",
  17077. "type": "integer"
  17078. },
  17079. "presaledamount": {
  17080. "description": "已预售总金额(预售结束时更新)",
  17081. "type": "number"
  17082. },
  17083. "presaledqty": {
  17084. "description": "已预售量(预售结束时更新)",
  17085. "type": "integer"
  17086. },
  17087. "presalemode": {
  17088. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17089. "type": "integer"
  17090. },
  17091. "presaleqty": {
  17092. "description": "预售数量",
  17093. "type": "integer"
  17094. },
  17095. "refprice": {
  17096. "description": "参考价格[一口价]",
  17097. "type": "number"
  17098. },
  17099. "relatedgoodsid": {
  17100. "description": "关联交易合约ID",
  17101. "type": "integer"
  17102. },
  17103. "relatedmarketid": {
  17104. "description": "关联交易合约市场ID",
  17105. "type": "integer"
  17106. },
  17107. "sellstatus": {
  17108. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17109. "type": "integer"
  17110. },
  17111. "startprice": {
  17112. "description": "起拍价[大宗式竞拍]",
  17113. "type": "number"
  17114. },
  17115. "starttime": {
  17116. "description": "预售开始时间",
  17117. "type": "string"
  17118. },
  17119. "tradedate": {
  17120. "description": "交易日(yyyyMMdd)",
  17121. "type": "string"
  17122. },
  17123. "tradeprice": {
  17124. "description": "成交价[大宗]",
  17125. "type": "number"
  17126. }
  17127. }
  17128. },
  17129. "delivery.QueryDeliveryRelationRsp": {
  17130. "type": "object",
  17131. "required": [
  17132. "begindate",
  17133. "enddate",
  17134. "goodsid",
  17135. "mindeliveryqty",
  17136. "xdeliveryratio"
  17137. ],
  17138. "properties": {
  17139. "begindate": {
  17140. "description": "起始日期(yyyyMMdd)",
  17141. "type": "string"
  17142. },
  17143. "buytemplateid": {
  17144. "description": "买履约计划模板ID",
  17145. "type": "integer"
  17146. },
  17147. "deliverygoodscode": {
  17148. "description": "品种代码",
  17149. "type": "string"
  17150. },
  17151. "deliverygoodsid": {
  17152. "description": "交割商品",
  17153. "type": "integer"
  17154. },
  17155. "deliverygoodsname": {
  17156. "description": "品种名称",
  17157. "type": "string"
  17158. },
  17159. "deliverymode": {
  17160. "description": "交割方式 - 1:点选式 2:申报式",
  17161. "type": "integer"
  17162. },
  17163. "deliverypricerule": {
  17164. "description": "交割价规则- 1:行情价 2:建仓价",
  17165. "type": "integer"
  17166. },
  17167. "deliverytype": {
  17168. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  17169. "type": "integer"
  17170. },
  17171. "enddate": {
  17172. "description": "结束日期(yyyyMMdd)",
  17173. "type": "string"
  17174. },
  17175. "enumdicname": {
  17176. "description": "品类单位名称",
  17177. "type": "string"
  17178. },
  17179. "goodscode": {
  17180. "description": "商品代码",
  17181. "type": "string"
  17182. },
  17183. "goodsid": {
  17184. "description": "交易合约ID",
  17185. "type": "integer"
  17186. },
  17187. "goodsname": {
  17188. "description": "商品名称",
  17189. "type": "string"
  17190. },
  17191. "marketid": {
  17192. "description": "市场ID",
  17193. "type": "integer"
  17194. },
  17195. "mindeliveryqty": {
  17196. "description": "最小交割系数(K)",
  17197. "type": "integer"
  17198. },
  17199. "p2deliveryprice": {
  17200. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  17201. "type": "number"
  17202. },
  17203. "p2deliveryratio": {
  17204. "description": "P2合约系数(p)",
  17205. "type": "integer"
  17206. },
  17207. "p2goodsid": {
  17208. "description": "P2合约ID",
  17209. "type": "integer"
  17210. },
  17211. "p2pricemode": {
  17212. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  17213. "type": "integer"
  17214. },
  17215. "pdeliveryprice": {
  17216. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  17217. "type": "number"
  17218. },
  17219. "pdeliveryratio": {
  17220. "description": "P合约系数(n)",
  17221. "type": "integer"
  17222. },
  17223. "pgoodscode": {
  17224. "description": "p合约代码",
  17225. "type": "string"
  17226. },
  17227. "pgoodsid": {
  17228. "description": "P合约ID",
  17229. "type": "integer"
  17230. },
  17231. "ppricemode": {
  17232. "description": "P合约价格方式 - 1:商品价 2:固定值",
  17233. "type": "integer"
  17234. },
  17235. "rratio": {
  17236. "description": "兑换系数(R)",
  17237. "type": "integer"
  17238. },
  17239. "rratio1": {
  17240. "description": "兑换系数(交易合约)(R1)",
  17241. "type": "integer"
  17242. },
  17243. "rratio2": {
  17244. "description": "兑换系数(仓单标准)(R2)",
  17245. "type": "integer"
  17246. },
  17247. "selltemplateid": {
  17248. "description": "卖履约计划模板ID",
  17249. "type": "integer"
  17250. },
  17251. "wrstandardid": {
  17252. "description": "仓单标准ID",
  17253. "type": "integer"
  17254. },
  17255. "xdeliveryratio": {
  17256. "description": "交易合约系数(m)",
  17257. "type": "integer"
  17258. }
  17259. }
  17260. },
  17261. "ermcp.ExposureDetailRsp": {
  17262. "type": "object",
  17263. "properties": {
  17264. "areauserid": {
  17265. "description": "机构ID",
  17266. "type": "integer"
  17267. },
  17268. "changeQty": {
  17269. "description": "套保变动量",
  17270. "type": "number"
  17271. },
  17272. "contracttype": {
  17273. "description": "现货合同类型 - 1:采购 -1:销售",
  17274. "type": "integer"
  17275. },
  17276. "convertfactor": {
  17277. "description": "标仓系数",
  17278. "type": "number"
  17279. },
  17280. "convertratio": {
  17281. "description": "套保系数",
  17282. "type": "number"
  17283. },
  17284. "createtime": {
  17285. "description": "时间",
  17286. "type": "string"
  17287. },
  17288. "enumdicname": {
  17289. "description": "现货商品单位名称",
  17290. "type": "string"
  17291. },
  17292. "logtype": {
  17293. "description": "类型 - 1:套保计划 2:现货合同",
  17294. "type": "integer"
  17295. },
  17296. "middlegoodsId": {
  17297. "description": "套保商品id",
  17298. "type": "integer"
  17299. },
  17300. "middlegoodscode": {
  17301. "description": "套保商品代码",
  17302. "type": "string"
  17303. },
  17304. "middlegoodsname": {
  17305. "description": "套保商品名称",
  17306. "type": "string"
  17307. },
  17308. "qty": {
  17309. "description": "数量",
  17310. "type": "number"
  17311. },
  17312. "relateNo": {
  17313. "description": "现货合同/套保计划编号",
  17314. "type": "string"
  17315. },
  17316. "wrstandardcode": {
  17317. "description": "现货商品代码",
  17318. "type": "string"
  17319. },
  17320. "wrstandardid": {
  17321. "description": "现货商品ID",
  17322. "type": "integer"
  17323. },
  17324. "wrstandardname": {
  17325. "description": "现货商品名称",
  17326. "type": "string"
  17327. }
  17328. }
  17329. },
  17330. "ermcp.ExposureHedgePosDetailRsp": {
  17331. "type": "object",
  17332. "properties": {
  17333. "buyorsell": {
  17334. "description": "买卖方向 0-买 1-卖",
  17335. "type": "integer"
  17336. },
  17337. "channelbuildtype": {
  17338. "description": "开平方向 1-建仓 2-平仓",
  17339. "type": "integer"
  17340. },
  17341. "goodscode": {
  17342. "description": "商品代码",
  17343. "type": "string"
  17344. },
  17345. "goodsname": {
  17346. "description": "商品名称",
  17347. "type": "string"
  17348. },
  17349. "hedgegoodsid": {
  17350. "description": "商品id",
  17351. "type": "integer"
  17352. },
  17353. "tradeqty": {
  17354. "description": "数量(成交数量)",
  17355. "type": "integer"
  17356. },
  17357. "tradetime": {
  17358. "description": "时间(成交时间)",
  17359. "type": "string"
  17360. }
  17361. }
  17362. },
  17363. "ermcp.ExposureHedgePositionRsp": {
  17364. "type": "object",
  17365. "properties": {
  17366. "accountid": {
  17367. "description": "资金账号[外部母账户]",
  17368. "type": "integer"
  17369. },
  17370. "curbuyposition": {
  17371. "description": "期末买头寸",
  17372. "type": "integer"
  17373. },
  17374. "cursellposition": {
  17375. "description": "期末卖头寸",
  17376. "type": "integer"
  17377. },
  17378. "curtdbuyposition": {
  17379. "description": "期末今日买头寸",
  17380. "type": "integer"
  17381. },
  17382. "curtdsellposition": {
  17383. "description": "期末今日卖头寸",
  17384. "type": "integer"
  17385. },
  17386. "curydbuyposition": {
  17387. "description": "期末上日买头寸",
  17388. "type": "integer"
  17389. },
  17390. "curydsellposition": {
  17391. "description": "期末上日卖头寸",
  17392. "type": "integer"
  17393. },
  17394. "decreaseqty": {
  17395. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17396. "type": "integer"
  17397. },
  17398. "fretdbuyposition": {
  17399. "description": "冻结今日买头寸",
  17400. "type": "integer"
  17401. },
  17402. "fretdsellposition": {
  17403. "description": "冻结今日卖头寸",
  17404. "type": "integer"
  17405. },
  17406. "freydbuyposition": {
  17407. "description": "冻结上日买头寸",
  17408. "type": "integer"
  17409. },
  17410. "freydsellposition": {
  17411. "description": "冻结上日卖头寸",
  17412. "type": "integer"
  17413. },
  17414. "goodscode": {
  17415. "description": "商品代码",
  17416. "type": "string"
  17417. },
  17418. "goodsid": {
  17419. "description": "商品id",
  17420. "type": "integer"
  17421. },
  17422. "goodsname": {
  17423. "description": "商品名称",
  17424. "type": "string"
  17425. },
  17426. "hedgeaccountcode": {
  17427. "description": "对冲账号",
  17428. "type": "string"
  17429. },
  17430. "hedgegoodsid": {
  17431. "description": "对冲合约ID",
  17432. "type": "integer"
  17433. },
  17434. "increaseqty": {
  17435. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17436. "type": "integer"
  17437. },
  17438. "marketid": {
  17439. "description": "市场ID",
  17440. "type": "integer"
  17441. },
  17442. "relateduserid": {
  17443. "description": "关联用户id",
  17444. "type": "integer"
  17445. },
  17446. "totalcurqty": {
  17447. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17448. "type": "integer"
  17449. },
  17450. "totalydqty": {
  17451. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17452. "type": "integer"
  17453. },
  17454. "tradedate": {
  17455. "description": "交易日(yyyyMMdd)",
  17456. "type": "string"
  17457. },
  17458. "ydbuyposition": {
  17459. "description": "期初买头寸",
  17460. "type": "integer"
  17461. },
  17462. "ydsellposition": {
  17463. "description": "期初卖头寸",
  17464. "type": "integer"
  17465. }
  17466. }
  17467. },
  17468. "ermcp.ExposureSpotDetailRsp": {
  17469. "type": "object",
  17470. "properties": {
  17471. "contracttype": {
  17472. "description": "合同类型 1-采购 -1-销售",
  17473. "type": "integer"
  17474. },
  17475. "createtime": {
  17476. "description": "创建时间",
  17477. "type": "string"
  17478. },
  17479. "enumdicname": {
  17480. "description": "现货商品单位名称",
  17481. "type": "string"
  17482. },
  17483. "logtype": {
  17484. "description": "记录类型 1-套保 2-现货合同",
  17485. "type": "integer"
  17486. },
  17487. "qty": {
  17488. "description": "数量",
  17489. "type": "number"
  17490. },
  17491. "recordname": {
  17492. "description": "类型名称",
  17493. "type": "string"
  17494. },
  17495. "relatedid": {
  17496. "description": "套保计划ID/现货合同ID",
  17497. "type": "string"
  17498. },
  17499. "relatedno": {
  17500. "description": "编号",
  17501. "type": "string"
  17502. },
  17503. "strtime": {
  17504. "description": "时间",
  17505. "type": "string"
  17506. },
  17507. "wrstandardcode": {
  17508. "description": "现货商品代码",
  17509. "type": "string"
  17510. },
  17511. "wrstandardname": {
  17512. "description": "现货商品名称",
  17513. "type": "string"
  17514. }
  17515. }
  17516. },
  17517. "ermcp.ExposureSpotRsp": {
  17518. "type": "object",
  17519. "properties": {
  17520. "areauserid": {
  17521. "description": "所属机构",
  17522. "type": "integer"
  17523. },
  17524. "decreaseqty": {
  17525. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17526. "type": "number"
  17527. },
  17528. "increaseqty": {
  17529. "description": "增加数量=销售计划数量+采购已定价数量",
  17530. "type": "number"
  17531. },
  17532. "oritoalspotqty": {
  17533. "description": "昨日数量",
  17534. "type": "number"
  17535. },
  17536. "totalspotqty": {
  17537. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17538. "type": "number"
  17539. },
  17540. "updatetime": {
  17541. "description": "更新时间",
  17542. "type": "string"
  17543. },
  17544. "wrstandardcode": {
  17545. "description": "现货品种代码",
  17546. "type": "string"
  17547. },
  17548. "wrstandardid": {
  17549. "description": "现货商品ID",
  17550. "type": "integer"
  17551. },
  17552. "wrstandardname": {
  17553. "description": "现货品种",
  17554. "type": "string"
  17555. }
  17556. }
  17557. },
  17558. "ermcp.HisExposureRsp": {
  17559. "type": "object",
  17560. "properties": {
  17561. "data": {
  17562. "description": "历史敞口",
  17563. "type": "array",
  17564. "items": {
  17565. "$ref": "#/definitions/models.ErmcpHisExposure"
  17566. }
  17567. },
  17568. "enumdicname": {
  17569. "description": "单位名称",
  17570. "type": "string"
  17571. },
  17572. "middlegoodscode": {
  17573. "description": "套保品种代码",
  17574. "type": "string"
  17575. },
  17576. "middlegoodsid": {
  17577. "description": "套保品种ID",
  17578. "type": "integer"
  17579. },
  17580. "middlegoodsname": {
  17581. "description": "套保品种名称",
  17582. "type": "string"
  17583. }
  17584. }
  17585. },
  17586. "ermcp.PendingAuditCntRsp": {
  17587. "type": "object",
  17588. "properties": {
  17589. "areastockqty": {
  17590. "description": "待审核数量: 库存申请",
  17591. "type": "integer"
  17592. },
  17593. "businessdjqty": {
  17594. "description": "待审核数量: 点价",
  17595. "type": "integer"
  17596. },
  17597. "businessfpqty": {
  17598. "description": "待审核数量: 发票",
  17599. "type": "integer"
  17600. },
  17601. "businessjsqty": {
  17602. "description": "待审核数量: 结算",
  17603. "type": "integer"
  17604. },
  17605. "businesskxqty": {
  17606. "description": "待审核数量: 款项",
  17607. "type": "integer"
  17608. },
  17609. "hedgeplanqty": {
  17610. "description": "待审核数量: 套保计划",
  17611. "type": "integer"
  17612. },
  17613. "spotcontractqty": {
  17614. "description": "待审核数量: 现货合同",
  17615. "type": "integer"
  17616. },
  17617. "userqty": {
  17618. "description": "待审核数量: 用户",
  17619. "type": "integer"
  17620. }
  17621. }
  17622. },
  17623. "ermcp.QryAvalidGPRsp": {
  17624. "type": "object",
  17625. "properties": {
  17626. "goodsgroupid": {
  17627. "description": "期货品种id",
  17628. "type": "integer"
  17629. },
  17630. "goodsgroupname": {
  17631. "description": "期货品种名称",
  17632. "type": "string"
  17633. },
  17634. "goodunitid": {
  17635. "description": "品种单位id",
  17636. "type": "integer"
  17637. },
  17638. "goodunitname": {
  17639. "description": "品种单位名称",
  17640. "type": "string"
  17641. },
  17642. "outergroupcode": {
  17643. "description": "期货品种代码",
  17644. "type": "string"
  17645. }
  17646. }
  17647. },
  17648. "ermcp.QryBusinessDjRsp": {
  17649. "type": "object",
  17650. "properties": {
  17651. "amount": {
  17652. "description": "期初均价",
  17653. "type": "number"
  17654. },
  17655. "applyid": {
  17656. "description": "申请人",
  17657. "type": "string"
  17658. },
  17659. "applyname": {
  17660. "description": "申请人名称",
  17661. "type": "string"
  17662. },
  17663. "applystatus": {
  17664. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17665. "type": "integer"
  17666. },
  17667. "applytime": {
  17668. "description": "申请时间",
  17669. "type": "string"
  17670. },
  17671. "attachurl": {
  17672. "description": "附件",
  17673. "type": "string"
  17674. },
  17675. "auditid": {
  17676. "description": "审核人ID",
  17677. "type": "string"
  17678. },
  17679. "auditname": {
  17680. "description": "审核人名称",
  17681. "type": "string"
  17682. },
  17683. "auditremark": {
  17684. "description": "审核备注",
  17685. "type": "string"
  17686. },
  17687. "audittime": {
  17688. "description": "审核时间",
  17689. "type": "string"
  17690. },
  17691. "buyusername": {
  17692. "description": "采购方名称",
  17693. "type": "string"
  17694. },
  17695. "contractno": {
  17696. "description": "合同编号",
  17697. "type": "string"
  17698. },
  17699. "contractstatus": {
  17700. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17701. "type": "integer"
  17702. },
  17703. "contracttype": {
  17704. "description": "现货合同类型 - 1:采购 -1:销售",
  17705. "type": "integer"
  17706. },
  17707. "deliverygoodscode": {
  17708. "description": "现货品种代码",
  17709. "type": "string"
  17710. },
  17711. "deliverygoodsid": {
  17712. "description": "现货商品ID",
  17713. "type": "integer"
  17714. },
  17715. "deliverygoodsname": {
  17716. "description": "现货品种名称",
  17717. "type": "string"
  17718. },
  17719. "enumdicname": {
  17720. "description": "单位名称",
  17721. "type": "string"
  17722. },
  17723. "goodscode": {
  17724. "description": "点价合约",
  17725. "type": "string"
  17726. },
  17727. "goodsname": {
  17728. "description": "商品名称",
  17729. "type": "string"
  17730. },
  17731. "operateapplyid": {
  17732. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17733. "type": "string"
  17734. },
  17735. "operateapplytype": {
  17736. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17737. "type": "integer"
  17738. },
  17739. "pricedPrice": {
  17740. "description": "点价价格(非必填)",
  17741. "type": "number"
  17742. },
  17743. "pricedQty": {
  17744. "description": "点价数量(非必填)",
  17745. "type": "number"
  17746. },
  17747. "pricemove": {
  17748. "description": "升贴水",
  17749. "type": "number"
  17750. },
  17751. "pricetype": {
  17752. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17753. "type": "integer"
  17754. },
  17755. "relatedid": {
  17756. "description": "现货合同ID",
  17757. "type": "string"
  17758. },
  17759. "sellusername": {
  17760. "description": "销售方名字",
  17761. "type": "string"
  17762. },
  17763. "userid": {
  17764. "description": "用户ID",
  17765. "type": "integer"
  17766. },
  17767. "wrstandardcode": {
  17768. "description": "品类代码",
  17769. "type": "string"
  17770. },
  17771. "wrstandardid": {
  17772. "description": "品类id",
  17773. "type": "integer"
  17774. },
  17775. "wrstandardname": {
  17776. "description": "品类名称",
  17777. "type": "string"
  17778. }
  17779. }
  17780. },
  17781. "ermcp.QryBussinessFpRsp": {
  17782. "type": "object",
  17783. "properties": {
  17784. "applyid": {
  17785. "description": "申请人",
  17786. "type": "string"
  17787. },
  17788. "applyname": {
  17789. "description": "申请人名称",
  17790. "type": "string"
  17791. },
  17792. "applystatus": {
  17793. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17794. "type": "integer"
  17795. },
  17796. "applytime": {
  17797. "description": "申请时间",
  17798. "type": "string"
  17799. },
  17800. "attachurl": {
  17801. "description": "附件",
  17802. "type": "string"
  17803. },
  17804. "auditid": {
  17805. "description": "审核人ID",
  17806. "type": "string"
  17807. },
  17808. "auditname": {
  17809. "description": "审核人名称",
  17810. "type": "string"
  17811. },
  17812. "auditremark": {
  17813. "description": "审核备注",
  17814. "type": "string"
  17815. },
  17816. "audittime": {
  17817. "description": "审核时间",
  17818. "type": "string"
  17819. },
  17820. "buyusername": {
  17821. "description": "采购方名称",
  17822. "type": "string"
  17823. },
  17824. "contractno": {
  17825. "description": "合同编号",
  17826. "type": "string"
  17827. },
  17828. "contractstatus": {
  17829. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17830. "type": "integer"
  17831. },
  17832. "contracttype": {
  17833. "description": "现货合同类型 - 1:采购 -1:销售",
  17834. "type": "integer"
  17835. },
  17836. "deliverygoodscode": {
  17837. "description": "现货品种代码",
  17838. "type": "string"
  17839. },
  17840. "deliverygoodsid": {
  17841. "description": "现货商品ID",
  17842. "type": "integer"
  17843. },
  17844. "deliverygoodsname": {
  17845. "description": "现货品种名称",
  17846. "type": "string"
  17847. },
  17848. "enumdicname": {
  17849. "description": "单位名称",
  17850. "type": "string"
  17851. },
  17852. "goodscode": {
  17853. "description": "点价合约",
  17854. "type": "string"
  17855. },
  17856. "goodsname": {
  17857. "description": "商品名称",
  17858. "type": "string"
  17859. },
  17860. "invoiceamount": {
  17861. "description": "已开收票金额(销售为开票,采购为收票)",
  17862. "type": "number"
  17863. },
  17864. "operateapplyid": {
  17865. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17866. "type": "string"
  17867. },
  17868. "operateapplytype": {
  17869. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17870. "type": "integer"
  17871. },
  17872. "pricemove": {
  17873. "description": "升贴水",
  17874. "type": "number"
  17875. },
  17876. "pricetype": {
  17877. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17878. "type": "integer"
  17879. },
  17880. "relatedid": {
  17881. "description": "现货合同ID",
  17882. "type": "string"
  17883. },
  17884. "sellusername": {
  17885. "description": "销售方名字",
  17886. "type": "string"
  17887. },
  17888. "userid": {
  17889. "description": "用户ID",
  17890. "type": "integer"
  17891. },
  17892. "wrstandardcode": {
  17893. "description": "品类代码",
  17894. "type": "string"
  17895. },
  17896. "wrstandardid": {
  17897. "description": "品类id",
  17898. "type": "integer"
  17899. },
  17900. "wrstandardname": {
  17901. "description": "品类名称",
  17902. "type": "string"
  17903. }
  17904. }
  17905. },
  17906. "ermcp.QryBussinessJsExRsp": {
  17907. "type": "object",
  17908. "properties": {
  17909. "applyid": {
  17910. "description": "申请人",
  17911. "type": "string"
  17912. },
  17913. "applyname": {
  17914. "description": "申请人名称",
  17915. "type": "string"
  17916. },
  17917. "applystatus": {
  17918. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17919. "type": "integer"
  17920. },
  17921. "applytime": {
  17922. "description": "申请时间",
  17923. "type": "string"
  17924. },
  17925. "attachurl": {
  17926. "description": "附件",
  17927. "type": "string"
  17928. },
  17929. "auditid": {
  17930. "description": "审核人ID",
  17931. "type": "string"
  17932. },
  17933. "auditname": {
  17934. "description": "审核人名称",
  17935. "type": "string"
  17936. },
  17937. "auditremark": {
  17938. "description": "审核备注",
  17939. "type": "string"
  17940. },
  17941. "audittime": {
  17942. "description": "审核时间",
  17943. "type": "string"
  17944. },
  17945. "buyusername": {
  17946. "description": "采购方名称",
  17947. "type": "string"
  17948. },
  17949. "contractno": {
  17950. "description": "合同编号",
  17951. "type": "string"
  17952. },
  17953. "contractstatus": {
  17954. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17955. "type": "integer"
  17956. },
  17957. "contracttype": {
  17958. "description": "现货合同类型 - 1:采购 -1:销售",
  17959. "type": "integer"
  17960. },
  17961. "deliverygoodscode": {
  17962. "description": "现货品种代码",
  17963. "type": "string"
  17964. },
  17965. "deliverygoodsid": {
  17966. "description": "现货商品ID",
  17967. "type": "integer"
  17968. },
  17969. "deliverygoodsname": {
  17970. "description": "现货品种名称",
  17971. "type": "string"
  17972. },
  17973. "enumdicname": {
  17974. "description": "单位名称",
  17975. "type": "string"
  17976. },
  17977. "goodscode": {
  17978. "description": "点价合约",
  17979. "type": "string"
  17980. },
  17981. "goodsname": {
  17982. "description": "商品名称",
  17983. "type": "string"
  17984. },
  17985. "operateapplyid": {
  17986. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17987. "type": "string"
  17988. },
  17989. "operateapplytype": {
  17990. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17991. "type": "integer"
  17992. },
  17993. "pricemove": {
  17994. "description": "升贴水",
  17995. "type": "number"
  17996. },
  17997. "pricetype": {
  17998. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17999. "type": "integer"
  18000. },
  18001. "reckontype": {
  18002. "description": "结算类型",
  18003. "type": "string"
  18004. },
  18005. "reckonvalue": {
  18006. "description": "值",
  18007. "type": "number"
  18008. },
  18009. "relatedid": {
  18010. "description": "现货合同ID",
  18011. "type": "string"
  18012. },
  18013. "sellusername": {
  18014. "description": "销售方名字",
  18015. "type": "string"
  18016. },
  18017. "userid": {
  18018. "description": "用户ID",
  18019. "type": "integer"
  18020. },
  18021. "wrstandardcode": {
  18022. "description": "品类代码",
  18023. "type": "string"
  18024. },
  18025. "wrstandardid": {
  18026. "description": "品类id",
  18027. "type": "integer"
  18028. },
  18029. "wrstandardname": {
  18030. "description": "品类名称",
  18031. "type": "string"
  18032. }
  18033. }
  18034. },
  18035. "ermcp.QryBussinessJsRsp": {
  18036. "type": "object",
  18037. "properties": {
  18038. "addmargin": {
  18039. "description": "追加保证金(非必填)",
  18040. "type": "number"
  18041. },
  18042. "applyid": {
  18043. "description": "申请人",
  18044. "type": "string"
  18045. },
  18046. "applyname": {
  18047. "description": "申请人名称",
  18048. "type": "string"
  18049. },
  18050. "applystatus": {
  18051. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18052. "type": "integer"
  18053. },
  18054. "applytime": {
  18055. "description": "申请时间",
  18056. "type": "string"
  18057. },
  18058. "attachurl": {
  18059. "description": "附件",
  18060. "type": "string"
  18061. },
  18062. "auditid": {
  18063. "description": "审核人ID",
  18064. "type": "string"
  18065. },
  18066. "auditname": {
  18067. "description": "审核人名称",
  18068. "type": "string"
  18069. },
  18070. "auditremark": {
  18071. "description": "审核备注",
  18072. "type": "string"
  18073. },
  18074. "audittime": {
  18075. "description": "审核时间",
  18076. "type": "string"
  18077. },
  18078. "buyusername": {
  18079. "description": "采购方名称",
  18080. "type": "string"
  18081. },
  18082. "contractno": {
  18083. "description": "合同编号",
  18084. "type": "string"
  18085. },
  18086. "contractstatus": {
  18087. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18088. "type": "integer"
  18089. },
  18090. "contracttype": {
  18091. "description": "现货合同类型 - 1:采购 -1:销售",
  18092. "type": "integer"
  18093. },
  18094. "decmargin": {
  18095. "description": "减少保证金(非必填)",
  18096. "type": "number"
  18097. },
  18098. "deliverygoodscode": {
  18099. "description": "现货品种代码",
  18100. "type": "string"
  18101. },
  18102. "deliverygoodsid": {
  18103. "description": "现货商品ID",
  18104. "type": "integer"
  18105. },
  18106. "deliverygoodsname": {
  18107. "description": "现货品种名称",
  18108. "type": "string"
  18109. },
  18110. "enumdicname": {
  18111. "description": "单位名称",
  18112. "type": "string"
  18113. },
  18114. "goodscode": {
  18115. "description": "点价合约",
  18116. "type": "string"
  18117. },
  18118. "goodsname": {
  18119. "description": "商品名称",
  18120. "type": "string"
  18121. },
  18122. "operateapplyid": {
  18123. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18124. "type": "string"
  18125. },
  18126. "operateapplytype": {
  18127. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18128. "type": "integer"
  18129. },
  18130. "pricemove": {
  18131. "description": "升贴水",
  18132. "type": "number"
  18133. },
  18134. "pricetype": {
  18135. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18136. "type": "integer"
  18137. },
  18138. "reckonadjustamount": {
  18139. "description": "结算调整金额(非必填)",
  18140. "type": "number"
  18141. },
  18142. "reckonosamount": {
  18143. "description": "结算溢短金额(非必填)",
  18144. "type": "number"
  18145. },
  18146. "reckonotheramount": {
  18147. "description": "结算其他费用(非必填)",
  18148. "type": "number"
  18149. },
  18150. "reckonrealqty": {
  18151. "description": "结算实际数量(非必填)",
  18152. "type": "number"
  18153. },
  18154. "relatedid": {
  18155. "description": "现货合同ID",
  18156. "type": "string"
  18157. },
  18158. "sellusername": {
  18159. "description": "销售方名字",
  18160. "type": "string"
  18161. },
  18162. "userid": {
  18163. "description": "用户ID",
  18164. "type": "integer"
  18165. },
  18166. "wrstandardcode": {
  18167. "description": "品类代码",
  18168. "type": "string"
  18169. },
  18170. "wrstandardid": {
  18171. "description": "品类id",
  18172. "type": "integer"
  18173. },
  18174. "wrstandardname": {
  18175. "description": "品类名称",
  18176. "type": "string"
  18177. }
  18178. }
  18179. },
  18180. "ermcp.QryBussinessKxRsp": {
  18181. "type": "object",
  18182. "properties": {
  18183. "applyid": {
  18184. "description": "申请人",
  18185. "type": "string"
  18186. },
  18187. "applyname": {
  18188. "description": "申请人名称",
  18189. "type": "string"
  18190. },
  18191. "applystatus": {
  18192. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18193. "type": "integer"
  18194. },
  18195. "applytime": {
  18196. "description": "申请时间",
  18197. "type": "string"
  18198. },
  18199. "attachurl": {
  18200. "description": "附件",
  18201. "type": "string"
  18202. },
  18203. "auditid": {
  18204. "description": "审核人ID",
  18205. "type": "string"
  18206. },
  18207. "auditname": {
  18208. "description": "审核人名称",
  18209. "type": "string"
  18210. },
  18211. "auditremark": {
  18212. "description": "审核备注",
  18213. "type": "string"
  18214. },
  18215. "audittime": {
  18216. "description": "审核时间",
  18217. "type": "string"
  18218. },
  18219. "buyusername": {
  18220. "description": "采购方名称",
  18221. "type": "string"
  18222. },
  18223. "contractno": {
  18224. "description": "合同编号",
  18225. "type": "string"
  18226. },
  18227. "contractstatus": {
  18228. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18229. "type": "integer"
  18230. },
  18231. "contracttype": {
  18232. "description": "现货合同类型 - 1:采购 -1:销售",
  18233. "type": "integer"
  18234. },
  18235. "deductamount": {
  18236. "description": "期初均价",
  18237. "type": "number"
  18238. },
  18239. "deliverygoodscode": {
  18240. "description": "现货品种代码",
  18241. "type": "string"
  18242. },
  18243. "deliverygoodsid": {
  18244. "description": "现货商品ID",
  18245. "type": "integer"
  18246. },
  18247. "deliverygoodsname": {
  18248. "description": "现货品种名称",
  18249. "type": "string"
  18250. },
  18251. "enumdicname": {
  18252. "description": "单位名称",
  18253. "type": "string"
  18254. },
  18255. "goodscode": {
  18256. "description": "点价合约",
  18257. "type": "string"
  18258. },
  18259. "goodsname": {
  18260. "description": "商品名称",
  18261. "type": "string"
  18262. },
  18263. "kxtype": {
  18264. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  18265. "type": "integer"
  18266. },
  18267. "operateapplyid": {
  18268. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18269. "type": "string"
  18270. },
  18271. "operateapplytype": {
  18272. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18273. "type": "integer"
  18274. },
  18275. "payamount": {
  18276. "description": "期初均价",
  18277. "type": "number"
  18278. },
  18279. "pricemove": {
  18280. "description": "升贴水",
  18281. "type": "number"
  18282. },
  18283. "pricetype": {
  18284. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18285. "type": "integer"
  18286. },
  18287. "relatedid": {
  18288. "description": "现货合同ID",
  18289. "type": "string"
  18290. },
  18291. "sellusername": {
  18292. "description": "销售方名字",
  18293. "type": "string"
  18294. },
  18295. "userid": {
  18296. "description": "用户ID",
  18297. "type": "integer"
  18298. },
  18299. "wrstandardcode": {
  18300. "description": "品类代码",
  18301. "type": "string"
  18302. },
  18303. "wrstandardid": {
  18304. "description": "品类id",
  18305. "type": "integer"
  18306. },
  18307. "wrstandardname": {
  18308. "description": "品类名称",
  18309. "type": "string"
  18310. }
  18311. }
  18312. },
  18313. "ermcp.QryGGCovertCfgRsp": {
  18314. "type": "object",
  18315. "properties": {
  18316. "convertratio": {
  18317. "description": "折算系数",
  18318. "type": "number"
  18319. },
  18320. "destgoodsgroupid": {
  18321. "description": "目标品种ID",
  18322. "type": "integer"
  18323. },
  18324. "dstcode": {
  18325. "description": "目录品种代码",
  18326. "type": "string"
  18327. },
  18328. "dstexchangecode": {
  18329. "description": "目标期货交易所",
  18330. "type": "string"
  18331. },
  18332. "dstname": {
  18333. "description": "目标品种名称",
  18334. "type": "string"
  18335. },
  18336. "dstunitid": {
  18337. "description": "目标品种单位ID",
  18338. "type": "integer"
  18339. },
  18340. "dstunitidname": {
  18341. "description": "目标品种单位名称",
  18342. "type": "string"
  18343. },
  18344. "modifytime": {
  18345. "description": "修改时间",
  18346. "type": "string"
  18347. },
  18348. "srccode": {
  18349. "description": "源品种代码",
  18350. "type": "string"
  18351. },
  18352. "srcexchangecode": {
  18353. "description": "源期货交易所",
  18354. "type": "string"
  18355. },
  18356. "srcgoodsgroupid": {
  18357. "description": "源品种ID",
  18358. "type": "integer"
  18359. },
  18360. "srcname": {
  18361. "description": "源品种名称",
  18362. "type": "string"
  18363. },
  18364. "srcunitid": {
  18365. "description": "源品种单位ID",
  18366. "type": "integer"
  18367. },
  18368. "srcunitidname": {
  18369. "description": "源品种单位名称",
  18370. "type": "string"
  18371. }
  18372. }
  18373. },
  18374. "ermcp.QryMGChangeLogRsp": {
  18375. "type": "object",
  18376. "properties": {
  18377. "aftervalue": {
  18378. "description": "变更后",
  18379. "type": "number"
  18380. },
  18381. "applyid": {
  18382. "description": "操作人",
  18383. "type": "integer"
  18384. },
  18385. "applyname": {
  18386. "description": "操作人名称",
  18387. "type": "string"
  18388. },
  18389. "applysrc": {
  18390. "description": "操作来源 - 1:管理端 2:终端",
  18391. "type": "integer"
  18392. },
  18393. "beforevalue": {
  18394. "description": "变更前",
  18395. "type": "number"
  18396. },
  18397. "changelogtype": {
  18398. "description": "变更流水类型 - 1:套保比率变更",
  18399. "type": "integer"
  18400. },
  18401. "handlestatus": {
  18402. "description": "处理状态",
  18403. "type": "integer"
  18404. },
  18405. "logdatetime": {
  18406. "description": "流水日期",
  18407. "type": "string"
  18408. },
  18409. "logid": {
  18410. "description": "流水ID",
  18411. "type": "integer"
  18412. },
  18413. "logremark": {
  18414. "description": "流水备注",
  18415. "type": "string"
  18416. },
  18417. "middlegoodsid": {
  18418. "description": "套保品种ID",
  18419. "type": "integer"
  18420. },
  18421. "tradedate": {
  18422. "description": "交易日(yyyyMMdd)",
  18423. "type": "string"
  18424. },
  18425. "updatetime": {
  18426. "description": "更新时间",
  18427. "type": "string"
  18428. }
  18429. }
  18430. },
  18431. "ermcp.QryMiddleGoodsDetailRsp": {
  18432. "type": "object",
  18433. "properties": {
  18434. "cvList": {
  18435. "description": "期货品种折算列表",
  18436. "type": "array",
  18437. "items": {
  18438. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18439. }
  18440. },
  18441. "mg": {
  18442. "description": "套保品种基本信息",
  18443. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18444. },
  18445. "wrcList": {
  18446. "description": "现货品种列表(现货商品折算配置)",
  18447. "type": "array",
  18448. "items": {
  18449. "$ref": "#/definitions/models.WRSConverTDetail"
  18450. }
  18451. }
  18452. }
  18453. },
  18454. "ermcp.QryMiddleGoodsRsp": {
  18455. "type": "object",
  18456. "properties": {
  18457. "areauserid": {
  18458. "description": "机构用户ID",
  18459. "type": "integer"
  18460. },
  18461. "createtime": {
  18462. "description": "修改时间",
  18463. "type": "string"
  18464. },
  18465. "enumdicname": {
  18466. "description": "单位名称",
  18467. "type": "string"
  18468. },
  18469. "evaluateratio": {
  18470. "description": "估价系数",
  18471. "type": "number"
  18472. },
  18473. "goodsgroupid": {
  18474. "description": "关联期货品种ID",
  18475. "type": "integer"
  18476. },
  18477. "goodsunitid": {
  18478. "description": "单位ID",
  18479. "type": "integer"
  18480. },
  18481. "isvalid": {
  18482. "description": "状态 0-无效(停用) 1-有效(正常)",
  18483. "type": "integer"
  18484. },
  18485. "middlegoodscode": {
  18486. "description": "套保品种代码",
  18487. "type": "string"
  18488. },
  18489. "middlegoodsid": {
  18490. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18491. "type": "integer"
  18492. },
  18493. "middlegoodsname": {
  18494. "description": "套保品种名称",
  18495. "type": "string"
  18496. },
  18497. "modifytime": {
  18498. "description": "修改时间",
  18499. "type": "string"
  18500. },
  18501. "needarbitrageratio": {
  18502. "description": "套利比例",
  18503. "type": "number"
  18504. },
  18505. "needhedgeratio": {
  18506. "description": "套保比率",
  18507. "type": "number"
  18508. },
  18509. "qtydecimalplace": {
  18510. "description": "数量小数位",
  18511. "type": "integer"
  18512. },
  18513. "relatedgoodsid": {
  18514. "description": "关联交易商品ID",
  18515. "type": "integer"
  18516. },
  18517. "relatedgoodstype": {
  18518. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18519. "type": "integer"
  18520. },
  18521. "remark": {
  18522. "description": "备注",
  18523. "type": "string"
  18524. }
  18525. }
  18526. },
  18527. "ermcp.QryOPLogRsp": {
  18528. "type": "object",
  18529. "properties": {
  18530. "aftervalue": {
  18531. "description": "变更后",
  18532. "type": "number"
  18533. },
  18534. "applyid": {
  18535. "description": "操作人ID",
  18536. "type": "string"
  18537. },
  18538. "applyname": {
  18539. "description": "操作人名称",
  18540. "type": "string"
  18541. },
  18542. "beforevalue": {
  18543. "description": "变更前",
  18544. "type": "number"
  18545. },
  18546. "biztype": {
  18547. "description": "业务类型 - 1:套保计划 2:现货合同",
  18548. "type": "integer"
  18549. },
  18550. "contracttype": {
  18551. "description": "现货合同类型 - 1:采购 -1:销售",
  18552. "type": "integer"
  18553. },
  18554. "logvalue": {
  18555. "description": "数值",
  18556. "type": "number"
  18557. },
  18558. "operatelogtype": {
  18559. "description": "操作流水类型",
  18560. "type": "integer"
  18561. },
  18562. "operatelogtypedesc": {
  18563. "description": "操作流水类型名称",
  18564. "type": "string"
  18565. },
  18566. "relatedid": {
  18567. "description": "现货合同ID\\套保计划",
  18568. "type": "string"
  18569. },
  18570. "updatetime": {
  18571. "description": "更新时间",
  18572. "type": "string"
  18573. }
  18574. }
  18575. },
  18576. "ermcp.QryUserInfoRsp": {
  18577. "type": "object",
  18578. "properties": {
  18579. "address": {
  18580. "description": "通讯地址",
  18581. "type": "string"
  18582. },
  18583. "attachment1": {
  18584. "description": "附件1",
  18585. "type": "string"
  18586. },
  18587. "audittime": {
  18588. "description": "审核时间",
  18589. "type": "string"
  18590. },
  18591. "cardbackphotourl": {
  18592. "description": "证件反面图片地址",
  18593. "type": "string"
  18594. },
  18595. "cardfrontphotourl": {
  18596. "description": "证件正面图片地址",
  18597. "type": "string"
  18598. },
  18599. "cardnum": {
  18600. "description": "证件号码",
  18601. "type": "string"
  18602. },
  18603. "cardtype": {
  18604. "description": "证件类型",
  18605. "type": "integer"
  18606. },
  18607. "cardtypename": {
  18608. "description": "证件类型名称",
  18609. "type": "string"
  18610. },
  18611. "cityid": {
  18612. "description": "市",
  18613. "type": "integer"
  18614. },
  18615. "contactname": {
  18616. "description": "联系人",
  18617. "type": "string"
  18618. },
  18619. "countryid": {
  18620. "description": "国家",
  18621. "type": "integer"
  18622. },
  18623. "createtime": {
  18624. "description": "创建时间",
  18625. "type": "string"
  18626. },
  18627. "customername": {
  18628. "description": "企业名称",
  18629. "type": "string"
  18630. },
  18631. "districtid": {
  18632. "description": "区域",
  18633. "type": "integer"
  18634. },
  18635. "email": {
  18636. "description": "邮件",
  18637. "type": "string"
  18638. },
  18639. "legalpersonname": {
  18640. "description": "法人姓名(企业)",
  18641. "type": "string"
  18642. },
  18643. "memberuserid": {
  18644. "description": "所属机构ID",
  18645. "type": "integer"
  18646. },
  18647. "mobile": {
  18648. "description": "手机号码",
  18649. "type": "string"
  18650. },
  18651. "modifytime": {
  18652. "description": "修改时间",
  18653. "type": "string"
  18654. },
  18655. "nickname": {
  18656. "description": "昵称",
  18657. "type": "string"
  18658. },
  18659. "provinceid": {
  18660. "description": "省",
  18661. "type": "integer"
  18662. },
  18663. "remark": {
  18664. "description": "备注",
  18665. "type": "string"
  18666. },
  18667. "status": {
  18668. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18669. "type": "integer"
  18670. },
  18671. "statusdesc": {
  18672. "description": "账户状态中文描述",
  18673. "type": "string"
  18674. },
  18675. "taxpayernum": {
  18676. "description": "纳税人识别号",
  18677. "type": "string"
  18678. },
  18679. "telphone": {
  18680. "description": "联系电话",
  18681. "type": "string"
  18682. },
  18683. "userid": {
  18684. "description": "用户ID",
  18685. "type": "integer"
  18686. },
  18687. "userinfotype": {
  18688. "description": "客户类型",
  18689. "type": "string"
  18690. }
  18691. }
  18692. },
  18693. "ermcp.QryWarehouseRsp": {
  18694. "type": "object",
  18695. "properties": {
  18696. "address": {
  18697. "description": "详细地址",
  18698. "type": "string"
  18699. },
  18700. "areauserid": {
  18701. "description": "所属机构",
  18702. "type": "integer"
  18703. },
  18704. "autoid": {
  18705. "description": "自增ID(仓库ID)",
  18706. "type": "integer"
  18707. },
  18708. "cityid": {
  18709. "description": "市",
  18710. "type": "integer"
  18711. },
  18712. "contactname": {
  18713. "description": "联系人",
  18714. "type": "string"
  18715. },
  18716. "contactnum": {
  18717. "description": "联系电话",
  18718. "type": "string"
  18719. },
  18720. "countryid": {
  18721. "description": "国家",
  18722. "type": "integer"
  18723. },
  18724. "createtime": {
  18725. "description": "创建时间",
  18726. "type": "string"
  18727. },
  18728. "districtid": {
  18729. "description": "区",
  18730. "type": "integer"
  18731. },
  18732. "hasvideo": {
  18733. "description": "是否有视频 - 0:无 1:有",
  18734. "type": "integer"
  18735. },
  18736. "provinceid": {
  18737. "description": "省",
  18738. "type": "integer"
  18739. },
  18740. "remark": {
  18741. "description": "审核备注",
  18742. "type": "string"
  18743. },
  18744. "videourl": {
  18745. "description": "视频地址",
  18746. "type": "string"
  18747. },
  18748. "warehousecode": {
  18749. "description": "仓库代码",
  18750. "type": "string"
  18751. },
  18752. "warehousename": {
  18753. "description": "仓库名称",
  18754. "type": "string"
  18755. },
  18756. "warehousestatus": {
  18757. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18758. "type": "integer"
  18759. },
  18760. "warehousetype": {
  18761. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18762. "type": "integer"
  18763. }
  18764. }
  18765. },
  18766. "ermcp.QueryErmcpTradePositionRsp": {
  18767. "type": "object",
  18768. "properties": {
  18769. "agreeunit": {
  18770. "description": "合约单位",
  18771. "type": "number"
  18772. },
  18773. "buyorsell": {
  18774. "description": "方向 - 0:买 1:卖",
  18775. "type": "integer"
  18776. },
  18777. "curpositionqty": {
  18778. "description": "持仓(总仓数量, 期末头寸)",
  18779. "type": "integer"
  18780. },
  18781. "curtdposition": {
  18782. "description": "今仓数量(期末今日头寸)",
  18783. "type": "integer"
  18784. },
  18785. "curtdpositionenabled": {
  18786. "description": "今仓可用",
  18787. "type": "integer"
  18788. },
  18789. "decimalplace": {
  18790. "description": "报价小数位",
  18791. "type": "integer"
  18792. },
  18793. "enableqty": {
  18794. "description": "可用(总仓可用)",
  18795. "type": "integer"
  18796. },
  18797. "exexchangename": {
  18798. "description": "外部交易所名称",
  18799. "type": "string"
  18800. },
  18801. "exexehangecode": {
  18802. "description": "外部交易所代码",
  18803. "type": "string"
  18804. },
  18805. "exexehangeid": {
  18806. "description": "外部交易所id",
  18807. "type": "integer"
  18808. },
  18809. "goodscode": {
  18810. "description": "商品代码(内部)",
  18811. "type": "string"
  18812. },
  18813. "goodsid": {
  18814. "description": "商品ID(自增ID SEQ_GOODS)",
  18815. "type": "integer"
  18816. },
  18817. "goodsname": {
  18818. "description": "商品名称",
  18819. "type": "string"
  18820. },
  18821. "last": {
  18822. "description": "现价",
  18823. "type": "number"
  18824. },
  18825. "marketid": {
  18826. "description": "所属市场ID",
  18827. "type": "integer"
  18828. },
  18829. "openaverageprice": {
  18830. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  18831. "type": "number"
  18832. },
  18833. "opencost": {
  18834. "description": "开仓成本",
  18835. "type": "number"
  18836. },
  18837. "openpl": {
  18838. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18839. "type": "number"
  18840. },
  18841. "outgoodscode": {
  18842. "description": "商品代码(外部)",
  18843. "type": "string"
  18844. },
  18845. "positionaverageprice": {
  18846. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  18847. "type": "number"
  18848. },
  18849. "positioncost": {
  18850. "description": "持仓成本",
  18851. "type": "number"
  18852. },
  18853. "positionpl": {
  18854. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18855. "type": "number"
  18856. },
  18857. "positionplrate": {
  18858. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  18859. "type": "number"
  18860. },
  18861. "usedmargin": {
  18862. "description": "占用保证金",
  18863. "type": "number"
  18864. }
  18865. }
  18866. },
  18867. "ermcp.RealtimeExposurePositionRsp": {
  18868. "type": "object",
  18869. "properties": {
  18870. "agreeunit": {
  18871. "description": "合约单位",
  18872. "type": "string"
  18873. },
  18874. "areauserid": {
  18875. "description": "所属机构id",
  18876. "type": "integer"
  18877. },
  18878. "convertratio": {
  18879. "description": "期货品种系数(折算系数)",
  18880. "type": "number"
  18881. },
  18882. "curhedgeqty": {
  18883. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  18884. "type": "number"
  18885. },
  18886. "curqty": {
  18887. "description": "当前持仓",
  18888. "type": "integer"
  18889. },
  18890. "diffhedgeqty": {
  18891. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18892. "type": "number"
  18893. },
  18894. "diffqty": {
  18895. "description": "持仓变动量=当前持仓-昨日持仓",
  18896. "type": "integer"
  18897. },
  18898. "goodscode": {
  18899. "description": "商品代码",
  18900. "type": "string"
  18901. },
  18902. "goodsid": {
  18903. "description": "商品id",
  18904. "type": "integer"
  18905. },
  18906. "goodsname": {
  18907. "description": "商品名称",
  18908. "type": "string"
  18909. },
  18910. "hedgeaccountcode": {
  18911. "description": "对冲账号(只有外部账号才有值)",
  18912. "type": "string"
  18913. },
  18914. "middlegoodscode": {
  18915. "description": "套保商品代码",
  18916. "type": "string"
  18917. },
  18918. "middlegoodsid": {
  18919. "description": "套保商品id",
  18920. "type": "integer"
  18921. },
  18922. "middlegoodsname": {
  18923. "description": "套保商品名称",
  18924. "type": "string"
  18925. },
  18926. "ydqty": {
  18927. "description": "昨日持仓",
  18928. "type": "integer"
  18929. }
  18930. }
  18931. },
  18932. "ermcp.RealtimeExposureRsp": {
  18933. "type": "object",
  18934. "properties": {
  18935. "AreaUserID": {
  18936. "description": "所属机构",
  18937. "type": "integer"
  18938. },
  18939. "BuyFutureQty": {
  18940. "description": "买入期货数量",
  18941. "type": "number"
  18942. },
  18943. "BuyPlanQty": {
  18944. "description": "采购计划数量",
  18945. "type": "number"
  18946. },
  18947. "BuyPricedQty": {
  18948. "description": "采购合同已定价数量",
  18949. "type": "number"
  18950. },
  18951. "MiddleGoodsCode": {
  18952. "description": "套保品种代码",
  18953. "type": "string"
  18954. },
  18955. "MiddleGoodsHedgeRatio": {
  18956. "description": "套保比例",
  18957. "type": "number"
  18958. },
  18959. "MiddleGoodsID": {
  18960. "description": "套保品种",
  18961. "type": "integer"
  18962. },
  18963. "MiddleGoodsName": {
  18964. "description": "套保品种名称",
  18965. "type": "string"
  18966. },
  18967. "NeedHedgeExposoure": {
  18968. "description": "应套保敞口(套保敞口)",
  18969. "type": "number"
  18970. },
  18971. "NeedHedgeRatio": {
  18972. "description": "应套保敞口比例",
  18973. "type": "number"
  18974. },
  18975. "OriBuyFutureQty": {
  18976. "description": "期初买入期货数量",
  18977. "type": "number"
  18978. },
  18979. "OriBuyPlanQty": {
  18980. "description": "期初采购计划数量",
  18981. "type": "number"
  18982. },
  18983. "OriBuyPricedQty": {
  18984. "description": "期初采购合同已定价数量",
  18985. "type": "number"
  18986. },
  18987. "OriSellFutureQty": {
  18988. "description": "期初卖出期货数量",
  18989. "type": "number"
  18990. },
  18991. "OriSellPlanQty": {
  18992. "description": "期初销售计划数量",
  18993. "type": "number"
  18994. },
  18995. "OriSellPricedQty": {
  18996. "description": "期初销售合同已定价数量",
  18997. "type": "number"
  18998. },
  18999. "OriTotalSpotQty": {
  19000. "description": "期初现货总量",
  19001. "type": "number"
  19002. },
  19003. "SellFutureQty": {
  19004. "description": "卖出期货数量",
  19005. "type": "number"
  19006. },
  19007. "SellPlanQty": {
  19008. "description": "销售计划数量",
  19009. "type": "number"
  19010. },
  19011. "SellPricedQty": {
  19012. "description": "销售合同已定价数量",
  19013. "type": "number"
  19014. },
  19015. "TotalExposure": {
  19016. "description": "总敞口 平安:净敞口",
  19017. "type": "number"
  19018. },
  19019. "TotalFutureQty": {
  19020. "description": "期货总量 平安:保值净持仓量",
  19021. "type": "number"
  19022. },
  19023. "TotalHedgeRatio": {
  19024. "description": "敞口比例",
  19025. "type": "number"
  19026. },
  19027. "TotalNeedHedgeQty": {
  19028. "description": "应套保总量(现货应套保总量)",
  19029. "type": "number"
  19030. },
  19031. "TotalSpotQty": {
  19032. "description": "现货总量 平安:采销定价净值",
  19033. "type": "number"
  19034. },
  19035. "arbitrageqty": {
  19036. "description": "套利量",
  19037. "type": "number"
  19038. },
  19039. "diffArbitrageQty": {
  19040. "description": "期初均价",
  19041. "type": "number"
  19042. },
  19043. "diffExposoureQty": {
  19044. "description": "期初均价",
  19045. "type": "number"
  19046. },
  19047. "diffFutuQty": {
  19048. "description": "期初均价",
  19049. "type": "number"
  19050. },
  19051. "diffHedgeQty": {
  19052. "description": "期初均价",
  19053. "type": "number"
  19054. },
  19055. "diffQty": {
  19056. "description": "期初均价",
  19057. "type": "number"
  19058. },
  19059. "diffSpotHedgeQty": {
  19060. "description": "期初均价",
  19061. "type": "number"
  19062. },
  19063. "diffSpotQty": {
  19064. "description": "期初均价",
  19065. "type": "number"
  19066. },
  19067. "enumdicname": {
  19068. "description": "单位名称",
  19069. "type": "string"
  19070. },
  19071. "hedgeqty": {
  19072. "description": "套保量",
  19073. "type": "number"
  19074. },
  19075. "needarbitrageqty": {
  19076. "description": "应套利量",
  19077. "type": "number"
  19078. },
  19079. "needarbitrageratio": {
  19080. "description": "套利比例",
  19081. "type": "number"
  19082. },
  19083. "needhedgeqty": {
  19084. "description": "应套保量",
  19085. "type": "number"
  19086. },
  19087. "oriarbitrageqty": {
  19088. "description": "期初套利量",
  19089. "type": "number"
  19090. },
  19091. "orihedgeqty": {
  19092. "description": "期初套保量",
  19093. "type": "number"
  19094. },
  19095. "orineedhedgeexposoure": {
  19096. "description": "期初套保敞口",
  19097. "type": "number"
  19098. },
  19099. "oritotalexposure": {
  19100. "description": "期初总敞口",
  19101. "type": "number"
  19102. },
  19103. "oritotalfutureqty": {
  19104. "description": "期初期货总量",
  19105. "type": "number"
  19106. },
  19107. "oritotalneedhedgeqty": {
  19108. "description": "期初现货应套保量",
  19109. "type": "number"
  19110. }
  19111. }
  19112. },
  19113. "erms2.QueryArbitrageStrategyRsp": {
  19114. "type": "object",
  19115. "required": [
  19116. "asapplyid"
  19117. ],
  19118. "properties": {
  19119. "applybasis": {
  19120. "description": "申请基差",
  19121. "type": "number"
  19122. },
  19123. "asapplyid": {
  19124. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  19125. "type": "string"
  19126. },
  19127. "asname": {
  19128. "description": "策略名称",
  19129. "type": "string"
  19130. },
  19131. "asno": {
  19132. "description": "策略编号",
  19133. "type": "string"
  19134. },
  19135. "basischangepl": {
  19136. "description": "基差变动损益[结算更新]",
  19137. "type": "number"
  19138. },
  19139. "biztype": {
  19140. "description": "业务类型 - 1:正向套利 -1:反向套利",
  19141. "type": "integer"
  19142. },
  19143. "closetradedate": {
  19144. "description": "完结交易日(yyyyMMdd)",
  19145. "type": "string"
  19146. },
  19147. "curbasis": {
  19148. "description": "当前基差[结算更新]",
  19149. "type": "number"
  19150. },
  19151. "deliverygoodsid": {
  19152. "description": "现货品种ID",
  19153. "type": "integer"
  19154. },
  19155. "futureavgprice": {
  19156. "description": "期货建仓均价",
  19157. "type": "number"
  19158. },
  19159. "futurecloseamount": {
  19160. "description": "期货平仓金额",
  19161. "type": "number"
  19162. },
  19163. "futurecloseqty": {
  19164. "description": "期货平仓数量",
  19165. "type": "number"
  19166. },
  19167. "futureopenamount": {
  19168. "description": "期货开仓金额",
  19169. "type": "number"
  19170. },
  19171. "futureopenqty": {
  19172. "description": "期货开仓数量",
  19173. "type": "number"
  19174. },
  19175. "futurepl": {
  19176. "description": "期货总盈亏[结算更新]",
  19177. "type": "number"
  19178. },
  19179. "futureqty": {
  19180. "description": "期货持仓数量",
  19181. "type": "number"
  19182. },
  19183. "futurequote": {
  19184. "description": "期货额度",
  19185. "type": "number"
  19186. },
  19187. "goodsgroupid": {
  19188. "description": "期货品种ID",
  19189. "type": "integer"
  19190. },
  19191. "marketid": {
  19192. "description": "市场ID",
  19193. "type": "integer"
  19194. },
  19195. "netexposure": {
  19196. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  19197. "type": "number"
  19198. },
  19199. "netexposurepl": {
  19200. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  19201. "type": "number"
  19202. },
  19203. "netexposurerate": {
  19204. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  19205. "type": "number"
  19206. },
  19207. "openbasis": {
  19208. "description": "建仓基差",
  19209. "type": "number"
  19210. },
  19211. "pricedspotqty": {
  19212. "description": "已定价现货数量",
  19213. "type": "number"
  19214. },
  19215. "pricedspotqtynotax": {
  19216. "description": "已定价现货不含税数量",
  19217. "type": "number"
  19218. },
  19219. "remark": {
  19220. "description": "备注",
  19221. "type": "string"
  19222. },
  19223. "spotavgprice": {
  19224. "description": "现货均价",
  19225. "type": "number"
  19226. },
  19227. "spotbuyamount": {
  19228. "description": "现货采购金额",
  19229. "type": "number"
  19230. },
  19231. "spotbuyqty": {
  19232. "description": "现货采购数量",
  19233. "type": "number"
  19234. },
  19235. "spotpl": {
  19236. "description": "现货总盈亏[结算更新]",
  19237. "type": "number"
  19238. },
  19239. "spotquota": {
  19240. "description": "现货额度",
  19241. "type": "number"
  19242. },
  19243. "spotsellamount": {
  19244. "description": "现货销售金额",
  19245. "type": "number"
  19246. },
  19247. "spotsellqty": {
  19248. "description": "现货销售数量",
  19249. "type": "number"
  19250. },
  19251. "spotusedquota": {
  19252. "description": "现货占用资金",
  19253. "type": "number"
  19254. },
  19255. "strategystatus": {
  19256. "description": "策略状态 - 0:未结束 1:已结束",
  19257. "type": "integer"
  19258. },
  19259. "totalpl": {
  19260. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  19261. "type": "number"
  19262. },
  19263. "tradedate": {
  19264. "description": "交易日(yyyyMMdd)",
  19265. "type": "string"
  19266. },
  19267. "updatetime": {
  19268. "description": "更新时间",
  19269. "type": "string"
  19270. },
  19271. "usedquota": {
  19272. "description": "已占用资金",
  19273. "type": "number"
  19274. },
  19275. "userid": {
  19276. "description": "所属机构",
  19277. "type": "integer"
  19278. }
  19279. }
  19280. },
  19281. "erms2.QueryInnerTradeDetailRsp": {
  19282. "type": "object",
  19283. "required": [
  19284. "asapplyid",
  19285. "buyorsell",
  19286. "goodscode",
  19287. "goodsgroupid",
  19288. "goodsgroupname",
  19289. "goodsname",
  19290. "tradeid"
  19291. ],
  19292. "properties": {
  19293. "accountid": {
  19294. "description": "账号ID",
  19295. "type": "integer"
  19296. },
  19297. "agreeunit": {
  19298. "description": "合约单位",
  19299. "type": "number"
  19300. },
  19301. "asapplyid": {
  19302. "description": "策略申请ID",
  19303. "type": "integer"
  19304. },
  19305. "asname": {
  19306. "description": "策略名称",
  19307. "type": "string"
  19308. },
  19309. "asno": {
  19310. "description": "策略编号",
  19311. "type": "string"
  19312. },
  19313. "buyorsell": {
  19314. "description": "方向 - 0:买 1:卖",
  19315. "type": "integer"
  19316. },
  19317. "channelbuildtype": {
  19318. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19319. "type": "integer"
  19320. },
  19321. "closetype": {
  19322. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19323. "type": "integer"
  19324. },
  19325. "decimalplace": {
  19326. "description": "报价小数位",
  19327. "type": "integer"
  19328. },
  19329. "detailtype": {
  19330. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  19331. "type": "integer"
  19332. },
  19333. "exexchangecode": {
  19334. "description": "外部交易所代码",
  19335. "type": "string"
  19336. },
  19337. "exexchangename": {
  19338. "description": "外部交易所名称",
  19339. "type": "string"
  19340. },
  19341. "goodscode": {
  19342. "description": "商品代码(合约)",
  19343. "type": "string"
  19344. },
  19345. "goodsgroupid": {
  19346. "description": "商品组ID(品种ID)",
  19347. "type": "integer"
  19348. },
  19349. "goodsgroupname": {
  19350. "description": "商品组名称(品种)",
  19351. "type": "string"
  19352. },
  19353. "goodsid": {
  19354. "description": "商品ID",
  19355. "type": "integer"
  19356. },
  19357. "goodsname": {
  19358. "description": "商品名称(合约)",
  19359. "type": "string"
  19360. },
  19361. "goodunit": {
  19362. "description": "报价单位",
  19363. "type": "string"
  19364. },
  19365. "marketid": {
  19366. "description": "市场ID",
  19367. "type": "integer"
  19368. },
  19369. "orderid": {
  19370. "description": "委托单号",
  19371. "type": "string"
  19372. },
  19373. "outgoodscode": {
  19374. "description": "商品代码(外部)",
  19375. "type": "string"
  19376. },
  19377. "relatedouttradeid": {
  19378. "description": "关联外部成交单ID",
  19379. "type": "string"
  19380. },
  19381. "remark": {
  19382. "description": "备注",
  19383. "type": "string"
  19384. },
  19385. "spotcontractid": {
  19386. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  19387. "type": "integer"
  19388. },
  19389. "spotcontractno": {
  19390. "description": "现货合同编号",
  19391. "type": "string"
  19392. },
  19393. "tradeid": {
  19394. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19395. "type": "string"
  19396. },
  19397. "tradeprice": {
  19398. "description": "成交价格",
  19399. "type": "number"
  19400. },
  19401. "tradeqty": {
  19402. "description": "成交数量",
  19403. "type": "integer"
  19404. },
  19405. "tradetime": {
  19406. "description": "成交时间",
  19407. "type": "string"
  19408. },
  19409. "updatetime": {
  19410. "description": "更新时间",
  19411. "type": "string"
  19412. }
  19413. }
  19414. },
  19415. "erms2.QuerySpotContractRsp": {
  19416. "type": "object",
  19417. "required": [
  19418. "spotcontractid"
  19419. ],
  19420. "properties": {
  19421. "accountid": {
  19422. "description": "资金账户ID",
  19423. "type": "integer"
  19424. },
  19425. "areauserid": {
  19426. "description": "所属机构",
  19427. "type": "integer"
  19428. },
  19429. "closedate": {
  19430. "description": "终止日期",
  19431. "type": "string"
  19432. },
  19433. "closeremark": {
  19434. "description": "结束备注",
  19435. "type": "string"
  19436. },
  19437. "closetradedate": {
  19438. "description": "完结交易日(yyyyMMdd)",
  19439. "type": "string"
  19440. },
  19441. "closetype": {
  19442. "description": "终止类型 - 1:违约 2:提前终止",
  19443. "type": "integer"
  19444. },
  19445. "contractamount": {
  19446. "description": "合同金额",
  19447. "type": "number"
  19448. },
  19449. "contractattachment": {
  19450. "description": "合同附件",
  19451. "type": "string"
  19452. },
  19453. "contractno": {
  19454. "description": "现货合同编号",
  19455. "type": "string"
  19456. },
  19457. "contractqty": {
  19458. "description": "合同数量(数值) (用于计算)",
  19459. "type": "number"
  19460. },
  19461. "contractqtychar": {
  19462. "description": "合同数量\\已订价数量 (用于显示)",
  19463. "type": "string"
  19464. },
  19465. "contractstatus": {
  19466. "description": "合同状态 - 0:未结束 1:已结束",
  19467. "type": "integer"
  19468. },
  19469. "contracttype": {
  19470. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  19471. "type": "integer"
  19472. },
  19473. "customeraccountid": {
  19474. "description": "客户资金账户ID",
  19475. "type": "integer"
  19476. },
  19477. "customeruserid": {
  19478. "description": "客户ID",
  19479. "type": "integer"
  19480. },
  19481. "deliverygoodsdesc": {
  19482. "description": "品种说明",
  19483. "type": "string"
  19484. },
  19485. "deliverygoodsid": {
  19486. "description": "现货品种ID",
  19487. "type": "integer"
  19488. },
  19489. "handlestatus": {
  19490. "description": "处理状态",
  19491. "type": "integer"
  19492. },
  19493. "invoiceatt": {
  19494. "description": "发票附件",
  19495. "type": "string"
  19496. },
  19497. "invoicedatetime": {
  19498. "description": "开收票更新时间",
  19499. "type": "string"
  19500. },
  19501. "invoiceopentime": {
  19502. "description": "开票时间",
  19503. "type": "string"
  19504. },
  19505. "invoiceremark": {
  19506. "description": "发票备注",
  19507. "type": "string"
  19508. },
  19509. "invoicestatus": {
  19510. "description": "开收票状态 - 0:未开票 1:已开票",
  19511. "type": "integer"
  19512. },
  19513. "lastdate": {
  19514. "description": "交货时间",
  19515. "type": "string"
  19516. },
  19517. "marketid": {
  19518. "description": "市场ID",
  19519. "type": "integer"
  19520. },
  19521. "paydatetime": {
  19522. "description": "收付款更新时间",
  19523. "type": "string"
  19524. },
  19525. "payremark": {
  19526. "description": "收付款备注",
  19527. "type": "string"
  19528. },
  19529. "paystatus": {
  19530. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  19531. "type": "integer"
  19532. },
  19533. "positionqty": {
  19534. "description": "头寸数量 - 合同数量去小数部分",
  19535. "type": "integer"
  19536. },
  19537. "producttype": {
  19538. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19539. "type": "integer"
  19540. },
  19541. "relatedqty": {
  19542. "description": "已关联数量",
  19543. "type": "number"
  19544. },
  19545. "relatedstatus": {
  19546. "description": "关联完结状态 - 0:未结束 1:已结束",
  19547. "type": "integer"
  19548. },
  19549. "remark": {
  19550. "description": "备注",
  19551. "type": "string"
  19552. },
  19553. "signdate": {
  19554. "description": "签订日期",
  19555. "type": "string"
  19556. },
  19557. "spotcontractid": {
  19558. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  19559. "type": "string"
  19560. },
  19561. "spotdatetime": {
  19562. "description": "收发货更新时间",
  19563. "type": "string"
  19564. },
  19565. "spotprice": {
  19566. "description": "价格",
  19567. "type": "number"
  19568. },
  19569. "spotremark": {
  19570. "description": "收发货备注",
  19571. "type": "string"
  19572. },
  19573. "spotstatus": {
  19574. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  19575. "type": "integer"
  19576. },
  19577. "tradedate": {
  19578. "description": "交易日(yyyyMMdd)",
  19579. "type": "string"
  19580. },
  19581. "userid": {
  19582. "description": "业务员用户ID",
  19583. "type": "integer"
  19584. },
  19585. "warehouseid": {
  19586. "description": "仓库ID",
  19587. "type": "integer"
  19588. },
  19589. "wrfactortypeid": {
  19590. "description": "仓单要素类型ID",
  19591. "type": "integer"
  19592. },
  19593. "wrstandardid": {
  19594. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19595. "type": "integer"
  19596. }
  19597. }
  19598. },
  19599. "erms3.AddErms2ASApplyReq": {
  19600. "type": "object",
  19601. "required": [
  19602. "asapplyid"
  19603. ],
  19604. "properties": {
  19605. "applybasis": {
  19606. "description": "申请基差",
  19607. "type": "number"
  19608. },
  19609. "applystatus": {
  19610. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19611. "type": "integer"
  19612. },
  19613. "asapplyid": {
  19614. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  19615. "type": "integer"
  19616. },
  19617. "asname": {
  19618. "description": "策略名称",
  19619. "type": "string"
  19620. },
  19621. "asno": {
  19622. "description": "策略编号",
  19623. "type": "string"
  19624. },
  19625. "auditid": {
  19626. "description": "审核人",
  19627. "type": "integer"
  19628. },
  19629. "auditremark": {
  19630. "description": "审核备注",
  19631. "type": "string"
  19632. },
  19633. "audittime": {
  19634. "description": "审核时间",
  19635. "type": "string"
  19636. },
  19637. "biztype": {
  19638. "description": "业务类型 - 1:正向套利 2:反向套利",
  19639. "type": "integer"
  19640. },
  19641. "createtime": {
  19642. "description": "创建时间",
  19643. "type": "string"
  19644. },
  19645. "creatorid": {
  19646. "description": "创建人",
  19647. "type": "integer"
  19648. },
  19649. "deliverygoodsid": {
  19650. "description": "现货品种ID",
  19651. "type": "integer"
  19652. },
  19653. "futurequote": {
  19654. "description": "期货额度",
  19655. "type": "number"
  19656. },
  19657. "goodsgroupid": {
  19658. "description": "期货品种ID",
  19659. "type": "integer"
  19660. },
  19661. "marketid": {
  19662. "description": "市场ID",
  19663. "type": "integer"
  19664. },
  19665. "remark": {
  19666. "description": "备注",
  19667. "type": "string"
  19668. },
  19669. "spotquota": {
  19670. "description": "现货额度",
  19671. "type": "number"
  19672. },
  19673. "tradedate": {
  19674. "description": "交易日(yyyyMMdd)",
  19675. "type": "string"
  19676. },
  19677. "userid": {
  19678. "description": "所属机构",
  19679. "type": "integer"
  19680. }
  19681. }
  19682. },
  19683. "erms3.AddErms2SpotTradeApplyReq": {
  19684. "type": "object",
  19685. "required": [
  19686. "spottradeid"
  19687. ],
  19688. "properties": {
  19689. "applyjsondetail": {
  19690. "description": "申请明细(JSON)",
  19691. "type": "string"
  19692. },
  19693. "applystatus": {
  19694. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19695. "type": "integer"
  19696. },
  19697. "areauserid": {
  19698. "description": "所属机构",
  19699. "type": "integer"
  19700. },
  19701. "auditid": {
  19702. "description": "审核人",
  19703. "type": "integer"
  19704. },
  19705. "auditremark": {
  19706. "description": "审核备注",
  19707. "type": "string"
  19708. },
  19709. "audittime": {
  19710. "description": "审核时间",
  19711. "type": "string"
  19712. },
  19713. "createtime": {
  19714. "description": "创建时间",
  19715. "type": "string"
  19716. },
  19717. "creatorid": {
  19718. "description": "创建人",
  19719. "type": "integer"
  19720. },
  19721. "deliverygoodsid": {
  19722. "description": "现货品种ID",
  19723. "type": "integer"
  19724. },
  19725. "futureaccountid": {
  19726. "description": "期货资金账户",
  19727. "type": "integer"
  19728. },
  19729. "goodsgroupid": {
  19730. "description": "期货品种",
  19731. "type": "integer"
  19732. },
  19733. "marketid": {
  19734. "description": "市场ID",
  19735. "type": "integer"
  19736. },
  19737. "remark": {
  19738. "description": "备注",
  19739. "type": "string"
  19740. },
  19741. "spotaccountid": {
  19742. "description": "现货资金账户",
  19743. "type": "integer"
  19744. },
  19745. "spottradeid": {
  19746. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  19747. "type": "integer"
  19748. },
  19749. "spottradename": {
  19750. "description": "业务名称",
  19751. "type": "string"
  19752. },
  19753. "spottradeno": {
  19754. "description": "业务编号",
  19755. "type": "string"
  19756. },
  19757. "tradedate": {
  19758. "description": "交易日(yyyyMMdd)",
  19759. "type": "string"
  19760. },
  19761. "wrstandardid": {
  19762. "description": "仓单标准ID",
  19763. "type": "integer"
  19764. }
  19765. }
  19766. },
  19767. "erms3.AddSpotContractApplyReq": {
  19768. "type": "object",
  19769. "required": [
  19770. "accountid",
  19771. "areauserid",
  19772. "contractno",
  19773. "contracttype",
  19774. "customeraccountid",
  19775. "customeruserid",
  19776. "details",
  19777. "orimargin",
  19778. "signdate"
  19779. ],
  19780. "properties": {
  19781. "accountid": {
  19782. "description": "资金账户ID",
  19783. "type": "integer"
  19784. },
  19785. "areauserid": {
  19786. "description": "所属机构",
  19787. "type": "integer"
  19788. },
  19789. "contractattachment": {
  19790. "description": "合同附件",
  19791. "type": "string"
  19792. },
  19793. "contractno": {
  19794. "description": "现货合同编号",
  19795. "type": "string"
  19796. },
  19797. "contracttype": {
  19798. "description": "现货合同类型 - 1:采购 -1:销售",
  19799. "type": "integer"
  19800. },
  19801. "creatorid": {
  19802. "description": "申请人",
  19803. "type": "integer"
  19804. },
  19805. "customeraccountid": {
  19806. "description": "客户资金账户ID",
  19807. "type": "integer"
  19808. },
  19809. "customeruserid": {
  19810. "description": "客户ID",
  19811. "type": "integer"
  19812. },
  19813. "details": {
  19814. "description": "明细",
  19815. "type": "array",
  19816. "items": {
  19817. "$ref": "#/definitions/erms3.SoptContractDetail"
  19818. }
  19819. },
  19820. "orimargin": {
  19821. "description": "初始保证金",
  19822. "type": "number"
  19823. },
  19824. "remark": {
  19825. "description": "备注",
  19826. "type": "string"
  19827. },
  19828. "signdate": {
  19829. "description": "签订日期",
  19830. "type": "string"
  19831. }
  19832. }
  19833. },
  19834. "erms3.AddSpotContractApplyRsp": {
  19835. "type": "object",
  19836. "required": [
  19837. "contractno"
  19838. ],
  19839. "properties": {
  19840. "contractno": {
  19841. "description": "现货合同编号",
  19842. "type": "string"
  19843. },
  19844. "spotcontractid": {
  19845. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  19846. "type": "integer"
  19847. }
  19848. }
  19849. },
  19850. "erms3.AddUserInfoApplyReq": {
  19851. "type": "object",
  19852. "required": [
  19853. "userid"
  19854. ],
  19855. "properties": {
  19856. "accountid": {
  19857. "description": "交易系统帐号Id (加密存储)",
  19858. "type": "integer"
  19859. },
  19860. "areacode": {
  19861. "description": "机构代码",
  19862. "type": "string"
  19863. },
  19864. "areaid": {
  19865. "description": "机构Id",
  19866. "type": "integer"
  19867. },
  19868. "attachment1": {
  19869. "description": "附件1",
  19870. "type": "string"
  19871. },
  19872. "attachment2": {
  19873. "description": "附件2",
  19874. "type": "string"
  19875. },
  19876. "attachment3": {
  19877. "description": "附件3",
  19878. "type": "string"
  19879. },
  19880. "attachment4": {
  19881. "description": "附件4",
  19882. "type": "string"
  19883. },
  19884. "attachment5": {
  19885. "description": "附件5",
  19886. "type": "string"
  19887. },
  19888. "auditedby": {
  19889. "description": "审核人",
  19890. "type": "string"
  19891. },
  19892. "auditime": {
  19893. "description": "审核时间",
  19894. "type": "string"
  19895. },
  19896. "auditsrc": {
  19897. "description": "审核来源 - 1:管理端 2:终端",
  19898. "type": "integer"
  19899. },
  19900. "bankaccount": {
  19901. "description": "银行帐号 (加密存储)",
  19902. "type": "string"
  19903. },
  19904. "bankaccountname": {
  19905. "description": "收款人名称",
  19906. "type": "string"
  19907. },
  19908. "bankcardbackphotourl": {
  19909. "description": "银行卡背面照地址",
  19910. "type": "string"
  19911. },
  19912. "bankcardfrontphotourl": {
  19913. "description": "银行卡正面照地址",
  19914. "type": "string"
  19915. },
  19916. "bankid": {
  19917. "description": "银行编码",
  19918. "type": "string"
  19919. },
  19920. "bankname": {
  19921. "description": "银行名称",
  19922. "type": "string"
  19923. },
  19924. "bankpictureurl": {
  19925. "description": "银行卡正面地址",
  19926. "type": "string"
  19927. },
  19928. "biznature": {
  19929. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19930. "type": "integer"
  19931. },
  19932. "bizscope": {
  19933. "description": "企业经营范围(企业)",
  19934. "type": "string"
  19935. },
  19936. "biztype": {
  19937. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19938. "type": "integer"
  19939. },
  19940. "brokerid": {
  19941. "description": "经纪人ID(加密存储)",
  19942. "type": "string"
  19943. },
  19944. "cardaddress": {
  19945. "description": "证件地址 (加密存储)",
  19946. "type": "string"
  19947. },
  19948. "cardbackphotourl": {
  19949. "description": "背面证件照地址",
  19950. "type": "string"
  19951. },
  19952. "cardfrontphotourl": {
  19953. "description": "正面证件照地址",
  19954. "type": "string"
  19955. },
  19956. "cardnum": {
  19957. "description": "证件号码 (加密存储)",
  19958. "type": "string"
  19959. },
  19960. "cardtype": {
  19961. "description": "证件类型",
  19962. "type": "integer"
  19963. },
  19964. "cityid": {
  19965. "description": "市",
  19966. "type": "integer"
  19967. },
  19968. "company": {
  19969. "description": "公司(个人)",
  19970. "type": "string"
  19971. },
  19972. "contactcardbackphotourl": {
  19973. "description": "联系人证件背面图片地址",
  19974. "type": "string"
  19975. },
  19976. "contactcardfrontphotourl": {
  19977. "description": "联系人证件正面图片地址",
  19978. "type": "string"
  19979. },
  19980. "contactname": {
  19981. "description": "联系人",
  19982. "type": "string"
  19983. },
  19984. "countryid": {
  19985. "description": "国家",
  19986. "type": "integer"
  19987. },
  19988. "createtime": {
  19989. "description": "开户申请时间",
  19990. "type": "string"
  19991. },
  19992. "cusbankid": {
  19993. "description": "签约类型",
  19994. "type": "string"
  19995. },
  19996. "cusbankname": {
  19997. "description": "签约类型名称",
  19998. "type": "string"
  19999. },
  20000. "customername": {
  20001. "description": "客户名称(企业名称)",
  20002. "type": "string"
  20003. },
  20004. "districtid": {
  20005. "description": "地区",
  20006. "type": "integer"
  20007. },
  20008. "email": {
  20009. "description": "Email地址(加密存储)",
  20010. "type": "string"
  20011. },
  20012. "halfbodyphotourl": {
  20013. "description": "半身照地址",
  20014. "type": "string"
  20015. },
  20016. "headurl": {
  20017. "description": "头像地址",
  20018. "type": "string"
  20019. },
  20020. "ipaddress": {
  20021. "description": "IP地址",
  20022. "type": "string"
  20023. },
  20024. "isvalidate": {
  20025. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20026. "type": "string"
  20027. },
  20028. "legalcardbackphotourl": {
  20029. "description": "法人身份证背面照地址",
  20030. "type": "string"
  20031. },
  20032. "legalcardfrontphotourl": {
  20033. "description": "法人身份证正面照地址",
  20034. "type": "string"
  20035. },
  20036. "legalpersonname": {
  20037. "description": "法人姓名(企业)",
  20038. "type": "string"
  20039. },
  20040. "logincode": {
  20041. "description": "登录帐号 (加密存储)",
  20042. "type": "string"
  20043. },
  20044. "memberareaid": {
  20045. "description": "所属会员ID",
  20046. "type": "integer"
  20047. },
  20048. "mobile2": {
  20049. "description": "手机号码[明文-尚志]",
  20050. "type": "string"
  20051. },
  20052. "mobilephone": {
  20053. "description": "手机号码 (加密存储)",
  20054. "type": "string"
  20055. },
  20056. "modifiedby": {
  20057. "description": "修改人帐号",
  20058. "type": "integer"
  20059. },
  20060. "modifiedtime": {
  20061. "description": "修改时间",
  20062. "type": "string"
  20063. },
  20064. "nickname": {
  20065. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20066. "type": "string"
  20067. },
  20068. "openmode": {
  20069. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20070. "type": "integer"
  20071. },
  20072. "otherurl": {
  20073. "description": "其它图片地址[使用分号分隔]",
  20074. "type": "string"
  20075. },
  20076. "postalcode": {
  20077. "description": "邮政编码",
  20078. "type": "string"
  20079. },
  20080. "provinceid": {
  20081. "description": "省",
  20082. "type": "integer"
  20083. },
  20084. "proxystatementurl": {
  20085. "description": "授权委托书",
  20086. "type": "string"
  20087. },
  20088. "qq": {
  20089. "description": "QQ(加密存储",
  20090. "type": "string"
  20091. },
  20092. "referral": {
  20093. "description": "推荐人编码",
  20094. "type": "string"
  20095. },
  20096. "remark": {
  20097. "description": "备注",
  20098. "type": "string"
  20099. },
  20100. "removebeforestatus": {
  20101. "description": "REMOVEBEFORESTATUS",
  20102. "type": "integer"
  20103. },
  20104. "sex": {
  20105. "description": "性别 - 0:女 1:男",
  20106. "type": "integer"
  20107. },
  20108. "signedstatus": {
  20109. "description": "账户一号签签约状态",
  20110. "type": "integer"
  20111. },
  20112. "signpdfurl": {
  20113. "description": "签约pdf文件",
  20114. "type": "string"
  20115. },
  20116. "subbranch": {
  20117. "description": "开户支行",
  20118. "type": "string"
  20119. },
  20120. "taxpayernum": {
  20121. "description": "纳税人识别号",
  20122. "type": "string"
  20123. },
  20124. "telphone": {
  20125. "description": "联系电话(加密存储)",
  20126. "type": "string"
  20127. },
  20128. "userid": {
  20129. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20130. "type": "integer"
  20131. },
  20132. "userinfotype": {
  20133. "description": "用户信息类型 - 1:个人 2:企业",
  20134. "type": "integer"
  20135. },
  20136. "username": {
  20137. "description": "用户姓名",
  20138. "type": "string"
  20139. },
  20140. "userstate": {
  20141. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20142. "type": "integer"
  20143. },
  20144. "usertype": {
  20145. "description": "用户类型 - 1:投资者 2:机构",
  20146. "type": "integer"
  20147. },
  20148. "videourl": {
  20149. "description": "视频地址",
  20150. "type": "string"
  20151. },
  20152. "wechat": {
  20153. "description": "微信号 (加密存储)",
  20154. "type": "string"
  20155. }
  20156. }
  20157. },
  20158. "erms3.CustomerInfo": {
  20159. "type": "object",
  20160. "required": [
  20161. "userid"
  20162. ],
  20163. "properties": {
  20164. "accountids": {
  20165. "description": "资金账户ID列表",
  20166. "type": "array",
  20167. "items": {
  20168. "type": "integer"
  20169. }
  20170. },
  20171. "customername": {
  20172. "description": "名称(企业名称)",
  20173. "type": "string"
  20174. },
  20175. "mobile": {
  20176. "description": "手机号码",
  20177. "type": "string"
  20178. },
  20179. "userid": {
  20180. "description": "用户ID",
  20181. "type": "integer"
  20182. }
  20183. }
  20184. },
  20185. "erms3.ModifyUserInfoApplyReq": {
  20186. "type": "object",
  20187. "required": [
  20188. "userid"
  20189. ],
  20190. "properties": {
  20191. "accountid": {
  20192. "description": "交易系统帐号Id (加密存储)",
  20193. "type": "integer"
  20194. },
  20195. "areacode": {
  20196. "description": "机构代码",
  20197. "type": "string"
  20198. },
  20199. "areaid": {
  20200. "description": "机构Id",
  20201. "type": "integer"
  20202. },
  20203. "attachment1": {
  20204. "description": "附件1",
  20205. "type": "string"
  20206. },
  20207. "attachment2": {
  20208. "description": "附件2",
  20209. "type": "string"
  20210. },
  20211. "attachment3": {
  20212. "description": "附件3",
  20213. "type": "string"
  20214. },
  20215. "attachment4": {
  20216. "description": "附件4",
  20217. "type": "string"
  20218. },
  20219. "attachment5": {
  20220. "description": "附件5",
  20221. "type": "string"
  20222. },
  20223. "auditedby": {
  20224. "description": "审核人",
  20225. "type": "string"
  20226. },
  20227. "auditime": {
  20228. "description": "审核时间",
  20229. "type": "string"
  20230. },
  20231. "auditsrc": {
  20232. "description": "审核来源 - 1:管理端 2:终端",
  20233. "type": "integer"
  20234. },
  20235. "bankaccount": {
  20236. "description": "银行帐号 (加密存储)",
  20237. "type": "string"
  20238. },
  20239. "bankaccountname": {
  20240. "description": "收款人名称",
  20241. "type": "string"
  20242. },
  20243. "bankcardbackphotourl": {
  20244. "description": "银行卡背面照地址",
  20245. "type": "string"
  20246. },
  20247. "bankcardfrontphotourl": {
  20248. "description": "银行卡正面照地址",
  20249. "type": "string"
  20250. },
  20251. "bankid": {
  20252. "description": "银行编码",
  20253. "type": "string"
  20254. },
  20255. "bankname": {
  20256. "description": "银行名称",
  20257. "type": "string"
  20258. },
  20259. "bankpictureurl": {
  20260. "description": "银行卡正面地址",
  20261. "type": "string"
  20262. },
  20263. "biznature": {
  20264. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20265. "type": "integer"
  20266. },
  20267. "bizscope": {
  20268. "description": "企业经营范围(企业)",
  20269. "type": "string"
  20270. },
  20271. "biztype": {
  20272. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20273. "type": "integer"
  20274. },
  20275. "brokerid": {
  20276. "description": "经纪人ID(加密存储)",
  20277. "type": "string"
  20278. },
  20279. "cardaddress": {
  20280. "description": "证件地址 (加密存储)",
  20281. "type": "string"
  20282. },
  20283. "cardbackphotourl": {
  20284. "description": "背面证件照地址",
  20285. "type": "string"
  20286. },
  20287. "cardfrontphotourl": {
  20288. "description": "正面证件照地址",
  20289. "type": "string"
  20290. },
  20291. "cardnum": {
  20292. "description": "证件号码 (加密存储)",
  20293. "type": "string"
  20294. },
  20295. "cardtype": {
  20296. "description": "证件类型",
  20297. "type": "integer"
  20298. },
  20299. "cityid": {
  20300. "description": "市",
  20301. "type": "integer"
  20302. },
  20303. "company": {
  20304. "description": "公司(个人)",
  20305. "type": "string"
  20306. },
  20307. "contactcardbackphotourl": {
  20308. "description": "联系人证件背面图片地址",
  20309. "type": "string"
  20310. },
  20311. "contactcardfrontphotourl": {
  20312. "description": "联系人证件正面图片地址",
  20313. "type": "string"
  20314. },
  20315. "contactname": {
  20316. "description": "联系人",
  20317. "type": "string"
  20318. },
  20319. "countryid": {
  20320. "description": "国家",
  20321. "type": "integer"
  20322. },
  20323. "createtime": {
  20324. "description": "开户申请时间",
  20325. "type": "string"
  20326. },
  20327. "cusbankid": {
  20328. "description": "签约类型",
  20329. "type": "string"
  20330. },
  20331. "cusbankname": {
  20332. "description": "签约类型名称",
  20333. "type": "string"
  20334. },
  20335. "customername": {
  20336. "description": "客户名称(企业名称)",
  20337. "type": "string"
  20338. },
  20339. "districtid": {
  20340. "description": "地区",
  20341. "type": "integer"
  20342. },
  20343. "email": {
  20344. "description": "Email地址(加密存储)",
  20345. "type": "string"
  20346. },
  20347. "halfbodyphotourl": {
  20348. "description": "半身照地址",
  20349. "type": "string"
  20350. },
  20351. "headurl": {
  20352. "description": "头像地址",
  20353. "type": "string"
  20354. },
  20355. "ipaddress": {
  20356. "description": "IP地址",
  20357. "type": "string"
  20358. },
  20359. "isvalidate": {
  20360. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20361. "type": "string"
  20362. },
  20363. "legalcardbackphotourl": {
  20364. "description": "法人身份证背面照地址",
  20365. "type": "string"
  20366. },
  20367. "legalcardfrontphotourl": {
  20368. "description": "法人身份证正面照地址",
  20369. "type": "string"
  20370. },
  20371. "legalpersonname": {
  20372. "description": "法人姓名(企业)",
  20373. "type": "string"
  20374. },
  20375. "logincode": {
  20376. "description": "登录帐号 (加密存储)",
  20377. "type": "string"
  20378. },
  20379. "memberareaid": {
  20380. "description": "所属会员ID",
  20381. "type": "integer"
  20382. },
  20383. "mobile2": {
  20384. "description": "手机号码[明文-尚志]",
  20385. "type": "string"
  20386. },
  20387. "mobilephone": {
  20388. "description": "手机号码 (加密存储)",
  20389. "type": "string"
  20390. },
  20391. "modifiedby": {
  20392. "description": "修改人帐号",
  20393. "type": "integer"
  20394. },
  20395. "modifiedtime": {
  20396. "description": "修改时间",
  20397. "type": "string"
  20398. },
  20399. "nickname": {
  20400. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20401. "type": "string"
  20402. },
  20403. "openmode": {
  20404. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20405. "type": "integer"
  20406. },
  20407. "otherurl": {
  20408. "description": "其它图片地址[使用分号分隔]",
  20409. "type": "string"
  20410. },
  20411. "postalcode": {
  20412. "description": "邮政编码",
  20413. "type": "string"
  20414. },
  20415. "provinceid": {
  20416. "description": "省",
  20417. "type": "integer"
  20418. },
  20419. "proxystatementurl": {
  20420. "description": "授权委托书",
  20421. "type": "string"
  20422. },
  20423. "qq": {
  20424. "description": "QQ(加密存储",
  20425. "type": "string"
  20426. },
  20427. "referral": {
  20428. "description": "推荐人编码",
  20429. "type": "string"
  20430. },
  20431. "remark": {
  20432. "description": "备注",
  20433. "type": "string"
  20434. },
  20435. "removebeforestatus": {
  20436. "description": "REMOVEBEFORESTATUS",
  20437. "type": "integer"
  20438. },
  20439. "sex": {
  20440. "description": "性别 - 0:女 1:男",
  20441. "type": "integer"
  20442. },
  20443. "signedstatus": {
  20444. "description": "账户一号签签约状态",
  20445. "type": "integer"
  20446. },
  20447. "signpdfurl": {
  20448. "description": "签约pdf文件",
  20449. "type": "string"
  20450. },
  20451. "subbranch": {
  20452. "description": "开户支行",
  20453. "type": "string"
  20454. },
  20455. "taxpayernum": {
  20456. "description": "纳税人识别号",
  20457. "type": "string"
  20458. },
  20459. "telphone": {
  20460. "description": "联系电话(加密存储)",
  20461. "type": "string"
  20462. },
  20463. "userid": {
  20464. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20465. "type": "integer"
  20466. },
  20467. "userinfotype": {
  20468. "description": "用户信息类型 - 1:个人 2:企业",
  20469. "type": "integer"
  20470. },
  20471. "username": {
  20472. "description": "用户姓名",
  20473. "type": "string"
  20474. },
  20475. "userstate": {
  20476. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20477. "type": "integer"
  20478. },
  20479. "usertype": {
  20480. "description": "用户类型 - 1:投资者 2:机构",
  20481. "type": "integer"
  20482. },
  20483. "videourl": {
  20484. "description": "视频地址",
  20485. "type": "string"
  20486. },
  20487. "wechat": {
  20488. "description": "微信号 (加密存储)",
  20489. "type": "string"
  20490. }
  20491. }
  20492. },
  20493. "erms3.QryAuditContractRsp": {
  20494. "type": "object",
  20495. "required": [
  20496. "matchcustomername",
  20497. "spotcontractid"
  20498. ],
  20499. "properties": {
  20500. "accountid": {
  20501. "description": "交易员ID",
  20502. "type": "string"
  20503. },
  20504. "applystatus": {
  20505. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20506. "type": "integer"
  20507. },
  20508. "curdeliveryqty": {
  20509. "description": "未交收量",
  20510. "type": "integer"
  20511. },
  20512. "customername": {
  20513. "description": "采购方ID",
  20514. "type": "string"
  20515. },
  20516. "deliverygoodsid": {
  20517. "description": "品种ID",
  20518. "type": "string"
  20519. },
  20520. "deliveryqty": {
  20521. "description": "交收量",
  20522. "type": "integer"
  20523. },
  20524. "enumdicname": {
  20525. "description": "单位名称",
  20526. "type": "string"
  20527. },
  20528. "matchaccountid": {
  20529. "description": "业务员ID",
  20530. "type": "string"
  20531. },
  20532. "matchcustomername": {
  20533. "description": "销售方ID",
  20534. "type": "string"
  20535. },
  20536. "pricedqty": {
  20537. "description": "定价量",
  20538. "type": "number"
  20539. },
  20540. "signdate": {
  20541. "description": "签订日期",
  20542. "type": "string"
  20543. },
  20544. "spotcontractid": {
  20545. "description": "合同ID",
  20546. "type": "string"
  20547. },
  20548. "totaldqty": {
  20549. "description": "合同量",
  20550. "type": "number"
  20551. },
  20552. "unpricedqty": {
  20553. "description": "未定价量",
  20554. "type": "number"
  20555. },
  20556. "wrstandardname": {
  20557. "description": "商品名称",
  20558. "type": "string"
  20559. }
  20560. }
  20561. },
  20562. "erms3.QryPendingBizRsp": {
  20563. "type": "object",
  20564. "properties": {
  20565. "accountid": {
  20566. "description": "现货账户",
  20567. "type": "string"
  20568. },
  20569. "areaname": {
  20570. "description": "所属部门",
  20571. "type": "string"
  20572. },
  20573. "bizid": {
  20574. "description": "业务ID",
  20575. "type": "string"
  20576. },
  20577. "bizname": {
  20578. "description": "业务名称",
  20579. "type": "string"
  20580. },
  20581. "status": {
  20582. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20583. "type": "integer"
  20584. },
  20585. "type": {
  20586. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20587. "type": "integer"
  20588. }
  20589. }
  20590. },
  20591. "erms3.QueryBusinessInfoRsp": {
  20592. "type": "object",
  20593. "properties": {
  20594. "businessid": {
  20595. "description": "业务ID.",
  20596. "type": "integer"
  20597. },
  20598. "buyamount": {
  20599. "description": "采购额.",
  20600. "type": "number"
  20601. },
  20602. "buyqty": {
  20603. "description": "采购量.",
  20604. "type": "string"
  20605. },
  20606. "futurepl": {
  20607. "description": "期货盈亏.",
  20608. "type": "number"
  20609. },
  20610. "futureqty": {
  20611. "description": "期货敞口.",
  20612. "type": "string"
  20613. },
  20614. "goodsid": {
  20615. "description": "商品名称/商品代码.",
  20616. "type": "string"
  20617. },
  20618. "hedgingqty": {
  20619. "description": "套保量.",
  20620. "type": "string"
  20621. },
  20622. "sellamount": {
  20623. "description": "销售额.",
  20624. "type": "number"
  20625. },
  20626. "sellqty": {
  20627. "description": "销售量.",
  20628. "type": "string"
  20629. },
  20630. "spotmarketvalue": {
  20631. "description": "现货市值.",
  20632. "type": "number"
  20633. },
  20634. "spotpl": {
  20635. "description": "浮动权益.",
  20636. "type": "number"
  20637. },
  20638. "spotqty": {
  20639. "description": "现货量.",
  20640. "type": "string"
  20641. },
  20642. "statu": {
  20643. "description": "状态,0-未结束 1-已结束.",
  20644. "type": "integer"
  20645. },
  20646. "totalpl": {
  20647. "description": "总盈亏.",
  20648. "type": "number"
  20649. },
  20650. "totalqty": {
  20651. "description": "总敞口.",
  20652. "type": "string"
  20653. },
  20654. "type": {
  20655. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  20656. "type": "integer"
  20657. }
  20658. }
  20659. },
  20660. "erms3.QuerySpotContractAppleFormRsp": {
  20661. "type": "object",
  20662. "properties": {
  20663. "goodses": {
  20664. "description": "合约列表",
  20665. "type": "array",
  20666. "items": {
  20667. "$ref": "#/definitions/models.GoodsIDAndName"
  20668. }
  20669. },
  20670. "oppositeusers": {
  20671. "description": "对方账号列表",
  20672. "type": "array",
  20673. "items": {
  20674. "$ref": "#/definitions/erms3.CustomerInfo"
  20675. }
  20676. },
  20677. "ouruser": {
  20678. "description": "我方账号",
  20679. "$ref": "#/definitions/erms3.CustomerInfo"
  20680. },
  20681. "warehouseinfos": {
  20682. "description": "仓库信息列表",
  20683. "type": "array",
  20684. "items": {
  20685. "$ref": "#/definitions/models.Warehouseinfo"
  20686. }
  20687. },
  20688. "wrstandards": {
  20689. "description": "仓单标准列表",
  20690. "type": "array",
  20691. "items": {
  20692. "$ref": "#/definitions/models.WRStandardInfo"
  20693. }
  20694. }
  20695. }
  20696. },
  20697. "erms3.QuerySpotContractInfoRsp": {
  20698. "type": "object",
  20699. "properties": {
  20700. "accountid": {
  20701. "description": "表示交易员ID.",
  20702. "type": "integer"
  20703. },
  20704. "curdeliveryqty": {
  20705. "description": "表示未交收量.",
  20706. "type": "number"
  20707. },
  20708. "customername": {
  20709. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  20710. "type": "string"
  20711. },
  20712. "deliverygoodsid": {
  20713. "description": "表示品种ID.",
  20714. "type": "string"
  20715. },
  20716. "deliveryqty": {
  20717. "description": "表示交收量.",
  20718. "type": "number"
  20719. },
  20720. "matchaccountid": {
  20721. "description": "表示业务员ID.",
  20722. "type": "integer"
  20723. },
  20724. "matchcustomername": {
  20725. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  20726. "type": "string"
  20727. },
  20728. "priceqty": {
  20729. "description": "表示定价量.",
  20730. "type": "number"
  20731. },
  20732. "relatedbizid": {
  20733. "description": "表示业务ID.",
  20734. "type": "string"
  20735. },
  20736. "signdate": {
  20737. "description": "表示签订日期.",
  20738. "type": "string"
  20739. },
  20740. "spotcontractid": {
  20741. "description": "合同ID",
  20742. "type": "string"
  20743. },
  20744. "status": {
  20745. "description": "表示状态,0-履约中 1-已完成.",
  20746. "type": "integer"
  20747. },
  20748. "totalqty": {
  20749. "description": "表示合同量.",
  20750. "type": "number"
  20751. },
  20752. "unpricedqty": {
  20753. "description": "表示未定价量.",
  20754. "type": "number"
  20755. },
  20756. "wrstandardname": {
  20757. "description": "表示商品ID.",
  20758. "type": "string"
  20759. }
  20760. }
  20761. },
  20762. "erms3.QueryUserInfoAppliesRsp": {
  20763. "type": "object",
  20764. "required": [
  20765. "userid"
  20766. ],
  20767. "properties": {
  20768. "biznature": {
  20769. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20770. "type": "integer"
  20771. },
  20772. "contactname": {
  20773. "description": "联系人",
  20774. "type": "string"
  20775. },
  20776. "createtime": {
  20777. "description": "开户申请时间",
  20778. "type": "string"
  20779. },
  20780. "userid": {
  20781. "description": "用户ID(自增ID)",
  20782. "type": "integer"
  20783. },
  20784. "userinfotype": {
  20785. "description": "用户信息类型 - 1:个人 2:企业",
  20786. "type": "integer"
  20787. },
  20788. "username": {
  20789. "description": "用户姓名",
  20790. "type": "string"
  20791. },
  20792. "userstate": {
  20793. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20794. "type": "integer"
  20795. }
  20796. }
  20797. },
  20798. "erms3.QueryUserInfosRsp": {
  20799. "type": "object",
  20800. "required": [
  20801. "userid"
  20802. ],
  20803. "properties": {
  20804. "biznature": {
  20805. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20806. "type": "integer"
  20807. },
  20808. "contactname": {
  20809. "description": "联系人",
  20810. "type": "string"
  20811. },
  20812. "customername": {
  20813. "description": "客户名称(企业名称)",
  20814. "type": "string"
  20815. },
  20816. "userid": {
  20817. "description": "用户ID",
  20818. "type": "integer"
  20819. },
  20820. "userinfotype": {
  20821. "description": "用户信息类型 - 1:个人 2:企业",
  20822. "type": "integer"
  20823. },
  20824. "userstatus": {
  20825. "description": "用户状态 - 1:正常 2:注销",
  20826. "type": "integer"
  20827. }
  20828. }
  20829. },
  20830. "erms3.SoptContractDetail": {
  20831. "type": "object",
  20832. "required": [
  20833. "deliverygoodsid",
  20834. "producttype",
  20835. "unitname",
  20836. "warehouseid",
  20837. "wrstandardid",
  20838. "wrstandardname"
  20839. ],
  20840. "properties": {
  20841. "deliverygoodsdesc": {
  20842. "description": "现货品种说明",
  20843. "type": "string"
  20844. },
  20845. "deliverygoodsid": {
  20846. "description": "现货品种ID",
  20847. "type": "integer"
  20848. },
  20849. "deliverygoodsname": {
  20850. "description": "现货品种名称",
  20851. "type": "string"
  20852. },
  20853. "pointdesc": {
  20854. "description": "点价描述",
  20855. "type": "string"
  20856. },
  20857. "producttype": {
  20858. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  20859. "type": "integer"
  20860. },
  20861. "producttypename": {
  20862. "description": "产品类型名称",
  20863. "type": "string"
  20864. },
  20865. "spotPointOrderVoList": {
  20866. "description": "点价列表",
  20867. "type": "array",
  20868. "items": {
  20869. "$ref": "#/definitions/erms3.SpotPointOrder"
  20870. }
  20871. },
  20872. "spotPriceOrderList": {
  20873. "description": "定价列表",
  20874. "type": "array",
  20875. "items": {
  20876. "$ref": "#/definitions/erms3.SpotPriceOrder"
  20877. }
  20878. },
  20879. "unitname": {
  20880. "description": "单位名称",
  20881. "type": "string"
  20882. },
  20883. "warehouseid": {
  20884. "description": "仓库ID",
  20885. "type": "integer"
  20886. },
  20887. "warehousename": {
  20888. "description": "仓库名称",
  20889. "type": "string"
  20890. },
  20891. "wrstandardid": {
  20892. "description": "交易标的ID",
  20893. "type": "integer"
  20894. },
  20895. "wrstandardname": {
  20896. "description": "交易标的名称",
  20897. "type": "string"
  20898. }
  20899. }
  20900. },
  20901. "erms3.SpotPointOrder": {
  20902. "type": "object",
  20903. "required": [
  20904. "basic",
  20905. "goodsid",
  20906. "qty"
  20907. ],
  20908. "properties": {
  20909. "basic": {
  20910. "description": "基差",
  20911. "type": "number"
  20912. },
  20913. "deliveryenddate": {
  20914. "description": "交收结束日期",
  20915. "type": "string"
  20916. },
  20917. "deliverystartdate": {
  20918. "description": "交收开始日期",
  20919. "type": "string"
  20920. },
  20921. "enddate": {
  20922. "description": "点价结束日期",
  20923. "type": "string"
  20924. },
  20925. "goodsid": {
  20926. "description": "商品ID",
  20927. "type": "integer"
  20928. },
  20929. "goodsname": {
  20930. "description": "商品名称",
  20931. "type": "string"
  20932. },
  20933. "qty": {
  20934. "description": "数量",
  20935. "type": "number"
  20936. },
  20937. "startdate": {
  20938. "description": "点价开始日期",
  20939. "type": "string"
  20940. }
  20941. }
  20942. },
  20943. "erms3.SpotPriceOrder": {
  20944. "type": "object",
  20945. "required": [
  20946. "amount",
  20947. "price",
  20948. "qty"
  20949. ],
  20950. "properties": {
  20951. "amount": {
  20952. "description": "金额",
  20953. "type": "number"
  20954. },
  20955. "deliveryenddate": {
  20956. "description": "交收结束日期",
  20957. "type": "string"
  20958. },
  20959. "deliverystartdate": {
  20960. "description": "交收开始日期",
  20961. "type": "string"
  20962. },
  20963. "price": {
  20964. "description": "价格",
  20965. "type": "number"
  20966. },
  20967. "qty": {
  20968. "description": "数量",
  20969. "type": "number"
  20970. }
  20971. }
  20972. },
  20973. "models.Arearole": {
  20974. "type": "object",
  20975. "required": [
  20976. "roletype",
  20977. "userid"
  20978. ],
  20979. "properties": {
  20980. "createtime": {
  20981. "description": "创建时间",
  20982. "type": "string"
  20983. },
  20984. "creatorid": {
  20985. "description": "创建人ID",
  20986. "type": "integer"
  20987. },
  20988. "fromuserid": {
  20989. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20990. "type": "integer"
  20991. },
  20992. "isreturnscore": {
  20993. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  20994. "type": "integer"
  20995. },
  20996. "modifierid": {
  20997. "description": "修改人ID",
  20998. "type": "integer"
  20999. },
  21000. "modifytime": {
  21001. "description": "修改时间",
  21002. "type": "string"
  21003. },
  21004. "orgtype": {
  21005. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  21006. "type": "integer"
  21007. },
  21008. "outuserid": {
  21009. "description": "外部账户[场外期权做市商]",
  21010. "type": "string"
  21011. },
  21012. "parentuserid": {
  21013. "description": "上级组织机构(组织机构)",
  21014. "type": "integer"
  21015. },
  21016. "roletype": {
  21017. "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:门店",
  21018. "type": "integer"
  21019. },
  21020. "rootuserid": {
  21021. "description": "顶级组织机构用户ID(组织机构)",
  21022. "type": "integer"
  21023. },
  21024. "shoppassword": {
  21025. "description": "商城店铺登陆密码(商城店铺角色使用)",
  21026. "type": "string"
  21027. },
  21028. "sublevelpath": {
  21029. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  21030. "type": "string"
  21031. },
  21032. "suborgtype": {
  21033. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  21034. "type": "integer"
  21035. },
  21036. "tradeaccountid": {
  21037. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  21038. "type": "integer"
  21039. },
  21040. "transurl": {
  21041. "description": "物流地址(物流机构)",
  21042. "type": "string"
  21043. },
  21044. "userid": {
  21045. "description": "机构用户ID其他做市关系,都设置为 1",
  21046. "type": "integer"
  21047. }
  21048. }
  21049. },
  21050. "models.BuyOrder": {
  21051. "type": "object",
  21052. "properties": {
  21053. "accountid": {
  21054. "description": "资金账户ID",
  21055. "type": "integer"
  21056. },
  21057. "buyusername": {
  21058. "description": "买方",
  21059. "type": "string"
  21060. },
  21061. "marketid": {
  21062. "description": "市场ID",
  21063. "type": "integer"
  21064. },
  21065. "ordertime": {
  21066. "description": "委托时间",
  21067. "type": "string"
  21068. },
  21069. "origin": {
  21070. "description": "原产地",
  21071. "type": "string"
  21072. },
  21073. "performancetemplateid": {
  21074. "description": "履约计划模板ID",
  21075. "type": "integer"
  21076. },
  21077. "remark": {
  21078. "description": "备注",
  21079. "type": "string"
  21080. },
  21081. "userid": {
  21082. "description": "用户ID",
  21083. "type": "integer"
  21084. },
  21085. "validtime": {
  21086. "description": "有效期限",
  21087. "type": "string"
  21088. },
  21089. "warehouseids": {
  21090. "description": "仓库ID - 多个, 逗号分隔",
  21091. "type": "string"
  21092. },
  21093. "warehouseinfosdisplay": {
  21094. "type": "string"
  21095. },
  21096. "wrtradeorderid": {
  21097. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  21098. "type": "string"
  21099. },
  21100. "wrtradeorderstatus": {
  21101. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 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:撤单解冻贷款失败WRTrade_OrderDetail、",
  21102. "type": "integer"
  21103. },
  21104. "zscategory": {
  21105. "description": "钻石分类 - 枚举”ZSCategory“",
  21106. "type": "integer"
  21107. },
  21108. "zscategorydisplay": {
  21109. "type": "string"
  21110. },
  21111. "zsclaritytype": {
  21112. "description": "净度 - 两个, 逗号分隔",
  21113. "type": "string"
  21114. },
  21115. "zsclaritytypedisplay": {
  21116. "type": "string"
  21117. },
  21118. "zscolortype": {
  21119. "description": "颜色 - 两个, 逗号分隔",
  21120. "type": "string"
  21121. },
  21122. "zscolortypedisplay": {
  21123. "type": "string"
  21124. },
  21125. "zscrystaltype": {
  21126. "description": "晶型 - 多个,逗号分隔",
  21127. "type": "string"
  21128. },
  21129. "zscrystaltypedisplay": {
  21130. "type": "string"
  21131. },
  21132. "zscurrencytype": {
  21133. "description": "货币类型 - 多个, 逗号分隔",
  21134. "type": "string"
  21135. },
  21136. "zscurrencytypedisplay": {
  21137. "type": "string"
  21138. },
  21139. "zscuttype": {
  21140. "description": "切工 - 两个, 逗号分隔",
  21141. "type": "string"
  21142. },
  21143. "zscuttypedisplay": {
  21144. "type": "string"
  21145. },
  21146. "zsczcolor1type": {
  21147. "description": "彩钻颜色1, 逗号分隔",
  21148. "type": "string"
  21149. },
  21150. "zsczcolor1typedisplay": {
  21151. "type": "string"
  21152. },
  21153. "zsczcolor2type": {
  21154. "description": "彩钻颜色2, 逗号分隔",
  21155. "type": "string"
  21156. },
  21157. "zsczcolor2typedisplay": {
  21158. "type": "string"
  21159. },
  21160. "zsczcolor3type": {
  21161. "description": "彩钻颜色3, 逗号分隔",
  21162. "type": "string"
  21163. },
  21164. "zsczcolor3typedisplay": {
  21165. "type": "string"
  21166. },
  21167. "zsfluorescencetype": {
  21168. "description": "荧光 - 多个, 逗号分隔",
  21169. "type": "string"
  21170. },
  21171. "zsfluorescencetypedisplay": {
  21172. "type": "string"
  21173. },
  21174. "zspolishtype": {
  21175. "description": "抛光度 - 两个, 逗号分隔",
  21176. "type": "string"
  21177. },
  21178. "zspolishtypedisplay": {
  21179. "type": "string"
  21180. },
  21181. "zsshapetype": {
  21182. "description": "形状 - 多个, 逗号分隔",
  21183. "type": "string"
  21184. },
  21185. "zsshapetypedisplay": {
  21186. "type": "string"
  21187. },
  21188. "zssize": {
  21189. "description": "尺寸 - 两个小数, 逗号分隔",
  21190. "type": "string"
  21191. },
  21192. "zsstyletype": {
  21193. "description": "款式 - 多个, 逗号分隔",
  21194. "type": "string"
  21195. },
  21196. "zsstyletypedisplay": {
  21197. "type": "string"
  21198. },
  21199. "zssymmetrytype": {
  21200. "description": "对称度 - 两个, 逗号分隔",
  21201. "type": "string"
  21202. },
  21203. "zssymmetrytypedisplay": {
  21204. "type": "string"
  21205. },
  21206. "zstabledisplay": {
  21207. "description": "求购信息",
  21208. "type": "string"
  21209. }
  21210. }
  21211. },
  21212. "models.DgFactoryItem": {
  21213. "type": "object",
  21214. "properties": {
  21215. "dgfactoryitemid": {
  21216. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  21217. "type": "integer"
  21218. },
  21219. "dgfactoryitemtypeid": {
  21220. "description": "要素项类型",
  21221. "type": "integer"
  21222. },
  21223. "dgfactoryitemvalue": {
  21224. "description": "要素项值(类型为仓库时填写仓库名称)",
  21225. "type": "string"
  21226. },
  21227. "orderindex": {
  21228. "description": "顺序",
  21229. "type": "integer"
  21230. }
  21231. }
  21232. },
  21233. "models.Division": {
  21234. "type": "object",
  21235. "required": [
  21236. "autoid",
  21237. "divisioncode"
  21238. ],
  21239. "properties": {
  21240. "autoid": {
  21241. "description": "自增ID",
  21242. "type": "integer"
  21243. },
  21244. "divisioncode": {
  21245. "description": "行政代码",
  21246. "type": "string"
  21247. },
  21248. "divisionlevel": {
  21249. "description": "行政级别",
  21250. "type": "string"
  21251. },
  21252. "divisionname": {
  21253. "description": "行政名称",
  21254. "type": "string"
  21255. },
  21256. "modifierid": {
  21257. "description": "修改人",
  21258. "type": "integer"
  21259. },
  21260. "modifytime": {
  21261. "description": "修改时间",
  21262. "type": "string"
  21263. },
  21264. "parentcode": {
  21265. "description": "上级行政代码",
  21266. "type": "string"
  21267. },
  21268. "pathname": {
  21269. "description": "路径名称",
  21270. "type": "string"
  21271. },
  21272. "postcode": {
  21273. "description": "邮政编码",
  21274. "type": "string"
  21275. },
  21276. "separablename": {
  21277. "description": "可拆分的全称",
  21278. "type": "string"
  21279. },
  21280. "shortcode": {
  21281. "description": "地区简码",
  21282. "type": "string"
  21283. }
  21284. }
  21285. },
  21286. "models.Enumdicitem": {
  21287. "type": "object",
  21288. "required": [
  21289. "autoid",
  21290. "enumdiccode",
  21291. "enumdicid",
  21292. "enumitemname"
  21293. ],
  21294. "properties": {
  21295. "autoid": {
  21296. "description": "自增ID",
  21297. "type": "integer"
  21298. },
  21299. "bankmappedvalue": {
  21300. "description": "银行服务对应值",
  21301. "type": "string"
  21302. },
  21303. "enumdiccode": {
  21304. "description": "所属枚举代码",
  21305. "type": "string"
  21306. },
  21307. "enumdicid": {
  21308. "description": "所属枚举ID",
  21309. "type": "integer"
  21310. },
  21311. "enumdicname": {
  21312. "description": "枚举项名称",
  21313. "type": "string"
  21314. },
  21315. "enumitemname": {
  21316. "description": "枚举项值",
  21317. "type": "integer"
  21318. },
  21319. "enumitemstatus": {
  21320. "description": "枚举项状态 - 1.启用 2.不启用",
  21321. "type": "integer"
  21322. },
  21323. "enumitemvalue": {
  21324. "description": "通用值 - [币种通用简写]",
  21325. "type": "string"
  21326. },
  21327. "param1": {
  21328. "description": "参数1[币种:币种小数位]",
  21329. "type": "string"
  21330. },
  21331. "param2": {
  21332. "description": "参数1[币种:币种显示单位]",
  21333. "type": "string"
  21334. },
  21335. "remark": {
  21336. "description": "备注",
  21337. "type": "string"
  21338. }
  21339. }
  21340. },
  21341. "models.Ermcp2AreaExposure": {
  21342. "type": "object",
  21343. "properties": {
  21344. "areauserid": {
  21345. "description": "所属机构",
  21346. "type": "integer"
  21347. },
  21348. "enumdicname": {
  21349. "description": "单位",
  21350. "type": "string"
  21351. },
  21352. "futureqty": {
  21353. "description": "期货套期量",
  21354. "type": "number"
  21355. },
  21356. "futureqtychange": {
  21357. "description": "期货变动量 = FutureQty - OriFutureQty",
  21358. "type": "number"
  21359. },
  21360. "goodsunitid": {
  21361. "description": "单位ID",
  21362. "type": "integer"
  21363. },
  21364. "hedgedspotexposure": {
  21365. "description": "被套期现货敞口量",
  21366. "type": "number"
  21367. },
  21368. "hedgedspratio": {
  21369. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  21370. "type": "number"
  21371. },
  21372. "hedgedtotalexposourechange": {
  21373. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  21374. "type": "number"
  21375. },
  21376. "hedgedtotalexposure": {
  21377. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  21378. "type": "number"
  21379. },
  21380. "hedgeplanqty": {
  21381. "description": "套期计划量",
  21382. "type": "number"
  21383. },
  21384. "hedgeplanqtychange": {
  21385. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  21386. "type": "number"
  21387. },
  21388. "hedgespotqty": {
  21389. "description": "被套期现货量",
  21390. "type": "number"
  21391. },
  21392. "middlegoodsid": {
  21393. "description": "套保品种",
  21394. "type": "integer"
  21395. },
  21396. "middlegoodsname": {
  21397. "description": "套保品种名称",
  21398. "type": "string"
  21399. },
  21400. "orifutureqty": {
  21401. "description": "期初期货套期量",
  21402. "type": "number"
  21403. },
  21404. "orihedgedspotexposure": {
  21405. "description": "期初被套期现货敞口量",
  21406. "type": "number"
  21407. },
  21408. "orihedgedtotalexposure": {
  21409. "description": "期初套期敞口量",
  21410. "type": "number"
  21411. },
  21412. "orihedgeplanqty": {
  21413. "description": "期初套期计划量",
  21414. "type": "number"
  21415. },
  21416. "orihedgespotqty": {
  21417. "description": "期初被套期现货量",
  21418. "type": "number"
  21419. },
  21420. "orispotexposure": {
  21421. "description": "期初现货敞口量",
  21422. "type": "number"
  21423. },
  21424. "orispotqty": {
  21425. "description": "期初现货总量",
  21426. "type": "number"
  21427. },
  21428. "oritotalexposure": {
  21429. "description": "期初总敞口量",
  21430. "type": "number"
  21431. },
  21432. "spotexposure": {
  21433. "description": "现货敞口量",
  21434. "type": "number"
  21435. },
  21436. "spotqty": {
  21437. "description": "现货总量",
  21438. "type": "number"
  21439. },
  21440. "spotqtychange": {
  21441. "description": "现货变动量 = SpotQty - OriSpotQty",
  21442. "type": "number"
  21443. },
  21444. "spratio": {
  21445. "description": "总期现比例 = 期货套期量/现货敞口量",
  21446. "type": "number"
  21447. },
  21448. "totalexposure": {
  21449. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  21450. "type": "number"
  21451. },
  21452. "totalexposurechange": {
  21453. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  21454. "type": "number"
  21455. },
  21456. "updatetime": {
  21457. "description": "更新时间 --DATE",
  21458. "type": "string"
  21459. }
  21460. }
  21461. },
  21462. "models.Ermcp2hedgeditem": {
  21463. "type": "object",
  21464. "properties": {
  21465. "accountname": {
  21466. "description": "套期主体",
  21467. "type": "string"
  21468. },
  21469. "applyid": {
  21470. "description": "申请人",
  21471. "type": "integer"
  21472. },
  21473. "applysrc": {
  21474. "description": "申请来源 - 1:管理端 2:终端",
  21475. "type": "integer"
  21476. },
  21477. "areauserid": {
  21478. "description": "企业ID",
  21479. "type": "integer"
  21480. },
  21481. "auditid": {
  21482. "description": "审核人",
  21483. "type": "integer"
  21484. },
  21485. "auditremark": {
  21486. "description": "审核备注",
  21487. "type": "string"
  21488. },
  21489. "auditsrc": {
  21490. "description": "审核来源 - 1:管理端 2:终端",
  21491. "type": "integer"
  21492. },
  21493. "audittime": {
  21494. "description": "审核时间",
  21495. "type": "string"
  21496. },
  21497. "audittradedate": {
  21498. "description": "审核交易日(yyyyMMdd)",
  21499. "type": "string"
  21500. },
  21501. "createtime": {
  21502. "description": "申请时间",
  21503. "type": "string"
  21504. },
  21505. "curprice": {
  21506. "description": "当前市场价",
  21507. "type": "number"
  21508. },
  21509. "curstock": {
  21510. "description": "期末库存量 = 采购总量 - 销售总量",
  21511. "type": "number"
  21512. },
  21513. "deliverygoodsid": {
  21514. "description": "现货品种ID",
  21515. "type": "integer"
  21516. },
  21517. "enddate": {
  21518. "description": "完成日期",
  21519. "type": "string"
  21520. },
  21521. "endtradedate": {
  21522. "description": "完成交易日",
  21523. "type": "string"
  21524. },
  21525. "enumdicname": {
  21526. "description": "单位",
  21527. "type": "string"
  21528. },
  21529. "exeamount": {
  21530. "description": "执行市价总额",
  21531. "type": "number"
  21532. },
  21533. "exeavgprice": {
  21534. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  21535. "type": "number"
  21536. },
  21537. "execontractamount": {
  21538. "description": "执行定价总额",
  21539. "type": "number"
  21540. },
  21541. "exeqty": {
  21542. "description": "执行现货量",
  21543. "type": "number"
  21544. },
  21545. "exerestamount": {
  21546. "description": "执行剩余市价总额【现货贸易】",
  21547. "type": "number"
  21548. },
  21549. "futurefloatpl": {
  21550. "description": "期货浮动损益",
  21551. "type": "number"
  21552. },
  21553. "futurehedgepl": {
  21554. "description": "期货实际损益",
  21555. "type": "number"
  21556. },
  21557. "futurehedgeplchange": {
  21558. "description": "期货实际损益变动",
  21559. "type": "number"
  21560. },
  21561. "futurepl": {
  21562. "description": "期货套期损益",
  21563. "type": "number"
  21564. },
  21565. "futureplchange": {
  21566. "description": "期货套期损益变动",
  21567. "type": "number"
  21568. },
  21569. "hedgeamount": {
  21570. "description": "套期市价总额",
  21571. "type": "number"
  21572. },
  21573. "hedgecontractamount": {
  21574. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  21575. "type": "number"
  21576. },
  21577. "hedgeditemid": {
  21578. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21579. "type": "string"
  21580. },
  21581. "hedgeditemname": {
  21582. "description": "项目名称",
  21583. "type": "string"
  21584. },
  21585. "hedgeditemnum": {
  21586. "description": "项目编号",
  21587. "type": "string"
  21588. },
  21589. "hedgeditemstatus": {
  21590. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21591. "type": "integer"
  21592. },
  21593. "hedgedtype": {
  21594. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21595. "type": "integer"
  21596. },
  21597. "hedgeqty": {
  21598. "description": "套期现货量",
  21599. "type": "number"
  21600. },
  21601. "hedgerate": {
  21602. "description": "套保比率",
  21603. "type": "number"
  21604. },
  21605. "hedgerestamount": {
  21606. "description": "套期剩余市价总额【现货贸易】",
  21607. "type": "number"
  21608. },
  21609. "hedgesumpl": {
  21610. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  21611. "type": "number"
  21612. },
  21613. "middlegoodslist": {
  21614. "description": "套期商品列表",
  21615. "type": "array",
  21616. "items": {
  21617. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  21618. }
  21619. },
  21620. "oriavgprice": {
  21621. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  21622. "type": "number"
  21623. },
  21624. "orifuturehedgepl": {
  21625. "description": "期初期货实际损益",
  21626. "type": "number"
  21627. },
  21628. "orifuturepl": {
  21629. "description": "期初期货套期损益",
  21630. "type": "number"
  21631. },
  21632. "orispothedgepl": {
  21633. "description": "期初现货实际损益",
  21634. "type": "number"
  21635. },
  21636. "orispotpl": {
  21637. "description": "期初现货套期损益",
  21638. "type": "number"
  21639. },
  21640. "planenddate": {
  21641. "description": "计划结束日期",
  21642. "type": "string"
  21643. },
  21644. "planstartdate": {
  21645. "description": "计划开始日期",
  21646. "type": "string"
  21647. },
  21648. "remark": {
  21649. "description": "备注",
  21650. "type": "string"
  21651. },
  21652. "spotbookamount": {
  21653. "description": "现货账面总额",
  21654. "type": "number"
  21655. },
  21656. "spotfloatpl": {
  21657. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21658. "type": "number"
  21659. },
  21660. "spothedgepl": {
  21661. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21662. "type": "number"
  21663. },
  21664. "spothedgeplchange": {
  21665. "description": "现货实际损益变动",
  21666. "type": "number"
  21667. },
  21668. "spotpl": {
  21669. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  21670. "type": "number"
  21671. },
  21672. "spotplchange": {
  21673. "description": "现货套期损益变动",
  21674. "type": "number"
  21675. },
  21676. "spottradepl": {
  21677. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  21678. "type": "number"
  21679. },
  21680. "sumobspl": {
  21681. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  21682. "type": "number"
  21683. },
  21684. "tradeuserid": {
  21685. "description": "交易用户ID",
  21686. "type": "integer"
  21687. },
  21688. "unexeqty": {
  21689. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21690. "type": "number"
  21691. },
  21692. "updatetime": {
  21693. "description": "更新时间",
  21694. "type": "string"
  21695. },
  21696. "vatpl": {
  21697. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  21698. "type": "number"
  21699. },
  21700. "vatrate": {
  21701. "description": "增值税",
  21702. "type": "number"
  21703. },
  21704. "wrstandardid": {
  21705. "description": "现货商品ID",
  21706. "type": "integer"
  21707. },
  21708. "wrstandardname": {
  21709. "description": "商品名称",
  21710. "type": "string"
  21711. }
  21712. }
  21713. },
  21714. "models.Ermcp2hedgeditemlink": {
  21715. "type": "object",
  21716. "required": [
  21717. "relatedspotcontractid"
  21718. ],
  21719. "properties": {
  21720. "areauserid": {
  21721. "description": "企业ID",
  21722. "type": "integer"
  21723. },
  21724. "createtime": {
  21725. "description": "[关联时间]创建时间",
  21726. "type": "string"
  21727. },
  21728. "customeruserid": {
  21729. "description": "对手方 【3:采购合同 4:销售合同】",
  21730. "type": "integer"
  21731. },
  21732. "deliverygoodsid": {
  21733. "description": "现货品种ID",
  21734. "type": "integer"
  21735. },
  21736. "enumdicname": {
  21737. "description": "单位",
  21738. "type": "string"
  21739. },
  21740. "hedgeditemid": {
  21741. "description": "被套期项目ID",
  21742. "type": "integer"
  21743. },
  21744. "hedgeditemlinkid": {
  21745. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  21746. "type": "integer"
  21747. },
  21748. "hedgeditemnum": {
  21749. "description": "项目编号",
  21750. "type": "string"
  21751. },
  21752. "hedgedtype": {
  21753. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21754. "type": "integer"
  21755. },
  21756. "relatedamount": {
  21757. "description": "市价总额 = 关联数量 * 期初市场价",
  21758. "type": "number"
  21759. },
  21760. "relatedhedgeplanid": {
  21761. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21762. "type": "integer"
  21763. },
  21764. "relatedqty": {
  21765. "description": "关联数量",
  21766. "type": "number"
  21767. },
  21768. "relatedspotcontractid": {
  21769. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21770. "type": "integer"
  21771. },
  21772. "relatedtype": {
  21773. "description": "关联类型 - 1:套期关联 2:执行关联",
  21774. "type": "integer"
  21775. },
  21776. "spotgoodsbrandid": {
  21777. "description": "现货品牌ID",
  21778. "type": "integer"
  21779. },
  21780. "spotpricedamount": {
  21781. "description": "[关联定价总额]定价总额",
  21782. "type": "number"
  21783. },
  21784. "spotpricedavgprice": {
  21785. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  21786. "type": "number"
  21787. },
  21788. "spottype": {
  21789. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21790. "type": "integer"
  21791. },
  21792. "tradeuserid": {
  21793. "description": "交易用户ID",
  21794. "type": "integer"
  21795. },
  21796. "unexeqty": {
  21797. "description": "未执行现货量【项目关联时值】",
  21798. "type": "number"
  21799. },
  21800. "wrstandardid": {
  21801. "description": "现货商品ID",
  21802. "type": "integer"
  21803. },
  21804. "wrstandardname": {
  21805. "description": "现货商品",
  21806. "type": "string"
  21807. }
  21808. }
  21809. },
  21810. "models.Ermcp2hedgeditemsDetail": {
  21811. "type": "object",
  21812. "properties": {
  21813. "accountname": {
  21814. "description": "套期主体",
  21815. "type": "string"
  21816. },
  21817. "areauserid": {
  21818. "description": "企业ID",
  21819. "type": "integer"
  21820. },
  21821. "createtime": {
  21822. "description": "[日期时间]创建时间",
  21823. "type": "string"
  21824. },
  21825. "customeruserid": {
  21826. "description": "对手方 【3:采购合同 4:销售合同】",
  21827. "type": "integer"
  21828. },
  21829. "deliverygoodsid": {
  21830. "description": "现货品种ID",
  21831. "type": "integer"
  21832. },
  21833. "enumdicname": {
  21834. "description": "单位",
  21835. "type": "string"
  21836. },
  21837. "hedgeditemid": {
  21838. "description": "被套期项目ID",
  21839. "type": "string"
  21840. },
  21841. "hedgeditemspotid": {
  21842. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21843. "type": "string"
  21844. },
  21845. "hedgedtype": {
  21846. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21847. "type": "integer"
  21848. },
  21849. "hedgeplanno": {
  21850. "description": "计划编号",
  21851. "type": "string"
  21852. },
  21853. "middlegoodschange": {
  21854. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  21855. "type": "number"
  21856. },
  21857. "oriavgprice": {
  21858. "description": "期初市场价[当初市场价]",
  21859. "type": "number"
  21860. },
  21861. "relatedamount": {
  21862. "description": "市价总额 = 关联数量 * 期初市场价",
  21863. "type": "number"
  21864. },
  21865. "relatedhedgeplanid": {
  21866. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21867. "type": "integer"
  21868. },
  21869. "relatedqty": {
  21870. "description": "[期间变化量]关联数量",
  21871. "type": "number"
  21872. },
  21873. "relatedspotcontractid": {
  21874. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21875. "type": "integer"
  21876. },
  21877. "relatedtype": {
  21878. "description": "关联类型 - 1:套期关联 2:执行关联",
  21879. "type": "integer"
  21880. },
  21881. "spotgoodsbrandid": {
  21882. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21883. "type": "integer"
  21884. },
  21885. "spotpricedamount": {
  21886. "description": "定价总额",
  21887. "type": "number"
  21888. },
  21889. "spotpricedavgprice": {
  21890. "description": "现货均价 = 定价总额 / 关联数量",
  21891. "type": "number"
  21892. },
  21893. "spottype": {
  21894. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21895. "type": "integer"
  21896. },
  21897. "tradeuserid": {
  21898. "description": "交易用户ID",
  21899. "type": "integer"
  21900. },
  21901. "unexeqty": {
  21902. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21903. "type": "number"
  21904. },
  21905. "wrstandardid": {
  21906. "description": "现货商品ID",
  21907. "type": "integer"
  21908. },
  21909. "wrstandardname": {
  21910. "description": "现货商品",
  21911. "type": "string"
  21912. }
  21913. }
  21914. },
  21915. "models.Ermcp2hedgeditemspot": {
  21916. "type": "object",
  21917. "required": [
  21918. "hedgeditemid"
  21919. ],
  21920. "properties": {
  21921. "areauserid": {
  21922. "description": "企业ID",
  21923. "type": "integer"
  21924. },
  21925. "createtime": {
  21926. "description": "创建时间",
  21927. "type": "string"
  21928. },
  21929. "customeruserid": {
  21930. "description": "对手方 【3:采购合同 4:销售合同】",
  21931. "type": "integer"
  21932. },
  21933. "deliverygoodsid": {
  21934. "description": "现货品种ID",
  21935. "type": "integer"
  21936. },
  21937. "enumdicname": {
  21938. "description": "单位",
  21939. "type": "string"
  21940. },
  21941. "hedgeditemid": {
  21942. "description": "被套期项目ID",
  21943. "type": "string"
  21944. },
  21945. "hedgeditemspotid": {
  21946. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21947. "type": "string"
  21948. },
  21949. "hedgedtype": {
  21950. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21951. "type": "integer"
  21952. },
  21953. "hedgeplanno": {
  21954. "description": "计划编号",
  21955. "type": "string"
  21956. },
  21957. "oriavgprice": {
  21958. "description": "期初市场价[当初市场价]",
  21959. "type": "number"
  21960. },
  21961. "relatedamount": {
  21962. "description": "市价总额 = 关联数量 * 期初市场价",
  21963. "type": "number"
  21964. },
  21965. "relatedhedgeplanid": {
  21966. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21967. "type": "integer"
  21968. },
  21969. "relatedqty": {
  21970. "description": "关联数量[数量]",
  21971. "type": "number"
  21972. },
  21973. "relatedspotcontractid": {
  21974. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21975. "type": "integer"
  21976. },
  21977. "relatedtype": {
  21978. "description": "关联类型 - 1:套期关联 2:执行关联",
  21979. "type": "integer"
  21980. },
  21981. "spotgoodsbrandid": {
  21982. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21983. "type": "integer"
  21984. },
  21985. "spotpricedamount": {
  21986. "description": "定价总额",
  21987. "type": "number"
  21988. },
  21989. "spotpricedavgprice": {
  21990. "description": "现货均价 = 定价总额 / 关联数量",
  21991. "type": "number"
  21992. },
  21993. "spottype": {
  21994. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21995. "type": "integer"
  21996. },
  21997. "tradeuserid": {
  21998. "description": "交易用户ID",
  21999. "type": "integer"
  22000. },
  22001. "wrstandardid": {
  22002. "description": "现货商品ID",
  22003. "type": "integer"
  22004. },
  22005. "wrstandardname": {
  22006. "description": "现货商品",
  22007. "type": "string"
  22008. }
  22009. }
  22010. },
  22011. "models.Ermcp2hedgeditemspotDetail": {
  22012. "type": "object",
  22013. "required": [
  22014. "hedgeditemid"
  22015. ],
  22016. "properties": {
  22017. "accountname": {
  22018. "description": "对手方",
  22019. "type": "string"
  22020. },
  22021. "areauserid": {
  22022. "description": "企业ID",
  22023. "type": "integer"
  22024. },
  22025. "brandname": {
  22026. "description": "品牌",
  22027. "type": "string"
  22028. },
  22029. "contractno": {
  22030. "description": "合同编号",
  22031. "type": "string"
  22032. },
  22033. "createtime": {
  22034. "description": "创建时间",
  22035. "type": "string"
  22036. },
  22037. "customeruserid": {
  22038. "description": "对手方 【3:采购合同 4:销售合同】",
  22039. "type": "integer"
  22040. },
  22041. "deliverygoodsid": {
  22042. "description": "现货品种ID",
  22043. "type": "integer"
  22044. },
  22045. "enumdicname": {
  22046. "description": "单位",
  22047. "type": "string"
  22048. },
  22049. "hedgeditemid": {
  22050. "description": "被套期项目ID",
  22051. "type": "string"
  22052. },
  22053. "hedgeditemspotid": {
  22054. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22055. "type": "string"
  22056. },
  22057. "hedgedtype": {
  22058. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22059. "type": "integer"
  22060. },
  22061. "oriavgprice": {
  22062. "description": "期初市场价[当初市场价]",
  22063. "type": "number"
  22064. },
  22065. "relatedamount": {
  22066. "description": "市价总额 = 关联数量 * 期初市场价",
  22067. "type": "number"
  22068. },
  22069. "relatedhedgeplanid": {
  22070. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22071. "type": "integer"
  22072. },
  22073. "relatedqty": {
  22074. "description": "关联数量[数量]",
  22075. "type": "number"
  22076. },
  22077. "relatedspotcontractid": {
  22078. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22079. "type": "integer"
  22080. },
  22081. "relatedtype": {
  22082. "description": "关联类型 - 1:套期关联 2:执行关联",
  22083. "type": "integer"
  22084. },
  22085. "spotgoodsbrandid": {
  22086. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22087. "type": "integer"
  22088. },
  22089. "spotpricedamount": {
  22090. "description": "定价总额[金额]",
  22091. "type": "number"
  22092. },
  22093. "spotpricedavgprice": {
  22094. "description": "现货均价 = 定价总额 / 关联数量",
  22095. "type": "number"
  22096. },
  22097. "spottype": {
  22098. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22099. "type": "integer"
  22100. },
  22101. "tradeuserid": {
  22102. "description": "交易用户ID",
  22103. "type": "integer"
  22104. },
  22105. "wrstandardid": {
  22106. "description": "现货商品ID",
  22107. "type": "integer"
  22108. },
  22109. "wrstandardname": {
  22110. "description": "现货商品",
  22111. "type": "string"
  22112. }
  22113. }
  22114. },
  22115. "models.Ermcp2himiddlegoods": {
  22116. "type": "object",
  22117. "required": [
  22118. "hedgeditemid",
  22119. "middlegoodsid"
  22120. ],
  22121. "properties": {
  22122. "futurehedgeqty": {
  22123. "description": "期货持仓套期量",
  22124. "type": "number"
  22125. },
  22126. "hedgeditemid": {
  22127. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22128. "type": "integer"
  22129. },
  22130. "hiexpsoure": {
  22131. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  22132. "type": "number"
  22133. },
  22134. "middlegoodscode": {
  22135. "description": "套保商品代码",
  22136. "type": "string"
  22137. },
  22138. "middlegoodsid": {
  22139. "description": "套保品种ID",
  22140. "type": "integer"
  22141. },
  22142. "middlegoodsname": {
  22143. "description": "套保商品名称",
  22144. "type": "string"
  22145. },
  22146. "unexehedgeqty": {
  22147. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  22148. "type": "number"
  22149. }
  22150. }
  22151. },
  22152. "models.Ermcp2stockspotchangelog": {
  22153. "type": "object",
  22154. "properties": {
  22155. "accountname": {
  22156. "description": "套期主体",
  22157. "type": "string"
  22158. },
  22159. "aftervalue": {
  22160. "description": "现货量",
  22161. "type": "number"
  22162. },
  22163. "beforevalue": {
  22164. "description": "变更前现货量",
  22165. "type": "number"
  22166. },
  22167. "contractno": {
  22168. "description": "[编号]现货合同编号",
  22169. "type": "string"
  22170. },
  22171. "contracttype": {
  22172. "description": "现货合同类型 - 1:采购 -1:销售",
  22173. "type": "integer"
  22174. },
  22175. "createtime": {
  22176. "description": "创建时间",
  22177. "type": "string"
  22178. },
  22179. "customerusername": {
  22180. "description": "对手方",
  22181. "type": "string"
  22182. },
  22183. "deliverygoodsid": {
  22184. "description": "现货品种ID",
  22185. "type": "integer"
  22186. },
  22187. "exetype": {
  22188. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  22189. "type": "integer"
  22190. },
  22191. "logid": {
  22192. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  22193. "type": "string"
  22194. },
  22195. "logvalue": {
  22196. "description": "[期间变化量]现货量变更值",
  22197. "type": "number"
  22198. },
  22199. "middlegoodschange": {
  22200. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  22201. "type": "number"
  22202. },
  22203. "operatelogtype": {
  22204. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  22205. "type": "integer"
  22206. },
  22207. "relatedid": {
  22208. "description": "现货合同ID",
  22209. "type": "integer"
  22210. },
  22211. "spotgoodsbrandid": {
  22212. "description": "现货品牌ID",
  22213. "type": "integer"
  22214. },
  22215. "tradedate": {
  22216. "description": "交易日(yyyyMMdd)",
  22217. "type": "string"
  22218. },
  22219. "userid": {
  22220. "description": "机构ID",
  22221. "type": "integer"
  22222. },
  22223. "warehouseinfoid": {
  22224. "description": "仓库ID",
  22225. "type": "integer"
  22226. },
  22227. "wrfactortypeid": {
  22228. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22229. "type": "integer"
  22230. },
  22231. "wrstandardid": {
  22232. "description": "现货商品ID",
  22233. "type": "integer"
  22234. },
  22235. "wrstandardname": {
  22236. "description": "商品名称",
  22237. "type": "string"
  22238. }
  22239. }
  22240. },
  22241. "models.Ermcp3AreaSpot": {
  22242. "type": "object",
  22243. "properties": {
  22244. "areauserid": {
  22245. "description": "所属机构",
  22246. "type": "integer"
  22247. },
  22248. "convertratio": {
  22249. "description": "套保系数",
  22250. "type": "number"
  22251. },
  22252. "decreaseqty": {
  22253. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  22254. "type": "number"
  22255. },
  22256. "enumdicname": {
  22257. "description": "单位名称",
  22258. "type": "string"
  22259. },
  22260. "increaseqty": {
  22261. "description": "增加数量=销售计划数量+采购已定价数量",
  22262. "type": "number"
  22263. },
  22264. "oritoalspotqty": {
  22265. "description": "昨日数量",
  22266. "type": "number"
  22267. },
  22268. "totalspotqty": {
  22269. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  22270. "type": "number"
  22271. },
  22272. "unitid": {
  22273. "description": "现货商品单位id",
  22274. "type": "integer"
  22275. },
  22276. "updatetime": {
  22277. "description": "更新时间",
  22278. "type": "string"
  22279. },
  22280. "wrstandardcode": {
  22281. "description": "现货商品代码",
  22282. "type": "string"
  22283. },
  22284. "wrstandardid": {
  22285. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22286. "type": "integer"
  22287. },
  22288. "wrstandardname": {
  22289. "description": "现货商品名称",
  22290. "type": "string"
  22291. }
  22292. }
  22293. },
  22294. "models.Ermcp3AreaSpotDetail": {
  22295. "type": "object",
  22296. "properties": {
  22297. "contracttype": {
  22298. "description": "合同类型 1-采购 -1-销售",
  22299. "type": "integer"
  22300. },
  22301. "createtime": {
  22302. "description": "创建时间",
  22303. "type": "string"
  22304. },
  22305. "enumdicname": {
  22306. "description": "现货商品单位名称",
  22307. "type": "string"
  22308. },
  22309. "logtype": {
  22310. "description": "记录类型 1-套保 2-现货合同",
  22311. "type": "integer"
  22312. },
  22313. "qty": {
  22314. "description": "数量",
  22315. "type": "number"
  22316. },
  22317. "recordname": {
  22318. "description": "类型名称",
  22319. "type": "string"
  22320. },
  22321. "relatedid": {
  22322. "description": "套保计划ID/现货合同ID",
  22323. "type": "string"
  22324. },
  22325. "relatedno": {
  22326. "description": "编号",
  22327. "type": "string"
  22328. },
  22329. "strtime": {
  22330. "description": "时间",
  22331. "type": "string"
  22332. },
  22333. "wrstandardcode": {
  22334. "description": "现货商品代码",
  22335. "type": "string"
  22336. },
  22337. "wrstandardid": {
  22338. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22339. "type": "integer"
  22340. },
  22341. "wrstandardname": {
  22342. "description": "现货商品名称",
  22343. "type": "string"
  22344. }
  22345. }
  22346. },
  22347. "models.Ermcp3AreaSpotPLReport": {
  22348. "type": "object",
  22349. "properties": {
  22350. "accountid": {
  22351. "description": "期货账户ID (作废, 默认为0)",
  22352. "type": "integer"
  22353. },
  22354. "accountname": {
  22355. "description": "机构名称",
  22356. "type": "string"
  22357. },
  22358. "actualpl": {
  22359. "description": "现货损益",
  22360. "type": "number"
  22361. },
  22362. "areauserid": {
  22363. "description": "所属机构\\交易用户ID",
  22364. "type": "integer"
  22365. },
  22366. "begindate": {
  22367. "description": "开始交易日",
  22368. "type": "string"
  22369. },
  22370. "biztype": {
  22371. "description": "业务类型 - 1:套保 2:套利",
  22372. "type": "integer"
  22373. },
  22374. "brandname": {
  22375. "description": "品牌名称",
  22376. "type": "string"
  22377. },
  22378. "curamount": {
  22379. "description": "期末额",
  22380. "type": "number"
  22381. },
  22382. "curaverageprice": {
  22383. "description": "期初均价",
  22384. "type": "number"
  22385. },
  22386. "curbuyamount": {
  22387. "description": "期末采购总额",
  22388. "type": "number"
  22389. },
  22390. "curbuyqty": {
  22391. "description": "期末采购总量",
  22392. "type": "number"
  22393. },
  22394. "curmarketvalue": {
  22395. "description": "期初均价",
  22396. "type": "number"
  22397. },
  22398. "curqty": {
  22399. "description": "期末量",
  22400. "type": "number"
  22401. },
  22402. "currencyid": {
  22403. "description": "结算币种ID【原值】",
  22404. "type": "integer"
  22405. },
  22406. "currencyname": {
  22407. "description": "币种名称",
  22408. "type": "string"
  22409. },
  22410. "cursellamount": {
  22411. "description": "期末销售总额",
  22412. "type": "number"
  22413. },
  22414. "cursellqty": {
  22415. "description": "期末销售总量",
  22416. "type": "number"
  22417. },
  22418. "curspotprice": {
  22419. "description": "期初均价",
  22420. "type": "number"
  22421. },
  22422. "cycletime": {
  22423. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22424. "type": "string"
  22425. },
  22426. "cycletype": {
  22427. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22428. "type": "integer"
  22429. },
  22430. "deliverygoodscode": {
  22431. "description": "现货品种代码",
  22432. "type": "string"
  22433. },
  22434. "deliverygoodsid": {
  22435. "description": "现货品种ID",
  22436. "type": "integer"
  22437. },
  22438. "deliverygoodsname": {
  22439. "description": "现货品种名称",
  22440. "type": "string"
  22441. },
  22442. "enddate": {
  22443. "description": "结束交易日",
  22444. "type": "string"
  22445. },
  22446. "enumdicname": {
  22447. "description": "现货品种单位名称(作废)",
  22448. "type": "string"
  22449. },
  22450. "floatpl": {
  22451. "description": "期初均价",
  22452. "type": "number"
  22453. },
  22454. "goodsunitid": {
  22455. "description": "现货品种单位id(作废)",
  22456. "type": "integer"
  22457. },
  22458. "oriamount": {
  22459. "description": "期初额",
  22460. "type": "number"
  22461. },
  22462. "oriaverageprice": {
  22463. "description": "期初均价",
  22464. "type": "number"
  22465. },
  22466. "oribuyamount": {
  22467. "description": "期初采购总额",
  22468. "type": "number"
  22469. },
  22470. "oribuyqty": {
  22471. "description": "期初采购总量",
  22472. "type": "number"
  22473. },
  22474. "oriqty": {
  22475. "description": "期初量",
  22476. "type": "number"
  22477. },
  22478. "orisellamount": {
  22479. "description": "期初销售总额",
  22480. "type": "number"
  22481. },
  22482. "orisellqty": {
  22483. "description": "期初销售总量",
  22484. "type": "number"
  22485. },
  22486. "reckondate": {
  22487. "description": "日照时期(yyyyMMdd)",
  22488. "type": "string"
  22489. },
  22490. "spotgoodsbrandid": {
  22491. "description": "现货品牌ID",
  22492. "type": "integer"
  22493. },
  22494. "todaybuyamount": {
  22495. "description": "今日采购额(今采购额)",
  22496. "type": "number"
  22497. },
  22498. "todaybuyaverageprice": {
  22499. "description": "期初均价",
  22500. "type": "number"
  22501. },
  22502. "todaybuyqty": {
  22503. "description": "今日采购量(今采购量)",
  22504. "type": "number"
  22505. },
  22506. "todayinqty": {
  22507. "description": "今日入库量(今入库量)",
  22508. "type": "number"
  22509. },
  22510. "todayoutqty": {
  22511. "description": "今日出库量(今出库量)",
  22512. "type": "number"
  22513. },
  22514. "todaysellamount": {
  22515. "description": "今日销售额(今销售额)",
  22516. "type": "number"
  22517. },
  22518. "todaysellaverageprice": {
  22519. "description": "期初均价",
  22520. "type": "number"
  22521. },
  22522. "todaysellqty": {
  22523. "description": "今日销售量(今销售量)",
  22524. "type": "number"
  22525. },
  22526. "unitid": {
  22527. "description": "品类单位id",
  22528. "type": "integer"
  22529. },
  22530. "unitidname": {
  22531. "description": "品类单位名称",
  22532. "type": "string"
  22533. },
  22534. "updatetime": {
  22535. "description": "更新时间",
  22536. "type": "string"
  22537. },
  22538. "wrfactortypeid": {
  22539. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22540. "type": "integer"
  22541. },
  22542. "wrstandardcode": {
  22543. "description": "现货商品(品类)代码",
  22544. "type": "string"
  22545. },
  22546. "wrstandardid": {
  22547. "description": "现货品类ID",
  22548. "type": "integer"
  22549. },
  22550. "wrstandardname": {
  22551. "description": "现货商品(品类)名称",
  22552. "type": "string"
  22553. }
  22554. }
  22555. },
  22556. "models.Ermcp3AreaStock": {
  22557. "type": "object",
  22558. "required": [
  22559. "userid"
  22560. ],
  22561. "properties": {
  22562. "brandname": {
  22563. "description": "品牌名称",
  22564. "type": "string"
  22565. },
  22566. "curstock": {
  22567. "description": "期末库存量(今日量)",
  22568. "type": "number"
  22569. },
  22570. "deliverygoodscode": {
  22571. "description": "现货品种代码",
  22572. "type": "string"
  22573. },
  22574. "deliverygoodsid": {
  22575. "description": "现货品种id",
  22576. "type": "integer"
  22577. },
  22578. "deliverygoodsname": {
  22579. "description": "现货品种名称",
  22580. "type": "string"
  22581. },
  22582. "enumdicname": {
  22583. "description": "单位名称",
  22584. "type": "string"
  22585. },
  22586. "goodsunitid": {
  22587. "description": "现货商品单位id",
  22588. "type": "integer"
  22589. },
  22590. "oristock": {
  22591. "description": "期初库存量(昨日量)",
  22592. "type": "number"
  22593. },
  22594. "spotgoodsbrandid": {
  22595. "description": "现货品牌ID",
  22596. "type": "integer"
  22597. },
  22598. "todaybuyinqty": {
  22599. "description": "今日采购入库量",
  22600. "type": "number"
  22601. },
  22602. "todayproduceinqty": {
  22603. "description": "今日生产入库量",
  22604. "type": "number"
  22605. },
  22606. "todayproduceoutqty": {
  22607. "description": "今日生产出库量",
  22608. "type": "number"
  22609. },
  22610. "todayselloutqty": {
  22611. "description": "今日销售出库量",
  22612. "type": "number"
  22613. },
  22614. "unitid": {
  22615. "description": "单位id",
  22616. "type": "integer"
  22617. },
  22618. "updatetime": {
  22619. "description": "更新时间",
  22620. "type": "string"
  22621. },
  22622. "userid": {
  22623. "description": "机构ID",
  22624. "type": "integer"
  22625. },
  22626. "username": {
  22627. "description": "机构名称",
  22628. "type": "string"
  22629. },
  22630. "warehousecode": {
  22631. "description": "仓库代码",
  22632. "type": "string"
  22633. },
  22634. "warehouseinfoid": {
  22635. "description": "仓库ID",
  22636. "type": "string"
  22637. },
  22638. "warehousename": {
  22639. "description": "仓库名称",
  22640. "type": "string"
  22641. },
  22642. "warehousetype": {
  22643. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22644. "type": "integer"
  22645. },
  22646. "wrstandardcode": {
  22647. "description": "品类代码",
  22648. "type": "string"
  22649. },
  22650. "wrstandardid": {
  22651. "description": "品类ID",
  22652. "type": "string"
  22653. },
  22654. "wrstandardname": {
  22655. "description": "品类名称",
  22656. "type": "string"
  22657. }
  22658. }
  22659. },
  22660. "models.Ermcp3AreaStockApply": {
  22661. "type": "object",
  22662. "properties": {
  22663. "applyid": {
  22664. "description": "申请人",
  22665. "type": "integer"
  22666. },
  22667. "applyname": {
  22668. "description": "申请人名称",
  22669. "type": "string"
  22670. },
  22671. "applyremark": {
  22672. "description": "申请备注",
  22673. "type": "string"
  22674. },
  22675. "applysrc": {
  22676. "description": "申请来源 - 1:管理端 2:终端",
  22677. "type": "integer"
  22678. },
  22679. "applystatus": {
  22680. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22681. "type": "integer"
  22682. },
  22683. "applytime": {
  22684. "description": "申请时间",
  22685. "type": "string"
  22686. },
  22687. "auditid": {
  22688. "description": "审核人",
  22689. "type": "integer"
  22690. },
  22691. "auditname": {
  22692. "description": "审核人名称",
  22693. "type": "string"
  22694. },
  22695. "auditremark": {
  22696. "description": "审核备注",
  22697. "type": "string"
  22698. },
  22699. "auditsrc": {
  22700. "description": "审核来源 - 1:管理端 2:终端",
  22701. "type": "integer"
  22702. },
  22703. "audittime": {
  22704. "description": "审核时间",
  22705. "type": "string"
  22706. },
  22707. "audittradedate": {
  22708. "description": "审核交易日(yyyyMMdd)",
  22709. "type": "string"
  22710. },
  22711. "brandname": {
  22712. "description": "品牌名称",
  22713. "type": "string"
  22714. },
  22715. "buynickname": {
  22716. "description": "采购方昵称",
  22717. "type": "string"
  22718. },
  22719. "buyuserid": {
  22720. "description": "采购方userid",
  22721. "type": "integer"
  22722. },
  22723. "buyusername": {
  22724. "description": "采购方名称",
  22725. "type": "string"
  22726. },
  22727. "contractno": {
  22728. "description": "合同编号",
  22729. "type": "string"
  22730. },
  22731. "contractqty": {
  22732. "description": "合同量",
  22733. "type": "number"
  22734. },
  22735. "contracttype": {
  22736. "description": "现货合同类型 - 1:采购 -1:销售",
  22737. "type": "integer"
  22738. },
  22739. "deliverygoodscode": {
  22740. "description": "现货品种代码",
  22741. "type": "string"
  22742. },
  22743. "deliverygoodsid": {
  22744. "description": "现货品种id",
  22745. "type": "integer"
  22746. },
  22747. "deliverygoodsname": {
  22748. "description": "现货品种名称",
  22749. "type": "string"
  22750. },
  22751. "detailjson": {
  22752. "description": "明细数据",
  22753. "type": "string"
  22754. },
  22755. "enumdicname": {
  22756. "description": "现货商品单位名称",
  22757. "type": "string"
  22758. },
  22759. "inoutapplyid": {
  22760. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  22761. "type": "string"
  22762. },
  22763. "inouttype": {
  22764. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22765. "type": "integer"
  22766. },
  22767. "pricetype": {
  22768. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22769. "type": "integer"
  22770. },
  22771. "qty": {
  22772. "description": "数量",
  22773. "type": "number"
  22774. },
  22775. "sellnickname": {
  22776. "description": "销售方昵称",
  22777. "type": "string"
  22778. },
  22779. "selluserid": {
  22780. "description": "销售方userid",
  22781. "type": "integer"
  22782. },
  22783. "sellusername": {
  22784. "description": "销售方名称",
  22785. "type": "string"
  22786. },
  22787. "spotcontractid": {
  22788. "description": "关联现货合同ID",
  22789. "type": "string"
  22790. },
  22791. "spotgoodsbrandid": {
  22792. "description": "现货品牌ID",
  22793. "type": "integer"
  22794. },
  22795. "unitid": {
  22796. "description": "单位id",
  22797. "type": "integer"
  22798. },
  22799. "userid": {
  22800. "description": "机构ID",
  22801. "type": "integer"
  22802. },
  22803. "warehousecode": {
  22804. "description": "仓库代码",
  22805. "type": "string"
  22806. },
  22807. "warehouseinfoid": {
  22808. "description": "现货仓库ID",
  22809. "type": "string"
  22810. },
  22811. "warehousename": {
  22812. "description": "仓库名称",
  22813. "type": "string"
  22814. },
  22815. "warehousetype": {
  22816. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22817. "type": "integer"
  22818. },
  22819. "wrstandardcode": {
  22820. "description": "品类代码",
  22821. "type": "string"
  22822. },
  22823. "wrstandardid": {
  22824. "description": "品类ID",
  22825. "type": "integer"
  22826. },
  22827. "wrstandardname": {
  22828. "description": "品类名称",
  22829. "type": "string"
  22830. }
  22831. }
  22832. },
  22833. "models.Ermcp3AreaStockApplySum": {
  22834. "type": "object",
  22835. "properties": {
  22836. "brandname": {
  22837. "description": "品牌名称",
  22838. "type": "string"
  22839. },
  22840. "inouttype": {
  22841. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22842. "type": "integer"
  22843. },
  22844. "spotcontractid": {
  22845. "description": "关联现货合同ID",
  22846. "type": "string"
  22847. },
  22848. "spotgoodsbrandid": {
  22849. "description": "品牌id",
  22850. "type": "integer"
  22851. },
  22852. "totalqty": {
  22853. "description": "总数量",
  22854. "type": "number"
  22855. },
  22856. "wrstandardid": {
  22857. "description": "品类id",
  22858. "type": "integer"
  22859. },
  22860. "wrstandardname": {
  22861. "description": "品类名称",
  22862. "type": "string"
  22863. }
  22864. }
  22865. },
  22866. "models.Ermcp3AreaStockReportEx": {
  22867. "type": "object",
  22868. "properties": {
  22869. "begindate": {
  22870. "description": "开始交易日",
  22871. "type": "string"
  22872. },
  22873. "brandname": {
  22874. "description": "品牌名称",
  22875. "type": "string"
  22876. },
  22877. "curstock": {
  22878. "description": "期末库存量",
  22879. "type": "number"
  22880. },
  22881. "cycletime": {
  22882. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22883. "type": "string"
  22884. },
  22885. "cycletype": {
  22886. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22887. "type": "integer"
  22888. },
  22889. "deliverygoodscode": {
  22890. "description": "现货品种代码",
  22891. "type": "string"
  22892. },
  22893. "deliverygoodsid": {
  22894. "description": "现货品种id",
  22895. "type": "integer"
  22896. },
  22897. "deliverygoodsname": {
  22898. "description": "现货品种名称",
  22899. "type": "string"
  22900. },
  22901. "diffqty": {
  22902. "description": "库存变化量 = 期末 - 期初",
  22903. "type": "number"
  22904. },
  22905. "enddate": {
  22906. "description": "结束交易日",
  22907. "type": "string"
  22908. },
  22909. "enumdicname": {
  22910. "description": "单位名称",
  22911. "type": "string"
  22912. },
  22913. "goodsunitid": {
  22914. "description": "现货单位id",
  22915. "type": "integer"
  22916. },
  22917. "oristock": {
  22918. "description": "期初库存量",
  22919. "type": "number"
  22920. },
  22921. "reckondate": {
  22922. "description": "日照时期(yyyyMMdd)",
  22923. "type": "string"
  22924. },
  22925. "spotgoodsbrandid": {
  22926. "description": "现货品牌ID",
  22927. "type": "integer"
  22928. },
  22929. "todaybuyinqty": {
  22930. "description": "今采购入库量",
  22931. "type": "number"
  22932. },
  22933. "todayproduceinqty": {
  22934. "description": "今内部入库量",
  22935. "type": "number"
  22936. },
  22937. "todayproduceoutqty": {
  22938. "description": "今内部出库量",
  22939. "type": "number"
  22940. },
  22941. "todayselloutqty": {
  22942. "description": "今销售出库量",
  22943. "type": "number"
  22944. },
  22945. "unbuyinqty": {
  22946. "description": "采购未入库量(数据库未找到相关字段?)",
  22947. "type": "number"
  22948. },
  22949. "unitid": {
  22950. "description": "品类单位id",
  22951. "type": "integer"
  22952. },
  22953. "unselloutqty": {
  22954. "description": "销售未出库量(数据库未找到相关字段?)",
  22955. "type": "number"
  22956. },
  22957. "updatetime": {
  22958. "description": "更新时间",
  22959. "type": "string"
  22960. },
  22961. "userid": {
  22962. "description": "机构ID",
  22963. "type": "integer"
  22964. },
  22965. "username": {
  22966. "description": "机构名称",
  22967. "type": "string"
  22968. },
  22969. "warehousecode": {
  22970. "description": "仓库代码",
  22971. "type": "string"
  22972. },
  22973. "warehouseinfoid": {
  22974. "description": "仓库ID",
  22975. "type": "string"
  22976. },
  22977. "warehousename": {
  22978. "description": "仓库名称",
  22979. "type": "string"
  22980. },
  22981. "warehousetype": {
  22982. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22983. "type": "integer"
  22984. },
  22985. "wrstandardcode": {
  22986. "description": "品类代码",
  22987. "type": "string"
  22988. },
  22989. "wrstandardid": {
  22990. "description": "品类ID",
  22991. "type": "integer"
  22992. },
  22993. "wrstandardname": {
  22994. "description": "品类名称",
  22995. "type": "string"
  22996. }
  22997. }
  22998. },
  22999. "models.Ermcp3ArealSumPL": {
  23000. "type": "object",
  23001. "properties": {
  23002. "accountname": {
  23003. "description": "机构名称",
  23004. "type": "string"
  23005. },
  23006. "areauserid": {
  23007. "description": "所属机构\\交易用户ID",
  23008. "type": "integer"
  23009. },
  23010. "begindate": {
  23011. "description": "开始交易日",
  23012. "type": "string"
  23013. },
  23014. "currencyid": {
  23015. "description": "结算币种ID",
  23016. "type": "integer"
  23017. },
  23018. "currencyname": {
  23019. "description": "币种名称",
  23020. "type": "string"
  23021. },
  23022. "cycletime": {
  23023. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23024. "type": "string"
  23025. },
  23026. "cycletype": {
  23027. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23028. "type": "integer"
  23029. },
  23030. "enddate": {
  23031. "description": "结束交易日",
  23032. "type": "string"
  23033. },
  23034. "enumdicname": {
  23035. "description": "单位名称(套保品种)",
  23036. "type": "string"
  23037. },
  23038. "futureactualpl": {
  23039. "description": "期货损益",
  23040. "type": "number"
  23041. },
  23042. "futurefloatpl": {
  23043. "description": "期货浮动损益",
  23044. "type": "number"
  23045. },
  23046. "futurespotratio": {
  23047. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  23048. "type": "number"
  23049. },
  23050. "goodsunitid": {
  23051. "description": "套保品种单位id",
  23052. "type": "integer"
  23053. },
  23054. "hedgeexposurepl": {
  23055. "description": "套保敞口损益",
  23056. "type": "number"
  23057. },
  23058. "middlegoodscode": {
  23059. "description": "套保品种代码",
  23060. "type": "string"
  23061. },
  23062. "middlegoodsid": {
  23063. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  23064. "type": "integer"
  23065. },
  23066. "middlegoodsname": {
  23067. "description": "套保品种名称",
  23068. "type": "string"
  23069. },
  23070. "reckondate": {
  23071. "description": "日照时期(yyyyMMdd)",
  23072. "type": "string"
  23073. },
  23074. "spotactualpl": {
  23075. "description": "现货损益",
  23076. "type": "number"
  23077. },
  23078. "spotfloatpl": {
  23079. "description": "现货浮动损益",
  23080. "type": "number"
  23081. },
  23082. "sumactualpl": {
  23083. "description": "实际损益 = (ActualPL + FutureActualPL)",
  23084. "type": "number"
  23085. },
  23086. "sumpl": {
  23087. "description": "总敞口损益 | 汇总损益",
  23088. "type": "number"
  23089. },
  23090. "totalfutureqty": {
  23091. "description": "期货头寸总量",
  23092. "type": "number"
  23093. },
  23094. "totalneedhedgeqty": {
  23095. "description": "应套保总量",
  23096. "type": "number"
  23097. },
  23098. "totalspotqty": {
  23099. "description": "现货头寸总量",
  23100. "type": "number"
  23101. },
  23102. "updatetime": {
  23103. "description": "更新时间",
  23104. "type": "string"
  23105. }
  23106. }
  23107. },
  23108. "models.Ermcp3Brand": {
  23109. "type": "object",
  23110. "properties": {
  23111. "areauserid": {
  23112. "description": "用户id",
  23113. "type": "integer"
  23114. },
  23115. "brandid": {
  23116. "description": "品牌id",
  23117. "type": "integer"
  23118. },
  23119. "brandname": {
  23120. "description": "品牌名称",
  23121. "type": "string"
  23122. },
  23123. "deliverygoodsid": {
  23124. "description": "品种ID",
  23125. "type": "integer"
  23126. },
  23127. "isvalid": {
  23128. "description": "是否有效",
  23129. "type": "integer"
  23130. }
  23131. }
  23132. },
  23133. "models.Ermcp3Contract": {
  23134. "type": "object",
  23135. "properties": {
  23136. "accountid": {
  23137. "description": "期货账户id",
  23138. "type": "string"
  23139. },
  23140. "amount": {
  23141. "description": "金额 [1:一口价、3:暂定价]",
  23142. "type": "number"
  23143. },
  23144. "attachment": {
  23145. "description": "附件",
  23146. "type": "string"
  23147. },
  23148. "auditremark": {
  23149. "description": "审核意见",
  23150. "type": "string"
  23151. },
  23152. "audittime": {
  23153. "description": "审核时间",
  23154. "type": "string"
  23155. },
  23156. "biztype": {
  23157. "description": "业务类型 1-套保 2-套利",
  23158. "type": "integer"
  23159. },
  23160. "brandname": {
  23161. "description": "品牌名称",
  23162. "type": "string"
  23163. },
  23164. "buynickname": {
  23165. "description": "销售方昵称",
  23166. "type": "string"
  23167. },
  23168. "buyuserid": {
  23169. "description": "采购方ID",
  23170. "type": "integer"
  23171. },
  23172. "buyusername": {
  23173. "description": "采购方名称",
  23174. "type": "string"
  23175. },
  23176. "contracctstatus": {
  23177. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23178. "type": "integer"
  23179. },
  23180. "contractmargin": {
  23181. "description": "合同保证金",
  23182. "type": "number"
  23183. },
  23184. "contractno": {
  23185. "description": "现货合同编号",
  23186. "type": "string"
  23187. },
  23188. "contracttype": {
  23189. "description": "现货合同类型 - 1:采购 -1:销售",
  23190. "type": "integer"
  23191. },
  23192. "convertfactor": {
  23193. "description": "标仓系数(品类)",
  23194. "type": "number"
  23195. },
  23196. "createtime": {
  23197. "description": "创建时间",
  23198. "type": "string"
  23199. },
  23200. "currencyid": {
  23201. "description": "币种id",
  23202. "type": "integer"
  23203. },
  23204. "currencyname": {
  23205. "description": "币种名称",
  23206. "type": "string"
  23207. },
  23208. "deliveryenddate": {
  23209. "description": "交收期(结束)",
  23210. "type": "string"
  23211. },
  23212. "deliverygoodscode": {
  23213. "description": "现货品种代码",
  23214. "type": "string"
  23215. },
  23216. "deliverygoodsid": {
  23217. "description": "现货品种ID",
  23218. "type": "integer"
  23219. },
  23220. "deliverygoodsname": {
  23221. "description": "现货品种名称",
  23222. "type": "string"
  23223. },
  23224. "deliverystartdate": {
  23225. "description": "交收期(开始)",
  23226. "type": "string"
  23227. },
  23228. "enddate": {
  23229. "description": "点价结束日期 [2:点价 3:暂定价]",
  23230. "type": "string"
  23231. },
  23232. "enumdicname": {
  23233. "description": "单位名称",
  23234. "type": "string"
  23235. },
  23236. "goodscode": {
  23237. "description": "点价合约代码",
  23238. "type": "string"
  23239. },
  23240. "goodsid": {
  23241. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  23242. "type": "integer"
  23243. },
  23244. "goodsname": {
  23245. "description": "点价商品名称",
  23246. "type": "string"
  23247. },
  23248. "margin": {
  23249. "description": "当前保证金",
  23250. "type": "number"
  23251. },
  23252. "meruserid": {
  23253. "description": "跟单员id",
  23254. "type": "integer"
  23255. },
  23256. "meruserlogincode": {
  23257. "description": "跟单员登录代码",
  23258. "type": "string"
  23259. },
  23260. "merusername": {
  23261. "description": "跟单员名称",
  23262. "type": "string"
  23263. },
  23264. "pointdesc": {
  23265. "description": "点价备注",
  23266. "type": "string"
  23267. },
  23268. "price": {
  23269. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  23270. "type": "number"
  23271. },
  23272. "pricemove": {
  23273. "description": "升贴水 [2:点价 3:暂定价]",
  23274. "type": "number"
  23275. },
  23276. "pricetype": {
  23277. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23278. "type": "integer"
  23279. },
  23280. "producttype": {
  23281. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23282. "type": "integer"
  23283. },
  23284. "qty": {
  23285. "description": "数量",
  23286. "type": "number"
  23287. },
  23288. "remark": {
  23289. "description": "备注",
  23290. "type": "string"
  23291. },
  23292. "saleuserid": {
  23293. "description": "业务员id",
  23294. "type": "integer"
  23295. },
  23296. "saleuserlogincode": {
  23297. "description": "业务员登录代码",
  23298. "type": "string"
  23299. },
  23300. "saleusername": {
  23301. "description": "业务员名称",
  23302. "type": "string"
  23303. },
  23304. "sellnickname": {
  23305. "description": "采购方昵称",
  23306. "type": "string"
  23307. },
  23308. "selluserid": {
  23309. "description": "销售方ID",
  23310. "type": "integer"
  23311. },
  23312. "sellusername": {
  23313. "description": "销售方名称",
  23314. "type": "string"
  23315. },
  23316. "spotcontractid": {
  23317. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23318. "type": "string"
  23319. },
  23320. "spotgoodsbrandid": {
  23321. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23322. "type": "integer"
  23323. },
  23324. "spotgoodsdesc": {
  23325. "description": "商品型号",
  23326. "type": "string"
  23327. },
  23328. "startdate": {
  23329. "description": "点价开始日期 [2:点价 3:暂定价]",
  23330. "type": "string"
  23331. },
  23332. "subjectid": {
  23333. "description": "交易主体ID",
  23334. "type": "integer"
  23335. },
  23336. "subjectname": {
  23337. "description": "交易主体名称",
  23338. "type": "string"
  23339. },
  23340. "tradeuserid": {
  23341. "description": "交易员id",
  23342. "type": "integer"
  23343. },
  23344. "tradeuserlogincode": {
  23345. "description": "交易员登录代码",
  23346. "type": "string"
  23347. },
  23348. "tradeusername": {
  23349. "description": "交易员名称",
  23350. "type": "string"
  23351. },
  23352. "unitid": {
  23353. "description": "单位id(取品类上的单位id)",
  23354. "type": "integer"
  23355. },
  23356. "updatetime": {
  23357. "description": "更新时间",
  23358. "type": "string"
  23359. },
  23360. "userid": {
  23361. "description": "所属机构ID",
  23362. "type": "integer"
  23363. },
  23364. "vatrate": {
  23365. "description": "增值税率",
  23366. "type": "number"
  23367. },
  23368. "wrstandardcode": {
  23369. "description": "品类代码",
  23370. "type": "string"
  23371. },
  23372. "wrstandardid": {
  23373. "description": "品类ID",
  23374. "type": "integer"
  23375. },
  23376. "wrstandardname": {
  23377. "description": "品类名称",
  23378. "type": "string"
  23379. }
  23380. }
  23381. },
  23382. "models.Ermcp3ContractMiddleGoodsCfg": {
  23383. "type": "object",
  23384. "properties": {
  23385. "agreeunit": {
  23386. "description": "合约乘数",
  23387. "type": "number"
  23388. },
  23389. "convertratio": {
  23390. "description": "期货品种系数",
  23391. "type": "number"
  23392. },
  23393. "covertqty": {
  23394. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  23395. "type": "integer"
  23396. },
  23397. "middlegoodsid": {
  23398. "description": "套保品种ID",
  23399. "type": "integer"
  23400. },
  23401. "middlegoodspricedqty3": {
  23402. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  23403. "type": "string",
  23404. "example": "0"
  23405. },
  23406. "pendingpricedqty": {
  23407. "description": "待点价量",
  23408. "type": "string",
  23409. "example": "0"
  23410. },
  23411. "relatedmiddlegoodsqty": {
  23412. "description": "已关联量(套保品种-期货)",
  23413. "type": "string",
  23414. "example": "0"
  23415. },
  23416. "spotcontractid": {
  23417. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23418. "type": "string"
  23419. }
  23420. }
  23421. },
  23422. "models.Ermcp3ExposureContractDetail": {
  23423. "type": "object",
  23424. "properties": {
  23425. "biztype": {
  23426. "description": "业务类型 1-套保 2-套利",
  23427. "type": "integer"
  23428. },
  23429. "brandname": {
  23430. "description": "品牌名称",
  23431. "type": "string"
  23432. },
  23433. "buyuserid": {
  23434. "description": "采购方id",
  23435. "type": "integer"
  23436. },
  23437. "buyusername": {
  23438. "description": "采购方名称",
  23439. "type": "string"
  23440. },
  23441. "contractno": {
  23442. "description": "合同编号",
  23443. "type": "string"
  23444. },
  23445. "contracttype": {
  23446. "description": "现货合同类型 - 1:采购 -1:销售",
  23447. "type": "integer"
  23448. },
  23449. "convertfactor": {
  23450. "description": "标仓系数",
  23451. "type": "number"
  23452. },
  23453. "convertratio": {
  23454. "description": "折算系数(套保品种)",
  23455. "type": "number"
  23456. },
  23457. "curqty": {
  23458. "description": "今定价量",
  23459. "type": "number"
  23460. },
  23461. "deliverygoodscode": {
  23462. "description": "现货品种代码",
  23463. "type": "string"
  23464. },
  23465. "deliverygoodsid": {
  23466. "description": "现货品种id",
  23467. "type": "integer"
  23468. },
  23469. "deliverygoodsname": {
  23470. "description": "现货品种名称",
  23471. "type": "string"
  23472. },
  23473. "diffhedgeqty": {
  23474. "description": "套保变动量",
  23475. "type": "number"
  23476. },
  23477. "diffneedhedgeqty": {
  23478. "description": "应套保变动量",
  23479. "type": "number"
  23480. },
  23481. "diffqty": {
  23482. "description": "套保品种今变动量",
  23483. "type": "number"
  23484. },
  23485. "enumdicname": {
  23486. "description": "单位名称",
  23487. "type": "string"
  23488. },
  23489. "mgunitname": {
  23490. "description": "套保品种单位名称",
  23491. "type": "string"
  23492. },
  23493. "middlegoodscode": {
  23494. "description": "套保品种代码",
  23495. "type": "string"
  23496. },
  23497. "middlegoodsid": {
  23498. "description": "套保品种id",
  23499. "type": "integer"
  23500. },
  23501. "middlegoodsname": {
  23502. "description": "套保品种名称",
  23503. "type": "string"
  23504. },
  23505. "needarbitrageratio": {
  23506. "description": "应套利比例",
  23507. "type": "number"
  23508. },
  23509. "needhedgeratio": {
  23510. "description": "应套保比例",
  23511. "type": "number"
  23512. },
  23513. "pricedqty": {
  23514. "description": "已定价量",
  23515. "type": "number"
  23516. },
  23517. "qty": {
  23518. "description": "合同量",
  23519. "type": "number"
  23520. },
  23521. "reckondate": {
  23522. "description": "交易日(reckondate)",
  23523. "type": "string"
  23524. },
  23525. "selluserid": {
  23526. "description": "销售方id",
  23527. "type": "integer"
  23528. },
  23529. "sellusername": {
  23530. "description": "销售方名称",
  23531. "type": "string"
  23532. },
  23533. "spotcontractid": {
  23534. "description": "合同id",
  23535. "type": "string"
  23536. },
  23537. "todaypricedqty": {
  23538. "description": "今定价量",
  23539. "type": "number"
  23540. },
  23541. "tradedate": {
  23542. "description": "交易日",
  23543. "type": "string"
  23544. },
  23545. "unitid": {
  23546. "description": "品类单位id",
  23547. "type": "integer"
  23548. },
  23549. "userid": {
  23550. "description": "机构id",
  23551. "type": "integer"
  23552. },
  23553. "username": {
  23554. "description": "交易用户",
  23555. "type": "string"
  23556. },
  23557. "wrstandardcode": {
  23558. "description": "现货商品代码",
  23559. "type": "string"
  23560. },
  23561. "wrstandardid": {
  23562. "description": "现货商品id",
  23563. "type": "integer"
  23564. },
  23565. "wrstandardname": {
  23566. "description": "现货商品名称",
  23567. "type": "string"
  23568. }
  23569. }
  23570. },
  23571. "models.Ermcp3ExposureDetail": {
  23572. "type": "object",
  23573. "properties": {
  23574. "areauserid": {
  23575. "description": "机构ID",
  23576. "type": "integer"
  23577. },
  23578. "changeQty": {
  23579. "description": "套保变动量",
  23580. "type": "number"
  23581. },
  23582. "contracttype": {
  23583. "description": "现货合同类型 - 1:采购 -1:销售",
  23584. "type": "integer"
  23585. },
  23586. "convertfactor": {
  23587. "description": "标仓系数",
  23588. "type": "number"
  23589. },
  23590. "convertratio": {
  23591. "description": "折算系数",
  23592. "type": "number"
  23593. },
  23594. "createtime": {
  23595. "description": "时间",
  23596. "type": "string"
  23597. },
  23598. "enumdicname": {
  23599. "description": "现货商品单位名称",
  23600. "type": "string"
  23601. },
  23602. "logtype": {
  23603. "description": "类型 - 1:套保计划 2:现货合同",
  23604. "type": "integer"
  23605. },
  23606. "mgunitid": {
  23607. "description": "套保品种单位id",
  23608. "type": "integer"
  23609. },
  23610. "mgunitidname": {
  23611. "description": "套保品种单位名称",
  23612. "type": "string"
  23613. },
  23614. "middlegoodsId": {
  23615. "description": "套保商品id",
  23616. "type": "integer"
  23617. },
  23618. "middlegoodscode": {
  23619. "description": "套保商品代码",
  23620. "type": "string"
  23621. },
  23622. "middlegoodsname": {
  23623. "description": "套保商品名称",
  23624. "type": "string"
  23625. },
  23626. "qty": {
  23627. "description": "数量",
  23628. "type": "number"
  23629. },
  23630. "relateNo": {
  23631. "description": "现货合同/套保计划编号",
  23632. "type": "string"
  23633. },
  23634. "unitid": {
  23635. "description": "现货商品单位id",
  23636. "type": "integer"
  23637. },
  23638. "wrstandardcode": {
  23639. "description": "现货商品代码",
  23640. "type": "string"
  23641. },
  23642. "wrstandardid": {
  23643. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23644. "type": "integer"
  23645. },
  23646. "wrstandardname": {
  23647. "description": "现货商品名称",
  23648. "type": "string"
  23649. }
  23650. }
  23651. },
  23652. "models.Ermcp3ExposureFutuDetail": {
  23653. "type": "object",
  23654. "properties": {
  23655. "accountid": {
  23656. "description": "交易账户id",
  23657. "type": "integer"
  23658. },
  23659. "accountname": {
  23660. "description": "交易账户",
  23661. "type": "string"
  23662. },
  23663. "begindate": {
  23664. "description": "开始交易日",
  23665. "type": "string"
  23666. },
  23667. "buyorsell": {
  23668. "description": "方向 0-买 1-卖",
  23669. "type": "integer"
  23670. },
  23671. "diffmgqty": {
  23672. "description": "套保品种今变化量",
  23673. "type": "number"
  23674. },
  23675. "diffneedqty": {
  23676. "description": "应套保总量变化量",
  23677. "type": "number"
  23678. },
  23679. "difftradeqty": {
  23680. "description": "交易品种今变化量",
  23681. "type": "number"
  23682. },
  23683. "enddate": {
  23684. "description": "结束交易日",
  23685. "type": "string"
  23686. },
  23687. "enumdicname": {
  23688. "description": "单位名称",
  23689. "type": "string"
  23690. },
  23691. "goodscode": {
  23692. "description": "商品代码",
  23693. "type": "string"
  23694. },
  23695. "goodsid": {
  23696. "description": "商品id",
  23697. "type": "integer"
  23698. },
  23699. "goodsname": {
  23700. "description": "商品名称",
  23701. "type": "string"
  23702. },
  23703. "holdqty": {
  23704. "description": "期末持仓量",
  23705. "type": "number"
  23706. },
  23707. "middlegoodscode": {
  23708. "description": "套保商品代码",
  23709. "type": "string"
  23710. },
  23711. "middlegoodsid": {
  23712. "description": "套保商品id",
  23713. "type": "integer"
  23714. },
  23715. "middlegoodsname": {
  23716. "description": "套保商品名称",
  23717. "type": "string"
  23718. },
  23719. "oriholdqty": {
  23720. "description": "期初持仓量",
  23721. "type": "number"
  23722. },
  23723. "reckondate": {
  23724. "description": "交易日(RECKONDATE)",
  23725. "type": "string"
  23726. },
  23727. "todaycloseqty": {
  23728. "description": "今平仓量",
  23729. "type": "number"
  23730. },
  23731. "todayopenqty": {
  23732. "description": "今开仓量",
  23733. "type": "number"
  23734. },
  23735. "tradedate": {
  23736. "description": "交易日(RECKONDATE)",
  23737. "type": "string"
  23738. },
  23739. "username": {
  23740. "description": "用户名称(交易用户)",
  23741. "type": "string"
  23742. }
  23743. }
  23744. },
  23745. "models.Ermcp3ExposureHedgeplanDetail": {
  23746. "type": "object",
  23747. "properties": {
  23748. "biztype": {
  23749. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  23750. "type": "integer"
  23751. },
  23752. "changqty": {
  23753. "description": "应套保总量变化量",
  23754. "type": "number"
  23755. },
  23756. "contracttype": {
  23757. "description": "计划类型 - 1:采购 -1:销售",
  23758. "type": "integer"
  23759. },
  23760. "convertratio": {
  23761. "description": "折算系数(套保品种)",
  23762. "type": "number"
  23763. },
  23764. "deliverygoodscode": {
  23765. "description": "现货商品代码",
  23766. "type": "string"
  23767. },
  23768. "deliverygoodsid": {
  23769. "description": "现货商品id",
  23770. "type": "integer"
  23771. },
  23772. "deliverygoodsname": {
  23773. "description": "现货商吕名称",
  23774. "type": "string"
  23775. },
  23776. "dgunitid": {
  23777. "description": "现货商品单位id",
  23778. "type": "integer"
  23779. },
  23780. "dgunitidname": {
  23781. "description": "单位名称(现货商品)",
  23782. "type": "string"
  23783. },
  23784. "diffqty": {
  23785. "description": "套保品种今变动量",
  23786. "type": "number"
  23787. },
  23788. "enumdicname": {
  23789. "description": "单位名称(品类)",
  23790. "type": "string"
  23791. },
  23792. "hedgeplanid": {
  23793. "description": "套保计划id",
  23794. "type": "string"
  23795. },
  23796. "hedgeplanno": {
  23797. "description": "套保计划名称",
  23798. "type": "string"
  23799. },
  23800. "hedgeplanstatus": {
  23801. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23802. "type": "integer"
  23803. },
  23804. "mgunitidname": {
  23805. "description": "单位名称(套保商品)",
  23806. "type": "string"
  23807. },
  23808. "middlegoodscode": {
  23809. "description": "套保品种代码",
  23810. "type": "string"
  23811. },
  23812. "middlegoodsid": {
  23813. "description": "套保品种id",
  23814. "type": "integer"
  23815. },
  23816. "middlegoodsname": {
  23817. "description": "套保品种名称",
  23818. "type": "string"
  23819. },
  23820. "needarbitrageratio": {
  23821. "description": "应套利比例",
  23822. "type": "number"
  23823. },
  23824. "needhedgeratio": {
  23825. "description": "应套保比例",
  23826. "type": "number"
  23827. },
  23828. "pricedqty": {
  23829. "description": "已定价量",
  23830. "type": "number"
  23831. },
  23832. "qty": {
  23833. "description": "合同量",
  23834. "type": "number"
  23835. },
  23836. "reckondate": {
  23837. "description": "交易日(reckondate)",
  23838. "type": "string"
  23839. },
  23840. "tradedate": {
  23841. "description": "交易日(登记日)",
  23842. "type": "string"
  23843. },
  23844. "unitid": {
  23845. "description": "品类单位id",
  23846. "type": "integer"
  23847. },
  23848. "userid": {
  23849. "description": "机构id",
  23850. "type": "integer"
  23851. },
  23852. "wrstandardcode": {
  23853. "description": "品类代码",
  23854. "type": "string"
  23855. },
  23856. "wrstandardid": {
  23857. "description": "品类id",
  23858. "type": "integer"
  23859. },
  23860. "wrstandardname": {
  23861. "description": "品类名称",
  23862. "type": "string"
  23863. }
  23864. }
  23865. },
  23866. "models.Ermcp3ExposureParamChLog": {
  23867. "type": "object",
  23868. "properties": {
  23869. "accountid": {
  23870. "description": "期货账户ID (作废, 默认为0)",
  23871. "type": "integer"
  23872. },
  23873. "aftervalue": {
  23874. "description": "应套保\\套利量变更后(调整后应套保总量)",
  23875. "type": "number"
  23876. },
  23877. "areauserid": {
  23878. "description": "所属机构\\交易用户ID",
  23879. "type": "integer"
  23880. },
  23881. "beforevalue": {
  23882. "description": "应套保\\套利量变更前(调整前应套保总量)",
  23883. "type": "number"
  23884. },
  23885. "begindate": {
  23886. "description": "开始交易日",
  23887. "type": "string"
  23888. },
  23889. "changelogtype": {
  23890. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  23891. "type": "integer"
  23892. },
  23893. "curvalue": {
  23894. "description": "当前套保\\套利量(套保总量|套利总量)",
  23895. "type": "number"
  23896. },
  23897. "diffvalue": {
  23898. "description": "应套保总量变化量",
  23899. "type": "number"
  23900. },
  23901. "enddate": {
  23902. "description": "结束交易日",
  23903. "type": "string"
  23904. },
  23905. "logdatetime": {
  23906. "description": "流水日期",
  23907. "type": "string"
  23908. },
  23909. "logid": {
  23910. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  23911. "type": "string"
  23912. },
  23913. "middlegoodscode": {
  23914. "description": "套保品种代码",
  23915. "type": "string"
  23916. },
  23917. "middlegoodsid": {
  23918. "description": "套保品种",
  23919. "type": "integer"
  23920. },
  23921. "middlegoodsname": {
  23922. "description": "套保品种名称",
  23923. "type": "string"
  23924. },
  23925. "paramaftervalue": {
  23926. "description": "参数变更后(调整后参数值)",
  23927. "type": "number"
  23928. },
  23929. "parambeforevalue": {
  23930. "description": "参数变更前(调整前参数值)",
  23931. "type": "number"
  23932. },
  23933. "reckondate": {
  23934. "description": "交易日(reckondate)",
  23935. "type": "string"
  23936. },
  23937. "tradedate": {
  23938. "description": "交易日(yyyyMMdd)",
  23939. "type": "string"
  23940. }
  23941. }
  23942. },
  23943. "models.Ermcp3ExpourseReport": {
  23944. "type": "object",
  23945. "properties": {
  23946. "accountid": {
  23947. "description": "期货账户ID (作废, 默认为0)",
  23948. "type": "integer"
  23949. },
  23950. "accountname": {
  23951. "description": "机构名称",
  23952. "type": "string"
  23953. },
  23954. "arbitrageqty": {
  23955. "description": "套利量",
  23956. "type": "number"
  23957. },
  23958. "areauserid": {
  23959. "description": "所属机构\\交易用户ID",
  23960. "type": "integer"
  23961. },
  23962. "begindate": {
  23963. "description": "开始交易日",
  23964. "type": "string"
  23965. },
  23966. "buyfutureqty": {
  23967. "description": "买入期货数量",
  23968. "type": "number"
  23969. },
  23970. "buyplanqty": {
  23971. "description": "采购计划数量",
  23972. "type": "number"
  23973. },
  23974. "buypricedqty": {
  23975. "description": "采购合同已定价数量",
  23976. "type": "number"
  23977. },
  23978. "cycletime": {
  23979. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23980. "type": "string"
  23981. },
  23982. "cycletype": {
  23983. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23984. "type": "integer"
  23985. },
  23986. "diffexposure": {
  23987. "description": "变动量(套保敞口)",
  23988. "type": "number"
  23989. },
  23990. "difffutuqty": {
  23991. "description": "变动量(期货)",
  23992. "type": "number"
  23993. },
  23994. "diffhedgeqty": {
  23995. "description": "变动量(现货应套保总量)",
  23996. "type": "number"
  23997. },
  23998. "diffmgqtya": {
  23999. "description": "套保变动量",
  24000. "type": "number"
  24001. },
  24002. "diffmgqtyb": {
  24003. "description": "套利变动量",
  24004. "type": "number"
  24005. },
  24006. "diffneedqty": {
  24007. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  24008. "type": "number"
  24009. },
  24010. "diffqty": {
  24011. "description": "变动量(总敞口)",
  24012. "type": "number"
  24013. },
  24014. "diffspotqty": {
  24015. "description": "变动量(现货) | 除税变动量",
  24016. "type": "number"
  24017. },
  24018. "enddate": {
  24019. "description": "结束交易日",
  24020. "type": "string"
  24021. },
  24022. "enumdicname": {
  24023. "description": "单位名称",
  24024. "type": "string"
  24025. },
  24026. "hedgeqty": {
  24027. "description": "套保量",
  24028. "type": "number"
  24029. },
  24030. "mgneedhedgeratio": {
  24031. "description": "套保比例(套保品的)",
  24032. "type": "number"
  24033. },
  24034. "middlegoodsid": {
  24035. "description": "套保品种ID",
  24036. "type": "integer"
  24037. },
  24038. "middlegoodsname": {
  24039. "description": "套保商品名称",
  24040. "type": "string"
  24041. },
  24042. "middlgoodscode": {
  24043. "description": "套保商品代码",
  24044. "type": "string"
  24045. },
  24046. "needarbitrageqty": {
  24047. "description": "应套利量",
  24048. "type": "number"
  24049. },
  24050. "needarbitrageratio": {
  24051. "description": "套利比例(套保品的)",
  24052. "type": "number"
  24053. },
  24054. "needhedgeexposoure": {
  24055. "description": "应套保敞口(套保敞口)",
  24056. "type": "number"
  24057. },
  24058. "needhedgeqty": {
  24059. "description": "应套保量",
  24060. "type": "number"
  24061. },
  24062. "needhedgeratio": {
  24063. "description": "应套保敞口比例",
  24064. "type": "number"
  24065. },
  24066. "needqty": {
  24067. "description": "应套总量 = 应套保量 + 应套利量",
  24068. "type": "number"
  24069. },
  24070. "oriarbitrageqty": {
  24071. "description": "期初套利量",
  24072. "type": "number"
  24073. },
  24074. "oribuyfutureqty": {
  24075. "description": "期初买入期货数量",
  24076. "type": "number"
  24077. },
  24078. "oribuyplanqty": {
  24079. "description": "期初采购计划数量",
  24080. "type": "number"
  24081. },
  24082. "oribuypricedqty": {
  24083. "description": "期初采购合同已定价数量",
  24084. "type": "number"
  24085. },
  24086. "orihedgeqty": {
  24087. "description": "期初套保量",
  24088. "type": "number"
  24089. },
  24090. "orineedarbitrageqty": {
  24091. "description": "期初应套利量",
  24092. "type": "number"
  24093. },
  24094. "orineedhedgeexposoure": {
  24095. "description": "期初应套保敞口",
  24096. "type": "number"
  24097. },
  24098. "orineedhedgeqty": {
  24099. "description": "期初应套保量",
  24100. "type": "number"
  24101. },
  24102. "orisellfutureqty": {
  24103. "description": "期初卖出期货数量",
  24104. "type": "number"
  24105. },
  24106. "orisellplanqty": {
  24107. "description": "期初销售计划数量",
  24108. "type": "number"
  24109. },
  24110. "orisellpricedqty": {
  24111. "description": "期初销售合同已定价数量",
  24112. "type": "number"
  24113. },
  24114. "oritotalexposure": {
  24115. "description": "期初实时总敞口",
  24116. "type": "number"
  24117. },
  24118. "oritotalfutureqty": {
  24119. "description": "期初期货头寸总量",
  24120. "type": "number"
  24121. },
  24122. "oritotalneedhedgeqty": {
  24123. "description": "期初应套保总量",
  24124. "type": "number"
  24125. },
  24126. "oritotalspotqty": {
  24127. "description": "期初现货头寸总量",
  24128. "type": "number"
  24129. },
  24130. "reckondate": {
  24131. "description": "日照时期(yyyyMMdd)",
  24132. "type": "string"
  24133. },
  24134. "sellfutureqty": {
  24135. "description": "卖出期货数量",
  24136. "type": "number"
  24137. },
  24138. "sellplanqty": {
  24139. "description": "销售计划数量",
  24140. "type": "number"
  24141. },
  24142. "sellpricedqty": {
  24143. "description": "销售合同已定价数量",
  24144. "type": "number"
  24145. },
  24146. "totalexposure": {
  24147. "description": "实时总敞口(总敞口)",
  24148. "type": "number"
  24149. },
  24150. "totalfutureqty": {
  24151. "description": "期货头寸总量(期货总量)",
  24152. "type": "number"
  24153. },
  24154. "totalhedgeratio": {
  24155. "description": "敞口比例",
  24156. "type": "number"
  24157. },
  24158. "totalneedhedgeqty": {
  24159. "description": "应套保总量(现货应套保总量)",
  24160. "type": "number"
  24161. },
  24162. "totalspotqty": {
  24163. "description": "现货头寸总量 | 除税总量",
  24164. "type": "number"
  24165. },
  24166. "unitid": {
  24167. "description": "单位id",
  24168. "type": "integer"
  24169. },
  24170. "updatetime": {
  24171. "description": "更新时间",
  24172. "type": "string"
  24173. }
  24174. }
  24175. },
  24176. "models.Ermcp3FinanceReport": {
  24177. "type": "object",
  24178. "properties": {
  24179. "accountname": {
  24180. "description": "机构名称",
  24181. "type": "string"
  24182. },
  24183. "areauserid": {
  24184. "description": "所属机构\\交易用户ID",
  24185. "type": "integer"
  24186. },
  24187. "begindate": {
  24188. "description": "开始交易日",
  24189. "type": "string"
  24190. },
  24191. "biztype": {
  24192. "description": "业务类型 - 1:套保 2:套利",
  24193. "type": "integer"
  24194. },
  24195. "brandname": {
  24196. "description": "品牌名称",
  24197. "type": "string"
  24198. },
  24199. "buypreinvoicedamount": {
  24200. "description": "采购预收票额(预收票额)",
  24201. "type": "number"
  24202. },
  24203. "buyprepaidamount": {
  24204. "description": "采购预付款额(预付货款额)",
  24205. "type": "number"
  24206. },
  24207. "buytodayinvoiceamount": {
  24208. "description": "采购今收票额(今收票额)",
  24209. "type": "number"
  24210. },
  24211. "buytodayrefundamount": {
  24212. "description": "采购今收退款额(今收退款额)",
  24213. "type": "number"
  24214. },
  24215. "buytodaysettleamount": {
  24216. "description": "采购今付款额(今付货款额)",
  24217. "type": "number"
  24218. },
  24219. "buyuninvoicedamount": {
  24220. "description": "采购应收票额(应收票额)",
  24221. "type": "number"
  24222. },
  24223. "buyunpaidamount": {
  24224. "description": "采购应付款额(应付货款额)",
  24225. "type": "number"
  24226. },
  24227. "currencyid": {
  24228. "description": "结算币种ID",
  24229. "type": "integer"
  24230. },
  24231. "currencyname": {
  24232. "description": "币种名称",
  24233. "type": "string"
  24234. },
  24235. "cycletime": {
  24236. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24237. "type": "string"
  24238. },
  24239. "cycletype": {
  24240. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24241. "type": "integer"
  24242. },
  24243. "deliverygoodscode": {
  24244. "description": "现货品种代码",
  24245. "type": "string"
  24246. },
  24247. "deliverygoodsid": {
  24248. "description": "现货品种ID",
  24249. "type": "integer"
  24250. },
  24251. "deliverygoodsname": {
  24252. "description": "现货品种名称",
  24253. "type": "string"
  24254. },
  24255. "enddate": {
  24256. "description": "结束交易日",
  24257. "type": "string"
  24258. },
  24259. "reckondate": {
  24260. "description": "日照时期(yyyyMMdd)",
  24261. "type": "string"
  24262. },
  24263. "sellpreinvoicedamount": {
  24264. "description": "销售预开票额(预开票额)",
  24265. "type": "number"
  24266. },
  24267. "sellprepaidamount": {
  24268. "description": "销售预收款额(预收货款额)",
  24269. "type": "number"
  24270. },
  24271. "selltodayinvoiceamount": {
  24272. "description": "销售今开票额(今开票额)",
  24273. "type": "number"
  24274. },
  24275. "selltodayrefundamount": {
  24276. "description": "销售今付退款额(今付退款额)",
  24277. "type": "number"
  24278. },
  24279. "selltodaysettleamount": {
  24280. "description": "销售今收款额(今收货款额)",
  24281. "type": "number"
  24282. },
  24283. "selluninvoicedamount": {
  24284. "description": "销售应开票额(应开票额)",
  24285. "type": "number"
  24286. },
  24287. "sellunpaidamount": {
  24288. "description": "销售应收款额(应收货款额)",
  24289. "type": "number"
  24290. },
  24291. "spotgoodsbrandid": {
  24292. "description": "现货品牌ID",
  24293. "type": "integer"
  24294. },
  24295. "todaypaysum": {
  24296. "description": "今付款合计",
  24297. "type": "number"
  24298. },
  24299. "todayreceivesum": {
  24300. "description": "今收款合计",
  24301. "type": "number"
  24302. },
  24303. "updatetime": {
  24304. "description": "更新时间",
  24305. "type": "string"
  24306. },
  24307. "wrfactortypeid": {
  24308. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  24309. "type": "integer"
  24310. },
  24311. "wrstandardcode": {
  24312. "description": "品类代码",
  24313. "type": "string"
  24314. },
  24315. "wrstandardid": {
  24316. "description": "现货商品ID",
  24317. "type": "integer"
  24318. },
  24319. "wrstandardname": {
  24320. "description": "品类名称",
  24321. "type": "string"
  24322. }
  24323. }
  24324. },
  24325. "models.Ermcp3GoodsGroup": {
  24326. "type": "object",
  24327. "required": [
  24328. "areauserid"
  24329. ],
  24330. "properties": {
  24331. "agreeunit": {
  24332. "description": "合约单位",
  24333. "type": "number"
  24334. },
  24335. "areauserid": {
  24336. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  24337. "type": "integer"
  24338. },
  24339. "canshort": {
  24340. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24341. "type": "integer"
  24342. },
  24343. "closepricemode": {
  24344. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24345. "type": "integer"
  24346. },
  24347. "createtime": {
  24348. "description": "创建时间",
  24349. "type": "string"
  24350. },
  24351. "creatorid": {
  24352. "description": "创建人",
  24353. "type": "integer"
  24354. },
  24355. "currencyid": {
  24356. "description": "报价货币ID",
  24357. "type": "integer"
  24358. },
  24359. "decimalplace": {
  24360. "description": "报价小数位",
  24361. "type": "integer"
  24362. },
  24363. "enumdicname": {
  24364. "description": "单位名称",
  24365. "type": "string"
  24366. },
  24367. "exchangefullname": {
  24368. "description": "交易所全称",
  24369. "type": "string"
  24370. },
  24371. "excludecfg": {
  24372. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  24373. "type": "integer"
  24374. },
  24375. "exexchangecode": {
  24376. "description": "交易所代码",
  24377. "type": "string"
  24378. },
  24379. "exexchangeid": {
  24380. "description": "外部交易所ID[通道交易]",
  24381. "type": "integer"
  24382. },
  24383. "exexchangename": {
  24384. "description": "交易所名称",
  24385. "type": "string"
  24386. },
  24387. "goodsgroupid": {
  24388. "description": "商品组ID(自增ID)",
  24389. "type": "integer"
  24390. },
  24391. "goodsgroupname": {
  24392. "description": "商品组名称",
  24393. "type": "string"
  24394. },
  24395. "goodsgroupstatus": {
  24396. "description": "商品组状态 - 1:正常 2:注销",
  24397. "type": "integer"
  24398. },
  24399. "goodunitid": {
  24400. "description": "报价单位ID",
  24401. "type": "integer"
  24402. },
  24403. "groupcategroyid": {
  24404. "description": "品种分类ID",
  24405. "type": "integer"
  24406. },
  24407. "innerdealmode": {
  24408. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24409. "type": "integer"
  24410. },
  24411. "marketid": {
  24412. "description": "所属市场ID",
  24413. "type": "integer"
  24414. },
  24415. "modifierid": {
  24416. "description": "修改人",
  24417. "type": "integer"
  24418. },
  24419. "modifytime": {
  24420. "description": "修改时间",
  24421. "type": "string"
  24422. },
  24423. "outerdealmode": {
  24424. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24425. "type": "integer"
  24426. },
  24427. "outergroupcode": {
  24428. "description": "外部商品组代码[通道交易]",
  24429. "type": "string"
  24430. },
  24431. "quoteminunit": {
  24432. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24433. "type": "integer"
  24434. },
  24435. "quotesourcegroupid": {
  24436. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  24437. "type": "integer"
  24438. },
  24439. "syncgoodsqty": {
  24440. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  24441. "type": "integer"
  24442. }
  24443. }
  24444. },
  24445. "models.Ermcp3HPMiddleGoods": {
  24446. "type": "object",
  24447. "properties": {
  24448. "biztype": {
  24449. "description": "业务类型 1:套保 2:套利",
  24450. "type": "integer"
  24451. },
  24452. "contracttype": {
  24453. "description": "合同类型 1:采购 -1:销售",
  24454. "type": "integer"
  24455. },
  24456. "convertratio": {
  24457. "description": "折算系数",
  24458. "type": "number"
  24459. },
  24460. "customername": {
  24461. "description": "对手手名称",
  24462. "type": "string"
  24463. },
  24464. "customeruserid": {
  24465. "description": "对手id",
  24466. "type": "integer"
  24467. },
  24468. "enumdicname": {
  24469. "description": "现货单位名称",
  24470. "type": "string"
  24471. },
  24472. "hedgeplanid": {
  24473. "description": "计划id",
  24474. "type": "string"
  24475. },
  24476. "hedgeplanno": {
  24477. "description": "计划编号",
  24478. "type": "string"
  24479. },
  24480. "middlegoodsid": {
  24481. "description": "套保品种ID",
  24482. "type": "integer"
  24483. },
  24484. "middlegoodsplanqty3": {
  24485. "description": "应套保计划量",
  24486. "type": "number"
  24487. },
  24488. "needhedgeratio": {
  24489. "description": "套保比例",
  24490. "type": "number"
  24491. },
  24492. "pricedqty": {
  24493. "description": "已定价量",
  24494. "type": "number"
  24495. },
  24496. "relatedmiddlegoodsqty": {
  24497. "description": "已关联量(套保品种)(期货)",
  24498. "type": "number"
  24499. },
  24500. "unitid": {
  24501. "description": "现货单位id",
  24502. "type": "integer"
  24503. },
  24504. "userid": {
  24505. "description": "用户id",
  24506. "type": "integer"
  24507. },
  24508. "vatrate": {
  24509. "description": "增值税率",
  24510. "type": "number"
  24511. },
  24512. "wrstandardcode": {
  24513. "description": "现货商品代码",
  24514. "type": "string"
  24515. },
  24516. "wrstandardid": {
  24517. "description": "现货商品id",
  24518. "type": "integer"
  24519. },
  24520. "wrstandardname": {
  24521. "description": "现货商品名称",
  24522. "type": "string"
  24523. }
  24524. }
  24525. },
  24526. "models.Ermcp3HedgePlan": {
  24527. "type": "object",
  24528. "properties": {
  24529. "accountid": {
  24530. "description": "资金账号",
  24531. "type": "integer"
  24532. },
  24533. "areauserid": {
  24534. "description": "用户ID",
  24535. "type": "integer"
  24536. },
  24537. "auditid": {
  24538. "description": "审核id",
  24539. "type": "integer"
  24540. },
  24541. "auditname": {
  24542. "description": "审核人名称",
  24543. "type": "string"
  24544. },
  24545. "auditremark": {
  24546. "description": "审核备注",
  24547. "type": "string"
  24548. },
  24549. "auditsrc": {
  24550. "description": "审核来源 1-管理端 2-终端",
  24551. "type": "integer"
  24552. },
  24553. "audittime": {
  24554. "description": "审核时间",
  24555. "type": "string"
  24556. },
  24557. "contracttype": {
  24558. "description": "计划类型 - 1:采购 -1:销售",
  24559. "type": "integer"
  24560. },
  24561. "convertfactor": {
  24562. "description": "标仓系数",
  24563. "type": "number"
  24564. },
  24565. "createtime": {
  24566. "description": "创建时间",
  24567. "type": "string"
  24568. },
  24569. "currencyid": {
  24570. "description": "币种id",
  24571. "type": "integer"
  24572. },
  24573. "currencyname": {
  24574. "description": "币种名称",
  24575. "type": "string"
  24576. },
  24577. "deliverygoodscode": {
  24578. "description": "现货品种代码",
  24579. "type": "string"
  24580. },
  24581. "deliverygoodsid": {
  24582. "description": "现货品种ID",
  24583. "type": "integer"
  24584. },
  24585. "deliverygoodsname": {
  24586. "description": "现货品种名称",
  24587. "type": "string"
  24588. },
  24589. "enumdicname": {
  24590. "description": "单位名称(现货商品)",
  24591. "type": "string"
  24592. },
  24593. "hedgeplanid": {
  24594. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  24595. "type": "string"
  24596. },
  24597. "hedgeplanno": {
  24598. "description": "套保计划编号(名称)",
  24599. "type": "string"
  24600. },
  24601. "hedgeplanstatus": {
  24602. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24603. "type": "integer"
  24604. },
  24605. "planqty": {
  24606. "description": "计划数量",
  24607. "type": "number"
  24608. },
  24609. "plantime": {
  24610. "description": "计划时间",
  24611. "type": "string"
  24612. },
  24613. "producttype": {
  24614. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24615. "type": "integer"
  24616. },
  24617. "remark": {
  24618. "description": "备注",
  24619. "type": "string"
  24620. },
  24621. "spotgoodsdesc": {
  24622. "description": "商品型号",
  24623. "type": "string"
  24624. },
  24625. "taaccountname": {
  24626. "description": "资金账号名称",
  24627. "type": "string"
  24628. },
  24629. "tradeuserid": {
  24630. "description": "交易用户id",
  24631. "type": "integer"
  24632. },
  24633. "tradeusername": {
  24634. "description": "交易用户名称",
  24635. "type": "string"
  24636. },
  24637. "unitid": {
  24638. "description": "单位id(现货商品)",
  24639. "type": "integer"
  24640. },
  24641. "updatetime": {
  24642. "description": "更新时间",
  24643. "type": "string"
  24644. },
  24645. "vatrate": {
  24646. "description": "增值税率",
  24647. "type": "number"
  24648. },
  24649. "wrstandardcode": {
  24650. "description": "品类代码",
  24651. "type": "string"
  24652. },
  24653. "wrstandardid": {
  24654. "description": "品类id",
  24655. "type": "integer"
  24656. },
  24657. "wrstandardname": {
  24658. "description": "品类名称",
  24659. "type": "string"
  24660. },
  24661. "wrunitid": {
  24662. "description": "品类单位id",
  24663. "type": "integer"
  24664. },
  24665. "wrunitidame": {
  24666. "description": "品类单位名称",
  24667. "type": "string"
  24668. }
  24669. }
  24670. },
  24671. "models.Ermcp3InnerTradeLink": {
  24672. "type": "object",
  24673. "properties": {
  24674. "accountid": {
  24675. "description": "期货账号代码 | 资金账号ID",
  24676. "type": "integer"
  24677. },
  24678. "buyorsell": {
  24679. "description": "方向 - 0:买 1:卖",
  24680. "type": "integer"
  24681. },
  24682. "channelbuildtype": {
  24683. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24684. "type": "integer"
  24685. },
  24686. "currencyid": {
  24687. "description": "币种id",
  24688. "type": "integer"
  24689. },
  24690. "currencyname": {
  24691. "description": "结算币种 名称",
  24692. "type": "string"
  24693. },
  24694. "goodscode": {
  24695. "description": "商品代码",
  24696. "type": "string"
  24697. },
  24698. "goodsid": {
  24699. "description": "商品ID",
  24700. "type": "integer"
  24701. },
  24702. "goodsname": {
  24703. "description": "商品名称",
  24704. "type": "string"
  24705. },
  24706. "outtradeid": {
  24707. "description": "外部成交单号",
  24708. "type": "string"
  24709. },
  24710. "taname": {
  24711. "description": "期货账户名称",
  24712. "type": "string"
  24713. },
  24714. "tradeid": {
  24715. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24716. "type": "string"
  24717. },
  24718. "tradeprice": {
  24719. "description": "成交价格",
  24720. "type": "number"
  24721. },
  24722. "tradeqty": {
  24723. "description": "期货成交数量",
  24724. "type": "integer"
  24725. },
  24726. "tradetime": {
  24727. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  24728. "type": "string"
  24729. },
  24730. "username": {
  24731. "description": "用户名称",
  24732. "type": "string"
  24733. }
  24734. }
  24735. },
  24736. "models.Ermcp3OutTradeLink": {
  24737. "type": "object",
  24738. "properties": {
  24739. "buyorsell": {
  24740. "description": "买卖方向 - 0:买 1:卖",
  24741. "type": "integer"
  24742. },
  24743. "channelbuildtype": {
  24744. "description": "开平标志- 0:无 1:建仓 2:平仓",
  24745. "type": "integer"
  24746. },
  24747. "currencyname": {
  24748. "description": "币种名称",
  24749. "type": "string"
  24750. },
  24751. "exexchangecode": {
  24752. "description": "交易所代码",
  24753. "type": "string"
  24754. },
  24755. "exexchangename": {
  24756. "description": "交易所名称",
  24757. "type": "string"
  24758. },
  24759. "goodscode": {
  24760. "description": "合约代码",
  24761. "type": "string"
  24762. },
  24763. "goodsid": {
  24764. "description": "合约id",
  24765. "type": "integer"
  24766. },
  24767. "goodsname": {
  24768. "description": "合约名称",
  24769. "type": "string"
  24770. },
  24771. "hasinnerorder": {
  24772. "description": "是否有内部单关联 - 0:无 1:有",
  24773. "type": "integer"
  24774. },
  24775. "hedgeaccountcode": {
  24776. "description": "外部账号 | 对冲账号",
  24777. "type": "string"
  24778. },
  24779. "outtradeid": {
  24780. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24781. "type": "string"
  24782. },
  24783. "tradeprice": {
  24784. "description": "成交价格",
  24785. "type": "number"
  24786. },
  24787. "tradeqty": {
  24788. "description": "成交数量",
  24789. "type": "integer"
  24790. },
  24791. "tradetime": {
  24792. "description": "成交时间",
  24793. "type": "string"
  24794. }
  24795. }
  24796. },
  24797. "models.Ermcp3PaAreaAuditCfg": {
  24798. "type": "object",
  24799. "properties": {
  24800. "areauserid": {
  24801. "description": "用户ID",
  24802. "type": "integer"
  24803. },
  24804. "buyinauditflag": {
  24805. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  24806. "type": "integer"
  24807. },
  24808. "costratioauditflag": {
  24809. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  24810. "type": "integer"
  24811. },
  24812. "customerauditflag": {
  24813. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  24814. "type": "integer"
  24815. },
  24816. "deliveryauditflag": {
  24817. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  24818. "type": "integer"
  24819. },
  24820. "invoiceauditflag": {
  24821. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  24822. "type": "integer"
  24823. },
  24824. "mgneedhedgeratioauditflag": {
  24825. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  24826. "type": "integer"
  24827. },
  24828. "moneyauditflag": {
  24829. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  24830. "type": "integer"
  24831. },
  24832. "operatorid": {
  24833. "description": "操作人",
  24834. "type": "integer"
  24835. },
  24836. "operatorsrc": {
  24837. "description": "操作来源 - 1:管理端 2:终端",
  24838. "type": "integer"
  24839. },
  24840. "pointpriceauditflag": {
  24841. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  24842. "type": "integer"
  24843. },
  24844. "produceinauditflag": {
  24845. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  24846. "type": "integer"
  24847. },
  24848. "produceoutauditflag": {
  24849. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  24850. "type": "integer"
  24851. },
  24852. "selloutauditflag": {
  24853. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  24854. "type": "integer"
  24855. },
  24856. "sgconvertratioauditflag": {
  24857. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  24858. "type": "integer"
  24859. },
  24860. "sgvtaratioauditflag": {
  24861. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  24862. "type": "integer"
  24863. },
  24864. "spotcontractauditflag": {
  24865. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  24866. "type": "integer"
  24867. },
  24868. "updatetime": {
  24869. "description": "更新时间",
  24870. "type": "string"
  24871. }
  24872. }
  24873. },
  24874. "models.Ermcp3PaAreaSubject": {
  24875. "type": "object",
  24876. "properties": {
  24877. "areauserid": {
  24878. "description": "所属机构",
  24879. "type": "integer"
  24880. },
  24881. "canmodify": {
  24882. "description": "是否可修改 - 0:否 1:是",
  24883. "type": "integer"
  24884. },
  24885. "createtime": {
  24886. "description": "创建时间",
  24887. "type": "string"
  24888. },
  24889. "creatorid": {
  24890. "description": "创建人ID",
  24891. "type": "string"
  24892. },
  24893. "creatorsrc": {
  24894. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24895. "type": "integer"
  24896. },
  24897. "modifierid": {
  24898. "description": "修改人",
  24899. "type": "string"
  24900. },
  24901. "modifiersrc": {
  24902. "description": "修改人来源 - 1:管理端 2:终端",
  24903. "type": "integer"
  24904. },
  24905. "modifytime": {
  24906. "description": "修改时间",
  24907. "type": "string"
  24908. },
  24909. "parentsubjectid": {
  24910. "description": "上级主体ID",
  24911. "type": "string"
  24912. },
  24913. "remark": {
  24914. "description": "备注",
  24915. "type": "string"
  24916. },
  24917. "subjectid": {
  24918. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  24919. "type": "integer"
  24920. },
  24921. "subjectname": {
  24922. "description": "主体名称",
  24923. "type": "string"
  24924. },
  24925. "subjectstatus": {
  24926. "description": "主体状态 - 1:正常 2: 停用",
  24927. "type": "integer"
  24928. },
  24929. "subjecttype": {
  24930. "description": "主体类型 - 1:交易主体 2:业务部门",
  24931. "type": "integer"
  24932. }
  24933. }
  24934. },
  24935. "models.Ermcp3PaTradeLink": {
  24936. "type": "object",
  24937. "properties": {
  24938. "accountid": {
  24939. "description": "期货账户代码 | 账号ID",
  24940. "type": "integer"
  24941. },
  24942. "agreeunit": {
  24943. "description": "合约乘数",
  24944. "type": "number"
  24945. },
  24946. "buyorsell": {
  24947. "description": "方向 - 0:买 1:卖",
  24948. "type": "integer"
  24949. },
  24950. "channelbuildtype": {
  24951. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24952. "type": "integer"
  24953. },
  24954. "charge": {
  24955. "description": "手续费",
  24956. "type": "number"
  24957. },
  24958. "closepl": {
  24959. "description": "平仓盈亏",
  24960. "type": "number"
  24961. },
  24962. "closetype": {
  24963. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24964. "type": "integer"
  24965. },
  24966. "convertratio": {
  24967. "description": "折算系数",
  24968. "type": "number"
  24969. },
  24970. "enumdicname": {
  24971. "description": "单位名称",
  24972. "type": "string"
  24973. },
  24974. "executeprice": {
  24975. "description": "执行价 [期权]",
  24976. "type": "integer"
  24977. },
  24978. "goodscode": {
  24979. "description": "合约代码",
  24980. "type": "string"
  24981. },
  24982. "goodsgroupid": {
  24983. "description": "对冲品种ID[期货合约商品组ID]",
  24984. "type": "integer"
  24985. },
  24986. "goodsid": {
  24987. "description": "商品ID",
  24988. "type": "integer"
  24989. },
  24990. "goodsname": {
  24991. "description": "合约名称",
  24992. "type": "string"
  24993. },
  24994. "goodunitid": {
  24995. "description": "单位id",
  24996. "type": "integer"
  24997. },
  24998. "hedgeflag": {
  24999. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25000. "type": "integer"
  25001. },
  25002. "marketid": {
  25003. "description": "市场ID",
  25004. "type": "integer"
  25005. },
  25006. "middlegoodsid": {
  25007. "description": "套保品种ID",
  25008. "type": "integer"
  25009. },
  25010. "middlegoodsqty": {
  25011. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  25012. "type": "number"
  25013. },
  25014. "optioncode": {
  25015. "description": "期权代码 [期权]",
  25016. "type": "string"
  25017. },
  25018. "ordertype": {
  25019. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  25020. "type": "integer"
  25021. },
  25022. "ordertypename": {
  25023. "description": "订单类型",
  25024. "type": "string"
  25025. },
  25026. "parentaccountid": {
  25027. "description": "所属母账户",
  25028. "type": "integer"
  25029. },
  25030. "premium": {
  25031. "description": "权利金 [期权]",
  25032. "type": "number"
  25033. },
  25034. "relatedlot": {
  25035. "description": "已关联数量(已关联数量手) | db:关联手数",
  25036. "type": "number"
  25037. },
  25038. "relatedouttradeid": {
  25039. "description": "关联外部成交单ID",
  25040. "type": "string"
  25041. },
  25042. "relatedqty": {
  25043. "description": "关联数量",
  25044. "type": "number"
  25045. },
  25046. "spotcontractid": {
  25047. "description": "现货合同ID [4:套期保值\\10\\11]",
  25048. "type": "string"
  25049. },
  25050. "taname": {
  25051. "description": "期货账户名称",
  25052. "type": "string"
  25053. },
  25054. "tradeamount": {
  25055. "description": "成交金额(账户)",
  25056. "type": "number"
  25057. },
  25058. "tradedate": {
  25059. "description": "交易日(yyyyMMdd)",
  25060. "type": "string"
  25061. },
  25062. "tradeid": {
  25063. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25064. "type": "string"
  25065. },
  25066. "tradelot": {
  25067. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  25068. "type": "integer"
  25069. },
  25070. "tradeprice": {
  25071. "description": "成交价格",
  25072. "type": "number"
  25073. },
  25074. "tradetime": {
  25075. "description": "时间 | db:成交时间",
  25076. "type": "string"
  25077. },
  25078. "tradetype": {
  25079. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  25080. "type": "integer"
  25081. },
  25082. "userid": {
  25083. "description": "所属机构 - 所属母账户的UserID",
  25084. "type": "string"
  25085. },
  25086. "username": {
  25087. "description": "用户名称",
  25088. "type": "string"
  25089. }
  25090. }
  25091. },
  25092. "models.Ermcp3ParamChangeApp": {
  25093. "type": "object",
  25094. "properties": {
  25095. "aftervalue": {
  25096. "description": "变更后",
  25097. "type": "number"
  25098. },
  25099. "applicationid": {
  25100. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  25101. "type": "string"
  25102. },
  25103. "applyid": {
  25104. "description": "申请人",
  25105. "type": "string"
  25106. },
  25107. "applyname": {
  25108. "description": "申请人名称(代码)",
  25109. "type": "string"
  25110. },
  25111. "applyremark": {
  25112. "description": "申请备注",
  25113. "type": "string"
  25114. },
  25115. "applysrc": {
  25116. "description": "申请来源 - 1:管理端 2:终端",
  25117. "type": "integer"
  25118. },
  25119. "applystatus": {
  25120. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25121. "type": "integer"
  25122. },
  25123. "applytime": {
  25124. "description": "申请时间",
  25125. "type": "string"
  25126. },
  25127. "areauserid": {
  25128. "description": "所属机构用户ID",
  25129. "type": "integer"
  25130. },
  25131. "auditid": {
  25132. "description": "审核人",
  25133. "type": "string"
  25134. },
  25135. "auditname": {
  25136. "description": "审核人名称(代码)",
  25137. "type": "string"
  25138. },
  25139. "auditremark": {
  25140. "description": "审核备注",
  25141. "type": "string"
  25142. },
  25143. "auditsrc": {
  25144. "description": "审核来源 - 1:管理端 2:终端",
  25145. "type": "integer"
  25146. },
  25147. "audittime": {
  25148. "description": "审核时间",
  25149. "type": "string"
  25150. },
  25151. "audittradedate": {
  25152. "description": "审核交易日(yyyyMMdd)",
  25153. "type": "string"
  25154. },
  25155. "beforevalue": {
  25156. "description": "变更前",
  25157. "type": "number"
  25158. },
  25159. "deliverygoodscode": {
  25160. "description": "品种代码",
  25161. "type": "string"
  25162. },
  25163. "deliverygoodsid": {
  25164. "description": "品种id",
  25165. "type": "integer"
  25166. },
  25167. "deliverygoodsname": {
  25168. "description": "品种名称",
  25169. "type": "string"
  25170. },
  25171. "middlegoodscode": {
  25172. "description": "套保品种代码",
  25173. "type": "string"
  25174. },
  25175. "middlegoodsid": {
  25176. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  25177. "type": "integer"
  25178. },
  25179. "middlegoodsname": {
  25180. "description": "套保品种名称",
  25181. "type": "string"
  25182. },
  25183. "operatetype": {
  25184. "description": "操作类型 - 1:新增 2:修改",
  25185. "type": "integer"
  25186. },
  25187. "paramchangetype": {
  25188. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  25189. "type": "integer"
  25190. },
  25191. "wrstandardcode": {
  25192. "description": "现货商品代码",
  25193. "type": "string"
  25194. },
  25195. "wrstandardid": {
  25196. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  25197. "type": "integer"
  25198. },
  25199. "wrstandardname": {
  25200. "description": "现货商品名称",
  25201. "type": "string"
  25202. }
  25203. }
  25204. },
  25205. "models.Ermcp3RootUserAccount": {
  25206. "type": "object",
  25207. "properties": {
  25208. "accountname": {
  25209. "description": "账户名称(机构名称)",
  25210. "type": "string"
  25211. },
  25212. "accountstatus": {
  25213. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25214. "type": "integer"
  25215. },
  25216. "applysrc": {
  25217. "description": "申请来源 - 1:管理端 2:终端",
  25218. "type": "integer"
  25219. },
  25220. "auditremark": {
  25221. "description": "审核备注",
  25222. "type": "string"
  25223. },
  25224. "auditsrc": {
  25225. "description": "审核来源 - 1:管理端 2:终端",
  25226. "type": "integer"
  25227. },
  25228. "audittime": {
  25229. "description": "审核时间",
  25230. "type": "string"
  25231. },
  25232. "audituserid": {
  25233. "description": "审核人",
  25234. "type": "integer"
  25235. },
  25236. "broker": {
  25237. "description": "所属经纪人ID",
  25238. "type": "integer"
  25239. },
  25240. "canceltime": {
  25241. "description": "销户时间",
  25242. "type": "string"
  25243. },
  25244. "canceluserid": {
  25245. "description": "销户人",
  25246. "type": "integer"
  25247. },
  25248. "canrecommend": {
  25249. "description": "是否可推荐 - 0:不可 1;可",
  25250. "type": "integer"
  25251. },
  25252. "createtime": {
  25253. "description": "创建时间",
  25254. "type": "string"
  25255. },
  25256. "creatorid": {
  25257. "description": "创建人",
  25258. "type": "integer"
  25259. },
  25260. "hasauth": {
  25261. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  25262. "type": "integer"
  25263. },
  25264. "isanonymous": {
  25265. "description": "是否匿名下单 - 0:否 1:是",
  25266. "type": "integer"
  25267. },
  25268. "maxinvestornum": {
  25269. "description": "最大用户数(经纪会员下投资者个数)",
  25270. "type": "integer"
  25271. },
  25272. "memberuserid": {
  25273. "description": "所属会员ID",
  25274. "type": "integer"
  25275. },
  25276. "modifierid": {
  25277. "description": "修改人",
  25278. "type": "integer"
  25279. },
  25280. "modifyremark": {
  25281. "description": "变更备注",
  25282. "type": "string"
  25283. },
  25284. "modifystatus": {
  25285. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25286. "type": "integer"
  25287. },
  25288. "modifytime": {
  25289. "description": "修改时间",
  25290. "type": "string"
  25291. },
  25292. "nickname": {
  25293. "description": "昵称",
  25294. "type": "string"
  25295. },
  25296. "parenttopuser": {
  25297. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25298. "type": "string"
  25299. },
  25300. "parentuserid": {
  25301. "description": "所属机构ID",
  25302. "type": "integer"
  25303. },
  25304. "reckonaccountid": {
  25305. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25306. "type": "integer"
  25307. },
  25308. "refercount": {
  25309. "description": "推荐总人数",
  25310. "type": "integer"
  25311. },
  25312. "refereeuserid": {
  25313. "description": "推荐人ID",
  25314. "type": "integer"
  25315. },
  25316. "refernum": {
  25317. "description": "推荐码",
  25318. "type": "string"
  25319. },
  25320. "rootuserid": {
  25321. "description": "根用户ID",
  25322. "type": "integer"
  25323. },
  25324. "subaccountlevel": {
  25325. "description": "子账户层数",
  25326. "type": "integer"
  25327. },
  25328. "subarealevelpath": {
  25329. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25330. "type": "string"
  25331. },
  25332. "userid": {
  25333. "description": "用户ID",
  25334. "type": "integer"
  25335. },
  25336. "usertype": {
  25337. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25338. "type": "integer"
  25339. }
  25340. }
  25341. },
  25342. "models.Ermcp3SCMiddleGoods": {
  25343. "type": "object",
  25344. "properties": {
  25345. "biztype": {
  25346. "description": "业务类型 1:套保 2:套利",
  25347. "type": "integer"
  25348. },
  25349. "contractno": {
  25350. "description": "合同编号",
  25351. "type": "string"
  25352. },
  25353. "contracttype": {
  25354. "description": "合同类型 1:采购 -1:销售",
  25355. "type": "integer"
  25356. },
  25357. "convertratio": {
  25358. "description": "折算系数",
  25359. "type": "number"
  25360. },
  25361. "customername": {
  25362. "description": "对手手名称",
  25363. "type": "string"
  25364. },
  25365. "customeruserid": {
  25366. "description": "对手id",
  25367. "type": "integer"
  25368. },
  25369. "deliverygoodscode": {
  25370. "description": "现货品种代码",
  25371. "type": "string"
  25372. },
  25373. "deliverygoodsid": {
  25374. "description": "现货品种ID",
  25375. "type": "integer"
  25376. },
  25377. "deliverygoodsname": {
  25378. "description": "现货品种名称",
  25379. "type": "string"
  25380. },
  25381. "enumdicname": {
  25382. "description": "现货单位名称",
  25383. "type": "string"
  25384. },
  25385. "middlegoodsid": {
  25386. "description": "套保品种ID",
  25387. "type": "integer"
  25388. },
  25389. "middlegoodspricedqty3": {
  25390. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  25391. "type": "number"
  25392. },
  25393. "needhedgeratio": {
  25394. "description": "套保比例",
  25395. "type": "number"
  25396. },
  25397. "pricedqty": {
  25398. "description": "已定价量",
  25399. "type": "number"
  25400. },
  25401. "relatedmiddlegoodsqty": {
  25402. "description": "已关联量(套保品种)(期货)",
  25403. "type": "number"
  25404. },
  25405. "spotcontractid": {
  25406. "description": "合同编号",
  25407. "type": "string"
  25408. },
  25409. "unitid": {
  25410. "description": "现货单位id",
  25411. "type": "integer"
  25412. },
  25413. "userid": {
  25414. "description": "用户id",
  25415. "type": "integer"
  25416. },
  25417. "vatrate": {
  25418. "description": "增值税率",
  25419. "type": "number"
  25420. },
  25421. "wrstandardcode": {
  25422. "description": "现货商品代码",
  25423. "type": "string"
  25424. },
  25425. "wrstandardid": {
  25426. "description": "现货商品id",
  25427. "type": "integer"
  25428. },
  25429. "wrstandardname": {
  25430. "description": "现货商品名称",
  25431. "type": "string"
  25432. }
  25433. }
  25434. },
  25435. "models.Ermcp3SCMiddleGoodsReport": {
  25436. "type": "object",
  25437. "properties": {
  25438. "begindate": {
  25439. "description": "开始交易日",
  25440. "type": "string"
  25441. },
  25442. "contractno": {
  25443. "description": "合同编号",
  25444. "type": "string"
  25445. },
  25446. "contracttype": {
  25447. "description": "合同类型 1:采购 -1:销售",
  25448. "type": "integer"
  25449. },
  25450. "convertratio": {
  25451. "description": "期初均价",
  25452. "type": "number"
  25453. },
  25454. "cycletime": {
  25455. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25456. "type": "string"
  25457. },
  25458. "cycletype": {
  25459. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25460. "type": "integer"
  25461. },
  25462. "deliverygoodscode": {
  25463. "description": "品种代码",
  25464. "type": "string"
  25465. },
  25466. "deliverygoodsid": {
  25467. "description": "现货品种ID",
  25468. "type": "integer"
  25469. },
  25470. "deliverygoodsname": {
  25471. "description": "品种名称",
  25472. "type": "string"
  25473. },
  25474. "diffprice": {
  25475. "description": "期初均价",
  25476. "type": "number"
  25477. },
  25478. "diffqty": {
  25479. "description": "期初均价",
  25480. "type": "number"
  25481. },
  25482. "enddate": {
  25483. "description": "结束交易日",
  25484. "type": "string"
  25485. },
  25486. "hedgeplanqty": {
  25487. "description": "期初均价",
  25488. "type": "number"
  25489. },
  25490. "matchname": {
  25491. "description": "交易对手方(个人:用户名称 企业:简称)",
  25492. "type": "string"
  25493. },
  25494. "matchnickname": {
  25495. "description": "交易对手方昵称",
  25496. "type": "string"
  25497. },
  25498. "middlegoodscode": {
  25499. "description": "套保品种代码",
  25500. "type": "string"
  25501. },
  25502. "middlegoodsid": {
  25503. "description": "套保品种ID",
  25504. "type": "integer"
  25505. },
  25506. "middlegoodsname": {
  25507. "description": "套保品种名称",
  25508. "type": "string"
  25509. },
  25510. "middlegoodspricedqty": {
  25511. "description": "期初均价",
  25512. "type": "number"
  25513. },
  25514. "middlegoodspricedqty2": {
  25515. "description": "期初均价",
  25516. "type": "number"
  25517. },
  25518. "middlegoodspricedqty3": {
  25519. "description": "期初均价",
  25520. "type": "number"
  25521. },
  25522. "needhedgeratio": {
  25523. "description": "期初均价",
  25524. "type": "number"
  25525. },
  25526. "pricedamount": {
  25527. "description": "期初均价",
  25528. "type": "number"
  25529. },
  25530. "pricedamount2": {
  25531. "description": "期初均价",
  25532. "type": "number"
  25533. },
  25534. "pricedqty": {
  25535. "description": "期初均价",
  25536. "type": "number"
  25537. },
  25538. "reckondate": {
  25539. "description": "日照时期(yyyyMMdd)",
  25540. "type": "string"
  25541. },
  25542. "relatedmiddlegoodsamount": {
  25543. "description": "期初均价",
  25544. "type": "number"
  25545. },
  25546. "relatedmiddlegoodsqty": {
  25547. "description": "期初均价",
  25548. "type": "number"
  25549. },
  25550. "spotcontractid": {
  25551. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25552. "type": "string"
  25553. },
  25554. "todayavgfutuprice": {
  25555. "description": "期初均价",
  25556. "type": "number"
  25557. },
  25558. "todayavgprice": {
  25559. "description": "期初均价",
  25560. "type": "number"
  25561. },
  25562. "todayavgprice2": {
  25563. "description": "期初均价",
  25564. "type": "number"
  25565. },
  25566. "todaypricedamount": {
  25567. "description": "期初均价",
  25568. "type": "number"
  25569. },
  25570. "todaypricedamount2": {
  25571. "description": "期初均价",
  25572. "type": "number"
  25573. },
  25574. "todaypricedqty": {
  25575. "description": "期初均价",
  25576. "type": "number"
  25577. },
  25578. "todayrelatedfutureqty": {
  25579. "description": "期初均价",
  25580. "type": "number"
  25581. },
  25582. "todayrelatedmiddlegoodsamount": {
  25583. "description": "期初均价",
  25584. "type": "number"
  25585. },
  25586. "todayrelatedmiddlegoodsqty": {
  25587. "description": "期初均价",
  25588. "type": "number"
  25589. },
  25590. "updatetime": {
  25591. "description": "更新时间",
  25592. "type": "string"
  25593. },
  25594. "userid": {
  25595. "description": "合同所属用户id",
  25596. "type": "integer"
  25597. },
  25598. "vatrate": {
  25599. "description": "期初均价",
  25600. "type": "number"
  25601. },
  25602. "wrstandardcode": {
  25603. "description": "商品(品类) 代码",
  25604. "type": "string"
  25605. },
  25606. "wrstandardid": {
  25607. "description": "现货商品ID",
  25608. "type": "integer"
  25609. },
  25610. "wrstandardname": {
  25611. "description": "商品(品类) 名称",
  25612. "type": "string"
  25613. }
  25614. }
  25615. },
  25616. "models.Ermcp3SellBuyContract": {
  25617. "type": "object",
  25618. "properties": {
  25619. "accountid": {
  25620. "description": "期货账户id",
  25621. "type": "string"
  25622. },
  25623. "accountname": {
  25624. "description": "账户名称",
  25625. "type": "string"
  25626. },
  25627. "attachment": {
  25628. "description": "附件",
  25629. "type": "string"
  25630. },
  25631. "audittime": {
  25632. "description": "审核时间",
  25633. "type": "string"
  25634. },
  25635. "bizsubjectid": {
  25636. "description": "归属业务部门ID - SubjectID",
  25637. "type": "integer"
  25638. },
  25639. "biztype": {
  25640. "description": "业务类型 1-套保 2-套利",
  25641. "type": "integer"
  25642. },
  25643. "brandname": {
  25644. "description": "品牌名称",
  25645. "type": "string"
  25646. },
  25647. "contracctstatus": {
  25648. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25649. "type": "integer"
  25650. },
  25651. "contractmargin": {
  25652. "description": "合同保证金",
  25653. "type": "number"
  25654. },
  25655. "contractno": {
  25656. "description": "合同编号",
  25657. "type": "string"
  25658. },
  25659. "contracttype": {
  25660. "description": "合同类型 1-采购, -1-销售",
  25661. "type": "integer"
  25662. },
  25663. "convertfactor": {
  25664. "description": "标仓系数(品类)",
  25665. "type": "number"
  25666. },
  25667. "createtime": {
  25668. "description": "创建时间",
  25669. "type": "string"
  25670. },
  25671. "currencyid": {
  25672. "description": "币种id",
  25673. "type": "integer"
  25674. },
  25675. "currencyname": {
  25676. "description": "币种名称",
  25677. "type": "string"
  25678. },
  25679. "daikaiamount": {
  25680. "description": "应收(开)票额 | 未收票额",
  25681. "type": "number"
  25682. },
  25683. "deliveryenddate": {
  25684. "description": "交割结束日",
  25685. "type": "string"
  25686. },
  25687. "deliverygoodscode": {
  25688. "description": "现货品种代码",
  25689. "type": "string"
  25690. },
  25691. "deliverygoodsid": {
  25692. "description": "现货商品ID",
  25693. "type": "integer"
  25694. },
  25695. "deliverygoodsname": {
  25696. "description": "现货品种名称",
  25697. "type": "string"
  25698. },
  25699. "deliverystartdate": {
  25700. "description": "交割开始日",
  25701. "type": "string"
  25702. },
  25703. "enddate": {
  25704. "description": "点价结束日",
  25705. "type": "string"
  25706. },
  25707. "enumdicname": {
  25708. "description": "单位名称",
  25709. "type": "string"
  25710. },
  25711. "goodscode": {
  25712. "description": "点价商品代码",
  25713. "type": "string"
  25714. },
  25715. "goodsgroupid": {
  25716. "description": "点价商品组id",
  25717. "type": "integer"
  25718. },
  25719. "goodsid": {
  25720. "description": "点价商品ID",
  25721. "type": "integer"
  25722. },
  25723. "goodsname": {
  25724. "description": "点价商品名称",
  25725. "type": "string"
  25726. },
  25727. "invoiceamount": {
  25728. "description": "已开票额",
  25729. "type": "number"
  25730. },
  25731. "loanamount": {
  25732. "description": "贷款总额=已定价额+调整金额",
  25733. "type": "number"
  25734. },
  25735. "margin": {
  25736. "description": "保证金",
  25737. "type": "number"
  25738. },
  25739. "meruserid": {
  25740. "description": "跟单员id",
  25741. "type": "integer"
  25742. },
  25743. "meruserlogincode": {
  25744. "description": "跟单员登录代码",
  25745. "type": "string"
  25746. },
  25747. "merusername": {
  25748. "description": "跟单员名称",
  25749. "type": "string"
  25750. },
  25751. "nickname": {
  25752. "description": "账户昵称",
  25753. "type": "string"
  25754. },
  25755. "orireckonrealqty": {
  25756. "description": "应交收量",
  25757. "type": "number"
  25758. },
  25759. "payamount": {
  25760. "description": "已收付额(收款或付款)",
  25761. "type": "number"
  25762. },
  25763. "preinvoiceamount": {
  25764. "description": "预收(开)票额",
  25765. "type": "number"
  25766. },
  25767. "prepayamount": {
  25768. "description": "预收付额",
  25769. "type": "number"
  25770. },
  25771. "price": {
  25772. "description": "价格",
  25773. "type": "number"
  25774. },
  25775. "pricedamount": {
  25776. "description": "已定价额",
  25777. "type": "number"
  25778. },
  25779. "pricedavg": {
  25780. "description": "已点均价",
  25781. "type": "number"
  25782. },
  25783. "pricedqty": {
  25784. "description": "已定价量",
  25785. "type": "number"
  25786. },
  25787. "pricemove": {
  25788. "description": "升贴水",
  25789. "type": "number"
  25790. },
  25791. "pricetype": {
  25792. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25793. "type": "integer"
  25794. },
  25795. "producttype": {
  25796. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25797. "type": "integer"
  25798. },
  25799. "qty": {
  25800. "description": "合同量",
  25801. "type": "number"
  25802. },
  25803. "reckonadjustamount": {
  25804. "description": "调整金额",
  25805. "type": "number"
  25806. },
  25807. "reckonedamount": {
  25808. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  25809. "type": "number"
  25810. },
  25811. "reckonotheramount": {
  25812. "description": "其它费用",
  25813. "type": "number"
  25814. },
  25815. "reckonrealqty": {
  25816. "description": "已交收量",
  25817. "type": "number"
  25818. },
  25819. "remark": {
  25820. "description": "备注",
  25821. "type": "string"
  25822. },
  25823. "saleuserid": {
  25824. "description": "业务员id",
  25825. "type": "integer"
  25826. },
  25827. "saleuserlogincode": {
  25828. "description": "业务员登录代码",
  25829. "type": "string"
  25830. },
  25831. "saleusername": {
  25832. "description": "业务员名称",
  25833. "type": "string"
  25834. },
  25835. "spotcontractid": {
  25836. "description": "合同ID",
  25837. "type": "string"
  25838. },
  25839. "spotgoodsbrandid": {
  25840. "description": "现货品牌ID(DGFactoryItem表的ID)",
  25841. "type": "integer"
  25842. },
  25843. "spotgoodsdesc": {
  25844. "description": "商品型号(商品规格)",
  25845. "type": "string"
  25846. },
  25847. "startdate": {
  25848. "description": "点价开始日",
  25849. "type": "string"
  25850. },
  25851. "subjectid": {
  25852. "description": "交易主体ID",
  25853. "type": "integer"
  25854. },
  25855. "subjectname": {
  25856. "description": "交易主体名称",
  25857. "type": "string"
  25858. },
  25859. "totalamount": {
  25860. "description": "合计总额",
  25861. "type": "number"
  25862. },
  25863. "tradeuserid": {
  25864. "description": "交易员id",
  25865. "type": "integer"
  25866. },
  25867. "tradeuserlogincode": {
  25868. "description": "交易员登录代码",
  25869. "type": "string"
  25870. },
  25871. "tradeusername": {
  25872. "description": "交易员名称",
  25873. "type": "string"
  25874. },
  25875. "unpayamount": {
  25876. "description": "应收付款额(应支付或应收款) | 未付款额",
  25877. "type": "number"
  25878. },
  25879. "unpricedqty": {
  25880. "description": "未定价量",
  25881. "type": "number"
  25882. },
  25883. "unsureqty": {
  25884. "description": "未确定量 | 未交收量",
  25885. "type": "number"
  25886. },
  25887. "userid": {
  25888. "description": "机构ID",
  25889. "type": "integer"
  25890. },
  25891. "vatrate": {
  25892. "description": "增值税率",
  25893. "type": "number"
  25894. },
  25895. "wrstandardcode": {
  25896. "description": "品类代码",
  25897. "type": "string"
  25898. },
  25899. "wrstandardid": {
  25900. "description": "品类ID",
  25901. "type": "integer"
  25902. },
  25903. "wrstandardname": {
  25904. "description": "品类名称",
  25905. "type": "string"
  25906. }
  25907. }
  25908. },
  25909. "models.Ermcp3SpotGoodsPrice": {
  25910. "type": "object",
  25911. "properties": {
  25912. "areauserid": {
  25913. "description": "所属机构id",
  25914. "type": "integer"
  25915. },
  25916. "brandname": {
  25917. "description": "品牌名称",
  25918. "type": "string"
  25919. },
  25920. "currencyid": {
  25921. "description": "报价货币ID",
  25922. "type": "integer"
  25923. },
  25924. "currencyname": {
  25925. "description": "币种名称",
  25926. "type": "string"
  25927. },
  25928. "deliverygoodscode": {
  25929. "description": "现货商品代码",
  25930. "type": "string"
  25931. },
  25932. "deliverygoodsid": {
  25933. "description": "现货商品id",
  25934. "type": "integer"
  25935. },
  25936. "deliverygoodsname": {
  25937. "description": "现货商品名称",
  25938. "type": "string"
  25939. },
  25940. "enumdicname": {
  25941. "description": "现货商品单位名称",
  25942. "type": "string"
  25943. },
  25944. "gbenumdicname": {
  25945. "description": "品类单位名称",
  25946. "type": "string"
  25947. },
  25948. "gmunitid": {
  25949. "description": "品类单位id",
  25950. "type": "integer"
  25951. },
  25952. "isvalid": {
  25953. "description": "是否有效 - 0:无效 1:有效",
  25954. "type": "integer"
  25955. },
  25956. "operateid": {
  25957. "description": "最后操作人",
  25958. "type": "integer"
  25959. },
  25960. "operatesrc": {
  25961. "description": "最后操作来源 - 1:管理端 2:终端",
  25962. "type": "integer"
  25963. },
  25964. "operatetime": {
  25965. "description": "最后操作时间",
  25966. "type": "string"
  25967. },
  25968. "operatorname": {
  25969. "description": "操作人名称",
  25970. "type": "string"
  25971. },
  25972. "spotgoodsbrandid": {
  25973. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25974. "type": "integer"
  25975. },
  25976. "spotgoodsprice": {
  25977. "description": "现货价格",
  25978. "type": "number"
  25979. },
  25980. "tradedate": {
  25981. "description": "交易日(yyyyMMdd)",
  25982. "type": "string"
  25983. },
  25984. "unitid": {
  25985. "description": "现货商品单位id",
  25986. "type": "integer"
  25987. },
  25988. "wrstandardcode": {
  25989. "description": "品类代码",
  25990. "type": "string"
  25991. },
  25992. "wrstandardid": {
  25993. "description": "现货品类ID(通用则为0)",
  25994. "type": "integer"
  25995. },
  25996. "wrstandardname": {
  25997. "description": "品类名称",
  25998. "type": "string"
  25999. }
  26000. }
  26001. },
  26002. "models.Ermcp3SpotGoodsPriceLog": {
  26003. "type": "object",
  26004. "properties": {
  26005. "areauserid": {
  26006. "description": "所属机构id",
  26007. "type": "integer"
  26008. },
  26009. "brandname": {
  26010. "description": "品牌名称",
  26011. "type": "string"
  26012. },
  26013. "currencyid": {
  26014. "description": "报价货币ID",
  26015. "type": "integer"
  26016. },
  26017. "deliverygoodscode": {
  26018. "description": "现货商品代码",
  26019. "type": "string"
  26020. },
  26021. "deliverygoodsid": {
  26022. "description": "现货商品id",
  26023. "type": "integer"
  26024. },
  26025. "deliverygoodsname": {
  26026. "description": "现货商品名称",
  26027. "type": "string"
  26028. },
  26029. "enumdicname": {
  26030. "description": "现货商品单位名称",
  26031. "type": "string"
  26032. },
  26033. "gbenumdicname": {
  26034. "description": "品类单位名称",
  26035. "type": "string"
  26036. },
  26037. "gmunitid": {
  26038. "description": "品类单位id",
  26039. "type": "integer"
  26040. },
  26041. "logid": {
  26042. "description": "日志id",
  26043. "type": "integer"
  26044. },
  26045. "operateid": {
  26046. "description": "最后操作人",
  26047. "type": "integer"
  26048. },
  26049. "operatesrc": {
  26050. "description": "最后操作来源 - 1:管理端 2:终端",
  26051. "type": "integer"
  26052. },
  26053. "operatetime": {
  26054. "description": "最后操作时间",
  26055. "type": "string"
  26056. },
  26057. "operatorname": {
  26058. "description": "操作人名称",
  26059. "type": "string"
  26060. },
  26061. "spotgoodsbrandid": {
  26062. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26063. "type": "integer"
  26064. },
  26065. "spotgoodsprice": {
  26066. "description": "现货价格",
  26067. "type": "number"
  26068. },
  26069. "tradedate": {
  26070. "description": "交易日(yyyyMMdd)",
  26071. "type": "string"
  26072. },
  26073. "unitid": {
  26074. "description": "现货商品单位id",
  26075. "type": "integer"
  26076. },
  26077. "wrstandardcode": {
  26078. "description": "品类代码",
  26079. "type": "string"
  26080. },
  26081. "wrstandardid": {
  26082. "description": "现货品类ID(通用则为0)",
  26083. "type": "integer"
  26084. },
  26085. "wrstandardname": {
  26086. "description": "品类名称",
  26087. "type": "string"
  26088. }
  26089. }
  26090. },
  26091. "models.Ermcp3SubTaaccount": {
  26092. "type": "object",
  26093. "properties": {
  26094. "accountid": {
  26095. "description": "资金账户ID",
  26096. "type": "integer"
  26097. },
  26098. "parentaccountcode": {
  26099. "description": "所属根账号代码(母账号代码)",
  26100. "type": "string"
  26101. },
  26102. "parentaccountid": {
  26103. "description": "所属根账号(母账号)",
  26104. "type": "integer"
  26105. },
  26106. "taname": {
  26107. "description": "资金账号名称",
  26108. "type": "string"
  26109. },
  26110. "tradestatus": {
  26111. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  26112. "type": "integer"
  26113. },
  26114. "username": {
  26115. "description": "交易用户",
  26116. "type": "string"
  26117. }
  26118. }
  26119. },
  26120. "models.Ermcp3TaFutuReDataReport": {
  26121. "type": "object",
  26122. "properties": {
  26123. "accountid": {
  26124. "description": "交易账户",
  26125. "type": "integer"
  26126. },
  26127. "accountname": {
  26128. "description": "交易账号名称",
  26129. "type": "string"
  26130. },
  26131. "agreeunit": {
  26132. "description": "商品合约单位",
  26133. "type": "number"
  26134. },
  26135. "begindate": {
  26136. "description": "开始交易日",
  26137. "type": "string"
  26138. },
  26139. "buyorsell": {
  26140. "description": "持仓方向",
  26141. "type": "integer"
  26142. },
  26143. "charge": {
  26144. "description": "手续费",
  26145. "type": "number"
  26146. },
  26147. "closeavgprice": {
  26148. "description": "期初均价",
  26149. "type": "number"
  26150. },
  26151. "closepl": {
  26152. "description": "平仓损益",
  26153. "type": "number"
  26154. },
  26155. "currencyid": {
  26156. "description": "结算币种ID",
  26157. "type": "integer"
  26158. },
  26159. "currencyname": {
  26160. "description": "币种名称",
  26161. "type": "string"
  26162. },
  26163. "cycletime": {
  26164. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26165. "type": "string"
  26166. },
  26167. "cycletype": {
  26168. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26169. "type": "integer"
  26170. },
  26171. "enddate": {
  26172. "description": "结束交易日",
  26173. "type": "string"
  26174. },
  26175. "enumdicname": {
  26176. "description": "单位名称",
  26177. "type": "string"
  26178. },
  26179. "floatpl": {
  26180. "description": "浮动损益",
  26181. "type": "number"
  26182. },
  26183. "goodscode": {
  26184. "description": "交易合约代码",
  26185. "type": "string"
  26186. },
  26187. "goodsgroupid": {
  26188. "description": "交易品种",
  26189. "type": "integer"
  26190. },
  26191. "goodsgroupname": {
  26192. "description": "交易品种名称",
  26193. "type": "string"
  26194. },
  26195. "goodsgroupspotqty": {
  26196. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  26197. "type": "number"
  26198. },
  26199. "goodsid": {
  26200. "description": "交易合约",
  26201. "type": "integer"
  26202. },
  26203. "goodsname": {
  26204. "description": "交易合约名称",
  26205. "type": "string"
  26206. },
  26207. "goodunitid": {
  26208. "description": "交易合约单位id",
  26209. "type": "integer"
  26210. },
  26211. "holdamount": {
  26212. "description": "期末持仓额",
  26213. "type": "number"
  26214. },
  26215. "holdqty": {
  26216. "description": "期初均价",
  26217. "type": "number"
  26218. },
  26219. "lastholdamount": {
  26220. "description": "当前持仓额",
  26221. "type": "number"
  26222. },
  26223. "lastprice": {
  26224. "description": "最新价",
  26225. "type": "number"
  26226. },
  26227. "middlegoodsid": {
  26228. "description": "套保品种id",
  26229. "type": "integer"
  26230. },
  26231. "middlegoodsname": {
  26232. "description": "套保商品名称",
  26233. "type": "string"
  26234. },
  26235. "middlegoodsqty": {
  26236. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  26237. "type": "number"
  26238. },
  26239. "middlgoodscode": {
  26240. "description": "套保商品代码",
  26241. "type": "string"
  26242. },
  26243. "openamount": {
  26244. "description": "期末开仓额",
  26245. "type": "number"
  26246. },
  26247. "openavgprice": {
  26248. "description": "期初均价",
  26249. "type": "number"
  26250. },
  26251. "oriholdamount": {
  26252. "description": "期初持仓额",
  26253. "type": "number"
  26254. },
  26255. "oriholdqty": {
  26256. "description": "期初均价",
  26257. "type": "number"
  26258. },
  26259. "oriopenamount": {
  26260. "description": "期初开仓额",
  26261. "type": "number"
  26262. },
  26263. "outergroupcode": {
  26264. "description": "交易品种代码",
  26265. "type": "string"
  26266. },
  26267. "qtydecimalplace": {
  26268. "description": "成交量小数位",
  26269. "type": "integer"
  26270. },
  26271. "reckondate": {
  26272. "description": "日照时期(yyyyMMdd)",
  26273. "type": "string"
  26274. },
  26275. "reckonholdamount": {
  26276. "description": "结算持仓额",
  26277. "type": "number"
  26278. },
  26279. "reckonpl": {
  26280. "description": "结算损益",
  26281. "type": "number"
  26282. },
  26283. "reckonpl2": {
  26284. "description": "结算逐笔盈亏",
  26285. "type": "number"
  26286. },
  26287. "reckonprice": {
  26288. "description": "结算价",
  26289. "type": "number"
  26290. },
  26291. "relateduserid": {
  26292. "description": "账户关联用户ID",
  26293. "type": "integer"
  26294. },
  26295. "todaycloseamount": {
  26296. "description": "今平仓额",
  26297. "type": "number"
  26298. },
  26299. "todaycloseqty": {
  26300. "description": "期初均价",
  26301. "type": "number"
  26302. },
  26303. "todaygoodsgroupspotqty": {
  26304. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  26305. "type": "number"
  26306. },
  26307. "todaymiddlegoodsqty": {
  26308. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  26309. "type": "number"
  26310. },
  26311. "todayopenamount": {
  26312. "description": "今开仓额",
  26313. "type": "number"
  26314. },
  26315. "todayopenqty": {
  26316. "description": "期初均价",
  26317. "type": "number"
  26318. },
  26319. "userid": {
  26320. "description": "账户所属用户ID",
  26321. "type": "integer"
  26322. }
  26323. }
  26324. },
  26325. "models.Ermcp3TradeLinkDetail": {
  26326. "type": "object",
  26327. "properties": {
  26328. "accountid": {
  26329. "description": "资金账号",
  26330. "type": "integer"
  26331. },
  26332. "agreeunit": {
  26333. "description": "合约乘数",
  26334. "type": "number"
  26335. },
  26336. "areauserid": {
  26337. "description": "所属机构",
  26338. "type": "string"
  26339. },
  26340. "bizsubjectid": {
  26341. "description": "归属业务部门ID - SubjectID",
  26342. "type": "string"
  26343. },
  26344. "buyorsell": {
  26345. "description": "方向 - 0:买 1:卖",
  26346. "type": "integer"
  26347. },
  26348. "channelbuildtype": {
  26349. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26350. "type": "integer"
  26351. },
  26352. "contractno": {
  26353. "description": "现货编号 (合同编号)",
  26354. "type": "string"
  26355. },
  26356. "convertratio": {
  26357. "description": "折算系数",
  26358. "type": "number"
  26359. },
  26360. "createtime": {
  26361. "description": "关联时间 | 创建时间",
  26362. "type": "string"
  26363. },
  26364. "creatorid": {
  26365. "description": "创建人ID",
  26366. "type": "string"
  26367. },
  26368. "creatorsrc": {
  26369. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26370. "type": "integer"
  26371. },
  26372. "enumdicname": {
  26373. "description": "单位名称",
  26374. "type": "string"
  26375. },
  26376. "goodscode": {
  26377. "description": "合约代码",
  26378. "type": "string"
  26379. },
  26380. "goodsgroupid": {
  26381. "description": "对冲品种ID[期货合约商品组ID]",
  26382. "type": "integer"
  26383. },
  26384. "goodsid": {
  26385. "description": "商品ID",
  26386. "type": "integer"
  26387. },
  26388. "goodsname": {
  26389. "description": "合约名称",
  26390. "type": "string"
  26391. },
  26392. "hedgeflag": {
  26393. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26394. "type": "integer"
  26395. },
  26396. "linkdetailid": {
  26397. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26398. "type": "string"
  26399. },
  26400. "linkstatus": {
  26401. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26402. "type": "integer"
  26403. },
  26404. "middlegoodscode": {
  26405. "description": "套保品种代码",
  26406. "type": "string"
  26407. },
  26408. "middlegoodsid": {
  26409. "description": "套保品种ID",
  26410. "type": "integer"
  26411. },
  26412. "middlegoodsname": {
  26413. "description": "套保品种名称",
  26414. "type": "string"
  26415. },
  26416. "relatedlot": {
  26417. "description": "关联手数",
  26418. "type": "number"
  26419. },
  26420. "relatedmode": {
  26421. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26422. "type": "integer"
  26423. },
  26424. "relatedqty": {
  26425. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26426. "type": "number"
  26427. },
  26428. "retcode": {
  26429. "description": "返回码",
  26430. "type": "integer"
  26431. },
  26432. "saleuserid": {
  26433. "description": "业务员ID",
  26434. "type": "string"
  26435. },
  26436. "spotcontractid": {
  26437. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  26438. "type": "string"
  26439. },
  26440. "taname": {
  26441. "description": "期货账户",
  26442. "type": "string"
  26443. },
  26444. "tradedate": {
  26445. "description": "关联交易日(yyyyMMdd)",
  26446. "type": "string"
  26447. },
  26448. "tradeid": {
  26449. "description": "期货订单号 | 内部成交单ID",
  26450. "type": "string"
  26451. },
  26452. "tradelot": {
  26453. "description": "成交数量 | 成交手数",
  26454. "type": "integer"
  26455. },
  26456. "tradeprice": {
  26457. "description": "成交价格",
  26458. "type": "number"
  26459. },
  26460. "tradetime": {
  26461. "description": "期货成交时间",
  26462. "type": "string"
  26463. },
  26464. "tradetradedate": {
  26465. "description": "成交交易日(yyyyMMdd)",
  26466. "type": "string"
  26467. },
  26468. "username": {
  26469. "description": "用户名称",
  26470. "type": "string"
  26471. }
  26472. }
  26473. },
  26474. "models.Ermcp3Wrstandard": {
  26475. "type": "object",
  26476. "properties": {
  26477. "areauserid": {
  26478. "description": "所属机构",
  26479. "type": "integer"
  26480. },
  26481. "cantrade": {
  26482. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  26483. "type": "integer"
  26484. },
  26485. "convertfactor": {
  26486. "description": "标仓系数",
  26487. "type": "number"
  26488. },
  26489. "createtime": {
  26490. "description": "创建时间",
  26491. "type": "string"
  26492. },
  26493. "creatorid": {
  26494. "description": "创建人",
  26495. "type": "integer"
  26496. },
  26497. "deliverygoodsid": {
  26498. "description": "现货品种ID",
  26499. "type": "integer"
  26500. },
  26501. "enumdicname": {
  26502. "description": "品类单位名称",
  26503. "type": "string"
  26504. },
  26505. "isvalid": {
  26506. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  26507. "type": "integer"
  26508. },
  26509. "minivalue": {
  26510. "description": "最小变动值",
  26511. "type": "integer"
  26512. },
  26513. "minivaluedp": {
  26514. "description": "最小变动值小数位",
  26515. "type": "integer"
  26516. },
  26517. "realminivalue": {
  26518. "description": "实际最小变动值",
  26519. "type": "integer"
  26520. },
  26521. "realminivaluedp": {
  26522. "description": "实际最小变动值小数位",
  26523. "type": "integer"
  26524. },
  26525. "remark": {
  26526. "description": "备注",
  26527. "type": "string"
  26528. },
  26529. "unitid": {
  26530. "description": "品类单位ID",
  26531. "type": "integer"
  26532. },
  26533. "updatetime": {
  26534. "description": "更新时间",
  26535. "type": "string"
  26536. },
  26537. "wrstandardcode": {
  26538. "description": "品类代码",
  26539. "type": "string"
  26540. },
  26541. "wrstandardid": {
  26542. "description": "品类ID(SEQ_WRSTANDARD)",
  26543. "type": "integer"
  26544. },
  26545. "wrstandardname": {
  26546. "description": "品类名称",
  26547. "type": "string"
  26548. }
  26549. }
  26550. },
  26551. "models.Ermcp8EnableHedgeditem": {
  26552. "type": "object",
  26553. "properties": {
  26554. "accountname": {
  26555. "description": "套期主体",
  26556. "type": "string"
  26557. },
  26558. "hedgeditemid": {
  26559. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26560. "type": "string"
  26561. },
  26562. "hedgeditemname": {
  26563. "description": "项目名称",
  26564. "type": "string"
  26565. },
  26566. "hedgeditemnum": {
  26567. "description": "项目编号",
  26568. "type": "string"
  26569. },
  26570. "hedgedtype": {
  26571. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26572. "type": "integer"
  26573. },
  26574. "planenddate": {
  26575. "description": "计划结束日期",
  26576. "type": "string"
  26577. },
  26578. "planstartdate": {
  26579. "description": "计划开始日期",
  26580. "type": "string"
  26581. },
  26582. "wrstandardid": {
  26583. "description": "现货商品ID",
  26584. "type": "integer"
  26585. },
  26586. "wrstandardname": {
  26587. "description": "现货商品",
  26588. "type": "string"
  26589. }
  26590. }
  26591. },
  26592. "models.Ermcp8HedgeditemReport": {
  26593. "type": "object",
  26594. "properties": {
  26595. "accountname": {
  26596. "description": "套期主体",
  26597. "type": "string"
  26598. },
  26599. "areauserid": {
  26600. "description": "企业ID",
  26601. "type": "integer"
  26602. },
  26603. "curprice": {
  26604. "description": "[当日现货市场价]当前市场价",
  26605. "type": "number"
  26606. },
  26607. "enumdicname": {
  26608. "description": "单位",
  26609. "type": "string"
  26610. },
  26611. "exeamount": {
  26612. "description": "[执行现货金额]执行市价总额",
  26613. "type": "number"
  26614. },
  26615. "exeavgprice": {
  26616. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  26617. "type": "number"
  26618. },
  26619. "exeqty": {
  26620. "description": "[执行数量]执行现货量",
  26621. "type": "number"
  26622. },
  26623. "futurehedgepl": {
  26624. "description": "期货实际损益",
  26625. "type": "number"
  26626. },
  26627. "futurehedgeplchange": {
  26628. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  26629. "type": "number"
  26630. },
  26631. "futurepl": {
  26632. "description": "期货套期损益",
  26633. "type": "number"
  26634. },
  26635. "futureplchange": {
  26636. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  26637. "type": "number"
  26638. },
  26639. "hedgeamount": {
  26640. "description": "[套期现货金额]套期市价总额",
  26641. "type": "number"
  26642. },
  26643. "hedgeditemnum": {
  26644. "description": "项目编号,模糊查询",
  26645. "type": "string"
  26646. },
  26647. "hedgeditemstatus": {
  26648. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26649. "type": "integer"
  26650. },
  26651. "hedgedtype": {
  26652. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26653. "type": "integer"
  26654. },
  26655. "hedgeqty": {
  26656. "description": "[套期数量]套期现货量",
  26657. "type": "number"
  26658. },
  26659. "oriavgprice": {
  26660. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  26661. "type": "number"
  26662. },
  26663. "orifuturehedgepl": {
  26664. "description": "期初期货实际损益",
  26665. "type": "number"
  26666. },
  26667. "orifuturepl": {
  26668. "description": "期初期货套期损益",
  26669. "type": "number"
  26670. },
  26671. "orispothedgepl": {
  26672. "description": "期初现货实际损益",
  26673. "type": "number"
  26674. },
  26675. "orispotpl": {
  26676. "description": "期初现货套期损益",
  26677. "type": "number"
  26678. },
  26679. "planenddate": {
  26680. "description": "计划结束日期",
  26681. "type": "string"
  26682. },
  26683. "planstartdate": {
  26684. "description": "计划开始日期",
  26685. "type": "string"
  26686. },
  26687. "spothedgepl": {
  26688. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26689. "type": "number"
  26690. },
  26691. "spothedgeplchange": {
  26692. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  26693. "type": "number"
  26694. },
  26695. "spotpl": {
  26696. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26697. "type": "number"
  26698. },
  26699. "spotplchange": {
  26700. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  26701. "type": "number"
  26702. },
  26703. "tradeuserid": {
  26704. "description": "交易用户ID",
  26705. "type": "integer"
  26706. },
  26707. "unexeqty": {
  26708. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26709. "type": "number"
  26710. },
  26711. "wrstandardcode": {
  26712. "description": "现货品类代码",
  26713. "type": "string"
  26714. },
  26715. "wrstandardid": {
  26716. "description": "现货商品ID",
  26717. "type": "integer"
  26718. },
  26719. "wrstandardname": {
  26720. "description": "[现货商品]现货品类名称",
  26721. "type": "string"
  26722. }
  26723. }
  26724. },
  26725. "models.Ermcp8RunningHedgeditem": {
  26726. "type": "object",
  26727. "properties": {
  26728. "accountname": {
  26729. "description": "套期主体",
  26730. "type": "string"
  26731. },
  26732. "applyid": {
  26733. "description": "申请人",
  26734. "type": "integer"
  26735. },
  26736. "applysrc": {
  26737. "description": "申请来源 - 1:管理端 2:终端",
  26738. "type": "integer"
  26739. },
  26740. "areauserid": {
  26741. "description": "企业ID",
  26742. "type": "integer"
  26743. },
  26744. "auditid": {
  26745. "description": "审核人",
  26746. "type": "integer"
  26747. },
  26748. "auditremark": {
  26749. "description": "审核备注",
  26750. "type": "string"
  26751. },
  26752. "auditsrc": {
  26753. "description": "审核来源 - 1:管理端 2:终端",
  26754. "type": "integer"
  26755. },
  26756. "audittime": {
  26757. "description": "审核时间",
  26758. "type": "string"
  26759. },
  26760. "audittradedate": {
  26761. "description": "审核交易日(yyyyMMdd)",
  26762. "type": "string"
  26763. },
  26764. "createtime": {
  26765. "description": "申请时间",
  26766. "type": "string"
  26767. },
  26768. "curprice": {
  26769. "description": "当前市场价",
  26770. "type": "number"
  26771. },
  26772. "curstock": {
  26773. "description": "期末库存量 = 采购总量 - 销售总量",
  26774. "type": "number"
  26775. },
  26776. "deliverygoodsid": {
  26777. "description": "现货品种ID",
  26778. "type": "integer"
  26779. },
  26780. "enddate": {
  26781. "description": "完成日期",
  26782. "type": "string"
  26783. },
  26784. "endtradedate": {
  26785. "description": "完成交易日",
  26786. "type": "string"
  26787. },
  26788. "enumdicname": {
  26789. "description": "单位",
  26790. "type": "string"
  26791. },
  26792. "exeamount": {
  26793. "description": "执行市价总额",
  26794. "type": "number"
  26795. },
  26796. "exeavgprice": {
  26797. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  26798. "type": "number"
  26799. },
  26800. "execontractamount": {
  26801. "description": "执行定价总额",
  26802. "type": "number"
  26803. },
  26804. "exeqty": {
  26805. "description": "执行现货量",
  26806. "type": "number"
  26807. },
  26808. "exerestamount": {
  26809. "description": "执行剩余市价总额【现货贸易】",
  26810. "type": "number"
  26811. },
  26812. "futurefloatpl": {
  26813. "description": "期货浮动损益",
  26814. "type": "number"
  26815. },
  26816. "futurehedgepl": {
  26817. "description": "期货实际损益",
  26818. "type": "number"
  26819. },
  26820. "futurehedgeplchange": {
  26821. "description": "期货实际损益变动",
  26822. "type": "number"
  26823. },
  26824. "futurepl": {
  26825. "description": "期货套期损益",
  26826. "type": "number"
  26827. },
  26828. "futureplchange": {
  26829. "description": "期货套期损益变动",
  26830. "type": "number"
  26831. },
  26832. "hedgeamount": {
  26833. "description": "套期市价总额",
  26834. "type": "number"
  26835. },
  26836. "hedgecontractamount": {
  26837. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  26838. "type": "number"
  26839. },
  26840. "hedgeditemid": {
  26841. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26842. "type": "string"
  26843. },
  26844. "hedgeditemname": {
  26845. "description": "项目名称",
  26846. "type": "string"
  26847. },
  26848. "hedgeditemnum": {
  26849. "description": "项目编号",
  26850. "type": "string"
  26851. },
  26852. "hedgeditemstatus": {
  26853. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26854. "type": "integer"
  26855. },
  26856. "hedgedtype": {
  26857. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26858. "type": "integer"
  26859. },
  26860. "hedgeqty": {
  26861. "description": "套期现货量",
  26862. "type": "number"
  26863. },
  26864. "hedgerate": {
  26865. "description": "套保比率",
  26866. "type": "number"
  26867. },
  26868. "hedgerestamount": {
  26869. "description": "套期剩余市价总额【现货贸易】",
  26870. "type": "number"
  26871. },
  26872. "hedgesumpl": {
  26873. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  26874. "type": "number"
  26875. },
  26876. "middlegoodslist": {
  26877. "description": "套期商品列表",
  26878. "type": "array",
  26879. "items": {
  26880. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  26881. }
  26882. },
  26883. "oriavgprice": {
  26884. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  26885. "type": "number"
  26886. },
  26887. "orifuturehedgepl": {
  26888. "description": "期初期货实际损益",
  26889. "type": "number"
  26890. },
  26891. "orifuturepl": {
  26892. "description": "期初期货套期损益",
  26893. "type": "number"
  26894. },
  26895. "orispothedgepl": {
  26896. "description": "期初现货实际损益",
  26897. "type": "number"
  26898. },
  26899. "orispotpl": {
  26900. "description": "期初现货套期损益",
  26901. "type": "number"
  26902. },
  26903. "planenddate": {
  26904. "description": "计划结束日期",
  26905. "type": "string"
  26906. },
  26907. "planstartdate": {
  26908. "description": "计划开始日期",
  26909. "type": "string"
  26910. },
  26911. "remark": {
  26912. "description": "备注",
  26913. "type": "string"
  26914. },
  26915. "spotbookamount": {
  26916. "description": "现货账面总额",
  26917. "type": "number"
  26918. },
  26919. "spotfloatpl": {
  26920. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26921. "type": "number"
  26922. },
  26923. "spothedgepl": {
  26924. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26925. "type": "number"
  26926. },
  26927. "spothedgeplchange": {
  26928. "description": "现货实际损益变动",
  26929. "type": "number"
  26930. },
  26931. "spotpl": {
  26932. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26933. "type": "number"
  26934. },
  26935. "spotplchange": {
  26936. "description": "现货套期损益变动",
  26937. "type": "number"
  26938. },
  26939. "spottradepl": {
  26940. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  26941. "type": "number"
  26942. },
  26943. "sumobspl": {
  26944. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  26945. "type": "number"
  26946. },
  26947. "tradeuserid": {
  26948. "description": "交易用户ID",
  26949. "type": "integer"
  26950. },
  26951. "unexeqty": {
  26952. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26953. "type": "number"
  26954. },
  26955. "updatetime": {
  26956. "description": "更新时间",
  26957. "type": "string"
  26958. },
  26959. "vatpl": {
  26960. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  26961. "type": "number"
  26962. },
  26963. "vatrate": {
  26964. "description": "增值税",
  26965. "type": "number"
  26966. },
  26967. "wrstandardid": {
  26968. "description": "现货商品ID",
  26969. "type": "integer"
  26970. },
  26971. "wrstandardname": {
  26972. "description": "商品名称",
  26973. "type": "string"
  26974. }
  26975. }
  26976. },
  26977. "models.ErmcpBizGroupEx": {
  26978. "type": "object",
  26979. "properties": {
  26980. "acclist": {
  26981. "description": "账号列表",
  26982. "type": "array",
  26983. "items": {
  26984. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  26985. }
  26986. },
  26987. "bizgroupid": {
  26988. "description": "业务分组id",
  26989. "type": "integer"
  26990. },
  26991. "biztype": {
  26992. "description": "业务类型 1-套保 2-套利",
  26993. "type": "integer"
  26994. },
  26995. "wrlist": {
  26996. "description": "现货商品表",
  26997. "type": "array",
  26998. "items": {
  26999. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  27000. }
  27001. }
  27002. }
  27003. },
  27004. "models.ErmcpBizGroupSpotGoods": {
  27005. "type": "object",
  27006. "properties": {
  27007. "areauserid": {
  27008. "description": "所属机构id",
  27009. "type": "integer"
  27010. },
  27011. "bizgroupid": {
  27012. "description": "分组id",
  27013. "type": "integer"
  27014. },
  27015. "biztype": {
  27016. "description": "业务类型 1-套保 2-套利",
  27017. "type": "integer"
  27018. },
  27019. "deliverygoodscode": {
  27020. "description": "现货商品代码",
  27021. "type": "string"
  27022. },
  27023. "deliverygoodsid": {
  27024. "description": "现货商品id",
  27025. "type": "integer"
  27026. },
  27027. "deliverygoodsname": {
  27028. "description": "现货商品名称",
  27029. "type": "string"
  27030. },
  27031. "unitid": {
  27032. "description": "现货商品单位id",
  27033. "type": "integer"
  27034. }
  27035. }
  27036. },
  27037. "models.ErmcpBizGroupTaAccount": {
  27038. "type": "object",
  27039. "properties": {
  27040. "accountid": {
  27041. "description": "账号id",
  27042. "type": "integer"
  27043. },
  27044. "accountname": {
  27045. "description": "账号名称",
  27046. "type": "string"
  27047. },
  27048. "areauserid": {
  27049. "description": "所属机构id",
  27050. "type": "integer"
  27051. },
  27052. "bizgroupid": {
  27053. "description": "业务分组id",
  27054. "type": "integer"
  27055. },
  27056. "ismain": {
  27057. "description": "是否主账号 1-是 0-否",
  27058. "type": "integer"
  27059. }
  27060. }
  27061. },
  27062. "models.ErmcpDGFactoryItem": {
  27063. "type": "object",
  27064. "properties": {
  27065. "areauserid": {
  27066. "description": "用户id",
  27067. "type": "integer"
  27068. },
  27069. "deliverygoodsid": {
  27070. "description": "现货品种ID",
  27071. "type": "integer"
  27072. },
  27073. "dgfactoryitemid": {
  27074. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  27075. "type": "integer"
  27076. },
  27077. "dgfactoryitemtypeid": {
  27078. "description": "要素项类型",
  27079. "type": "integer"
  27080. },
  27081. "dgfactoryitemvalue": {
  27082. "description": "要素项值(类型为仓库时填写仓库名称)",
  27083. "type": "string"
  27084. },
  27085. "isvalid": {
  27086. "description": "是否有效 - 0:无效 1:有效",
  27087. "type": "integer"
  27088. },
  27089. "orderindex": {
  27090. "description": "顺序",
  27091. "type": "integer"
  27092. },
  27093. "warehouseid": {
  27094. "description": "仓库ID(类型为仓库时填写)",
  27095. "type": "integer"
  27096. }
  27097. }
  27098. },
  27099. "models.ErmcpDeliveryGoods": {
  27100. "type": "object",
  27101. "properties": {
  27102. "agreeunit": {
  27103. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  27104. "type": "integer"
  27105. },
  27106. "areauserid": {
  27107. "description": "所属机构",
  27108. "type": "integer"
  27109. },
  27110. "auditflag": {
  27111. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  27112. "type": "integer"
  27113. },
  27114. "categoryid": {
  27115. "description": "类别ID(SEQ_WRCATEGORY)",
  27116. "type": "integer"
  27117. },
  27118. "deliverygoodscode": {
  27119. "description": "现货品种代码",
  27120. "type": "string"
  27121. },
  27122. "deliverygoodsid": {
  27123. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  27124. "type": "integer"
  27125. },
  27126. "deliverygoodsname": {
  27127. "description": "现货品种名称",
  27128. "type": "string"
  27129. },
  27130. "deliverygoodstype": {
  27131. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  27132. "type": "integer"
  27133. },
  27134. "dgstatus": {
  27135. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  27136. "type": "integer"
  27137. },
  27138. "enumdicname": {
  27139. "description": "现货品种单位名称",
  27140. "type": "string"
  27141. },
  27142. "goodsunitid": {
  27143. "description": "现货品种单位ID",
  27144. "type": "integer"
  27145. },
  27146. "isvalid": {
  27147. "description": "是否有效 - 0:无效 1:有效",
  27148. "type": "integer"
  27149. },
  27150. "qtydecimalplace": {
  27151. "description": "成交量小数位",
  27152. "type": "integer"
  27153. },
  27154. "remark": {
  27155. "description": "备注",
  27156. "type": "string"
  27157. },
  27158. "standardqty": {
  27159. "description": "标准数量(库位数量) [标准品特有]",
  27160. "type": "integer"
  27161. },
  27162. "standardqtyrange": {
  27163. "description": "标准数量偏差范围 [标准品特有]",
  27164. "type": "integer"
  27165. }
  27166. }
  27167. },
  27168. "models.ErmcpFuturesCompany": {
  27169. "type": "object",
  27170. "properties": {
  27171. "brokerid": {
  27172. "description": "经纪公司代码",
  27173. "type": "string"
  27174. },
  27175. "channeladdress": {
  27176. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  27177. "type": "string"
  27178. },
  27179. "channelid": {
  27180. "description": "对冲渠道ID",
  27181. "type": "string"
  27182. },
  27183. "createtime": {
  27184. "description": "创建时间",
  27185. "type": "string"
  27186. },
  27187. "creatorid": {
  27188. "description": "创建人",
  27189. "type": "string"
  27190. },
  27191. "fcid": {
  27192. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  27193. "type": "integer"
  27194. },
  27195. "fcname": {
  27196. "description": "期货公司名称",
  27197. "type": "string"
  27198. },
  27199. "isvalid": {
  27200. "description": "是否有效 - 0:无效 1:有效",
  27201. "type": "integer"
  27202. },
  27203. "mhpaddress": {
  27204. "description": "MHP服务地址(IP:Port)",
  27205. "type": "string"
  27206. },
  27207. "riskrulegroupid": {
  27208. "description": "风控规则组ID",
  27209. "type": "string"
  27210. },
  27211. "tradefeetmpid": {
  27212. "description": "手续费模板ID[TradeConfigTmpType为2]",
  27213. "type": "string"
  27214. },
  27215. "trademargintmpid": {
  27216. "description": "保证金模板ID [TradeConfigTmpType为1]",
  27217. "type": "string"
  27218. },
  27219. "traderatetmpid": {
  27220. "description": "汇率模板ID[TradeConfigTmpType为3]",
  27221. "type": "string"
  27222. },
  27223. "updatetime": {
  27224. "description": "更新时间",
  27225. "type": "string"
  27226. },
  27227. "updatorid": {
  27228. "description": "更新人",
  27229. "type": "string"
  27230. }
  27231. }
  27232. },
  27233. "models.ErmcpGGConvertCfg": {
  27234. "type": "object",
  27235. "properties": {
  27236. "convertratio": {
  27237. "description": "折算系数",
  27238. "type": "number"
  27239. },
  27240. "destgoodsgroupid": {
  27241. "description": "目标品种ID",
  27242. "type": "integer"
  27243. },
  27244. "dstcode": {
  27245. "description": "目录品种代码",
  27246. "type": "string"
  27247. },
  27248. "dstexchangecode": {
  27249. "description": "目标期货交易所",
  27250. "type": "string"
  27251. },
  27252. "dstname": {
  27253. "description": "目标品种名称",
  27254. "type": "string"
  27255. },
  27256. "dstunitid": {
  27257. "description": "目标品种单位ID",
  27258. "type": "integer"
  27259. },
  27260. "dstunitidname": {
  27261. "description": "目标品种单位名称",
  27262. "type": "string"
  27263. },
  27264. "modifytime": {
  27265. "description": "修改时间",
  27266. "type": "string"
  27267. },
  27268. "srccode": {
  27269. "description": "源品种代码",
  27270. "type": "string"
  27271. },
  27272. "srcexchangecode": {
  27273. "description": "源期货交易所",
  27274. "type": "string"
  27275. },
  27276. "srcgoodsgroupid": {
  27277. "description": "源品种ID",
  27278. "type": "integer"
  27279. },
  27280. "srcname": {
  27281. "description": "源品种名称",
  27282. "type": "string"
  27283. },
  27284. "srcunitid": {
  27285. "description": "源品种单位ID",
  27286. "type": "integer"
  27287. },
  27288. "srcunitidname": {
  27289. "description": "源品种单位名称",
  27290. "type": "string"
  27291. }
  27292. }
  27293. },
  27294. "models.ErmcpGoods": {
  27295. "type": "object",
  27296. "required": [
  27297. "goodscode",
  27298. "goodsid",
  27299. "goodsname",
  27300. "marketid"
  27301. ],
  27302. "properties": {
  27303. "agreeunit": {
  27304. "description": "合约单位",
  27305. "type": "number"
  27306. },
  27307. "areauserid": {
  27308. "description": "所属机构",
  27309. "type": "integer"
  27310. },
  27311. "auditaccountid": {
  27312. "description": "审核操作员账号",
  27313. "type": "integer"
  27314. },
  27315. "audittime": {
  27316. "description": "审核时间",
  27317. "type": "string"
  27318. },
  27319. "cancelaccountid": {
  27320. "description": "注销操作员账号",
  27321. "type": "integer"
  27322. },
  27323. "canceltime": {
  27324. "description": "注销时间",
  27325. "type": "string"
  27326. },
  27327. "closepricemode": {
  27328. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  27329. "type": "integer"
  27330. },
  27331. "closepriceparam": {
  27332. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  27333. "type": "number"
  27334. },
  27335. "createtime": {
  27336. "description": "创建时间",
  27337. "type": "string"
  27338. },
  27339. "creatorid": {
  27340. "description": "创建人",
  27341. "type": "integer"
  27342. },
  27343. "currencyid": {
  27344. "description": "报价货币ID",
  27345. "type": "integer"
  27346. },
  27347. "cutmode": {
  27348. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  27349. "type": "integer"
  27350. },
  27351. "decimalplace": {
  27352. "description": "报价小数位",
  27353. "type": "integer"
  27354. },
  27355. "delistingdate": {
  27356. "description": "商品退市时间(状态:退市) -- 已作废",
  27357. "type": "string"
  27358. },
  27359. "delistingmode": {
  27360. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  27361. "type": "integer"
  27362. },
  27363. "deliveryflag": {
  27364. "description": "交割标志 - 0:不可交割 1:可交割",
  27365. "type": "integer"
  27366. },
  27367. "enumdicname": {
  27368. "description": "单位名称",
  27369. "type": "string"
  27370. },
  27371. "forceclosemode": {
  27372. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  27373. "type": "integer"
  27374. },
  27375. "forceclosevalue": {
  27376. "description": "定期强平参数 [收益权]",
  27377. "type": "integer"
  27378. },
  27379. "goodscode": {
  27380. "description": "商品代码(内部)",
  27381. "type": "string"
  27382. },
  27383. "goodscurrencyid": {
  27384. "description": "合约货币ID",
  27385. "type": "integer"
  27386. },
  27387. "goodsgroupid": {
  27388. "description": "所属商品组ID",
  27389. "type": "integer"
  27390. },
  27391. "goodsid": {
  27392. "description": "商品ID(自增ID SEQ_GOODS)",
  27393. "type": "integer"
  27394. },
  27395. "goodsname": {
  27396. "description": "商品名称",
  27397. "type": "string"
  27398. },
  27399. "goodsquotetype": {
  27400. "description": "合约报价类型: 1-直接报价 2-间接报价",
  27401. "type": "integer"
  27402. },
  27403. "goodsstatus": {
  27404. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  27405. "type": "integer"
  27406. },
  27407. "goodstradetype": {
  27408. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  27409. "type": "integer"
  27410. },
  27411. "goodunitid": {
  27412. "description": "报价单位ID",
  27413. "type": "integer"
  27414. },
  27415. "hasquoter": {
  27416. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  27417. "type": "integer"
  27418. },
  27419. "hqprotecttime": {
  27420. "description": "行情保护时间(秒)",
  27421. "type": "integer"
  27422. },
  27423. "innerdealmode": {
  27424. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27425. "type": "integer"
  27426. },
  27427. "isbuylimited": {
  27428. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27429. "type": "integer"
  27430. },
  27431. "isvisible": {
  27432. "description": "游客是否可见 - 0:不可见 1:可见",
  27433. "type": "integer"
  27434. },
  27435. "lasttradedate": {
  27436. "description": "最后交易日期(状态:待退市)",
  27437. "type": "string"
  27438. },
  27439. "listingdate": {
  27440. "description": "交易开始日期",
  27441. "type": "string"
  27442. },
  27443. "marketid": {
  27444. "description": "所属市场ID",
  27445. "type": "integer"
  27446. },
  27447. "modifierid": {
  27448. "description": "修改人",
  27449. "type": "integer"
  27450. },
  27451. "modifystatus": {
  27452. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  27453. "type": "integer"
  27454. },
  27455. "modifytime": {
  27456. "description": "修改时间",
  27457. "type": "string"
  27458. },
  27459. "outerdealmode": {
  27460. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27461. "type": "integer"
  27462. },
  27463. "outgoodscode": {
  27464. "description": "商品代码(外部)",
  27465. "type": "string"
  27466. },
  27467. "pictureurl": {
  27468. "description": "商品图片",
  27469. "type": "string"
  27470. },
  27471. "qtydecimalplace": {
  27472. "description": "成交量小数位",
  27473. "type": "integer"
  27474. },
  27475. "quotegear": {
  27476. "description": "行情档位(1-10)",
  27477. "type": "integer"
  27478. },
  27479. "quoteminunit": {
  27480. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27481. "type": "integer"
  27482. },
  27483. "quoteshowtype": {
  27484. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  27485. "type": "integer"
  27486. },
  27487. "quoteshowtypeinterval": {
  27488. "description": "行情报价间隔时间(秒)(成交价时为0)",
  27489. "type": "integer"
  27490. },
  27491. "relatedgoodsid": {
  27492. "description": "关联参考商品ID",
  27493. "type": "integer"
  27494. },
  27495. "remark": {
  27496. "description": "备注",
  27497. "type": "string"
  27498. },
  27499. "trademode": {
  27500. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27501. "type": "integer"
  27502. }
  27503. }
  27504. },
  27505. "models.ErmcpGoodsBrand": {
  27506. "type": "object",
  27507. "properties": {
  27508. "areauserid": {
  27509. "description": "所属机构",
  27510. "type": "integer"
  27511. },
  27512. "brandid": {
  27513. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  27514. "type": "integer"
  27515. },
  27516. "brandname": {
  27517. "description": "品牌名称",
  27518. "type": "string"
  27519. },
  27520. "createtime": {
  27521. "description": "创建时间",
  27522. "type": "string"
  27523. },
  27524. "creatorid": {
  27525. "description": "创建人",
  27526. "type": "integer"
  27527. },
  27528. "creatorsrc": {
  27529. "description": "创建人来源 - 1:管理端 2:终端",
  27530. "type": "integer"
  27531. },
  27532. "deliverygoodsid": {
  27533. "description": "现货品种ID",
  27534. "type": "integer"
  27535. },
  27536. "isvalid": {
  27537. "description": "是否有效 - 0:无效 1:有效",
  27538. "type": "integer"
  27539. },
  27540. "updatetime": {
  27541. "description": "更新时间",
  27542. "type": "string"
  27543. },
  27544. "updatorid": {
  27545. "description": "更新人",
  27546. "type": "integer"
  27547. },
  27548. "updatorsrc": {
  27549. "description": "更新人来源 - 1:管理端 2:终端",
  27550. "type": "integer"
  27551. },
  27552. "wrstandardid": {
  27553. "description": "现货商品ID",
  27554. "type": "integer"
  27555. }
  27556. }
  27557. },
  27558. "models.ErmcpGoodsModel": {
  27559. "type": "object",
  27560. "properties": {
  27561. "areauserid": {
  27562. "description": "所属机构",
  27563. "type": "integer"
  27564. },
  27565. "convertfactor": {
  27566. "description": "标仓系数",
  27567. "type": "number"
  27568. },
  27569. "createtime": {
  27570. "description": "创建时间",
  27571. "type": "string"
  27572. },
  27573. "creatorid": {
  27574. "description": "创建人",
  27575. "type": "integer"
  27576. },
  27577. "creatorsrc": {
  27578. "description": "创建人来源 - 1:管理端 2:终端",
  27579. "type": "integer"
  27580. },
  27581. "deliverygoodsid": {
  27582. "description": "现货品种ID",
  27583. "type": "integer"
  27584. },
  27585. "isvalid": {
  27586. "description": "是否有效 - 0:无效 1:有效",
  27587. "type": "integer"
  27588. },
  27589. "modelid": {
  27590. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  27591. "type": "integer"
  27592. },
  27593. "modelname": {
  27594. "description": "型号名称",
  27595. "type": "string"
  27596. },
  27597. "updatetime": {
  27598. "description": "更新时间",
  27599. "type": "string"
  27600. },
  27601. "updatorid": {
  27602. "description": "更新人",
  27603. "type": "integer"
  27604. },
  27605. "updatorsrc": {
  27606. "description": "更新人来源 - 1:管理端 2:终端",
  27607. "type": "integer"
  27608. },
  27609. "wrstandardid": {
  27610. "description": "现货商品ID",
  27611. "type": "integer"
  27612. }
  27613. }
  27614. },
  27615. "models.ErmcpHisExposure": {
  27616. "type": "object",
  27617. "properties": {
  27618. "needhedgeexposoure": {
  27619. "description": "应套保敞口",
  27620. "type": "number"
  27621. },
  27622. "reckondate": {
  27623. "description": "日照时期(yyyyMMdd)",
  27624. "type": "string"
  27625. },
  27626. "totalexposure": {
  27627. "description": "总敞口",
  27628. "type": "number"
  27629. }
  27630. }
  27631. },
  27632. "models.ErmcpLoginTaAccount": {
  27633. "type": "object",
  27634. "properties": {
  27635. "accountid": {
  27636. "description": "账号id",
  27637. "type": "integer"
  27638. },
  27639. "accountname": {
  27640. "description": "账号名称",
  27641. "type": "string"
  27642. }
  27643. }
  27644. },
  27645. "models.ErmcpLoginUser": {
  27646. "type": "object",
  27647. "properties": {
  27648. "acclist": {
  27649. "description": "关联资金账号",
  27650. "type": "array",
  27651. "items": {
  27652. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  27653. }
  27654. },
  27655. "accountname": {
  27656. "description": "用户名称",
  27657. "type": "string"
  27658. },
  27659. "clientroleid": {
  27660. "description": "角色id(usertype=2)",
  27661. "type": "integer"
  27662. },
  27663. "createtime": {
  27664. "description": "创建时间",
  27665. "type": "string"
  27666. },
  27667. "logincode": {
  27668. "description": "登录代码",
  27669. "type": "string"
  27670. },
  27671. "loginid": {
  27672. "description": "登录id(LOGINID)",
  27673. "type": "integer"
  27674. },
  27675. "loginname": {
  27676. "description": "登录名称(loginaccount表中的accountname字段)",
  27677. "type": "string"
  27678. },
  27679. "loginstatus": {
  27680. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  27681. "type": "integer"
  27682. },
  27683. "memberuserid": {
  27684. "description": "所属会员id",
  27685. "type": "integer"
  27686. },
  27687. "mobile": {
  27688. "description": "手机号",
  27689. "type": "string"
  27690. },
  27691. "modifytime": {
  27692. "description": "修改时间",
  27693. "type": "string"
  27694. },
  27695. "password": {
  27696. "description": "密码(不可解密)",
  27697. "type": "string"
  27698. },
  27699. "rolename": {
  27700. "description": "角色名称",
  27701. "type": "string"
  27702. },
  27703. "rolestatus": {
  27704. "description": "角色状态 1-启用 2-停用",
  27705. "type": "integer"
  27706. },
  27707. "roletype": {
  27708. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  27709. "type": "string"
  27710. },
  27711. "userid": {
  27712. "description": "用户id",
  27713. "type": "integer"
  27714. },
  27715. "usertype": {
  27716. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27717. "type": "integer"
  27718. }
  27719. }
  27720. },
  27721. "models.ErmcpLoginUserEx": {
  27722. "type": "object",
  27723. "properties": {
  27724. "accountstatus": {
  27725. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27726. "type": "integer"
  27727. },
  27728. "mobile": {
  27729. "description": "手机号",
  27730. "type": "string"
  27731. },
  27732. "querytype": {
  27733. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  27734. "type": "integer"
  27735. },
  27736. "roleid": {
  27737. "description": "角色id(交易账户-\u003e用户id)",
  27738. "type": "integer"
  27739. },
  27740. "rolename": {
  27741. "description": "角色名称(交易账户-\u003e用户名称)",
  27742. "type": "string"
  27743. },
  27744. "userlist": {
  27745. "description": "用户列表",
  27746. "type": "array",
  27747. "items": {
  27748. "$ref": "#/definitions/models.ErmcpLoginUser"
  27749. }
  27750. },
  27751. "usertype": {
  27752. "description": "用户类型 2-机构 7-企业成员(云平台)",
  27753. "type": "integer"
  27754. }
  27755. }
  27756. },
  27757. "models.ErmcpMiddleGoodsModel": {
  27758. "type": "object",
  27759. "properties": {
  27760. "areauserid": {
  27761. "description": "机构用户ID",
  27762. "type": "integer"
  27763. },
  27764. "createtime": {
  27765. "description": "修改时间",
  27766. "type": "string"
  27767. },
  27768. "enumdicname": {
  27769. "description": "单位名称",
  27770. "type": "string"
  27771. },
  27772. "evaluateratio": {
  27773. "description": "估价系数",
  27774. "type": "number"
  27775. },
  27776. "goodsgroupid": {
  27777. "description": "关联期货品种ID",
  27778. "type": "integer"
  27779. },
  27780. "goodsunitid": {
  27781. "description": "单位ID",
  27782. "type": "integer"
  27783. },
  27784. "isvalid": {
  27785. "description": "状态 0-无效(停用) 1-有效(正常)",
  27786. "type": "integer"
  27787. },
  27788. "middlegoodscode": {
  27789. "description": "套保品种代码",
  27790. "type": "string"
  27791. },
  27792. "middlegoodsid": {
  27793. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  27794. "type": "integer"
  27795. },
  27796. "middlegoodsname": {
  27797. "description": "套保品种名称",
  27798. "type": "string"
  27799. },
  27800. "modifytime": {
  27801. "description": "修改时间",
  27802. "type": "string"
  27803. },
  27804. "needarbitrageratio": {
  27805. "description": "套利比例",
  27806. "type": "number"
  27807. },
  27808. "needhedgeratio": {
  27809. "description": "套保比率",
  27810. "type": "number"
  27811. },
  27812. "qtydecimalplace": {
  27813. "description": "数量小数位",
  27814. "type": "integer"
  27815. },
  27816. "relatedgoodsid": {
  27817. "description": "关联交易商品ID",
  27818. "type": "integer"
  27819. },
  27820. "relatedgoodstype": {
  27821. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  27822. "type": "integer"
  27823. },
  27824. "remark": {
  27825. "description": "备注",
  27826. "type": "string"
  27827. }
  27828. }
  27829. },
  27830. "models.ErmcpMiddlegoodsRelateGoods": {
  27831. "type": "object",
  27832. "properties": {
  27833. "agreeunit": {
  27834. "description": "合约乘数",
  27835. "type": "number"
  27836. },
  27837. "convertratio": {
  27838. "description": "折算系数",
  27839. "type": "number"
  27840. },
  27841. "enumdicname": {
  27842. "description": "单位名称(交易商品)",
  27843. "type": "string"
  27844. },
  27845. "goodscode": {
  27846. "description": "交易商品代码",
  27847. "type": "string"
  27848. },
  27849. "goodsgroupid": {
  27850. "description": "交易品种id",
  27851. "type": "integer"
  27852. },
  27853. "goodsid": {
  27854. "description": "商品Id",
  27855. "type": "integer"
  27856. },
  27857. "goodsname": {
  27858. "description": "交易商品名称",
  27859. "type": "string"
  27860. },
  27861. "goodunitid": {
  27862. "description": "交易商品单位id",
  27863. "type": "integer"
  27864. },
  27865. "middlegoodsid": {
  27866. "description": "套保商品id",
  27867. "type": "integer"
  27868. },
  27869. "middlegoodsname": {
  27870. "description": "套保商品名称",
  27871. "type": "string"
  27872. },
  27873. "middlegoodsswcode": {
  27874. "description": "套保商品代码",
  27875. "type": "string"
  27876. },
  27877. "needarbitrageratio": {
  27878. "description": "应套利比例",
  27879. "type": "number"
  27880. },
  27881. "needhedgeratio": {
  27882. "description": "应套保比例",
  27883. "type": "number"
  27884. }
  27885. }
  27886. },
  27887. "models.ErmcpRole": {
  27888. "type": "object",
  27889. "properties": {
  27890. "areauserid": {
  27891. "description": "所属机构",
  27892. "type": "integer"
  27893. },
  27894. "autoid": {
  27895. "description": "角色ID(自增ID)",
  27896. "type": "integer"
  27897. },
  27898. "modifierid": {
  27899. "description": "修改人(创建人)",
  27900. "type": "integer"
  27901. },
  27902. "modifiername": {
  27903. "description": "修改人名称",
  27904. "type": "string"
  27905. },
  27906. "modifytime": {
  27907. "description": "修改时间(创建时间)",
  27908. "type": "string"
  27909. },
  27910. "rolename": {
  27911. "description": "角色名称",
  27912. "type": "string"
  27913. },
  27914. "rolestatus": {
  27915. "description": "角色状态 - 1:启用 2:停用",
  27916. "type": "integer"
  27917. },
  27918. "roletype": {
  27919. "description": "角色类型 - 1- 管理端 2- 交易端",
  27920. "type": "integer"
  27921. }
  27922. }
  27923. },
  27924. "models.ErmcpRoleMenu": {
  27925. "type": "object",
  27926. "properties": {
  27927. "iconame": {
  27928. "description": "菜单图标",
  27929. "type": "string"
  27930. },
  27931. "ishadrole": {
  27932. "description": "是否有权限",
  27933. "type": "boolean"
  27934. },
  27935. "menutype": {
  27936. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  27937. "type": "integer"
  27938. },
  27939. "parentcode": {
  27940. "description": "上级资源代码",
  27941. "type": "string"
  27942. },
  27943. "remark": {
  27944. "description": "菜单备注",
  27945. "type": "string"
  27946. },
  27947. "resourcecode": {
  27948. "description": "菜单代码",
  27949. "type": "string"
  27950. },
  27951. "resourcelevel": {
  27952. "description": "级别",
  27953. "type": "integer"
  27954. },
  27955. "resourcename": {
  27956. "description": "菜单名称",
  27957. "type": "string"
  27958. },
  27959. "roleid": {
  27960. "description": "角色id",
  27961. "type": "integer"
  27962. },
  27963. "sort": {
  27964. "description": "排序",
  27965. "type": "integer"
  27966. },
  27967. "url": {
  27968. "description": "URL",
  27969. "type": "string"
  27970. },
  27971. "userid": {
  27972. "description": "用户id",
  27973. "type": "integer"
  27974. }
  27975. }
  27976. },
  27977. "models.ErmcpRoleMenuEx": {
  27978. "type": "object",
  27979. "properties": {
  27980. "menu": {
  27981. "description": "父级菜单",
  27982. "$ref": "#/definitions/models.ErmcpRoleMenu"
  27983. },
  27984. "subMenu": {
  27985. "description": "子级菜单",
  27986. "type": "array",
  27987. "items": {
  27988. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  27989. }
  27990. }
  27991. }
  27992. },
  27993. "models.ErmcpSpotContractModelEx": {
  27994. "type": "object",
  27995. "properties": {
  27996. "accountname": {
  27997. "description": "套期主体",
  27998. "type": "string"
  27999. },
  28000. "amount": {
  28001. "description": "金额 [1:一口价、3:暂定价]",
  28002. "type": "number"
  28003. },
  28004. "attachment": {
  28005. "description": "附件",
  28006. "type": "string"
  28007. },
  28008. "auditremark": {
  28009. "description": "审核意见",
  28010. "type": "string"
  28011. },
  28012. "audittime": {
  28013. "description": "审核时间",
  28014. "type": "string"
  28015. },
  28016. "avgprice": {
  28017. "description": "定价均价 = 已定价金额 / 已定价量",
  28018. "type": "number"
  28019. },
  28020. "brandname": {
  28021. "description": "品牌名称",
  28022. "type": "string"
  28023. },
  28024. "buyuserid": {
  28025. "description": "采购方ID",
  28026. "type": "integer"
  28027. },
  28028. "buyusername": {
  28029. "description": "采购方名称",
  28030. "type": "string"
  28031. },
  28032. "contracctstatus": {
  28033. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28034. "type": "integer"
  28035. },
  28036. "contractmargin": {
  28037. "description": "合同保证金",
  28038. "type": "number"
  28039. },
  28040. "contractno": {
  28041. "description": "[合同编号]现货合同编号",
  28042. "type": "string"
  28043. },
  28044. "contracttype": {
  28045. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  28046. "type": "integer"
  28047. },
  28048. "convertfactor": {
  28049. "description": "标仓系数",
  28050. "type": "number"
  28051. },
  28052. "createtime": {
  28053. "description": "创建时间",
  28054. "type": "string"
  28055. },
  28056. "customername": {
  28057. "description": "对手方",
  28058. "type": "string"
  28059. },
  28060. "customeruserid": {
  28061. "description": "客户ID",
  28062. "type": "integer"
  28063. },
  28064. "deliveryenddate": {
  28065. "description": "交收期(结束)",
  28066. "type": "string"
  28067. },
  28068. "deliverygoodscode": {
  28069. "description": "现货品种代码",
  28070. "type": "string"
  28071. },
  28072. "deliverygoodsid": {
  28073. "description": "现货品种ID",
  28074. "type": "integer"
  28075. },
  28076. "deliverygoodsname": {
  28077. "description": "现货品种名称",
  28078. "type": "string"
  28079. },
  28080. "deliverystartdate": {
  28081. "description": "交收期(开始)",
  28082. "type": "string"
  28083. },
  28084. "enddate": {
  28085. "description": "点价结束日期 [2:点价 3:暂定价]",
  28086. "type": "string"
  28087. },
  28088. "enumdicname": {
  28089. "description": "单位名称",
  28090. "type": "string"
  28091. },
  28092. "goodscode": {
  28093. "description": "点价合约代码",
  28094. "type": "string"
  28095. },
  28096. "goodsid": {
  28097. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  28098. "type": "integer"
  28099. },
  28100. "goodsname": {
  28101. "description": "点价商品名称",
  28102. "type": "string"
  28103. },
  28104. "isrelated": {
  28105. "description": "是否已关联计划项目 - 0:否 1:是",
  28106. "type": "integer"
  28107. },
  28108. "isrelated2": {
  28109. "description": "是否已关联现货项目 - 0:否 1:是",
  28110. "type": "integer"
  28111. },
  28112. "margin": {
  28113. "description": "当前保证金",
  28114. "type": "number"
  28115. },
  28116. "modelname": {
  28117. "description": "型号名称",
  28118. "type": "string"
  28119. },
  28120. "price": {
  28121. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  28122. "type": "number"
  28123. },
  28124. "pricedamount": {
  28125. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  28126. "type": "number"
  28127. },
  28128. "pricedqty": {
  28129. "description": "已定价量",
  28130. "type": "number"
  28131. },
  28132. "pricemove": {
  28133. "description": "升贴水 [2:点价 3:暂定价]",
  28134. "type": "number"
  28135. },
  28136. "pricetype": {
  28137. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  28138. "type": "integer"
  28139. },
  28140. "producttype": {
  28141. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  28142. "type": "integer"
  28143. },
  28144. "qty": {
  28145. "description": "[合同数量]数量",
  28146. "type": "number"
  28147. },
  28148. "remark": {
  28149. "description": "备注",
  28150. "type": "string"
  28151. },
  28152. "selluserid": {
  28153. "description": "销售方ID",
  28154. "type": "integer"
  28155. },
  28156. "sellusername": {
  28157. "description": "销售方名称",
  28158. "type": "string"
  28159. },
  28160. "spotamount": {
  28161. "description": "合同现货金额 [不含升贴水]",
  28162. "type": "number"
  28163. },
  28164. "spotavgprice": {
  28165. "description": "现货均价 = 合同现货金额 / 已定价量",
  28166. "type": "number"
  28167. },
  28168. "spotcontractid": {
  28169. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  28170. "type": "string"
  28171. },
  28172. "spotgoodsbrandid": {
  28173. "description": "现货品牌ID",
  28174. "type": "integer"
  28175. },
  28176. "spotgoodsdesc": {
  28177. "description": "商品型号",
  28178. "type": "string"
  28179. },
  28180. "spotgoodsmodelid": {
  28181. "description": "现货型号ID",
  28182. "type": "integer"
  28183. },
  28184. "startdate": {
  28185. "description": "点价开始日期 [2:点价 3:暂定价]",
  28186. "type": "string"
  28187. },
  28188. "tradeuserid": {
  28189. "description": "交易用户ID",
  28190. "type": "integer"
  28191. },
  28192. "unpricedqty": {
  28193. "description": "未定价量 = 合同数量 - 已定价量",
  28194. "type": "number"
  28195. },
  28196. "updatetime": {
  28197. "description": "更新时间",
  28198. "type": "string"
  28199. },
  28200. "userid": {
  28201. "description": "机构ID",
  28202. "type": "integer"
  28203. },
  28204. "wrstandardcode": {
  28205. "description": "现货商品代码",
  28206. "type": "string"
  28207. },
  28208. "wrstandardid": {
  28209. "description": "现货商品ID",
  28210. "type": "integer"
  28211. },
  28212. "wrstandardname": {
  28213. "description": "[现货商品]现货商品名称",
  28214. "type": "string"
  28215. }
  28216. }
  28217. },
  28218. "models.ErmcpTaAccount": {
  28219. "type": "object",
  28220. "properties": {
  28221. "accountid": {
  28222. "description": "账户id",
  28223. "type": "integer"
  28224. },
  28225. "accountname": {
  28226. "description": "账户名称",
  28227. "type": "string"
  28228. },
  28229. "currencyid": {
  28230. "description": "币种id",
  28231. "type": "integer"
  28232. },
  28233. "hedgeaccountcode": {
  28234. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28235. "type": "string"
  28236. },
  28237. "ismain": {
  28238. "description": "是否主账户 0-否 1-是",
  28239. "type": "integer"
  28240. },
  28241. "parentaccountid": {
  28242. "description": "父账户id",
  28243. "type": "integer"
  28244. },
  28245. "relateduserid": {
  28246. "description": "关联userid",
  28247. "type": "integer"
  28248. },
  28249. "tradefeetmpid": {
  28250. "description": "手续费模板id",
  28251. "type": "integer"
  28252. },
  28253. "tradefeetmpname": {
  28254. "description": "手续费模板名称",
  28255. "type": "string"
  28256. },
  28257. "trademargintmpid": {
  28258. "description": "保证金模板id",
  28259. "type": "integer"
  28260. },
  28261. "trademargintmpname": {
  28262. "description": "保证金模板名称",
  28263. "type": "string"
  28264. },
  28265. "traderatetmpid": {
  28266. "description": "汇率模板id",
  28267. "type": "integer"
  28268. },
  28269. "traderatetmpname": {
  28270. "description": "汇率模板名称",
  28271. "type": "string"
  28272. },
  28273. "tradestatus": {
  28274. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28275. "type": "integer"
  28276. },
  28277. "userid": {
  28278. "description": "用户id",
  28279. "type": "integer"
  28280. }
  28281. }
  28282. },
  28283. "models.ErmcpTaAccountEx": {
  28284. "type": "object",
  28285. "properties": {
  28286. "mainAcc": {
  28287. "description": "主账号",
  28288. "$ref": "#/definitions/models.ErmcpTaAccountM"
  28289. },
  28290. "subacclist": {
  28291. "description": "子账号列表",
  28292. "type": "array",
  28293. "items": {
  28294. "$ref": "#/definitions/models.ErmcpTaAccount"
  28295. }
  28296. }
  28297. }
  28298. },
  28299. "models.ErmcpTaAccountInfo": {
  28300. "type": "object",
  28301. "properties": {
  28302. "accountid": {
  28303. "description": "资金账户ID",
  28304. "type": "integer"
  28305. },
  28306. "accountname": {
  28307. "description": "账户名称",
  28308. "type": "string"
  28309. },
  28310. "balance": {
  28311. "description": "期初余额",
  28312. "type": "number"
  28313. },
  28314. "capitalbalance": {
  28315. "description": "本金余额[外部子账户实际出入金余额]",
  28316. "type": "number"
  28317. },
  28318. "closepl": {
  28319. "description": "今日平仓盈亏",
  28320. "type": "number"
  28321. },
  28322. "creditdecrease": {
  28323. "description": "今日授信减少",
  28324. "type": "number"
  28325. },
  28326. "creditincrease": {
  28327. "description": "今日授信增加",
  28328. "type": "number"
  28329. },
  28330. "curdebt": {
  28331. "description": "期末欠款",
  28332. "type": "number"
  28333. },
  28334. "currencyid": {
  28335. "description": "货币ID",
  28336. "type": "integer"
  28337. },
  28338. "currentbalance": {
  28339. "description": "期末余额",
  28340. "type": "number"
  28341. },
  28342. "freezecharge": {
  28343. "description": "手续费冻结",
  28344. "type": "number"
  28345. },
  28346. "freezemargin": {
  28347. "description": "冻结保证金",
  28348. "type": "number"
  28349. },
  28350. "fromaccountid": {
  28351. "description": "所属上级账户",
  28352. "type": "integer"
  28353. },
  28354. "inamount": {
  28355. "description": "今日入金金额(包括三方入金)",
  28356. "type": "number"
  28357. },
  28358. "ismain": {
  28359. "description": "是否母账号 0:不是母账户 1:是母账户",
  28360. "type": "integer"
  28361. },
  28362. "mortgagecredit": {
  28363. "description": "授信金额",
  28364. "type": "number"
  28365. },
  28366. "oridebt": {
  28367. "description": "期初欠款",
  28368. "type": "number"
  28369. },
  28370. "orifreezecharge": {
  28371. "description": "期初手续费冻结",
  28372. "type": "number"
  28373. },
  28374. "orifreezemargin": {
  28375. "description": "期初冻结保证金",
  28376. "type": "number"
  28377. },
  28378. "orimortgagecredit": {
  28379. "description": "期初授信金额",
  28380. "type": "number"
  28381. },
  28382. "oriothercredit": {
  28383. "description": "期初其它授信金额",
  28384. "type": "number"
  28385. },
  28386. "oriotherfreezemargin": {
  28387. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28388. "type": "number"
  28389. },
  28390. "orioutamountfreeze": {
  28391. "description": "期初出金冻结",
  28392. "type": "number"
  28393. },
  28394. "oriusedmargin": {
  28395. "description": "期初占用保证金",
  28396. "type": "number"
  28397. },
  28398. "othercredit": {
  28399. "description": "其它授信金额",
  28400. "type": "number"
  28401. },
  28402. "othercreditdecrease": {
  28403. "description": "今日其它授信减少",
  28404. "type": "number"
  28405. },
  28406. "othercreditincrease": {
  28407. "description": "今日其它授信增加",
  28408. "type": "number"
  28409. },
  28410. "otherfreezemargin": {
  28411. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28412. "type": "number"
  28413. },
  28414. "outamount": {
  28415. "description": "今日出金金额(包括三方出金)",
  28416. "type": "number"
  28417. },
  28418. "outamountfreeze": {
  28419. "description": "出金冻结",
  28420. "type": "number"
  28421. },
  28422. "outthreshold": {
  28423. "description": "出金阈值",
  28424. "type": "number"
  28425. },
  28426. "parentaccountid": {
  28427. "description": "所属根账号",
  28428. "type": "integer"
  28429. },
  28430. "paycharge": {
  28431. "description": "今日手续费支出",
  28432. "type": "number"
  28433. },
  28434. "relateduserid": {
  28435. "description": "关联用户",
  28436. "type": "integer"
  28437. },
  28438. "signstatus": {
  28439. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28440. "type": "integer"
  28441. },
  28442. "sublevelpath": {
  28443. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28444. "type": "string"
  28445. },
  28446. "taaccounttype": {
  28447. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28448. "type": "integer"
  28449. },
  28450. "thirdinamount": {
  28451. "description": "今日三方入金",
  28452. "type": "number"
  28453. },
  28454. "thirdoutamount": {
  28455. "description": "今日三方出金",
  28456. "type": "number"
  28457. },
  28458. "tradestatus": {
  28459. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28460. "type": "integer"
  28461. },
  28462. "transferamount": {
  28463. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28464. "type": "number"
  28465. },
  28466. "usedmargin": {
  28467. "description": "占用保证金",
  28468. "type": "number"
  28469. },
  28470. "userid": {
  28471. "description": "用户ID",
  28472. "type": "integer"
  28473. }
  28474. }
  28475. },
  28476. "models.ErmcpTaAccountM": {
  28477. "type": "object",
  28478. "properties": {
  28479. "accountid": {
  28480. "description": "账户id",
  28481. "type": "integer"
  28482. },
  28483. "accountname": {
  28484. "description": "账户名称",
  28485. "type": "string"
  28486. },
  28487. "currencyid": {
  28488. "description": "币种id",
  28489. "type": "integer"
  28490. },
  28491. "fcid": {
  28492. "description": "期货公司id",
  28493. "type": "integer"
  28494. },
  28495. "fcname": {
  28496. "description": "期货公司代码",
  28497. "type": "string"
  28498. },
  28499. "hedgeaccountcode": {
  28500. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28501. "type": "string"
  28502. },
  28503. "ismain": {
  28504. "description": "是否主账户 0-否 1-是",
  28505. "type": "integer"
  28506. },
  28507. "parentaccountid": {
  28508. "description": "父账户id",
  28509. "type": "integer"
  28510. },
  28511. "relateduserid": {
  28512. "description": "关联userid",
  28513. "type": "integer"
  28514. },
  28515. "tradefeetmpid": {
  28516. "description": "手续费模板id",
  28517. "type": "integer"
  28518. },
  28519. "tradefeetmpname": {
  28520. "description": "手续费模板名称",
  28521. "type": "string"
  28522. },
  28523. "trademargintmpid": {
  28524. "description": "保证金模板id",
  28525. "type": "integer"
  28526. },
  28527. "trademargintmpname": {
  28528. "description": "保证金模板名称",
  28529. "type": "string"
  28530. },
  28531. "traderatetmpid": {
  28532. "description": "汇率模板id",
  28533. "type": "integer"
  28534. },
  28535. "traderatetmpname": {
  28536. "description": "汇率模板名称",
  28537. "type": "string"
  28538. },
  28539. "tradestatus": {
  28540. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28541. "type": "integer"
  28542. },
  28543. "userid": {
  28544. "description": "用户id",
  28545. "type": "integer"
  28546. }
  28547. }
  28548. },
  28549. "models.ErmcpTradeConfigTMP": {
  28550. "type": "object",
  28551. "properties": {
  28552. "areauserid": {
  28553. "description": "所属机构",
  28554. "type": "integer"
  28555. },
  28556. "basiccurrencyid": {
  28557. "description": "基本币种ID[汇率] - 目标币种",
  28558. "type": "integer"
  28559. },
  28560. "mainaccountid": {
  28561. "description": "主账户ID",
  28562. "type": "integer"
  28563. },
  28564. "modifierid": {
  28565. "description": "修改人",
  28566. "type": "integer"
  28567. },
  28568. "remark": {
  28569. "description": "备注",
  28570. "type": "string"
  28571. },
  28572. "tradeconfigtmpid": {
  28573. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  28574. "type": "integer"
  28575. },
  28576. "tradeconfigtmpname": {
  28577. "description": "交易配置模板名称",
  28578. "type": "string"
  28579. },
  28580. "tradeconfigtmptype": {
  28581. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  28582. "type": "integer"
  28583. },
  28584. "updatetime": {
  28585. "description": "更新时间",
  28586. "type": "string"
  28587. }
  28588. }
  28589. },
  28590. "models.Ermcpjrlinkpos": {
  28591. "type": "object",
  28592. "required": [
  28593. "spotcontractid"
  28594. ],
  28595. "properties": {
  28596. "areauserid": {
  28597. "description": "所属企业",
  28598. "type": "integer"
  28599. },
  28600. "averageprice": {
  28601. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  28602. "type": "number"
  28603. },
  28604. "closepl": {
  28605. "description": "总平仓盈亏 [期货损益]",
  28606. "type": "number"
  28607. },
  28608. "executeprice": {
  28609. "description": "执行价 - 1:期货单 为 0",
  28610. "type": "integer"
  28611. },
  28612. "futurehedgeqty": {
  28613. "description": "期货套期量",
  28614. "type": "number"
  28615. },
  28616. "goodsid": {
  28617. "description": "期货合约",
  28618. "type": "integer"
  28619. },
  28620. "middlegoodscode": {
  28621. "description": "套保商品代码",
  28622. "type": "string"
  28623. },
  28624. "middlegoodsname": {
  28625. "description": "套保商品名称",
  28626. "type": "string"
  28627. },
  28628. "netqty": {
  28629. "description": "净头寸",
  28630. "type": "number"
  28631. },
  28632. "optioncode": {
  28633. "description": "期权代码",
  28634. "type": "string"
  28635. },
  28636. "ordertype": {
  28637. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28638. "type": "integer"
  28639. },
  28640. "reckonpl": {
  28641. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  28642. "type": "number"
  28643. },
  28644. "spotcontractid": {
  28645. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  28646. "type": "string"
  28647. },
  28648. "todayfutureclosepl": {
  28649. "description": "今日平仓盈亏",
  28650. "type": "number"
  28651. },
  28652. "totalbuyamount": {
  28653. "description": "买金额 [期货]",
  28654. "type": "number"
  28655. },
  28656. "totalbuyholdamount": {
  28657. "description": "买持仓总金额[期货]",
  28658. "type": "number"
  28659. },
  28660. "totalbuyqty": {
  28661. "description": "买数量",
  28662. "type": "number"
  28663. },
  28664. "totalcharge": {
  28665. "description": "手续费",
  28666. "type": "number"
  28667. },
  28668. "totalpremium": {
  28669. "description": "权利金 [期权]",
  28670. "type": "number"
  28671. },
  28672. "totalsellamount": {
  28673. "description": "卖金额 [期货]",
  28674. "type": "number"
  28675. },
  28676. "totalsellholdamount": {
  28677. "description": "卖持仓总金额[期货]",
  28678. "type": "number"
  28679. },
  28680. "totalsellqty": {
  28681. "description": "卖数量",
  28682. "type": "number"
  28683. },
  28684. "updatetime": {
  28685. "description": "更新时间",
  28686. "type": "string"
  28687. }
  28688. }
  28689. },
  28690. "models.Ermcppatradelinkdetail": {
  28691. "type": "object",
  28692. "required": [
  28693. "hedgeditemid"
  28694. ],
  28695. "properties": {
  28696. "agreeunit": {
  28697. "description": "合约乘数",
  28698. "type": "number"
  28699. },
  28700. "amount": {
  28701. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28702. "type": "number"
  28703. },
  28704. "areauserid": {
  28705. "description": "所属机构",
  28706. "type": "integer"
  28707. },
  28708. "bizsubjectid": {
  28709. "description": "归属业务部门ID - SubjectID",
  28710. "type": "integer"
  28711. },
  28712. "buyorsell": {
  28713. "description": "方向 - 0:买 1:卖",
  28714. "type": "integer"
  28715. },
  28716. "convertratio": {
  28717. "description": "品种系数",
  28718. "type": "number"
  28719. },
  28720. "createtime": {
  28721. "description": "创建时间",
  28722. "type": "string"
  28723. },
  28724. "creatorid": {
  28725. "description": "创建人ID",
  28726. "type": "integer"
  28727. },
  28728. "creatorsrc": {
  28729. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28730. "type": "integer"
  28731. },
  28732. "goodsgroupid": {
  28733. "description": "对冲品种ID[期货合约商品组ID]",
  28734. "type": "integer"
  28735. },
  28736. "goodsid": {
  28737. "description": "商品ID",
  28738. "type": "integer"
  28739. },
  28740. "hedgeditemid": {
  28741. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28742. "type": "integer"
  28743. },
  28744. "hedgeflag": {
  28745. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28746. "type": "integer"
  28747. },
  28748. "linkdetailid": {
  28749. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28750. "type": "string"
  28751. },
  28752. "linkstatus": {
  28753. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28754. "type": "integer"
  28755. },
  28756. "middlegoodsid": {
  28757. "description": "套保品种ID",
  28758. "type": "integer"
  28759. },
  28760. "name": {
  28761. "description": "账户名/子账户",
  28762. "type": "string"
  28763. },
  28764. "optioncode": {
  28765. "description": "[期货合约]期权代码 [期权]",
  28766. "type": "string"
  28767. },
  28768. "ordertype": {
  28769. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28770. "type": "integer"
  28771. },
  28772. "relatedlot": {
  28773. "description": "[数量]关联手数",
  28774. "type": "number"
  28775. },
  28776. "relatedmode": {
  28777. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28778. "type": "integer"
  28779. },
  28780. "relatedqty": {
  28781. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28782. "type": "number"
  28783. },
  28784. "retcode": {
  28785. "description": "返回码",
  28786. "type": "integer"
  28787. },
  28788. "saleuserid": {
  28789. "description": "业务员ID",
  28790. "type": "integer"
  28791. },
  28792. "tradedate": {
  28793. "description": "关联交易日(yyyyMMdd)",
  28794. "type": "string"
  28795. },
  28796. "tradeid": {
  28797. "description": "[成交单号]内部成交单ID",
  28798. "type": "string"
  28799. },
  28800. "tradelot": {
  28801. "description": "成交手数",
  28802. "type": "integer"
  28803. },
  28804. "tradeprice": {
  28805. "description": "[价格]成交价格",
  28806. "type": "number"
  28807. },
  28808. "tradetime": {
  28809. "description": "日期时间",
  28810. "type": "string"
  28811. },
  28812. "tradetradedate": {
  28813. "description": "成交交易日(yyyyMMdd)",
  28814. "type": "string"
  28815. }
  28816. }
  28817. },
  28818. "models.Exchangerateconfig": {
  28819. "type": "object",
  28820. "properties": {
  28821. "descurrencyid": {
  28822. "description": "目标币种ID",
  28823. "type": "integer"
  28824. },
  28825. "exchangerate": {
  28826. "description": "汇率",
  28827. "type": "number"
  28828. },
  28829. "oricurrencyid": {
  28830. "description": "源币种ID",
  28831. "type": "integer"
  28832. },
  28833. "remark": {
  28834. "description": "备注",
  28835. "type": "string"
  28836. }
  28837. }
  28838. },
  28839. "models.Externalexchange": {
  28840. "type": "object",
  28841. "required": [
  28842. "autoid"
  28843. ],
  28844. "properties": {
  28845. "autoid": {
  28846. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  28847. "type": "integer"
  28848. },
  28849. "exchangefullname": {
  28850. "description": "外部交易所全称",
  28851. "type": "string"
  28852. },
  28853. "exexchangecode": {
  28854. "description": "外部交易所代码",
  28855. "type": "string"
  28856. },
  28857. "exexchangename": {
  28858. "description": "外部交易所名称(简称)",
  28859. "type": "string"
  28860. },
  28861. "ismarketprice": {
  28862. "description": "是否支持市价 - 0:不支持 1:支持",
  28863. "type": "integer"
  28864. },
  28865. "quotegear": {
  28866. "description": "行情档位(1-10)",
  28867. "type": "integer"
  28868. },
  28869. "showbrokerflag": {
  28870. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  28871. "type": "integer"
  28872. },
  28873. "updatetime": {
  28874. "description": "更新时间",
  28875. "type": "string"
  28876. }
  28877. }
  28878. },
  28879. "models.Funcmenulist": {
  28880. "type": "object",
  28881. "required": [
  28882. "resourcecode"
  28883. ],
  28884. "properties": {
  28885. "iconame": {
  28886. "description": "菜单图标",
  28887. "type": "string"
  28888. },
  28889. "menutype": {
  28890. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  28891. "type": "integer"
  28892. },
  28893. "parentcode": {
  28894. "description": "上级资源代码",
  28895. "type": "string"
  28896. },
  28897. "remark": {
  28898. "description": "备注",
  28899. "type": "string"
  28900. },
  28901. "resourcecode": {
  28902. "description": "资源代码",
  28903. "type": "string"
  28904. },
  28905. "resourcelevel": {
  28906. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  28907. "type": "integer"
  28908. },
  28909. "resourcename": {
  28910. "description": "资源名",
  28911. "type": "string"
  28912. },
  28913. "sort": {
  28914. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  28915. "type": "integer"
  28916. },
  28917. "url": {
  28918. "description": "URL",
  28919. "type": "string"
  28920. }
  28921. }
  28922. },
  28923. "models.GZGoods": {
  28924. "type": "object",
  28925. "required": [
  28926. "goodsno"
  28927. ],
  28928. "properties": {
  28929. "cerno": {
  28930. "description": "证书编号 - 类型:2,4,5",
  28931. "type": "string"
  28932. },
  28933. "cpcertno": {
  28934. "description": "金伯利证书编号 - 类型:3",
  28935. "type": "string"
  28936. },
  28937. "goodsno": {
  28938. "description": "商品编号",
  28939. "type": "string"
  28940. },
  28941. "imagepath": {
  28942. "description": "商品照片(相对地址)",
  28943. "type": "string"
  28944. },
  28945. "isvalid": {
  28946. "description": "是否有效 - 0:无效 1:有效",
  28947. "type": "integer"
  28948. },
  28949. "kppath": {
  28950. "description": "金伯利证书图片(相对地址) - 类型:3",
  28951. "type": "string"
  28952. },
  28953. "kpweight": {
  28954. "description": "金伯利证书重量 - 类型:3",
  28955. "type": "string"
  28956. },
  28957. "marketprice": {
  28958. "description": "市场价",
  28959. "type": "string"
  28960. },
  28961. "mobile": {
  28962. "description": "手机号码",
  28963. "type": "string"
  28964. },
  28965. "origin": {
  28966. "description": "原产地 - 类型:3",
  28967. "type": "string"
  28968. },
  28969. "performancetemplateid": {
  28970. "description": "履约计划模板ID",
  28971. "type": "integer"
  28972. },
  28973. "price": {
  28974. "description": "总价(价格) - 类型:1,2,3,4,5",
  28975. "type": "number"
  28976. },
  28977. "priceper": {
  28978. "description": "克拉单价 - 类型:1,2,3,5",
  28979. "type": "string"
  28980. },
  28981. "remainqty": {
  28982. "description": "剩余重量",
  28983. "type": "number"
  28984. },
  28985. "remark": {
  28986. "description": "备注",
  28987. "type": "string"
  28988. },
  28989. "sellusername": {
  28990. "description": "账户名称(机构名称)",
  28991. "type": "string"
  28992. },
  28993. "settingmaterial": {
  28994. "description": "镶嵌材料 - 类型:4",
  28995. "type": "string"
  28996. },
  28997. "size1": {
  28998. "description": "尺寸1 - 类型:2,4,5",
  28999. "type": "string"
  29000. },
  29001. "size2": {
  29002. "description": "尺寸2 - 类型:2,4,5",
  29003. "type": "string"
  29004. },
  29005. "size3": {
  29006. "description": "尺寸3 - 类型:2,4,5",
  29007. "type": "string"
  29008. },
  29009. "stonedesc": {
  29010. "description": "配石描述 - 类型:4",
  29011. "type": "string"
  29012. },
  29013. "userid": {
  29014. "description": "用户ID",
  29015. "type": "integer"
  29016. },
  29017. "warehouseid": {
  29018. "description": "仓库ID",
  29019. "type": "integer"
  29020. },
  29021. "warehousenamedisplay": {
  29022. "type": "string"
  29023. },
  29024. "weight": {
  29025. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  29026. "type": "number"
  29027. },
  29028. "weightavg": {
  29029. "description": "平均单颗重量 - 类型:1,3",
  29030. "type": "number"
  29031. },
  29032. "wrpath": {
  29033. "description": "仓单扫描件(相对地址)",
  29034. "type": "string"
  29035. },
  29036. "wrstandardid": {
  29037. "description": "现货商品ID",
  29038. "type": "integer"
  29039. },
  29040. "wrtradeorderid": {
  29041. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29042. "type": "string"
  29043. },
  29044. "zscategory": {
  29045. "description": "钻石分类 - 枚举”ZSCategory“",
  29046. "type": "integer"
  29047. },
  29048. "zscategorydisplay": {
  29049. "type": "string"
  29050. },
  29051. "zscerttype": {
  29052. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  29053. "type": "integer"
  29054. },
  29055. "zscerttypedisplay": {
  29056. "type": "string"
  29057. },
  29058. "zsclaritytype1": {
  29059. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  29060. "type": "integer"
  29061. },
  29062. "zsclaritytype1display": {
  29063. "type": "string"
  29064. },
  29065. "zsclaritytype2": {
  29066. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  29067. "type": "integer"
  29068. },
  29069. "zsclaritytype2display": {
  29070. "type": "string"
  29071. },
  29072. "zscolortype1": {
  29073. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  29074. "type": "integer"
  29075. },
  29076. "zscolortype1display": {
  29077. "type": "string"
  29078. },
  29079. "zscolortype2": {
  29080. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  29081. "type": "integer"
  29082. },
  29083. "zscolortype2display": {
  29084. "type": "string"
  29085. },
  29086. "zscrystaltype": {
  29087. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  29088. "type": "string"
  29089. },
  29090. "zscrystaltypedisplay": {
  29091. "type": "string"
  29092. },
  29093. "zscurrencytype": {
  29094. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29095. "type": "integer"
  29096. },
  29097. "zscurrencytypedisplay": {
  29098. "type": "string"
  29099. },
  29100. "zscurrencytypedisplayunit": {
  29101. "type": "string"
  29102. },
  29103. "zscuttype1": {
  29104. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  29105. "type": "integer"
  29106. },
  29107. "zscuttype1display": {
  29108. "type": "string"
  29109. },
  29110. "zscuttype2": {
  29111. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  29112. "type": "integer"
  29113. },
  29114. "zscuttype2display": {
  29115. "type": "string"
  29116. },
  29117. "zsczcolor1type": {
  29118. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  29119. "type": "integer"
  29120. },
  29121. "zsczcolor1typedisplay": {
  29122. "type": "string"
  29123. },
  29124. "zsczcolor2type": {
  29125. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  29126. "type": "integer"
  29127. },
  29128. "zsczcolor2typedisplay": {
  29129. "type": "string"
  29130. },
  29131. "zsczcolor3type": {
  29132. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  29133. "type": "integer"
  29134. },
  29135. "zsczcolor3typedisplay": {
  29136. "type": "string"
  29137. },
  29138. "zsfluorescencetype1": {
  29139. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  29140. "type": "integer"
  29141. },
  29142. "zsfluorescencetype1display": {
  29143. "type": "string"
  29144. },
  29145. "zsfluorescencetype2": {
  29146. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  29147. "type": "integer"
  29148. },
  29149. "zsfluorescencetype2display": {
  29150. "type": "string"
  29151. },
  29152. "zspolishtype1": {
  29153. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  29154. "type": "integer"
  29155. },
  29156. "zspolishtype1display": {
  29157. "type": "string"
  29158. },
  29159. "zspolishtype2": {
  29160. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  29161. "type": "integer"
  29162. },
  29163. "zspolishtype2display": {
  29164. "type": "string"
  29165. },
  29166. "zsshapetype": {
  29167. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  29168. "type": "string"
  29169. },
  29170. "zsshapetypedisplay": {
  29171. "type": "string"
  29172. },
  29173. "zsstyletype": {
  29174. "description": "款式 - 类型:4",
  29175. "type": "integer"
  29176. },
  29177. "zsstyletypedisplay": {
  29178. "type": "string"
  29179. },
  29180. "zssymmetrytype1": {
  29181. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  29182. "type": "integer"
  29183. },
  29184. "zssymmetrytype1display": {
  29185. "type": "string"
  29186. },
  29187. "zssymmetrytype2": {
  29188. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  29189. "type": "integer"
  29190. },
  29191. "zssymmetrytype2display": {
  29192. "type": "string"
  29193. }
  29194. }
  29195. },
  29196. "models.GZWarehouseinfo": {
  29197. "type": "object",
  29198. "properties": {
  29199. "address": {
  29200. "description": "详细地址",
  29201. "type": "string"
  29202. },
  29203. "areauserid": {
  29204. "description": "所属机构",
  29205. "type": "integer"
  29206. },
  29207. "autoid": {
  29208. "description": "自增ID",
  29209. "type": "integer"
  29210. },
  29211. "cityid": {
  29212. "description": "市",
  29213. "type": "integer"
  29214. },
  29215. "contactname": {
  29216. "description": "联系人",
  29217. "type": "string"
  29218. },
  29219. "contactnum": {
  29220. "description": "联系电话",
  29221. "type": "string"
  29222. },
  29223. "countryid": {
  29224. "description": "国家",
  29225. "type": "integer"
  29226. },
  29227. "createtime": {
  29228. "description": "创建时间",
  29229. "type": "string"
  29230. },
  29231. "districtid": {
  29232. "description": "区",
  29233. "type": "integer"
  29234. },
  29235. "hasvideo": {
  29236. "description": "是否有视频 - 0:无 1:有",
  29237. "type": "integer"
  29238. },
  29239. "provinceid": {
  29240. "description": "省",
  29241. "type": "integer"
  29242. },
  29243. "remark": {
  29244. "description": "审核备注",
  29245. "type": "string"
  29246. },
  29247. "videourl": {
  29248. "description": "视频地址",
  29249. "type": "string"
  29250. },
  29251. "warehousecode": {
  29252. "description": "仓库代码",
  29253. "type": "string"
  29254. },
  29255. "warehousename": {
  29256. "description": "仓库名称",
  29257. "type": "string"
  29258. },
  29259. "warehousestatus": {
  29260. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29261. "type": "integer"
  29262. },
  29263. "warehousetype": {
  29264. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29265. "type": "integer"
  29266. }
  29267. }
  29268. },
  29269. "models.Goods": {
  29270. "type": "object",
  29271. "required": [
  29272. "goodscode",
  29273. "goodsid",
  29274. "goodsname",
  29275. "marketid"
  29276. ],
  29277. "properties": {
  29278. "agreeunit": {
  29279. "description": "合约单位",
  29280. "type": "number"
  29281. },
  29282. "areauserid": {
  29283. "description": "所属机构",
  29284. "type": "integer"
  29285. },
  29286. "auditaccountid": {
  29287. "description": "审核操作员账号",
  29288. "type": "integer"
  29289. },
  29290. "audittime": {
  29291. "description": "审核时间",
  29292. "type": "string"
  29293. },
  29294. "cancelaccountid": {
  29295. "description": "注销操作员账号",
  29296. "type": "integer"
  29297. },
  29298. "canceltime": {
  29299. "description": "注销时间",
  29300. "type": "string"
  29301. },
  29302. "closepricemode": {
  29303. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29304. "type": "integer"
  29305. },
  29306. "closepriceparam": {
  29307. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  29308. "type": "number"
  29309. },
  29310. "createtime": {
  29311. "description": "创建时间",
  29312. "type": "string"
  29313. },
  29314. "creatorid": {
  29315. "description": "创建人",
  29316. "type": "integer"
  29317. },
  29318. "currencyid": {
  29319. "description": "报价货币ID",
  29320. "type": "integer"
  29321. },
  29322. "cutmode": {
  29323. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  29324. "type": "integer"
  29325. },
  29326. "decimalplace": {
  29327. "description": "报价小数位",
  29328. "type": "integer"
  29329. },
  29330. "delistingdate": {
  29331. "description": "商品退市时间(状态:退市) -- 已作废",
  29332. "type": "string"
  29333. },
  29334. "delistingmode": {
  29335. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  29336. "type": "integer"
  29337. },
  29338. "deliveryflag": {
  29339. "description": "交割标志 - 0:不可交割 1:可交割",
  29340. "type": "integer"
  29341. },
  29342. "forceclosemode": {
  29343. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  29344. "type": "integer"
  29345. },
  29346. "forceclosevalue": {
  29347. "description": "定期强平参数 [收益权]",
  29348. "type": "integer"
  29349. },
  29350. "goodscode": {
  29351. "description": "商品代码(内部)",
  29352. "type": "string"
  29353. },
  29354. "goodscurrencyid": {
  29355. "description": "合约货币ID",
  29356. "type": "integer"
  29357. },
  29358. "goodsgroupid": {
  29359. "description": "所属商品组ID",
  29360. "type": "integer"
  29361. },
  29362. "goodsid": {
  29363. "description": "商品ID(自增ID SEQ_GOODS)",
  29364. "type": "integer"
  29365. },
  29366. "goodsname": {
  29367. "description": "商品名称",
  29368. "type": "string"
  29369. },
  29370. "goodsquotetype": {
  29371. "description": "合约报价类型: 1-直接报价 2-间接报价",
  29372. "type": "integer"
  29373. },
  29374. "goodsstatus": {
  29375. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29376. "type": "integer"
  29377. },
  29378. "goodstradetype": {
  29379. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  29380. "type": "integer"
  29381. },
  29382. "goodunitid": {
  29383. "description": "报价单位ID",
  29384. "type": "integer"
  29385. },
  29386. "hasquoter": {
  29387. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  29388. "type": "integer"
  29389. },
  29390. "hqprotecttime": {
  29391. "description": "行情保护时间(秒)",
  29392. "type": "integer"
  29393. },
  29394. "innerdealmode": {
  29395. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29396. "type": "integer"
  29397. },
  29398. "isbuylimited": {
  29399. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29400. "type": "integer"
  29401. },
  29402. "isvisible": {
  29403. "description": "游客是否可见 - 0:不可见 1:可见",
  29404. "type": "integer"
  29405. },
  29406. "lasttradedate": {
  29407. "description": "最后交易日期(状态:待退市)",
  29408. "type": "string"
  29409. },
  29410. "listingdate": {
  29411. "description": "交易开始日期",
  29412. "type": "string"
  29413. },
  29414. "marketid": {
  29415. "description": "所属市场ID",
  29416. "type": "integer"
  29417. },
  29418. "modifierid": {
  29419. "description": "修改人",
  29420. "type": "integer"
  29421. },
  29422. "modifystatus": {
  29423. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  29424. "type": "integer"
  29425. },
  29426. "modifytime": {
  29427. "description": "修改时间",
  29428. "type": "string"
  29429. },
  29430. "outerdealmode": {
  29431. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29432. "type": "integer"
  29433. },
  29434. "outgoodscode": {
  29435. "description": "商品代码(外部)",
  29436. "type": "string"
  29437. },
  29438. "pictureurl": {
  29439. "description": "商品图片",
  29440. "type": "string"
  29441. },
  29442. "qtydecimalplace": {
  29443. "description": "成交量小数位",
  29444. "type": "integer"
  29445. },
  29446. "quotegear": {
  29447. "description": "行情档位(1-10)",
  29448. "type": "integer"
  29449. },
  29450. "quoteminunit": {
  29451. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29452. "type": "integer"
  29453. },
  29454. "quoteshowtype": {
  29455. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  29456. "type": "integer"
  29457. },
  29458. "quoteshowtypeinterval": {
  29459. "description": "行情报价间隔时间(秒)(成交价时为0)",
  29460. "type": "integer"
  29461. },
  29462. "remark": {
  29463. "description": "备注",
  29464. "type": "string"
  29465. }
  29466. }
  29467. },
  29468. "models.GoodsIDAndName": {
  29469. "type": "object",
  29470. "required": [
  29471. "goodscode",
  29472. "goodsid",
  29473. "goodsname",
  29474. "marketid"
  29475. ],
  29476. "properties": {
  29477. "goodscode": {
  29478. "description": "商品代码(内部)",
  29479. "type": "string"
  29480. },
  29481. "goodsid": {
  29482. "description": "商品ID(自增ID SEQ_GOODS)",
  29483. "type": "integer"
  29484. },
  29485. "goodsname": {
  29486. "description": "商品名称",
  29487. "type": "string"
  29488. },
  29489. "marketid": {
  29490. "description": "所属市场ID",
  29491. "type": "integer"
  29492. }
  29493. }
  29494. },
  29495. "models.Goodsgroup": {
  29496. "type": "object",
  29497. "required": [
  29498. "goodsgroupid",
  29499. "goodsgroupname",
  29500. "goodsgroupstatus",
  29501. "marketid"
  29502. ],
  29503. "properties": {
  29504. "agreeunit": {
  29505. "description": "合约单位",
  29506. "type": "number"
  29507. },
  29508. "canshort": {
  29509. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  29510. "type": "integer"
  29511. },
  29512. "closepricemode": {
  29513. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29514. "type": "integer"
  29515. },
  29516. "closepriceparam": {
  29517. "description": "强平最新价浮动比例 - 方式为2时使用",
  29518. "type": "number"
  29519. },
  29520. "createtime": {
  29521. "description": "创建时间",
  29522. "type": "string"
  29523. },
  29524. "creatorid": {
  29525. "description": "创建人",
  29526. "type": "integer"
  29527. },
  29528. "currencyid": {
  29529. "description": "报价货币ID",
  29530. "type": "integer"
  29531. },
  29532. "decimalplace": {
  29533. "description": "报价小数位",
  29534. "type": "integer"
  29535. },
  29536. "exercisetype": {
  29537. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  29538. "type": "integer"
  29539. },
  29540. "exexchangeid": {
  29541. "description": "外部交易所ID[通道交易]",
  29542. "type": "integer"
  29543. },
  29544. "goodsgroupid": {
  29545. "description": "商品组ID(自增ID)",
  29546. "type": "integer"
  29547. },
  29548. "goodsgroupname": {
  29549. "description": "商品组名称",
  29550. "type": "string"
  29551. },
  29552. "goodsgroupstatus": {
  29553. "description": "商品组状态 - 1:正常 2:注销",
  29554. "type": "integer"
  29555. },
  29556. "goodunitid": {
  29557. "description": "报价单位ID",
  29558. "type": "integer"
  29559. },
  29560. "innerdealmode": {
  29561. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29562. "type": "integer"
  29563. },
  29564. "isbuylimited": {
  29565. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29566. "type": "integer"
  29567. },
  29568. "marketid": {
  29569. "description": "所属市场ID",
  29570. "type": "integer"
  29571. },
  29572. "modifierid": {
  29573. "description": "修改人",
  29574. "type": "integer"
  29575. },
  29576. "modifytime": {
  29577. "description": "修改时间",
  29578. "type": "string"
  29579. },
  29580. "outerdealmode": {
  29581. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29582. "type": "integer"
  29583. },
  29584. "outergroupcode": {
  29585. "description": "外部商品组代码[通道交易]",
  29586. "type": "string"
  29587. },
  29588. "premiumdecimalplace": {
  29589. "description": "权利金小数位[场外期权]",
  29590. "type": "integer"
  29591. },
  29592. "premiumspreadalgorithm": {
  29593. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  29594. "type": "integer"
  29595. },
  29596. "premiumspreadvalue": {
  29597. "description": "权利金点差值[场外期权]",
  29598. "type": "number"
  29599. },
  29600. "qtydecimalplace": {
  29601. "description": "成交量小数位",
  29602. "type": "integer"
  29603. },
  29604. "quotegear": {
  29605. "description": "行情档位(1-10)",
  29606. "type": "integer"
  29607. },
  29608. "quoteminunit": {
  29609. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29610. "type": "integer"
  29611. },
  29612. "quoterid": {
  29613. "description": "报价商ID[场外期权]",
  29614. "type": "integer"
  29615. },
  29616. "quotesourcegroupid": {
  29617. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  29618. "type": "integer"
  29619. },
  29620. "syncgoodsqty": {
  29621. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  29622. "type": "integer"
  29623. }
  29624. }
  29625. },
  29626. "models.Goodssortbypreposition": {
  29627. "type": "object",
  29628. "required": [
  29629. "goodscode",
  29630. "tradedate"
  29631. ],
  29632. "properties": {
  29633. "goodscode": {
  29634. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  29635. "type": "string"
  29636. },
  29637. "goodsgroupcode": {
  29638. "description": "品种代码",
  29639. "type": "string"
  29640. },
  29641. "prepositionqty": {
  29642. "description": "昨持仓量",
  29643. "type": "integer"
  29644. },
  29645. "sortindex": {
  29646. "description": "排序",
  29647. "type": "integer"
  29648. },
  29649. "tradedate": {
  29650. "description": "交易日",
  29651. "type": "string"
  29652. },
  29653. "updatetime": {
  29654. "description": "更新时间",
  29655. "type": "string"
  29656. }
  29657. }
  29658. },
  29659. "models.Hedgeinnerholderdetail": {
  29660. "type": "object",
  29661. "required": [
  29662. "buyorsell",
  29663. "tradeid"
  29664. ],
  29665. "properties": {
  29666. "accountid": {
  29667. "description": "账号ID",
  29668. "type": "integer"
  29669. },
  29670. "buyorsell": {
  29671. "description": "方向 - 0:买 1:卖",
  29672. "type": "integer"
  29673. },
  29674. "freezeqty": {
  29675. "description": "冻结数量 - 按单平使用",
  29676. "type": "integer"
  29677. },
  29678. "goodsid": {
  29679. "description": "商品ID",
  29680. "type": "integer"
  29681. },
  29682. "holderamount": {
  29683. "description": "持仓金额 [商品币种]",
  29684. "type": "number"
  29685. },
  29686. "holderdays": {
  29687. "description": "剩余冻结天数",
  29688. "type": "integer"
  29689. },
  29690. "holderprice": {
  29691. "description": "持仓价格",
  29692. "type": "number"
  29693. },
  29694. "holderqty": {
  29695. "description": "持仓数量",
  29696. "type": "integer"
  29697. },
  29698. "marketid": {
  29699. "description": "市场ID",
  29700. "type": "integer"
  29701. },
  29702. "openprice": {
  29703. "description": "建仓价格",
  29704. "type": "number"
  29705. },
  29706. "openqty": {
  29707. "description": "建仓数量",
  29708. "type": "integer"
  29709. },
  29710. "parentaccountid": {
  29711. "description": "所属母账户",
  29712. "type": "integer"
  29713. },
  29714. "releaseamount": {
  29715. "description": "释放持仓金额[商品币种]",
  29716. "type": "number"
  29717. },
  29718. "tradeamount": {
  29719. "description": "成交金额[账户]",
  29720. "type": "number"
  29721. },
  29722. "tradedate": {
  29723. "description": "交易日(yyyyMMdd)",
  29724. "type": "string"
  29725. },
  29726. "tradeid": {
  29727. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29728. "type": "string"
  29729. },
  29730. "tradetime": {
  29731. "description": "交易时间",
  29732. "type": "string"
  29733. }
  29734. }
  29735. },
  29736. "models.Hedgemarketopenlog": {
  29737. "type": "object",
  29738. "required": [
  29739. "accountid"
  29740. ],
  29741. "properties": {
  29742. "accountid": {
  29743. "description": "资金账号[外部母账户]",
  29744. "type": "integer"
  29745. },
  29746. "fcname": {
  29747. "description": "期货公司名称",
  29748. "type": "string"
  29749. },
  29750. "handlestatus": {
  29751. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  29752. "type": "integer"
  29753. },
  29754. "marketid": {
  29755. "description": "市场ID",
  29756. "type": "integer"
  29757. },
  29758. "status": {
  29759. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  29760. "type": "integer"
  29761. },
  29762. "tradedate": {
  29763. "description": "交易日(yyyyMMdd)",
  29764. "type": "string"
  29765. },
  29766. "updatetime": {
  29767. "description": "更新时间",
  29768. "type": "string"
  29769. }
  29770. }
  29771. },
  29772. "models.InternalEnableTradeDetail": {
  29773. "type": "object",
  29774. "required": [
  29775. "areauserid",
  29776. "goodsid",
  29777. "tradeuserid"
  29778. ],
  29779. "properties": {
  29780. "agreeunit": {
  29781. "description": "合约乘数",
  29782. "type": "number"
  29783. },
  29784. "areauserid": {
  29785. "description": "企业ID",
  29786. "type": "integer"
  29787. },
  29788. "convertratio": {
  29789. "description": "品种系数",
  29790. "type": "number"
  29791. },
  29792. "deliverygoodscode": {
  29793. "description": "现货品种代码",
  29794. "type": "string"
  29795. },
  29796. "deliverygoodsid": {
  29797. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  29798. "type": "integer"
  29799. },
  29800. "deliverygoodsname": {
  29801. "description": "现货品种名称",
  29802. "type": "string"
  29803. },
  29804. "futurehedgeqty": {
  29805. "description": "[已关联数量]期货持仓套期量",
  29806. "type": "number"
  29807. },
  29808. "goodsid": {
  29809. "description": "期货合约ID",
  29810. "type": "integer"
  29811. },
  29812. "hedgeditemid": {
  29813. "description": "被套期项目ID",
  29814. "type": "string"
  29815. },
  29816. "hedgeditemnum": {
  29817. "description": "项目编号",
  29818. "type": "string"
  29819. },
  29820. "tradeuserid": {
  29821. "description": "交易用户ID",
  29822. "type": "integer"
  29823. },
  29824. "unexehedgeqty": {
  29825. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  29826. "type": "number"
  29827. },
  29828. "unexespotqty": {
  29829. "description": "未执行现货量",
  29830. "type": "number"
  29831. },
  29832. "wrstandardcode": {
  29833. "description": "现货品类代码",
  29834. "type": "string"
  29835. },
  29836. "wrstandardid": {
  29837. "description": "现货品类ID(SEQ_WRSTANDARD)",
  29838. "type": "integer"
  29839. },
  29840. "wrstandardname": {
  29841. "description": "现货品类名称",
  29842. "type": "string"
  29843. }
  29844. }
  29845. },
  29846. "models.InternalUncorrelatedTradeDetail": {
  29847. "type": "object",
  29848. "properties": {
  29849. "accountid": {
  29850. "description": "账号ID",
  29851. "type": "integer"
  29852. },
  29853. "accountname": {
  29854. "description": "套期主体",
  29855. "type": "string"
  29856. },
  29857. "agreeunit": {
  29858. "description": "合约乘数",
  29859. "type": "number"
  29860. },
  29861. "areauserid": {
  29862. "description": "所属机构",
  29863. "type": "integer"
  29864. },
  29865. "bizsubjectid": {
  29866. "description": "归属业务部门ID - SubjectID",
  29867. "type": "integer"
  29868. },
  29869. "buyorsell": {
  29870. "description": "方向 - 0:买 1:卖",
  29871. "type": "integer"
  29872. },
  29873. "channelbuildtype": {
  29874. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29875. "type": "integer"
  29876. },
  29877. "convertratio": {
  29878. "description": "品种系数",
  29879. "type": "number"
  29880. },
  29881. "createtime": {
  29882. "description": "创建时间",
  29883. "type": "string"
  29884. },
  29885. "creatorid": {
  29886. "description": "创建人ID",
  29887. "type": "integer"
  29888. },
  29889. "creatorsrc": {
  29890. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  29891. "type": "integer"
  29892. },
  29893. "enableqty": {
  29894. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  29895. "type": "number"
  29896. },
  29897. "enumdicname": {
  29898. "description": "单位",
  29899. "type": "string"
  29900. },
  29901. "goodscode": {
  29902. "description": "合约代码",
  29903. "type": "string"
  29904. },
  29905. "goodsgroupid": {
  29906. "description": "对冲品种ID[期货合约商品组ID]",
  29907. "type": "integer"
  29908. },
  29909. "goodsid": {
  29910. "description": "商品ID",
  29911. "type": "integer"
  29912. },
  29913. "goodsname": {
  29914. "description": "合约名称",
  29915. "type": "string"
  29916. },
  29917. "hedgeditemid": {
  29918. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29919. "type": "integer"
  29920. },
  29921. "hedgeflag": {
  29922. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29923. "type": "integer"
  29924. },
  29925. "linkdetailid": {
  29926. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29927. "type": "string"
  29928. },
  29929. "linkstatus": {
  29930. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29931. "type": "integer"
  29932. },
  29933. "middlegoodsid": {
  29934. "description": "套保品种ID",
  29935. "type": "integer"
  29936. },
  29937. "middlegoodsqty": {
  29938. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  29939. "type": "number"
  29940. },
  29941. "relatedlot": {
  29942. "description": "[数量]关联手数",
  29943. "type": "number"
  29944. },
  29945. "relatedmode": {
  29946. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29947. "type": "integer"
  29948. },
  29949. "relatedqty": {
  29950. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29951. "type": "number"
  29952. },
  29953. "retcode": {
  29954. "description": "返回码",
  29955. "type": "integer"
  29956. },
  29957. "saleuserid": {
  29958. "description": "业务员ID",
  29959. "type": "integer"
  29960. },
  29961. "tradedate": {
  29962. "description": "关联交易日(yyyyMMdd)",
  29963. "type": "string"
  29964. },
  29965. "tradeid": {
  29966. "description": "成交单号",
  29967. "type": "string"
  29968. },
  29969. "tradelot": {
  29970. "description": "成交手数",
  29971. "type": "integer"
  29972. },
  29973. "tradeprice": {
  29974. "description": "成交价",
  29975. "type": "number"
  29976. },
  29977. "tradetime": {
  29978. "description": "成交时间",
  29979. "type": "string"
  29980. },
  29981. "tradetradedate": {
  29982. "description": "成交交易日(yyyyMMdd)",
  29983. "type": "string"
  29984. },
  29985. "tradeuserid": {
  29986. "description": "交易用户ID",
  29987. "type": "integer"
  29988. }
  29989. }
  29990. },
  29991. "models.Loginaccount": {
  29992. "type": "object",
  29993. "required": [
  29994. "loginid"
  29995. ],
  29996. "properties": {
  29997. "accountname": {
  29998. "description": "账户名称",
  29999. "type": "string"
  30000. },
  30001. "canoutin": {
  30002. "description": "是否可出入金 - 0:不可 1:可",
  30003. "type": "integer"
  30004. },
  30005. "clientroleid": {
  30006. "description": "终端角色ID",
  30007. "type": "integer"
  30008. },
  30009. "haslogined": {
  30010. "description": "是否已登录 - 0:未登录 1:已登录",
  30011. "type": "integer"
  30012. },
  30013. "hasupdatedpwd": {
  30014. "description": "是否已更改密码 - 0:未修改 1:已修改",
  30015. "type": "integer"
  30016. },
  30017. "lastloginip": {
  30018. "description": "最新登录地址",
  30019. "type": "string"
  30020. },
  30021. "lastloginmode": {
  30022. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30023. "type": "integer"
  30024. },
  30025. "lastloginremark": {
  30026. "description": "最新登录描述",
  30027. "type": "string"
  30028. },
  30029. "lastlogintime": {
  30030. "description": "最新登录时间",
  30031. "type": "string"
  30032. },
  30033. "logincode": {
  30034. "description": "登录代码",
  30035. "type": "string"
  30036. },
  30037. "loginfailnum": {
  30038. "description": "连续登录失败次数(登录成功时清零)",
  30039. "type": "integer"
  30040. },
  30041. "loginid": {
  30042. "description": "登陆账号",
  30043. "type": "integer"
  30044. },
  30045. "loginport": {
  30046. "description": "最新登录端口",
  30047. "type": "integer"
  30048. },
  30049. "loginstatus": {
  30050. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  30051. "type": "integer"
  30052. },
  30053. "loginusertype": {
  30054. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  30055. "type": "integer"
  30056. },
  30057. "mobile": {
  30058. "description": "手机号码(加密存储)",
  30059. "type": "string"
  30060. },
  30061. "modifierid": {
  30062. "description": "修改人",
  30063. "type": "integer"
  30064. },
  30065. "modifysrc": {
  30066. "description": "审核来源 - 1:管理端 2:终端",
  30067. "type": "integer"
  30068. },
  30069. "modifytime": {
  30070. "description": "修改时间",
  30071. "type": "string"
  30072. },
  30073. "pwdwrongcount": {
  30074. "description": "密码错误次数",
  30075. "type": "integer"
  30076. },
  30077. "relateduserid": {
  30078. "description": "关联用户ID(机构)",
  30079. "type": "integer"
  30080. },
  30081. "taaccountrighttype": {
  30082. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  30083. "type": "integer"
  30084. },
  30085. "unfreezetime": {
  30086. "description": "账户解冻时间",
  30087. "type": "string"
  30088. },
  30089. "userid": {
  30090. "description": "用户ID",
  30091. "type": "integer"
  30092. }
  30093. }
  30094. },
  30095. "models.MainAccountInfo": {
  30096. "type": "object",
  30097. "properties": {
  30098. "accountid": {
  30099. "description": "账号id",
  30100. "type": "integer"
  30101. },
  30102. "accountname": {
  30103. "description": "账号名称(taaccount表中的名称)",
  30104. "type": "string"
  30105. },
  30106. "appid": {
  30107. "description": "AppID",
  30108. "type": "string"
  30109. },
  30110. "authcode": {
  30111. "description": "授权码",
  30112. "type": "string"
  30113. },
  30114. "brokerid": {
  30115. "description": "经纪商id",
  30116. "type": "string"
  30117. },
  30118. "fcid": {
  30119. "description": "期货公司id",
  30120. "type": "integer"
  30121. },
  30122. "fcname": {
  30123. "description": "期货公司代码",
  30124. "type": "string"
  30125. },
  30126. "hedgeaccountcode": {
  30127. "description": "外部账号代码(主账号登录代码)",
  30128. "type": "string"
  30129. },
  30130. "hedgeaccountpwd": {
  30131. "description": "密码",
  30132. "type": "string"
  30133. },
  30134. "ismain": {
  30135. "description": "是否主账号",
  30136. "type": "integer"
  30137. },
  30138. "relateduserid": {
  30139. "description": "关联用户id",
  30140. "type": "integer"
  30141. },
  30142. "userid": {
  30143. "description": "关联用户id",
  30144. "type": "integer"
  30145. }
  30146. }
  30147. },
  30148. "models.Market": {
  30149. "type": "object",
  30150. "required": [
  30151. "marketid",
  30152. "marketstatus",
  30153. "openmethod",
  30154. "reckonpricealgorithm",
  30155. "trademode",
  30156. "tradeproperty"
  30157. ],
  30158. "properties": {
  30159. "auctionwrtype": {
  30160. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  30161. "type": "integer"
  30162. },
  30163. "canacceptquote": {
  30164. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  30165. "type": "integer"
  30166. },
  30167. "cangoodsexercise": {
  30168. "description": "[期权]是否可现货行权- 0:否 1:是",
  30169. "type": "integer"
  30170. },
  30171. "cangoodsexercisetype": {
  30172. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  30173. "type": "integer"
  30174. },
  30175. "canmanualquotestrike": {
  30176. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  30177. "type": "integer"
  30178. },
  30179. "canmutistage": {
  30180. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  30181. "type": "integer"
  30182. },
  30183. "canpreexercise": {
  30184. "description": "[期权]是否可预申报- 0:否 1:是",
  30185. "type": "integer"
  30186. },
  30187. "clearinterval": {
  30188. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  30189. "type": "integer"
  30190. },
  30191. "contracttmp": {
  30192. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  30193. "type": "string"
  30194. },
  30195. "exchareaid": {
  30196. "description": "所属交易所,可以没有",
  30197. "type": "integer"
  30198. },
  30199. "goodstype": {
  30200. "description": "商品类型 - 1:交易商品 2:仓单商品",
  30201. "type": "integer"
  30202. },
  30203. "hasrebate": {
  30204. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  30205. "type": "integer"
  30206. },
  30207. "hastradecredit": {
  30208. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  30209. "type": "integer"
  30210. },
  30211. "haswr": {
  30212. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  30213. "type": "integer"
  30214. },
  30215. "isdeductmargin": {
  30216. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  30217. "type": "integer"
  30218. },
  30219. "isrecordsource": {
  30220. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  30221. "type": "integer"
  30222. },
  30223. "isreleasemargin": {
  30224. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  30225. "type": "integer"
  30226. },
  30227. "marginformula": {
  30228. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30229. "type": "integer"
  30230. },
  30231. "marginformula2": {
  30232. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30233. "type": "integer"
  30234. },
  30235. "marketid": {
  30236. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30237. "type": "integer"
  30238. },
  30239. "marketname": {
  30240. "description": "市场名称",
  30241. "type": "string"
  30242. },
  30243. "marketserviceid": {
  30244. "description": "市场服务ID",
  30245. "type": "integer"
  30246. },
  30247. "marketstatus": {
  30248. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30249. "type": "integer"
  30250. },
  30251. "markettype": {
  30252. "description": "市场类型- 1:非交易服务 2:交易服务",
  30253. "type": "integer"
  30254. },
  30255. "matchermode": {
  30256. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  30257. "type": "integer"
  30258. },
  30259. "openmethod": {
  30260. "description": "开盘模式 - 0 自动 1手动",
  30261. "type": "integer"
  30262. },
  30263. "otcuserid": {
  30264. "description": "场外期权做市商[场外期权]",
  30265. "type": "integer"
  30266. },
  30267. "outersynctime": {
  30268. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  30269. "type": "string"
  30270. },
  30271. "pendingflag": {
  30272. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  30273. "type": "integer"
  30274. },
  30275. "pendingtime": {
  30276. "description": "待开市时间[通道交易-对冲](HH:mm)",
  30277. "type": "string"
  30278. },
  30279. "performancetempid": {
  30280. "description": "履约计划模板ID - 作废",
  30281. "type": "integer"
  30282. },
  30283. "premiumquotemode": {
  30284. "description": "权利金报价方式 - 1:自动 2:手动",
  30285. "type": "integer"
  30286. },
  30287. "rebateratio": {
  30288. "description": "返利比率[竞价式]",
  30289. "type": "number"
  30290. },
  30291. "reckonorder": {
  30292. "description": "结算顺序",
  30293. "type": "integer"
  30294. },
  30295. "reckonpricealgorithm": {
  30296. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  30297. "type": "integer"
  30298. },
  30299. "reckonpriceparam": {
  30300. "description": "结算价参数",
  30301. "type": "integer"
  30302. },
  30303. "reckontime": {
  30304. "description": "结算时间[通道交易-对冲](HH:mm)",
  30305. "type": "string"
  30306. },
  30307. "roleprioritytype": {
  30308. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  30309. "type": "integer"
  30310. },
  30311. "selllistingauditflag": {
  30312. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  30313. "type": "integer"
  30314. },
  30315. "trademarkettype": {
  30316. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  30317. "type": "integer"
  30318. },
  30319. "trademode": {
  30320. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30321. "type": "integer"
  30322. },
  30323. "tradeproperty": {
  30324. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  30325. "type": "integer"
  30326. },
  30327. "tradetype": {
  30328. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  30329. "type": "integer"
  30330. }
  30331. }
  30332. },
  30333. "models.Marketcalendar": {
  30334. "type": "object",
  30335. "properties": {
  30336. "holidaydate": {
  30337. "description": "节假日期(yyyy-MM-dd)",
  30338. "type": "string"
  30339. },
  30340. "marketid": {
  30341. "description": "市场ID",
  30342. "type": "integer"
  30343. }
  30344. }
  30345. },
  30346. "models.Marketrun": {
  30347. "type": "object",
  30348. "required": [
  30349. "marketid",
  30350. "nexttradedate",
  30351. "reckonflag",
  30352. "runstatus",
  30353. "tradedate",
  30354. "tradedate2"
  30355. ],
  30356. "properties": {
  30357. "afternexttradedate": {
  30358. "description": "下下交易日",
  30359. "type": "string"
  30360. },
  30361. "clearquoteflag": {
  30362. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  30363. "type": "integer"
  30364. },
  30365. "lastreckondate": {
  30366. "description": "最新交易日(结算成功)",
  30367. "type": "string"
  30368. },
  30369. "machinedate": {
  30370. "description": "机器时间",
  30371. "type": "string"
  30372. },
  30373. "manualflag": {
  30374. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  30375. "type": "integer"
  30376. },
  30377. "marketid": {
  30378. "description": "市场ID",
  30379. "type": "integer"
  30380. },
  30381. "nexttradedate": {
  30382. "description": "下一交易日",
  30383. "type": "string"
  30384. },
  30385. "pretradedate": {
  30386. "description": "上一交易日",
  30387. "type": "string"
  30388. },
  30389. "reckonflag": {
  30390. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  30391. "type": "integer"
  30392. },
  30393. "runstatus": {
  30394. "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.今日免清算",
  30395. "type": "integer"
  30396. },
  30397. "sectionid": {
  30398. "description": "时间段号[多时段时用]",
  30399. "type": "integer"
  30400. },
  30401. "tradedate": {
  30402. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  30403. "type": "string"
  30404. },
  30405. "tradedate2": {
  30406. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  30407. "type": "string"
  30408. },
  30409. "updatetime": {
  30410. "description": "更新时间",
  30411. "type": "string"
  30412. }
  30413. }
  30414. },
  30415. "models.Messageboard": {
  30416. "type": "object",
  30417. "required": [
  30418. "messageboardid"
  30419. ],
  30420. "properties": {
  30421. "contactnum": {
  30422. "description": "联系电话",
  30423. "type": "string"
  30424. },
  30425. "createtime": {
  30426. "description": "创建时间",
  30427. "type": "string"
  30428. },
  30429. "message": {
  30430. "description": "留言信息",
  30431. "type": "string"
  30432. },
  30433. "messageboardid": {
  30434. "description": "留言簿ID(SEQ_MessageBoard)",
  30435. "type": "integer"
  30436. },
  30437. "userid": {
  30438. "description": "用户ID",
  30439. "type": "integer"
  30440. }
  30441. }
  30442. },
  30443. "models.MyBargainApply": {
  30444. "type": "object",
  30445. "required": [
  30446. "userid"
  30447. ],
  30448. "properties": {
  30449. "accountid": {
  30450. "description": "摘牌资金账号",
  30451. "type": "integer"
  30452. },
  30453. "applyprice": {
  30454. "description": "申请价格",
  30455. "type": "string"
  30456. },
  30457. "applyremark": {
  30458. "description": "申请备注",
  30459. "type": "string"
  30460. },
  30461. "applystatus": {
  30462. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  30463. "type": "integer"
  30464. },
  30465. "applytime": {
  30466. "description": "申请时间",
  30467. "type": "string"
  30468. },
  30469. "buyorsell": {
  30470. "description": "买卖 - 0:买 1:卖",
  30471. "type": "integer"
  30472. },
  30473. "confirmprice": {
  30474. "description": "可接受价格(拒绝时填写)-作废",
  30475. "type": "number"
  30476. },
  30477. "confirmqty": {
  30478. "description": "可接受数量(拒绝时填写)-作废",
  30479. "type": "integer"
  30480. },
  30481. "confirmremark": {
  30482. "description": "确认备注",
  30483. "type": "string"
  30484. },
  30485. "confirmtime": {
  30486. "description": "确认时间",
  30487. "type": "string"
  30488. },
  30489. "confirmuserid": {
  30490. "description": "确认人",
  30491. "type": "integer"
  30492. },
  30493. "goodsno": {
  30494. "description": "商品编号",
  30495. "type": "string"
  30496. },
  30497. "handlestatus": {
  30498. "description": "处理状态",
  30499. "type": "integer"
  30500. },
  30501. "ladingbillid": {
  30502. "description": "摘牌方提单ID [卖]",
  30503. "type": "integer"
  30504. },
  30505. "marketid": {
  30506. "description": "市场ID",
  30507. "type": "integer"
  30508. },
  30509. "matchaccountid": {
  30510. "description": "挂牌方资金账号",
  30511. "type": "integer"
  30512. },
  30513. "matchuserid": {
  30514. "description": "挂牌方用户ID",
  30515. "type": "integer"
  30516. },
  30517. "performancetemplateid": {
  30518. "description": "履约计划模板ID",
  30519. "type": "integer"
  30520. },
  30521. "price": {
  30522. "description": "价格",
  30523. "type": "number"
  30524. },
  30525. "priceper": {
  30526. "description": "克拉单价 - 类型:1,2,3,5",
  30527. "type": "string"
  30528. },
  30529. "qty": {
  30530. "description": "申请数量",
  30531. "type": "number"
  30532. },
  30533. "refprice": {
  30534. "description": "参考价格",
  30535. "type": "string"
  30536. },
  30537. "retcode": {
  30538. "description": "委托返回代码",
  30539. "type": "integer"
  30540. },
  30541. "sellusername": {
  30542. "description": "卖方",
  30543. "type": "string"
  30544. },
  30545. "sizedisplay": {
  30546. "description": "尺寸",
  30547. "type": "string"
  30548. },
  30549. "subnum": {
  30550. "description": "摘牌方提单子单号 [卖]",
  30551. "type": "integer"
  30552. },
  30553. "tradedate": {
  30554. "description": "交易日(yyyyMMdd)",
  30555. "type": "string"
  30556. },
  30557. "userid": {
  30558. "description": "摘牌人用户ID",
  30559. "type": "integer"
  30560. },
  30561. "warehousenamedisplay": {
  30562. "type": "string"
  30563. },
  30564. "wrbargainid": {
  30565. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  30566. "type": "string"
  30567. },
  30568. "wrtradeorderid": {
  30569. "description": "关联委托单ID",
  30570. "type": "string"
  30571. },
  30572. "zscerttypedisplay": {
  30573. "type": "string"
  30574. },
  30575. "zsclaritytype1display": {
  30576. "type": "string"
  30577. },
  30578. "zsclaritytype2display": {
  30579. "type": "string"
  30580. },
  30581. "zscolortype1display": {
  30582. "type": "string"
  30583. },
  30584. "zscolortype2display": {
  30585. "type": "string"
  30586. },
  30587. "zscrystaltypedisplay": {
  30588. "type": "string"
  30589. },
  30590. "zscurrencytypedisplay": {
  30591. "type": "string"
  30592. },
  30593. "zscurrencytypedisplayunit": {
  30594. "type": "string"
  30595. },
  30596. "zscuttype1display": {
  30597. "type": "string"
  30598. },
  30599. "zscuttype2display": {
  30600. "type": "string"
  30601. },
  30602. "zsczcolor1typedisplay": {
  30603. "type": "string"
  30604. },
  30605. "zsczcolor2typedisplay": {
  30606. "type": "string"
  30607. },
  30608. "zsczcolor3typedisplay": {
  30609. "type": "string"
  30610. },
  30611. "zsfluorescencetype1display": {
  30612. "type": "string"
  30613. },
  30614. "zsfluorescencetype2display": {
  30615. "type": "string"
  30616. },
  30617. "zspolishtype1display": {
  30618. "type": "string"
  30619. },
  30620. "zspolishtype2display": {
  30621. "type": "string"
  30622. },
  30623. "zsshapetypedisplay": {
  30624. "type": "string"
  30625. },
  30626. "zsstyletypedisplay": {
  30627. "type": "string"
  30628. },
  30629. "zssymmetrytype1display": {
  30630. "type": "string"
  30631. },
  30632. "zssymmetrytype2display": {
  30633. "type": "string"
  30634. }
  30635. }
  30636. },
  30637. "models.MyBuyOrder": {
  30638. "type": "object",
  30639. "required": [
  30640. "userid"
  30641. ],
  30642. "properties": {
  30643. "accountid": {
  30644. "description": "资金账户ID",
  30645. "type": "integer"
  30646. },
  30647. "marketid": {
  30648. "description": "市场ID",
  30649. "type": "integer"
  30650. },
  30651. "ordertime": {
  30652. "description": "委托时间",
  30653. "type": "string"
  30654. },
  30655. "origin": {
  30656. "description": "原产地",
  30657. "type": "string"
  30658. },
  30659. "performancetemplateid": {
  30660. "description": "履约计划模板ID",
  30661. "type": "integer"
  30662. },
  30663. "remark": {
  30664. "description": "备注",
  30665. "type": "string"
  30666. },
  30667. "userid": {
  30668. "description": "用户ID",
  30669. "type": "integer"
  30670. },
  30671. "validtime": {
  30672. "description": "有效期限",
  30673. "type": "string"
  30674. },
  30675. "warehouseids": {
  30676. "description": "仓库ID - 多个, 逗号分隔",
  30677. "type": "string"
  30678. },
  30679. "warehouseinfosdisplay": {
  30680. "type": "string"
  30681. },
  30682. "wrtradeorderid": {
  30683. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30684. "type": "string"
  30685. },
  30686. "wrtradeorderstatus": {
  30687. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 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:撤单解冻贷款失败WRTrade_OrderDetail、",
  30688. "type": "integer"
  30689. },
  30690. "zscategory": {
  30691. "description": "钻石分类 - 枚举”ZSCategory“",
  30692. "type": "integer"
  30693. },
  30694. "zscategorydisplay": {
  30695. "type": "string"
  30696. },
  30697. "zsclaritytype": {
  30698. "description": "净度 - 两个, 逗号分隔",
  30699. "type": "string"
  30700. },
  30701. "zsclaritytypedisplay": {
  30702. "type": "string"
  30703. },
  30704. "zscolortype": {
  30705. "description": "颜色 - 两个, 逗号分隔",
  30706. "type": "string"
  30707. },
  30708. "zscolortypedisplay": {
  30709. "type": "string"
  30710. },
  30711. "zscrystaltype": {
  30712. "description": "晶型 - 多个,逗号分隔",
  30713. "type": "string"
  30714. },
  30715. "zscrystaltypedisplay": {
  30716. "type": "string"
  30717. },
  30718. "zscurrencytype": {
  30719. "description": "货币类型 - 多个, 逗号分隔",
  30720. "type": "string"
  30721. },
  30722. "zscurrencytypedisplay": {
  30723. "type": "string"
  30724. },
  30725. "zscuttype": {
  30726. "description": "切工 - 两个, 逗号分隔",
  30727. "type": "string"
  30728. },
  30729. "zscuttypedisplay": {
  30730. "type": "string"
  30731. },
  30732. "zsczcolor1type": {
  30733. "description": "彩钻颜色1, 逗号分隔",
  30734. "type": "string"
  30735. },
  30736. "zsczcolor1typedisplay": {
  30737. "type": "string"
  30738. },
  30739. "zsczcolor2type": {
  30740. "description": "彩钻颜色2, 逗号分隔",
  30741. "type": "string"
  30742. },
  30743. "zsczcolor2typedisplay": {
  30744. "type": "string"
  30745. },
  30746. "zsczcolor3type": {
  30747. "description": "彩钻颜色3, 逗号分隔",
  30748. "type": "string"
  30749. },
  30750. "zsczcolor3typedisplay": {
  30751. "type": "string"
  30752. },
  30753. "zsfluorescencetype": {
  30754. "description": "荧光 - 多个, 逗号分隔",
  30755. "type": "string"
  30756. },
  30757. "zsfluorescencetypedisplay": {
  30758. "type": "string"
  30759. },
  30760. "zspolishtype": {
  30761. "description": "抛光度 - 两个, 逗号分隔",
  30762. "type": "string"
  30763. },
  30764. "zspolishtypedisplay": {
  30765. "type": "string"
  30766. },
  30767. "zsshapetype": {
  30768. "description": "形状 - 多个, 逗号分隔",
  30769. "type": "string"
  30770. },
  30771. "zsshapetypedisplay": {
  30772. "type": "string"
  30773. },
  30774. "zssize": {
  30775. "description": "尺寸 - 两个小数, 逗号分隔",
  30776. "type": "string"
  30777. },
  30778. "zsstyletype": {
  30779. "description": "款式 - 多个, 逗号分隔",
  30780. "type": "string"
  30781. },
  30782. "zsstyletypedisplay": {
  30783. "type": "string"
  30784. },
  30785. "zssymmetrytype": {
  30786. "description": "对称度 - 两个, 逗号分隔",
  30787. "type": "string"
  30788. },
  30789. "zssymmetrytypedisplay": {
  30790. "type": "string"
  30791. },
  30792. "zstabledisplay": {
  30793. "description": "求购信息",
  30794. "type": "string"
  30795. }
  30796. }
  30797. },
  30798. "models.MyDeListing": {
  30799. "type": "object",
  30800. "required": [
  30801. "userid"
  30802. ],
  30803. "properties": {
  30804. "buyaccountid": {
  30805. "description": "买方账号ID",
  30806. "type": "integer"
  30807. },
  30808. "buychargevalue": {
  30809. "description": "买方手续费",
  30810. "type": "number"
  30811. },
  30812. "buyuserid": {
  30813. "description": "买方用户ID",
  30814. "type": "integer"
  30815. },
  30816. "deliverygoodsid": {
  30817. "description": "现货品种ID",
  30818. "type": "integer"
  30819. },
  30820. "exchangerate": {
  30821. "description": "汇率",
  30822. "type": "number"
  30823. },
  30824. "goodsno": {
  30825. "description": "商品编号",
  30826. "type": "string"
  30827. },
  30828. "marketid": {
  30829. "description": "市场ID",
  30830. "type": "integer"
  30831. },
  30832. "matchusername": {
  30833. "description": "对手方",
  30834. "type": "string"
  30835. },
  30836. "oritradeamount": {
  30837. "description": "成交金额[商品币种]",
  30838. "type": "number"
  30839. },
  30840. "performanceplanid": {
  30841. "description": "履约计划ID/合同ID",
  30842. "type": "string"
  30843. },
  30844. "price": {
  30845. "description": "价格",
  30846. "type": "number"
  30847. },
  30848. "qty": {
  30849. "description": "成交重量",
  30850. "type": "number"
  30851. },
  30852. "sellaccountid": {
  30853. "description": "卖方账号ID",
  30854. "type": "integer"
  30855. },
  30856. "sellchargevalue": {
  30857. "description": "卖方手续费",
  30858. "type": "number"
  30859. },
  30860. "selluserid": {
  30861. "description": "卖方用户ID",
  30862. "type": "integer"
  30863. },
  30864. "sizedisplay": {
  30865. "description": "尺寸",
  30866. "type": "string"
  30867. },
  30868. "tradeamount": {
  30869. "description": "成交金额",
  30870. "type": "number"
  30871. },
  30872. "tradedate": {
  30873. "description": "交易日(yyyyMMdd)",
  30874. "type": "string"
  30875. },
  30876. "tradeprice": {
  30877. "description": "成交价格",
  30878. "type": "number"
  30879. },
  30880. "tradetime": {
  30881. "description": "成交时间",
  30882. "type": "string"
  30883. },
  30884. "userid": {
  30885. "description": "用户ID",
  30886. "type": "integer"
  30887. },
  30888. "warehousenamedisplay": {
  30889. "type": "string"
  30890. },
  30891. "wrfactortypeid": {
  30892. "description": "仓单要素类型ID",
  30893. "type": "integer"
  30894. },
  30895. "wrstandardid": {
  30896. "description": "现货商品ID",
  30897. "type": "integer"
  30898. },
  30899. "wrtradedetailid": {
  30900. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  30901. "type": "string"
  30902. },
  30903. "zscategory": {
  30904. "description": "钻石分类 - 枚举”ZSCategory“",
  30905. "type": "integer"
  30906. },
  30907. "zscategorydisplay": {
  30908. "type": "string"
  30909. },
  30910. "zscerttypedisplay": {
  30911. "type": "string"
  30912. },
  30913. "zsclaritytype1display": {
  30914. "type": "string"
  30915. },
  30916. "zsclaritytype2display": {
  30917. "type": "string"
  30918. },
  30919. "zscolortype1display": {
  30920. "type": "string"
  30921. },
  30922. "zscolortype2display": {
  30923. "type": "string"
  30924. },
  30925. "zscrystaltypedisplay": {
  30926. "type": "string"
  30927. },
  30928. "zscurrencytype": {
  30929. "description": "货币类型 - 枚举“ZSCurrencyType”",
  30930. "type": "integer"
  30931. },
  30932. "zscurrencytypedisplay": {
  30933. "type": "string"
  30934. },
  30935. "zscurrencytypedisplayunit": {
  30936. "type": "string"
  30937. },
  30938. "zscuttype1display": {
  30939. "type": "string"
  30940. },
  30941. "zscuttype2display": {
  30942. "type": "string"
  30943. },
  30944. "zsczcolor1typedisplay": {
  30945. "type": "string"
  30946. },
  30947. "zsczcolor2typedisplay": {
  30948. "type": "string"
  30949. },
  30950. "zsczcolor3typedisplay": {
  30951. "type": "string"
  30952. },
  30953. "zsfluorescencetype1display": {
  30954. "type": "string"
  30955. },
  30956. "zsfluorescencetype2display": {
  30957. "type": "string"
  30958. },
  30959. "zspolishtype1display": {
  30960. "type": "string"
  30961. },
  30962. "zspolishtype2display": {
  30963. "type": "string"
  30964. },
  30965. "zsshapetypedisplay": {
  30966. "type": "string"
  30967. },
  30968. "zsstyletypedisplay": {
  30969. "type": "string"
  30970. },
  30971. "zssymmetrytype1display": {
  30972. "type": "string"
  30973. },
  30974. "zssymmetrytype2display": {
  30975. "type": "string"
  30976. }
  30977. }
  30978. },
  30979. "models.MyDelistingApply": {
  30980. "type": "object",
  30981. "required": [
  30982. "selluserid"
  30983. ],
  30984. "properties": {
  30985. "applyprice": {
  30986. "description": "申请价格",
  30987. "type": "number"
  30988. },
  30989. "applyqty": {
  30990. "description": "申请数量",
  30991. "type": "number"
  30992. },
  30993. "applyremark": {
  30994. "description": "申请备注",
  30995. "type": "string"
  30996. },
  30997. "applystatus": {
  30998. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  30999. "type": "integer"
  31000. },
  31001. "applytime": {
  31002. "description": "申请时间",
  31003. "type": "string"
  31004. },
  31005. "auditremark": {
  31006. "description": "确认备注",
  31007. "type": "string"
  31008. },
  31009. "audittime": {
  31010. "description": "确认时间",
  31011. "type": "string"
  31012. },
  31013. "buyuserid": {
  31014. "description": "买方用户ID",
  31015. "type": "integer"
  31016. },
  31017. "buyusername": {
  31018. "type": "string"
  31019. },
  31020. "buywrtradeorderid": {
  31021. "description": "买委托单ID",
  31022. "type": "string"
  31023. },
  31024. "goodsno": {
  31025. "description": "商品编号",
  31026. "type": "string"
  31027. },
  31028. "ladingbillid": {
  31029. "description": "卖方提单ID",
  31030. "type": "string"
  31031. },
  31032. "marketid": {
  31033. "description": "市场ID",
  31034. "type": "integer"
  31035. },
  31036. "performancetemplateid": {
  31037. "description": "履约计划模板ID",
  31038. "type": "integer"
  31039. },
  31040. "price": {
  31041. "description": "价格",
  31042. "type": "number"
  31043. },
  31044. "sellaccountid": {
  31045. "description": "卖方账户ID",
  31046. "type": "integer"
  31047. },
  31048. "selldelistingapplyid": {
  31049. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  31050. "type": "string"
  31051. },
  31052. "selltradeorderid": {
  31053. "description": "卖方委托ID(买方确认成交后更新)",
  31054. "type": "string"
  31055. },
  31056. "selluserid": {
  31057. "description": "卖方用户ID",
  31058. "type": "integer"
  31059. },
  31060. "sizedisplay": {
  31061. "description": "尺寸",
  31062. "type": "string"
  31063. },
  31064. "subnum": {
  31065. "description": "卖方提单子单号",
  31066. "type": "integer"
  31067. },
  31068. "warehouseinfosdisplay": {
  31069. "type": "string"
  31070. },
  31071. "weight": {
  31072. "description": "克拉重量",
  31073. "type": "number"
  31074. },
  31075. "wrfactortypeid": {
  31076. "description": "仓单要素类型ID",
  31077. "type": "string"
  31078. },
  31079. "wrstandardid": {
  31080. "description": "现货商品ID",
  31081. "type": "integer"
  31082. },
  31083. "zsallproperties": {
  31084. "type": "string"
  31085. },
  31086. "zscategorydisplay": {
  31087. "type": "string"
  31088. },
  31089. "zsclaritytypedisplay": {
  31090. "type": "string"
  31091. },
  31092. "zscolortypedisplay": {
  31093. "type": "string"
  31094. },
  31095. "zscrystaltypedisplay": {
  31096. "type": "string"
  31097. },
  31098. "zscurrencytypedisplay": {
  31099. "type": "string"
  31100. },
  31101. "zscuttypedisplay": {
  31102. "type": "string"
  31103. },
  31104. "zsczcolor1typedisplay": {
  31105. "type": "string"
  31106. },
  31107. "zsczcolor2typedisplay": {
  31108. "type": "string"
  31109. },
  31110. "zsczcolor3typedisplay": {
  31111. "type": "string"
  31112. },
  31113. "zsfluorescencetypedisplay": {
  31114. "type": "string"
  31115. },
  31116. "zspolishtypedisplay": {
  31117. "type": "string"
  31118. },
  31119. "zsshapetypedisplay": {
  31120. "type": "string"
  31121. },
  31122. "zssizedisplay": {
  31123. "type": "string"
  31124. },
  31125. "zsstyletypedisplay": {
  31126. "type": "string"
  31127. },
  31128. "zssymmetrytypedisplay": {
  31129. "type": "string"
  31130. },
  31131. "zstabledisplay": {
  31132. "type": "string"
  31133. }
  31134. }
  31135. },
  31136. "models.MyFavorite": {
  31137. "type": "object",
  31138. "required": [
  31139. "userid"
  31140. ],
  31141. "properties": {
  31142. "buyorsell": {
  31143. "description": "买卖 - 0:买 1:卖",
  31144. "type": "integer"
  31145. },
  31146. "favoritestatus": {
  31147. "description": "收藏状态 - 1:正常 2:失效",
  31148. "type": "integer"
  31149. },
  31150. "goodsno": {
  31151. "description": "商品编号",
  31152. "type": "string"
  31153. },
  31154. "marketid": {
  31155. "description": "市场ID",
  31156. "type": "integer"
  31157. },
  31158. "price": {
  31159. "description": "价格",
  31160. "type": "number"
  31161. },
  31162. "priceper": {
  31163. "description": "克拉单价",
  31164. "type": "string"
  31165. },
  31166. "sizedisplay": {
  31167. "description": "尺寸",
  31168. "type": "string"
  31169. },
  31170. "userid": {
  31171. "description": "用户ID",
  31172. "type": "integer"
  31173. },
  31174. "warehousenamedisplay": {
  31175. "type": "string"
  31176. },
  31177. "weight": {
  31178. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  31179. "type": "number"
  31180. },
  31181. "weightavg": {
  31182. "description": "平均单颗重量 - 类型:1,3",
  31183. "type": "number"
  31184. },
  31185. "wrfactortypeid": {
  31186. "description": "仓单要素类型ID/商品ID(77)",
  31187. "type": "string"
  31188. },
  31189. "wrstandardid": {
  31190. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  31191. "type": "integer"
  31192. },
  31193. "wrtradeorderid": {
  31194. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31195. "type": "string"
  31196. },
  31197. "zscategory": {
  31198. "description": "钻石分类 - 枚举”ZSCategory“",
  31199. "type": "integer"
  31200. },
  31201. "zscategorydisplay": {
  31202. "type": "string"
  31203. },
  31204. "zscerttypedisplay": {
  31205. "type": "string"
  31206. },
  31207. "zsclaritytype1display": {
  31208. "type": "string"
  31209. },
  31210. "zsclaritytype2display": {
  31211. "type": "string"
  31212. },
  31213. "zscolortype1display": {
  31214. "type": "string"
  31215. },
  31216. "zscolortype2display": {
  31217. "type": "string"
  31218. },
  31219. "zscrystaltypedisplay": {
  31220. "type": "string"
  31221. },
  31222. "zscurrencytypedisplay": {
  31223. "type": "string"
  31224. },
  31225. "zscurrencytypedisplayunit": {
  31226. "type": "string"
  31227. },
  31228. "zscuttype1display": {
  31229. "type": "string"
  31230. },
  31231. "zscuttype2display": {
  31232. "type": "string"
  31233. },
  31234. "zsczcolor1typedisplay": {
  31235. "type": "string"
  31236. },
  31237. "zsczcolor2typedisplay": {
  31238. "type": "string"
  31239. },
  31240. "zsczcolor3typedisplay": {
  31241. "type": "string"
  31242. },
  31243. "zsfluorescencetype1display": {
  31244. "type": "string"
  31245. },
  31246. "zsfluorescencetype2display": {
  31247. "type": "string"
  31248. },
  31249. "zspolishtype1display": {
  31250. "type": "string"
  31251. },
  31252. "zspolishtype2display": {
  31253. "type": "string"
  31254. },
  31255. "zsshapetypedisplay": {
  31256. "type": "string"
  31257. },
  31258. "zsstyletypedisplay": {
  31259. "type": "string"
  31260. },
  31261. "zssymmetrytype1display": {
  31262. "type": "string"
  31263. },
  31264. "zssymmetrytype2display": {
  31265. "type": "string"
  31266. }
  31267. }
  31268. },
  31269. "models.MyPerformanc": {
  31270. "type": "object",
  31271. "properties": {
  31272. "accountname": {
  31273. "description": "[对手方]账户名称(机构名称)",
  31274. "type": "string"
  31275. },
  31276. "amount": {
  31277. "description": "履约金额",
  31278. "type": "number"
  31279. },
  31280. "buyaccountid": {
  31281. "description": "买方账号",
  31282. "type": "integer"
  31283. },
  31284. "buyerfreezeamount": {
  31285. "description": "买方履约前冻结资金",
  31286. "type": "number"
  31287. },
  31288. "buyerfreezeamountremain": {
  31289. "description": "买方履约前冻结资金剩余",
  31290. "type": "number"
  31291. },
  31292. "buyerinfo": {
  31293. "description": "买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\", \"ReceiveInfo\": \"xxxxxxxxx\", \"ReceiptInfo\": \"xxxxxxxxxxxx\"}",
  31294. "type": "string"
  31295. },
  31296. "buyorsell": {
  31297. "description": "方向 - 0:买 1:卖",
  31298. "type": "integer"
  31299. },
  31300. "buypaidamount": {
  31301. "description": "买方已冻/已扣金额",
  31302. "type": "number"
  31303. },
  31304. "curstepid": {
  31305. "description": "当前步骤ID",
  31306. "type": "string"
  31307. },
  31308. "goodsno": {
  31309. "description": "商品编号",
  31310. "type": "string"
  31311. },
  31312. "overshortamount": {
  31313. "description": "溢短金额",
  31314. "type": "number"
  31315. },
  31316. "paymenttype": {
  31317. "description": "买方支付方式 - 1:冻结 2:扣款",
  31318. "type": "integer"
  31319. },
  31320. "performanceplanid": {
  31321. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  31322. "type": "string"
  31323. },
  31324. "performancestatus": {
  31325. "description": "履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  31326. "type": "integer"
  31327. },
  31328. "price": {
  31329. "description": "价格",
  31330. "type": "number"
  31331. },
  31332. "priceper": {
  31333. "description": "克拉单价",
  31334. "type": "string"
  31335. },
  31336. "relatedorderid": {
  31337. "description": "关联单号(履约类型的关联单号)",
  31338. "type": "string"
  31339. },
  31340. "remaindays": {
  31341. "description": "剩余天数",
  31342. "type": "integer"
  31343. },
  31344. "sellerfreezeamount": {
  31345. "description": "卖方履约前冻结资金",
  31346. "type": "number"
  31347. },
  31348. "sellerfreezeamountremain": {
  31349. "description": "卖方履约前冻结资金剩余",
  31350. "type": "number"
  31351. },
  31352. "sellerinfo": {
  31353. "description": "卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\"}",
  31354. "type": "string"
  31355. },
  31356. "sellreceivedamount": {
  31357. "description": "卖方已收金额",
  31358. "type": "number"
  31359. },
  31360. "sizedisplay": {
  31361. "description": "尺寸",
  31362. "type": "string"
  31363. },
  31364. "steptypeid": {
  31365. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31366. "type": "integer"
  31367. },
  31368. "warehousenamedisplay": {
  31369. "type": "string"
  31370. },
  31371. "zscategorydisplay": {
  31372. "type": "string"
  31373. },
  31374. "zscerttypedisplay": {
  31375. "type": "string"
  31376. },
  31377. "zsclaritytype1display": {
  31378. "type": "string"
  31379. },
  31380. "zsclaritytype2display": {
  31381. "type": "string"
  31382. },
  31383. "zscolortype1display": {
  31384. "type": "string"
  31385. },
  31386. "zscolortype2display": {
  31387. "type": "string"
  31388. },
  31389. "zscrystaltypedisplay": {
  31390. "type": "string"
  31391. },
  31392. "zscurrencytypedisplay": {
  31393. "type": "string"
  31394. },
  31395. "zscurrencytypedisplayunit": {
  31396. "type": "string"
  31397. },
  31398. "zscuttype1display": {
  31399. "type": "string"
  31400. },
  31401. "zscuttype2display": {
  31402. "type": "string"
  31403. },
  31404. "zsczcolor1typedisplay": {
  31405. "type": "string"
  31406. },
  31407. "zsczcolor2typedisplay": {
  31408. "type": "string"
  31409. },
  31410. "zsczcolor3typedisplay": {
  31411. "type": "string"
  31412. },
  31413. "zsfluorescencetype1display": {
  31414. "type": "string"
  31415. },
  31416. "zsfluorescencetype2display": {
  31417. "type": "string"
  31418. },
  31419. "zspolishtype1display": {
  31420. "type": "string"
  31421. },
  31422. "zspolishtype2display": {
  31423. "type": "string"
  31424. },
  31425. "zsshapetypedisplay": {
  31426. "type": "string"
  31427. },
  31428. "zsstyletypedisplay": {
  31429. "type": "string"
  31430. },
  31431. "zssymmetrytype1display": {
  31432. "type": "string"
  31433. },
  31434. "zssymmetrytype2display": {
  31435. "type": "string"
  31436. }
  31437. }
  31438. },
  31439. "models.MySellOrder": {
  31440. "type": "object",
  31441. "required": [
  31442. "userid"
  31443. ],
  31444. "properties": {
  31445. "accountid": {
  31446. "description": "资金账号",
  31447. "type": "integer"
  31448. },
  31449. "applyid": {
  31450. "description": "申请单ID",
  31451. "type": "integer"
  31452. },
  31453. "attachment1": {
  31454. "description": "附件1",
  31455. "type": "string"
  31456. },
  31457. "attachment2": {
  31458. "description": "附件2",
  31459. "type": "string"
  31460. },
  31461. "buyorsell": {
  31462. "description": "买卖 - 0:买 1:卖",
  31463. "type": "integer"
  31464. },
  31465. "canbargain": {
  31466. "description": "是否可议价 - 0:不可 1:可",
  31467. "type": "integer"
  31468. },
  31469. "cancelqty": {
  31470. "description": "撤销数量",
  31471. "type": "integer"
  31472. },
  31473. "canceltime": {
  31474. "description": "撤销时间",
  31475. "type": "string"
  31476. },
  31477. "cerno": {
  31478. "type": "string"
  31479. },
  31480. "chargealgorithm": {
  31481. "description": "手续费收取方式 1:比率 2:固定",
  31482. "type": "integer"
  31483. },
  31484. "chargealgorithmvalue": {
  31485. "description": "手续费设置值(交易所部分)",
  31486. "type": "number"
  31487. },
  31488. "chargealgorithmvalue2": {
  31489. "description": "手续费设置值(会员部分)",
  31490. "type": "number"
  31491. },
  31492. "clientordertime": {
  31493. "description": "客户端委托时间",
  31494. "type": "string"
  31495. },
  31496. "cpcertno": {
  31497. "type": "string"
  31498. },
  31499. "exchangerate": {
  31500. "description": "汇率[67]",
  31501. "type": "number"
  31502. },
  31503. "firstratio": {
  31504. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  31505. "type": "number"
  31506. },
  31507. "fixedprice": {
  31508. "description": "[克拉单价]固定价格 - [挂牌]",
  31509. "type": "number"
  31510. },
  31511. "freezecharge": {
  31512. "description": "冻结手续费",
  31513. "type": "number"
  31514. },
  31515. "freezefirstamount": {
  31516. "description": "冻结首付金额 - [摘牌]",
  31517. "type": "number"
  31518. },
  31519. "freezemargin": {
  31520. "description": "冻结保证金",
  31521. "type": "number"
  31522. },
  31523. "goodsno": {
  31524. "description": "商品编号",
  31525. "type": "string"
  31526. },
  31527. "imagepath": {
  31528. "type": "string"
  31529. },
  31530. "isspecified": {
  31531. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  31532. "type": "integer"
  31533. },
  31534. "kppath": {
  31535. "type": "string"
  31536. },
  31537. "kpweight": {
  31538. "type": "string"
  31539. },
  31540. "marginalgorithm": {
  31541. "description": "保证金方式 - 1:比率 2:固定",
  31542. "type": "integer"
  31543. },
  31544. "marginvalue": {
  31545. "description": "保证金设置值",
  31546. "type": "number"
  31547. },
  31548. "marketid": {
  31549. "description": "市场ID",
  31550. "type": "integer"
  31551. },
  31552. "marketprice": {
  31553. "type": "string"
  31554. },
  31555. "orderamount": {
  31556. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  31557. "type": "number"
  31558. },
  31559. "ordertime": {
  31560. "description": "委托时间",
  31561. "type": "string"
  31562. },
  31563. "performancetemplateid": {
  31564. "description": "履约计划模板ID",
  31565. "type": "integer"
  31566. },
  31567. "price": {
  31568. "description": "价格",
  31569. "type": "number"
  31570. },
  31571. "pricefactor": {
  31572. "description": "价格系数(浮动价时填写) - [挂牌]",
  31573. "type": "number"
  31574. },
  31575. "pricemove": {
  31576. "description": "升贴水(浮动价时填写) - [挂牌]",
  31577. "type": "number"
  31578. },
  31579. "priceper": {
  31580. "type": "string"
  31581. },
  31582. "relatedwrtradeorderid": {
  31583. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  31584. "type": "integer"
  31585. },
  31586. "remark": {
  31587. "type": "string"
  31588. },
  31589. "retcode": {
  31590. "description": "错误代码",
  31591. "type": "integer"
  31592. },
  31593. "selledqty": {
  31594. "description": "成交重量",
  31595. "type": "number"
  31596. },
  31597. "settingmaterial": {
  31598. "type": "string"
  31599. },
  31600. "size1": {
  31601. "type": "string"
  31602. },
  31603. "size2": {
  31604. "type": "string"
  31605. },
  31606. "size3": {
  31607. "type": "string"
  31608. },
  31609. "stonedesc": {
  31610. "type": "string"
  31611. },
  31612. "totalqty": {
  31613. "description": "总重量",
  31614. "type": "number"
  31615. },
  31616. "tradedate": {
  31617. "description": "交易日(yyyyMMdd)",
  31618. "type": "string"
  31619. },
  31620. "tradeprice": {
  31621. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  31622. "type": "number"
  31623. },
  31624. "unfreezecharge": {
  31625. "description": "解冻手续费",
  31626. "type": "number"
  31627. },
  31628. "unfreezefirstamount": {
  31629. "description": "解冻首付金额 - [摘牌]",
  31630. "type": "number"
  31631. },
  31632. "unfreezemargin": {
  31633. "description": "解冻保证金",
  31634. "type": "number"
  31635. },
  31636. "userid": {
  31637. "description": "用户ID",
  31638. "type": "integer"
  31639. },
  31640. "uuid": {
  31641. "description": "发起端唯一id",
  31642. "type": "string"
  31643. },
  31644. "validtime": {
  31645. "description": "有效期限",
  31646. "type": "string"
  31647. },
  31648. "validtype": {
  31649. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  31650. "type": "integer"
  31651. },
  31652. "warehousenamedisplay": {
  31653. "type": "string"
  31654. },
  31655. "wrbargainid": {
  31656. "description": "议价申请单ID",
  31657. "type": "integer"
  31658. },
  31659. "wrfactortypeid": {
  31660. "description": "仓单要素类型ID/商品ID(77)",
  31661. "type": "integer"
  31662. },
  31663. "wrpath": {
  31664. "type": "string"
  31665. },
  31666. "wrpricetype": {
  31667. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  31668. "type": "integer"
  31669. },
  31670. "wrstandardid": {
  31671. "description": "现货商品ID",
  31672. "type": "integer"
  31673. },
  31674. "wrtradeorderid": {
  31675. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31676. "type": "string"
  31677. },
  31678. "wrtradeorderstatus": {
  31679. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 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:撤单解冻贷款失败",
  31680. "type": "integer"
  31681. },
  31682. "wrtradetype": {
  31683. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  31684. "type": "integer"
  31685. },
  31686. "wrtransferuserid": {
  31687. "description": "仓单受让用户 - [摘牌]",
  31688. "type": "integer"
  31689. },
  31690. "zscategory": {
  31691. "description": "钻石分类 - 枚举”ZSCategory“",
  31692. "type": "integer"
  31693. },
  31694. "zscategorydisplay": {
  31695. "description": "钻石分类 - 描述",
  31696. "type": "string"
  31697. },
  31698. "zscerttypedisplay": {
  31699. "type": "string"
  31700. },
  31701. "zsclaritytype1display": {
  31702. "type": "string"
  31703. },
  31704. "zsclaritytype2display": {
  31705. "type": "string"
  31706. },
  31707. "zscolortype1display": {
  31708. "type": "string"
  31709. },
  31710. "zscolortype2display": {
  31711. "type": "string"
  31712. },
  31713. "zscrystaltype": {
  31714. "type": "string"
  31715. },
  31716. "zscrystaltypedisplay": {
  31717. "type": "string"
  31718. },
  31719. "zscurrencytype": {
  31720. "description": "货币类型 - 枚举“ZSCurrencyType”",
  31721. "type": "integer"
  31722. },
  31723. "zscurrencytypedisplay": {
  31724. "type": "string"
  31725. },
  31726. "zscurrencytypedisplayunit": {
  31727. "type": "string"
  31728. },
  31729. "zscuttype1display": {
  31730. "type": "string"
  31731. },
  31732. "zscuttype2display": {
  31733. "type": "string"
  31734. },
  31735. "zsczcolor1typedisplay": {
  31736. "type": "string"
  31737. },
  31738. "zsczcolor2typedisplay": {
  31739. "type": "string"
  31740. },
  31741. "zsczcolor3typedisplay": {
  31742. "type": "string"
  31743. },
  31744. "zsfluorescencetype1display": {
  31745. "type": "string"
  31746. },
  31747. "zsfluorescencetype2display": {
  31748. "type": "string"
  31749. },
  31750. "zspolishtype1display": {
  31751. "type": "string"
  31752. },
  31753. "zspolishtype2display": {
  31754. "type": "string"
  31755. },
  31756. "zsshapetypedisplay": {
  31757. "type": "string"
  31758. },
  31759. "zsstyletypedisplay": {
  31760. "type": "string"
  31761. },
  31762. "zssymmetrytype1display": {
  31763. "type": "string"
  31764. },
  31765. "zssymmetrytype2display": {
  31766. "type": "string"
  31767. }
  31768. }
  31769. },
  31770. "models.MyWRPosition": {
  31771. "type": "object",
  31772. "required": [
  31773. "wruserid"
  31774. ],
  31775. "properties": {
  31776. "cerno": {
  31777. "description": "证书编号 - 类型:2,4,5",
  31778. "type": "string"
  31779. },
  31780. "cpcertno": {
  31781. "description": "金伯利证书编号 - 类型:3",
  31782. "type": "string"
  31783. },
  31784. "ffreezeqty": {
  31785. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  31786. "type": "number"
  31787. },
  31788. "ftotalqty": {
  31789. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  31790. "type": "number"
  31791. },
  31792. "goodsno": {
  31793. "description": "商品编号",
  31794. "type": "string"
  31795. },
  31796. "imagepath": {
  31797. "description": "商品照片(相对地址)",
  31798. "type": "string"
  31799. },
  31800. "isvalid": {
  31801. "description": "是否有效 - 0:无效 1:有效",
  31802. "type": "integer"
  31803. },
  31804. "kppath": {
  31805. "description": "金伯利证书图片(相对地址) - 类型:3",
  31806. "type": "string"
  31807. },
  31808. "kpweight": {
  31809. "description": "金伯利证书重量 - 类型:3",
  31810. "type": "string"
  31811. },
  31812. "ladingbillid": {
  31813. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  31814. "type": "string"
  31815. },
  31816. "marketflag": {
  31817. "description": "是否上架,0-全部 1-是 2-否",
  31818. "type": "integer"
  31819. },
  31820. "marketprice": {
  31821. "description": "市场价",
  31822. "type": "string"
  31823. },
  31824. "origin": {
  31825. "description": "原产地 - 类型:3",
  31826. "type": "string"
  31827. },
  31828. "price": {
  31829. "description": "总价(价格) - 类型:1,2,3,4,5",
  31830. "type": "number"
  31831. },
  31832. "priceper": {
  31833. "description": "克拉单价 - 类型:1,2,3,5",
  31834. "type": "string"
  31835. },
  31836. "remark": {
  31837. "description": "备注",
  31838. "type": "string"
  31839. },
  31840. "sellmobile": {
  31841. "description": "手机号码(加密存储)",
  31842. "type": "string"
  31843. },
  31844. "sellusername": {
  31845. "description": "账户名称(机构名称)",
  31846. "type": "string"
  31847. },
  31848. "settingmaterial": {
  31849. "description": "镶嵌材料 - 类型:4",
  31850. "type": "string"
  31851. },
  31852. "size1": {
  31853. "description": "尺寸1 - 类型:2,4,5",
  31854. "type": "string"
  31855. },
  31856. "size2": {
  31857. "description": "尺寸2 - 类型:2,4,5",
  31858. "type": "string"
  31859. },
  31860. "size3": {
  31861. "description": "尺寸3 - 类型:2,4,5",
  31862. "type": "string"
  31863. },
  31864. "stonedesc": {
  31865. "description": "配石描述 - 类型:4",
  31866. "type": "string"
  31867. },
  31868. "subnum": {
  31869. "description": "提单子单号",
  31870. "type": "integer"
  31871. },
  31872. "userid": {
  31873. "description": "用户ID",
  31874. "type": "integer"
  31875. },
  31876. "warehouseid": {
  31877. "description": "仓库ID",
  31878. "type": "integer"
  31879. },
  31880. "warehousenamedisplay": {
  31881. "type": "string"
  31882. },
  31883. "weight": {
  31884. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  31885. "type": "number"
  31886. },
  31887. "weightavg": {
  31888. "description": "平均单颗重量 - 类型:1,3",
  31889. "type": "number"
  31890. },
  31891. "wrpath": {
  31892. "description": "仓单扫描件(相对地址)",
  31893. "type": "string"
  31894. },
  31895. "wrstandardid": {
  31896. "description": "现货商品ID",
  31897. "type": "integer"
  31898. },
  31899. "wrtradeorderid": {
  31900. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31901. "type": "string"
  31902. },
  31903. "wruserid": {
  31904. "description": "登录用户ID",
  31905. "type": "integer"
  31906. },
  31907. "zscategory": {
  31908. "description": "钻石分类 - 枚举”ZSCategory“",
  31909. "type": "integer"
  31910. },
  31911. "zscategorydisplay": {
  31912. "type": "string"
  31913. },
  31914. "zscerttype": {
  31915. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  31916. "type": "integer"
  31917. },
  31918. "zscerttypedisplay": {
  31919. "type": "string"
  31920. },
  31921. "zsclaritytype1": {
  31922. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  31923. "type": "integer"
  31924. },
  31925. "zsclaritytype1display": {
  31926. "type": "string"
  31927. },
  31928. "zsclaritytype2": {
  31929. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  31930. "type": "integer"
  31931. },
  31932. "zsclaritytype2display": {
  31933. "type": "string"
  31934. },
  31935. "zscolortype1": {
  31936. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  31937. "type": "integer"
  31938. },
  31939. "zscolortype1display": {
  31940. "type": "string"
  31941. },
  31942. "zscolortype2": {
  31943. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  31944. "type": "integer"
  31945. },
  31946. "zscolortype2display": {
  31947. "type": "string"
  31948. },
  31949. "zscrystaltype": {
  31950. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  31951. "type": "string"
  31952. },
  31953. "zscrystaltypedisplay": {
  31954. "type": "string"
  31955. },
  31956. "zscurrencytype": {
  31957. "description": "货币类型 - 枚举“ZSCurrencyType”",
  31958. "type": "integer"
  31959. },
  31960. "zscurrencytypedisplay": {
  31961. "type": "string"
  31962. },
  31963. "zscurrencytypedisplayunit": {
  31964. "type": "string"
  31965. },
  31966. "zscuttype1": {
  31967. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  31968. "type": "integer"
  31969. },
  31970. "zscuttype1display": {
  31971. "type": "string"
  31972. },
  31973. "zscuttype2": {
  31974. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  31975. "type": "integer"
  31976. },
  31977. "zscuttype2display": {
  31978. "type": "string"
  31979. },
  31980. "zsczcolor1type": {
  31981. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  31982. "type": "integer"
  31983. },
  31984. "zsczcolor1typedisplay": {
  31985. "type": "string"
  31986. },
  31987. "zsczcolor2type": {
  31988. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  31989. "type": "integer"
  31990. },
  31991. "zsczcolor2typedisplay": {
  31992. "type": "string"
  31993. },
  31994. "zsczcolor3type": {
  31995. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  31996. "type": "integer"
  31997. },
  31998. "zsczcolor3typedisplay": {
  31999. "type": "string"
  32000. },
  32001. "zsfluorescencetype1": {
  32002. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  32003. "type": "integer"
  32004. },
  32005. "zsfluorescencetype1display": {
  32006. "type": "string"
  32007. },
  32008. "zsfluorescencetype2": {
  32009. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  32010. "type": "integer"
  32011. },
  32012. "zsfluorescencetype2display": {
  32013. "type": "string"
  32014. },
  32015. "zspolishtype1": {
  32016. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  32017. "type": "integer"
  32018. },
  32019. "zspolishtype1display": {
  32020. "type": "string"
  32021. },
  32022. "zspolishtype2": {
  32023. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  32024. "type": "integer"
  32025. },
  32026. "zspolishtype2display": {
  32027. "type": "string"
  32028. },
  32029. "zsshapetype": {
  32030. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  32031. "type": "string"
  32032. },
  32033. "zsshapetypedisplay": {
  32034. "type": "string"
  32035. },
  32036. "zsstyletype": {
  32037. "description": "款式 - 类型:4",
  32038. "type": "integer"
  32039. },
  32040. "zsstyletypedisplay": {
  32041. "type": "string"
  32042. },
  32043. "zssymmetrytype1": {
  32044. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  32045. "type": "integer"
  32046. },
  32047. "zssymmetrytype1display": {
  32048. "type": "string"
  32049. },
  32050. "zssymmetrytype2": {
  32051. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  32052. "type": "integer"
  32053. },
  32054. "zssymmetrytype2display": {
  32055. "type": "string"
  32056. }
  32057. }
  32058. },
  32059. "models.NewFuncmenulist": {
  32060. "type": "object",
  32061. "required": [
  32062. "resourcecode"
  32063. ],
  32064. "properties": {
  32065. "authtype": {
  32066. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  32067. "type": "integer"
  32068. },
  32069. "buttonname": {
  32070. "description": "按钮名称",
  32071. "type": "string"
  32072. },
  32073. "buttontype": {
  32074. "description": "按钮类型 - 存按钮样式",
  32075. "type": "string"
  32076. },
  32077. "component": {
  32078. "description": "组件名或组件地址",
  32079. "type": "string"
  32080. },
  32081. "hidden": {
  32082. "description": "是否隐藏 - 0:显示 1:隐藏",
  32083. "type": "integer"
  32084. },
  32085. "iconame": {
  32086. "description": "菜单图标",
  32087. "type": "string"
  32088. },
  32089. "menutype": {
  32090. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  32091. "type": "integer"
  32092. },
  32093. "parentcode": {
  32094. "description": "上级资源代码",
  32095. "type": "string"
  32096. },
  32097. "remark": {
  32098. "description": "Remark",
  32099. "type": "string"
  32100. },
  32101. "resourcecode": {
  32102. "description": "资源代码",
  32103. "type": "string"
  32104. },
  32105. "resourcelevel": {
  32106. "description": "级别1-一级 2-二级 3-三级4-四级",
  32107. "type": "integer"
  32108. },
  32109. "resourcename": {
  32110. "description": "资源名(Title)",
  32111. "type": "string"
  32112. },
  32113. "sort": {
  32114. "description": "排序",
  32115. "type": "integer"
  32116. },
  32117. "url": {
  32118. "description": "Url",
  32119. "type": "string"
  32120. },
  32121. "urltype": {
  32122. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  32123. "type": "integer"
  32124. }
  32125. }
  32126. },
  32127. "models.OperationPrimaryMenu": {
  32128. "type": "object",
  32129. "properties": {
  32130. "Children": {
  32131. "description": "二级功能菜单",
  32132. "type": "array",
  32133. "items": {
  32134. "$ref": "#/definitions/models.OperationSecondaryMenu"
  32135. }
  32136. },
  32137. "Key": {
  32138. "description": "菜单KEY",
  32139. "type": "string"
  32140. },
  32141. "Label": {
  32142. "description": "菜单标题",
  32143. "type": "string"
  32144. }
  32145. }
  32146. },
  32147. "models.OperationSecondaryMenu": {
  32148. "type": "object",
  32149. "properties": {
  32150. "Key": {
  32151. "description": "菜单KEY",
  32152. "type": "string"
  32153. },
  32154. "Label": {
  32155. "description": "菜单标题",
  32156. "type": "string"
  32157. },
  32158. "TabList": {
  32159. "description": "三级功能菜单",
  32160. "type": "array",
  32161. "items": {
  32162. "$ref": "#/definitions/models.OperationTabMenu"
  32163. }
  32164. }
  32165. }
  32166. },
  32167. "models.OperationTabMenu": {
  32168. "type": "object",
  32169. "properties": {
  32170. "Key": {
  32171. "description": "菜单KEY",
  32172. "type": "string"
  32173. },
  32174. "Label": {
  32175. "description": "菜单标题",
  32176. "type": "string"
  32177. }
  32178. }
  32179. },
  32180. "models.Patradelinkdetail": {
  32181. "type": "object",
  32182. "properties": {
  32183. "accountname": {
  32184. "description": "套期主体",
  32185. "type": "string"
  32186. },
  32187. "agreeunit": {
  32188. "description": "合约乘数",
  32189. "type": "number"
  32190. },
  32191. "amount": {
  32192. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  32193. "type": "number"
  32194. },
  32195. "areauserid": {
  32196. "description": "所属机构",
  32197. "type": "integer"
  32198. },
  32199. "bizsubjectid": {
  32200. "description": "归属业务部门ID - SubjectID",
  32201. "type": "integer"
  32202. },
  32203. "buyorsell": {
  32204. "description": "方向 - 0:买 1:卖",
  32205. "type": "integer"
  32206. },
  32207. "convertratio": {
  32208. "description": "品种系数",
  32209. "type": "number"
  32210. },
  32211. "convertratiochange": {
  32212. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  32213. "type": "number"
  32214. },
  32215. "createtime": {
  32216. "description": "[日期时间]创建时间",
  32217. "type": "string"
  32218. },
  32219. "creatorid": {
  32220. "description": "创建人ID",
  32221. "type": "integer"
  32222. },
  32223. "creatorsrc": {
  32224. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  32225. "type": "integer"
  32226. },
  32227. "goodscode": {
  32228. "description": "商品代码(内部)",
  32229. "type": "string"
  32230. },
  32231. "goodsgroupid": {
  32232. "description": "对冲品种ID[期货合约商品组ID]",
  32233. "type": "integer"
  32234. },
  32235. "goodsid": {
  32236. "description": "商品ID",
  32237. "type": "integer"
  32238. },
  32239. "hedgeditemid": {
  32240. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  32241. "type": "integer"
  32242. },
  32243. "hedgeflag": {
  32244. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  32245. "type": "integer"
  32246. },
  32247. "linkdetailid": {
  32248. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  32249. "type": "string"
  32250. },
  32251. "linkstatus": {
  32252. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  32253. "type": "integer"
  32254. },
  32255. "middlegoodsid": {
  32256. "description": "套保品种ID",
  32257. "type": "integer"
  32258. },
  32259. "name": {
  32260. "description": "账户名/子账户",
  32261. "type": "string"
  32262. },
  32263. "optioncode": {
  32264. "description": "[期货合约]期权代码 [期权]",
  32265. "type": "string"
  32266. },
  32267. "ordertype": {
  32268. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  32269. "type": "integer"
  32270. },
  32271. "relatedlot": {
  32272. "description": "[数量]关联手数",
  32273. "type": "number"
  32274. },
  32275. "relatedmode": {
  32276. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  32277. "type": "integer"
  32278. },
  32279. "relatedqty": {
  32280. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  32281. "type": "number"
  32282. },
  32283. "retcode": {
  32284. "description": "返回码",
  32285. "type": "integer"
  32286. },
  32287. "saleuserid": {
  32288. "description": "业务员ID",
  32289. "type": "integer"
  32290. },
  32291. "tradedate": {
  32292. "description": "关联交易日(yyyyMMdd)",
  32293. "type": "string"
  32294. },
  32295. "tradeid": {
  32296. "description": "[成交单号]内部成交单ID",
  32297. "type": "string"
  32298. },
  32299. "tradelot": {
  32300. "description": "成交手数",
  32301. "type": "integer"
  32302. },
  32303. "tradeprice": {
  32304. "description": "[价格]成交价格",
  32305. "type": "number"
  32306. },
  32307. "tradetradedate": {
  32308. "description": "成交交易日(yyyyMMdd)",
  32309. "type": "string"
  32310. }
  32311. }
  32312. },
  32313. "models.QhjAccountOutInApply": {
  32314. "type": "object",
  32315. "properties": {
  32316. "accountcode": {
  32317. "description": "资金账号",
  32318. "type": "string"
  32319. },
  32320. "accountname": {
  32321. "description": "用户名称(名称)",
  32322. "type": "string"
  32323. },
  32324. "accountpwd": {
  32325. "description": "资金密码",
  32326. "type": "string"
  32327. },
  32328. "accountticket": {
  32329. "description": "最新账户服务流水号",
  32330. "type": "string"
  32331. },
  32332. "amount": {
  32333. "description": "金额",
  32334. "type": "number"
  32335. },
  32336. "applyremark": {
  32337. "description": "申请备注",
  32338. "type": "string"
  32339. },
  32340. "applystatus": {
  32341. "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: 复审通过,账户冻结金额检查中;",
  32342. "type": "integer"
  32343. },
  32344. "auditid": {
  32345. "description": "审核人",
  32346. "type": "integer"
  32347. },
  32348. "audittime": {
  32349. "description": "审核时间",
  32350. "type": "string"
  32351. },
  32352. "bank_apply_ticket": {
  32353. "description": "银行申请流水",
  32354. "type": "string"
  32355. },
  32356. "bankaccountname": {
  32357. "description": "银行账户名",
  32358. "type": "string"
  32359. },
  32360. "bankaccountno": {
  32361. "description": "银行卡号",
  32362. "type": "string"
  32363. },
  32364. "bankid": {
  32365. "description": "银行编号",
  32366. "type": "string"
  32367. },
  32368. "bankticket": {
  32369. "description": "银行流水",
  32370. "type": "string"
  32371. },
  32372. "branchbankid": {
  32373. "description": "银行支行号",
  32374. "type": "string"
  32375. },
  32376. "branchbankname": {
  32377. "description": "银行支行名称",
  32378. "type": "string"
  32379. },
  32380. "capamountout": {
  32381. "description": "出金(劣后本金) - 外部子账户",
  32382. "type": "number"
  32383. },
  32384. "certificatephotourl": {
  32385. "description": "凭证地址",
  32386. "type": "string"
  32387. },
  32388. "charge": {
  32389. "description": "手续费",
  32390. "type": "number"
  32391. },
  32392. "checkerrorflag": {
  32393. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  32394. "type": "integer"
  32395. },
  32396. "currency": {
  32397. "description": "币种",
  32398. "type": "string"
  32399. },
  32400. "cusbankid": {
  32401. "description": "托管银行编号",
  32402. "type": "string"
  32403. },
  32404. "cusbankname": {
  32405. "description": "托管银行名称",
  32406. "type": "string"
  32407. },
  32408. "cusbankshortname": {
  32409. "description": "托管银行简称",
  32410. "type": "string"
  32411. },
  32412. "exchticket": {
  32413. "description": "银行服务流水号",
  32414. "type": "string"
  32415. },
  32416. "executetype": {
  32417. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  32418. "type": "integer"
  32419. },
  32420. "extendinfo": {
  32421. "description": "扩展信息",
  32422. "type": "string"
  32423. },
  32424. "extoperateid": {
  32425. "description": "交易服务流水号",
  32426. "type": "integer"
  32427. },
  32428. "infamount": {
  32429. "description": "劣后金额(自有)",
  32430. "type": "number"
  32431. },
  32432. "logincode": {
  32433. "description": "登录账号(账号)",
  32434. "type": "string"
  32435. },
  32436. "netaddr": {
  32437. "description": "调转网址",
  32438. "type": "string"
  32439. },
  32440. "priamount": {
  32441. "description": "优先金额(授信)",
  32442. "type": "number"
  32443. },
  32444. "reauditid": {
  32445. "description": "复审人",
  32446. "type": "integer"
  32447. },
  32448. "reauditremark": {
  32449. "description": "复审备注",
  32450. "type": "string"
  32451. },
  32452. "reaudittime": {
  32453. "description": "复审时间",
  32454. "type": "string"
  32455. },
  32456. "relatedorderid": {
  32457. "description": "三方关联ID",
  32458. "type": "string"
  32459. },
  32460. "remark": {
  32461. "description": "备注",
  32462. "type": "string"
  32463. },
  32464. "remark2": {
  32465. "description": "备注(失败原因)",
  32466. "type": "string"
  32467. },
  32468. "soucreamount": {
  32469. "description": "原始出入金金额",
  32470. "type": "number"
  32471. },
  32472. "soucrecurrencyid": {
  32473. "description": "原始出入金币种",
  32474. "type": "integer"
  32475. },
  32476. "tradedate": {
  32477. "description": "交易日(yyyyMMdd)",
  32478. "type": "string"
  32479. },
  32480. "updatetime": {
  32481. "description": "更新时间(申请时间)",
  32482. "type": "string"
  32483. },
  32484. "userid": {
  32485. "description": "用户id",
  32486. "type": "integer"
  32487. },
  32488. "userinfotype": {
  32489. "description": "账户类型 1-个人 2-企业",
  32490. "type": "integer"
  32491. }
  32492. }
  32493. },
  32494. "models.QhjAgreementChangeLog": {
  32495. "type": "object",
  32496. "properties": {
  32497. "agreementcontent": {
  32498. "description": "协议内容",
  32499. "type": "string"
  32500. },
  32501. "agreementfrequency": {
  32502. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  32503. "type": "integer"
  32504. },
  32505. "agreementid": {
  32506. "description": "协议ID",
  32507. "type": "integer"
  32508. },
  32509. "agreementname": {
  32510. "description": "协议名称",
  32511. "type": "string"
  32512. },
  32513. "agreementno": {
  32514. "description": "协议编号",
  32515. "type": "string"
  32516. },
  32517. "agreementtype": {
  32518. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32519. "type": "integer"
  32520. },
  32521. "agreementversion": {
  32522. "description": "协议版本号",
  32523. "type": "integer"
  32524. },
  32525. "logid": {
  32526. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  32527. "type": "integer"
  32528. },
  32529. "reviserid": {
  32530. "description": "修改人",
  32531. "type": "integer"
  32532. },
  32533. "revisersrc": {
  32534. "description": "修改来源 - 1:管理端 2:终端",
  32535. "type": "integer"
  32536. },
  32537. "updatetime": {
  32538. "description": "更新时间",
  32539. "type": "string"
  32540. }
  32541. }
  32542. },
  32543. "models.QhjAgreementConfig": {
  32544. "type": "object",
  32545. "properties": {
  32546. "agreementcontent": {
  32547. "description": "协议内容",
  32548. "type": "string"
  32549. },
  32550. "agreementfrequency": {
  32551. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  32552. "type": "integer"
  32553. },
  32554. "agreementid": {
  32555. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  32556. "type": "integer"
  32557. },
  32558. "agreementname": {
  32559. "description": "协议名称",
  32560. "type": "string"
  32561. },
  32562. "agreementno": {
  32563. "description": "协议编号",
  32564. "type": "string"
  32565. },
  32566. "agreementtype": {
  32567. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32568. "type": "integer"
  32569. },
  32570. "agreementversion": {
  32571. "description": "协议版本号(从1开始每次修改加1)",
  32572. "type": "integer"
  32573. },
  32574. "createtime": {
  32575. "description": "创建时间",
  32576. "type": "string"
  32577. },
  32578. "creatorid": {
  32579. "description": "创建人",
  32580. "type": "integer"
  32581. },
  32582. "creatorsrc": {
  32583. "description": "创建来源 - 1:管理端 2:终端",
  32584. "type": "integer"
  32585. },
  32586. "isvalid": {
  32587. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  32588. "type": "integer"
  32589. },
  32590. "reviserid": {
  32591. "description": "修改人",
  32592. "type": "integer"
  32593. },
  32594. "revisersrc": {
  32595. "description": "修改来源 - 1:管理端 2:终端",
  32596. "type": "integer"
  32597. },
  32598. "updatetime": {
  32599. "description": "更新时间",
  32600. "type": "string"
  32601. }
  32602. }
  32603. },
  32604. "models.QhjAreaFinanceConfig": {
  32605. "type": "object",
  32606. "properties": {
  32607. "additionalratio": {
  32608. "description": "追加款比例",
  32609. "type": "number"
  32610. },
  32611. "advanceratio": {
  32612. "description": "预付款比例",
  32613. "type": "number"
  32614. },
  32615. "alarmratio": {
  32616. "description": "告警比例",
  32617. "type": "number"
  32618. },
  32619. "consumptiondirectreward": {
  32620. "description": "消费直推奖励值",
  32621. "type": "number"
  32622. },
  32623. "consumptionenabled": {
  32624. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  32625. "type": "integer"
  32626. },
  32627. "consumptionindirectreward": {
  32628. "description": "消费间推奖励值",
  32629. "type": "number"
  32630. },
  32631. "consumptionmodel": {
  32632. "description": "消费奖励方式 - 1:比率 2:固定",
  32633. "type": "integer"
  32634. },
  32635. "customerservicenum": {
  32636. "description": "客服电话",
  32637. "type": "string"
  32638. },
  32639. "dayinterestrate": {
  32640. "description": "日利率",
  32641. "type": "number"
  32642. },
  32643. "disableconsumptiontips": {
  32644. "description": "关闭消费奖励提示",
  32645. "type": "string"
  32646. },
  32647. "modifierid": {
  32648. "description": "修改人ID",
  32649. "type": "integer"
  32650. },
  32651. "modifysrc": {
  32652. "description": "审核来源 - 1:管理端 2:终端",
  32653. "type": "integer"
  32654. },
  32655. "modifytime": {
  32656. "description": "修改时间",
  32657. "type": "string"
  32658. },
  32659. "promotionvalue": {
  32660. "description": "推广奖励值(固定)",
  32661. "type": "number"
  32662. },
  32663. "scoreconfigvalue1": {
  32664. "description": "提货积分配置1",
  32665. "type": "integer"
  32666. },
  32667. "scoreconfigvalue2": {
  32668. "description": "提货积分配置2",
  32669. "type": "integer"
  32670. },
  32671. "userid": {
  32672. "description": "机构用户ID其他做市关系,都设置为 1",
  32673. "type": "integer"
  32674. },
  32675. "username": {
  32676. "description": "用户名称",
  32677. "type": "string"
  32678. }
  32679. }
  32680. },
  32681. "models.QhjBankAccountSign": {
  32682. "type": "object",
  32683. "properties": {
  32684. "accountcode": {
  32685. "description": "资金账号",
  32686. "type": "string"
  32687. },
  32688. "accountname": {
  32689. "description": "资金账号对应的账号名(UserName)",
  32690. "type": "string"
  32691. },
  32692. "accountname2": {
  32693. "description": "资金账号对应的账号名(UserName) - 密文",
  32694. "type": "string"
  32695. },
  32696. "accounttype": {
  32697. "description": "账户类型(UserType)",
  32698. "type": "integer"
  32699. },
  32700. "applicationtime": {
  32701. "description": "最后一次更新的时间",
  32702. "type": "string"
  32703. },
  32704. "applyexchticket": {
  32705. "description": "申请流水",
  32706. "type": "string"
  32707. },
  32708. "auditid": {
  32709. "description": "审核人",
  32710. "type": "integer"
  32711. },
  32712. "audittime": {
  32713. "description": "审核时间",
  32714. "type": "string"
  32715. },
  32716. "bankaccountname": {
  32717. "description": "签约银行卡账号名",
  32718. "type": "string"
  32719. },
  32720. "bankaccountname2": {
  32721. "description": "签约银行卡账号名 - 密文",
  32722. "type": "string"
  32723. },
  32724. "bankaccountno": {
  32725. "description": "银行卡号",
  32726. "type": "string"
  32727. },
  32728. "bankaccountno2": {
  32729. "description": "银行卡号 - 密文",
  32730. "type": "string"
  32731. },
  32732. "bankaccounttype": {
  32733. "description": "银行账户类型 - 1-对私; 2-对公",
  32734. "type": "integer"
  32735. },
  32736. "bankcardtype": {
  32737. "description": "银行卡类型",
  32738. "type": "integer"
  32739. },
  32740. "bankchildaccount": {
  32741. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  32742. "type": "string"
  32743. },
  32744. "bankcity": {
  32745. "description": "开户行城市",
  32746. "type": "string"
  32747. },
  32748. "bankid": {
  32749. "description": "签约银行ID",
  32750. "type": "string"
  32751. },
  32752. "bankname": {
  32753. "description": "签约银行名称",
  32754. "type": "string"
  32755. },
  32756. "bankprovince": {
  32757. "description": "开户行省份",
  32758. "type": "string"
  32759. },
  32760. "branchbankid": {
  32761. "description": "签约银行支行号",
  32762. "type": "string"
  32763. },
  32764. "branchbankname": {
  32765. "description": "签约银行支行名称",
  32766. "type": "string"
  32767. },
  32768. "cardno": {
  32769. "description": "证件号码",
  32770. "type": "string"
  32771. },
  32772. "cardno2": {
  32773. "description": "证件号码 - 密文",
  32774. "type": "string"
  32775. },
  32776. "cardtype": {
  32777. "description": "证件类型",
  32778. "type": "string"
  32779. },
  32780. "currency": {
  32781. "description": "币种",
  32782. "type": "string"
  32783. },
  32784. "cusbankid": {
  32785. "description": "托管银行编号",
  32786. "type": "string"
  32787. },
  32788. "direct": {
  32789. "description": "方向(可以判断那方先发起的签约)",
  32790. "type": "integer"
  32791. },
  32792. "exchticket": {
  32793. "description": "最后一次签约成功的流水号",
  32794. "type": "string"
  32795. },
  32796. "extendinfo": {
  32797. "description": "扩展信息(JSON字符串)",
  32798. "type": "string"
  32799. },
  32800. "mobilephone": {
  32801. "description": "手机号",
  32802. "type": "string"
  32803. },
  32804. "mobilephone2": {
  32805. "description": "手机号 - 密文",
  32806. "type": "string"
  32807. },
  32808. "netaddr": {
  32809. "description": "调转网址",
  32810. "type": "string"
  32811. },
  32812. "relateduserid": {
  32813. "description": "关联使用者userid",
  32814. "type": "integer"
  32815. },
  32816. "signstatus": {
  32817. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  32818. "type": "integer"
  32819. },
  32820. "updatetime": {
  32821. "description": "更新时间(签解约更新时间)",
  32822. "type": "string"
  32823. }
  32824. }
  32825. },
  32826. "models.QhjBankInfo": {
  32827. "type": "object",
  32828. "properties": {
  32829. "bankid": {
  32830. "description": "银行ID",
  32831. "type": "string"
  32832. },
  32833. "bankname": {
  32834. "description": "银行名称",
  32835. "type": "string"
  32836. },
  32837. "clearbankno": {
  32838. "description": "清算系统银行编号",
  32839. "type": "string"
  32840. },
  32841. "orderindex": {
  32842. "description": "排序顺序",
  32843. "type": "integer"
  32844. },
  32845. "status": {
  32846. "description": "状态 - 0:正常 1:注销",
  32847. "type": "integer"
  32848. }
  32849. }
  32850. },
  32851. "models.QhjBrokerApply": {
  32852. "type": "object",
  32853. "properties": {
  32854. "applicantid": {
  32855. "description": "申请人",
  32856. "type": "integer"
  32857. },
  32858. "applysrc": {
  32859. "description": "申请来源 - 1:管理端 2:终端",
  32860. "type": "integer"
  32861. },
  32862. "applystatus": {
  32863. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32864. "type": "integer"
  32865. },
  32866. "applytime": {
  32867. "description": "申请时间",
  32868. "type": "string"
  32869. },
  32870. "auditorid": {
  32871. "description": "审核人",
  32872. "type": "integer"
  32873. },
  32874. "auditremark": {
  32875. "description": "审核备注",
  32876. "type": "string"
  32877. },
  32878. "auditsrc": {
  32879. "description": "审核来源 - 1:管理端 2:终端",
  32880. "type": "integer"
  32881. },
  32882. "audittime": {
  32883. "description": "审核时间",
  32884. "type": "string"
  32885. },
  32886. "audittradedate": {
  32887. "description": "审核交易日(yyyyMMdd)",
  32888. "type": "string"
  32889. },
  32890. "brokerapplyid": {
  32891. "description": "申请ID(SEQ_BROKERAPPLY)",
  32892. "type": "integer"
  32893. },
  32894. "cardbackphotourl": {
  32895. "description": "证件背面图片地址",
  32896. "type": "string"
  32897. },
  32898. "cardfrontphotourl": {
  32899. "description": "证件正面图片地址",
  32900. "type": "string"
  32901. },
  32902. "cardnum": {
  32903. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  32904. "type": "string"
  32905. },
  32906. "customername": {
  32907. "description": "姓名",
  32908. "type": "string"
  32909. },
  32910. "logincode": {
  32911. "description": "登录代码",
  32912. "type": "string"
  32913. },
  32914. "mobile": {
  32915. "description": "手机号码",
  32916. "type": "string"
  32917. },
  32918. "parentuserid": {
  32919. "description": "所属机构id",
  32920. "type": "integer"
  32921. },
  32922. "parentusername": {
  32923. "description": "所属机构名称",
  32924. "type": "string"
  32925. },
  32926. "refereeuserid": {
  32927. "description": "推荐人id(经纪人)",
  32928. "type": "integer"
  32929. },
  32930. "refernum": {
  32931. "description": "推荐码",
  32932. "type": "string"
  32933. },
  32934. "remark": {
  32935. "description": "备注",
  32936. "type": "string"
  32937. },
  32938. "subarealevelpath": {
  32939. "description": "层级路径",
  32940. "type": "string"
  32941. },
  32942. "tradedate": {
  32943. "description": "交易日(yyyyMMdd)",
  32944. "type": "string"
  32945. },
  32946. "userid": {
  32947. "description": "申请人用户ID",
  32948. "type": "integer"
  32949. },
  32950. "userinfotype": {
  32951. "description": "用户类型 1-个人 2-企业",
  32952. "type": "integer"
  32953. },
  32954. "username": {
  32955. "description": "用户名称",
  32956. "type": "string"
  32957. }
  32958. }
  32959. },
  32960. "models.QhjBrokerApplyEx": {
  32961. "type": "object",
  32962. "properties": {
  32963. "applylist": {
  32964. "description": "经纪人申请记录(只返回最新一条)",
  32965. "type": "array",
  32966. "items": {
  32967. "$ref": "#/definitions/models.QhjBrokerApply"
  32968. }
  32969. },
  32970. "canrecommend": {
  32971. "description": "是否经纪人 0-不是 1-是",
  32972. "type": "integer"
  32973. },
  32974. "refernum": {
  32975. "description": "推荐码",
  32976. "type": "string"
  32977. },
  32978. "userid": {
  32979. "description": "用户id",
  32980. "type": "integer"
  32981. },
  32982. "userinfotype": {
  32983. "description": "用户类型 1-个人 2-企业",
  32984. "type": "integer"
  32985. }
  32986. }
  32987. },
  32988. "models.QhjBrokerRewardLog": {
  32989. "type": "object",
  32990. "properties": {
  32991. "accountid": {
  32992. "description": "资金账号ID",
  32993. "type": "integer"
  32994. },
  32995. "createtime": {
  32996. "description": "创建时间(时间)",
  32997. "type": "string"
  32998. },
  32999. "handlestatus": {
  33000. "description": "处理状态",
  33001. "type": "integer"
  33002. },
  33003. "logid": {
  33004. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33005. "type": "string"
  33006. },
  33007. "marketid": {
  33008. "description": "市场ID",
  33009. "type": "integer"
  33010. },
  33011. "mmaccountid": {
  33012. "description": "做市商资金账号ID",
  33013. "type": "string"
  33014. },
  33015. "mmuserid": {
  33016. "description": "做市商用户ID",
  33017. "type": "string"
  33018. },
  33019. "rewardamount": {
  33020. "description": "奖励金额",
  33021. "type": "number"
  33022. },
  33023. "rewardmodel": {
  33024. "description": "消费奖励方式 - 1:比率 2:固定",
  33025. "type": "integer"
  33026. },
  33027. "rewardtype": {
  33028. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  33029. "type": "integer"
  33030. },
  33031. "rewardvalue": {
  33032. "description": "配置奖励值",
  33033. "type": "number"
  33034. },
  33035. "srcamount": {
  33036. "description": "成交金额 [消费奖励] (金额)",
  33037. "type": "number"
  33038. },
  33039. "srcgoodsid": {
  33040. "description": "来源商品ID [消费奖励]",
  33041. "type": "string"
  33042. },
  33043. "srctime": {
  33044. "description": "来源时间 (成交时间) [消费奖励]",
  33045. "type": "string"
  33046. },
  33047. "srctradeid": {
  33048. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  33049. "type": "string"
  33050. },
  33051. "srcuserid": {
  33052. "description": "来源用户ID(推广账户)",
  33053. "type": "string"
  33054. },
  33055. "srcusername": {
  33056. "description": "推广账户名称",
  33057. "type": "string"
  33058. },
  33059. "tradedate": {
  33060. "description": "交易日(yyyyMMdd)",
  33061. "type": "string"
  33062. },
  33063. "userid": {
  33064. "description": "经纪人用户ID",
  33065. "type": "integer"
  33066. }
  33067. }
  33068. },
  33069. "models.QhjContract": {
  33070. "type": "object",
  33071. "properties": {
  33072. "contractconfirmtime": {
  33073. "description": "合同确认时间(时间)",
  33074. "type": "string"
  33075. },
  33076. "currisklevel": {
  33077. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33078. "type": "integer"
  33079. },
  33080. "decimalplace": {
  33081. "description": "商品报价小数位",
  33082. "type": "integer"
  33083. },
  33084. "enumdicname": {
  33085. "description": "单位名称",
  33086. "type": "string"
  33087. },
  33088. "goodscode": {
  33089. "description": "商品代码",
  33090. "type": "string"
  33091. },
  33092. "goodsid": {
  33093. "description": "商品ID [5:融资单]",
  33094. "type": "integer"
  33095. },
  33096. "goodsname": {
  33097. "description": "商品名称",
  33098. "type": "string"
  33099. },
  33100. "goodunitid": {
  33101. "description": "商品单位id",
  33102. "type": "integer"
  33103. },
  33104. "initmargin": {
  33105. "description": "初始保证金(首付款)",
  33106. "type": "number"
  33107. },
  33108. "lenderamount": {
  33109. "description": "贷款金额(总额|订单总额)",
  33110. "type": "number"
  33111. },
  33112. "marginratio": {
  33113. "description": "保证金比率(首付比例)",
  33114. "type": "number"
  33115. },
  33116. "payamount": {
  33117. "description": "已付(已付货款)",
  33118. "type": "number"
  33119. },
  33120. "reckonrecovermargin": {
  33121. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33122. "type": "number"
  33123. },
  33124. "recoveredmargin": {
  33125. "description": "已追缴保证金",
  33126. "type": "number"
  33127. },
  33128. "remainamount": {
  33129. "description": "合同剩余金额(融资额)",
  33130. "type": "number"
  33131. },
  33132. "scfcontractid": {
  33133. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33134. "type": "string"
  33135. },
  33136. "scfcontractstatus": {
  33137. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33138. "type": "integer"
  33139. },
  33140. "scfcontracttype": {
  33141. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  33142. "type": "integer"
  33143. },
  33144. "totalinterest": {
  33145. "description": "已计总利息(利息)",
  33146. "type": "number"
  33147. },
  33148. "tradeprice": {
  33149. "description": "成交价格(成本价格)",
  33150. "type": "number"
  33151. },
  33152. "userid": {
  33153. "description": "用户ID",
  33154. "type": "integer"
  33155. },
  33156. "username": {
  33157. "description": "用户名称",
  33158. "type": "string"
  33159. },
  33160. "wrqty": {
  33161. "description": "仓单数量(数量)",
  33162. "type": "number"
  33163. }
  33164. }
  33165. },
  33166. "models.QhjContractLog": {
  33167. "type": "object",
  33168. "properties": {
  33169. "amount": {
  33170. "description": "支付金额",
  33171. "type": "number"
  33172. },
  33173. "amounttype": {
  33174. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  33175. "type": "integer"
  33176. },
  33177. "logid": {
  33178. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33179. "type": "string"
  33180. },
  33181. "remainamount": {
  33182. "description": "剩余货款",
  33183. "type": "number"
  33184. },
  33185. "scfcontractid": {
  33186. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33187. "type": "integer"
  33188. },
  33189. "updatetime": {
  33190. "description": "更新时间",
  33191. "type": "string"
  33192. }
  33193. }
  33194. },
  33195. "models.QhjCusBankSignBankEx": {
  33196. "type": "object",
  33197. "properties": {
  33198. "banklst": {
  33199. "description": "银行列表",
  33200. "type": "array",
  33201. "items": {
  33202. "$ref": "#/definitions/models.QhjBankInfo"
  33203. }
  33204. },
  33205. "canallot": {
  33206. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  33207. "type": "integer"
  33208. },
  33209. "canallotquery": {
  33210. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  33211. "type": "integer"
  33212. },
  33213. "canbindcard": {
  33214. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  33215. "type": "integer"
  33216. },
  33217. "caninamount": {
  33218. "description": "是否可入金 - 0:不可 1:可以",
  33219. "type": "integer"
  33220. },
  33221. "caninamount2": {
  33222. "description": "是否可入金(网银端) - 0:不可 1:可以",
  33223. "type": "integer"
  33224. },
  33225. "canmodifybankcard": {
  33226. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  33227. "type": "integer"
  33228. },
  33229. "canmodifyphone": {
  33230. "description": "是否可修改手机号 - 0:不可 1:可以",
  33231. "type": "integer"
  33232. },
  33233. "canmodifysigninfo": {
  33234. "description": "是否可修改签约信息 - 0:不可 1:可以",
  33235. "type": "integer"
  33236. },
  33237. "canoutamount": {
  33238. "description": "是否可出金 - 0:不可 1:可以",
  33239. "type": "integer"
  33240. },
  33241. "canoutamount2": {
  33242. "description": "是否可出金(网银端) - 0:不可 1:可以",
  33243. "type": "integer"
  33244. },
  33245. "canrelease": {
  33246. "description": "是否可解约 - 0:不可 1:可以",
  33247. "type": "integer"
  33248. },
  33249. "canrelease2": {
  33250. "description": "是否可解约(网银端) - 0:不可 1:可以",
  33251. "type": "integer"
  33252. },
  33253. "cansign": {
  33254. "description": "是否可签约 - 0:不可 1:可以",
  33255. "type": "integer"
  33256. },
  33257. "cansign2": {
  33258. "description": "是否可签约(网银端) - 0:不可 1:可以",
  33259. "type": "integer"
  33260. },
  33261. "currency": {
  33262. "description": "币种",
  33263. "type": "string"
  33264. },
  33265. "cusbankid": {
  33266. "description": "托管银行编号(对应清算中心TRAN_NO)",
  33267. "type": "string"
  33268. },
  33269. "cusbankname": {
  33270. "description": "银行业务名称",
  33271. "type": "string"
  33272. },
  33273. "cusbankshortname": {
  33274. "description": "银行业务简称",
  33275. "type": "string"
  33276. },
  33277. "exchbankid": {
  33278. "description": "交易所开户银行ID",
  33279. "type": "string"
  33280. },
  33281. "exchpaybankaccname": {
  33282. "description": "交易所支出结算账户户名",
  33283. "type": "string"
  33284. },
  33285. "exchpaybankaccno": {
  33286. "description": "交易所支出结算账户",
  33287. "type": "string"
  33288. },
  33289. "isneedcheck": {
  33290. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  33291. "type": "integer"
  33292. },
  33293. "isneedclear": {
  33294. "description": "是否需要清算 - 0:不需要 1:需要",
  33295. "type": "integer"
  33296. },
  33297. "lastcheckstatus": {
  33298. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  33299. "type": "integer"
  33300. },
  33301. "lastchecktime": {
  33302. "description": "最后对账时间",
  33303. "type": "string"
  33304. },
  33305. "lastclearstatus": {
  33306. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  33307. "type": "integer"
  33308. },
  33309. "lastcleartime": {
  33310. "description": "最后清算时间",
  33311. "type": "string"
  33312. },
  33313. "lastsignintime": {
  33314. "description": "最后签到时间",
  33315. "type": "string"
  33316. },
  33317. "lastsignouttime": {
  33318. "description": "最后签退时间",
  33319. "type": "string"
  33320. },
  33321. "riskinfo": {
  33322. "description": "签约风险提示书",
  33323. "type": "string"
  33324. },
  33325. "signstatus": {
  33326. "description": "当前签到/签退状态 - 1:签到 2:签退",
  33327. "type": "integer"
  33328. },
  33329. "tradedate": {
  33330. "description": "交易日(yyyyMMdd)",
  33331. "type": "string"
  33332. },
  33333. "updatetime": {
  33334. "description": "当前签到/签退更新时间",
  33335. "type": "string"
  33336. }
  33337. }
  33338. },
  33339. "models.QhjCustomer": {
  33340. "type": "object",
  33341. "properties": {
  33342. "address": {
  33343. "description": "通讯地址",
  33344. "type": "string"
  33345. },
  33346. "attachment1": {
  33347. "description": "附件1",
  33348. "type": "string"
  33349. },
  33350. "attachment2": {
  33351. "description": "附件2",
  33352. "type": "string"
  33353. },
  33354. "audittime": {
  33355. "description": "审核时间",
  33356. "type": "string"
  33357. },
  33358. "cardbackphotourl": {
  33359. "description": "证件反面图片地址",
  33360. "type": "string"
  33361. },
  33362. "cardfrontphotourl": {
  33363. "description": "证件正面图片地址",
  33364. "type": "string"
  33365. },
  33366. "cardnum": {
  33367. "description": "证件号码",
  33368. "type": "string"
  33369. },
  33370. "cardtype": {
  33371. "description": "证件类型",
  33372. "type": "integer"
  33373. },
  33374. "cardtypename": {
  33375. "description": "证件类型名称",
  33376. "type": "string"
  33377. },
  33378. "cityid": {
  33379. "description": "市",
  33380. "type": "integer"
  33381. },
  33382. "cityname": {
  33383. "description": "城市名称",
  33384. "type": "string"
  33385. },
  33386. "contactname": {
  33387. "description": "联系人",
  33388. "type": "string"
  33389. },
  33390. "countryid": {
  33391. "description": "国家",
  33392. "type": "integer"
  33393. },
  33394. "countryname": {
  33395. "description": "国家名称",
  33396. "type": "string"
  33397. },
  33398. "createtime": {
  33399. "description": "创建时间",
  33400. "type": "string"
  33401. },
  33402. "customername": {
  33403. "description": "客户名称",
  33404. "type": "string"
  33405. },
  33406. "districtid": {
  33407. "description": "区域",
  33408. "type": "integer"
  33409. },
  33410. "districtname": {
  33411. "description": "地区名称",
  33412. "type": "string"
  33413. },
  33414. "email": {
  33415. "description": "邮件",
  33416. "type": "string"
  33417. },
  33418. "legalpersonname": {
  33419. "description": "法人姓名(企业)",
  33420. "type": "string"
  33421. },
  33422. "logincode": {
  33423. "description": "登录账号(代码)",
  33424. "type": "string"
  33425. },
  33426. "memberuserid": {
  33427. "description": "所属机构ID(所属会员)",
  33428. "type": "integer"
  33429. },
  33430. "memberusername": {
  33431. "description": "所属会员名称",
  33432. "type": "string"
  33433. },
  33434. "mobile": {
  33435. "description": "手机号码",
  33436. "type": "string"
  33437. },
  33438. "modifytime": {
  33439. "description": "修改时间",
  33440. "type": "string"
  33441. },
  33442. "nickname": {
  33443. "description": "昵称",
  33444. "type": "string"
  33445. },
  33446. "parentuserid": {
  33447. "description": "上级机构(所属机构)",
  33448. "type": "integer"
  33449. },
  33450. "parentusername": {
  33451. "description": "所属机构名称",
  33452. "type": "string"
  33453. },
  33454. "provinceid": {
  33455. "description": "省",
  33456. "type": "integer"
  33457. },
  33458. "provincename": {
  33459. "description": "省名称",
  33460. "type": "string"
  33461. },
  33462. "proxystatementurl": {
  33463. "description": "授权委托书",
  33464. "type": "string"
  33465. },
  33466. "remark": {
  33467. "description": "备注",
  33468. "type": "string"
  33469. },
  33470. "status": {
  33471. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  33472. "type": "integer"
  33473. },
  33474. "statusdesc": {
  33475. "description": "账户状态中文描述",
  33476. "type": "string"
  33477. },
  33478. "taxpayernum": {
  33479. "description": "纳税人识别号",
  33480. "type": "string"
  33481. },
  33482. "telphone": {
  33483. "description": "联系电话",
  33484. "type": "string"
  33485. },
  33486. "userid": {
  33487. "description": "用户ID",
  33488. "type": "integer"
  33489. },
  33490. "userinfotype": {
  33491. "description": "客户类型 1-个人 2-企业",
  33492. "type": "integer"
  33493. },
  33494. "username": {
  33495. "description": "用户名称",
  33496. "type": "string"
  33497. }
  33498. }
  33499. },
  33500. "models.QhjCustomerSignLog": {
  33501. "type": "object",
  33502. "properties": {
  33503. "agreementcontent": {
  33504. "description": "协议内容",
  33505. "type": "string"
  33506. },
  33507. "agreementid": {
  33508. "description": "协议ID",
  33509. "type": "integer"
  33510. },
  33511. "agreementname": {
  33512. "description": "协议名称",
  33513. "type": "string"
  33514. },
  33515. "agreementno": {
  33516. "description": "协议编号",
  33517. "type": "string"
  33518. },
  33519. "agreementtype": {
  33520. "description": "协议类型 - 1:注册 2:登录 3:交易",
  33521. "type": "integer"
  33522. },
  33523. "agreementversion": {
  33524. "description": "协议版本号",
  33525. "type": "integer"
  33526. },
  33527. "createtime": {
  33528. "description": "创建时间",
  33529. "type": "string"
  33530. },
  33531. "goodscode": {
  33532. "description": "商品代码",
  33533. "type": "string"
  33534. },
  33535. "goodsid": {
  33536. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33537. "type": "integer"
  33538. },
  33539. "goodsname": {
  33540. "description": "商品名称",
  33541. "type": "string"
  33542. },
  33543. "logid": {
  33544. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  33545. "type": "integer"
  33546. },
  33547. "nodetype": {
  33548. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  33549. "type": "integer"
  33550. },
  33551. "signadressurl": {
  33552. "description": "签约文件地址",
  33553. "type": "string"
  33554. },
  33555. "signtimestamp": {
  33556. "description": "签约状态时间戳",
  33557. "type": "string"
  33558. },
  33559. "userid": {
  33560. "description": "客户ID",
  33561. "type": "integer"
  33562. },
  33563. "username": {
  33564. "description": "客户名称",
  33565. "type": "string"
  33566. }
  33567. }
  33568. },
  33569. "models.QhjCustomerSignStatus": {
  33570. "type": "object",
  33571. "properties": {
  33572. "createtime": {
  33573. "description": "创建时间",
  33574. "type": "string"
  33575. },
  33576. "goodscode": {
  33577. "description": "商品代码",
  33578. "type": "string"
  33579. },
  33580. "goodsid": {
  33581. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33582. "type": "integer"
  33583. },
  33584. "goodsname": {
  33585. "description": "商品名称",
  33586. "type": "string"
  33587. },
  33588. "nodetype": {
  33589. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  33590. "type": "integer"
  33591. },
  33592. "signtimestamp": {
  33593. "description": "签约状态时间戳",
  33594. "type": "string"
  33595. },
  33596. "tradedate": {
  33597. "description": "创建交易日(yyyyMMdd)",
  33598. "type": "string"
  33599. },
  33600. "updatetime": {
  33601. "description": "更新时间",
  33602. "type": "string"
  33603. },
  33604. "userid": {
  33605. "description": "客户ID",
  33606. "type": "integer"
  33607. },
  33608. "username": {
  33609. "description": "客户名称",
  33610. "type": "string"
  33611. }
  33612. }
  33613. },
  33614. "models.QhjMgrAccountOutInApply": {
  33615. "type": "object",
  33616. "properties": {
  33617. "accountcode": {
  33618. "description": "资金账号",
  33619. "type": "string"
  33620. },
  33621. "accountname": {
  33622. "description": "用户名称(名称)",
  33623. "type": "string"
  33624. },
  33625. "accountpwd": {
  33626. "description": "资金密码",
  33627. "type": "string"
  33628. },
  33629. "accountticket": {
  33630. "description": "最新账户服务流水号",
  33631. "type": "string"
  33632. },
  33633. "amount": {
  33634. "description": "金额",
  33635. "type": "number"
  33636. },
  33637. "applyremark": {
  33638. "description": "申请备注",
  33639. "type": "string"
  33640. },
  33641. "applystatus": {
  33642. "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: 复审通过,账户冻结金额检查中;",
  33643. "type": "integer"
  33644. },
  33645. "auditid": {
  33646. "description": "审核人",
  33647. "type": "integer"
  33648. },
  33649. "audittime": {
  33650. "description": "审核时间",
  33651. "type": "string"
  33652. },
  33653. "bank_apply_ticket": {
  33654. "description": "银行申请流水",
  33655. "type": "string"
  33656. },
  33657. "bankaccountname": {
  33658. "description": "银行账户名",
  33659. "type": "string"
  33660. },
  33661. "bankaccountno": {
  33662. "description": "银行卡号",
  33663. "type": "string"
  33664. },
  33665. "bankid": {
  33666. "description": "银行编号",
  33667. "type": "string"
  33668. },
  33669. "bankname": {
  33670. "description": "银行名称",
  33671. "type": "string"
  33672. },
  33673. "bankticket": {
  33674. "description": "银行流水",
  33675. "type": "string"
  33676. },
  33677. "branchbankid": {
  33678. "description": "银行支行号",
  33679. "type": "string"
  33680. },
  33681. "branchbankname": {
  33682. "description": "银行支行名称",
  33683. "type": "string"
  33684. },
  33685. "capamountout": {
  33686. "description": "出金(劣后本金) - 外部子账户",
  33687. "type": "number"
  33688. },
  33689. "certificatephotourl": {
  33690. "description": "凭证地址",
  33691. "type": "string"
  33692. },
  33693. "charge": {
  33694. "description": "手续费",
  33695. "type": "number"
  33696. },
  33697. "checkerrorflag": {
  33698. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  33699. "type": "integer"
  33700. },
  33701. "currency": {
  33702. "description": "币种",
  33703. "type": "string"
  33704. },
  33705. "cusbankid": {
  33706. "description": "托管银行编号",
  33707. "type": "string"
  33708. },
  33709. "exchticket": {
  33710. "description": "银行服务流水号",
  33711. "type": "string"
  33712. },
  33713. "executetype": {
  33714. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  33715. "type": "integer"
  33716. },
  33717. "extendinfo": {
  33718. "description": "扩展信息",
  33719. "type": "string"
  33720. },
  33721. "extoperateid": {
  33722. "description": "交易服务流水号",
  33723. "type": "integer"
  33724. },
  33725. "infamount": {
  33726. "description": "劣后金额(自有)",
  33727. "type": "number"
  33728. },
  33729. "logincode": {
  33730. "description": "登录账号(账号)",
  33731. "type": "string"
  33732. },
  33733. "netaddr": {
  33734. "description": "调转网址",
  33735. "type": "string"
  33736. },
  33737. "priamount": {
  33738. "description": "优先金额(授信)",
  33739. "type": "number"
  33740. },
  33741. "reauditid": {
  33742. "description": "复审人",
  33743. "type": "integer"
  33744. },
  33745. "reauditremark": {
  33746. "description": "复审备注",
  33747. "type": "string"
  33748. },
  33749. "reaudittime": {
  33750. "description": "复审时间",
  33751. "type": "string"
  33752. },
  33753. "relatedorderid": {
  33754. "description": "三方关联ID",
  33755. "type": "string"
  33756. },
  33757. "remark": {
  33758. "description": "备注",
  33759. "type": "string"
  33760. },
  33761. "remark2": {
  33762. "description": "备注(失败原因)",
  33763. "type": "string"
  33764. },
  33765. "soucreamount": {
  33766. "description": "原始出入金金额",
  33767. "type": "number"
  33768. },
  33769. "soucrecurrencyid": {
  33770. "description": "原始出入金币种",
  33771. "type": "integer"
  33772. },
  33773. "tradedate": {
  33774. "description": "交易日(yyyyMMdd)",
  33775. "type": "string"
  33776. },
  33777. "updatetime": {
  33778. "description": "更新时间(申请时间)",
  33779. "type": "string"
  33780. },
  33781. "userid": {
  33782. "description": "用户id",
  33783. "type": "integer"
  33784. },
  33785. "userinfotype": {
  33786. "description": "账户类型 1-个人 2-企业",
  33787. "type": "integer"
  33788. }
  33789. }
  33790. },
  33791. "models.QhjMgrBrokerApply": {
  33792. "type": "object",
  33793. "properties": {
  33794. "applicantid": {
  33795. "description": "申请人",
  33796. "type": "integer"
  33797. },
  33798. "applysrc": {
  33799. "description": "申请来源 - 1:管理端 2:终端",
  33800. "type": "integer"
  33801. },
  33802. "applystatus": {
  33803. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33804. "type": "integer"
  33805. },
  33806. "applytime": {
  33807. "description": "申请时间",
  33808. "type": "string"
  33809. },
  33810. "auditorid": {
  33811. "description": "审核人",
  33812. "type": "integer"
  33813. },
  33814. "auditremark": {
  33815. "description": "审核备注",
  33816. "type": "string"
  33817. },
  33818. "auditsrc": {
  33819. "description": "审核来源 - 1:管理端 2:终端",
  33820. "type": "integer"
  33821. },
  33822. "audittime": {
  33823. "description": "审核时间",
  33824. "type": "string"
  33825. },
  33826. "audittradedate": {
  33827. "description": "审核交易日(yyyyMMdd)",
  33828. "type": "string"
  33829. },
  33830. "brokerapplyid": {
  33831. "description": "申请ID(SEQ_BROKERAPPLY)",
  33832. "type": "integer"
  33833. },
  33834. "cardbackphotourl": {
  33835. "description": "证件背面图片地址",
  33836. "type": "string"
  33837. },
  33838. "cardfrontphotourl": {
  33839. "description": "证件正面图片地址",
  33840. "type": "string"
  33841. },
  33842. "cardnum": {
  33843. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  33844. "type": "string"
  33845. },
  33846. "customername": {
  33847. "description": "姓名",
  33848. "type": "string"
  33849. },
  33850. "filterstatus": {
  33851. "description": "筛选条件",
  33852. "type": "string"
  33853. },
  33854. "logincode": {
  33855. "description": "登录代码",
  33856. "type": "string"
  33857. },
  33858. "mobile": {
  33859. "description": "手机号码",
  33860. "type": "string"
  33861. },
  33862. "parentuserid": {
  33863. "description": "所属机构id",
  33864. "type": "integer"
  33865. },
  33866. "parentusername": {
  33867. "description": "所属机构名称",
  33868. "type": "string"
  33869. },
  33870. "refereeuserid": {
  33871. "description": "推荐人id(经纪人)",
  33872. "type": "integer"
  33873. },
  33874. "refernum": {
  33875. "description": "推荐码",
  33876. "type": "string"
  33877. },
  33878. "remark": {
  33879. "description": "备注",
  33880. "type": "string"
  33881. },
  33882. "subarealevelpath": {
  33883. "description": "层级路径",
  33884. "type": "string"
  33885. },
  33886. "tradedate": {
  33887. "description": "交易日(yyyyMMdd)",
  33888. "type": "string"
  33889. },
  33890. "userid": {
  33891. "description": "申请人用户ID",
  33892. "type": "integer"
  33893. },
  33894. "userinfotype": {
  33895. "description": "用户类型 1-个人 2-企业",
  33896. "type": "integer"
  33897. },
  33898. "username": {
  33899. "description": "用户名称",
  33900. "type": "string"
  33901. }
  33902. }
  33903. },
  33904. "models.QhjMgrBrokerRewardReport": {
  33905. "type": "object",
  33906. "properties": {
  33907. "createtime": {
  33908. "description": "创建时间(注册时间)",
  33909. "type": "string"
  33910. },
  33911. "cycletime": {
  33912. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  33913. "type": "string"
  33914. },
  33915. "cycletype": {
  33916. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  33917. "type": "integer"
  33918. },
  33919. "directtotalnum": {
  33920. "description": "直推总人数【期末】",
  33921. "type": "integer"
  33922. },
  33923. "indirecttotalnum": {
  33924. "description": "间推总人数【期末】",
  33925. "type": "integer"
  33926. },
  33927. "mobile": {
  33928. "description": "电话号码",
  33929. "type": "string"
  33930. },
  33931. "refereeuserid": {
  33932. "description": "推荐人id(经纪人id)",
  33933. "type": "integer"
  33934. },
  33935. "refereeusername": {
  33936. "description": "推荐人名称(经纪人) 上级经纪人名称",
  33937. "type": "string"
  33938. },
  33939. "refernum": {
  33940. "description": "推荐码",
  33941. "type": "string"
  33942. },
  33943. "subarealevelpath": {
  33944. "description": "用户层级路径",
  33945. "type": "string"
  33946. },
  33947. "todayrewardamount": {
  33948. "description": "奖励总金额【汇总】",
  33949. "type": "number"
  33950. },
  33951. "updatetime": {
  33952. "description": "更新时间",
  33953. "type": "string"
  33954. },
  33955. "userid": {
  33956. "description": "经纪人用户ID",
  33957. "type": "integer"
  33958. },
  33959. "userinfotype": {
  33960. "description": "用户类型 1-个人 2-企业",
  33961. "type": "integer"
  33962. },
  33963. "username": {
  33964. "description": "用户名称",
  33965. "type": "string"
  33966. }
  33967. }
  33968. },
  33969. "models.QhjMgrContract": {
  33970. "type": "object",
  33971. "properties": {
  33972. "contractconfirmtime": {
  33973. "description": "合同确认时间(时间)",
  33974. "type": "string"
  33975. },
  33976. "currisklevel": {
  33977. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33978. "type": "integer"
  33979. },
  33980. "decimalplace": {
  33981. "description": "商品报价小数位",
  33982. "type": "integer"
  33983. },
  33984. "enumdicname": {
  33985. "description": "单位名称",
  33986. "type": "string"
  33987. },
  33988. "goodscode": {
  33989. "description": "商品代码",
  33990. "type": "string"
  33991. },
  33992. "goodsid": {
  33993. "description": "商品ID [5:融资单]",
  33994. "type": "integer"
  33995. },
  33996. "goodsname": {
  33997. "description": "商品名称",
  33998. "type": "string"
  33999. },
  34000. "goodunitid": {
  34001. "description": "商品单位id",
  34002. "type": "integer"
  34003. },
  34004. "initmargin": {
  34005. "description": "初始保证金(首付款)",
  34006. "type": "number"
  34007. },
  34008. "lenderamount": {
  34009. "description": "贷款金额(总额|订单总额)",
  34010. "type": "number"
  34011. },
  34012. "logincode": {
  34013. "description": "账号(登录代码)",
  34014. "type": "string"
  34015. },
  34016. "marginratio": {
  34017. "description": "保证金比率(首付比例)",
  34018. "type": "number"
  34019. },
  34020. "mobile": {
  34021. "description": "电话号码(用户资料里的电话)",
  34022. "type": "string"
  34023. },
  34024. "payamount": {
  34025. "description": "已付(已付货款)",
  34026. "type": "number"
  34027. },
  34028. "reckonrecovermargin": {
  34029. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  34030. "type": "number"
  34031. },
  34032. "recoveredmargin": {
  34033. "description": "已追缴保证金",
  34034. "type": "number"
  34035. },
  34036. "remainamount": {
  34037. "description": "合同剩余金额(融资额)",
  34038. "type": "number"
  34039. },
  34040. "scfcontractid": {
  34041. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34042. "type": "string"
  34043. },
  34044. "scfcontractstatus": {
  34045. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34046. "type": "integer"
  34047. },
  34048. "scfcontracttype": {
  34049. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  34050. "type": "integer"
  34051. },
  34052. "totalinterest": {
  34053. "description": "已计总利息(利息)",
  34054. "type": "number"
  34055. },
  34056. "tradedate": {
  34057. "description": "交易日",
  34058. "type": "string"
  34059. },
  34060. "tradeprice": {
  34061. "description": "成交价格(成本价格)",
  34062. "type": "number"
  34063. },
  34064. "userid": {
  34065. "description": "用户ID",
  34066. "type": "integer"
  34067. },
  34068. "userinfotype": {
  34069. "description": "用户类型 1-个人 2-企业",
  34070. "type": "integer"
  34071. },
  34072. "username": {
  34073. "description": "用户名称",
  34074. "type": "string"
  34075. },
  34076. "wrqty": {
  34077. "description": "仓单数量(数量)",
  34078. "type": "number"
  34079. }
  34080. }
  34081. },
  34082. "models.QhjMgrCustomer": {
  34083. "type": "object",
  34084. "properties": {
  34085. "address": {
  34086. "description": "通讯地址",
  34087. "type": "string"
  34088. },
  34089. "attachment1": {
  34090. "description": "附件1",
  34091. "type": "string"
  34092. },
  34093. "audittime": {
  34094. "description": "审核时间",
  34095. "type": "string"
  34096. },
  34097. "birthday": {
  34098. "description": "生日",
  34099. "type": "string"
  34100. },
  34101. "brokerid": {
  34102. "description": "所属客户经理id",
  34103. "type": "integer"
  34104. },
  34105. "brokername": {
  34106. "description": "所属客户经理名称",
  34107. "type": "string"
  34108. },
  34109. "cardbackphotourl": {
  34110. "description": "证件反面图片地址",
  34111. "type": "string"
  34112. },
  34113. "cardfrontphotourl": {
  34114. "description": "证件正面图片地址",
  34115. "type": "string"
  34116. },
  34117. "cardnum": {
  34118. "description": "证件号码",
  34119. "type": "string"
  34120. },
  34121. "cardtype": {
  34122. "description": "证件类型",
  34123. "type": "integer"
  34124. },
  34125. "cardtypename": {
  34126. "description": "证件类型名称",
  34127. "type": "string"
  34128. },
  34129. "cityid": {
  34130. "description": "市",
  34131. "type": "integer"
  34132. },
  34133. "cityname": {
  34134. "description": "城市名称",
  34135. "type": "string"
  34136. },
  34137. "contactname": {
  34138. "description": "联系人",
  34139. "type": "string"
  34140. },
  34141. "countryid": {
  34142. "description": "国家",
  34143. "type": "integer"
  34144. },
  34145. "countryname": {
  34146. "description": "国家名称",
  34147. "type": "string"
  34148. },
  34149. "createtime": {
  34150. "description": "创建时间",
  34151. "type": "string"
  34152. },
  34153. "customername": {
  34154. "description": "客户名称",
  34155. "type": "string"
  34156. },
  34157. "districtid": {
  34158. "description": "区域",
  34159. "type": "integer"
  34160. },
  34161. "districtname": {
  34162. "description": "地区名称",
  34163. "type": "string"
  34164. },
  34165. "email": {
  34166. "description": "邮件",
  34167. "type": "string"
  34168. },
  34169. "legalpersonname": {
  34170. "description": "法人姓名(企业)",
  34171. "type": "string"
  34172. },
  34173. "logincode": {
  34174. "description": "登录账号(代码)",
  34175. "type": "string"
  34176. },
  34177. "memberuserid": {
  34178. "description": "所属机构ID(所属会员)",
  34179. "type": "integer"
  34180. },
  34181. "memberusername": {
  34182. "description": "所属会员名称",
  34183. "type": "string"
  34184. },
  34185. "mobile": {
  34186. "description": "手机号码",
  34187. "type": "string"
  34188. },
  34189. "modifytime": {
  34190. "description": "修改时间",
  34191. "type": "string"
  34192. },
  34193. "nickname": {
  34194. "description": "昵称",
  34195. "type": "string"
  34196. },
  34197. "parentuserid": {
  34198. "description": "上级机构(所属机构)",
  34199. "type": "integer"
  34200. },
  34201. "parentusername": {
  34202. "description": "所属机构名称",
  34203. "type": "string"
  34204. },
  34205. "provinceid": {
  34206. "description": "省",
  34207. "type": "integer"
  34208. },
  34209. "provincename": {
  34210. "description": "省名称",
  34211. "type": "string"
  34212. },
  34213. "proxystatementurl": {
  34214. "description": "授权委托书",
  34215. "type": "string"
  34216. },
  34217. "querytype": {
  34218. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  34219. "type": "integer"
  34220. },
  34221. "remark": {
  34222. "description": "备注",
  34223. "type": "string"
  34224. },
  34225. "sex": {
  34226. "description": "性别 0-女 1-男",
  34227. "type": "integer"
  34228. },
  34229. "status": {
  34230. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34231. "type": "integer"
  34232. },
  34233. "statusdesc": {
  34234. "description": "账户状态中文描述",
  34235. "type": "string"
  34236. },
  34237. "taxpayernum": {
  34238. "description": "纳税人识别号",
  34239. "type": "string"
  34240. },
  34241. "telphone": {
  34242. "description": "联系电话",
  34243. "type": "string"
  34244. },
  34245. "userid": {
  34246. "description": "用户ID",
  34247. "type": "integer"
  34248. },
  34249. "userinfotype": {
  34250. "description": "客户类型 1-个人 2-企业",
  34251. "type": "integer"
  34252. },
  34253. "username": {
  34254. "description": "用户名称",
  34255. "type": "string"
  34256. }
  34257. }
  34258. },
  34259. "models.QhjMgrPickGoods": {
  34260. "type": "object",
  34261. "properties": {
  34262. "enumdicname": {
  34263. "description": "单位名称(提货商品)",
  34264. "type": "string"
  34265. },
  34266. "goodsid": {
  34267. "description": "商品id",
  34268. "type": "integer"
  34269. },
  34270. "imageaddress": {
  34271. "description": "图片",
  34272. "type": "string"
  34273. },
  34274. "modifierid": {
  34275. "description": "修改人",
  34276. "type": "integer"
  34277. },
  34278. "modifiername": {
  34279. "description": "修改人名称",
  34280. "type": "string"
  34281. },
  34282. "modifysrc": {
  34283. "description": "修改来源 - 1:管理端 2:终端",
  34284. "type": "integer"
  34285. },
  34286. "pickupgoodsagreeunit": {
  34287. "description": "合约乘数",
  34288. "type": "number"
  34289. },
  34290. "pickupgoodsdesc": {
  34291. "description": "描述",
  34292. "type": "string"
  34293. },
  34294. "pickupgoodsid": {
  34295. "description": "提货商品ID",
  34296. "type": "string"
  34297. },
  34298. "pickupgoodsname": {
  34299. "description": "提货商品名称",
  34300. "type": "string"
  34301. },
  34302. "pickupgoodsstatus": {
  34303. "description": "状态 - 1:正常 2:停用 3:注销",
  34304. "type": "integer"
  34305. },
  34306. "pickupgoodsunitid": {
  34307. "description": "单位ID",
  34308. "type": "integer"
  34309. },
  34310. "pickupratio": {
  34311. "description": "提货系数",
  34312. "type": "number"
  34313. },
  34314. "preparedays": {
  34315. "description": "备货期(天)",
  34316. "type": "integer"
  34317. },
  34318. "remark": {
  34319. "description": "备注",
  34320. "type": "string"
  34321. },
  34322. "updatetime": {
  34323. "description": "更新时间",
  34324. "type": "string"
  34325. }
  34326. }
  34327. },
  34328. "models.QhjMgrPositionRsp": {
  34329. "type": "object",
  34330. "properties": {
  34331. "accountid": {
  34332. "description": "账号Id",
  34333. "type": "integer"
  34334. },
  34335. "accountname": {
  34336. "description": "用户名称",
  34337. "type": "string"
  34338. },
  34339. "agreeunit": {
  34340. "description": "合约乘数",
  34341. "type": "number"
  34342. },
  34343. "averageprice": {
  34344. "description": "均价",
  34345. "type": "number"
  34346. },
  34347. "avialqty": {
  34348. "description": "可用数量",
  34349. "type": "number"
  34350. },
  34351. "decimalplace": {
  34352. "description": "报价小数位",
  34353. "type": "integer"
  34354. },
  34355. "enumdicname": {
  34356. "description": "单位名称(商品)",
  34357. "type": "string"
  34358. },
  34359. "frozenqty": {
  34360. "description": "冻结数量",
  34361. "type": "number"
  34362. },
  34363. "goodscode": {
  34364. "description": "商品代码(内部)",
  34365. "type": "string"
  34366. },
  34367. "goodsid": {
  34368. "description": "商品Id",
  34369. "type": "integer"
  34370. },
  34371. "goodsname": {
  34372. "description": "商品名称",
  34373. "type": "string"
  34374. },
  34375. "goodunitid": {
  34376. "description": "报价单位ID",
  34377. "type": "integer"
  34378. },
  34379. "holderamount": {
  34380. "description": "金额",
  34381. "type": "number"
  34382. },
  34383. "holderqty": {
  34384. "description": "持有数量",
  34385. "type": "number"
  34386. },
  34387. "holdertype": {
  34388. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  34389. "type": "integer"
  34390. },
  34391. "logincode": {
  34392. "description": "登录代码(账户)",
  34393. "type": "string"
  34394. },
  34395. "marketid": {
  34396. "description": "市场id",
  34397. "type": "integer"
  34398. },
  34399. "qtydecimalplace": {
  34400. "description": "成交量小数位",
  34401. "type": "integer"
  34402. },
  34403. "trademode": {
  34404. "description": "交易模式",
  34405. "type": "integer"
  34406. },
  34407. "userid": {
  34408. "description": "用户id",
  34409. "type": "integer"
  34410. },
  34411. "userinfotype": {
  34412. "description": "账户类型 1-个人 2-企业",
  34413. "type": "integer"
  34414. }
  34415. }
  34416. },
  34417. "models.QhjMgrSubArea": {
  34418. "type": "object",
  34419. "properties": {
  34420. "accountname": {
  34421. "description": "账户名称(机构名称)",
  34422. "type": "string"
  34423. },
  34424. "memberuserid": {
  34425. "description": "所属会员ID",
  34426. "type": "integer"
  34427. },
  34428. "parenttopuser": {
  34429. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  34430. "type": "string"
  34431. },
  34432. "parentuserid": {
  34433. "description": "所属机构ID",
  34434. "type": "integer"
  34435. },
  34436. "rootuserid": {
  34437. "description": "根用户ID",
  34438. "type": "string"
  34439. },
  34440. "subaccountlevel": {
  34441. "description": "子账户层数",
  34442. "type": "integer"
  34443. },
  34444. "subarealevelpath": {
  34445. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  34446. "type": "string"
  34447. },
  34448. "userid": {
  34449. "description": "用户ID",
  34450. "type": "integer"
  34451. },
  34452. "usertype": {
  34453. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34454. "type": "integer"
  34455. }
  34456. }
  34457. },
  34458. "models.QhjMgrTradeDetailRsp": {
  34459. "type": "object",
  34460. "properties": {
  34461. "accountid": {
  34462. "description": "资金账号",
  34463. "type": "integer"
  34464. },
  34465. "accountname": {
  34466. "description": "用户名称",
  34467. "type": "string"
  34468. },
  34469. "agreeunit": {
  34470. "description": "合约乘数",
  34471. "type": "number"
  34472. },
  34473. "buyorsell": {
  34474. "description": "成交类型(方向) 0:买 1:卖",
  34475. "type": "integer"
  34476. },
  34477. "decimalplace": {
  34478. "description": "报价小数位",
  34479. "type": "integer"
  34480. },
  34481. "enumdicname": {
  34482. "description": "单位名称(商品)",
  34483. "type": "string"
  34484. },
  34485. "goodscode": {
  34486. "description": "商品代码(内部)",
  34487. "type": "string"
  34488. },
  34489. "goodsid": {
  34490. "description": "商品id",
  34491. "type": "integer"
  34492. },
  34493. "goodsname": {
  34494. "description": "商品名称",
  34495. "type": "string"
  34496. },
  34497. "goodunitid": {
  34498. "description": "报价单位ID",
  34499. "type": "integer"
  34500. },
  34501. "logincode": {
  34502. "description": "登录代码(账户)",
  34503. "type": "string"
  34504. },
  34505. "marketid": {
  34506. "description": "市场id",
  34507. "type": "integer"
  34508. },
  34509. "orderid": {
  34510. "description": "关联委托单号",
  34511. "type": "string"
  34512. },
  34513. "qtydecimalplace": {
  34514. "description": "成交量小数位",
  34515. "type": "integer"
  34516. },
  34517. "tradeamount": {
  34518. "description": "金额",
  34519. "type": "number"
  34520. },
  34521. "tradedate": {
  34522. "description": "交易日",
  34523. "type": "string"
  34524. },
  34525. "tradeid": {
  34526. "description": "成交单号",
  34527. "type": "string"
  34528. },
  34529. "trademode": {
  34530. "description": "交易模式",
  34531. "type": "integer"
  34532. },
  34533. "tradeprice": {
  34534. "description": "价格",
  34535. "type": "number"
  34536. },
  34537. "tradeqty": {
  34538. "description": "数量",
  34539. "type": "number"
  34540. },
  34541. "tradetime": {
  34542. "description": "成交时间",
  34543. "type": "string"
  34544. },
  34545. "userid": {
  34546. "description": "用户id",
  34547. "type": "integer"
  34548. },
  34549. "userinfotype": {
  34550. "description": "账户类型 1-个人 2-企业",
  34551. "type": "integer"
  34552. }
  34553. }
  34554. },
  34555. "models.QhjMgrTradeOrderDetailRsp": {
  34556. "type": "object",
  34557. "properties": {
  34558. "accountid": {
  34559. "description": "资金账号",
  34560. "type": "integer"
  34561. },
  34562. "accountname": {
  34563. "description": "用户名称",
  34564. "type": "string"
  34565. },
  34566. "agreeunit": {
  34567. "description": "合约乘数",
  34568. "type": "number"
  34569. },
  34570. "amount": {
  34571. "description": "金额",
  34572. "type": "number"
  34573. },
  34574. "decimalplace": {
  34575. "description": "报价小数位",
  34576. "type": "integer"
  34577. },
  34578. "enumdicname": {
  34579. "description": "单位名称(商品)",
  34580. "type": "string"
  34581. },
  34582. "goodscode": {
  34583. "description": "商品代码(内部)",
  34584. "type": "string"
  34585. },
  34586. "goodsid": {
  34587. "description": "商品id",
  34588. "type": "integer"
  34589. },
  34590. "goodsname": {
  34591. "description": "商品名称",
  34592. "type": "string"
  34593. },
  34594. "goodunitid": {
  34595. "description": "报价单位ID",
  34596. "type": "integer"
  34597. },
  34598. "logincode": {
  34599. "description": "登录代码(账户)",
  34600. "type": "string"
  34601. },
  34602. "marketid": {
  34603. "description": "市场id",
  34604. "type": "integer"
  34605. },
  34606. "orderid": {
  34607. "description": "关联委托单号",
  34608. "type": "string"
  34609. },
  34610. "orderprice": {
  34611. "description": "价格",
  34612. "type": "number"
  34613. },
  34614. "orderqty": {
  34615. "description": "数量",
  34616. "type": "number"
  34617. },
  34618. "orderstatus": {
  34619. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34620. "type": "integer"
  34621. },
  34622. "ordertime": {
  34623. "description": "委托时间",
  34624. "type": "string"
  34625. },
  34626. "qtydecimalplace": {
  34627. "description": "成交量小数位",
  34628. "type": "integer"
  34629. },
  34630. "tradedate": {
  34631. "description": "交易日",
  34632. "type": "string"
  34633. },
  34634. "trademode": {
  34635. "description": "交易模式",
  34636. "type": "integer"
  34637. },
  34638. "userid": {
  34639. "description": "用户id",
  34640. "type": "integer"
  34641. },
  34642. "userinfotype": {
  34643. "description": "账户类型 1-个人 2-企业",
  34644. "type": "integer"
  34645. }
  34646. }
  34647. },
  34648. "models.QhjMgrTradePayOrder": {
  34649. "type": "object",
  34650. "properties": {
  34651. "accountname": {
  34652. "description": "用户名称",
  34653. "type": "string"
  34654. },
  34655. "advanceratio": {
  34656. "description": "首付比率",
  34657. "type": "number"
  34658. },
  34659. "agreeunit": {
  34660. "description": "合约乘数",
  34661. "type": "number"
  34662. },
  34663. "buyaccountid": {
  34664. "description": "买方账号ID[报价币种]",
  34665. "type": "integer"
  34666. },
  34667. "buyorderid": {
  34668. "description": "买方委托单号(关联单号)",
  34669. "type": "string"
  34670. },
  34671. "createtime": {
  34672. "description": "创建时间",
  34673. "type": "string"
  34674. },
  34675. "decimalplace": {
  34676. "description": "报价小数位",
  34677. "type": "integer"
  34678. },
  34679. "enumdicname": {
  34680. "description": "单位名称(商品)",
  34681. "type": "string"
  34682. },
  34683. "goodscode": {
  34684. "description": "商品代码(内部)",
  34685. "type": "string"
  34686. },
  34687. "goodsid": {
  34688. "description": "商品ID",
  34689. "type": "integer"
  34690. },
  34691. "goodsname": {
  34692. "description": "商品名称",
  34693. "type": "string"
  34694. },
  34695. "goodunitid": {
  34696. "description": "报价单位ID",
  34697. "type": "integer"
  34698. },
  34699. "logincode": {
  34700. "description": "登录代码(账户)",
  34701. "type": "string"
  34702. },
  34703. "marketid": {
  34704. "description": "市场id",
  34705. "type": "integer"
  34706. },
  34707. "offamount": {
  34708. "description": "优惠金额",
  34709. "type": "number"
  34710. },
  34711. "operatetype": {
  34712. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34713. "type": "integer"
  34714. },
  34715. "payamount": {
  34716. "description": "支付金额(金额)",
  34717. "type": "number"
  34718. },
  34719. "payflag": {
  34720. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34721. "type": "integer"
  34722. },
  34723. "paylimitedtime": {
  34724. "description": "支付期限",
  34725. "type": "string"
  34726. },
  34727. "paytime": {
  34728. "description": "付款时间",
  34729. "type": "string"
  34730. },
  34731. "qtydecimalplace": {
  34732. "description": "成交量小数位",
  34733. "type": "integer"
  34734. },
  34735. "sellaccountid": {
  34736. "description": "卖方账号ID[报价币种]",
  34737. "type": "integer"
  34738. },
  34739. "sellorderid": {
  34740. "description": "卖方委托单号",
  34741. "type": "string"
  34742. },
  34743. "tradeamount": {
  34744. "description": "成交金额(优惠后金额)",
  34745. "type": "number"
  34746. },
  34747. "tradecharge": {
  34748. "description": "成交手续费(买方)",
  34749. "type": "number"
  34750. },
  34751. "tradedate": {
  34752. "description": "交易日(yyyyMMdd)",
  34753. "type": "string"
  34754. },
  34755. "tradeid": {
  34756. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34757. "type": "string"
  34758. },
  34759. "trademode": {
  34760. "description": "交易模式",
  34761. "type": "integer"
  34762. },
  34763. "tradeprice": {
  34764. "description": "成交价格(价格)",
  34765. "type": "number"
  34766. },
  34767. "tradeqty": {
  34768. "description": "成交数量(数量)",
  34769. "type": "number"
  34770. },
  34771. "tradetime": {
  34772. "description": "成交时间",
  34773. "type": "string"
  34774. },
  34775. "userid": {
  34776. "description": "用户id",
  34777. "type": "integer"
  34778. },
  34779. "userinfotype": {
  34780. "description": "账户类型 1-个人 2-企业",
  34781. "type": "integer"
  34782. }
  34783. }
  34784. },
  34785. "models.QhjMyTeamEx": {
  34786. "type": "object",
  34787. "properties": {
  34788. "accountname": {
  34789. "description": "用户名称",
  34790. "type": "string"
  34791. },
  34792. "accountstatus": {
  34793. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34794. "type": "integer"
  34795. },
  34796. "createtime": {
  34797. "description": "创建时间",
  34798. "type": "string"
  34799. },
  34800. "mobile": {
  34801. "description": "手机号码",
  34802. "type": "string"
  34803. },
  34804. "refereeuserid": {
  34805. "description": "推荐人id",
  34806. "type": "integer"
  34807. },
  34808. "refernum": {
  34809. "description": "推荐码",
  34810. "type": "string"
  34811. },
  34812. "subList": {
  34813. "type": "array",
  34814. "items": {
  34815. "$ref": "#/definitions/models.QhjMyTeamEx"
  34816. }
  34817. },
  34818. "userid": {
  34819. "description": "用户id",
  34820. "type": "integer"
  34821. },
  34822. "userinfotype": {
  34823. "description": "用户类型 1-个人 2-企业",
  34824. "type": "integer"
  34825. }
  34826. }
  34827. },
  34828. "models.QhjNodeAgreementConfig": {
  34829. "type": "object",
  34830. "properties": {
  34831. "agreementcontent": {
  34832. "description": "协议内容",
  34833. "type": "string"
  34834. },
  34835. "agreementid": {
  34836. "description": "协议ID",
  34837. "type": "integer"
  34838. },
  34839. "agreementname": {
  34840. "description": "协议名称",
  34841. "type": "string"
  34842. },
  34843. "agreementno": {
  34844. "description": "协议编号",
  34845. "type": "string"
  34846. },
  34847. "agreementtype": {
  34848. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34849. "type": "integer"
  34850. },
  34851. "agreementversion": {
  34852. "description": "协议版本号",
  34853. "type": "integer"
  34854. },
  34855. "configid": {
  34856. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  34857. "type": "integer"
  34858. },
  34859. "createtime": {
  34860. "description": "创建时间",
  34861. "type": "string"
  34862. },
  34863. "goodsid": {
  34864. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34865. "type": "integer"
  34866. },
  34867. "nodetype": {
  34868. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  34869. "type": "integer"
  34870. }
  34871. }
  34872. },
  34873. "models.QhjParentAreaList": {
  34874. "type": "object",
  34875. "properties": {
  34876. "accountname": {
  34877. "description": "账户名称(机构名称)",
  34878. "type": "string"
  34879. },
  34880. "userid": {
  34881. "description": "用户ID",
  34882. "type": "integer"
  34883. },
  34884. "usertype": {
  34885. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34886. "type": "integer"
  34887. }
  34888. }
  34889. },
  34890. "models.QhjPayOrder": {
  34891. "type": "object",
  34892. "properties": {
  34893. "advanceratio": {
  34894. "description": "首付比率",
  34895. "type": "number"
  34896. },
  34897. "buyaccountid": {
  34898. "description": "买方账号ID[报价币种]",
  34899. "type": "integer"
  34900. },
  34901. "buyorderid": {
  34902. "description": "买方委托单号",
  34903. "type": "string"
  34904. },
  34905. "createtime": {
  34906. "description": "创建时间",
  34907. "type": "string"
  34908. },
  34909. "decimalplace": {
  34910. "description": "商品报价小数位",
  34911. "type": "integer"
  34912. },
  34913. "enumdicname": {
  34914. "description": "单位名称",
  34915. "type": "string"
  34916. },
  34917. "goodscode": {
  34918. "description": "商品代码",
  34919. "type": "string"
  34920. },
  34921. "goodsid": {
  34922. "description": "商品ID",
  34923. "type": "integer"
  34924. },
  34925. "goodsname": {
  34926. "description": "商品名称",
  34927. "type": "string"
  34928. },
  34929. "goodunitid": {
  34930. "description": "商品单位id",
  34931. "type": "integer"
  34932. },
  34933. "marketid": {
  34934. "description": "市场ID",
  34935. "type": "integer"
  34936. },
  34937. "offamount": {
  34938. "description": "优惠金额",
  34939. "type": "number"
  34940. },
  34941. "operatetype": {
  34942. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34943. "type": "integer"
  34944. },
  34945. "payamount": {
  34946. "description": "支付金额",
  34947. "type": "number"
  34948. },
  34949. "payflag": {
  34950. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34951. "type": "integer"
  34952. },
  34953. "paylimitedtime": {
  34954. "description": "支付期限",
  34955. "type": "string"
  34956. },
  34957. "paytime": {
  34958. "description": "付款时间",
  34959. "type": "string"
  34960. },
  34961. "qtydecimalplace": {
  34962. "description": "成交量小数位",
  34963. "type": "integer"
  34964. },
  34965. "sellaccountid": {
  34966. "description": "卖方账号ID[报价币种]",
  34967. "type": "integer"
  34968. },
  34969. "sellorderid": {
  34970. "description": "卖方委托单号",
  34971. "type": "string"
  34972. },
  34973. "tradeamount": {
  34974. "description": "成交金额(优惠后金额)",
  34975. "type": "number"
  34976. },
  34977. "tradecharge": {
  34978. "description": "成交手续费(买方)",
  34979. "type": "number"
  34980. },
  34981. "tradedate": {
  34982. "description": "交易日(yyyyMMdd)",
  34983. "type": "string"
  34984. },
  34985. "tradeid": {
  34986. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34987. "type": "string"
  34988. },
  34989. "tradeprice": {
  34990. "description": "成交价格",
  34991. "type": "number"
  34992. },
  34993. "tradeqty": {
  34994. "description": "成交数量",
  34995. "type": "number"
  34996. }
  34997. }
  34998. },
  34999. "models.QhjPickArea": {
  35000. "type": "object",
  35001. "properties": {
  35002. "address": {
  35003. "description": "详细地址",
  35004. "type": "string"
  35005. },
  35006. "cityid": {
  35007. "description": "市",
  35008. "type": "integer"
  35009. },
  35010. "cityname": {
  35011. "description": "城市名称",
  35012. "type": "string"
  35013. },
  35014. "countryid": {
  35015. "description": "国家",
  35016. "type": "integer"
  35017. },
  35018. "countryname": {
  35019. "description": "国家名称",
  35020. "type": "string"
  35021. },
  35022. "districtid": {
  35023. "description": "地区",
  35024. "type": "integer"
  35025. },
  35026. "districtname": {
  35027. "description": "地区名称",
  35028. "type": "string"
  35029. },
  35030. "fromuserid": {
  35031. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  35032. "type": "integer"
  35033. },
  35034. "fromusername": {
  35035. "description": "所属机构名称",
  35036. "type": "string"
  35037. },
  35038. "provinceid": {
  35039. "description": "省",
  35040. "type": "integer"
  35041. },
  35042. "provincename": {
  35043. "description": "省名称",
  35044. "type": "string"
  35045. },
  35046. "suborgtype": {
  35047. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  35048. "type": "integer"
  35049. },
  35050. "userid": {
  35051. "description": "机构用户ID 其他做市关系,都设置为 1",
  35052. "type": "integer"
  35053. },
  35054. "username": {
  35055. "description": "机构用户名称(门店门称)",
  35056. "type": "string"
  35057. }
  35058. }
  35059. },
  35060. "models.QhjPickGoods": {
  35061. "type": "object",
  35062. "properties": {
  35063. "enumdicname": {
  35064. "description": "单位名称(提货商品)",
  35065. "type": "string"
  35066. },
  35067. "goodsid": {
  35068. "description": "商品id",
  35069. "type": "integer"
  35070. },
  35071. "imageaddress": {
  35072. "description": "图片",
  35073. "type": "string"
  35074. },
  35075. "modifierid": {
  35076. "description": "修改人",
  35077. "type": "integer"
  35078. },
  35079. "modifiername": {
  35080. "description": "修改人名称",
  35081. "type": "string"
  35082. },
  35083. "modifysrc": {
  35084. "description": "修改来源 - 1:管理端 2:终端",
  35085. "type": "integer"
  35086. },
  35087. "pickupgoodsagreeunit": {
  35088. "description": "合约乘数",
  35089. "type": "number"
  35090. },
  35091. "pickupgoodsdesc": {
  35092. "description": "描述",
  35093. "type": "string"
  35094. },
  35095. "pickupgoodsid": {
  35096. "description": "提货商品ID",
  35097. "type": "string"
  35098. },
  35099. "pickupgoodsname": {
  35100. "description": "提货商品名称",
  35101. "type": "string"
  35102. },
  35103. "pickupgoodsstatus": {
  35104. "description": "状态 - 1:正常 2:停用 3:注销",
  35105. "type": "integer"
  35106. },
  35107. "pickupgoodsunitid": {
  35108. "description": "单位ID",
  35109. "type": "integer"
  35110. },
  35111. "pickupratio": {
  35112. "description": "提货系数",
  35113. "type": "number"
  35114. },
  35115. "preparedays": {
  35116. "description": "备货期(天)",
  35117. "type": "integer"
  35118. },
  35119. "remark": {
  35120. "description": "备注",
  35121. "type": "string"
  35122. },
  35123. "updatetime": {
  35124. "description": "更新时间",
  35125. "type": "string"
  35126. }
  35127. }
  35128. },
  35129. "models.QhjRSTriggerLog": {
  35130. "type": "object",
  35131. "properties": {
  35132. "accountid": {
  35133. "description": "用户资金账户",
  35134. "type": "integer"
  35135. },
  35136. "accountname": {
  35137. "description": "账号名称(ACCOUNTID对应的名称)",
  35138. "type": "string"
  35139. },
  35140. "currencyid": {
  35141. "description": "币种id",
  35142. "type": "integer"
  35143. },
  35144. "currencyname": {
  35145. "description": "币种名称",
  35146. "type": "string"
  35147. },
  35148. "decimalplace": {
  35149. "description": "商品报价小数位",
  35150. "type": "integer"
  35151. },
  35152. "enumdicname": {
  35153. "description": "单位名称",
  35154. "type": "string"
  35155. },
  35156. "goodscode": {
  35157. "description": "定投商品代码",
  35158. "type": "string"
  35159. },
  35160. "goodsid": {
  35161. "description": "定投商品ID",
  35162. "type": "integer"
  35163. },
  35164. "goodsname": {
  35165. "description": "定投商品名称",
  35166. "type": "string"
  35167. },
  35168. "goodunitid": {
  35169. "description": "定投商品单位id",
  35170. "type": "integer"
  35171. },
  35172. "logid": {
  35173. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  35174. "type": "string"
  35175. },
  35176. "logincode": {
  35177. "description": "账号(登录代码)",
  35178. "type": "string"
  35179. },
  35180. "qtydecimalplace": {
  35181. "description": "成交量小数位",
  35182. "type": "integer"
  35183. },
  35184. "regularlycycle": {
  35185. "description": "定投频率 - 1:每周 2:每月",
  35186. "type": "integer"
  35187. },
  35188. "regularlycyclevalue": {
  35189. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  35190. "type": "string"
  35191. },
  35192. "regularlymode": {
  35193. "description": "定投方式 - 1:按数量 2:按金额",
  35194. "type": "integer"
  35195. },
  35196. "regularlymodevalue": {
  35197. "description": "定投方式值 - 数量或金额",
  35198. "type": "number"
  35199. },
  35200. "regularlystrategyid": {
  35201. "description": "定投策略ID",
  35202. "type": "integer"
  35203. },
  35204. "retcode": {
  35205. "description": "错误码",
  35206. "type": "string"
  35207. },
  35208. "tradeid": {
  35209. "description": "成交单ID",
  35210. "type": "string"
  35211. },
  35212. "triggeramount": {
  35213. "description": "触发金额",
  35214. "type": "number"
  35215. },
  35216. "triggerqty": {
  35217. "description": "触发数量",
  35218. "type": "number"
  35219. },
  35220. "triggerstatus": {
  35221. "description": "触发状态 - 1:成功 2:失败",
  35222. "type": "integer"
  35223. },
  35224. "triggertime": {
  35225. "description": "触发时间",
  35226. "type": "string"
  35227. },
  35228. "triggertradedate": {
  35229. "description": "触发交易日",
  35230. "type": "string"
  35231. },
  35232. "userid": {
  35233. "description": "所属用户ID",
  35234. "type": "integer"
  35235. },
  35236. "userinfotype": {
  35237. "description": "用户类型 1-个人 2-企业",
  35238. "type": "integer"
  35239. },
  35240. "username": {
  35241. "description": "用户名称(userid对应的名称)",
  35242. "type": "string"
  35243. }
  35244. }
  35245. },
  35246. "models.QhjRStrategy": {
  35247. "type": "object",
  35248. "properties": {
  35249. "accountid": {
  35250. "description": "用户资金账户",
  35251. "type": "integer"
  35252. },
  35253. "accountname": {
  35254. "description": "账号名称(ACCOUNTID对应的名称)",
  35255. "type": "string"
  35256. },
  35257. "currencyid": {
  35258. "description": "币种id",
  35259. "type": "integer"
  35260. },
  35261. "currencyname": {
  35262. "description": "币种名称",
  35263. "type": "string"
  35264. },
  35265. "decimalplace": {
  35266. "description": "商品报价小数位",
  35267. "type": "integer"
  35268. },
  35269. "enumdicname": {
  35270. "description": "单位名称",
  35271. "type": "string"
  35272. },
  35273. "goodscode": {
  35274. "description": "定投商品代码",
  35275. "type": "string"
  35276. },
  35277. "goodsid": {
  35278. "description": "定投商品ID",
  35279. "type": "integer"
  35280. },
  35281. "goodsname": {
  35282. "description": "定投商品名称",
  35283. "type": "string"
  35284. },
  35285. "goodunitid": {
  35286. "description": "定投商品单位id",
  35287. "type": "integer"
  35288. },
  35289. "lasteffecttradedate": {
  35290. "description": "最新生效交易日",
  35291. "type": "string"
  35292. },
  35293. "laststoptradedate": {
  35294. "description": "最新暂停交易日",
  35295. "type": "string"
  35296. },
  35297. "lasttriggertradedate": {
  35298. "description": "最新触发交易日",
  35299. "type": "string"
  35300. },
  35301. "logincode": {
  35302. "description": "账号(登录代码)",
  35303. "type": "string"
  35304. },
  35305. "nexttriggeramount": {
  35306. "description": "下次触发金额",
  35307. "type": "number"
  35308. },
  35309. "nexttriggerdate": {
  35310. "description": "下次触发日期",
  35311. "type": "string"
  35312. },
  35313. "nexttriggerqty": {
  35314. "description": "下次触发数量 [按小数位放大值]",
  35315. "type": "number"
  35316. },
  35317. "qtydecimalplace": {
  35318. "description": "成交量小数位",
  35319. "type": "integer"
  35320. },
  35321. "regularlycycle": {
  35322. "description": "定投频率 - 1:每周 2:每月",
  35323. "type": "integer"
  35324. },
  35325. "regularlycyclevalue": {
  35326. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  35327. "type": "string"
  35328. },
  35329. "regularlymode": {
  35330. "description": "定投方式 - 1:按数量 2:按金额",
  35331. "type": "integer"
  35332. },
  35333. "regularlymodevalue": {
  35334. "description": "定投方式值 - 数量或金额",
  35335. "type": "number"
  35336. },
  35337. "regularlystrategyid": {
  35338. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  35339. "type": "integer"
  35340. },
  35341. "regularlystrategystatus": {
  35342. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  35343. "type": "integer"
  35344. },
  35345. "remark": {
  35346. "description": "备注",
  35347. "type": "string"
  35348. },
  35349. "triggersuccesstimes": {
  35350. "description": "累计定投成功次数",
  35351. "type": "string"
  35352. },
  35353. "triggertotalamount": {
  35354. "description": "累计定投金额(成功)",
  35355. "type": "number"
  35356. },
  35357. "triggertotalqty": {
  35358. "description": "累计定投数量(成功) [按小数位放大值]",
  35359. "type": "number"
  35360. },
  35361. "triggertotaltimes": {
  35362. "description": "累计定投总次数",
  35363. "type": "string"
  35364. },
  35365. "updatesrc": {
  35366. "description": "更新来源 - 1:管理端 2:终端",
  35367. "type": "integer"
  35368. },
  35369. "updatetime": {
  35370. "description": "更新时间",
  35371. "type": "string"
  35372. },
  35373. "updatorid": {
  35374. "description": "更新人",
  35375. "type": "string"
  35376. },
  35377. "userid": {
  35378. "description": "所属用户ID",
  35379. "type": "integer"
  35380. },
  35381. "userinfotype": {
  35382. "description": "用户类型 1-个人 2-企业",
  35383. "type": "integer"
  35384. },
  35385. "username": {
  35386. "description": "用户名称(userid对应的名称)",
  35387. "type": "string"
  35388. }
  35389. }
  35390. },
  35391. "models.QhjReckonPriceLog": {
  35392. "type": "object",
  35393. "properties": {
  35394. "decimalplace": {
  35395. "description": "商品报价小数位",
  35396. "type": "integer"
  35397. },
  35398. "goodscode": {
  35399. "description": "商品代码",
  35400. "type": "string"
  35401. },
  35402. "goodsid": {
  35403. "description": "商品ID",
  35404. "type": "integer"
  35405. },
  35406. "goodsname": {
  35407. "description": "商品名称",
  35408. "type": "string"
  35409. },
  35410. "lastreckonprice": {
  35411. "description": "上日结算价",
  35412. "type": "number"
  35413. },
  35414. "nextdnlimitprice": {
  35415. "description": "下个交易日跌停价",
  35416. "type": "number"
  35417. },
  35418. "nexttrade": {
  35419. "description": "下个交易日",
  35420. "type": "string"
  35421. },
  35422. "nextuplimitprice": {
  35423. "description": "下个交易日涨停价",
  35424. "type": "number"
  35425. },
  35426. "reckonprice": {
  35427. "description": "今日结算价(定投价)",
  35428. "type": "number"
  35429. },
  35430. "reckontime": {
  35431. "description": "结算时间",
  35432. "type": "string"
  35433. },
  35434. "totalholderqty": {
  35435. "description": "总持仓数",
  35436. "type": "integer"
  35437. },
  35438. "totalstock": {
  35439. "description": "总库存",
  35440. "type": "integer"
  35441. },
  35442. "tradedate": {
  35443. "description": "交易日",
  35444. "type": "string"
  35445. },
  35446. "updowncount": {
  35447. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  35448. "type": "integer"
  35449. },
  35450. "updownflag": {
  35451. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  35452. "type": "integer"
  35453. },
  35454. "updownrate": {
  35455. "description": "今日涨跌幅",
  35456. "type": "number"
  35457. },
  35458. "updownrate_2d": {
  35459. "description": "连续两日涨跌幅",
  35460. "type": "number"
  35461. },
  35462. "updownrate_3d": {
  35463. "description": "连续三日涨跌幅",
  35464. "type": "number"
  35465. }
  35466. }
  35467. },
  35468. "models.QhjScoreLog": {
  35469. "type": "object",
  35470. "properties": {
  35471. "accountid": {
  35472. "description": "账户ID",
  35473. "type": "integer"
  35474. },
  35475. "createtime": {
  35476. "description": "创建时间(时间)",
  35477. "type": "string"
  35478. },
  35479. "goodsid": {
  35480. "description": "商品ID",
  35481. "type": "integer"
  35482. },
  35483. "hasuploaded": {
  35484. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  35485. "type": "integer"
  35486. },
  35487. "logid": {
  35488. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35489. "type": "string"
  35490. },
  35491. "marketid": {
  35492. "description": "市场ID",
  35493. "type": "integer"
  35494. },
  35495. "relatedamount": {
  35496. "description": "关联金额",
  35497. "type": "number"
  35498. },
  35499. "relatedorderid": {
  35500. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  35501. "type": "string"
  35502. },
  35503. "scoreconfigvalue1": {
  35504. "description": "积分配置1",
  35505. "type": "integer"
  35506. },
  35507. "scoreconfigvalue2": {
  35508. "description": "积分配置1",
  35509. "type": "integer"
  35510. },
  35511. "scoretype": {
  35512. "description": "积分类型 - 1:提货积分",
  35513. "type": "integer"
  35514. },
  35515. "scorevalue": {
  35516. "description": "积分",
  35517. "type": "number"
  35518. },
  35519. "tradedate": {
  35520. "description": "交易日(yyyyMMdd)",
  35521. "type": "string"
  35522. },
  35523. "uploadedtime": {
  35524. "description": "同步时间",
  35525. "type": "string"
  35526. },
  35527. "userid": {
  35528. "description": "用户ID",
  35529. "type": "integer"
  35530. }
  35531. }
  35532. },
  35533. "models.QhjSiteColumnDetail": {
  35534. "type": "object",
  35535. "properties": {
  35536. "author": {
  35537. "description": "作者",
  35538. "type": "string"
  35539. },
  35540. "brief": {
  35541. "description": "简介",
  35542. "type": "string"
  35543. },
  35544. "columnid": {
  35545. "description": "所属栏目",
  35546. "type": "integer"
  35547. },
  35548. "context": {
  35549. "description": "内容",
  35550. "type": "string"
  35551. },
  35552. "coverimage": {
  35553. "description": "封面图片",
  35554. "type": "string"
  35555. },
  35556. "creaedate": {
  35557. "description": "创建时间",
  35558. "type": "string"
  35559. },
  35560. "creatorid": {
  35561. "description": "创建人",
  35562. "type": "integer"
  35563. },
  35564. "hits": {
  35565. "description": "点击数",
  35566. "type": "integer"
  35567. },
  35568. "id": {
  35569. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  35570. "type": "integer"
  35571. },
  35572. "isshow": {
  35573. "description": "是否展示 - 0:不展示 1:展示",
  35574. "type": "integer"
  35575. },
  35576. "istop": {
  35577. "description": "是否置顶 - 0:不置 1:置顶",
  35578. "type": "integer"
  35579. },
  35580. "modifierid": {
  35581. "description": "操作人",
  35582. "type": "integer"
  35583. },
  35584. "publishdate": {
  35585. "description": "发布日期",
  35586. "type": "string"
  35587. },
  35588. "status": {
  35589. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  35590. "type": "integer"
  35591. },
  35592. "title": {
  35593. "description": "标题",
  35594. "type": "string"
  35595. },
  35596. "updatedate": {
  35597. "description": "修改时间",
  35598. "type": "string"
  35599. },
  35600. "userid": {
  35601. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  35602. "type": "integer"
  35603. },
  35604. "username": {
  35605. "description": "用户名称",
  35606. "type": "string"
  35607. }
  35608. }
  35609. },
  35610. "models.QhjTeamOrder": {
  35611. "type": "object",
  35612. "properties": {
  35613. "accountid": {
  35614. "description": "账户ID[报价币种]",
  35615. "type": "integer"
  35616. },
  35617. "accountname": {
  35618. "description": "账户名称",
  35619. "type": "string"
  35620. },
  35621. "agreeunit": {
  35622. "description": "合约乘数",
  35623. "type": "number"
  35624. },
  35625. "buyorsell": {
  35626. "description": "方向 - 0:买 1:卖",
  35627. "type": "integer"
  35628. },
  35629. "decimalplace": {
  35630. "description": "报价小数位",
  35631. "type": "integer"
  35632. },
  35633. "enumdicname": {
  35634. "description": "单位名称",
  35635. "type": "string"
  35636. },
  35637. "goodscode": {
  35638. "description": "商品代码(内部)",
  35639. "type": "string"
  35640. },
  35641. "goodsid": {
  35642. "description": "商品ID",
  35643. "type": "integer"
  35644. },
  35645. "goodsname": {
  35646. "description": "商品名称",
  35647. "type": "string"
  35648. },
  35649. "goodunitid": {
  35650. "description": "报价单位ID",
  35651. "type": "integer"
  35652. },
  35653. "marketid": {
  35654. "description": "市场ID",
  35655. "type": "integer"
  35656. },
  35657. "marketname": {
  35658. "description": "市场名称",
  35659. "type": "string"
  35660. },
  35661. "qtydecimalplace": {
  35662. "description": "成交量小数位",
  35663. "type": "integer"
  35664. },
  35665. "refereeuserid": {
  35666. "description": "推荐人ID",
  35667. "type": "integer"
  35668. },
  35669. "tradeamount": {
  35670. "description": "成交金额[账户币种,用于所有权]",
  35671. "type": "number"
  35672. },
  35673. "tradedate": {
  35674. "description": "交易日(yyyyMMdd)",
  35675. "type": "string"
  35676. },
  35677. "trademode": {
  35678. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35679. "type": "integer"
  35680. },
  35681. "tradeprice": {
  35682. "description": "成交价格",
  35683. "type": "number"
  35684. },
  35685. "tradeqty": {
  35686. "description": "成交数量",
  35687. "type": "number"
  35688. },
  35689. "tradetime": {
  35690. "description": "成交时间",
  35691. "type": "string"
  35692. },
  35693. "userid": {
  35694. "description": "用户ID",
  35695. "type": "integer"
  35696. }
  35697. }
  35698. },
  35699. "models.QhjTradeGoodsPickup": {
  35700. "type": "object",
  35701. "properties": {
  35702. "accountid": {
  35703. "description": "账户ID",
  35704. "type": "integer"
  35705. },
  35706. "address": {
  35707. "description": "提货人详细地址",
  35708. "type": "string"
  35709. },
  35710. "amount": {
  35711. "description": "提货金额",
  35712. "type": "number"
  35713. },
  35714. "artradedate": {
  35715. "description": "自动收货交易日(yyyyMMdd)",
  35716. "type": "string"
  35717. },
  35718. "auditer": {
  35719. "description": "审核人",
  35720. "type": "integer"
  35721. },
  35722. "auditsrc": {
  35723. "description": "更新来源 - 1:管理端 2:终端",
  35724. "type": "integer"
  35725. },
  35726. "audittime": {
  35727. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  35728. "type": "string"
  35729. },
  35730. "audittradedate": {
  35731. "description": "审核交易日(yyyyMMdd)",
  35732. "type": "string"
  35733. },
  35734. "cardnum": {
  35735. "description": "提货人证件号码",
  35736. "type": "string"
  35737. },
  35738. "cardtypeid": {
  35739. "description": "提货人证件类型",
  35740. "type": "integer"
  35741. },
  35742. "checkremark": {
  35743. "description": "审核备注",
  35744. "type": "string"
  35745. },
  35746. "cityid": {
  35747. "description": "市",
  35748. "type": "integer"
  35749. },
  35750. "cityname": {
  35751. "description": "城市名称",
  35752. "type": "string"
  35753. },
  35754. "confirmtime": {
  35755. "description": "取货时间 或 收货时间",
  35756. "type": "string"
  35757. },
  35758. "countryid": {
  35759. "description": "国家",
  35760. "type": "integer"
  35761. },
  35762. "countryname": {
  35763. "description": "国家名称",
  35764. "type": "string"
  35765. },
  35766. "decimalplace": {
  35767. "description": "商品报价小数位",
  35768. "type": "integer"
  35769. },
  35770. "districtid": {
  35771. "description": "地区",
  35772. "type": "integer"
  35773. },
  35774. "districtname": {
  35775. "description": "地区名称",
  35776. "type": "string"
  35777. },
  35778. "enumdicname": {
  35779. "description": "单位名称(提货商品)",
  35780. "type": "string"
  35781. },
  35782. "expresscompany": {
  35783. "description": "物流公司",
  35784. "type": "string"
  35785. },
  35786. "expressnum": {
  35787. "description": "物流单号",
  35788. "type": "string"
  35789. },
  35790. "goodsagreeunit": {
  35791. "description": "交易商品乘数",
  35792. "type": "number"
  35793. },
  35794. "goodscode": {
  35795. "description": "商品代码",
  35796. "type": "string"
  35797. },
  35798. "goodsid": {
  35799. "description": "商品ID",
  35800. "type": "integer"
  35801. },
  35802. "goodsname": {
  35803. "description": "商品名称",
  35804. "type": "string"
  35805. },
  35806. "goodsqty": {
  35807. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  35808. "type": "number"
  35809. },
  35810. "handlestatus": {
  35811. "description": "处理状态",
  35812. "type": "integer"
  35813. },
  35814. "logincode": {
  35815. "description": "账号(登录代码, 有可能为空)",
  35816. "type": "string"
  35817. },
  35818. "marketid": {
  35819. "description": "市场ID",
  35820. "type": "integer"
  35821. },
  35822. "phonenum": {
  35823. "description": "提货人联系方式",
  35824. "type": "string"
  35825. },
  35826. "pickupgoodsagreeunit": {
  35827. "description": "提货商品合约乘数",
  35828. "type": "number"
  35829. },
  35830. "pickupgoodsid": {
  35831. "description": "提货商品ID",
  35832. "type": "string"
  35833. },
  35834. "pickupgoodsname": {
  35835. "description": "提货商品名称",
  35836. "type": "string"
  35837. },
  35838. "pickupgoodsqty": {
  35839. "description": "提货商品手数(数量)",
  35840. "type": "number"
  35841. },
  35842. "pickupgoodsunitid": {
  35843. "description": "单位ID(提货商品)",
  35844. "type": "integer"
  35845. },
  35846. "pickupratio": {
  35847. "description": "提货系数",
  35848. "type": "number"
  35849. },
  35850. "preparedays": {
  35851. "description": "备货期(天)-提货单明细表",
  35852. "type": "integer"
  35853. },
  35854. "provinceid": {
  35855. "description": "省",
  35856. "type": "integer"
  35857. },
  35858. "provincename": {
  35859. "description": "省名称",
  35860. "type": "string"
  35861. },
  35862. "qty": {
  35863. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  35864. "type": "number"
  35865. },
  35866. "qtydecimalplace": {
  35867. "description": "商品数量小数位",
  35868. "type": "integer"
  35869. },
  35870. "recivername": {
  35871. "description": "提货人姓名",
  35872. "type": "string"
  35873. },
  35874. "reqtime": {
  35875. "description": "提货申请时间",
  35876. "type": "string"
  35877. },
  35878. "storeuserid": {
  35879. "description": "门店用户ID (千海金)",
  35880. "type": "integer"
  35881. },
  35882. "storeusername": {
  35883. "description": "门店用户名称",
  35884. "type": "string"
  35885. },
  35886. "takemode": {
  35887. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  35888. "type": "integer"
  35889. },
  35890. "takeorderid": {
  35891. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35892. "type": "string"
  35893. },
  35894. "takeorderstatus": {
  35895. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  35896. "type": "integer"
  35897. },
  35898. "takeremark": {
  35899. "description": "提货备注",
  35900. "type": "string"
  35901. },
  35902. "tradedate": {
  35903. "description": "交易日(yyyyMMdd)",
  35904. "type": "string"
  35905. },
  35906. "updatetime": {
  35907. "description": "更新时间",
  35908. "type": "string"
  35909. },
  35910. "userid": {
  35911. "description": "用户ID",
  35912. "type": "integer"
  35913. },
  35914. "userinfotype": {
  35915. "description": "客户类型 1-个人 2-企业",
  35916. "type": "integer"
  35917. },
  35918. "username": {
  35919. "description": "用户名称",
  35920. "type": "string"
  35921. }
  35922. }
  35923. },
  35924. "models.QhjUserNodeCfgAndStatus": {
  35925. "type": "object",
  35926. "properties": {
  35927. "agreementcontent": {
  35928. "description": "协议内容",
  35929. "type": "string"
  35930. },
  35931. "agreementid": {
  35932. "description": "协议ID",
  35933. "type": "integer"
  35934. },
  35935. "agreementname": {
  35936. "description": "协议名称",
  35937. "type": "string"
  35938. },
  35939. "agreementno": {
  35940. "description": "协议编号",
  35941. "type": "string"
  35942. },
  35943. "agreementtype": {
  35944. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35945. "type": "integer"
  35946. },
  35947. "agreementversion": {
  35948. "description": "协议版本号",
  35949. "type": "integer"
  35950. },
  35951. "configid": {
  35952. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  35953. "type": "integer"
  35954. },
  35955. "createtime": {
  35956. "description": "创建时间",
  35957. "type": "string"
  35958. },
  35959. "goodsid": {
  35960. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35961. "type": "integer"
  35962. },
  35963. "nodetype": {
  35964. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35965. "type": "integer"
  35966. },
  35967. "signtimestamp": {
  35968. "description": "签约状态时间戳(最近一次)",
  35969. "type": "string"
  35970. },
  35971. "tradedate": {
  35972. "description": "签约交易日(yyyyMMdd)",
  35973. "type": "string"
  35974. },
  35975. "userid": {
  35976. "description": "客户ID",
  35977. "type": "integer"
  35978. }
  35979. }
  35980. },
  35981. "models.Qhjgoodsex": {
  35982. "type": "object",
  35983. "properties": {
  35984. "canfinance": {
  35985. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  35986. "type": "integer"
  35987. },
  35988. "canregularlybuy": {
  35989. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  35990. "type": "integer"
  35991. },
  35992. "defaulttradeuserid": {
  35993. "description": "默认交易用户ID",
  35994. "type": "integer"
  35995. },
  35996. "deliverygoodsid": {
  35997. "description": "现货品种ID",
  35998. "type": "integer"
  35999. },
  36000. "goodsid": {
  36001. "description": "商品ID(自增ID SEQ_GOODS)",
  36002. "type": "integer"
  36003. },
  36004. "minamount": {
  36005. "description": "最小购买金额",
  36006. "type": "number"
  36007. },
  36008. "regularlybuyminamount": {
  36009. "description": "定投最小金额",
  36010. "type": "number"
  36011. },
  36012. "regularlybuyminqty": {
  36013. "description": "定投最小数量",
  36014. "type": "number"
  36015. },
  36016. "spotgoodsbrandid": {
  36017. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  36018. "type": "integer"
  36019. },
  36020. "visibilityforenterprise": {
  36021. "description": "企业客户是否可见 - 0:不可见 1:可见",
  36022. "type": "integer"
  36023. },
  36024. "visibilityforpersonal": {
  36025. "description": "个人客户是否可见 - 0:不可见 1:可见",
  36026. "type": "integer"
  36027. },
  36028. "wrstandardid": {
  36029. "description": "现货商品ID",
  36030. "type": "integer"
  36031. }
  36032. }
  36033. },
  36034. "models.QueryErrorInfosRsp": {
  36035. "type": "object",
  36036. "required": [
  36037. "errorid"
  36038. ],
  36039. "properties": {
  36040. "description": {
  36041. "description": "异常描述",
  36042. "type": "string"
  36043. },
  36044. "errorcode": {
  36045. "description": "异常代码",
  36046. "type": "string"
  36047. },
  36048. "errorid": {
  36049. "description": "异常ID",
  36050. "type": "integer"
  36051. },
  36052. "modulecode": {
  36053. "description": "所属模块",
  36054. "type": "string"
  36055. },
  36056. "operatecode": {
  36057. "description": "所属操作",
  36058. "type": "string"
  36059. },
  36060. "rownumber": {
  36061. "description": "行号",
  36062. "type": "string"
  36063. }
  36064. }
  36065. },
  36066. "models.QueryHedgeOrderDetailRsp": {
  36067. "type": "object",
  36068. "properties": {
  36069. "accountid": {
  36070. "description": "账户ID",
  36071. "type": "integer"
  36072. },
  36073. "buyorsell": {
  36074. "description": "买卖 - 0:买 1:卖",
  36075. "type": "integer"
  36076. },
  36077. "cancellogincode": {
  36078. "description": "撤单人",
  36079. "type": "string"
  36080. },
  36081. "channelbuildtype": {
  36082. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  36083. "type": "integer"
  36084. },
  36085. "channelinnerorderstatus": {
  36086. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  36087. "type": "integer"
  36088. },
  36089. "channeloperatetype": {
  36090. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  36091. "type": "integer"
  36092. },
  36093. "closetype": {
  36094. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  36095. "type": "integer"
  36096. },
  36097. "curexchangerate": {
  36098. "description": "当前汇率",
  36099. "type": "number"
  36100. },
  36101. "decimalplace": {
  36102. "description": "商品报价小数位",
  36103. "type": "integer"
  36104. },
  36105. "exchangefullname": {
  36106. "description": "外部交易所全称",
  36107. "type": "string"
  36108. },
  36109. "goodscode": {
  36110. "description": "商品代码(内部)",
  36111. "type": "string"
  36112. },
  36113. "goodsid": {
  36114. "description": "商品ID",
  36115. "type": "integer"
  36116. },
  36117. "goodsname": {
  36118. "description": "商品名称",
  36119. "type": "string"
  36120. },
  36121. "marketid": {
  36122. "description": "市场ID",
  36123. "type": "integer"
  36124. },
  36125. "openfreezemargin": {
  36126. "description": "冻结保证金(冻结交易金额)",
  36127. "type": "number"
  36128. },
  36129. "orderid": {
  36130. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36131. "type": "string"
  36132. },
  36133. "orderlogincode": {
  36134. "description": "委托人",
  36135. "type": "string"
  36136. },
  36137. "orderprice": {
  36138. "description": "委托价格(账户)",
  36139. "type": "number"
  36140. },
  36141. "orderqty": {
  36142. "description": "委托数量",
  36143. "type": "integer"
  36144. },
  36145. "ordertime": {
  36146. "description": "委托时间",
  36147. "type": "string"
  36148. },
  36149. "pricemode": {
  36150. "description": "取价方式 - 1:市价 2: 限价",
  36151. "type": "integer"
  36152. },
  36153. "tradedate": {
  36154. "description": "交易日(yyyyMMdd)",
  36155. "type": "string"
  36156. },
  36157. "tradeqty": {
  36158. "description": "成交数量",
  36159. "type": "integer"
  36160. }
  36161. }
  36162. },
  36163. "models.QueryHedgeTradeDetailRsp": {
  36164. "type": "object",
  36165. "properties": {
  36166. "accountid": {
  36167. "description": "账号ID",
  36168. "type": "integer"
  36169. },
  36170. "buyorsell": {
  36171. "description": "方向 - 0:买 1:卖",
  36172. "type": "integer"
  36173. },
  36174. "channelbuildtype": {
  36175. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  36176. "type": "integer"
  36177. },
  36178. "closecharge": {
  36179. "description": "平仓手续费(账户)",
  36180. "type": "number"
  36181. },
  36182. "closecharge2": {
  36183. "description": "平仓手续费(商品)",
  36184. "type": "number"
  36185. },
  36186. "closepl": {
  36187. "description": "平仓盈亏(账户)",
  36188. "type": "number"
  36189. },
  36190. "closepl2": {
  36191. "description": "平仓盈亏(商品)",
  36192. "type": "number"
  36193. },
  36194. "closepl3": {
  36195. "description": "平仓盈亏(账户)(逐笔)",
  36196. "type": "number"
  36197. },
  36198. "closepl4": {
  36199. "description": "平仓盈亏(商品)(逐笔)",
  36200. "type": "number"
  36201. },
  36202. "closetype": {
  36203. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  36204. "type": "integer"
  36205. },
  36206. "curexchangerate": {
  36207. "description": "当前汇率",
  36208. "type": "number"
  36209. },
  36210. "decimalplace": {
  36211. "description": "商品报价小数位",
  36212. "type": "integer"
  36213. },
  36214. "exchangefullname": {
  36215. "description": "外部交易所全称",
  36216. "type": "string"
  36217. },
  36218. "goodscode": {
  36219. "description": "商品代码(内部)",
  36220. "type": "string"
  36221. },
  36222. "goodsid": {
  36223. "description": "商品ID",
  36224. "type": "integer"
  36225. },
  36226. "goodsname": {
  36227. "description": "商品名称",
  36228. "type": "string"
  36229. },
  36230. "marketid": {
  36231. "description": "市场ID",
  36232. "type": "integer"
  36233. },
  36234. "opencharge": {
  36235. "description": "建仓手续费(账户)",
  36236. "type": "number"
  36237. },
  36238. "opencharge2": {
  36239. "description": "建仓手续费(商品)",
  36240. "type": "number"
  36241. },
  36242. "orderid": {
  36243. "description": "委托单号",
  36244. "type": "string"
  36245. },
  36246. "orderlogincode": {
  36247. "description": "委托人",
  36248. "type": "string"
  36249. },
  36250. "tradeamount": {
  36251. "description": "成交金额(账户)",
  36252. "type": "number"
  36253. },
  36254. "tradedate": {
  36255. "description": "交易日(yyyyMMdd)",
  36256. "type": "string"
  36257. },
  36258. "tradeid": {
  36259. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36260. "type": "string"
  36261. },
  36262. "tradeprice": {
  36263. "description": "成交价格",
  36264. "type": "number"
  36265. },
  36266. "tradeqty": {
  36267. "description": "成交数量",
  36268. "type": "integer"
  36269. },
  36270. "tradetime": {
  36271. "description": "成交时间",
  36272. "type": "string"
  36273. },
  36274. "tradetype": {
  36275. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  36276. "type": "integer"
  36277. }
  36278. }
  36279. },
  36280. "models.QuotePrimaryMenu": {
  36281. "type": "object",
  36282. "properties": {
  36283. "Index": {
  36284. "description": "序号",
  36285. "type": "integer"
  36286. },
  36287. "Key": {
  36288. "description": "键名",
  36289. "type": "string"
  36290. },
  36291. "Name": {
  36292. "description": "菜单名称",
  36293. "type": "string"
  36294. },
  36295. "SubMenus": {
  36296. "description": "子菜单",
  36297. "type": "array",
  36298. "items": {
  36299. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  36300. }
  36301. },
  36302. "SubTitleType": {
  36303. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  36304. "type": "integer"
  36305. },
  36306. "TradeModes": {
  36307. "description": "包含市场交易类型",
  36308. "type": "string"
  36309. }
  36310. }
  36311. },
  36312. "models.QuoteSecondaryMenu": {
  36313. "type": "object",
  36314. "properties": {
  36315. "ExExchangeCode": {
  36316. "description": "外部交易所代码",
  36317. "type": "string"
  36318. },
  36319. "ExExchangeID": {
  36320. "description": "外部交易所ID",
  36321. "type": "integer"
  36322. },
  36323. "GoodsGroupIDs": {
  36324. "description": "商品组ID列表",
  36325. "type": "array",
  36326. "items": {
  36327. "type": "integer"
  36328. }
  36329. },
  36330. "Index": {
  36331. "description": "序号",
  36332. "type": "integer"
  36333. },
  36334. "MarketID": {
  36335. "description": "市场ID",
  36336. "type": "integer"
  36337. },
  36338. "MenuTitle": {
  36339. "description": "菜单标题(市场名称或外部交易所名称)",
  36340. "type": "string"
  36341. },
  36342. "TradeMode": {
  36343. "description": "交易模式",
  36344. "type": "integer"
  36345. }
  36346. }
  36347. },
  36348. "models.RelatedTaAccount": {
  36349. "type": "object",
  36350. "properties": {
  36351. "accountid": {
  36352. "description": "资金账户ID",
  36353. "type": "integer"
  36354. }
  36355. }
  36356. },
  36357. "models.RoleMenu": {
  36358. "type": "object",
  36359. "properties": {
  36360. "hasright": {
  36361. "description": "是否有权限 0-没有权限 1-有权限",
  36362. "type": "integer"
  36363. },
  36364. "iconame": {
  36365. "description": "菜单图标",
  36366. "type": "string"
  36367. },
  36368. "menutype": {
  36369. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  36370. "type": "integer"
  36371. },
  36372. "parentcode": {
  36373. "description": "上级资源代码",
  36374. "type": "string"
  36375. },
  36376. "remark": {
  36377. "description": "菜单备注",
  36378. "type": "string"
  36379. },
  36380. "resourcecode": {
  36381. "description": "菜单代码",
  36382. "type": "string"
  36383. },
  36384. "resourcelevel": {
  36385. "description": "级别",
  36386. "type": "integer"
  36387. },
  36388. "resourcename": {
  36389. "description": "菜单名称",
  36390. "type": "string"
  36391. },
  36392. "roleid": {
  36393. "description": "角色id",
  36394. "type": "integer"
  36395. },
  36396. "sort": {
  36397. "description": "排序",
  36398. "type": "integer"
  36399. },
  36400. "subMenu": {
  36401. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  36402. "type": "array",
  36403. "items": {
  36404. "$ref": "#/definitions/models.RoleMenu"
  36405. }
  36406. },
  36407. "url": {
  36408. "description": "URL",
  36409. "type": "string"
  36410. },
  36411. "userid": {
  36412. "description": "用户id",
  36413. "type": "integer"
  36414. }
  36415. }
  36416. },
  36417. "models.SearchGoods": {
  36418. "type": "object",
  36419. "required": [
  36420. "goodscode",
  36421. "goodsid",
  36422. "goodsname",
  36423. "marketid",
  36424. "trademode"
  36425. ],
  36426. "properties": {
  36427. "goodscode": {
  36428. "description": "商品代码(内部)",
  36429. "type": "string"
  36430. },
  36431. "goodsid": {
  36432. "description": "商品ID(自增ID SEQ_GOODS)",
  36433. "type": "integer"
  36434. },
  36435. "goodsname": {
  36436. "description": "商品名称",
  36437. "type": "string"
  36438. },
  36439. "marketid": {
  36440. "description": "所属市场ID",
  36441. "type": "integer"
  36442. },
  36443. "marketname": {
  36444. "description": "市场名称",
  36445. "type": "string"
  36446. },
  36447. "trademode": {
  36448. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36449. "type": "integer"
  36450. }
  36451. }
  36452. },
  36453. "models.SellOrder": {
  36454. "type": "object",
  36455. "properties": {
  36456. "accountid": {
  36457. "description": "资金账号",
  36458. "type": "integer"
  36459. },
  36460. "applyid": {
  36461. "description": "申请单ID",
  36462. "type": "integer"
  36463. },
  36464. "attachment1": {
  36465. "description": "附件1",
  36466. "type": "string"
  36467. },
  36468. "attachment2": {
  36469. "description": "附件2",
  36470. "type": "string"
  36471. },
  36472. "buyorsell": {
  36473. "description": "买卖 - 0:买 1:卖",
  36474. "type": "integer"
  36475. },
  36476. "canbargain": {
  36477. "description": "是否可议价 - 0:不可 1:可",
  36478. "type": "integer"
  36479. },
  36480. "cancelqty": {
  36481. "description": "撤销数量",
  36482. "type": "integer"
  36483. },
  36484. "canceltime": {
  36485. "description": "撤销时间",
  36486. "type": "string"
  36487. },
  36488. "cerno": {
  36489. "type": "string"
  36490. },
  36491. "chargealgorithm": {
  36492. "description": "手续费收取方式 1:比率 2:固定",
  36493. "type": "integer"
  36494. },
  36495. "chargealgorithmvalue": {
  36496. "description": "手续费设置值(交易所部分)",
  36497. "type": "number"
  36498. },
  36499. "chargealgorithmvalue2": {
  36500. "description": "手续费设置值(会员部分)",
  36501. "type": "number"
  36502. },
  36503. "clientordertime": {
  36504. "description": "客户端委托时间",
  36505. "type": "string"
  36506. },
  36507. "cpcertno": {
  36508. "type": "string"
  36509. },
  36510. "exchangerate": {
  36511. "description": "汇率[67]",
  36512. "type": "number"
  36513. },
  36514. "firstratio": {
  36515. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  36516. "type": "number"
  36517. },
  36518. "fixedprice": {
  36519. "description": "[克拉单价]固定价格 - [挂牌]",
  36520. "type": "number"
  36521. },
  36522. "freezecharge": {
  36523. "description": "冻结手续费",
  36524. "type": "number"
  36525. },
  36526. "freezefirstamount": {
  36527. "description": "冻结首付金额 - [摘牌]",
  36528. "type": "number"
  36529. },
  36530. "freezemargin": {
  36531. "description": "冻结保证金",
  36532. "type": "number"
  36533. },
  36534. "goodsno": {
  36535. "description": "商品编号",
  36536. "type": "string"
  36537. },
  36538. "imagepath": {
  36539. "type": "string"
  36540. },
  36541. "isQueryDiamond": {
  36542. "description": "是否钻石查询",
  36543. "type": "boolean"
  36544. },
  36545. "isspecified": {
  36546. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36547. "type": "integer"
  36548. },
  36549. "kppath": {
  36550. "type": "string"
  36551. },
  36552. "kpweight": {
  36553. "type": "string"
  36554. },
  36555. "marginalgorithm": {
  36556. "description": "保证金方式 - 1:比率 2:固定",
  36557. "type": "integer"
  36558. },
  36559. "marginvalue": {
  36560. "description": "保证金设置值",
  36561. "type": "number"
  36562. },
  36563. "marketid": {
  36564. "description": "市场ID",
  36565. "type": "integer"
  36566. },
  36567. "marketprice": {
  36568. "type": "string"
  36569. },
  36570. "orderamount": {
  36571. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  36572. "type": "number"
  36573. },
  36574. "ordertime": {
  36575. "description": "委托时间",
  36576. "type": "string"
  36577. },
  36578. "performancetemplateid": {
  36579. "description": "履约计划模板ID",
  36580. "type": "integer"
  36581. },
  36582. "price": {
  36583. "description": "价格",
  36584. "type": "number"
  36585. },
  36586. "pricefactor": {
  36587. "description": "价格系数(浮动价时填写) - [挂牌]",
  36588. "type": "number"
  36589. },
  36590. "pricemove": {
  36591. "description": "升贴水(浮动价时填写) - [挂牌]",
  36592. "type": "number"
  36593. },
  36594. "priceper": {
  36595. "type": "string"
  36596. },
  36597. "relatedwrtradeorderid": {
  36598. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  36599. "type": "integer"
  36600. },
  36601. "remainqty": {
  36602. "description": "剩余重量",
  36603. "type": "number"
  36604. },
  36605. "remark": {
  36606. "type": "string"
  36607. },
  36608. "retcode": {
  36609. "description": "错误代码",
  36610. "type": "integer"
  36611. },
  36612. "sellusername": {
  36613. "description": "卖方(查询字段-模糊查询)",
  36614. "type": "string"
  36615. },
  36616. "settingmaterial": {
  36617. "type": "string"
  36618. },
  36619. "size1": {
  36620. "type": "string"
  36621. },
  36622. "size2": {
  36623. "type": "string"
  36624. },
  36625. "size3": {
  36626. "type": "string"
  36627. },
  36628. "sizedisplay": {
  36629. "description": "尺寸",
  36630. "type": "string"
  36631. },
  36632. "stonedesc": {
  36633. "type": "string"
  36634. },
  36635. "totalqty": {
  36636. "description": "总重量",
  36637. "type": "number"
  36638. },
  36639. "tradedate": {
  36640. "description": "交易日(yyyyMMdd)",
  36641. "type": "string"
  36642. },
  36643. "tradeprice": {
  36644. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  36645. "type": "number"
  36646. },
  36647. "unfreezecharge": {
  36648. "description": "解冻手续费",
  36649. "type": "number"
  36650. },
  36651. "unfreezefirstamount": {
  36652. "description": "解冻首付金额 - [摘牌]",
  36653. "type": "number"
  36654. },
  36655. "unfreezemargin": {
  36656. "description": "解冻保证金",
  36657. "type": "number"
  36658. },
  36659. "userid": {
  36660. "description": "用户ID",
  36661. "type": "integer"
  36662. },
  36663. "uuid": {
  36664. "description": "发起端唯一id",
  36665. "type": "string"
  36666. },
  36667. "validtime": {
  36668. "description": "有效期限",
  36669. "type": "string"
  36670. },
  36671. "validtype": {
  36672. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36673. "type": "integer"
  36674. },
  36675. "warehousenamedisplay": {
  36676. "type": "string"
  36677. },
  36678. "wrbargainid": {
  36679. "description": "议价申请单ID",
  36680. "type": "integer"
  36681. },
  36682. "wrfactortypeid": {
  36683. "description": "仓单要素类型ID/商品ID(77)",
  36684. "type": "integer"
  36685. },
  36686. "wrpath": {
  36687. "type": "string"
  36688. },
  36689. "wrpricetype": {
  36690. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36691. "type": "integer"
  36692. },
  36693. "wrstandardid": {
  36694. "description": "现货商品ID",
  36695. "type": "integer"
  36696. },
  36697. "wrtradeorderid": {
  36698. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36699. "type": "string"
  36700. },
  36701. "wrtradeorderstatus": {
  36702. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 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:撤单解冻贷款失败",
  36703. "type": "integer"
  36704. },
  36705. "wrtradetype": {
  36706. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36707. "type": "integer"
  36708. },
  36709. "wrtransferuserid": {
  36710. "description": "仓单受让用户 - [摘牌]",
  36711. "type": "integer"
  36712. },
  36713. "zscategory": {
  36714. "description": "钻石分类 - 枚举”ZSCategory“",
  36715. "type": "integer"
  36716. },
  36717. "zscategorydisplay": {
  36718. "description": "钻石分类 - 描述",
  36719. "type": "string"
  36720. },
  36721. "zscerttypedisplay": {
  36722. "type": "string"
  36723. },
  36724. "zsclaritytype1display": {
  36725. "type": "string"
  36726. },
  36727. "zsclaritytype2display": {
  36728. "type": "string"
  36729. },
  36730. "zscolortype1display": {
  36731. "type": "string"
  36732. },
  36733. "zscolortype2display": {
  36734. "type": "string"
  36735. },
  36736. "zscrystaltype": {
  36737. "type": "string"
  36738. },
  36739. "zscrystaltypedisplay": {
  36740. "type": "string"
  36741. },
  36742. "zscurrencytype": {
  36743. "description": "货币类型 - 枚举“ZSCurrencyType”",
  36744. "type": "integer"
  36745. },
  36746. "zscurrencytypedisplay": {
  36747. "type": "string"
  36748. },
  36749. "zscurrencytypedisplayunit": {
  36750. "type": "string"
  36751. },
  36752. "zscuttype1display": {
  36753. "type": "string"
  36754. },
  36755. "zscuttype2display": {
  36756. "type": "string"
  36757. },
  36758. "zsczcolor1typedisplay": {
  36759. "type": "string"
  36760. },
  36761. "zsczcolor2typedisplay": {
  36762. "type": "string"
  36763. },
  36764. "zsczcolor3typedisplay": {
  36765. "type": "string"
  36766. },
  36767. "zsfluorescencetype1display": {
  36768. "type": "string"
  36769. },
  36770. "zsfluorescencetype2display": {
  36771. "type": "string"
  36772. },
  36773. "zspolishtype1display": {
  36774. "type": "string"
  36775. },
  36776. "zspolishtype2display": {
  36777. "type": "string"
  36778. },
  36779. "zsshapetypedisplay": {
  36780. "type": "string"
  36781. },
  36782. "zsstyletypedisplay": {
  36783. "type": "string"
  36784. },
  36785. "zssymmetrytype1display": {
  36786. "type": "string"
  36787. },
  36788. "zssymmetrytype2display": {
  36789. "type": "string"
  36790. }
  36791. }
  36792. },
  36793. "models.SellOrderQueryReq": {
  36794. "type": "object",
  36795. "required": [
  36796. "zscategory"
  36797. ],
  36798. "properties": {
  36799. "origin": {
  36800. "description": "原产地",
  36801. "type": "string"
  36802. },
  36803. "page": {
  36804. "description": "页码",
  36805. "type": "integer"
  36806. },
  36807. "pagesize": {
  36808. "description": "每页大小",
  36809. "type": "integer"
  36810. },
  36811. "total": {
  36812. "description": "总条数",
  36813. "type": "integer"
  36814. },
  36815. "warehouseid": {
  36816. "description": "仓库ID",
  36817. "type": "integer"
  36818. },
  36819. "weight1": {
  36820. "description": "总重量(克拉重量)-从",
  36821. "type": "number"
  36822. },
  36823. "weight2": {
  36824. "description": "总重量(克拉重量)-至",
  36825. "type": "number"
  36826. },
  36827. "weightavg1": {
  36828. "description": "平均单颗重量-从",
  36829. "type": "number"
  36830. },
  36831. "weightavg2": {
  36832. "description": "平均单颗重量-至",
  36833. "type": "number"
  36834. },
  36835. "zscategory": {
  36836. "description": "钻石分类 - 枚举”ZSCategory“",
  36837. "type": "integer"
  36838. },
  36839. "zscerttype": {
  36840. "description": "证书类型",
  36841. "type": "array",
  36842. "items": {
  36843. "type": "string"
  36844. }
  36845. },
  36846. "zsclaritytype": {
  36847. "description": "净度",
  36848. "type": "array",
  36849. "items": {
  36850. "type": "integer"
  36851. }
  36852. },
  36853. "zscolortype": {
  36854. "description": "颜色",
  36855. "type": "array",
  36856. "items": {
  36857. "type": "integer"
  36858. }
  36859. },
  36860. "zscurrencytype": {
  36861. "description": "货币类型 - 枚举“ZSCurrencyType”",
  36862. "type": "array",
  36863. "items": {
  36864. "type": "string"
  36865. }
  36866. },
  36867. "zscuttype": {
  36868. "description": "切工",
  36869. "type": "array",
  36870. "items": {
  36871. "type": "integer"
  36872. }
  36873. },
  36874. "zsczcolor1type": {
  36875. "description": "彩钻颜色1",
  36876. "type": "array",
  36877. "items": {
  36878. "type": "string"
  36879. }
  36880. },
  36881. "zsfluorescencetype": {
  36882. "description": "荧光",
  36883. "type": "array",
  36884. "items": {
  36885. "type": "integer"
  36886. }
  36887. },
  36888. "zspolishtype": {
  36889. "description": "抛光度",
  36890. "type": "array",
  36891. "items": {
  36892. "type": "integer"
  36893. }
  36894. },
  36895. "zsshapetype": {
  36896. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  36897. "type": "array",
  36898. "items": {
  36899. "type": "string"
  36900. }
  36901. },
  36902. "zsstyletype": {
  36903. "description": "款式",
  36904. "type": "array",
  36905. "items": {
  36906. "type": "string"
  36907. }
  36908. },
  36909. "zssymmetrytype": {
  36910. "description": "对称度",
  36911. "type": "array",
  36912. "items": {
  36913. "type": "integer"
  36914. }
  36915. }
  36916. }
  36917. },
  36918. "models.Systemparam": {
  36919. "type": "object",
  36920. "required": [
  36921. "paramcode"
  36922. ],
  36923. "properties": {
  36924. "loginid": {
  36925. "description": "更新用户账号,登录账号",
  36926. "type": "string"
  36927. },
  36928. "modifyflag": {
  36929. "description": "修改标志0 不允许修改 1 允许修改",
  36930. "type": "integer"
  36931. },
  36932. "paramcode": {
  36933. "description": "参数代码",
  36934. "type": "string"
  36935. },
  36936. "paramname": {
  36937. "description": "参数名",
  36938. "type": "string"
  36939. },
  36940. "paramtype": {
  36941. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  36942. "type": "integer"
  36943. },
  36944. "paramvalue": {
  36945. "description": "参数值",
  36946. "type": "string"
  36947. },
  36948. "paramvalue2": {
  36949. "description": "参数值(CLOB)",
  36950. "type": "string"
  36951. },
  36952. "regexpress": {
  36953. "description": "正则表达式",
  36954. "type": "string"
  36955. },
  36956. "remark": {
  36957. "description": "备注",
  36958. "type": "string"
  36959. },
  36960. "serverip": {
  36961. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  36962. "type": "string"
  36963. },
  36964. "showflag": {
  36965. "description": "是否显示0 不显示 1 显示",
  36966. "type": "integer"
  36967. },
  36968. "updatetime": {
  36969. "description": "更新时间",
  36970. "type": "string"
  36971. },
  36972. "userid": {
  36973. "description": "更新用户ID",
  36974. "type": "integer"
  36975. }
  36976. }
  36977. },
  36978. "models.Szdz3convertconfig": {
  36979. "type": "object",
  36980. "required": [
  36981. "converttype",
  36982. "innergoodsid",
  36983. "outergoodscode"
  36984. ],
  36985. "properties": {
  36986. "canin": {
  36987. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  36988. "type": "integer"
  36989. },
  36990. "canout": {
  36991. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  36992. "type": "integer"
  36993. },
  36994. "converttype": {
  36995. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  36996. "type": "integer"
  36997. },
  36998. "createtime": {
  36999. "description": "创建时间",
  37000. "type": "string"
  37001. },
  37002. "creatorid": {
  37003. "description": "创建人",
  37004. "type": "integer"
  37005. },
  37006. "daymaxvalue": {
  37007. "description": "当日最大转入限制",
  37008. "type": "number"
  37009. },
  37010. "freezedays": {
  37011. "description": "冻结天数 [5:花生米转交易]",
  37012. "type": "integer"
  37013. },
  37014. "innergoodsid": {
  37015. "description": "内部商品ID[交易]",
  37016. "type": "integer"
  37017. },
  37018. "inratio": {
  37019. "description": "目标值",
  37020. "type": "integer"
  37021. },
  37022. "modifierid": {
  37023. "description": "修改人",
  37024. "type": "integer"
  37025. },
  37026. "modifytime": {
  37027. "description": "修改时间",
  37028. "type": "string"
  37029. },
  37030. "outergoodscode": {
  37031. "description": "外部商品代码[JD\\PD]",
  37032. "type": "string"
  37033. },
  37034. "outratio": {
  37035. "description": "源值",
  37036. "type": "integer"
  37037. },
  37038. "pddecimalplace": {
  37039. "description": "PD小数位",
  37040. "type": "integer"
  37041. },
  37042. "timemaxvalue": {
  37043. "description": "单次最大转入限制",
  37044. "type": "number"
  37045. },
  37046. "timeminvalue": {
  37047. "description": "单次最小转入限制",
  37048. "type": "number"
  37049. }
  37050. }
  37051. },
  37052. "models.Szdz3searchwhitelist": {
  37053. "type": "object",
  37054. "required": [
  37055. "userid"
  37056. ],
  37057. "properties": {
  37058. "createtime": {
  37059. "description": "创建时间",
  37060. "type": "string"
  37061. },
  37062. "creatorid": {
  37063. "description": "创建人",
  37064. "type": "integer"
  37065. },
  37066. "modifierid": {
  37067. "description": "修改人",
  37068. "type": "integer"
  37069. },
  37070. "modifytime": {
  37071. "description": "修改时间",
  37072. "type": "string"
  37073. },
  37074. "userid": {
  37075. "description": "用户ID",
  37076. "type": "integer"
  37077. }
  37078. }
  37079. },
  37080. "models.TBGoods": {
  37081. "type": "object",
  37082. "properties": {
  37083. "agreeunit": {
  37084. "description": "合约乘数",
  37085. "type": "number"
  37086. },
  37087. "enumdicname": {
  37088. "description": "单位名称",
  37089. "type": "string"
  37090. },
  37091. "goodscode": {
  37092. "description": "商品代码(内部)",
  37093. "type": "string"
  37094. },
  37095. "goodsid": {
  37096. "description": "商品ID(自增ID SEQ_GOODS)",
  37097. "type": "integer"
  37098. },
  37099. "goodsname": {
  37100. "description": "商品名称",
  37101. "type": "string"
  37102. }
  37103. }
  37104. },
  37105. "models.TBGoodsGroup": {
  37106. "type": "object",
  37107. "properties": {
  37108. "GDLST": {
  37109. "description": "商品列表",
  37110. "type": "array",
  37111. "items": {
  37112. "$ref": "#/definitions/models.TBGoods"
  37113. }
  37114. },
  37115. "convertratio": {
  37116. "description": "折算系数",
  37117. "type": "number"
  37118. },
  37119. "enumdicname": {
  37120. "description": "单位名称",
  37121. "type": "string"
  37122. },
  37123. "exexchangecode": {
  37124. "description": "交易所代码",
  37125. "type": "string"
  37126. },
  37127. "exexchangename": {
  37128. "description": "交易所名称",
  37129. "type": "string"
  37130. },
  37131. "goodsgroupid": {
  37132. "description": "商品组ID(自增ID)",
  37133. "type": "integer"
  37134. },
  37135. "goodsgroupname": {
  37136. "description": "商品组名称",
  37137. "type": "string"
  37138. },
  37139. "goodunitid": {
  37140. "description": "报价单位ID",
  37141. "type": "integer"
  37142. }
  37143. }
  37144. },
  37145. "models.TBMiddleGoods": {
  37146. "type": "object",
  37147. "properties": {
  37148. "GPLST": {
  37149. "description": "期货品种列表",
  37150. "type": "array",
  37151. "items": {
  37152. "$ref": "#/definitions/models.TBGoodsGroup"
  37153. }
  37154. },
  37155. "WDLST": {
  37156. "description": "商品信息列表(现货品类)",
  37157. "type": "array",
  37158. "items": {
  37159. "$ref": "#/definitions/models.TBWrstandard"
  37160. }
  37161. },
  37162. "areauserid": {
  37163. "description": "机构用户ID",
  37164. "type": "integer"
  37165. },
  37166. "enumdicname": {
  37167. "description": "单位名称",
  37168. "type": "string"
  37169. },
  37170. "goodsunitid": {
  37171. "description": "套保品种单位id",
  37172. "type": "integer"
  37173. },
  37174. "middlegoodscode": {
  37175. "description": "套保品种代码",
  37176. "type": "string"
  37177. },
  37178. "middlegoodsid": {
  37179. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  37180. "type": "integer"
  37181. },
  37182. "middlegoodsname": {
  37183. "description": "套保品种名称",
  37184. "type": "string"
  37185. },
  37186. "needarbitrageratio": {
  37187. "description": "套利比率",
  37188. "type": "number"
  37189. },
  37190. "needhedgeratio": {
  37191. "description": "套保比率",
  37192. "type": "number"
  37193. }
  37194. }
  37195. },
  37196. "models.TBWrstandard": {
  37197. "type": "object",
  37198. "properties": {
  37199. "convertratio": {
  37200. "description": "折算系数",
  37201. "type": "number"
  37202. },
  37203. "deliverygoodsname": {
  37204. "description": "品种名称",
  37205. "type": "string"
  37206. },
  37207. "enumdicname": {
  37208. "description": "单位名称",
  37209. "type": "string"
  37210. },
  37211. "vatrate": {
  37212. "description": "增值税率",
  37213. "type": "number"
  37214. },
  37215. "wrstandardcode": {
  37216. "description": "现货商品代码",
  37217. "type": "string"
  37218. },
  37219. "wrstandardid": {
  37220. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37221. "type": "integer"
  37222. },
  37223. "wrstandardname": {
  37224. "description": "现货商品名称",
  37225. "type": "string"
  37226. }
  37227. }
  37228. },
  37229. "models.Taaccount": {
  37230. "type": "object",
  37231. "required": [
  37232. "accountid",
  37233. "userid"
  37234. ],
  37235. "properties": {
  37236. "accountflag": {
  37237. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  37238. "type": "integer"
  37239. },
  37240. "accountid": {
  37241. "description": "资金账户ID",
  37242. "type": "integer"
  37243. },
  37244. "accountname": {
  37245. "description": "账户名称",
  37246. "type": "string"
  37247. },
  37248. "balance": {
  37249. "description": "期初余额",
  37250. "type": "number"
  37251. },
  37252. "capitalbalance": {
  37253. "description": "本金余额[外部子账户实际出入金余额]",
  37254. "type": "number"
  37255. },
  37256. "changeflag": {
  37257. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  37258. "type": "integer"
  37259. },
  37260. "changetime": {
  37261. "description": "账户状态变更时间",
  37262. "type": "string"
  37263. },
  37264. "closepl": {
  37265. "description": "今日平仓盈亏",
  37266. "type": "number"
  37267. },
  37268. "creditdecrease": {
  37269. "description": "今日授信减少",
  37270. "type": "number"
  37271. },
  37272. "creditincrease": {
  37273. "description": "今日授信增加",
  37274. "type": "number"
  37275. },
  37276. "curamount": {
  37277. "description": "总市值(从持仓中统计)",
  37278. "type": "number"
  37279. },
  37280. "currencyid": {
  37281. "description": "货币ID",
  37282. "type": "integer"
  37283. },
  37284. "currentbalance": {
  37285. "description": "期末余额",
  37286. "type": "number"
  37287. },
  37288. "freezecharge": {
  37289. "description": "手续费冻结",
  37290. "type": "number"
  37291. },
  37292. "freezemargin": {
  37293. "description": "冻结保证金",
  37294. "type": "number"
  37295. },
  37296. "fromaccountid": {
  37297. "description": "所属上级账户",
  37298. "type": "integer"
  37299. },
  37300. "inamount": {
  37301. "description": "今日入金金额(包括三方入金)",
  37302. "type": "number"
  37303. },
  37304. "ismain": {
  37305. "description": "是否母账号 0:不是母账户 1:是母账户",
  37306. "type": "integer"
  37307. },
  37308. "ismarketaccount": {
  37309. "description": "是否机构接单账号 0:不是 1:是",
  37310. "type": "integer"
  37311. },
  37312. "isreckonaccount": {
  37313. "description": "是否机构分润账号 0:不是 1:是",
  37314. "type": "integer"
  37315. },
  37316. "mortgagecredit": {
  37317. "description": "授信金额",
  37318. "type": "number"
  37319. },
  37320. "orifreezecharge": {
  37321. "description": "期初手续费冻结",
  37322. "type": "number"
  37323. },
  37324. "orifreezemargin": {
  37325. "description": "期初冻结保证金",
  37326. "type": "number"
  37327. },
  37328. "orimortgagecredit": {
  37329. "description": "期初授信金额",
  37330. "type": "number"
  37331. },
  37332. "oriothercredit": {
  37333. "description": "期初其它授信金额",
  37334. "type": "number"
  37335. },
  37336. "oriotherfreezemargin": {
  37337. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  37338. "type": "number"
  37339. },
  37340. "orioutamountfreeze": {
  37341. "description": "期初出金冻结",
  37342. "type": "number"
  37343. },
  37344. "oriusedmargin": {
  37345. "description": "期初占用保证金",
  37346. "type": "number"
  37347. },
  37348. "othercredit": {
  37349. "description": "其它授信金额",
  37350. "type": "number"
  37351. },
  37352. "othercreditdecrease": {
  37353. "description": "今日其它授信减少",
  37354. "type": "number"
  37355. },
  37356. "othercreditincrease": {
  37357. "description": "今日其它授信增加",
  37358. "type": "number"
  37359. },
  37360. "otherfreezemargin": {
  37361. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  37362. "type": "number"
  37363. },
  37364. "otherincome": {
  37365. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  37366. "type": "number"
  37367. },
  37368. "otherpay": {
  37369. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  37370. "type": "number"
  37371. },
  37372. "outamount": {
  37373. "description": "今日出金金额(包括三方出金)",
  37374. "type": "number"
  37375. },
  37376. "outamountfreeze": {
  37377. "description": "出金冻结",
  37378. "type": "number"
  37379. },
  37380. "outthreshold": {
  37381. "description": "出金阈值",
  37382. "type": "number"
  37383. },
  37384. "parentaccountid": {
  37385. "description": "所属根账号",
  37386. "type": "integer"
  37387. },
  37388. "paycharge": {
  37389. "description": "今日手续费支出",
  37390. "type": "number"
  37391. },
  37392. "relatedaccountstatus": {
  37393. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  37394. "type": "integer"
  37395. },
  37396. "relateduserid": {
  37397. "description": "关联用户",
  37398. "type": "integer"
  37399. },
  37400. "remainamount": {
  37401. "description": "融资额(从融资合同中统计)",
  37402. "type": "number"
  37403. },
  37404. "serivcegroup": {
  37405. "description": "服务分组",
  37406. "type": "integer"
  37407. },
  37408. "signstatus": {
  37409. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  37410. "type": "integer"
  37411. },
  37412. "sublevelpath": {
  37413. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  37414. "type": "string"
  37415. },
  37416. "taaccounttype": {
  37417. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  37418. "type": "integer"
  37419. },
  37420. "thirdinamount": {
  37421. "description": "今日三方入金",
  37422. "type": "number"
  37423. },
  37424. "thirdoutamount": {
  37425. "description": "今日三方出金",
  37426. "type": "number"
  37427. },
  37428. "tradestatus": {
  37429. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  37430. "type": "integer"
  37431. },
  37432. "tradestatuschangetime": {
  37433. "description": "激活时间",
  37434. "type": "string"
  37435. },
  37436. "transferamount": {
  37437. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  37438. "type": "number"
  37439. },
  37440. "usedmargin": {
  37441. "description": "占用保证金",
  37442. "type": "number"
  37443. },
  37444. "userid": {
  37445. "description": "用户ID",
  37446. "type": "integer"
  37447. }
  37448. }
  37449. },
  37450. "models.Tablecolumnconfig": {
  37451. "type": "object",
  37452. "required": [
  37453. "autoid"
  37454. ],
  37455. "properties": {
  37456. "aligntype": {
  37457. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  37458. "type": "integer"
  37459. },
  37460. "autoid": {
  37461. "description": "AutoID",
  37462. "type": "integer"
  37463. },
  37464. "columnfield": {
  37465. "description": "列字段",
  37466. "type": "string"
  37467. },
  37468. "columntitle": {
  37469. "description": "列Title",
  37470. "type": "string"
  37471. },
  37472. "columnwidth": {
  37473. "description": "列宽",
  37474. "type": "string"
  37475. },
  37476. "fixed": {
  37477. "description": "固定类型 - 空 | left | right",
  37478. "type": "string"
  37479. },
  37480. "formatterstring": {
  37481. "description": "格式化字符",
  37482. "type": "string"
  37483. },
  37484. "formattertype": {
  37485. "description": "格式化类型",
  37486. "type": "string"
  37487. },
  37488. "groupname": {
  37489. "description": "表头分组名称",
  37490. "type": "string"
  37491. },
  37492. "ismerge": {
  37493. "description": "是否合并显示 - 0:不合并 1:合并",
  37494. "type": "integer"
  37495. },
  37496. "isshow": {
  37497. "description": "是否显示 - 0:不显示 1:显示",
  37498. "type": "integer"
  37499. },
  37500. "needsummary": {
  37501. "description": "是否需要汇总 - 0:不需要 1:需要",
  37502. "type": "integer"
  37503. },
  37504. "orderindex": {
  37505. "description": "顺序",
  37506. "type": "integer"
  37507. },
  37508. "remark": {
  37509. "description": "备注",
  37510. "type": "string"
  37511. },
  37512. "summarytype": {
  37513. "description": "汇总类型 - 1:加总 2:最后一个",
  37514. "type": "integer"
  37515. },
  37516. "tablekey": {
  37517. "description": "列表Key",
  37518. "type": "string"
  37519. }
  37520. }
  37521. },
  37522. "models.TjmdHolderDetailTradeInfo": {
  37523. "type": "object",
  37524. "properties": {
  37525. "agreeunit": {
  37526. "description": "合约乘数",
  37527. "type": "number"
  37528. },
  37529. "buyaccountid": {
  37530. "description": "买方账户",
  37531. "type": "string"
  37532. },
  37533. "buyusername": {
  37534. "description": "买方",
  37535. "type": "string"
  37536. },
  37537. "delistingdate": {
  37538. "description": "最后结算日",
  37539. "type": "string"
  37540. },
  37541. "expiredate": {
  37542. "description": "到期结算价定价日",
  37543. "type": "string"
  37544. },
  37545. "exprieprice": {
  37546. "description": "到期清算价格",
  37547. "type": "string"
  37548. },
  37549. "goodscode": {
  37550. "description": "商品代码",
  37551. "type": "string"
  37552. },
  37553. "goodsid": {
  37554. "description": "商品ID",
  37555. "type": "integer"
  37556. },
  37557. "goodsname": {
  37558. "description": "商品名称(交易标的)",
  37559. "type": "string"
  37560. },
  37561. "lasttradedate": {
  37562. "description": "最后交易日",
  37563. "type": "string"
  37564. },
  37565. "listingdate": {
  37566. "description": "开始交易日",
  37567. "type": "string"
  37568. },
  37569. "openprice": {
  37570. "description": "成交价",
  37571. "type": "number"
  37572. },
  37573. "openqty": {
  37574. "description": "交易数量",
  37575. "type": "integer"
  37576. },
  37577. "sellaccountid": {
  37578. "description": "卖方账户",
  37579. "type": "string"
  37580. },
  37581. "sellusername": {
  37582. "description": "卖方",
  37583. "type": "string"
  37584. },
  37585. "tradeamount": {
  37586. "description": "初始名义价值",
  37587. "type": "number"
  37588. },
  37589. "tradedate": {
  37590. "description": "成交日期",
  37591. "type": "string"
  37592. },
  37593. "tradeid": {
  37594. "description": "成交编号",
  37595. "type": "string"
  37596. }
  37597. }
  37598. },
  37599. "models.TjmdMarketSection": {
  37600. "type": "object",
  37601. "properties": {
  37602. "marketsectionid": {
  37603. "description": "市场版块ID(SEQ_MARKETSECTION)",
  37604. "type": "integer"
  37605. },
  37606. "marketsectionname": {
  37607. "description": "市场版块名称",
  37608. "type": "string"
  37609. },
  37610. "mlist": {
  37611. "description": "市场列表(板块下面有多少个市场)",
  37612. "type": "array",
  37613. "items": {
  37614. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  37615. }
  37616. },
  37617. "orderindex": {
  37618. "description": "排序",
  37619. "type": "integer"
  37620. },
  37621. "pictureurl": {
  37622. "description": "图片url, 规格(90*90)",
  37623. "type": "string"
  37624. },
  37625. "remark": {
  37626. "description": "备注",
  37627. "type": "string"
  37628. }
  37629. }
  37630. },
  37631. "models.TjmdMarketSectionConfig": {
  37632. "type": "object",
  37633. "properties": {
  37634. "auctionwrtype": {
  37635. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  37636. "type": "integer"
  37637. },
  37638. "canacceptquote": {
  37639. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  37640. "type": "integer"
  37641. },
  37642. "cangoodsexercise": {
  37643. "description": "[期权]是否可现货行权- 0:否 1:是",
  37644. "type": "integer"
  37645. },
  37646. "cangoodsexercisetype": {
  37647. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  37648. "type": "integer"
  37649. },
  37650. "canmanualquotestrike": {
  37651. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  37652. "type": "integer"
  37653. },
  37654. "canmutistage": {
  37655. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  37656. "type": "integer"
  37657. },
  37658. "canpreexercise": {
  37659. "description": "[期权]是否可预申报- 0:否 1:是",
  37660. "type": "integer"
  37661. },
  37662. "clearinterval": {
  37663. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  37664. "type": "integer"
  37665. },
  37666. "contracttmp": {
  37667. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  37668. "type": "string"
  37669. },
  37670. "exchareaid": {
  37671. "description": "所属交易所,可以没有",
  37672. "type": "integer"
  37673. },
  37674. "financemarketid": {
  37675. "description": "融资回购市场ID [仓单贸易]",
  37676. "type": "integer"
  37677. },
  37678. "goodstype": {
  37679. "description": "商品类型 - 1:交易商品 2:仓单商品",
  37680. "type": "integer"
  37681. },
  37682. "hasrebate": {
  37683. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  37684. "type": "integer"
  37685. },
  37686. "hastradecredit": {
  37687. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  37688. "type": "integer"
  37689. },
  37690. "haswr": {
  37691. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  37692. "type": "integer"
  37693. },
  37694. "isdeductmargin": {
  37695. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  37696. "type": "integer"
  37697. },
  37698. "isrecordsource": {
  37699. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  37700. "type": "integer"
  37701. },
  37702. "isreleasemargin": {
  37703. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  37704. "type": "integer"
  37705. },
  37706. "isupdatereckonprice": {
  37707. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  37708. "type": "integer"
  37709. },
  37710. "listingmode": {
  37711. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  37712. "type": "integer"
  37713. },
  37714. "marginformula": {
  37715. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  37716. "type": "integer"
  37717. },
  37718. "marginformula2": {
  37719. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  37720. "type": "integer"
  37721. },
  37722. "marketid": {
  37723. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  37724. "type": "integer"
  37725. },
  37726. "marketname": {
  37727. "description": "市场名称",
  37728. "type": "string"
  37729. },
  37730. "marketsectionid": {
  37731. "description": "市场版块ID(SEQ_MARKETSECTION)",
  37732. "type": "integer"
  37733. },
  37734. "marketserviceid": {
  37735. "description": "市场服务ID",
  37736. "type": "integer"
  37737. },
  37738. "marketstatus": {
  37739. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  37740. "type": "integer"
  37741. },
  37742. "markettype": {
  37743. "description": "市场类型- 1:非交易服务 2:交易服务",
  37744. "type": "integer"
  37745. },
  37746. "matchermode": {
  37747. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  37748. "type": "integer"
  37749. },
  37750. "nowrquotaflag": {
  37751. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  37752. "type": "integer"
  37753. },
  37754. "openmethod": {
  37755. "description": "开盘模式 - 0 自动 1手动",
  37756. "type": "integer"
  37757. },
  37758. "orderindex": {
  37759. "description": "排序",
  37760. "type": "integer"
  37761. },
  37762. "otcuserid": {
  37763. "description": "场外期权做市商[场外期权]",
  37764. "type": "integer"
  37765. },
  37766. "outersynctime": {
  37767. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  37768. "type": "string"
  37769. },
  37770. "paylaterflag": {
  37771. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  37772. "type": "integer"
  37773. },
  37774. "pendingflag": {
  37775. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  37776. "type": "integer"
  37777. },
  37778. "pendingtime": {
  37779. "description": "待开市时间[通道交易-对冲](HH:mm)",
  37780. "type": "string"
  37781. },
  37782. "performancetempid": {
  37783. "description": "履约计划模板ID - 作废",
  37784. "type": "integer"
  37785. },
  37786. "premiumquotemode": {
  37787. "description": "权利金报价方式 - 1:自动 2:手动",
  37788. "type": "integer"
  37789. },
  37790. "rebateratio": {
  37791. "description": "返利比率[竞价式]",
  37792. "type": "number"
  37793. },
  37794. "reckonorder": {
  37795. "description": "结算顺序",
  37796. "type": "integer"
  37797. },
  37798. "reckonpricealgorithm": {
  37799. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  37800. "type": "integer"
  37801. },
  37802. "reckonpriceparam": {
  37803. "description": "结算价参数",
  37804. "type": "integer"
  37805. },
  37806. "reckontime": {
  37807. "description": "结算时间[通道交易-对冲](HH:mm)",
  37808. "type": "string"
  37809. },
  37810. "roleprioritytype": {
  37811. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  37812. "type": "integer"
  37813. },
  37814. "selllistingauditflag": {
  37815. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  37816. "type": "integer"
  37817. },
  37818. "trademarkettype": {
  37819. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  37820. "type": "integer"
  37821. },
  37822. "trademode": {
  37823. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  37824. "type": "integer"
  37825. },
  37826. "tradeproperty": {
  37827. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  37828. "type": "integer"
  37829. },
  37830. "tradetype": {
  37831. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  37832. "type": "integer"
  37833. },
  37834. "updatereckonpriceinterval": {
  37835. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  37836. "type": "integer"
  37837. }
  37838. }
  37839. },
  37840. "models.TjmdQuoteGoods": {
  37841. "type": "object",
  37842. "properties": {
  37843. "buyqty": {
  37844. "description": "买量(暂不做, 无值, 保留字段)",
  37845. "type": "number"
  37846. },
  37847. "decimalplace": {
  37848. "description": "报价小数位",
  37849. "type": "integer"
  37850. },
  37851. "goodscode": {
  37852. "description": "合约代码",
  37853. "type": "string"
  37854. },
  37855. "goodsgroupid": {
  37856. "description": "商品组ID(自增ID)",
  37857. "type": "integer"
  37858. },
  37859. "goodsgroupname": {
  37860. "description": "商品组名称",
  37861. "type": "string"
  37862. },
  37863. "goodsid": {
  37864. "description": "合约id",
  37865. "type": "integer"
  37866. },
  37867. "goodsname": {
  37868. "description": "合约名称",
  37869. "type": "string"
  37870. },
  37871. "refgoodscode": {
  37872. "description": "标的合约代码",
  37873. "type": "string"
  37874. },
  37875. "refgoodsid": {
  37876. "description": "标的合约id",
  37877. "type": "integer"
  37878. },
  37879. "refgoodsname": {
  37880. "description": "标的合约名称",
  37881. "type": "string"
  37882. },
  37883. "sellqty": {
  37884. "description": "卖量(暂不做, 无值, 保留字段)",
  37885. "type": "number"
  37886. }
  37887. }
  37888. },
  37889. "models.TjmdTodayAccountMargin": {
  37890. "type": "object",
  37891. "properties": {
  37892. "accountid": {
  37893. "description": "账号ID",
  37894. "type": "integer"
  37895. },
  37896. "goodsid": {
  37897. "description": "商品ID",
  37898. "type": "integer"
  37899. },
  37900. "infoc": {
  37901. "description": "配置参数",
  37902. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  37903. },
  37904. "marketid": {
  37905. "description": "市场ID",
  37906. "type": "integer"
  37907. }
  37908. }
  37909. },
  37910. "models.TjmdTradeOrderDetail": {
  37911. "type": "object",
  37912. "properties": {
  37913. "buyorsell": {
  37914. "description": "买卖方向 0-买 1-卖",
  37915. "type": "integer"
  37916. },
  37917. "goodsid": {
  37918. "description": "商品id",
  37919. "type": "integer"
  37920. },
  37921. "marketmaxsub": {
  37922. "description": "市价最大偏移范围 [浮动价 - 点差]",
  37923. "type": "number"
  37924. },
  37925. "orderid": {
  37926. "description": "委托单号",
  37927. "type": "string"
  37928. },
  37929. "orderprice": {
  37930. "description": "期初均价",
  37931. "type": "number"
  37932. },
  37933. "orderqty": {
  37934. "description": "委托数量",
  37935. "type": "integer"
  37936. },
  37937. "pricemode": {
  37938. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  37939. "type": "integer"
  37940. },
  37941. "userid": {
  37942. "description": "用户id",
  37943. "type": "integer"
  37944. },
  37945. "username": {
  37946. "description": "用户名称(已脱敏)",
  37947. "type": "string"
  37948. }
  37949. }
  37950. },
  37951. "models.TjmdTransferApply": {
  37952. "type": "object",
  37953. "properties": {
  37954. "applyid": {
  37955. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  37956. "type": "integer"
  37957. },
  37958. "applystatus": {
  37959. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  37960. "type": "integer"
  37961. },
  37962. "applytime": {
  37963. "description": "申请时间(时间)",
  37964. "type": "string"
  37965. },
  37966. "auditremark": {
  37967. "description": "审核备注(拒绝原因?)",
  37968. "type": "string"
  37969. },
  37970. "begindate": {
  37971. "description": "开始交易日(yyyymmdd)",
  37972. "type": "string"
  37973. },
  37974. "buyorsell": {
  37975. "description": "买卖 - 0:买 1:卖",
  37976. "type": "integer"
  37977. },
  37978. "enddate": {
  37979. "description": "结束交易日(yyyymmdd)",
  37980. "type": "string"
  37981. },
  37982. "goodscode": {
  37983. "description": "商品代码",
  37984. "type": "string"
  37985. },
  37986. "goodsid": {
  37987. "description": "商品ID",
  37988. "type": "integer"
  37989. },
  37990. "goodsname": {
  37991. "description": "商品名称",
  37992. "type": "string"
  37993. },
  37994. "marketid": {
  37995. "description": "市场ID",
  37996. "type": "integer"
  37997. },
  37998. "qty": {
  37999. "description": "期初均价",
  38000. "type": "number"
  38001. },
  38002. "tradeid": {
  38003. "description": "成交单号(关联持仓)",
  38004. "type": "string"
  38005. },
  38006. "transferamount": {
  38007. "description": "转让总金额(金额)",
  38008. "type": "number"
  38009. },
  38010. "transferprice": {
  38011. "description": "转让价格(协议价格)",
  38012. "type": "number"
  38013. }
  38014. }
  38015. },
  38016. "models.TradeHolderDetail": {
  38017. "type": "object",
  38018. "properties": {
  38019. "accountid": {
  38020. "description": "账号ID",
  38021. "type": "integer"
  38022. },
  38023. "agreeunit": {
  38024. "description": "合约乘数",
  38025. "type": "number"
  38026. },
  38027. "buyorsell": {
  38028. "description": "方向 - 0:买 1:卖",
  38029. "type": "integer"
  38030. },
  38031. "currencyid": {
  38032. "description": "商品币种id",
  38033. "type": "integer"
  38034. },
  38035. "currencyname": {
  38036. "description": "币种名称",
  38037. "type": "string"
  38038. },
  38039. "decimalplace": {
  38040. "description": "商品价格小数位",
  38041. "type": "integer"
  38042. },
  38043. "enumdicname": {
  38044. "description": "商品单位名称",
  38045. "type": "string"
  38046. },
  38047. "expirecycle": {
  38048. "description": "行权周期(天) - 1:滚动行权时填写",
  38049. "type": "integer"
  38050. },
  38051. "expiredate": {
  38052. "description": "行权日(yyyyMMdd) - 到期日",
  38053. "type": "string"
  38054. },
  38055. "expiretype": {
  38056. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  38057. "type": "integer"
  38058. },
  38059. "freezeqty": {
  38060. "description": "期初均价",
  38061. "type": "number"
  38062. },
  38063. "goodscode": {
  38064. "description": "商品代码",
  38065. "type": "string"
  38066. },
  38067. "goodsid": {
  38068. "description": "商品ID",
  38069. "type": "integer"
  38070. },
  38071. "goodsname": {
  38072. "description": "商品名称",
  38073. "type": "string"
  38074. },
  38075. "goodunitid": {
  38076. "description": "商品单位id",
  38077. "type": "integer"
  38078. },
  38079. "holderamount": {
  38080. "description": "持仓金额",
  38081. "type": "number"
  38082. },
  38083. "holdercredit": {
  38084. "description": "持仓授信金额",
  38085. "type": "number"
  38086. },
  38087. "holderdays": {
  38088. "description": "剩余冻结天数",
  38089. "type": "integer"
  38090. },
  38091. "holderprice": {
  38092. "description": "持仓价格",
  38093. "type": "number"
  38094. },
  38095. "holderqty": {
  38096. "description": "期初均价",
  38097. "type": "number"
  38098. },
  38099. "isconfirmexercise": {
  38100. "description": "是否确认行权- 0:否 1:是",
  38101. "type": "integer"
  38102. },
  38103. "ispreexercise": {
  38104. "description": "是否预申报- 0:否 1:是 2:不可行权",
  38105. "type": "integer"
  38106. },
  38107. "marketid": {
  38108. "description": "市场id",
  38109. "type": "integer"
  38110. },
  38111. "marketname": {
  38112. "description": "市场名称",
  38113. "type": "string"
  38114. },
  38115. "openprice": {
  38116. "description": "建仓价格",
  38117. "type": "number"
  38118. },
  38119. "openqty": {
  38120. "description": "期初均价",
  38121. "type": "number"
  38122. },
  38123. "optiontype": {
  38124. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38125. "type": "integer"
  38126. },
  38127. "preexerciseprice": {
  38128. "description": "预申报价格",
  38129. "type": "number"
  38130. },
  38131. "premium": {
  38132. "description": "权利金",
  38133. "type": "number"
  38134. },
  38135. "qtydecimalplace": {
  38136. "description": "商品成交量小数位",
  38137. "type": "integer"
  38138. },
  38139. "refgoodscode": {
  38140. "description": "标的合约代码",
  38141. "type": "string"
  38142. },
  38143. "refgoodsid": {
  38144. "description": "标的合约id",
  38145. "type": "integer"
  38146. },
  38147. "releaseamount": {
  38148. "description": "释放持仓金额",
  38149. "type": "number"
  38150. },
  38151. "releaseholdercredit": {
  38152. "description": "释放持仓授信金额",
  38153. "type": "number"
  38154. },
  38155. "taname": {
  38156. "description": "资金账号名称",
  38157. "type": "string"
  38158. },
  38159. "tradeamount": {
  38160. "description": "成交金额",
  38161. "type": "number"
  38162. },
  38163. "tradedate": {
  38164. "description": "交易日(yyyyMMdd)",
  38165. "type": "string"
  38166. },
  38167. "tradeid": {
  38168. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38169. "type": "string"
  38170. },
  38171. "trademode": {
  38172. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  38173. "type": "integer"
  38174. },
  38175. "tradeproperty": {
  38176. "description": "交易属性",
  38177. "type": "integer"
  38178. },
  38179. "tradetime": {
  38180. "description": "交易时间",
  38181. "type": "string"
  38182. },
  38183. "userid": {
  38184. "description": "用户id",
  38185. "type": "integer"
  38186. },
  38187. "username": {
  38188. "description": "用户名称",
  38189. "type": "string"
  38190. }
  38191. }
  38192. },
  38193. "models.Unlinkermcphedgeplan": {
  38194. "type": "object",
  38195. "required": [
  38196. "areauserid"
  38197. ],
  38198. "properties": {
  38199. "accountid": {
  38200. "description": "期货账户ID - 作废",
  38201. "type": "integer"
  38202. },
  38203. "accountname": {
  38204. "description": "交易用户",
  38205. "type": "string"
  38206. },
  38207. "applyid": {
  38208. "description": "申请人",
  38209. "type": "integer"
  38210. },
  38211. "applysrc": {
  38212. "description": "申请来源 - 1:管理端 2:终端",
  38213. "type": "integer"
  38214. },
  38215. "applytime": {
  38216. "description": "申请时间",
  38217. "type": "string"
  38218. },
  38219. "areauserid": {
  38220. "description": "[企业ID]机构ID",
  38221. "type": "integer"
  38222. },
  38223. "auditid": {
  38224. "description": "审核人",
  38225. "type": "integer"
  38226. },
  38227. "auditremark": {
  38228. "description": "审核备注",
  38229. "type": "string"
  38230. },
  38231. "auditsrc": {
  38232. "description": "审核来源 - 1:管理端 2:终端",
  38233. "type": "integer"
  38234. },
  38235. "audittime": {
  38236. "description": "审核时间",
  38237. "type": "string"
  38238. },
  38239. "audittradedate": {
  38240. "description": "审核交易日(yyyyMMdd)",
  38241. "type": "string"
  38242. },
  38243. "biztype": {
  38244. "description": "业务类型 - 1:套保",
  38245. "type": "integer"
  38246. },
  38247. "contracttype": {
  38248. "description": "计划类型 - 1:采购 -1:销售",
  38249. "type": "integer"
  38250. },
  38251. "convertfactor": {
  38252. "description": "标仓系数 - 作废",
  38253. "type": "number"
  38254. },
  38255. "createtime": {
  38256. "description": "创建时间",
  38257. "type": "string"
  38258. },
  38259. "currencyid": {
  38260. "description": "结算币种ID - 作废",
  38261. "type": "integer"
  38262. },
  38263. "deliverygoodsid": {
  38264. "description": "现货品种ID",
  38265. "type": "integer"
  38266. },
  38267. "enumdicname": {
  38268. "description": "结算币种",
  38269. "type": "string"
  38270. },
  38271. "hedgeplanid": {
  38272. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  38273. "type": "string"
  38274. },
  38275. "hedgeplanno": {
  38276. "description": "[计划编号]套保计划编号,模糊查询",
  38277. "type": "string"
  38278. },
  38279. "hedgeplanstatus": {
  38280. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  38281. "type": "integer"
  38282. },
  38283. "isrelated": {
  38284. "description": "是否已关联计划项目 - 0:否 1:是",
  38285. "type": "integer"
  38286. },
  38287. "planqty": {
  38288. "description": "[计划量]计划数量",
  38289. "type": "number"
  38290. },
  38291. "plantime": {
  38292. "description": "计划时间",
  38293. "type": "string"
  38294. },
  38295. "producttype": {
  38296. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  38297. "type": "integer"
  38298. },
  38299. "remark": {
  38300. "description": "备注",
  38301. "type": "string"
  38302. },
  38303. "spotgoodsdesc": {
  38304. "description": "商品型号",
  38305. "type": "string"
  38306. },
  38307. "tradedate": {
  38308. "description": "交易日(yyyyMMdd)",
  38309. "type": "string"
  38310. },
  38311. "tradeuserid": {
  38312. "description": "交易用户ID",
  38313. "type": "integer"
  38314. },
  38315. "updatetime": {
  38316. "description": "更新时间",
  38317. "type": "string"
  38318. },
  38319. "wrstandardid": {
  38320. "description": "现货商品ID",
  38321. "type": "integer"
  38322. },
  38323. "wrstandardname": {
  38324. "description": "现货商品,模糊查询",
  38325. "type": "string"
  38326. }
  38327. }
  38328. },
  38329. "models.UserCollectConfig": {
  38330. "type": "object",
  38331. "properties": {
  38332. "accountstatus": {
  38333. "description": "账户状态 - 1:正常 2:停用 3:注销",
  38334. "type": "integer"
  38335. },
  38336. "collectaccountname": {
  38337. "description": "收款人账户名称",
  38338. "type": "string"
  38339. },
  38340. "collectaccountno": {
  38341. "description": "收款人账户",
  38342. "type": "string"
  38343. },
  38344. "collectbankname": {
  38345. "description": "收款人开户行",
  38346. "type": "string"
  38347. },
  38348. "collectbranchbankname": {
  38349. "description": "收款人开户支行",
  38350. "type": "string"
  38351. },
  38352. "collectconfigid": {
  38353. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  38354. "type": "string"
  38355. },
  38356. "remark": {
  38357. "description": "备注",
  38358. "type": "string"
  38359. },
  38360. "userid": {
  38361. "description": "收款人用户ID",
  38362. "type": "integer"
  38363. }
  38364. }
  38365. },
  38366. "models.UserReceiveInfo": {
  38367. "type": "object",
  38368. "properties": {
  38369. "address": {
  38370. "description": "提货人详细地址",
  38371. "type": "string"
  38372. },
  38373. "autoid": {
  38374. "description": "AutoID",
  38375. "type": "integer"
  38376. },
  38377. "cardnum": {
  38378. "description": "证件号码(加密存储)",
  38379. "type": "string"
  38380. },
  38381. "cardtypeid": {
  38382. "description": "证件类型",
  38383. "type": "integer"
  38384. },
  38385. "cityid": {
  38386. "description": "市",
  38387. "type": "integer"
  38388. },
  38389. "cityname": {
  38390. "description": "城市名称",
  38391. "type": "string"
  38392. },
  38393. "countryid": {
  38394. "description": "国家",
  38395. "type": "integer"
  38396. },
  38397. "countryname": {
  38398. "description": "国家名称",
  38399. "type": "string"
  38400. },
  38401. "districtid": {
  38402. "description": "地区",
  38403. "type": "integer"
  38404. },
  38405. "districtname": {
  38406. "description": "地区名称",
  38407. "type": "string"
  38408. },
  38409. "hasencrypt": {
  38410. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38411. "type": "integer"
  38412. },
  38413. "isdefault": {
  38414. "description": "是否默认地址 - 0:否 1:是",
  38415. "type": "integer"
  38416. },
  38417. "phonenum": {
  38418. "description": "提货人联系方式(加密存储)",
  38419. "type": "string"
  38420. },
  38421. "provinceid": {
  38422. "description": "省",
  38423. "type": "integer"
  38424. },
  38425. "provincename": {
  38426. "description": "省名称",
  38427. "type": "string"
  38428. },
  38429. "receivername": {
  38430. "description": "提货人姓名",
  38431. "type": "string"
  38432. },
  38433. "takeremark": {
  38434. "description": "提货备注",
  38435. "type": "string"
  38436. },
  38437. "userid": {
  38438. "description": "用户ID",
  38439. "type": "integer"
  38440. }
  38441. }
  38442. },
  38443. "models.Useraccount": {
  38444. "type": "object",
  38445. "required": [
  38446. "userid"
  38447. ],
  38448. "properties": {
  38449. "accountname": {
  38450. "description": "账户名称(机构名称)",
  38451. "type": "string"
  38452. },
  38453. "accountstatus": {
  38454. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  38455. "type": "integer"
  38456. },
  38457. "applysrc": {
  38458. "description": "申请来源 - 1:管理端 2:终端",
  38459. "type": "integer"
  38460. },
  38461. "auditremark": {
  38462. "description": "审核备注",
  38463. "type": "string"
  38464. },
  38465. "auditsrc": {
  38466. "description": "审核来源 - 1:管理端 2:终端",
  38467. "type": "integer"
  38468. },
  38469. "audittime": {
  38470. "description": "审核时间",
  38471. "type": "string"
  38472. },
  38473. "audituserid": {
  38474. "description": "审核人",
  38475. "type": "integer"
  38476. },
  38477. "broker": {
  38478. "description": "所属经纪人ID",
  38479. "type": "integer"
  38480. },
  38481. "canceltime": {
  38482. "description": "销户时间",
  38483. "type": "string"
  38484. },
  38485. "canceluserid": {
  38486. "description": "销户人",
  38487. "type": "integer"
  38488. },
  38489. "canrecommend": {
  38490. "description": "是否可推荐 - 0:不可 1;可",
  38491. "type": "integer"
  38492. },
  38493. "createtime": {
  38494. "description": "创建时间",
  38495. "type": "string"
  38496. },
  38497. "creatorid": {
  38498. "description": "创建人",
  38499. "type": "integer"
  38500. },
  38501. "hasauth": {
  38502. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  38503. "type": "integer"
  38504. },
  38505. "isanonymous": {
  38506. "description": "是否匿名下单 - 0:否 1:是",
  38507. "type": "integer"
  38508. },
  38509. "maxinvestornum": {
  38510. "description": "最大用户数(经纪会员下投资者个数)",
  38511. "type": "integer"
  38512. },
  38513. "memberuserid": {
  38514. "description": "所属会员ID",
  38515. "type": "integer"
  38516. },
  38517. "modifierid": {
  38518. "description": "修改人",
  38519. "type": "integer"
  38520. },
  38521. "modifyremark": {
  38522. "description": "变更备注",
  38523. "type": "string"
  38524. },
  38525. "modifystatus": {
  38526. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  38527. "type": "integer"
  38528. },
  38529. "modifytime": {
  38530. "description": "修改时间",
  38531. "type": "string"
  38532. },
  38533. "parenttopuser": {
  38534. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  38535. "type": "string"
  38536. },
  38537. "parentuserid": {
  38538. "description": "所属机构ID",
  38539. "type": "integer"
  38540. },
  38541. "reckonaccountid": {
  38542. "description": "默认结算资金账号ID(机构分润使用) 作废",
  38543. "type": "integer"
  38544. },
  38545. "refercount": {
  38546. "description": "推荐总人数",
  38547. "type": "integer"
  38548. },
  38549. "refereeuserid": {
  38550. "description": "推荐人ID",
  38551. "type": "integer"
  38552. },
  38553. "refernum": {
  38554. "description": "推荐码",
  38555. "type": "string"
  38556. },
  38557. "rootuserid": {
  38558. "description": "根用户ID",
  38559. "type": "integer"
  38560. },
  38561. "subaccountlevel": {
  38562. "description": "子账户层数",
  38563. "type": "integer"
  38564. },
  38565. "subarealevelpath": {
  38566. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  38567. "type": "string"
  38568. },
  38569. "userid": {
  38570. "description": "用户ID",
  38571. "type": "integer"
  38572. },
  38573. "usertype": {
  38574. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  38575. "type": "integer"
  38576. }
  38577. }
  38578. },
  38579. "models.Userfavoritegoods": {
  38580. "type": "object",
  38581. "required": [
  38582. "goodsid"
  38583. ],
  38584. "properties": {
  38585. "goodsid": {
  38586. "description": "商品ID",
  38587. "type": "integer"
  38588. }
  38589. }
  38590. },
  38591. "models.Userinfo": {
  38592. "type": "object",
  38593. "required": [
  38594. "userid"
  38595. ],
  38596. "properties": {
  38597. "address": {
  38598. "description": "地址",
  38599. "type": "string"
  38600. },
  38601. "attachment1": {
  38602. "description": "附件1",
  38603. "type": "string"
  38604. },
  38605. "attachment2": {
  38606. "description": "附件2",
  38607. "type": "string"
  38608. },
  38609. "bankaccount": {
  38610. "description": "银行帐号 (加密存储)",
  38611. "type": "string"
  38612. },
  38613. "bankaccountname": {
  38614. "description": "收款人名称",
  38615. "type": "string"
  38616. },
  38617. "bankcardfrontphotourl": {
  38618. "description": "银行卡正面照地址",
  38619. "type": "string"
  38620. },
  38621. "bankid": {
  38622. "description": "银行编码",
  38623. "type": "string"
  38624. },
  38625. "bankname": {
  38626. "description": "银行名称",
  38627. "type": "string"
  38628. },
  38629. "biznature": {
  38630. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  38631. "type": "integer"
  38632. },
  38633. "bizscope": {
  38634. "description": "企业经营范围(企业)",
  38635. "type": "string"
  38636. },
  38637. "cardbackphotourl": {
  38638. "description": "证件背面图片地址",
  38639. "type": "string"
  38640. },
  38641. "cardfrontphotourl": {
  38642. "description": "证件正面图片地址",
  38643. "type": "string"
  38644. },
  38645. "cardnum": {
  38646. "description": "证件号码(加密存储)",
  38647. "type": "string"
  38648. },
  38649. "cardtypeid": {
  38650. "description": "证件类型ID",
  38651. "type": "integer"
  38652. },
  38653. "cityid": {
  38654. "description": "市",
  38655. "type": "integer"
  38656. },
  38657. "company": {
  38658. "description": "公司(个人)",
  38659. "type": "string"
  38660. },
  38661. "contactname": {
  38662. "description": "联系人",
  38663. "type": "string"
  38664. },
  38665. "countryid": {
  38666. "description": "国家",
  38667. "type": "integer"
  38668. },
  38669. "createtime": {
  38670. "description": "创建时间",
  38671. "type": "string"
  38672. },
  38673. "creatorid": {
  38674. "description": "创建人",
  38675. "type": "integer"
  38676. },
  38677. "customername": {
  38678. "description": "客户名称(企业名称)",
  38679. "type": "string"
  38680. },
  38681. "districtid": {
  38682. "description": "地区",
  38683. "type": "integer"
  38684. },
  38685. "email": {
  38686. "description": "邮件(加密存储)",
  38687. "type": "string"
  38688. },
  38689. "fax": {
  38690. "description": "传真(加密存储)",
  38691. "type": "string"
  38692. },
  38693. "halfbodyphotourl": {
  38694. "description": "半身照地址",
  38695. "type": "string"
  38696. },
  38697. "hasencrypt": {
  38698. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38699. "type": "integer"
  38700. },
  38701. "headurl": {
  38702. "description": "头像地址",
  38703. "type": "string"
  38704. },
  38705. "legalcardbackphotourl": {
  38706. "description": "法人身份证背面照地址",
  38707. "type": "string"
  38708. },
  38709. "legalcardfrontphotourl": {
  38710. "description": "法人身份证正面照地址",
  38711. "type": "string"
  38712. },
  38713. "legalpersonname": {
  38714. "description": "法人姓名(企业)",
  38715. "type": "string"
  38716. },
  38717. "mobile": {
  38718. "description": "手机号码(加密存储)",
  38719. "type": "string"
  38720. },
  38721. "mobile2": {
  38722. "description": "手机号码[明文-尚志]",
  38723. "type": "string"
  38724. },
  38725. "modifierid": {
  38726. "description": "修改人",
  38727. "type": "integer"
  38728. },
  38729. "modifiertime": {
  38730. "description": "修改时间",
  38731. "type": "string"
  38732. },
  38733. "needinvoice": {
  38734. "description": "是否需要发票 - 0:不需要 1:需要",
  38735. "type": "integer"
  38736. },
  38737. "nickname": {
  38738. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  38739. "type": "string"
  38740. },
  38741. "openmode": {
  38742. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  38743. "type": "integer"
  38744. },
  38745. "otherurl": {
  38746. "description": "其它图片地址[使用分号分隔]",
  38747. "type": "string"
  38748. },
  38749. "postalcode": {
  38750. "description": "邮政编码",
  38751. "type": "string"
  38752. },
  38753. "provinceid": {
  38754. "description": "省",
  38755. "type": "integer"
  38756. },
  38757. "qq": {
  38758. "description": "QQ(加密存储",
  38759. "type": "string"
  38760. },
  38761. "remark": {
  38762. "description": "备注",
  38763. "type": "string"
  38764. },
  38765. "sex": {
  38766. "description": "用户性别 0: 女 1: 男",
  38767. "type": "integer"
  38768. },
  38769. "signpdfurl": {
  38770. "description": "签约pdf文件",
  38771. "type": "string"
  38772. },
  38773. "telphone": {
  38774. "description": "联系电话(加密存储)",
  38775. "type": "string"
  38776. },
  38777. "userid": {
  38778. "description": "用户ID",
  38779. "type": "integer"
  38780. },
  38781. "userinfotype": {
  38782. "description": "用户信息类型 - 1:个人 2:企业",
  38783. "type": "integer"
  38784. },
  38785. "userstatus": {
  38786. "description": "用户状态 - 1:正常 2:注销",
  38787. "type": "integer"
  38788. },
  38789. "usertype": {
  38790. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  38791. "type": "integer"
  38792. },
  38793. "wechat": {
  38794. "description": "微信(加密存储)",
  38795. "type": "string"
  38796. },
  38797. "wskhinfo": {
  38798. "description": "开户申请信息(JSON)",
  38799. "type": "string"
  38800. }
  38801. }
  38802. },
  38803. "models.WRSConverTDetail": {
  38804. "type": "object",
  38805. "properties": {
  38806. "convertratio": {
  38807. "description": "套保系数",
  38808. "type": "number"
  38809. },
  38810. "deliverygoodscode": {
  38811. "description": "现货商品代码",
  38812. "type": "string"
  38813. },
  38814. "deliverygoodsid": {
  38815. "description": "现货品种ID",
  38816. "type": "integer"
  38817. },
  38818. "deliverygoodsname": {
  38819. "description": "现货商品名称",
  38820. "type": "string"
  38821. },
  38822. "enumdicname": {
  38823. "description": "单位名称",
  38824. "type": "string"
  38825. },
  38826. "goodsunitid": {
  38827. "description": "套保品种单位id",
  38828. "type": "integer"
  38829. },
  38830. "middlegoodscode": {
  38831. "description": "套保品种代码",
  38832. "type": "string"
  38833. },
  38834. "middlegoodsid": {
  38835. "description": "套保品种ID",
  38836. "type": "integer"
  38837. },
  38838. "middlegoodsname": {
  38839. "description": "套保品种名称",
  38840. "type": "string"
  38841. },
  38842. "modifytime": {
  38843. "description": "修改时间",
  38844. "type": "string"
  38845. },
  38846. "wrstandardid": {
  38847. "description": "品类ID",
  38848. "type": "integer"
  38849. }
  38850. }
  38851. },
  38852. "models.WRStandardInfo": {
  38853. "type": "object",
  38854. "required": [
  38855. "wrstandardid"
  38856. ],
  38857. "properties": {
  38858. "areauserid": {
  38859. "description": "所属机构",
  38860. "type": "integer"
  38861. },
  38862. "convertfactor": {
  38863. "description": "标仓系数",
  38864. "type": "number"
  38865. },
  38866. "createtime": {
  38867. "description": "创建时间",
  38868. "type": "string"
  38869. },
  38870. "creatorid": {
  38871. "description": "创建人",
  38872. "type": "integer"
  38873. },
  38874. "deliverygoodsid": {
  38875. "description": "品种ID",
  38876. "type": "integer"
  38877. },
  38878. "deliverygoodsname": {
  38879. "description": "交割商品名称",
  38880. "type": "string"
  38881. },
  38882. "factoryitemjson": {
  38883. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  38884. "type": "string"
  38885. },
  38886. "isvalid": {
  38887. "description": "是否有效 - 0:无效 1:有效",
  38888. "type": "integer"
  38889. },
  38890. "minivalue": {
  38891. "description": "最小变动值",
  38892. "type": "integer"
  38893. },
  38894. "minivaluedp": {
  38895. "description": "最小变动值小数位",
  38896. "type": "integer"
  38897. },
  38898. "realminivalue": {
  38899. "description": "实际最小变动值",
  38900. "type": "integer"
  38901. },
  38902. "realminivaluedp": {
  38903. "description": "实际最小变动值小数位",
  38904. "type": "integer"
  38905. },
  38906. "remark": {
  38907. "description": "备注",
  38908. "type": "string"
  38909. },
  38910. "unitid": {
  38911. "description": "单位ID",
  38912. "type": "integer"
  38913. },
  38914. "unitname": {
  38915. "description": "单位",
  38916. "type": "string"
  38917. },
  38918. "updatetime": {
  38919. "description": "更新时间",
  38920. "type": "string"
  38921. },
  38922. "updatorid": {
  38923. "description": "更新人",
  38924. "type": "integer"
  38925. },
  38926. "wrsstatus": {
  38927. "description": "状态 - 作废 - 0:未激活 1:正常",
  38928. "type": "integer"
  38929. },
  38930. "wrstandardcode": {
  38931. "description": "现货品类代码",
  38932. "type": "string"
  38933. },
  38934. "wrstandardid": {
  38935. "description": "现货品类ID(SEQ_WRSTANDARD)",
  38936. "type": "integer"
  38937. },
  38938. "wrstandardname": {
  38939. "description": "现货品类名称",
  38940. "type": "string"
  38941. }
  38942. }
  38943. },
  38944. "models.WRTradeBargainApply": {
  38945. "type": "object",
  38946. "properties": {
  38947. "accountid": {
  38948. "description": "摘牌资金账号",
  38949. "type": "integer"
  38950. },
  38951. "applyprice": {
  38952. "description": "申请价格(议价价格)",
  38953. "type": "string"
  38954. },
  38955. "applyqty": {
  38956. "description": "摘牌数量(议价数量)",
  38957. "type": "number"
  38958. },
  38959. "applyremark": {
  38960. "description": "申请备注",
  38961. "type": "string"
  38962. },
  38963. "applystatus": {
  38964. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  38965. "type": "integer"
  38966. },
  38967. "applytime": {
  38968. "description": "申请时间(议价时间)",
  38969. "type": "string"
  38970. },
  38971. "begindate": {
  38972. "description": "开始交易日(yyyymmdd)",
  38973. "type": "string"
  38974. },
  38975. "buyorsell": {
  38976. "description": "买卖(挂牌类型) - 0:买 1:卖",
  38977. "type": "integer"
  38978. },
  38979. "confirmremark": {
  38980. "description": "确认备注",
  38981. "type": "string"
  38982. },
  38983. "confirmtime": {
  38984. "description": "确认时间",
  38985. "type": "string"
  38986. },
  38987. "confirmuserid": {
  38988. "description": "确认人",
  38989. "type": "integer"
  38990. },
  38991. "deliverygoodscode": {
  38992. "description": "品种代码",
  38993. "type": "string"
  38994. },
  38995. "deliverygoodsid": {
  38996. "description": "品种ID",
  38997. "type": "integer"
  38998. },
  38999. "deliverygoodsname": {
  39000. "description": "品种名称",
  39001. "type": "string"
  39002. },
  39003. "deliverymonth": {
  39004. "description": "交收月",
  39005. "type": "string"
  39006. },
  39007. "enddate": {
  39008. "description": "结束交易日(yyyymmdd)",
  39009. "type": "string"
  39010. },
  39011. "enumdicname": {
  39012. "description": "单位名称",
  39013. "type": "string"
  39014. },
  39015. "fixedprice": {
  39016. "description": "期初均价",
  39017. "type": "number"
  39018. },
  39019. "handlestatus": {
  39020. "description": "处理状态",
  39021. "type": "integer"
  39022. },
  39023. "marginvalue": {
  39024. "description": "期初均价",
  39025. "type": "number"
  39026. },
  39027. "marketid": {
  39028. "description": "市场ID",
  39029. "type": "integer"
  39030. },
  39031. "matchaccountid": {
  39032. "description": "挂牌方资金账号",
  39033. "type": "integer"
  39034. },
  39035. "matchuserid": {
  39036. "description": "挂牌方用户id",
  39037. "type": "integer"
  39038. },
  39039. "matchusername": {
  39040. "description": "挂牌方用户名称(已脱敏)",
  39041. "type": "string"
  39042. },
  39043. "minivalue": {
  39044. "description": "现货商品最小变动值",
  39045. "type": "integer"
  39046. },
  39047. "optioncompare": {
  39048. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39049. "type": "string"
  39050. },
  39051. "orderqty": {
  39052. "description": "挂牌数量",
  39053. "type": "integer"
  39054. },
  39055. "refprice": {
  39056. "description": "参考价格",
  39057. "type": "string"
  39058. },
  39059. "retcode": {
  39060. "description": "委托返回代码",
  39061. "type": "integer"
  39062. },
  39063. "templatename": {
  39064. "description": "履约方式(履约模板名称)",
  39065. "type": "string"
  39066. },
  39067. "tradedate": {
  39068. "description": "交易日(yyyyMMdd)",
  39069. "type": "string"
  39070. },
  39071. "userid": {
  39072. "description": "摘牌人用户ID(议价人ID)",
  39073. "type": "integer"
  39074. },
  39075. "username": {
  39076. "description": "议价人名字(已脱敏)",
  39077. "type": "string"
  39078. },
  39079. "validtime": {
  39080. "description": "有效期限",
  39081. "type": "string"
  39082. },
  39083. "warehouseid": {
  39084. "description": "仓库ID",
  39085. "type": "integer"
  39086. },
  39087. "warehousename": {
  39088. "description": "仓库名称",
  39089. "type": "string"
  39090. },
  39091. "wrbargainid": {
  39092. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  39093. "type": "string"
  39094. },
  39095. "wrfactortypeid": {
  39096. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39097. "type": "string"
  39098. },
  39099. "wrfactortypename": {
  39100. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39101. "type": "string"
  39102. },
  39103. "wrstandardcode": {
  39104. "description": "现货商品代码",
  39105. "type": "string"
  39106. },
  39107. "wrstandardid": {
  39108. "description": "现货商品ID",
  39109. "type": "integer"
  39110. },
  39111. "wrstandardname": {
  39112. "description": "商品名称",
  39113. "type": "string"
  39114. },
  39115. "wrtradeorderid": {
  39116. "description": "关联委托单ID",
  39117. "type": "string"
  39118. },
  39119. "wrtypename": {
  39120. "description": "商品",
  39121. "type": "string"
  39122. }
  39123. }
  39124. },
  39125. "models.Warehouseinfo": {
  39126. "type": "object",
  39127. "required": [
  39128. "autoid",
  39129. "warehousecode"
  39130. ],
  39131. "properties": {
  39132. "address": {
  39133. "description": "详细地址",
  39134. "type": "string"
  39135. },
  39136. "areauserid": {
  39137. "description": "所属机构",
  39138. "type": "integer"
  39139. },
  39140. "autoid": {
  39141. "description": "自增ID",
  39142. "type": "integer"
  39143. },
  39144. "cityid": {
  39145. "description": "市",
  39146. "type": "integer"
  39147. },
  39148. "contactname": {
  39149. "description": "联系人",
  39150. "type": "string"
  39151. },
  39152. "contactnum": {
  39153. "description": "联系电话",
  39154. "type": "string"
  39155. },
  39156. "countryid": {
  39157. "description": "国家",
  39158. "type": "integer"
  39159. },
  39160. "createtime": {
  39161. "description": "创建时间",
  39162. "type": "string"
  39163. },
  39164. "districtid": {
  39165. "description": "区",
  39166. "type": "integer"
  39167. },
  39168. "hasvideo": {
  39169. "description": "是否有视频 - 0:无 1:有",
  39170. "type": "integer"
  39171. },
  39172. "provinceid": {
  39173. "description": "省",
  39174. "type": "integer"
  39175. },
  39176. "remark": {
  39177. "description": "审核备注",
  39178. "type": "string"
  39179. },
  39180. "videourl": {
  39181. "description": "视频地址",
  39182. "type": "string"
  39183. },
  39184. "warehousecode": {
  39185. "description": "仓库代码",
  39186. "type": "string"
  39187. },
  39188. "warehousename": {
  39189. "description": "仓库名称",
  39190. "type": "string"
  39191. },
  39192. "warehousestatus": {
  39193. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  39194. "type": "integer"
  39195. },
  39196. "warehousetype": {
  39197. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  39198. "type": "integer"
  39199. }
  39200. }
  39201. },
  39202. "models.WrAverageTradePrice": {
  39203. "type": "object",
  39204. "properties": {
  39205. "averageprice": {
  39206. "description": "期初均价",
  39207. "type": "number"
  39208. },
  39209. "tradedate": {
  39210. "description": "交易日yyyymm",
  39211. "type": "string"
  39212. }
  39213. }
  39214. },
  39215. "models.WrBrandAndYears": {
  39216. "type": "object",
  39217. "properties": {
  39218. "brandlst": {
  39219. "description": "品牌列表",
  39220. "type": "array",
  39221. "items": {
  39222. "$ref": "#/definitions/models.DgFactoryItem"
  39223. }
  39224. },
  39225. "yearslst": {
  39226. "description": "年份列表",
  39227. "type": "array",
  39228. "items": {
  39229. "$ref": "#/definitions/models.DgFactoryItem"
  39230. }
  39231. }
  39232. }
  39233. },
  39234. "models.WrBsGoodsInfo": {
  39235. "type": "object",
  39236. "properties": {
  39237. "buyorsell": {
  39238. "description": "买卖方向 0-买 1-卖",
  39239. "type": "integer"
  39240. },
  39241. "goodsid": {
  39242. "description": "交易合约ID",
  39243. "type": "integer"
  39244. },
  39245. "lstitem": {
  39246. "description": "商品信息项",
  39247. "type": "array",
  39248. "items": {
  39249. "$ref": "#/definitions/models.WrTypeItem"
  39250. }
  39251. },
  39252. "lststep": {
  39253. "description": "履约规则",
  39254. "type": "array",
  39255. "items": {
  39256. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  39257. }
  39258. }
  39259. }
  39260. },
  39261. "models.WrBuybackDetail": {
  39262. "type": "object",
  39263. "properties": {
  39264. "buybackamount": {
  39265. "description": "回购金额",
  39266. "type": "number"
  39267. },
  39268. "buybackqty": {
  39269. "description": "回购数量",
  39270. "type": "number"
  39271. },
  39272. "buybackreleasemargin": {
  39273. "description": "回购释放保证金",
  39274. "type": "number"
  39275. },
  39276. "buybacktime": {
  39277. "description": "回购时间",
  39278. "type": "string"
  39279. },
  39280. "errordesc": {
  39281. "description": "错误描述",
  39282. "type": "string"
  39283. },
  39284. "handlestatus": {
  39285. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  39286. "type": "integer"
  39287. },
  39288. "relatedwrid": {
  39289. "description": "关联仓单ID",
  39290. "type": "integer"
  39291. },
  39292. "scfcontractid": {
  39293. "description": "SCF合同ID",
  39294. "type": "string"
  39295. },
  39296. "scfwrbuybackid": {
  39297. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  39298. "type": "integer"
  39299. },
  39300. "tradedate": {
  39301. "description": "交易日(yyyyMMdd)",
  39302. "type": "string"
  39303. }
  39304. }
  39305. },
  39306. "models.WrClientAdSpaceConfig": {
  39307. "type": "object",
  39308. "properties": {
  39309. "adspaceid": {
  39310. "description": "广告位ID",
  39311. "type": "integer"
  39312. },
  39313. "adspacename": {
  39314. "description": "广告位名称",
  39315. "type": "string"
  39316. },
  39317. "adspacetype": {
  39318. "description": "广告位类型 - 1:固定广告位",
  39319. "type": "integer"
  39320. },
  39321. "areauserid": {
  39322. "description": "所属机构ID",
  39323. "type": "integer"
  39324. },
  39325. "createdate": {
  39326. "description": "创建时间",
  39327. "type": "string"
  39328. },
  39329. "imagepath": {
  39330. "description": "图片",
  39331. "type": "string"
  39332. },
  39333. "modifierid": {
  39334. "description": "操作人",
  39335. "type": "integer"
  39336. },
  39337. "recsize": {
  39338. "description": "推荐尺寸",
  39339. "type": "string"
  39340. },
  39341. "title": {
  39342. "description": "标题",
  39343. "type": "string"
  39344. },
  39345. "updatedate": {
  39346. "description": "更新时间",
  39347. "type": "string"
  39348. },
  39349. "urlcontent": {
  39350. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  39351. "type": "string"
  39352. },
  39353. "urltype": {
  39354. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  39355. "type": "integer"
  39356. }
  39357. }
  39358. },
  39359. "models.WrDeliveryAvalidHoldLB": {
  39360. "type": "object",
  39361. "properties": {
  39362. "accountid": {
  39363. "description": "资金账号",
  39364. "type": "integer"
  39365. },
  39366. "avalidqty": {
  39367. "description": "数量(可点选数量)",
  39368. "type": "number"
  39369. },
  39370. "deliverygoodsid": {
  39371. "description": "品种id",
  39372. "type": "integer"
  39373. },
  39374. "enumdicname": {
  39375. "description": "单位名称",
  39376. "type": "string"
  39377. },
  39378. "goodsid": {
  39379. "description": "x合约商品id",
  39380. "type": "integer"
  39381. },
  39382. "ladingbillid": {
  39383. "description": "提单id",
  39384. "type": "string"
  39385. },
  39386. "pgoodscode": {
  39387. "description": "p商品代码(点价合约)",
  39388. "type": "string"
  39389. },
  39390. "pgoodsid": {
  39391. "description": "p商品id(点价合约)",
  39392. "type": "integer"
  39393. },
  39394. "pgoodsname": {
  39395. "description": "p商品名称(点价合约)",
  39396. "type": "string"
  39397. },
  39398. "pricemove": {
  39399. "description": "升贴水",
  39400. "type": "number"
  39401. },
  39402. "subnum": {
  39403. "description": "提单子id",
  39404. "type": "integer"
  39405. },
  39406. "userid": {
  39407. "description": "用户id",
  39408. "type": "integer"
  39409. },
  39410. "username": {
  39411. "description": "仓单持有人",
  39412. "type": "string"
  39413. },
  39414. "warehousecode": {
  39415. "description": "仓库代码",
  39416. "type": "string"
  39417. },
  39418. "warehouseid": {
  39419. "description": "仓库id",
  39420. "type": "integer"
  39421. },
  39422. "warehousename": {
  39423. "description": "仓库名称",
  39424. "type": "string"
  39425. },
  39426. "wrfactortypeid": {
  39427. "description": "仓单要素id",
  39428. "type": "string"
  39429. },
  39430. "wrstandardcode": {
  39431. "description": "品代码",
  39432. "type": "string"
  39433. },
  39434. "wrstandardid": {
  39435. "description": "品类d",
  39436. "type": "integer"
  39437. },
  39438. "wrstandardname": {
  39439. "description": "品类名称",
  39440. "type": "string"
  39441. },
  39442. "wrtypename": {
  39443. "description": "商品",
  39444. "type": "string"
  39445. },
  39446. "xgoodscode": {
  39447. "description": "x合约代码",
  39448. "type": "string"
  39449. },
  39450. "xgoodsname": {
  39451. "description": "x合约名称",
  39452. "type": "string"
  39453. }
  39454. }
  39455. },
  39456. "models.WrDeliveryDetail": {
  39457. "type": "object",
  39458. "properties": {
  39459. "accountid": {
  39460. "description": "账号ID",
  39461. "type": "integer"
  39462. },
  39463. "averageprice": {
  39464. "description": "期初均价",
  39465. "type": "number"
  39466. },
  39467. "begindate": {
  39468. "description": "开始交易日(yyyymmdd)",
  39469. "type": "string"
  39470. },
  39471. "buyorsell": {
  39472. "description": "方向 - 0:买 1:卖",
  39473. "type": "integer"
  39474. },
  39475. "deliveryamount": {
  39476. "description": "货款金额(X总货款+P总货款)",
  39477. "type": "number"
  39478. },
  39479. "deliveryid": {
  39480. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  39481. "type": "string"
  39482. },
  39483. "deliveryorderid": {
  39484. "description": "申报单号",
  39485. "type": "string"
  39486. },
  39487. "deliverypricemove": {
  39488. "description": "升贴水(升贴水总额)",
  39489. "type": "number"
  39490. },
  39491. "deliveryqty": {
  39492. "description": "交收数量(点选数量)",
  39493. "type": "number"
  39494. },
  39495. "deliverystatus": {
  39496. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  39497. "type": "integer"
  39498. },
  39499. "deliverytime": {
  39500. "description": "交割时间",
  39501. "type": "string"
  39502. },
  39503. "deliverytotalamount": {
  39504. "description": "交收金额",
  39505. "type": "number"
  39506. },
  39507. "enddate": {
  39508. "description": "结束交易日(yyyymmdd)",
  39509. "type": "string"
  39510. },
  39511. "enumdicname": {
  39512. "description": "单位名称",
  39513. "type": "string"
  39514. },
  39515. "matchaccountid": {
  39516. "description": "对手账号ID",
  39517. "type": "integer"
  39518. },
  39519. "matchusername": {
  39520. "description": "对手方名称(仓单持有人)",
  39521. "type": "string"
  39522. },
  39523. "p1goodsremainamount": {
  39524. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  39525. "type": "number"
  39526. },
  39527. "pdeliverycloseqty": {
  39528. "description": "p合约平仓数量",
  39529. "type": "number"
  39530. },
  39531. "pdeliveryprice": {
  39532. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  39533. "type": "number"
  39534. },
  39535. "pgoodscode": {
  39536. "description": "商品代码",
  39537. "type": "string"
  39538. },
  39539. "pgoodsid": {
  39540. "description": "p点选合约id",
  39541. "type": "integer"
  39542. },
  39543. "pgoodsname": {
  39544. "description": "商品名称",
  39545. "type": "string"
  39546. },
  39547. "ppricemode": {
  39548. "description": "点价价格方式 - 1:商品价 2:固定值",
  39549. "type": "integer"
  39550. },
  39551. "tradedate": {
  39552. "description": "交易日(yyyymmdd)",
  39553. "type": "string"
  39554. },
  39555. "userid": {
  39556. "description": "用户id",
  39557. "type": "integer"
  39558. },
  39559. "username": {
  39560. "description": "用户名称",
  39561. "type": "string"
  39562. },
  39563. "warehousename": {
  39564. "description": "仓库名称",
  39565. "type": "string"
  39566. },
  39567. "wrfactortypeid": {
  39568. "description": "仓单要素类型ID",
  39569. "type": "string"
  39570. },
  39571. "wrtypename": {
  39572. "description": "商品",
  39573. "type": "string"
  39574. },
  39575. "xdeliverycloseqty": {
  39576. "description": "合约数量",
  39577. "type": "number"
  39578. },
  39579. "xgoodsamount": {
  39580. "description": "期初均价",
  39581. "type": "number"
  39582. },
  39583. "xgoodscode": {
  39584. "description": "商品代码",
  39585. "type": "string"
  39586. },
  39587. "xgoodsid": {
  39588. "description": "x交易合约ID",
  39589. "type": "integer"
  39590. },
  39591. "xgoodsname": {
  39592. "description": "商品名称",
  39593. "type": "string"
  39594. }
  39595. }
  39596. },
  39597. "models.WrDeliveryGoodsSection": {
  39598. "type": "object",
  39599. "properties": {
  39600. "dglst": {
  39601. "description": "板块商品列表",
  39602. "type": "array",
  39603. "items": {
  39604. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  39605. }
  39606. },
  39607. "imagepath": {
  39608. "description": "图片地址",
  39609. "type": "string"
  39610. },
  39611. "orderindex": {
  39612. "description": "排序",
  39613. "type": "integer"
  39614. },
  39615. "sectionid": {
  39616. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  39617. "type": "integer"
  39618. },
  39619. "sectionname": {
  39620. "description": "版块名称",
  39621. "type": "string"
  39622. },
  39623. "sectiontype": {
  39624. "description": "版块类型 - 1:指数版块 2:普通版块",
  39625. "type": "integer"
  39626. }
  39627. }
  39628. },
  39629. "models.WrDeliveryGoodsSectionConfig": {
  39630. "type": "object",
  39631. "properties": {
  39632. "deliverygoodscode": {
  39633. "description": "现货商品代码",
  39634. "type": "string"
  39635. },
  39636. "deliverygoodsid": {
  39637. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  39638. "type": "integer"
  39639. },
  39640. "deliverygoodsname": {
  39641. "description": "现货商品名称",
  39642. "type": "string"
  39643. },
  39644. "orderindex": {
  39645. "description": "排序",
  39646. "type": "integer"
  39647. }
  39648. }
  39649. },
  39650. "models.WrDraftUserInfo": {
  39651. "type": "object",
  39652. "properties": {
  39653. "address": {
  39654. "description": "地址",
  39655. "type": "string"
  39656. },
  39657. "attachment1": {
  39658. "description": "附件1",
  39659. "type": "string"
  39660. },
  39661. "attachment2": {
  39662. "description": "附件2",
  39663. "type": "string"
  39664. },
  39665. "attachment3": {
  39666. "description": "附件3",
  39667. "type": "string"
  39668. },
  39669. "attachment4": {
  39670. "description": "附件4",
  39671. "type": "string"
  39672. },
  39673. "attachment5": {
  39674. "description": "附件5",
  39675. "type": "string"
  39676. },
  39677. "bankaccount": {
  39678. "description": "银行帐号 (加密存储)",
  39679. "type": "string"
  39680. },
  39681. "bankaccountname": {
  39682. "description": "收款人名称",
  39683. "type": "string"
  39684. },
  39685. "bankcardfrontphotourl": {
  39686. "description": "银行卡正面照地址",
  39687. "type": "string"
  39688. },
  39689. "bankid": {
  39690. "description": "银行编码",
  39691. "type": "string"
  39692. },
  39693. "bankname": {
  39694. "description": "银行名称",
  39695. "type": "string"
  39696. },
  39697. "birthday": {
  39698. "description": "生日(个人:年月日)",
  39699. "type": "string"
  39700. },
  39701. "biznature": {
  39702. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  39703. "type": "integer"
  39704. },
  39705. "bizscope": {
  39706. "description": "企业经营范围(企业)",
  39707. "type": "string"
  39708. },
  39709. "biztype": {
  39710. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  39711. "type": "integer"
  39712. },
  39713. "cardbackphotourl": {
  39714. "description": "证件背面图片地址",
  39715. "type": "string"
  39716. },
  39717. "cardfrontphotourl": {
  39718. "description": "证件正面图片地址",
  39719. "type": "string"
  39720. },
  39721. "cardnum": {
  39722. "description": "证件号码(加密存储)",
  39723. "type": "string"
  39724. },
  39725. "cardtypeid": {
  39726. "description": "证件类型ID",
  39727. "type": "integer"
  39728. },
  39729. "cityid": {
  39730. "description": "市",
  39731. "type": "integer"
  39732. },
  39733. "company": {
  39734. "description": "公司(个人)",
  39735. "type": "string"
  39736. },
  39737. "contactcardbackphotourl": {
  39738. "description": "联系人证件背面图片地址",
  39739. "type": "string"
  39740. },
  39741. "contactcardfrontphotourl": {
  39742. "description": "联系人证件正面图片地址",
  39743. "type": "string"
  39744. },
  39745. "contactname": {
  39746. "description": "联系人",
  39747. "type": "string"
  39748. },
  39749. "countryid": {
  39750. "description": "国家",
  39751. "type": "integer"
  39752. },
  39753. "createtime": {
  39754. "description": "创建时间",
  39755. "type": "string"
  39756. },
  39757. "creatorid": {
  39758. "description": "创建人",
  39759. "type": "integer"
  39760. },
  39761. "creditquota": {
  39762. "description": "授信额度(金瑞)",
  39763. "type": "number"
  39764. },
  39765. "customername": {
  39766. "description": "客户名称(企业名称)",
  39767. "type": "string"
  39768. },
  39769. "districtid": {
  39770. "description": "地区",
  39771. "type": "integer"
  39772. },
  39773. "email": {
  39774. "description": "邮件(加密存储)",
  39775. "type": "string"
  39776. },
  39777. "fax": {
  39778. "description": "传真(加密存储)",
  39779. "type": "string"
  39780. },
  39781. "halfbodyphotourl": {
  39782. "description": "半身照地址",
  39783. "type": "string"
  39784. },
  39785. "hasencrypt": {
  39786. "description": "数据是否已加密 - 0:未加密 1:已加密",
  39787. "type": "integer"
  39788. },
  39789. "headurl": {
  39790. "description": "头像地址",
  39791. "type": "string"
  39792. },
  39793. "legalcardbackphotourl": {
  39794. "description": "法人身份证背面照地址",
  39795. "type": "string"
  39796. },
  39797. "legalcardfrontphotourl": {
  39798. "description": "法人身份证正面照地址",
  39799. "type": "string"
  39800. },
  39801. "legalpersonname": {
  39802. "description": "法人姓名(企业)",
  39803. "type": "string"
  39804. },
  39805. "mobile": {
  39806. "description": "手机号码(加密存储)",
  39807. "type": "string"
  39808. },
  39809. "mobile2": {
  39810. "description": "手机号码[明文-尚志]",
  39811. "type": "string"
  39812. },
  39813. "modifierid": {
  39814. "description": "修改人",
  39815. "type": "integer"
  39816. },
  39817. "modifiertime": {
  39818. "description": "修改时间",
  39819. "type": "string"
  39820. },
  39821. "needinvoice": {
  39822. "description": "是否需要发票 - 0:不需要 1:需要",
  39823. "type": "integer"
  39824. },
  39825. "nickname": {
  39826. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  39827. "type": "string"
  39828. },
  39829. "openmode": {
  39830. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  39831. "type": "integer"
  39832. },
  39833. "otherurl": {
  39834. "description": "其它图片地址[使用分号分隔]",
  39835. "type": "string"
  39836. },
  39837. "postalcode": {
  39838. "description": "邮政编码",
  39839. "type": "string"
  39840. },
  39841. "provinceid": {
  39842. "description": "省",
  39843. "type": "integer"
  39844. },
  39845. "proxystatementurl": {
  39846. "description": "授权委托书",
  39847. "type": "string"
  39848. },
  39849. "qq": {
  39850. "description": "QQ(加密存储",
  39851. "type": "string"
  39852. },
  39853. "remark": {
  39854. "description": "备注",
  39855. "type": "string"
  39856. },
  39857. "sex": {
  39858. "description": "用户性别 0: 女 1: 男",
  39859. "type": "integer"
  39860. },
  39861. "signpdfurl": {
  39862. "description": "签约pdf文件",
  39863. "type": "string"
  39864. },
  39865. "taxpayernum": {
  39866. "description": "纳税人识别号",
  39867. "type": "string"
  39868. },
  39869. "telphone": {
  39870. "description": "联系电话(加密存储)",
  39871. "type": "string"
  39872. },
  39873. "userid": {
  39874. "description": "用户ID",
  39875. "type": "integer"
  39876. },
  39877. "userinfotype": {
  39878. "description": "用户信息类型 - 1:个人 2:企业",
  39879. "type": "integer"
  39880. },
  39881. "userstatus": {
  39882. "description": "用户状态 - 1:正常 2:注销",
  39883. "type": "integer"
  39884. },
  39885. "usertype": {
  39886. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  39887. "type": "integer"
  39888. },
  39889. "wechat": {
  39890. "description": "微信(加密存储)",
  39891. "type": "string"
  39892. },
  39893. "wskhinfo": {
  39894. "description": "开户申请信息(JSON)",
  39895. "type": "string"
  39896. }
  39897. }
  39898. },
  39899. "models.WrFAProductDetail": {
  39900. "type": "object",
  39901. "properties": {
  39902. "accountid": {
  39903. "description": "资金账号",
  39904. "type": "integer"
  39905. },
  39906. "areauserid": {
  39907. "description": "金融机构ID",
  39908. "type": "integer"
  39909. },
  39910. "financingdays": {
  39911. "description": "天数(天)",
  39912. "type": "integer"
  39913. },
  39914. "interestminlen": {
  39915. "description": "最小起息天数",
  39916. "type": "integer"
  39917. },
  39918. "interestrate": {
  39919. "description": "利率",
  39920. "type": "number"
  39921. },
  39922. "interestratemode": {
  39923. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  39924. "type": "integer"
  39925. },
  39926. "interestsettlemode": {
  39927. "description": "结息方式 - 1:按日结息 3:按月结息",
  39928. "type": "integer"
  39929. },
  39930. "interestsettlevalue": {
  39931. "description": "结息方式值",
  39932. "type": "integer"
  39933. },
  39934. "isautoloan": {
  39935. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  39936. "type": "integer"
  39937. },
  39938. "loantag": {
  39939. "description": "放款标识: \"放款快\" 或者为空",
  39940. "type": "string"
  39941. },
  39942. "marginratio": {
  39943. "description": "保证金比率质押率 - [仓单质押]",
  39944. "type": "number"
  39945. },
  39946. "productdetailid": {
  39947. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  39948. "type": "integer"
  39949. },
  39950. "productid": {
  39951. "description": "金融产品ID",
  39952. "type": "integer"
  39953. },
  39954. "productname": {
  39955. "description": "产品名称",
  39956. "type": "string"
  39957. },
  39958. "updatetime": {
  39959. "description": "更新时间",
  39960. "type": "string"
  39961. },
  39962. "username": {
  39963. "description": "融出方",
  39964. "type": "string"
  39965. }
  39966. }
  39967. },
  39968. "models.WrFactorTypeInfo": {
  39969. "type": "object",
  39970. "properties": {
  39971. "deliverygoodscode": {
  39972. "description": "品种代码",
  39973. "type": "string"
  39974. },
  39975. "deliverygoodsname": {
  39976. "description": "品种名称",
  39977. "type": "string"
  39978. },
  39979. "dgfactoryitemid": {
  39980. "description": "选择项id",
  39981. "type": "integer"
  39982. },
  39983. "dgfactoryitemtypeid": {
  39984. "description": "要素选择项ID (1-仓库 2-品牌)",
  39985. "type": "integer"
  39986. },
  39987. "dgfactoryitemvalue": {
  39988. "description": "要素项值",
  39989. "type": "string"
  39990. },
  39991. "itemtypename": {
  39992. "description": "要素项名称",
  39993. "type": "string"
  39994. },
  39995. "optioncompare": {
  39996. "description": "选择比较串",
  39997. "type": "string"
  39998. },
  39999. "warehouseid": {
  40000. "description": "仓库id",
  40001. "type": "integer"
  40002. },
  40003. "wrfactortypeid": {
  40004. "description": "仓单要素ID",
  40005. "type": "string"
  40006. },
  40007. "wrfactortypename": {
  40008. "description": "要素名称",
  40009. "type": "string"
  40010. },
  40011. "wrfactortypename2": {
  40012. "description": "要素名称(不含仓库)",
  40013. "type": "string"
  40014. },
  40015. "wrstandardcode": {
  40016. "description": "品类代码",
  40017. "type": "string"
  40018. },
  40019. "wrstandardid": {
  40020. "description": "品类id",
  40021. "type": "integer"
  40022. },
  40023. "wrstandardname": {
  40024. "description": "品类名称",
  40025. "type": "string"
  40026. }
  40027. }
  40028. },
  40029. "models.WrFilterItem": {
  40030. "type": "object",
  40031. "properties": {
  40032. "itemcode": {
  40033. "description": "代码",
  40034. "type": "string"
  40035. },
  40036. "itemid": {
  40037. "description": "项id",
  40038. "type": "integer"
  40039. },
  40040. "itemname": {
  40041. "description": "名称",
  40042. "type": "string"
  40043. },
  40044. "itemtype": {
  40045. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  40046. "type": "integer"
  40047. }
  40048. }
  40049. },
  40050. "models.WrFinanceBuyApply": {
  40051. "type": "object",
  40052. "properties": {
  40053. "applydate": {
  40054. "description": "申请时间",
  40055. "type": "string"
  40056. },
  40057. "applystatus": {
  40058. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  40059. "type": "integer"
  40060. },
  40061. "applyuserid": {
  40062. "description": "申请人",
  40063. "type": "integer"
  40064. },
  40065. "auditdate": {
  40066. "description": "审核时间",
  40067. "type": "string"
  40068. },
  40069. "auditremark": {
  40070. "description": "审核备注",
  40071. "type": "string"
  40072. },
  40073. "audituserid": {
  40074. "description": "审核人",
  40075. "type": "integer"
  40076. },
  40077. "buyaccountid": {
  40078. "description": "买方资金账号",
  40079. "type": "integer"
  40080. },
  40081. "buyorsell": {
  40082. "description": "买卖 - 0:买 1:卖",
  40083. "type": "integer"
  40084. },
  40085. "buyuserid": {
  40086. "description": "买方用户ID",
  40087. "type": "integer"
  40088. },
  40089. "buyusername": {
  40090. "description": "买方名称",
  40091. "type": "string"
  40092. },
  40093. "buywrtradeorderid": {
  40094. "description": "融资方买委托单ID",
  40095. "type": "string"
  40096. },
  40097. "deliverygoodscode": {
  40098. "description": "品种代码",
  40099. "type": "string"
  40100. },
  40101. "deliverygoodsid": {
  40102. "description": "品种ID",
  40103. "type": "integer"
  40104. },
  40105. "deliverygoodsname": {
  40106. "description": "品种名称",
  40107. "type": "string"
  40108. },
  40109. "deliverymonth": {
  40110. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  40111. "type": "string"
  40112. },
  40113. "enumdicname": {
  40114. "description": "单位名称",
  40115. "type": "string"
  40116. },
  40117. "financeaccountid": {
  40118. "description": "融资方资金帐户ID",
  40119. "type": "integer"
  40120. },
  40121. "financeapplyid": {
  40122. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40123. "type": "string"
  40124. },
  40125. "financeareauserid": {
  40126. "description": "融资方用户ID",
  40127. "type": "string"
  40128. },
  40129. "financename": {
  40130. "description": "融出方名称",
  40131. "type": "string"
  40132. },
  40133. "financetype": {
  40134. "description": "融资类型 1-融资回购",
  40135. "type": "integer"
  40136. },
  40137. "financingdays": {
  40138. "description": "天数(天)",
  40139. "type": "integer"
  40140. },
  40141. "freezebuymargin": {
  40142. "description": "冻结融资保证金(买方)",
  40143. "type": "number"
  40144. },
  40145. "handleremark": {
  40146. "description": "处理备注",
  40147. "type": "string"
  40148. },
  40149. "handlestatus": {
  40150. "description": "处理状态",
  40151. "type": "integer"
  40152. },
  40153. "interestminlen": {
  40154. "description": "最小起息天数",
  40155. "type": "integer"
  40156. },
  40157. "interestrate": {
  40158. "description": "利率",
  40159. "type": "number"
  40160. },
  40161. "interestratemode": {
  40162. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  40163. "type": "integer"
  40164. },
  40165. "interestsettlemode": {
  40166. "description": "结息方式 - 1:按日结息 3:按月结息",
  40167. "type": "integer"
  40168. },
  40169. "interestsettlevalue": {
  40170. "description": "结息方式值",
  40171. "type": "integer"
  40172. },
  40173. "isautoloan": {
  40174. "description": "是否自动放款 - 0:手动 1:自动",
  40175. "type": "integer"
  40176. },
  40177. "marginratio": {
  40178. "description": "保证金比率质押率 - [仓单质押]",
  40179. "type": "number"
  40180. },
  40181. "marketid": {
  40182. "description": "市场ID",
  40183. "type": "integer"
  40184. },
  40185. "minivalue": {
  40186. "description": "现货商品最小变动值",
  40187. "type": "integer"
  40188. },
  40189. "optioncompare": {
  40190. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40191. "type": "string"
  40192. },
  40193. "orderqty": {
  40194. "description": "委托数量(商品数量)",
  40195. "type": "number"
  40196. },
  40197. "productdetailid": {
  40198. "description": "产品组合ID",
  40199. "type": "integer"
  40200. },
  40201. "productid": {
  40202. "description": "金融产品ID",
  40203. "type": "integer"
  40204. },
  40205. "productname": {
  40206. "description": "产品名称",
  40207. "type": "string"
  40208. },
  40209. "remark": {
  40210. "description": "备注",
  40211. "type": "string"
  40212. },
  40213. "scfcontractid": {
  40214. "description": "仓单回购合同ID",
  40215. "type": "string"
  40216. },
  40217. "sellaccountid": {
  40218. "description": "卖方资金账号",
  40219. "type": "integer"
  40220. },
  40221. "selluserid": {
  40222. "description": "卖方用户ID",
  40223. "type": "integer"
  40224. },
  40225. "sellwrtradeorderid": {
  40226. "description": "卖方委托单ID",
  40227. "type": "string"
  40228. },
  40229. "tradeamount": {
  40230. "description": "成交金额(借款金额)",
  40231. "type": "number"
  40232. },
  40233. "tradedate": {
  40234. "description": "交易日(yyyyMMdd)",
  40235. "type": "string"
  40236. },
  40237. "tradeprice": {
  40238. "description": "成交价格",
  40239. "type": "number"
  40240. },
  40241. "warehouseid": {
  40242. "description": "仓库ID",
  40243. "type": "integer"
  40244. },
  40245. "warehousename": {
  40246. "description": "仓库名称",
  40247. "type": "string"
  40248. },
  40249. "wrfactortypeid": {
  40250. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40251. "type": "string"
  40252. },
  40253. "wrfactortypename": {
  40254. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40255. "type": "string"
  40256. },
  40257. "wrpricetype": {
  40258. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  40259. "type": "integer"
  40260. },
  40261. "wrstandardcode": {
  40262. "description": "现货商品代码",
  40263. "type": "string"
  40264. },
  40265. "wrstandardid": {
  40266. "description": "现货商品ID",
  40267. "type": "integer"
  40268. },
  40269. "wrstandardname": {
  40270. "description": "商品名称",
  40271. "type": "string"
  40272. },
  40273. "wrtypename": {
  40274. "description": "商品",
  40275. "type": "string"
  40276. }
  40277. }
  40278. },
  40279. "models.WrFriendApply": {
  40280. "type": "object",
  40281. "properties": {
  40282. "applicantid": {
  40283. "description": "申请人",
  40284. "type": "integer"
  40285. },
  40286. "applyname": {
  40287. "description": "申请人名称",
  40288. "type": "string"
  40289. },
  40290. "applysrc": {
  40291. "description": "申请来源 - 1:管理端 2:终端",
  40292. "type": "integer"
  40293. },
  40294. "applystatus": {
  40295. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  40296. "type": "integer"
  40297. },
  40298. "applytime": {
  40299. "description": "申请时间",
  40300. "type": "string"
  40301. },
  40302. "auditname": {
  40303. "description": "审核人名称",
  40304. "type": "string"
  40305. },
  40306. "auditorid": {
  40307. "description": "审核人",
  40308. "type": "integer"
  40309. },
  40310. "auditremark": {
  40311. "description": "审核备注",
  40312. "type": "string"
  40313. },
  40314. "auditsrc": {
  40315. "description": "审核来源 - 1:管理端 2:终端",
  40316. "type": "integer"
  40317. },
  40318. "audittime": {
  40319. "description": "审核时间",
  40320. "type": "string"
  40321. },
  40322. "friendapplyid": {
  40323. "description": "申请ID(SEQ_FRIENDAPPLY)",
  40324. "type": "string"
  40325. },
  40326. "friendname": {
  40327. "description": "好友名字(已脱敏)",
  40328. "type": "string"
  40329. },
  40330. "frienduserid": {
  40331. "description": "好友用户ID",
  40332. "type": "string"
  40333. },
  40334. "remark": {
  40335. "description": "备注",
  40336. "type": "string"
  40337. },
  40338. "userid": {
  40339. "description": "申请人用户ID",
  40340. "type": "integer"
  40341. }
  40342. }
  40343. },
  40344. "models.WrFtDeliveryGoods": {
  40345. "type": "object",
  40346. "properties": {
  40347. "deliverygoodscode": {
  40348. "description": "品种代码",
  40349. "type": "string"
  40350. },
  40351. "deliverygoodsid": {
  40352. "description": "品种ID",
  40353. "type": "integer"
  40354. },
  40355. "deliverygoodsname": {
  40356. "description": "品种名称",
  40357. "type": "string"
  40358. },
  40359. "wdlst": {
  40360. "description": "商品列表",
  40361. "type": "array",
  40362. "items": {
  40363. "$ref": "#/definitions/models.WrFtWrstandard"
  40364. }
  40365. }
  40366. }
  40367. },
  40368. "models.WrFtWrstandard": {
  40369. "type": "object",
  40370. "properties": {
  40371. "enumdicname": {
  40372. "description": "单位名称",
  40373. "type": "string"
  40374. },
  40375. "minivalue": {
  40376. "description": "最小变动值",
  40377. "type": "integer"
  40378. },
  40379. "wrstandardcode": {
  40380. "description": "现货商品代码",
  40381. "type": "string"
  40382. },
  40383. "wrstandardid": {
  40384. "description": "现货商品ID",
  40385. "type": "integer"
  40386. },
  40387. "wrstandardname": {
  40388. "description": "商品名称",
  40389. "type": "string"
  40390. }
  40391. }
  40392. },
  40393. "models.WrGoodsInfo": {
  40394. "type": "object",
  40395. "properties": {
  40396. "haswr": {
  40397. "description": "0:仓单预售 1:仓单贸易",
  40398. "type": "integer"
  40399. },
  40400. "lstitem": {
  40401. "description": "商品信息项",
  40402. "type": "array",
  40403. "items": {
  40404. "$ref": "#/definitions/models.WrTypeItem"
  40405. }
  40406. },
  40407. "lststep": {
  40408. "description": "履约规则",
  40409. "type": "array",
  40410. "items": {
  40411. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40412. }
  40413. },
  40414. "marketid": {
  40415. "description": "市场id",
  40416. "type": "integer"
  40417. }
  40418. }
  40419. },
  40420. "models.WrGoodsPerformanceStep": {
  40421. "type": "object",
  40422. "properties": {
  40423. "autoid": {
  40424. "description": "AutoID",
  40425. "type": "integer"
  40426. },
  40427. "isauto": {
  40428. "description": "是否自动 - 0:不自动 1:自动",
  40429. "type": "integer"
  40430. },
  40431. "remark": {
  40432. "description": "备注",
  40433. "type": "string"
  40434. },
  40435. "stepdate": {
  40436. "description": "天数信息(T+N)",
  40437. "type": "string"
  40438. },
  40439. "stepdays": {
  40440. "description": "距离上一步天数",
  40441. "type": "integer"
  40442. },
  40443. "stepindex": {
  40444. "description": "步骤序号",
  40445. "type": "integer"
  40446. },
  40447. "stepinfo": {
  40448. "description": "步骤信息(步骤名称+步骤值)",
  40449. "type": "string"
  40450. },
  40451. "steptypeid": {
  40452. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40453. "type": "integer"
  40454. },
  40455. "steptypename": {
  40456. "description": "步骤名称",
  40457. "type": "string"
  40458. },
  40459. "stepvalue": {
  40460. "description": "期初均价",
  40461. "type": "number"
  40462. },
  40463. "templateid": {
  40464. "description": "履约计划模板ID",
  40465. "type": "integer"
  40466. }
  40467. }
  40468. },
  40469. "models.WrHoldLB": {
  40470. "type": "object",
  40471. "properties": {
  40472. "accountid": {
  40473. "description": "持有人帐户ID",
  40474. "type": "integer"
  40475. },
  40476. "bannerpicurl": {
  40477. "description": "Banner图",
  40478. "type": "string"
  40479. },
  40480. "createtime": {
  40481. "description": "创建时间(过户时间)",
  40482. "type": "string"
  40483. },
  40484. "deliverygoodscode": {
  40485. "description": "品种代码",
  40486. "type": "string"
  40487. },
  40488. "deliverygoodsid": {
  40489. "description": "品种ID",
  40490. "type": "integer"
  40491. },
  40492. "deliverygoodsname": {
  40493. "description": "品种名称",
  40494. "type": "string"
  40495. },
  40496. "enableqty": {
  40497. "description": "可用数量",
  40498. "type": "number"
  40499. },
  40500. "enumdicname": {
  40501. "description": "单位名称",
  40502. "type": "string"
  40503. },
  40504. "freezerqty": {
  40505. "description": "冻结数量",
  40506. "type": "number"
  40507. },
  40508. "ladingbillid": {
  40509. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  40510. "type": "string"
  40511. },
  40512. "minivalue": {
  40513. "description": "现货商品最小变动值",
  40514. "type": "integer"
  40515. },
  40516. "optioncompare": {
  40517. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40518. "type": "string"
  40519. },
  40520. "parentsubnum": {
  40521. "description": "拆分父子单号",
  40522. "type": "integer"
  40523. },
  40524. "pledgeqty": {
  40525. "description": "质押数量",
  40526. "type": "number"
  40527. },
  40528. "qty": {
  40529. "description": "数量",
  40530. "type": "number"
  40531. },
  40532. "subnum": {
  40533. "description": "提单子单号",
  40534. "type": "integer"
  40535. },
  40536. "thumurls": {
  40537. "description": "缩略图",
  40538. "type": "string"
  40539. },
  40540. "tradedate": {
  40541. "description": "交易日(yyyyMMdd)",
  40542. "type": "string"
  40543. },
  40544. "userid": {
  40545. "description": "持有人ID",
  40546. "type": "integer"
  40547. },
  40548. "warehouseid": {
  40549. "description": "仓库ID",
  40550. "type": "integer"
  40551. },
  40552. "warehousename": {
  40553. "description": "仓库名称",
  40554. "type": "string"
  40555. },
  40556. "wrfactortypeid": {
  40557. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40558. "type": "string"
  40559. },
  40560. "wrfactortypename": {
  40561. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40562. "type": "string"
  40563. },
  40564. "wrholdeno": {
  40565. "description": "仓单编号",
  40566. "type": "string"
  40567. },
  40568. "wrid": {
  40569. "description": "仓单变更ID",
  40570. "type": "string"
  40571. },
  40572. "wrstandardcode": {
  40573. "description": "现货商品代码",
  40574. "type": "string"
  40575. },
  40576. "wrstandardid": {
  40577. "description": "现货商品ID",
  40578. "type": "integer"
  40579. },
  40580. "wrstandardname": {
  40581. "description": "商品名称",
  40582. "type": "string"
  40583. },
  40584. "wrtypename": {
  40585. "description": "商品",
  40586. "type": "string"
  40587. }
  40588. }
  40589. },
  40590. "models.WrMarketTradeConfig": {
  40591. "type": "object",
  40592. "properties": {
  40593. "basisdownratio": {
  40594. "description": "浮动价基差下限比例(仓单贸易)",
  40595. "type": "number"
  40596. },
  40597. "basisupratio": {
  40598. "description": "浮动价基差上限比例(仓单贸易)",
  40599. "type": "number"
  40600. },
  40601. "buychargealgorithm": {
  40602. "description": "买方手续费收取方式 1:比率 2:固定",
  40603. "type": "integer"
  40604. },
  40605. "buychargealgorithm2": {
  40606. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  40607. "type": "integer"
  40608. },
  40609. "buychargealgorithmvalue": {
  40610. "description": "买方手续费设置值(交易所部分)",
  40611. "type": "number"
  40612. },
  40613. "buychargealgorithmvalue2": {
  40614. "description": "买方手续费设置值(会员部分)",
  40615. "type": "number"
  40616. },
  40617. "buychargealgorithmvalue3": {
  40618. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  40619. "type": "number"
  40620. },
  40621. "buychargealgorithmvalue4": {
  40622. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  40623. "type": "number"
  40624. },
  40625. "buyfirstmarginalgorithm": {
  40626. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  40627. "type": "integer"
  40628. },
  40629. "buyfirstmarginvalue": {
  40630. "description": "买方出价保证金设置值 - [竞拍]",
  40631. "type": "number"
  40632. },
  40633. "buymarginalgorithm": {
  40634. "description": "买方保证金方式 - 1:比率 2:固定",
  40635. "type": "integer"
  40636. },
  40637. "buymarginvalue": {
  40638. "description": "买方保证金设置值",
  40639. "type": "number"
  40640. },
  40641. "buyreleaseratio": {
  40642. "description": "买方释放比率[2:分步履约]",
  40643. "type": "number"
  40644. },
  40645. "executemode": {
  40646. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  40647. "type": "integer"
  40648. },
  40649. "executeside": {
  40650. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  40651. "type": "integer"
  40652. },
  40653. "failedchargealgorithm": {
  40654. "description": "流拍手续费收取方式 1:比率 2:固定",
  40655. "type": "integer"
  40656. },
  40657. "failedchargevalue": {
  40658. "description": "流拍手续费设置值",
  40659. "type": "number"
  40660. },
  40661. "failedchargevalue2": {
  40662. "description": "流拍卖方手续费设置值",
  40663. "type": "number"
  40664. },
  40665. "holddays": {
  40666. "description": "合同期限[2:分步履约]",
  40667. "type": "integer"
  40668. },
  40669. "listingmode": {
  40670. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  40671. "type": "integer"
  40672. },
  40673. "marketid": {
  40674. "description": "市场ID-仓单贸易、竞拍、预售",
  40675. "type": "integer"
  40676. },
  40677. "minqty": {
  40678. "description": "最小执行量[2:分步履约]",
  40679. "type": "number"
  40680. },
  40681. "modifierid": {
  40682. "description": "修改人",
  40683. "type": "integer"
  40684. },
  40685. "nowrquotaflag": {
  40686. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  40687. "type": "integer"
  40688. },
  40689. "performancetempid": {
  40690. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  40691. "type": "integer"
  40692. },
  40693. "performancetempid2": {
  40694. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  40695. "type": "integer"
  40696. },
  40697. "performancetempid2s": {
  40698. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  40699. "type": "string"
  40700. },
  40701. "performancetempids": {
  40702. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  40703. "type": "string"
  40704. },
  40705. "performanceway": {
  40706. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  40707. "type": "integer"
  40708. },
  40709. "sellchargealgorithm": {
  40710. "description": "卖方手续费收取方式 1:比率 2:固定",
  40711. "type": "integer"
  40712. },
  40713. "sellchargealgorithm2": {
  40714. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  40715. "type": "integer"
  40716. },
  40717. "sellchargealgorithmvalue": {
  40718. "description": "卖方手续费设置值(交易所部分)",
  40719. "type": "number"
  40720. },
  40721. "sellchargealgorithmvalue2": {
  40722. "description": "卖方手续费设置值(会员部分)",
  40723. "type": "number"
  40724. },
  40725. "sellchargealgorithmvalue3": {
  40726. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  40727. "type": "number"
  40728. },
  40729. "sellchargealgorithmvalue4": {
  40730. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  40731. "type": "number"
  40732. },
  40733. "sellmarginalgorithm": {
  40734. "description": "卖方保证金方式 - 1:比率 2:固定",
  40735. "type": "integer"
  40736. },
  40737. "sellmarginvalue": {
  40738. "description": "卖方保证金设置值",
  40739. "type": "number"
  40740. },
  40741. "sellmarginvalue2": {
  40742. "description": "卖方保证金设置值(无仓单)",
  40743. "type": "number"
  40744. },
  40745. "sellreleaseratio": {
  40746. "description": "卖方释放比率[2:分步履约]",
  40747. "type": "number"
  40748. },
  40749. "updatetime": {
  40750. "description": "更新时间",
  40751. "type": "string"
  40752. }
  40753. }
  40754. },
  40755. "models.WrOrderDetail": {
  40756. "type": "object",
  40757. "properties": {
  40758. "accountid": {
  40759. "description": "交易账号(资金账号)",
  40760. "type": "integer"
  40761. },
  40762. "allfriendsflag": {
  40763. "description": "是否全好友可见 - 0:否 1:是",
  40764. "type": "integer"
  40765. },
  40766. "amount": {
  40767. "description": "期初均价",
  40768. "type": "number"
  40769. },
  40770. "bannerpicurl": {
  40771. "description": "Banner图",
  40772. "type": "string"
  40773. },
  40774. "begindate": {
  40775. "description": "开始交易日(yyyymmdd)",
  40776. "type": "string"
  40777. },
  40778. "buyorsell": {
  40779. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  40780. "type": "integer"
  40781. },
  40782. "canbargain": {
  40783. "description": "是否可议价 - 0:不可 1:可",
  40784. "type": "integer"
  40785. },
  40786. "cancelqty": {
  40787. "description": "撤销数量",
  40788. "type": "number"
  40789. },
  40790. "canpart": {
  40791. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  40792. "type": "integer"
  40793. },
  40794. "delistminqty": {
  40795. "description": "起摘数量",
  40796. "type": "integer"
  40797. },
  40798. "deliverygoodscode": {
  40799. "description": "品种代码",
  40800. "type": "string"
  40801. },
  40802. "deliverygoodsid": {
  40803. "description": "品种ID",
  40804. "type": "integer"
  40805. },
  40806. "deliverygoodsname": {
  40807. "description": "品种名称",
  40808. "type": "string"
  40809. },
  40810. "deliverymonth": {
  40811. "description": "交收月",
  40812. "type": "string"
  40813. },
  40814. "enddate": {
  40815. "description": "结束交易日(yyyymmdd)",
  40816. "type": "string"
  40817. },
  40818. "enumdicname": {
  40819. "description": "单位名称",
  40820. "type": "string"
  40821. },
  40822. "fixedprice": {
  40823. "description": "固定价格 - [挂牌]",
  40824. "type": "number"
  40825. },
  40826. "freezecharge": {
  40827. "description": "期初均价",
  40828. "type": "number"
  40829. },
  40830. "freezemargin": {
  40831. "description": "期初均价",
  40832. "type": "number"
  40833. },
  40834. "futupricemove": {
  40835. "description": "期货升贴水",
  40836. "type": "number"
  40837. },
  40838. "futushow": {
  40839. "description": "期货合约/升贴水",
  40840. "type": "string"
  40841. },
  40842. "goodscode": {
  40843. "description": "期货合约",
  40844. "type": "string"
  40845. },
  40846. "goodsid": {
  40847. "description": "期货商品id",
  40848. "type": "integer"
  40849. },
  40850. "goodsname": {
  40851. "description": "商品名称",
  40852. "type": "string"
  40853. },
  40854. "haswr": {
  40855. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  40856. "type": "integer"
  40857. },
  40858. "isspecified": {
  40859. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  40860. "type": "integer"
  40861. },
  40862. "ladingbillid": {
  40863. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  40864. "type": "string"
  40865. },
  40866. "marginvalue": {
  40867. "description": "期初均价",
  40868. "type": "number"
  40869. },
  40870. "marketid": {
  40871. "description": "市场ID",
  40872. "type": "integer"
  40873. },
  40874. "matchusername": {
  40875. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  40876. "type": "string"
  40877. },
  40878. "minivalue": {
  40879. "description": "现货商品最小变动值",
  40880. "type": "integer"
  40881. },
  40882. "optioncompare": {
  40883. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40884. "type": "string"
  40885. },
  40886. "orderqty": {
  40887. "description": "委托数量",
  40888. "type": "number"
  40889. },
  40890. "ordertime": {
  40891. "description": "委托时间(挂牌时间)",
  40892. "type": "string"
  40893. },
  40894. "performancetemplateid": {
  40895. "description": "履约模板id",
  40896. "type": "integer"
  40897. },
  40898. "pricemove": {
  40899. "description": "升贴水(浮动价时填写) - [挂牌]",
  40900. "type": "number"
  40901. },
  40902. "taname": {
  40903. "description": "交易用户名称(资金账号名称)",
  40904. "type": "string"
  40905. },
  40906. "thumurls": {
  40907. "description": "缩略图",
  40908. "type": "string"
  40909. },
  40910. "tradedate": {
  40911. "description": "交易日(yyyyMMdd)",
  40912. "type": "string"
  40913. },
  40914. "tradeprice": {
  40915. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  40916. "type": "number"
  40917. },
  40918. "tradeqty": {
  40919. "description": "成交数量",
  40920. "type": "number"
  40921. },
  40922. "userid": {
  40923. "description": "用户ID",
  40924. "type": "integer"
  40925. },
  40926. "validtime": {
  40927. "description": "挂牌有效期",
  40928. "type": "string"
  40929. },
  40930. "validtype": {
  40931. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  40932. "type": "integer"
  40933. },
  40934. "warehouseid": {
  40935. "description": "仓库ID",
  40936. "type": "integer"
  40937. },
  40938. "warehousename": {
  40939. "description": "仓库名称",
  40940. "type": "string"
  40941. },
  40942. "wrfactortypeid": {
  40943. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40944. "type": "string"
  40945. },
  40946. "wrfactortypename": {
  40947. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40948. "type": "string"
  40949. },
  40950. "wrpricetype": {
  40951. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  40952. "type": "integer"
  40953. },
  40954. "wrstandardcode": {
  40955. "description": "现货商品代码",
  40956. "type": "string"
  40957. },
  40958. "wrstandardid": {
  40959. "description": "现货商品ID",
  40960. "type": "integer"
  40961. },
  40962. "wrstandardname": {
  40963. "description": "商品名称",
  40964. "type": "string"
  40965. },
  40966. "wrtradeorderid": {
  40967. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40968. "type": "string"
  40969. },
  40970. "wrtradeorderstatus": {
  40971. "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:撤单解冻贷款失败",
  40972. "type": "integer"
  40973. },
  40974. "wrtradetype": {
  40975. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  40976. "type": "integer"
  40977. },
  40978. "wrtypename": {
  40979. "description": "商品",
  40980. "type": "string"
  40981. }
  40982. }
  40983. },
  40984. "models.WrOrderQuote": {
  40985. "type": "object",
  40986. "properties": {
  40987. "bannerpicurl": {
  40988. "description": "Banner图",
  40989. "type": "string"
  40990. },
  40991. "buyprice": {
  40992. "description": "买价",
  40993. "type": "number"
  40994. },
  40995. "buypricemove": {
  40996. "description": "买升贴水(基差)",
  40997. "type": "number"
  40998. },
  40999. "buyqty": {
  41000. "description": "买量",
  41001. "type": "number"
  41002. },
  41003. "deliverygoodscode": {
  41004. "description": "品种代码",
  41005. "type": "string"
  41006. },
  41007. "deliverygoodsid": {
  41008. "description": "品种id",
  41009. "type": "integer"
  41010. },
  41011. "deliverygoodsname": {
  41012. "description": "品种名称",
  41013. "type": "string"
  41014. },
  41015. "deliverymonth": {
  41016. "description": "交收月",
  41017. "type": "string"
  41018. },
  41019. "enumdicname": {
  41020. "description": "单位名称",
  41021. "type": "string"
  41022. },
  41023. "goodscode": {
  41024. "description": "商品合约(浮动价列表才有)",
  41025. "type": "string"
  41026. },
  41027. "goodsid": {
  41028. "description": "商品id(浮动价列表才有)",
  41029. "type": "integer"
  41030. },
  41031. "minivalue": {
  41032. "description": "现货商品最小变动值",
  41033. "type": "integer"
  41034. },
  41035. "pictureurls": {
  41036. "description": "详情图片(逗号分隔)",
  41037. "type": "string"
  41038. },
  41039. "sellprice": {
  41040. "description": "卖价",
  41041. "type": "number"
  41042. },
  41043. "sellpricemove": {
  41044. "description": "卖升贴水(基差)",
  41045. "type": "number"
  41046. },
  41047. "sellqty": {
  41048. "description": "卖量",
  41049. "type": "number"
  41050. },
  41051. "thumurls": {
  41052. "description": "缩略图片(1:1)(逗号分隔)",
  41053. "type": "string"
  41054. },
  41055. "warehousecode": {
  41056. "description": "仓库代码",
  41057. "type": "string"
  41058. },
  41059. "warehouseid": {
  41060. "description": "仓库id",
  41061. "type": "integer"
  41062. },
  41063. "warehousename": {
  41064. "description": "仓库名称",
  41065. "type": "string"
  41066. },
  41067. "wrfactortypeid": {
  41068. "description": "仓单要素id",
  41069. "type": "string"
  41070. },
  41071. "wrfactortypename": {
  41072. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41073. "type": "string"
  41074. },
  41075. "wrgoodsname": {
  41076. "description": "商品(商品名称+仓库要素名称 拼接)",
  41077. "type": "string"
  41078. },
  41079. "wrstandardcode": {
  41080. "description": "商品代码",
  41081. "type": "string"
  41082. },
  41083. "wrstandardid": {
  41084. "description": "商品id",
  41085. "type": "integer"
  41086. },
  41087. "wrstandardname": {
  41088. "description": "商品名称",
  41089. "type": "string"
  41090. }
  41091. }
  41092. },
  41093. "models.WrOrderQuoteDetail": {
  41094. "type": "object",
  41095. "properties": {
  41096. "buyorsell": {
  41097. "description": "买卖 - 0:买 1:卖",
  41098. "type": "integer"
  41099. },
  41100. "delistminqty": {
  41101. "description": "期初均价",
  41102. "type": "number"
  41103. },
  41104. "deliverymonth": {
  41105. "description": "交收月",
  41106. "type": "string"
  41107. },
  41108. "enumdicname": {
  41109. "description": "单位名称",
  41110. "type": "string"
  41111. },
  41112. "fixedprice": {
  41113. "description": "买(卖)价",
  41114. "type": "number"
  41115. },
  41116. "marketid": {
  41117. "description": "市场id",
  41118. "type": "integer"
  41119. },
  41120. "minivalue": {
  41121. "description": "现货商品最小变动值",
  41122. "type": "integer"
  41123. },
  41124. "orderqty": {
  41125. "description": "买(卖)量(=委托量-成交量)",
  41126. "type": "number"
  41127. },
  41128. "ordertime": {
  41129. "description": "委托时间",
  41130. "type": "string"
  41131. },
  41132. "pricemove": {
  41133. "description": "买(卖)升贴水- 基差",
  41134. "type": "number"
  41135. },
  41136. "userid": {
  41137. "description": "购买方(销售方)用户ID",
  41138. "type": "integer"
  41139. },
  41140. "username": {
  41141. "description": "购买方(销售方)",
  41142. "type": "string"
  41143. },
  41144. "wrtradeorderid": {
  41145. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41146. "type": "string"
  41147. }
  41148. }
  41149. },
  41150. "models.WrOutInApply": {
  41151. "type": "object",
  41152. "properties": {
  41153. "applyid": {
  41154. "description": "申请单id",
  41155. "type": "string"
  41156. },
  41157. "applystatus": {
  41158. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  41159. "type": "integer"
  41160. },
  41161. "applytime": {
  41162. "description": "申请时间",
  41163. "type": "string"
  41164. },
  41165. "applytype": {
  41166. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  41167. "type": "integer"
  41168. },
  41169. "bannerpicurl": {
  41170. "description": "Banner图",
  41171. "type": "string"
  41172. },
  41173. "begindate": {
  41174. "description": "开始交易日(yyyymmdd)",
  41175. "type": "string"
  41176. },
  41177. "deliverygoodscode": {
  41178. "description": "品种代码",
  41179. "type": "string"
  41180. },
  41181. "deliverygoodsid": {
  41182. "description": "品种ID",
  41183. "type": "integer"
  41184. },
  41185. "deliverygoodsname": {
  41186. "description": "品种名称",
  41187. "type": "string"
  41188. },
  41189. "enddate": {
  41190. "description": "结束交易日(yyyymmdd)",
  41191. "type": "string"
  41192. },
  41193. "enumdicname": {
  41194. "description": "单位名称",
  41195. "type": "string"
  41196. },
  41197. "expresscompany": {
  41198. "description": "物流公司",
  41199. "type": "string"
  41200. },
  41201. "expressnum": {
  41202. "description": "物流单号",
  41203. "type": "string"
  41204. },
  41205. "minivalue": {
  41206. "description": "现货商品最小变动值",
  41207. "type": "integer"
  41208. },
  41209. "optioncompare": {
  41210. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41211. "type": "string"
  41212. },
  41213. "qty": {
  41214. "description": "数量",
  41215. "type": "integer"
  41216. },
  41217. "userid": {
  41218. "description": "用户id",
  41219. "type": "integer"
  41220. },
  41221. "warehouseid": {
  41222. "description": "仓库ID",
  41223. "type": "integer"
  41224. },
  41225. "warehousename": {
  41226. "description": "仓库名称",
  41227. "type": "string"
  41228. },
  41229. "wrfactortypeid": {
  41230. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41231. "type": "string"
  41232. },
  41233. "wrfactortypename": {
  41234. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41235. "type": "string"
  41236. },
  41237. "wrstandardcode": {
  41238. "description": "现货商品代码",
  41239. "type": "string"
  41240. },
  41241. "wrstandardid": {
  41242. "description": "现货商品ID",
  41243. "type": "integer"
  41244. },
  41245. "wrstandardname": {
  41246. "description": "商品名称",
  41247. "type": "string"
  41248. },
  41249. "wrtypename": {
  41250. "description": "商品",
  41251. "type": "string"
  41252. }
  41253. }
  41254. },
  41255. "models.WrPerformancePlan": {
  41256. "type": "object",
  41257. "required": [
  41258. "userid"
  41259. ],
  41260. "properties": {
  41261. "activatemonth": {
  41262. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  41263. "type": "string"
  41264. },
  41265. "amount": {
  41266. "description": "履约金额(总金额)",
  41267. "type": "number"
  41268. },
  41269. "begindate": {
  41270. "description": "开始交易日(yyyymmdd)",
  41271. "type": "string"
  41272. },
  41273. "buyaccountid": {
  41274. "description": "买方账号",
  41275. "type": "integer"
  41276. },
  41277. "buyerfreezeamount": {
  41278. "description": "履约冻结(买履约)",
  41279. "type": "number"
  41280. },
  41281. "buyerfreezeamountremain": {
  41282. "description": "履约冻结剩余(买履约)",
  41283. "type": "number"
  41284. },
  41285. "buyorsell": {
  41286. "description": "买卖方向 0-买 1-卖",
  41287. "type": "integer"
  41288. },
  41289. "buypaidamount": {
  41290. "description": "买方已冻/已扣金额 (已付金额)",
  41291. "type": "number"
  41292. },
  41293. "buyusername": {
  41294. "description": "买方名字",
  41295. "type": "string"
  41296. },
  41297. "contractid": {
  41298. "description": "合同ID",
  41299. "type": "integer"
  41300. },
  41301. "createtime": {
  41302. "description": "创建时间",
  41303. "type": "string"
  41304. },
  41305. "creatorid": {
  41306. "description": "创建人",
  41307. "type": "integer"
  41308. },
  41309. "curstepdeadline": {
  41310. "description": "当前步骤到期时间",
  41311. "type": "string"
  41312. },
  41313. "curstepid": {
  41314. "description": "当前步骤ID",
  41315. "type": "string"
  41316. },
  41317. "curstepname": {
  41318. "description": "当前步骤名称",
  41319. "type": "string"
  41320. },
  41321. "deliverygoodscode": {
  41322. "description": "品种代码",
  41323. "type": "string"
  41324. },
  41325. "deliverygoodsid": {
  41326. "description": "品种ID",
  41327. "type": "integer"
  41328. },
  41329. "deliverygoodsname": {
  41330. "description": "品种名称",
  41331. "type": "string"
  41332. },
  41333. "enddate": {
  41334. "description": "结束交易日(yyyymmdd)",
  41335. "type": "string"
  41336. },
  41337. "enumdicname": {
  41338. "description": "单位名称",
  41339. "type": "string"
  41340. },
  41341. "expressfee": {
  41342. "description": "运费",
  41343. "type": "number"
  41344. },
  41345. "expressfeeconfirmed": {
  41346. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  41347. "type": "integer"
  41348. },
  41349. "hasovershort": {
  41350. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  41351. "type": "integer"
  41352. },
  41353. "haswr": {
  41354. "description": "类型 0-仓单预售 1-仓单贸易",
  41355. "type": "integer"
  41356. },
  41357. "marketid": {
  41358. "description": "市场ID",
  41359. "type": "integer"
  41360. },
  41361. "middleaccountid": {
  41362. "description": "中间商资金账号ID",
  41363. "type": "integer"
  41364. },
  41365. "middleuserid": {
  41366. "description": "中间商用户ID",
  41367. "type": "integer"
  41368. },
  41369. "minivalue": {
  41370. "description": "现货商品最小变动值",
  41371. "type": "integer"
  41372. },
  41373. "optioncompare": {
  41374. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41375. "type": "string"
  41376. },
  41377. "overshortamount": {
  41378. "description": "溢短金额",
  41379. "type": "number"
  41380. },
  41381. "overshortqty": {
  41382. "description": "溢短数量",
  41383. "type": "number"
  41384. },
  41385. "paymenttype": {
  41386. "description": "付款方式 - 1:冻结 2:扣款",
  41387. "type": "integer"
  41388. },
  41389. "performanceplanid": {
  41390. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  41391. "type": "string"
  41392. },
  41393. "performancestatus": {
  41394. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  41395. "type": "integer"
  41396. },
  41397. "performancetype": {
  41398. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  41399. "type": "integer"
  41400. },
  41401. "qty": {
  41402. "description": "履约数量",
  41403. "type": "number"
  41404. },
  41405. "relatedorderid": {
  41406. "description": "关联单号(履约类型的关联单号)",
  41407. "type": "string"
  41408. },
  41409. "remark": {
  41410. "description": "备注",
  41411. "type": "string"
  41412. },
  41413. "sellaccountid": {
  41414. "description": "卖方账号",
  41415. "type": "integer"
  41416. },
  41417. "sellerfreezeamount": {
  41418. "description": "履约冻结(卖履约)",
  41419. "type": "number"
  41420. },
  41421. "sellerfreezeamountremain": {
  41422. "description": "履约冻结剩余(卖履约)",
  41423. "type": "number"
  41424. },
  41425. "sellreceivedamount": {
  41426. "description": "卖方已收金额",
  41427. "type": "number"
  41428. },
  41429. "sellusername": {
  41430. "description": "卖方名字",
  41431. "type": "string"
  41432. },
  41433. "shipremark": {
  41434. "description": "发货备注[物流单号]",
  41435. "type": "string"
  41436. },
  41437. "starttime": {
  41438. "description": "开始时间",
  41439. "type": "string"
  41440. },
  41441. "steptypeid": {
  41442. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  41443. "type": "integer"
  41444. },
  41445. "typename": {
  41446. "description": "履约类型 名称",
  41447. "type": "string"
  41448. },
  41449. "unpaidamount": {
  41450. "description": "期初均价",
  41451. "type": "number"
  41452. },
  41453. "userid": {
  41454. "description": "用户id",
  41455. "type": "integer"
  41456. },
  41457. "warehouseid": {
  41458. "description": "仓库ID",
  41459. "type": "integer"
  41460. },
  41461. "warehousename": {
  41462. "description": "仓库名称",
  41463. "type": "string"
  41464. },
  41465. "wrfactortypeid": {
  41466. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41467. "type": "string"
  41468. },
  41469. "wrfactortypename": {
  41470. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41471. "type": "string"
  41472. },
  41473. "wrstandardcode": {
  41474. "description": "现货商品代码",
  41475. "type": "string"
  41476. },
  41477. "wrstandardid": {
  41478. "description": "现货商品ID",
  41479. "type": "integer"
  41480. },
  41481. "wrstandardname": {
  41482. "description": "商品名称",
  41483. "type": "string"
  41484. },
  41485. "wrtransferuserid": {
  41486. "description": "仓单受让用户",
  41487. "type": "integer"
  41488. },
  41489. "wrtypename": {
  41490. "description": "商品",
  41491. "type": "string"
  41492. }
  41493. }
  41494. },
  41495. "models.WrPerformancePlanStep": {
  41496. "type": "object",
  41497. "properties": {
  41498. "delaydays": {
  41499. "description": "延期申请天数",
  41500. "type": "integer"
  41501. },
  41502. "deliverygoodscode": {
  41503. "description": "品种代码",
  41504. "type": "string"
  41505. },
  41506. "deliverygoodsid": {
  41507. "description": "品种ID",
  41508. "type": "integer"
  41509. },
  41510. "deliverygoodsname": {
  41511. "description": "品种名称",
  41512. "type": "string"
  41513. },
  41514. "endtime": {
  41515. "description": "结束日期",
  41516. "type": "string"
  41517. },
  41518. "enumdicname": {
  41519. "description": "单位名称",
  41520. "type": "string"
  41521. },
  41522. "executeside": {
  41523. "description": "步骤执行方 - 1:买方 2:卖方",
  41524. "type": "integer"
  41525. },
  41526. "handlestatus": {
  41527. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  41528. "type": "integer"
  41529. },
  41530. "isauto": {
  41531. "description": "是否自动 - 0:不自动 1:自动",
  41532. "type": "integer"
  41533. },
  41534. "islastreceivestep": {
  41535. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  41536. "type": "integer"
  41537. },
  41538. "minivalue": {
  41539. "description": "现货商品最小变动值",
  41540. "type": "integer"
  41541. },
  41542. "optioncompare": {
  41543. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41544. "type": "string"
  41545. },
  41546. "overdays": {
  41547. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  41548. "type": "integer"
  41549. },
  41550. "performancestepid": {
  41551. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  41552. "type": "string"
  41553. },
  41554. "planid": {
  41555. "description": "所属履约计划ID",
  41556. "type": "string"
  41557. },
  41558. "realamount": {
  41559. "description": "实际完成金额",
  41560. "type": "number"
  41561. },
  41562. "relatedorderid": {
  41563. "description": "关联单号",
  41564. "type": "string"
  41565. },
  41566. "remaindays": {
  41567. "description": "剩余天数",
  41568. "type": "integer"
  41569. },
  41570. "remark": {
  41571. "description": "错误备注",
  41572. "type": "string"
  41573. },
  41574. "starttime": {
  41575. "description": "开始日期",
  41576. "type": "string"
  41577. },
  41578. "stepamount": {
  41579. "description": "步骤金额",
  41580. "type": "number"
  41581. },
  41582. "stepdays": {
  41583. "description": "距离上一步天数(分钟)",
  41584. "type": "integer"
  41585. },
  41586. "stepindex": {
  41587. "description": "步骤序号",
  41588. "type": "integer"
  41589. },
  41590. "steplanchtype": {
  41591. "description": "步骤启动类型 - 1:系统自动 2:手动",
  41592. "type": "integer"
  41593. },
  41594. "stepremark": {
  41595. "description": "步骤备注",
  41596. "type": "string"
  41597. },
  41598. "stepstatus": {
  41599. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  41600. "type": "integer"
  41601. },
  41602. "steptypeid": {
  41603. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  41604. "type": "integer"
  41605. },
  41606. "steptypename": {
  41607. "description": "步骤名称",
  41608. "type": "string"
  41609. },
  41610. "stepvalue": {
  41611. "description": "步骤值",
  41612. "type": "number"
  41613. },
  41614. "warehouseid": {
  41615. "description": "仓库ID",
  41616. "type": "integer"
  41617. },
  41618. "warehousename": {
  41619. "description": "仓库名称",
  41620. "type": "string"
  41621. },
  41622. "wrfactortypeid": {
  41623. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41624. "type": "string"
  41625. },
  41626. "wrfactortypename": {
  41627. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41628. "type": "string"
  41629. },
  41630. "wrstandardcode": {
  41631. "description": "现货商品代码",
  41632. "type": "string"
  41633. },
  41634. "wrstandardid": {
  41635. "description": "现货商品ID",
  41636. "type": "integer"
  41637. },
  41638. "wrstandardname": {
  41639. "description": "商品名称",
  41640. "type": "string"
  41641. },
  41642. "wrtypename": {
  41643. "description": "商品",
  41644. "type": "string"
  41645. }
  41646. }
  41647. },
  41648. "models.WrPerformanceStepType": {
  41649. "type": "object",
  41650. "properties": {
  41651. "canauto": {
  41652. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  41653. "type": "integer"
  41654. },
  41655. "steptypeid": {
  41656. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  41657. "type": "integer"
  41658. },
  41659. "steptypename": {
  41660. "description": "步骤类型名称",
  41661. "type": "string"
  41662. }
  41663. }
  41664. },
  41665. "models.WrPerformanceTemplateEx": {
  41666. "type": "object",
  41667. "properties": {
  41668. "autoid": {
  41669. "description": "AutoID 模板id",
  41670. "type": "integer"
  41671. },
  41672. "createtime": {
  41673. "description": "创建时间",
  41674. "type": "string"
  41675. },
  41676. "creatorid": {
  41677. "description": "创建人",
  41678. "type": "integer"
  41679. },
  41680. "lstStep": {
  41681. "description": "步骤信息列表",
  41682. "type": "array",
  41683. "items": {
  41684. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  41685. }
  41686. },
  41687. "paymenttype": {
  41688. "description": "支付方式 - 1:冻结 2:扣款",
  41689. "type": "integer"
  41690. },
  41691. "takemode": {
  41692. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  41693. "type": "integer"
  41694. },
  41695. "templatename": {
  41696. "description": "模板名称",
  41697. "type": "string"
  41698. },
  41699. "templatetype": {
  41700. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  41701. "type": "integer"
  41702. },
  41703. "userid": {
  41704. "description": "所属用户",
  41705. "type": "integer"
  41706. }
  41707. }
  41708. },
  41709. "models.WrPosition": {
  41710. "type": "object",
  41711. "properties": {
  41712. "accountid": {
  41713. "description": "帐户ID",
  41714. "type": "integer"
  41715. },
  41716. "buyexcuteqty": {
  41717. "description": "采购履约中数量",
  41718. "type": "number"
  41719. },
  41720. "creditcurqty": {
  41721. "description": "授信当前数量(预售仓单:预售当前量)",
  41722. "type": "number"
  41723. },
  41724. "creditenableqty": {
  41725. "description": "授信可用数量(预售仓单: 可用数量)",
  41726. "type": "number"
  41727. },
  41728. "creditfreezeqty": {
  41729. "description": "授信冻结数量(预售仓单: 当前数量)",
  41730. "type": "number"
  41731. },
  41732. "credittotalqty": {
  41733. "description": "授信总数量(预售仓单:预售总量)",
  41734. "type": "number"
  41735. },
  41736. "credittradeqty": {
  41737. "description": "授信成交数量(预售仓单:成交总量)",
  41738. "type": "number"
  41739. },
  41740. "deliverygoodscode": {
  41741. "description": "品种代码",
  41742. "type": "string"
  41743. },
  41744. "deliverygoodsid": {
  41745. "description": "品种ID",
  41746. "type": "integer"
  41747. },
  41748. "deliverygoodsname": {
  41749. "description": "品种名称",
  41750. "type": "string"
  41751. },
  41752. "enalbeqty": {
  41753. "description": "可用数量",
  41754. "type": "number"
  41755. },
  41756. "enumdicname": {
  41757. "description": "单位名称",
  41758. "type": "string"
  41759. },
  41760. "freezeqty": {
  41761. "description": "总冻结数量",
  41762. "type": "number"
  41763. },
  41764. "haswr": {
  41765. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41766. "type": "integer"
  41767. },
  41768. "minivalue": {
  41769. "description": "现货商品最小变动值",
  41770. "type": "integer"
  41771. },
  41772. "modifytime": {
  41773. "description": "修改时间(过户时间)",
  41774. "type": "string"
  41775. },
  41776. "optioncompare": {
  41777. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41778. "type": "string"
  41779. },
  41780. "pledgeqty": {
  41781. "description": "质押数量",
  41782. "type": "number"
  41783. },
  41784. "querytype": {
  41785. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  41786. "type": "integer"
  41787. },
  41788. "sellexcuteqty": {
  41789. "description": "销售履约中数量",
  41790. "type": "number"
  41791. },
  41792. "totalqty": {
  41793. "description": "总数量(库存数量)",
  41794. "type": "number"
  41795. },
  41796. "warehouseid": {
  41797. "description": "仓库ID",
  41798. "type": "integer"
  41799. },
  41800. "warehousename": {
  41801. "description": "仓库名称",
  41802. "type": "string"
  41803. },
  41804. "wrfactortypeid": {
  41805. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41806. "type": "string"
  41807. },
  41808. "wrfactortypename": {
  41809. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41810. "type": "string"
  41811. },
  41812. "wrpositionid": {
  41813. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  41814. "type": "string"
  41815. },
  41816. "wrpositionno": {
  41817. "description": "仓单编号",
  41818. "type": "string"
  41819. },
  41820. "wrstandardcode": {
  41821. "description": "现货商品代码",
  41822. "type": "string"
  41823. },
  41824. "wrstandardid": {
  41825. "description": "现货商品ID",
  41826. "type": "integer"
  41827. },
  41828. "wrstandardname": {
  41829. "description": "商品名称",
  41830. "type": "string"
  41831. },
  41832. "wrtypename": {
  41833. "description": "商品",
  41834. "type": "string"
  41835. },
  41836. "wruserid": {
  41837. "description": "持有人ID",
  41838. "type": "integer"
  41839. }
  41840. }
  41841. },
  41842. "models.WrPreSaleInfo": {
  41843. "type": "object",
  41844. "properties": {
  41845. "bannerpicurl": {
  41846. "description": "Banner图",
  41847. "type": "string"
  41848. },
  41849. "baseqty": {
  41850. "description": "中签基数",
  41851. "type": "number"
  41852. },
  41853. "createtime": {
  41854. "description": "创建时间",
  41855. "type": "string"
  41856. },
  41857. "deliverygoodsid": {
  41858. "description": "现货品种ID",
  41859. "type": "integer"
  41860. },
  41861. "enddate": {
  41862. "description": "预售结束日期",
  41863. "type": "string"
  41864. },
  41865. "enumdicname": {
  41866. "description": "单位名称",
  41867. "type": "string"
  41868. },
  41869. "lotteryflag": {
  41870. "description": "摇号标识 - 0:未摇号 1:已摇号",
  41871. "type": "integer"
  41872. },
  41873. "lotteryqty": {
  41874. "description": "摇号总量",
  41875. "type": "number"
  41876. },
  41877. "luckyqty": {
  41878. "description": "已中签量",
  41879. "type": "number"
  41880. },
  41881. "marketid": {
  41882. "description": "市场ID",
  41883. "type": "integer"
  41884. },
  41885. "maxbuyqty": {
  41886. "description": "单人最大申购量",
  41887. "type": "number"
  41888. },
  41889. "maxluckyqty": {
  41890. "description": "单人最大中签量",
  41891. "type": "number"
  41892. },
  41893. "pictureurls": {
  41894. "description": "详情图片(逗号分隔)",
  41895. "type": "string"
  41896. },
  41897. "placeqty": {
  41898. "description": "已配售量",
  41899. "type": "number"
  41900. },
  41901. "presaleapplyid": {
  41902. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  41903. "type": "string",
  41904. "example": "0"
  41905. },
  41906. "presaleqty": {
  41907. "description": "预售总量",
  41908. "type": "number"
  41909. },
  41910. "presalestatus": {
  41911. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  41912. "type": "integer"
  41913. },
  41914. "sellaccountid": {
  41915. "description": "发行方资金账户ID",
  41916. "type": "integer"
  41917. },
  41918. "selluserid": {
  41919. "description": "发行方用户ID",
  41920. "type": "integer"
  41921. },
  41922. "sellwrtradeorderid": {
  41923. "description": "发行方卖委托单ID",
  41924. "type": "string"
  41925. },
  41926. "startdate": {
  41927. "description": "预售开始日期",
  41928. "type": "string"
  41929. },
  41930. "takestartdate": {
  41931. "description": "提货开始日期",
  41932. "type": "string"
  41933. },
  41934. "thumurls": {
  41935. "description": "缩略图片(1:1)(逗号分隔)",
  41936. "type": "string"
  41937. },
  41938. "tradedate": {
  41939. "description": "交易日",
  41940. "type": "string"
  41941. },
  41942. "unitid": {
  41943. "description": "单位ID",
  41944. "type": "integer"
  41945. },
  41946. "unitprice": {
  41947. "description": "商品单价",
  41948. "type": "number"
  41949. },
  41950. "username": {
  41951. "description": "发行方用户名称",
  41952. "type": "string"
  41953. },
  41954. "warehousecode": {
  41955. "description": "仓库代码(仓库简称)",
  41956. "type": "string"
  41957. },
  41958. "warehouseid": {
  41959. "description": "仓库ID",
  41960. "type": "integer"
  41961. },
  41962. "warehousename": {
  41963. "description": "仓库名称",
  41964. "type": "string"
  41965. },
  41966. "wrfactortypeid": {
  41967. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  41968. "type": "string",
  41969. "example": "0"
  41970. },
  41971. "wrstandardid": {
  41972. "description": "现货商品ID",
  41973. "type": "integer"
  41974. },
  41975. "wrstandardname": {
  41976. "description": "现货商品名称",
  41977. "type": "string"
  41978. }
  41979. }
  41980. },
  41981. "models.WrQuoteOrderMyq": {
  41982. "type": "object",
  41983. "properties": {
  41984. "buyorsell": {
  41985. "description": "买卖 - 0:买 1:卖",
  41986. "type": "integer"
  41987. },
  41988. "canbargain": {
  41989. "description": "是否可议价 - 0:不可 1:可",
  41990. "type": "integer"
  41991. },
  41992. "canpart": {
  41993. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  41994. "type": "integer"
  41995. },
  41996. "delistminqty": {
  41997. "description": "期初均价",
  41998. "type": "number"
  41999. },
  42000. "deliverygoodscode": {
  42001. "description": "品种代码",
  42002. "type": "string"
  42003. },
  42004. "deliverygoodsid": {
  42005. "description": "品种ID",
  42006. "type": "integer"
  42007. },
  42008. "deliverygoodsname": {
  42009. "description": "品种名称",
  42010. "type": "string"
  42011. },
  42012. "deliverymonth": {
  42013. "description": "交收月",
  42014. "type": "string"
  42015. },
  42016. "enumdicname": {
  42017. "description": "单位名称",
  42018. "type": "string"
  42019. },
  42020. "fixedprice": {
  42021. "description": "买(卖)价",
  42022. "type": "number"
  42023. },
  42024. "goodscode": {
  42025. "description": "商品合约代码",
  42026. "type": "string"
  42027. },
  42028. "marginflag": {
  42029. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  42030. "type": "integer"
  42031. },
  42032. "marginvalue": {
  42033. "description": "保证金设置值",
  42034. "type": "number"
  42035. },
  42036. "minivalue": {
  42037. "description": "现货商品最小变动值",
  42038. "type": "integer"
  42039. },
  42040. "orderqty": {
  42041. "description": "买(卖)量(=委托量-成交量)",
  42042. "type": "number"
  42043. },
  42044. "ordertime": {
  42045. "description": "委托时间",
  42046. "type": "string"
  42047. },
  42048. "performancetemplateid": {
  42049. "description": "履约模板id",
  42050. "type": "integer"
  42051. },
  42052. "pricemove": {
  42053. "description": "买(卖)升贴水- 基差",
  42054. "type": "number"
  42055. },
  42056. "templatename": {
  42057. "description": "履约模板名称",
  42058. "type": "string"
  42059. },
  42060. "userid": {
  42061. "description": "购买方(销售方)用户ID",
  42062. "type": "integer"
  42063. },
  42064. "username": {
  42065. "description": "购买方(销售方)",
  42066. "type": "string"
  42067. },
  42068. "validtime": {
  42069. "description": "有效期限",
  42070. "type": "string"
  42071. },
  42072. "validtype": {
  42073. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  42074. "type": "integer"
  42075. },
  42076. "warehousename": {
  42077. "description": "仓库名称",
  42078. "type": "string"
  42079. },
  42080. "wrfactortypeid": {
  42081. "description": "仓单要素id",
  42082. "type": "string"
  42083. },
  42084. "wrstandardcode": {
  42085. "description": "现货商品代码",
  42086. "type": "string"
  42087. },
  42088. "wrstandardid": {
  42089. "description": "现货商品ID",
  42090. "type": "integer"
  42091. },
  42092. "wrstandardname": {
  42093. "description": "商品名称",
  42094. "type": "string"
  42095. },
  42096. "wrtradeorderid": {
  42097. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42098. "type": "string"
  42099. },
  42100. "wrtypename": {
  42101. "description": "商品",
  42102. "type": "string"
  42103. }
  42104. }
  42105. },
  42106. "models.WrReckonSpotGoodsTradeSum": {
  42107. "type": "object",
  42108. "properties": {
  42109. "begindate": {
  42110. "description": "开始日期(结果含开始日期) yyyymmdd",
  42111. "type": "string"
  42112. },
  42113. "enddate": {
  42114. "description": "结束日期(结果含结束日期) yyyymmdd",
  42115. "type": "string"
  42116. },
  42117. "istoday": {
  42118. "description": "是否当日",
  42119. "type": "boolean"
  42120. },
  42121. "marketid": {
  42122. "description": "市场ID",
  42123. "type": "integer"
  42124. },
  42125. "price": {
  42126. "description": "价格 = 日成交金额 / 日成交数量",
  42127. "type": "string"
  42128. },
  42129. "reckondate": {
  42130. "description": "日期 格式 yyyymmdd",
  42131. "type": "string"
  42132. },
  42133. "tradeamount": {
  42134. "description": "期初均价",
  42135. "type": "number"
  42136. },
  42137. "tradeqty": {
  42138. "description": "期初均价",
  42139. "type": "number"
  42140. },
  42141. "wrstandardid": {
  42142. "description": "现货商品ID",
  42143. "type": "integer"
  42144. }
  42145. }
  42146. },
  42147. "models.WrScfContract": {
  42148. "type": "object",
  42149. "properties": {
  42150. "borroweruserid": {
  42151. "description": "借款用户ID",
  42152. "type": "integer"
  42153. },
  42154. "buybackwrpositionqty": {
  42155. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  42156. "type": "number"
  42157. },
  42158. "closeinterest": {
  42159. "description": "已结利息 -\u003e 已结费用",
  42160. "type": "number"
  42161. },
  42162. "currisklevel": {
  42163. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  42164. "type": "integer"
  42165. },
  42166. "deadline": {
  42167. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  42168. "type": "string"
  42169. },
  42170. "deliverygoodscode": {
  42171. "description": "品种代码",
  42172. "type": "string"
  42173. },
  42174. "deliverygoodsid": {
  42175. "description": "品种ID",
  42176. "type": "integer"
  42177. },
  42178. "deliverygoodsname": {
  42179. "description": "品种名称",
  42180. "type": "string"
  42181. },
  42182. "enumdicname": {
  42183. "description": "单位名称",
  42184. "type": "string"
  42185. },
  42186. "financingdays": {
  42187. "description": "天数(天)",
  42188. "type": "integer"
  42189. },
  42190. "initmargin": {
  42191. "description": "保证金 - [仓单回购]",
  42192. "type": "number"
  42193. },
  42194. "interestamount": {
  42195. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  42196. "type": "number"
  42197. },
  42198. "interestdebt": {
  42199. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  42200. "type": "number"
  42201. },
  42202. "interestminlen": {
  42203. "description": "最小起息天数",
  42204. "type": "integer"
  42205. },
  42206. "interestrate": {
  42207. "description": "利率",
  42208. "type": "number"
  42209. },
  42210. "interestratemode": {
  42211. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  42212. "type": "integer"
  42213. },
  42214. "interestsettlemode": {
  42215. "description": "结息方式 - 1:按日结息 3:按月结息",
  42216. "type": "integer"
  42217. },
  42218. "interestsettlevalue": {
  42219. "description": "结息方式值",
  42220. "type": "integer"
  42221. },
  42222. "isautoloan": {
  42223. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  42224. "type": "integer"
  42225. },
  42226. "lastcloseinterestday": {
  42227. "description": "最近结息日(yyyyMMdd)",
  42228. "type": "string"
  42229. },
  42230. "lenderamount": {
  42231. "description": "贷款金额 -\u003e 借款金额",
  42232. "type": "number"
  42233. },
  42234. "lenderuserid": {
  42235. "description": "贷款方用户ID -\u003e 融出方用户ID",
  42236. "type": "integer"
  42237. },
  42238. "lenderusername": {
  42239. "description": "融出方",
  42240. "type": "string"
  42241. },
  42242. "marginratio": {
  42243. "description": "保证金比率质押率 - [仓单质押]",
  42244. "type": "number"
  42245. },
  42246. "marketid": {
  42247. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  42248. "type": "integer"
  42249. },
  42250. "minivalue": {
  42251. "description": "现货商品最小变动值",
  42252. "type": "integer"
  42253. },
  42254. "optioncompare": {
  42255. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42256. "type": "string"
  42257. },
  42258. "pricemove": {
  42259. "description": "估值升贴水值",
  42260. "type": "number"
  42261. },
  42262. "productdetailid": {
  42263. "description": "产品组合ID",
  42264. "type": "integer"
  42265. },
  42266. "productid": {
  42267. "description": "金融产品ID",
  42268. "type": "integer"
  42269. },
  42270. "productname": {
  42271. "description": "产品名称",
  42272. "type": "string"
  42273. },
  42274. "remainamount": {
  42275. "description": "合同剩余金额 -\u003e 剩余金额",
  42276. "type": "number"
  42277. },
  42278. "remainwrpositionqty": {
  42279. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  42280. "type": "number"
  42281. },
  42282. "remark": {
  42283. "description": "备注",
  42284. "type": "string"
  42285. },
  42286. "scfcontractid": {
  42287. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  42288. "type": "string"
  42289. },
  42290. "scfcontractstatus": {
  42291. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  42292. "type": "integer"
  42293. },
  42294. "scfcontracttype": {
  42295. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  42296. "type": "integer"
  42297. },
  42298. "startinterestday": {
  42299. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  42300. "type": "string"
  42301. },
  42302. "totalinterest": {
  42303. "description": "已计利息 -\u003e 已计费用",
  42304. "type": "number"
  42305. },
  42306. "unpaidinterest": {
  42307. "description": "期初均价",
  42308. "type": "number"
  42309. },
  42310. "updatetime": {
  42311. "description": "更新时间",
  42312. "type": "string"
  42313. },
  42314. "warehouseid": {
  42315. "description": "仓库ID",
  42316. "type": "integer"
  42317. },
  42318. "warehousename": {
  42319. "description": "仓库名称",
  42320. "type": "string"
  42321. },
  42322. "wrfactortypeid": {
  42323. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42324. "type": "string"
  42325. },
  42326. "wrfactortypename": {
  42327. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42328. "type": "string"
  42329. },
  42330. "wrqty": {
  42331. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  42332. "type": "number"
  42333. },
  42334. "wrstandardcode": {
  42335. "description": "现货商品代码",
  42336. "type": "string"
  42337. },
  42338. "wrstandardid": {
  42339. "description": "现货商品ID",
  42340. "type": "integer"
  42341. },
  42342. "wrstandardname": {
  42343. "description": "商品名称",
  42344. "type": "string"
  42345. },
  42346. "wrtypename": {
  42347. "description": "商品",
  42348. "type": "string"
  42349. }
  42350. }
  42351. },
  42352. "models.WrScfContractInterest": {
  42353. "type": "object",
  42354. "properties": {
  42355. "closeinterest": {
  42356. "description": "已结利息",
  42357. "type": "number"
  42358. },
  42359. "closeintereststatus": {
  42360. "description": "结息状态 - 1:未结 2:已结",
  42361. "type": "integer"
  42362. },
  42363. "closetime": {
  42364. "description": "结息时间",
  42365. "type": "string"
  42366. },
  42367. "closetradedate": {
  42368. "description": "结息交易日",
  42369. "type": "string"
  42370. },
  42371. "creatorid": {
  42372. "description": "操作人ID",
  42373. "type": "integer"
  42374. },
  42375. "dayrate": {
  42376. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  42377. "type": "number"
  42378. },
  42379. "interest": {
  42380. "description": "利息",
  42381. "type": "number"
  42382. },
  42383. "interestamount": {
  42384. "description": "计息金额",
  42385. "type": "number"
  42386. },
  42387. "interestday": {
  42388. "description": "计息日(yyyyMMdd)",
  42389. "type": "string"
  42390. },
  42391. "scfcontractid": {
  42392. "description": "SCF合同ID",
  42393. "type": "string"
  42394. },
  42395. "scfcontractinterestid": {
  42396. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  42397. "type": "integer"
  42398. },
  42399. "updatetime": {
  42400. "description": "更新时间",
  42401. "type": "string"
  42402. }
  42403. }
  42404. },
  42405. "models.WrSearchUser": {
  42406. "type": "object",
  42407. "required": [
  42408. "username"
  42409. ],
  42410. "properties": {
  42411. "userid": {
  42412. "description": "用户ID",
  42413. "type": "integer"
  42414. },
  42415. "username": {
  42416. "description": "用户名称(已脱敏)",
  42417. "type": "string"
  42418. },
  42419. "username2": {
  42420. "description": "用户名称(未脱敏)",
  42421. "type": "string"
  42422. },
  42423. "usertype": {
  42424. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  42425. "type": "integer"
  42426. }
  42427. }
  42428. },
  42429. "models.WrSiteColumnDetail": {
  42430. "type": "object",
  42431. "properties": {
  42432. "brief": {
  42433. "description": "简介",
  42434. "type": "string"
  42435. },
  42436. "context": {
  42437. "description": "内容",
  42438. "type": "string"
  42439. },
  42440. "coverimage": {
  42441. "description": "封面图片",
  42442. "type": "string"
  42443. },
  42444. "creaedate": {
  42445. "description": "创建时间",
  42446. "type": "string"
  42447. },
  42448. "id": {
  42449. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  42450. "type": "integer"
  42451. },
  42452. "istop": {
  42453. "description": "是否置顶 - 0:不置 1:置顶",
  42454. "type": "integer"
  42455. },
  42456. "publishdate": {
  42457. "description": "发布日期",
  42458. "type": "string"
  42459. },
  42460. "title": {
  42461. "description": "标题",
  42462. "type": "string"
  42463. },
  42464. "updatedate": {
  42465. "description": "修改时间",
  42466. "type": "string"
  42467. }
  42468. }
  42469. },
  42470. "models.WrSpecialMatchOrder": {
  42471. "type": "object",
  42472. "properties": {
  42473. "amount": {
  42474. "description": "金额 = 数量 * 价格",
  42475. "type": "number"
  42476. },
  42477. "buyorsell": {
  42478. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42479. "type": "integer"
  42480. },
  42481. "cancelqty": {
  42482. "description": "撤销数量",
  42483. "type": "number"
  42484. },
  42485. "deliverygoodscode": {
  42486. "description": "品种代码",
  42487. "type": "string"
  42488. },
  42489. "deliverygoodsid": {
  42490. "description": "品种ID",
  42491. "type": "integer"
  42492. },
  42493. "deliverygoodsname": {
  42494. "description": "品种名称",
  42495. "type": "string"
  42496. },
  42497. "enumdicname": {
  42498. "description": "单位名称",
  42499. "type": "string"
  42500. },
  42501. "fixedprice": {
  42502. "description": "固定价格(价格)",
  42503. "type": "number"
  42504. },
  42505. "haswr": {
  42506. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42507. "type": "integer"
  42508. },
  42509. "isspecified": {
  42510. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  42511. "type": "integer"
  42512. },
  42513. "marketid": {
  42514. "description": "市场ID",
  42515. "type": "integer"
  42516. },
  42517. "matchuserid": {
  42518. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  42519. "type": "integer"
  42520. },
  42521. "matchusername": {
  42522. "description": "指定方",
  42523. "type": "string"
  42524. },
  42525. "minivalue": {
  42526. "description": "现货商品最小变动值",
  42527. "type": "integer"
  42528. },
  42529. "optioncompare": {
  42530. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42531. "type": "string"
  42532. },
  42533. "orderqty": {
  42534. "description": "委托数量",
  42535. "type": "number"
  42536. },
  42537. "ordertime": {
  42538. "description": "委托时间",
  42539. "type": "string"
  42540. },
  42541. "pricemove": {
  42542. "description": "升贴水(浮动价时填写) - [挂牌]",
  42543. "type": "number"
  42544. },
  42545. "tradedate": {
  42546. "description": "交易日(yyyyMMdd)",
  42547. "type": "string"
  42548. },
  42549. "tradeprice": {
  42550. "description": "成交价格",
  42551. "type": "number"
  42552. },
  42553. "tradeqty": {
  42554. "description": "成交数量",
  42555. "type": "number"
  42556. },
  42557. "userid": {
  42558. "description": "用户ID",
  42559. "type": "integer"
  42560. },
  42561. "username": {
  42562. "description": "发起方",
  42563. "type": "string"
  42564. },
  42565. "warehouseid": {
  42566. "description": "仓库ID",
  42567. "type": "integer"
  42568. },
  42569. "warehousename": {
  42570. "description": "仓库名称",
  42571. "type": "string"
  42572. },
  42573. "wrfactortypeid": {
  42574. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42575. "type": "string"
  42576. },
  42577. "wrfactortypename": {
  42578. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42579. "type": "string"
  42580. },
  42581. "wrpricetype": {
  42582. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  42583. "type": "integer"
  42584. },
  42585. "wrstandardcode": {
  42586. "description": "现货商品代码",
  42587. "type": "string"
  42588. },
  42589. "wrstandardid": {
  42590. "description": "现货商品ID",
  42591. "type": "integer"
  42592. },
  42593. "wrstandardname": {
  42594. "description": "商品名称",
  42595. "type": "string"
  42596. },
  42597. "wrtradeorderid": {
  42598. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42599. "type": "string"
  42600. },
  42601. "wrtradeorderstatus": {
  42602. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  42603. "type": "integer"
  42604. },
  42605. "wrtradetype": {
  42606. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  42607. "type": "integer"
  42608. },
  42609. "wrtypename": {
  42610. "description": "商品",
  42611. "type": "string"
  42612. }
  42613. }
  42614. },
  42615. "models.WrSpotGroupTradeSum": {
  42616. "type": "object",
  42617. "properties": {
  42618. "deliverygoodscode": {
  42619. "description": "现货品种代码",
  42620. "type": "string"
  42621. },
  42622. "deliverygoodsid": {
  42623. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  42624. "type": "integer"
  42625. },
  42626. "deliverygoodsname": {
  42627. "description": "现货品种名称",
  42628. "type": "string"
  42629. },
  42630. "lastavgprice": {
  42631. "description": "上上个交易日价格(前2天价格)",
  42632. "type": "string"
  42633. },
  42634. "lastreckondate": {
  42635. "description": "上上个交易日(前2天交易日)",
  42636. "type": "string"
  42637. },
  42638. "reckondate": {
  42639. "description": "上个交易日(前1天交易日)",
  42640. "type": "string"
  42641. },
  42642. "todayavgprice": {
  42643. "description": "上个交易日价格(前1天价格)",
  42644. "type": "string"
  42645. },
  42646. "updown": {
  42647. "description": "涨跌",
  42648. "type": "string"
  42649. },
  42650. "updownratio": {
  42651. "description": "涨幅(已格式化, 直接显示即可)",
  42652. "type": "string"
  42653. }
  42654. }
  42655. },
  42656. "models.WrSpotGroupTradeSumDetail": {
  42657. "type": "object",
  42658. "properties": {
  42659. "deliverygoodsid": {
  42660. "description": "现货商品id",
  42661. "type": "integer"
  42662. },
  42663. "price": {
  42664. "description": "价格",
  42665. "type": "number"
  42666. },
  42667. "reckondate": {
  42668. "description": "日期(yyymmdd, 如:20211031)",
  42669. "type": "string"
  42670. }
  42671. }
  42672. },
  42673. "models.WrSpotGroupTradeSumEx": {
  42674. "type": "object",
  42675. "properties": {
  42676. "lst": {
  42677. "description": "指数列表",
  42678. "type": "array",
  42679. "items": {
  42680. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  42681. }
  42682. },
  42683. "prereckondate": {
  42684. "description": "上上个交易日(yyymmdd)",
  42685. "type": "string"
  42686. },
  42687. "reckondate": {
  42688. "description": "上个交易日(yyyymmdd)",
  42689. "type": "string"
  42690. }
  42691. }
  42692. },
  42693. "models.WrStandardFactoryItem": {
  42694. "type": "object",
  42695. "properties": {
  42696. "dgfactoryitemid": {
  42697. "description": "选择项id",
  42698. "type": "integer"
  42699. },
  42700. "dgfactoryitemvalue": {
  42701. "description": "要素项值",
  42702. "type": "string"
  42703. },
  42704. "warehouseid": {
  42705. "description": "仓库id",
  42706. "type": "integer"
  42707. }
  42708. }
  42709. },
  42710. "models.WrStandardFactoryItemEx": {
  42711. "type": "object",
  42712. "properties": {
  42713. "dgfactoryitemtypeid": {
  42714. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  42715. "type": "integer"
  42716. },
  42717. "itemlst": {
  42718. "description": "要素项列表",
  42719. "type": "array",
  42720. "items": {
  42721. "$ref": "#/definitions/models.WrStandardFactoryItem"
  42722. }
  42723. },
  42724. "itemtypename": {
  42725. "description": "要素项类型名称",
  42726. "type": "string"
  42727. },
  42728. "wrstandardid": {
  42729. "description": "品类",
  42730. "type": "integer"
  42731. }
  42732. }
  42733. },
  42734. "models.WrTradeDetail": {
  42735. "type": "object",
  42736. "properties": {
  42737. "accountid": {
  42738. "description": "资金账号",
  42739. "type": "integer"
  42740. },
  42741. "bannerpicurl": {
  42742. "description": "Banner图",
  42743. "type": "string"
  42744. },
  42745. "begindate": {
  42746. "description": "开始交易日(yyyymmdd)",
  42747. "type": "string"
  42748. },
  42749. "buyorsell": {
  42750. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42751. "type": "integer"
  42752. },
  42753. "chargevalue": {
  42754. "description": "手续费",
  42755. "type": "number"
  42756. },
  42757. "deliverygoodscode": {
  42758. "description": "品种代码",
  42759. "type": "string"
  42760. },
  42761. "deliverygoodsid": {
  42762. "description": "品种ID",
  42763. "type": "integer"
  42764. },
  42765. "deliverygoodsname": {
  42766. "description": "品种名称",
  42767. "type": "string"
  42768. },
  42769. "deliverymonth": {
  42770. "description": "交收月",
  42771. "type": "string"
  42772. },
  42773. "enddate": {
  42774. "description": "结束交易日(yyyymmdd)",
  42775. "type": "string"
  42776. },
  42777. "enumdicname": {
  42778. "description": "单位名称",
  42779. "type": "string"
  42780. },
  42781. "haswr": {
  42782. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42783. "type": "integer"
  42784. },
  42785. "marketid": {
  42786. "description": "市场ID",
  42787. "type": "integer"
  42788. },
  42789. "matchaccountid": {
  42790. "description": "对手账号",
  42791. "type": "integer"
  42792. },
  42793. "matchusername": {
  42794. "description": "对手方",
  42795. "type": "string"
  42796. },
  42797. "minivalue": {
  42798. "description": "现货商品最小变动值",
  42799. "type": "integer"
  42800. },
  42801. "optioncompare": {
  42802. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42803. "type": "string"
  42804. },
  42805. "thumurls": {
  42806. "description": "缩略图",
  42807. "type": "string"
  42808. },
  42809. "tradedate": {
  42810. "description": "交易日(yyyyMMdd)",
  42811. "type": "string"
  42812. },
  42813. "tradeprice": {
  42814. "description": "成交价格",
  42815. "type": "number"
  42816. },
  42817. "tradeqty": {
  42818. "description": "成交数量",
  42819. "type": "number"
  42820. },
  42821. "tradetime": {
  42822. "description": "成交时间",
  42823. "type": "string"
  42824. },
  42825. "userid": {
  42826. "description": "用户ID",
  42827. "type": "integer"
  42828. },
  42829. "warehouseid": {
  42830. "description": "仓库ID",
  42831. "type": "integer"
  42832. },
  42833. "warehousename": {
  42834. "description": "仓库名称",
  42835. "type": "string"
  42836. },
  42837. "wrfactortypeid": {
  42838. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42839. "type": "string"
  42840. },
  42841. "wrfactortypename": {
  42842. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42843. "type": "string"
  42844. },
  42845. "wrstandardcode": {
  42846. "description": "现货商品代码",
  42847. "type": "string"
  42848. },
  42849. "wrstandardid": {
  42850. "description": "现货商品ID",
  42851. "type": "integer"
  42852. },
  42853. "wrstandardname": {
  42854. "description": "商品名称",
  42855. "type": "string"
  42856. },
  42857. "wrtradedetailid": {
  42858. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  42859. "type": "string"
  42860. },
  42861. "wrtradetype": {
  42862. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  42863. "type": "integer"
  42864. },
  42865. "wrtypename": {
  42866. "description": "商品",
  42867. "type": "string"
  42868. }
  42869. }
  42870. },
  42871. "models.WrTradeOrderDetail": {
  42872. "type": "object",
  42873. "properties": {
  42874. "buyorsell": {
  42875. "description": "买卖方向 0-买 1-卖",
  42876. "type": "integer"
  42877. },
  42878. "goodsid": {
  42879. "description": "商品id",
  42880. "type": "integer"
  42881. },
  42882. "orderid": {
  42883. "description": "委托单号",
  42884. "type": "string"
  42885. },
  42886. "orderprice": {
  42887. "description": "期初均价",
  42888. "type": "number"
  42889. },
  42890. "orderqty": {
  42891. "description": "委托数量",
  42892. "type": "integer"
  42893. },
  42894. "userid": {
  42895. "description": "用户id",
  42896. "type": "integer"
  42897. },
  42898. "username": {
  42899. "description": "用户名称(已脱敏)",
  42900. "type": "string"
  42901. }
  42902. }
  42903. },
  42904. "models.WrTypeItem": {
  42905. "type": "object",
  42906. "properties": {
  42907. "name": {
  42908. "description": "名称",
  42909. "type": "string"
  42910. },
  42911. "value": {
  42912. "description": "值",
  42913. "type": "string"
  42914. }
  42915. }
  42916. },
  42917. "models.WrUserFriend": {
  42918. "type": "object",
  42919. "properties": {
  42920. "friendname": {
  42921. "description": "朋友名称(已脱敏)",
  42922. "type": "string"
  42923. },
  42924. "frienduserid": {
  42925. "description": "朋友id",
  42926. "type": "integer"
  42927. },
  42928. "isfriend": {
  42929. "description": "是否好友 0-不是 1-是",
  42930. "type": "integer"
  42931. },
  42932. "userid": {
  42933. "description": "用户id",
  42934. "type": "integer"
  42935. }
  42936. }
  42937. },
  42938. "models.WrUserReceiptInfo": {
  42939. "type": "object",
  42940. "properties": {
  42941. "address": {
  42942. "description": "地址[发票类型:企业]",
  42943. "type": "string"
  42944. },
  42945. "autoid": {
  42946. "description": "AutoID",
  42947. "type": "integer"
  42948. },
  42949. "contactinfo": {
  42950. "description": "联系方式",
  42951. "type": "string"
  42952. },
  42953. "idnum": {
  42954. "description": "身份证号码[发票类型:个人]",
  42955. "type": "string"
  42956. },
  42957. "isdefault": {
  42958. "description": "是否默认地址 - 0:否 1:是",
  42959. "type": "integer"
  42960. },
  42961. "receiptaccount": {
  42962. "description": "发票帐号[发票类型:企业]",
  42963. "type": "string"
  42964. },
  42965. "receiptbank": {
  42966. "description": "发票开户行[发票类型:企业]",
  42967. "type": "string"
  42968. },
  42969. "receipttype": {
  42970. "description": "发票类型 - 1:个人 2:企业",
  42971. "type": "integer"
  42972. },
  42973. "taxpayerid": {
  42974. "description": "纳税人识别号",
  42975. "type": "string"
  42976. },
  42977. "userid": {
  42978. "description": "用户ID",
  42979. "type": "integer"
  42980. },
  42981. "username": {
  42982. "description": "户名(个人姓名或企业名称)",
  42983. "type": "string"
  42984. }
  42985. }
  42986. },
  42987. "models.Wrtradetradequote": {
  42988. "type": "object",
  42989. "properties": {
  42990. "begindate": {
  42991. "description": "开始日期(结果含开始日期) yyyymmdd",
  42992. "type": "string"
  42993. },
  42994. "buyaccountid": {
  42995. "description": "买方账号ID",
  42996. "type": "integer"
  42997. },
  42998. "buyuserid": {
  42999. "description": "买方用户ID",
  43000. "type": "integer"
  43001. },
  43002. "deliverygoodsid": {
  43003. "description": "现货品种ID",
  43004. "type": "integer"
  43005. },
  43006. "enddate": {
  43007. "description": "结束日期(结果含结束日期) yyyymmdd",
  43008. "type": "string"
  43009. },
  43010. "marketid": {
  43011. "description": "市场ID",
  43012. "type": "integer"
  43013. },
  43014. "sellaccountid": {
  43015. "description": "卖方账号ID",
  43016. "type": "integer"
  43017. },
  43018. "selluserid": {
  43019. "description": "卖方用户ID",
  43020. "type": "integer"
  43021. },
  43022. "tradeamount": {
  43023. "description": "成交金额",
  43024. "type": "number"
  43025. },
  43026. "tradedate": {
  43027. "description": "交易日(yyyyMMdd)",
  43028. "type": "string"
  43029. },
  43030. "tradeprice": {
  43031. "description": "成交价格",
  43032. "type": "number"
  43033. },
  43034. "tradeqty": {
  43035. "description": "成交数量",
  43036. "type": "integer"
  43037. },
  43038. "tradetime": {
  43039. "description": "成交时间",
  43040. "type": "string"
  43041. },
  43042. "wrfactortypeid": {
  43043. "description": "仓单要素类型ID",
  43044. "type": "integer"
  43045. },
  43046. "wrstandardid": {
  43047. "description": "现货商品ID",
  43048. "type": "integer"
  43049. },
  43050. "wrtradedetailid": {
  43051. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  43052. "type": "string"
  43053. }
  43054. }
  43055. },
  43056. "models.XHBRAND": {
  43057. "type": "object",
  43058. "properties": {
  43059. "brandid": {
  43060. "description": "品牌id",
  43061. "type": "integer"
  43062. },
  43063. "brandname": {
  43064. "description": "品牌名称",
  43065. "type": "string"
  43066. },
  43067. "isvalid": {
  43068. "description": "是否有效 0-无效 1-有效",
  43069. "type": "integer"
  43070. }
  43071. }
  43072. },
  43073. "models.XHDeliveryGoods": {
  43074. "type": "object",
  43075. "properties": {
  43076. "areauserid": {
  43077. "description": "所属机构",
  43078. "type": "integer"
  43079. },
  43080. "bdlst": {
  43081. "description": "品牌列表",
  43082. "type": "array",
  43083. "items": {
  43084. "$ref": "#/definitions/models.XHBRAND"
  43085. }
  43086. },
  43087. "deliverygoodscode": {
  43088. "description": "现货品种代码",
  43089. "type": "string"
  43090. },
  43091. "deliverygoodsid": {
  43092. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  43093. "type": "integer"
  43094. },
  43095. "deliverygoodsname": {
  43096. "description": "现货品种名称",
  43097. "type": "string"
  43098. },
  43099. "dgstatus": {
  43100. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  43101. "type": "integer"
  43102. },
  43103. "filterSubEmpty": {
  43104. "description": "过滤下级为空的",
  43105. "type": "integer"
  43106. },
  43107. "isvalid": {
  43108. "description": "是否有效 - 0:无效 1:有效",
  43109. "type": "integer"
  43110. },
  43111. "remark": {
  43112. "description": "备注",
  43113. "type": "string"
  43114. },
  43115. "unitid": {
  43116. "description": "单位id(目前看,数据库中是空值)",
  43117. "type": "integer"
  43118. },
  43119. "wdlst": {
  43120. "description": "品类(现货商品)列表",
  43121. "type": "array",
  43122. "items": {
  43123. "$ref": "#/definitions/models.XHWrstandard"
  43124. }
  43125. }
  43126. }
  43127. },
  43128. "models.XHMiddleGoods": {
  43129. "type": "object",
  43130. "properties": {
  43131. "GPLST": {
  43132. "description": "期货品种列表",
  43133. "type": "array",
  43134. "items": {
  43135. "$ref": "#/definitions/models.TBGoodsGroup"
  43136. }
  43137. },
  43138. "convertratio": {
  43139. "description": "拆算系数",
  43140. "type": "number"
  43141. },
  43142. "costratio": {
  43143. "description": "成本权重",
  43144. "type": "number"
  43145. },
  43146. "deliverygoodsid": {
  43147. "description": "现货商品id",
  43148. "type": "integer"
  43149. },
  43150. "enumdicname": {
  43151. "description": "单位名称",
  43152. "type": "string"
  43153. },
  43154. "middlegoodscode": {
  43155. "description": "套保品种代码",
  43156. "type": "string"
  43157. },
  43158. "middlegoodsid": {
  43159. "description": "套保品种id",
  43160. "type": "integer"
  43161. },
  43162. "middlegoodsname": {
  43163. "description": "套保品种名称",
  43164. "type": "string"
  43165. },
  43166. "unitid": {
  43167. "description": "单位id",
  43168. "type": "integer"
  43169. }
  43170. }
  43171. },
  43172. "models.XHWrstandard": {
  43173. "type": "object",
  43174. "properties": {
  43175. "bannerpicurl": {
  43176. "description": "banner图",
  43177. "type": "string"
  43178. },
  43179. "deliverygoodsid": {
  43180. "description": "品种ID",
  43181. "type": "integer"
  43182. },
  43183. "enumdicname": {
  43184. "description": "单位名称",
  43185. "type": "string"
  43186. },
  43187. "mglst": {
  43188. "description": "套保品列表",
  43189. "type": "array",
  43190. "items": {
  43191. "$ref": "#/definitions/models.XHMiddleGoods"
  43192. }
  43193. },
  43194. "pictureurls": {
  43195. "description": "详情图片(逗号分隔)",
  43196. "type": "string"
  43197. },
  43198. "thumurls": {
  43199. "description": "缩略图片(1:1)(逗号分隔)",
  43200. "type": "string"
  43201. },
  43202. "unitid": {
  43203. "description": "单位id",
  43204. "type": "integer"
  43205. },
  43206. "vatrate": {
  43207. "description": "增值税率",
  43208. "type": "number"
  43209. },
  43210. "wrstandardcode": {
  43211. "description": "现货商品代码",
  43212. "type": "string"
  43213. },
  43214. "wrstandardid": {
  43215. "description": "现货商品ID(SEQ_WRSTANDARD)",
  43216. "type": "integer"
  43217. },
  43218. "wrstandardname": {
  43219. "description": "现货商品名称",
  43220. "type": "string"
  43221. }
  43222. }
  43223. },
  43224. "models.XhcpSellBackApplyEx": {
  43225. "type": "object",
  43226. "required": [
  43227. "userid"
  43228. ],
  43229. "properties": {
  43230. "applyremark": {
  43231. "description": "申请备注",
  43232. "type": "string"
  43233. },
  43234. "expirytype": {
  43235. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  43236. "type": "integer"
  43237. },
  43238. "goodsspec": {
  43239. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  43240. "type": "integer"
  43241. },
  43242. "holeflag": {
  43243. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  43244. "type": "integer"
  43245. },
  43246. "isunopened": {
  43247. "description": "是否原封 - 1:否 2:是",
  43248. "type": "integer"
  43249. },
  43250. "mpflag": {
  43251. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  43252. "type": "integer"
  43253. },
  43254. "openflag": {
  43255. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  43256. "type": "integer"
  43257. },
  43258. "phonenum": {
  43259. "description": "联系电话",
  43260. "type": "string"
  43261. },
  43262. "userid": {
  43263. "description": "所属用户ID",
  43264. "type": "integer"
  43265. },
  43266. "zpflag": {
  43267. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  43268. "type": "integer"
  43269. }
  43270. }
  43271. },
  43272. "models.Xhcpsellbackapply": {
  43273. "type": "object",
  43274. "required": [
  43275. "userid"
  43276. ],
  43277. "properties": {
  43278. "applyid": {
  43279. "description": "申请人",
  43280. "type": "integer"
  43281. },
  43282. "applyremark": {
  43283. "description": "申请备注",
  43284. "type": "string"
  43285. },
  43286. "applysrc": {
  43287. "description": "申请来源 - 1:管理端 2:终端",
  43288. "type": "integer"
  43289. },
  43290. "applystatus": {
  43291. "description": "申请状态 - 1:待确认 2:已处理",
  43292. "type": "integer"
  43293. },
  43294. "applytime": {
  43295. "description": "申请时间",
  43296. "type": "string"
  43297. },
  43298. "auditremark": {
  43299. "description": "审核备注",
  43300. "type": "string"
  43301. },
  43302. "auditsrc": {
  43303. "description": "审核来源 - 1:管理端 2:终端",
  43304. "type": "integer"
  43305. },
  43306. "expirytype": {
  43307. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  43308. "type": "integer"
  43309. },
  43310. "goodsspec": {
  43311. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  43312. "type": "integer"
  43313. },
  43314. "holeflag": {
  43315. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  43316. "type": "integer"
  43317. },
  43318. "isunopened": {
  43319. "description": "是否原封 - 1:否 2:是",
  43320. "type": "integer"
  43321. },
  43322. "mpflag": {
  43323. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  43324. "type": "integer"
  43325. },
  43326. "openflag": {
  43327. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  43328. "type": "integer"
  43329. },
  43330. "phonenum": {
  43331. "description": "联系电话",
  43332. "type": "string"
  43333. },
  43334. "sellbackapplyid": {
  43335. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  43336. "type": "string"
  43337. },
  43338. "userid": {
  43339. "description": "所属用户ID",
  43340. "type": "integer"
  43341. },
  43342. "zpflag": {
  43343. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  43344. "type": "integer"
  43345. }
  43346. }
  43347. },
  43348. "order.QueryHisTradeDetailRsp": {
  43349. "type": "object",
  43350. "required": [
  43351. "accountid",
  43352. "buyorsell",
  43353. "goodsid",
  43354. "histradedate",
  43355. "marketid",
  43356. "memberuserid",
  43357. "orderid",
  43358. "tradeamount",
  43359. "tradedate",
  43360. "tradeid",
  43361. "tradeprice",
  43362. "tradeqty",
  43363. "tradetime"
  43364. ],
  43365. "properties": {
  43366. "accountid": {
  43367. "description": "账户ID[报价币种]",
  43368. "type": "integer"
  43369. },
  43370. "advanceratio": {
  43371. "description": "首付比率",
  43372. "type": "number"
  43373. },
  43374. "buildtype": {
  43375. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  43376. "type": "integer"
  43377. },
  43378. "buyorsell": {
  43379. "description": "方向 - 0:买 1:卖",
  43380. "type": "integer"
  43381. },
  43382. "charge": {
  43383. "description": "手续费",
  43384. "type": "number"
  43385. },
  43386. "closecharge": {
  43387. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43388. "type": "number"
  43389. },
  43390. "closeexchagechargevalue": {
  43391. "description": "平仓交易所手续费设置值",
  43392. "type": "number"
  43393. },
  43394. "closefeealgorithm": {
  43395. "description": "平仓手续费收取方式 1:比率 2:固定",
  43396. "type": "integer"
  43397. },
  43398. "closememberchargevalue": {
  43399. "description": "平仓会员手续费设置值",
  43400. "type": "number"
  43401. },
  43402. "closepl": {
  43403. "description": "平仓盈亏",
  43404. "type": "number"
  43405. },
  43406. "closepl2": {
  43407. "description": "平仓盈亏[逐笔]",
  43408. "type": "number"
  43409. },
  43410. "closeqty": {
  43411. "description": "平仓数量(先建后平操作 需要记录)",
  43412. "type": "number"
  43413. },
  43414. "creditamount": {
  43415. "description": "授信金额",
  43416. "type": "number"
  43417. },
  43418. "decimalplace": {
  43419. "description": "商品报价小数位",
  43420. "type": "integer"
  43421. },
  43422. "enumdicname": {
  43423. "description": "单位名称",
  43424. "type": "string"
  43425. },
  43426. "gcaccountid": {
  43427. "description": "账户ID[合约币种]",
  43428. "type": "integer"
  43429. },
  43430. "goodscode": {
  43431. "description": "商品代码",
  43432. "type": "string"
  43433. },
  43434. "goodsid": {
  43435. "description": "商品ID",
  43436. "type": "integer"
  43437. },
  43438. "goodsname": {
  43439. "description": "商品名称",
  43440. "type": "string"
  43441. },
  43442. "goodunitid": {
  43443. "description": "商品单位id",
  43444. "type": "integer"
  43445. },
  43446. "histradedate": {
  43447. "description": "历史交易日",
  43448. "type": "string"
  43449. },
  43450. "intclosepl": {
  43451. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  43452. "type": "integer"
  43453. },
  43454. "isconfirmexercise": {
  43455. "description": "是否确认行权- 0:否 1:是",
  43456. "type": "integer"
  43457. },
  43458. "ismain": {
  43459. "description": "是否主单 - 0:不是 1:是",
  43460. "type": "integer"
  43461. },
  43462. "ispreexercise": {
  43463. "description": "是否预申报- 0:否 1:是",
  43464. "type": "integer"
  43465. },
  43466. "isreckoned": {
  43467. "description": "是否结算 - 0:未结算 1:已结算",
  43468. "type": "integer"
  43469. },
  43470. "isvaliddata": {
  43471. "description": "是否有效 - 0:无效 1:有效",
  43472. "type": "integer"
  43473. },
  43474. "listingselecttype": {
  43475. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43476. "type": "integer"
  43477. },
  43478. "marketid": {
  43479. "description": "市场ID",
  43480. "type": "integer"
  43481. },
  43482. "marketname": {
  43483. "description": "市场名称",
  43484. "type": "string"
  43485. },
  43486. "matchaccountid": {
  43487. "description": "对手账号id",
  43488. "type": "integer"
  43489. },
  43490. "memberuserid": {
  43491. "description": "会员id 个人投资者 需要填写",
  43492. "type": "integer"
  43493. },
  43494. "opencharge": {
  43495. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43496. "type": "number"
  43497. },
  43498. "openexchagechargevalue": {
  43499. "description": "建仓交易所手续费设置值",
  43500. "type": "number"
  43501. },
  43502. "openfeealgorithm": {
  43503. "description": "建仓手续费收取方式 1:比率 2:固定",
  43504. "type": "integer"
  43505. },
  43506. "openmemberchargevalue": {
  43507. "description": "建仓会员手续费设置值",
  43508. "type": "number"
  43509. },
  43510. "openqty": {
  43511. "description": "开仓数量(先建后平操作 需要记录)",
  43512. "type": "number"
  43513. },
  43514. "optiontype": {
  43515. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  43516. "type": "integer"
  43517. },
  43518. "orderid": {
  43519. "description": "委托单号",
  43520. "type": "string"
  43521. },
  43522. "payamount": {
  43523. "description": "支付金额(付款金额)",
  43524. "type": "number"
  43525. },
  43526. "performanceplanid": {
  43527. "description": "履约计划ID[期权]",
  43528. "type": "integer"
  43529. },
  43530. "performancestatus": {
  43531. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  43532. "type": "integer"
  43533. },
  43534. "preexerciseprice": {
  43535. "description": "预申报价格",
  43536. "type": "number"
  43537. },
  43538. "premium": {
  43539. "description": "权利金 - [持仓单的权利金]",
  43540. "type": "number"
  43541. },
  43542. "qtydecimalplace": {
  43543. "description": "商品报价小数位",
  43544. "type": "integer"
  43545. },
  43546. "recvamount": {
  43547. "description": "到账金额 = 成交金额 - 手续费",
  43548. "type": "number"
  43549. },
  43550. "relatedouttradeid": {
  43551. "description": "关联外部成交单ID",
  43552. "type": "integer"
  43553. },
  43554. "status": {
  43555. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  43556. "type": "integer"
  43557. },
  43558. "totalamount": {
  43559. "description": "订单总额 = 成交金额 + 手续费",
  43560. "type": "number"
  43561. },
  43562. "tradeamount": {
  43563. "description": "成交金额[账户币种,用于所有权]",
  43564. "type": "number"
  43565. },
  43566. "tradedate": {
  43567. "description": "交易日(yyyyMMdd)",
  43568. "type": "string"
  43569. },
  43570. "tradeid": {
  43571. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43572. "type": "string"
  43573. },
  43574. "trademode": {
  43575. "description": "交易模式",
  43576. "type": "integer"
  43577. },
  43578. "tradeprice": {
  43579. "description": "成交价格",
  43580. "type": "number"
  43581. },
  43582. "tradeproperty": {
  43583. "description": "交易属性",
  43584. "type": "integer"
  43585. },
  43586. "tradeqty": {
  43587. "description": "成交数量",
  43588. "type": "number"
  43589. },
  43590. "tradetime": {
  43591. "description": "成交时间",
  43592. "type": "string"
  43593. },
  43594. "tradetype": {
  43595. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  43596. "type": "integer"
  43597. }
  43598. }
  43599. },
  43600. "order.QueryHisTradeOrderDetailRsp": {
  43601. "type": "object",
  43602. "required": [
  43603. "accountid",
  43604. "buildtype",
  43605. "buyorsell",
  43606. "goodsid",
  43607. "histradedate",
  43608. "marketid",
  43609. "memberuserid",
  43610. "operatetype",
  43611. "orderid",
  43612. "orderqty",
  43613. "ordertime",
  43614. "pricemode",
  43615. "tradedate",
  43616. "validtype"
  43617. ],
  43618. "properties": {
  43619. "accountid": {
  43620. "description": "账户ID[报价币种]",
  43621. "type": "integer"
  43622. },
  43623. "buildtype": {
  43624. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  43625. "type": "integer"
  43626. },
  43627. "buyorsell": {
  43628. "description": "买卖 - 0:买 1:卖",
  43629. "type": "integer"
  43630. },
  43631. "cancelorderid": {
  43632. "description": "撤单单号(撤单时填写)",
  43633. "type": "string"
  43634. },
  43635. "cancelqty": {
  43636. "description": "撤单数量",
  43637. "type": "number"
  43638. },
  43639. "clientordertime": {
  43640. "description": "客户端委托时间",
  43641. "type": "string"
  43642. },
  43643. "clientticket": {
  43644. "description": "客户端流水号",
  43645. "type": "string"
  43646. },
  43647. "clienttype": {
  43648. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  43649. "type": "integer"
  43650. },
  43651. "closeexchagechargevalue": {
  43652. "description": "平仓交易所手续费设置值",
  43653. "type": "number"
  43654. },
  43655. "closefeealgorithm": {
  43656. "description": "平仓手续费收取方式 1:比率 2:固定",
  43657. "type": "integer"
  43658. },
  43659. "closefreezecharge": {
  43660. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  43661. "type": "number"
  43662. },
  43663. "closememberchargevalue": {
  43664. "description": "平仓会员手续费设置值",
  43665. "type": "number"
  43666. },
  43667. "closeqty": {
  43668. "description": "平仓数量(先建后平操作 需要记录)",
  43669. "type": "number"
  43670. },
  43671. "closetradeqty": {
  43672. "description": "平仓成交数量(先建后平操作,需要记录)",
  43673. "type": "number"
  43674. },
  43675. "closeunfreezecharge": {
  43676. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  43677. "type": "number"
  43678. },
  43679. "decimalplace": {
  43680. "description": "商品报价小数位",
  43681. "type": "integer"
  43682. },
  43683. "delistingtype": {
  43684. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  43685. "type": "integer"
  43686. },
  43687. "enumdicname": {
  43688. "description": "单位名称",
  43689. "type": "string"
  43690. },
  43691. "freezecharge": {
  43692. "description": "冻结手续费",
  43693. "type": "number"
  43694. },
  43695. "freezemargin": {
  43696. "description": "冻结保证金(冻结交易金额)",
  43697. "type": "number"
  43698. },
  43699. "gcaccountid": {
  43700. "description": "账户ID[合约币种]",
  43701. "type": "integer"
  43702. },
  43703. "goodscode": {
  43704. "description": "商品代码",
  43705. "type": "string"
  43706. },
  43707. "goodsid": {
  43708. "description": "商品ID",
  43709. "type": "integer"
  43710. },
  43711. "goodsname": {
  43712. "description": "商品名称",
  43713. "type": "string"
  43714. },
  43715. "goodunitid": {
  43716. "description": "商品单位id",
  43717. "type": "integer"
  43718. },
  43719. "histradedate": {
  43720. "description": "历史交易日",
  43721. "type": "string"
  43722. },
  43723. "isconfirmexercise": {
  43724. "description": "是否确认行权- 0:否 1:是",
  43725. "type": "integer"
  43726. },
  43727. "ispreexercise": {
  43728. "description": "是否预申报- 0:否 1:是",
  43729. "type": "integer"
  43730. },
  43731. "isvaliddata": {
  43732. "description": "是否有效 - 0:无效 1:有效",
  43733. "type": "integer"
  43734. },
  43735. "listingselecttype": {
  43736. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43737. "type": "integer"
  43738. },
  43739. "marginalgorithm": {
  43740. "description": "保证金收取方式 1:比率 2:固定",
  43741. "type": "integer"
  43742. },
  43743. "marginvalue": {
  43744. "description": "即市保证金设置值",
  43745. "type": "number"
  43746. },
  43747. "marketid": {
  43748. "description": "市场ID",
  43749. "type": "integer"
  43750. },
  43751. "marketmaxsub": {
  43752. "description": "市价最大偏移范围",
  43753. "type": "number"
  43754. },
  43755. "marketname": {
  43756. "description": "市场名称",
  43757. "type": "string"
  43758. },
  43759. "memberuserid": {
  43760. "description": "所属会员UserID",
  43761. "type": "integer"
  43762. },
  43763. "openexchagechargevalue": {
  43764. "description": "建仓交易所手续费设置值",
  43765. "type": "number"
  43766. },
  43767. "openfeealgorithm": {
  43768. "description": "建仓手续费收取方式 1:比率 2:固定",
  43769. "type": "integer"
  43770. },
  43771. "openfreezecharge": {
  43772. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  43773. "type": "number"
  43774. },
  43775. "openmemberchargevalue": {
  43776. "description": "建仓会员手续费设置值",
  43777. "type": "number"
  43778. },
  43779. "openqty": {
  43780. "description": "开仓数量(先建后平操作,需要记录)",
  43781. "type": "number"
  43782. },
  43783. "opentradeqty": {
  43784. "description": "开仓成交数量(先建后平操作,需要记录)",
  43785. "type": "number"
  43786. },
  43787. "openunfreezecharge": {
  43788. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  43789. "type": "number"
  43790. },
  43791. "operatetype": {
  43792. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  43793. "type": "integer"
  43794. },
  43795. "operatorid": {
  43796. "description": "登录账号(LoginID)",
  43797. "type": "integer"
  43798. },
  43799. "optiontype": {
  43800. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  43801. "type": "integer"
  43802. },
  43803. "orderid": {
  43804. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43805. "type": "string"
  43806. },
  43807. "orderprice": {
  43808. "description": "委托价格",
  43809. "type": "number"
  43810. },
  43811. "orderqty": {
  43812. "description": "委托数量",
  43813. "type": "number"
  43814. },
  43815. "ordersrc": {
  43816. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  43817. "type": "integer"
  43818. },
  43819. "orderstatus": {
  43820. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  43821. "type": "integer"
  43822. },
  43823. "ordertime": {
  43824. "description": "委托时间",
  43825. "type": "string"
  43826. },
  43827. "preexerciseprice": {
  43828. "description": "预申报价格",
  43829. "type": "number"
  43830. },
  43831. "premium": {
  43832. "description": "权利金",
  43833. "type": "number"
  43834. },
  43835. "preorderid": {
  43836. "description": "关联预埋单号(止盈止损单时填写)",
  43837. "type": "string"
  43838. },
  43839. "pricemode": {
  43840. "description": "取价方式 - 1:市价 2: 限价",
  43841. "type": "integer"
  43842. },
  43843. "qtydecimalplace": {
  43844. "description": "成交量小数位",
  43845. "type": "integer"
  43846. },
  43847. "quoteid": {
  43848. "description": "报价单ID",
  43849. "type": "integer"
  43850. },
  43851. "relatedid": {
  43852. "description": "关联单号(交割单)",
  43853. "type": "string"
  43854. },
  43855. "retcode": {
  43856. "description": "错误代码",
  43857. "type": "integer"
  43858. },
  43859. "sessionid": {
  43860. "description": "会话ID",
  43861. "type": "integer"
  43862. },
  43863. "tradedate": {
  43864. "description": "交易日(yyyyMMdd)",
  43865. "type": "string"
  43866. },
  43867. "trademode": {
  43868. "description": "交易模式",
  43869. "type": "integer"
  43870. },
  43871. "tradeproperty": {
  43872. "description": "交易属性",
  43873. "type": "integer"
  43874. },
  43875. "tradeqty": {
  43876. "description": "成交数量",
  43877. "type": "number"
  43878. },
  43879. "unfreezecharge": {
  43880. "description": "解冻手续费",
  43881. "type": "number"
  43882. },
  43883. "unfreezemargin": {
  43884. "description": "解冻保证金",
  43885. "type": "number"
  43886. },
  43887. "updatetime": {
  43888. "description": "更新时间",
  43889. "type": "string"
  43890. },
  43891. "uuid": {
  43892. "description": "发起端唯一id",
  43893. "type": "string"
  43894. },
  43895. "validtime": {
  43896. "description": "有效期限",
  43897. "type": "string"
  43898. },
  43899. "validtype": {
  43900. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  43901. "type": "integer"
  43902. },
  43903. "volumetype": {
  43904. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  43905. "type": "integer"
  43906. }
  43907. }
  43908. },
  43909. "order.QueryTradeDetailRsp": {
  43910. "type": "object",
  43911. "required": [
  43912. "accountid",
  43913. "buyorsell",
  43914. "goodsid",
  43915. "marketid",
  43916. "memberuserid",
  43917. "orderid",
  43918. "tradeamount",
  43919. "tradedate",
  43920. "tradeid",
  43921. "tradeprice",
  43922. "tradeqty",
  43923. "tradetime"
  43924. ],
  43925. "properties": {
  43926. "accountid": {
  43927. "description": "账户ID[报价币种]",
  43928. "type": "integer"
  43929. },
  43930. "advanceratio": {
  43931. "description": "首付比率",
  43932. "type": "number"
  43933. },
  43934. "buildtype": {
  43935. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  43936. "type": "integer"
  43937. },
  43938. "buyorsell": {
  43939. "description": "方向 - 0:买 1:卖",
  43940. "type": "integer"
  43941. },
  43942. "charge": {
  43943. "description": "手续费",
  43944. "type": "number"
  43945. },
  43946. "closecharge": {
  43947. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43948. "type": "number"
  43949. },
  43950. "closeexchagechargevalue": {
  43951. "description": "平仓交易所手续费设置值",
  43952. "type": "number"
  43953. },
  43954. "closefeealgorithm": {
  43955. "description": "平仓手续费收取方式 1:比率 2:固定",
  43956. "type": "integer"
  43957. },
  43958. "closememberchargevalue": {
  43959. "description": "平仓会员手续费设置值",
  43960. "type": "number"
  43961. },
  43962. "closepl": {
  43963. "description": "平仓盈亏",
  43964. "type": "number"
  43965. },
  43966. "closepl2": {
  43967. "description": "平仓盈亏[逐笔]",
  43968. "type": "number"
  43969. },
  43970. "closeqty": {
  43971. "description": "平仓数量(先建后平操作 需要记录)",
  43972. "type": "number"
  43973. },
  43974. "creditamount": {
  43975. "description": "授信金额",
  43976. "type": "number"
  43977. },
  43978. "decimalplace": {
  43979. "description": "商品报价小数位",
  43980. "type": "integer"
  43981. },
  43982. "enumdicname": {
  43983. "description": "单位名称",
  43984. "type": "string"
  43985. },
  43986. "gcaccountid": {
  43987. "description": "账户ID[合约币种]",
  43988. "type": "integer"
  43989. },
  43990. "goodscode": {
  43991. "description": "商品代码",
  43992. "type": "string"
  43993. },
  43994. "goodsid": {
  43995. "description": "商品ID",
  43996. "type": "integer"
  43997. },
  43998. "goodsname": {
  43999. "description": "商品名称",
  44000. "type": "string"
  44001. },
  44002. "goodunitid": {
  44003. "description": "商品单位id",
  44004. "type": "integer"
  44005. },
  44006. "intclosepl": {
  44007. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  44008. "type": "integer"
  44009. },
  44010. "isconfirmexercise": {
  44011. "description": "是否确认行权- 0:否 1:是",
  44012. "type": "integer"
  44013. },
  44014. "ismain": {
  44015. "description": "是否主单 - 0:不是 1:是",
  44016. "type": "integer"
  44017. },
  44018. "ispreexercise": {
  44019. "description": "是否预申报- 0:否 1:是",
  44020. "type": "integer"
  44021. },
  44022. "isreckoned": {
  44023. "description": "是否结算 - 0:未结算 1:已结算",
  44024. "type": "integer"
  44025. },
  44026. "listingselecttype": {
  44027. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44028. "type": "integer"
  44029. },
  44030. "marketid": {
  44031. "description": "市场ID",
  44032. "type": "integer"
  44033. },
  44034. "marketname": {
  44035. "description": "市场名称",
  44036. "type": "string"
  44037. },
  44038. "matchaccountid": {
  44039. "description": "对手账号id",
  44040. "type": "integer"
  44041. },
  44042. "memberuserid": {
  44043. "description": "会员id 个人投资者 需要填写",
  44044. "type": "integer"
  44045. },
  44046. "opencharge": {
  44047. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  44048. "type": "number"
  44049. },
  44050. "openexchagechargevalue": {
  44051. "description": "建仓交易所手续费设置值",
  44052. "type": "number"
  44053. },
  44054. "openfeealgorithm": {
  44055. "description": "建仓手续费收取方式 1:比率 2:固定",
  44056. "type": "integer"
  44057. },
  44058. "openmemberchargevalue": {
  44059. "description": "建仓会员手续费设置值",
  44060. "type": "number"
  44061. },
  44062. "openqty": {
  44063. "description": "开仓数量(先建后平操作 需要记录)",
  44064. "type": "number"
  44065. },
  44066. "optiontype": {
  44067. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  44068. "type": "integer"
  44069. },
  44070. "orderid": {
  44071. "description": "委托单号",
  44072. "type": "string"
  44073. },
  44074. "payamount": {
  44075. "description": "支付金额(付款金额)",
  44076. "type": "number"
  44077. },
  44078. "performanceplanid": {
  44079. "description": "履约计划ID[期权]",
  44080. "type": "integer"
  44081. },
  44082. "performancestatus": {
  44083. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  44084. "type": "integer"
  44085. },
  44086. "preexerciseprice": {
  44087. "description": "预申报价格",
  44088. "type": "number"
  44089. },
  44090. "premium": {
  44091. "description": "权利金 - [持仓单的权利金]",
  44092. "type": "number"
  44093. },
  44094. "qtydecimalplace": {
  44095. "description": "商品报价小数位",
  44096. "type": "integer"
  44097. },
  44098. "recvamount": {
  44099. "description": "到账金额 = 成交金额 - 手续费",
  44100. "type": "number"
  44101. },
  44102. "relatedouttradeid": {
  44103. "description": "关联外部成交单ID",
  44104. "type": "integer"
  44105. },
  44106. "status": {
  44107. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  44108. "type": "integer"
  44109. },
  44110. "totalamount": {
  44111. "description": "订单总额 = 成交金额 + 手续费",
  44112. "type": "number"
  44113. },
  44114. "tradeamount": {
  44115. "description": "成交金额[账户币种,用于所有权]",
  44116. "type": "number"
  44117. },
  44118. "tradedate": {
  44119. "description": "交易日(yyyyMMdd)",
  44120. "type": "string"
  44121. },
  44122. "tradeid": {
  44123. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44124. "type": "string"
  44125. },
  44126. "trademode": {
  44127. "description": "交易模式",
  44128. "type": "integer"
  44129. },
  44130. "tradeprice": {
  44131. "description": "成交价格",
  44132. "type": "number"
  44133. },
  44134. "tradeproperty": {
  44135. "description": "交易属性",
  44136. "type": "integer"
  44137. },
  44138. "tradeqty": {
  44139. "description": "成交数量",
  44140. "type": "number"
  44141. },
  44142. "tradetime": {
  44143. "description": "成交时间",
  44144. "type": "string"
  44145. },
  44146. "tradetype": {
  44147. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  44148. "type": "integer"
  44149. }
  44150. }
  44151. },
  44152. "order.QueryTradeOrderDetailRsp": {
  44153. "type": "object",
  44154. "required": [
  44155. "accountid",
  44156. "buildtype",
  44157. "buyorsell",
  44158. "goodsid",
  44159. "marketid",
  44160. "operatetype",
  44161. "orderqty",
  44162. "ordertime",
  44163. "pricemode",
  44164. "tradedate",
  44165. "validtype"
  44166. ],
  44167. "properties": {
  44168. "accountid": {
  44169. "description": "账户ID[报价币种]",
  44170. "type": "integer"
  44171. },
  44172. "buildtype": {
  44173. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  44174. "type": "integer"
  44175. },
  44176. "buyorsell": {
  44177. "description": "买卖 - 0:买 1:卖",
  44178. "type": "integer"
  44179. },
  44180. "cancelorderid": {
  44181. "description": "撤单单号(撤单时填写)",
  44182. "type": "string"
  44183. },
  44184. "cancelqty": {
  44185. "description": "撤单数量",
  44186. "type": "number"
  44187. },
  44188. "clienttype": {
  44189. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  44190. "type": "integer"
  44191. },
  44192. "closefreezecharge": {
  44193. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  44194. "type": "number"
  44195. },
  44196. "closeqty": {
  44197. "description": "平仓数量(先建后平操作 需要记录)",
  44198. "type": "number"
  44199. },
  44200. "closetradeqty": {
  44201. "description": "平仓成交数量(先建后平操作,需要记录)",
  44202. "type": "number"
  44203. },
  44204. "closeunfreezecharge": {
  44205. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  44206. "type": "number"
  44207. },
  44208. "decimalplace": {
  44209. "description": "商品报价小数位",
  44210. "type": "integer"
  44211. },
  44212. "delistingtype": {
  44213. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  44214. "type": "integer"
  44215. },
  44216. "enableqty": {
  44217. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  44218. "type": "number"
  44219. },
  44220. "enumdicname": {
  44221. "description": "单位名称",
  44222. "type": "string"
  44223. },
  44224. "freezecharge": {
  44225. "description": "冻结手续费",
  44226. "type": "number"
  44227. },
  44228. "freezemargin": {
  44229. "description": "冻结保证金(冻结交易金额)",
  44230. "type": "number"
  44231. },
  44232. "goodscode": {
  44233. "description": "商品代码",
  44234. "type": "string"
  44235. },
  44236. "goodsid": {
  44237. "description": "商品ID",
  44238. "type": "integer"
  44239. },
  44240. "goodsname": {
  44241. "description": "商品名称",
  44242. "type": "string"
  44243. },
  44244. "goodunitid": {
  44245. "description": "商品单位id",
  44246. "type": "integer"
  44247. },
  44248. "listingselecttype": {
  44249. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44250. "type": "integer"
  44251. },
  44252. "marketid": {
  44253. "description": "市场ID",
  44254. "type": "integer"
  44255. },
  44256. "marketname": {
  44257. "description": "市场名称",
  44258. "type": "string"
  44259. },
  44260. "openfreezecharge": {
  44261. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  44262. "type": "number"
  44263. },
  44264. "openqty": {
  44265. "description": "开仓数量(先建后平操作,需要记录)",
  44266. "type": "number"
  44267. },
  44268. "opentradeqty": {
  44269. "description": "开仓成交数量(先建后平操作,需要记录)",
  44270. "type": "number"
  44271. },
  44272. "openunfreezecharge": {
  44273. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  44274. "type": "number"
  44275. },
  44276. "operatetype": {
  44277. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  44278. "type": "integer"
  44279. },
  44280. "operatorid": {
  44281. "description": "登录账号(LoginID)",
  44282. "type": "integer"
  44283. },
  44284. "orderid": {
  44285. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44286. "type": "string"
  44287. },
  44288. "orderprice": {
  44289. "description": "委托价格",
  44290. "type": "number"
  44291. },
  44292. "orderqty": {
  44293. "description": "委托数量",
  44294. "type": "number"
  44295. },
  44296. "ordersrc": {
  44297. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  44298. "type": "integer"
  44299. },
  44300. "orderstatus": {
  44301. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  44302. "type": "integer"
  44303. },
  44304. "ordertime": {
  44305. "description": "委托时间",
  44306. "type": "string"
  44307. },
  44308. "preorderid": {
  44309. "description": "关联预埋单号(止盈止损单时填写)",
  44310. "type": "string"
  44311. },
  44312. "pricemode": {
  44313. "description": "取价方式 - 1:市价 2: 限价",
  44314. "type": "integer"
  44315. },
  44316. "qtydecimalplace": {
  44317. "description": "商品报价小数位",
  44318. "type": "integer"
  44319. },
  44320. "relatedid": {
  44321. "description": "关联单号(交割单)",
  44322. "type": "string"
  44323. },
  44324. "tradedate": {
  44325. "description": "交易日(yyyyMMdd)",
  44326. "type": "string"
  44327. },
  44328. "trademode": {
  44329. "description": "交易模式",
  44330. "type": "integer"
  44331. },
  44332. "tradeqty": {
  44333. "description": "成交数量",
  44334. "type": "number"
  44335. },
  44336. "unfreezecharge": {
  44337. "description": "解冻手续费",
  44338. "type": "number"
  44339. },
  44340. "unfreezemargin": {
  44341. "description": "解冻保证金",
  44342. "type": "number"
  44343. },
  44344. "validtime": {
  44345. "description": "有效期限",
  44346. "type": "string"
  44347. },
  44348. "validtype": {
  44349. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  44350. "type": "integer"
  44351. },
  44352. "volumetype": {
  44353. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  44354. "type": "integer"
  44355. }
  44356. }
  44357. },
  44358. "order.QueryTradePositionRsp": {
  44359. "type": "object",
  44360. "required": [
  44361. "goodsid"
  44362. ],
  44363. "properties": {
  44364. "accountid": {
  44365. "description": "资金账户",
  44366. "type": "integer"
  44367. },
  44368. "agreeunit": {
  44369. "description": "合约单位",
  44370. "type": "number"
  44371. },
  44372. "averageprice": {
  44373. "description": "持仓均价",
  44374. "type": "number"
  44375. },
  44376. "buyorsell": {
  44377. "description": "方向 - 0:买 1:卖",
  44378. "type": "integer"
  44379. },
  44380. "closetotalqty": {
  44381. "description": "平仓总数量",
  44382. "type": "number"
  44383. },
  44384. "curholderamount": {
  44385. "description": "当前持仓总金额[商品币种]",
  44386. "type": "number"
  44387. },
  44388. "curpositionqty": {
  44389. "description": "当前持仓总数量",
  44390. "type": "number"
  44391. },
  44392. "currencyid": {
  44393. "description": "报价货币ID",
  44394. "type": "integer"
  44395. },
  44396. "curtdposition": {
  44397. "description": "期末今日头寸",
  44398. "type": "number"
  44399. },
  44400. "decimalplace": {
  44401. "description": "报价小数位",
  44402. "type": "integer"
  44403. },
  44404. "enableqty": {
  44405. "description": "可用量",
  44406. "type": "number"
  44407. },
  44408. "fretdposition": {
  44409. "description": "冻结今日头寸",
  44410. "type": "number"
  44411. },
  44412. "frozenqty": {
  44413. "description": "持仓冻结数量",
  44414. "type": "number"
  44415. },
  44416. "goodscode": {
  44417. "description": "商品代码",
  44418. "type": "string"
  44419. },
  44420. "goodsid": {
  44421. "description": "商品Id",
  44422. "type": "integer"
  44423. },
  44424. "goodsname": {
  44425. "description": "商品名称",
  44426. "type": "string"
  44427. },
  44428. "goodunit": {
  44429. "description": "报价单位",
  44430. "type": "string"
  44431. },
  44432. "goodunitid": {
  44433. "description": "报价单位ID",
  44434. "type": "integer"
  44435. },
  44436. "holderamount": {
  44437. "description": "期初持仓总金额[商品币种]",
  44438. "type": "number"
  44439. },
  44440. "lastprice": {
  44441. "description": "最新价",
  44442. "type": "number"
  44443. },
  44444. "marketamount": {
  44445. "description": "市值",
  44446. "type": "number"
  44447. },
  44448. "marketid": {
  44449. "description": "所属市场ID",
  44450. "type": "integer"
  44451. },
  44452. "openreqqty": {
  44453. "description": "开仓申请数量(用于比较最大持仓数量)",
  44454. "type": "number"
  44455. },
  44456. "opentotalqty": {
  44457. "description": "开仓总数量",
  44458. "type": "number"
  44459. },
  44460. "otherfrozenqty": {
  44461. "description": "持仓其他冻结数量(交割冻结)",
  44462. "type": "number"
  44463. },
  44464. "positionpl": {
  44465. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  44466. "type": "number"
  44467. },
  44468. "positionplrate": {
  44469. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  44470. "type": "number"
  44471. },
  44472. "positionqty": {
  44473. "description": "期初持仓数量",
  44474. "type": "number"
  44475. },
  44476. "qtydecimalplace": {
  44477. "description": "成交量小数位",
  44478. "type": "integer"
  44479. },
  44480. "refgoodscode": {
  44481. "description": "参考商品代码",
  44482. "type": "string"
  44483. },
  44484. "refgoodsid": {
  44485. "description": "参考商品ID",
  44486. "type": "integer"
  44487. },
  44488. "tnqty": {
  44489. "description": "T+N冻结总量",
  44490. "type": "number"
  44491. },
  44492. "tnusedqty": {
  44493. "description": "T+N使用量(可以使用T+N的冻结数量)",
  44494. "type": "number"
  44495. },
  44496. "trademode": {
  44497. "description": "交易模式",
  44498. "type": "integer"
  44499. },
  44500. "tradeproperty": {
  44501. "description": "交易属性",
  44502. "type": "integer"
  44503. },
  44504. "usedmargin": {
  44505. "description": "占用保证金[商品币种]",
  44506. "type": "number"
  44507. }
  44508. }
  44509. },
  44510. "pb.GoodsMarginCfgStruct": {
  44511. "type": "object",
  44512. "properties": {
  44513. "CustomerTypeID": {
  44514. "description": "投资者客户类型",
  44515. "type": "integer"
  44516. },
  44517. "GoodsID": {
  44518. "description": "商品ID",
  44519. "type": "integer"
  44520. },
  44521. "IsDefault": {
  44522. "description": "是否默认标志位",
  44523. "type": "integer"
  44524. },
  44525. "LockMarginValue": {
  44526. "description": "锁仓保证金",
  44527. "type": "number"
  44528. },
  44529. "MarginAlgorithm": {
  44530. "description": "保证金计算方式",
  44531. "type": "integer"
  44532. },
  44533. "MarketMarginValue": {
  44534. "description": "即市保证金值",
  44535. "type": "number"
  44536. },
  44537. "RealMarginAlgorithm": {
  44538. "description": "实付保证金计算方式",
  44539. "type": "integer"
  44540. },
  44541. "RealMarginValue": {
  44542. "description": "实付比例",
  44543. "type": "number"
  44544. },
  44545. "ReckonMarginValue": {
  44546. "description": "结算保证金值",
  44547. "type": "number"
  44548. }
  44549. }
  44550. },
  44551. "quote.HistoryData": {
  44552. "type": "object",
  44553. "properties": {
  44554. "c": {
  44555. "description": "收盘价",
  44556. "type": "number"
  44557. },
  44558. "f": {
  44559. "description": "是否补充数据",
  44560. "type": "boolean"
  44561. },
  44562. "h": {
  44563. "description": "最高价",
  44564. "type": "number"
  44565. },
  44566. "hv": {
  44567. "description": "持仓量",
  44568. "type": "integer"
  44569. },
  44570. "l": {
  44571. "description": "最低价",
  44572. "type": "number"
  44573. },
  44574. "o": {
  44575. "description": "开盘价",
  44576. "type": "number"
  44577. },
  44578. "s": {
  44579. "description": "结算价,日线周期(包括)以上才有",
  44580. "type": "number"
  44581. },
  44582. "ts": {
  44583. "description": "时间",
  44584. "type": "string"
  44585. },
  44586. "tt": {
  44587. "description": "总金额",
  44588. "type": "number"
  44589. },
  44590. "tv": {
  44591. "description": "总量(成交量)",
  44592. "type": "integer"
  44593. }
  44594. }
  44595. },
  44596. "quote.HistoryTikData": {
  44597. "type": "object",
  44598. "properties": {
  44599. "AV": {
  44600. "description": "卖量",
  44601. "type": "integer"
  44602. },
  44603. "Ask": {
  44604. "description": "卖价",
  44605. "type": "number"
  44606. },
  44607. "BV": {
  44608. "description": "买量",
  44609. "type": "integer"
  44610. },
  44611. "Bid": {
  44612. "description": "买价",
  44613. "type": "number"
  44614. },
  44615. "HI": {
  44616. "description": "单笔持仓",
  44617. "type": "integer"
  44618. },
  44619. "HV": {
  44620. "description": "持仓量",
  44621. "type": "integer"
  44622. },
  44623. "PE": {
  44624. "description": "现价",
  44625. "type": "number"
  44626. },
  44627. "TDR": {
  44628. "description": "交易方向,0:买 1:卖",
  44629. "type": "integer"
  44630. },
  44631. "TK": {
  44632. "description": "交易类型",
  44633. "type": "integer"
  44634. },
  44635. "TS": {
  44636. "description": "行情时间文本",
  44637. "type": "string"
  44638. },
  44639. "TT": {
  44640. "description": "现金额",
  44641. "type": "number"
  44642. },
  44643. "Vol": {
  44644. "description": "现量",
  44645. "type": "integer"
  44646. }
  44647. }
  44648. },
  44649. "quote.QueryQuoteDayRsp": {
  44650. "type": "object",
  44651. "properties": {
  44652. "ask": {
  44653. "description": "卖1",
  44654. "type": "number"
  44655. },
  44656. "ask10": {
  44657. "description": "卖10",
  44658. "type": "number"
  44659. },
  44660. "ask2": {
  44661. "description": "卖2",
  44662. "type": "number"
  44663. },
  44664. "ask3": {
  44665. "description": "卖3",
  44666. "type": "number"
  44667. },
  44668. "ask4": {
  44669. "description": "卖4",
  44670. "type": "number"
  44671. },
  44672. "ask5": {
  44673. "description": "卖5",
  44674. "type": "number"
  44675. },
  44676. "ask6": {
  44677. "description": "卖6",
  44678. "type": "number"
  44679. },
  44680. "ask7": {
  44681. "description": "卖7",
  44682. "type": "number"
  44683. },
  44684. "ask8": {
  44685. "description": "卖8",
  44686. "type": "number"
  44687. },
  44688. "ask9": {
  44689. "description": "卖9",
  44690. "type": "number"
  44691. },
  44692. "askorderid": {
  44693. "description": "卖单号1",
  44694. "type": "integer"
  44695. },
  44696. "askorderid2": {
  44697. "description": "卖单号2",
  44698. "type": "integer"
  44699. },
  44700. "askorderid3": {
  44701. "description": "卖单号3",
  44702. "type": "integer"
  44703. },
  44704. "askorderid4": {
  44705. "description": "卖单号4",
  44706. "type": "integer"
  44707. },
  44708. "askorderid5": {
  44709. "description": "卖单号5",
  44710. "type": "integer"
  44711. },
  44712. "askordervolume": {
  44713. "description": "卖单量1",
  44714. "type": "integer"
  44715. },
  44716. "askordervolume10": {
  44717. "description": "卖单量10",
  44718. "type": "integer"
  44719. },
  44720. "askordervolume2": {
  44721. "description": "卖单量2",
  44722. "type": "integer"
  44723. },
  44724. "askordervolume3": {
  44725. "description": "卖单量3",
  44726. "type": "integer"
  44727. },
  44728. "askordervolume4": {
  44729. "description": "卖单量4",
  44730. "type": "integer"
  44731. },
  44732. "askordervolume5": {
  44733. "description": "卖单量5",
  44734. "type": "integer"
  44735. },
  44736. "askordervolume6": {
  44737. "description": "卖单量6",
  44738. "type": "integer"
  44739. },
  44740. "askordervolume7": {
  44741. "description": "卖单量7",
  44742. "type": "integer"
  44743. },
  44744. "askordervolume8": {
  44745. "description": "卖单量8",
  44746. "type": "integer"
  44747. },
  44748. "askordervolume9": {
  44749. "description": "卖单量9",
  44750. "type": "integer"
  44751. },
  44752. "askqueueinfo": {
  44753. "description": "大利市卖港股用",
  44754. "type": "string"
  44755. },
  44756. "askvolume": {
  44757. "description": "卖量1",
  44758. "type": "integer"
  44759. },
  44760. "askvolume10": {
  44761. "description": "卖量10",
  44762. "type": "integer"
  44763. },
  44764. "askvolume2": {
  44765. "description": "卖量2",
  44766. "type": "integer"
  44767. },
  44768. "askvolume3": {
  44769. "description": "卖量3",
  44770. "type": "integer"
  44771. },
  44772. "askvolume4": {
  44773. "description": "卖量4",
  44774. "type": "integer"
  44775. },
  44776. "askvolume5": {
  44777. "description": "卖量5",
  44778. "type": "integer"
  44779. },
  44780. "askvolume6": {
  44781. "description": "卖量6",
  44782. "type": "integer"
  44783. },
  44784. "askvolume7": {
  44785. "description": "卖量7",
  44786. "type": "integer"
  44787. },
  44788. "askvolume8": {
  44789. "description": "卖量8",
  44790. "type": "integer"
  44791. },
  44792. "askvolume9": {
  44793. "description": "卖量9",
  44794. "type": "integer"
  44795. },
  44796. "averageprice": {
  44797. "description": "均价",
  44798. "type": "number"
  44799. },
  44800. "bid": {
  44801. "description": "买1",
  44802. "type": "number"
  44803. },
  44804. "bid10": {
  44805. "description": "买10",
  44806. "type": "number"
  44807. },
  44808. "bid2": {
  44809. "description": "买2",
  44810. "type": "number"
  44811. },
  44812. "bid3": {
  44813. "description": "买3",
  44814. "type": "number"
  44815. },
  44816. "bid4": {
  44817. "description": "买4",
  44818. "type": "number"
  44819. },
  44820. "bid5": {
  44821. "description": "买5",
  44822. "type": "number"
  44823. },
  44824. "bid6": {
  44825. "description": "买6",
  44826. "type": "number"
  44827. },
  44828. "bid7": {
  44829. "description": "买7",
  44830. "type": "number"
  44831. },
  44832. "bid8": {
  44833. "description": "买8",
  44834. "type": "number"
  44835. },
  44836. "bid9": {
  44837. "description": "买9",
  44838. "type": "number"
  44839. },
  44840. "bidorderid": {
  44841. "description": "买单号1",
  44842. "type": "integer"
  44843. },
  44844. "bidorderid2": {
  44845. "description": "买单号2",
  44846. "type": "integer"
  44847. },
  44848. "bidorderid3": {
  44849. "description": "买单号3",
  44850. "type": "integer"
  44851. },
  44852. "bidorderid4": {
  44853. "description": "买单号4",
  44854. "type": "integer"
  44855. },
  44856. "bidorderid5": {
  44857. "description": "买单号5",
  44858. "type": "integer"
  44859. },
  44860. "bidordervolume": {
  44861. "description": "买单量1",
  44862. "type": "integer"
  44863. },
  44864. "bidordervolume10": {
  44865. "description": "买单量10",
  44866. "type": "integer"
  44867. },
  44868. "bidordervolume2": {
  44869. "description": "买单量2",
  44870. "type": "integer"
  44871. },
  44872. "bidordervolume3": {
  44873. "description": "买单量3",
  44874. "type": "integer"
  44875. },
  44876. "bidordervolume4": {
  44877. "description": "买单量4",
  44878. "type": "integer"
  44879. },
  44880. "bidordervolume5": {
  44881. "description": "买单量5",
  44882. "type": "integer"
  44883. },
  44884. "bidordervolume6": {
  44885. "description": "买单量6",
  44886. "type": "integer"
  44887. },
  44888. "bidordervolume7": {
  44889. "description": "买单量7",
  44890. "type": "integer"
  44891. },
  44892. "bidordervolume8": {
  44893. "description": "买单量8",
  44894. "type": "integer"
  44895. },
  44896. "bidordervolume9": {
  44897. "description": "买单量9",
  44898. "type": "integer"
  44899. },
  44900. "bidqueueinfo": {
  44901. "description": "大利市买港股用",
  44902. "type": "string"
  44903. },
  44904. "bidvolume": {
  44905. "description": "买量1",
  44906. "type": "integer"
  44907. },
  44908. "bidvolume10": {
  44909. "description": "买量10",
  44910. "type": "integer"
  44911. },
  44912. "bidvolume2": {
  44913. "description": "买量2",
  44914. "type": "integer"
  44915. },
  44916. "bidvolume3": {
  44917. "description": "买量3",
  44918. "type": "integer"
  44919. },
  44920. "bidvolume4": {
  44921. "description": "买量4",
  44922. "type": "integer"
  44923. },
  44924. "bidvolume5": {
  44925. "description": "买量5",
  44926. "type": "integer"
  44927. },
  44928. "bidvolume6": {
  44929. "description": "买量6",
  44930. "type": "integer"
  44931. },
  44932. "bidvolume7": {
  44933. "description": "买量7",
  44934. "type": "integer"
  44935. },
  44936. "bidvolume8": {
  44937. "description": "买量8",
  44938. "type": "integer"
  44939. },
  44940. "bidvolume9": {
  44941. "description": "买量9",
  44942. "type": "integer"
  44943. },
  44944. "calloptionpremiums": {
  44945. "description": "认购期权1",
  44946. "type": "integer"
  44947. },
  44948. "calloptionpremiums2": {
  44949. "description": "认购期权2",
  44950. "type": "integer"
  44951. },
  44952. "calloptionpremiums3": {
  44953. "description": "认购期权3",
  44954. "type": "integer"
  44955. },
  44956. "calloptionpremiums4": {
  44957. "description": "认购期权4",
  44958. "type": "integer"
  44959. },
  44960. "calloptionpremiums5": {
  44961. "description": "认购期权5",
  44962. "type": "integer"
  44963. },
  44964. "cleartime": {
  44965. "description": "清盘时间",
  44966. "type": "integer"
  44967. },
  44968. "exchangecode": {
  44969. "description": "交易所代码",
  44970. "type": "integer"
  44971. },
  44972. "exchangedate": {
  44973. "description": "交易日",
  44974. "type": "integer"
  44975. },
  44976. "goodscode": {
  44977. "description": "商品代码",
  44978. "type": "string"
  44979. },
  44980. "grepmarketprice": {
  44981. "description": "暗盘价 港股专用",
  44982. "type": "number"
  44983. },
  44984. "highest": {
  44985. "description": "最高价",
  44986. "type": "number"
  44987. },
  44988. "holdincrement": {
  44989. "description": "单笔持仓",
  44990. "type": "integer"
  44991. },
  44992. "holdvolume": {
  44993. "description": "持仓",
  44994. "type": "integer"
  44995. },
  44996. "iep": {
  44997. "description": "平衡价 港股专用",
  44998. "type": "number"
  44999. },
  45000. "iev": {
  45001. "description": "平衡量 港股专用",
  45002. "type": "number"
  45003. },
  45004. "inventory": {
  45005. "description": "库存",
  45006. "type": "integer"
  45007. },
  45008. "iscleared": {
  45009. "description": "是否清盘标志",
  45010. "type": "integer"
  45011. },
  45012. "issettled": {
  45013. "description": "是否结算标志",
  45014. "type": "integer"
  45015. },
  45016. "last": {
  45017. "description": "最新价",
  45018. "type": "number"
  45019. },
  45020. "lastlot": {
  45021. "description": "最新成交手数",
  45022. "type": "integer"
  45023. },
  45024. "lasttime": {
  45025. "description": "行情时间(只有现价变化行情时间才变化)",
  45026. "type": "string"
  45027. },
  45028. "lastturnover": {
  45029. "description": "最新成交金额",
  45030. "type": "number"
  45031. },
  45032. "lastvolume": {
  45033. "description": "最新成交量",
  45034. "type": "integer"
  45035. },
  45036. "limitdown": {
  45037. "description": "跌停价",
  45038. "type": "number"
  45039. },
  45040. "limitup": {
  45041. "description": "涨停价",
  45042. "type": "number"
  45043. },
  45044. "lowest": {
  45045. "description": "最低价",
  45046. "type": "number"
  45047. },
  45048. "nontotalholdervolume": {
  45049. "description": "非交易持仓量",
  45050. "type": "integer"
  45051. },
  45052. "nontotallot": {
  45053. "description": "非交易总手数",
  45054. "type": "integer"
  45055. },
  45056. "nontotalturnover": {
  45057. "description": "非交易总金额",
  45058. "type": "integer"
  45059. },
  45060. "nontotalvolume": {
  45061. "description": "非交易总量",
  45062. "type": "integer"
  45063. },
  45064. "opened": {
  45065. "description": "开盘价",
  45066. "type": "number"
  45067. },
  45068. "opentime": {
  45069. "description": "开盘时间",
  45070. "type": "string"
  45071. },
  45072. "orderid": {
  45073. "description": "序号",
  45074. "type": "integer"
  45075. },
  45076. "preclose": {
  45077. "description": "昨收",
  45078. "type": "number"
  45079. },
  45080. "preholdvolume": {
  45081. "description": "昨持仓",
  45082. "type": "integer"
  45083. },
  45084. "presettle": {
  45085. "description": "昨结价",
  45086. "type": "number"
  45087. },
  45088. "publictradetype": {
  45089. "description": "公共交易标志类型 港股专用",
  45090. "type": "string"
  45091. },
  45092. "putoptionpremiums": {
  45093. "description": "认沽期权1",
  45094. "type": "integer"
  45095. },
  45096. "putoptionpremiums2": {
  45097. "description": "认沽期权2",
  45098. "type": "integer"
  45099. },
  45100. "putoptionpremiums3": {
  45101. "description": "认沽期权3",
  45102. "type": "integer"
  45103. },
  45104. "putoptionpremiums4": {
  45105. "description": "认沽期权4",
  45106. "type": "integer"
  45107. },
  45108. "putoptionpremiums5": {
  45109. "description": "认沽期权5",
  45110. "type": "integer"
  45111. },
  45112. "settle": {
  45113. "description": "结算价",
  45114. "type": "number"
  45115. },
  45116. "strikeprice": {
  45117. "description": "发行价",
  45118. "type": "number"
  45119. },
  45120. "totalaskvolume": {
  45121. "description": "内盘",
  45122. "type": "integer"
  45123. },
  45124. "totalbidvolume": {
  45125. "description": "外盘",
  45126. "type": "integer"
  45127. },
  45128. "totallot": {
  45129. "description": "总手数",
  45130. "type": "integer"
  45131. },
  45132. "totalturnover": {
  45133. "description": "总金额",
  45134. "type": "number"
  45135. },
  45136. "totalvolume": {
  45137. "description": "总量",
  45138. "type": "integer"
  45139. },
  45140. "utclasttime": {
  45141. "description": "utc的行情时间",
  45142. "type": "string"
  45143. }
  45144. }
  45145. },
  45146. "quote.QueryTSDataRsp": {
  45147. "type": "object",
  45148. "properties": {
  45149. "Count": {
  45150. "description": "交易日应有数据个数",
  45151. "type": "integer"
  45152. },
  45153. "decimalPlace": {
  45154. "description": "小数位",
  45155. "type": "integer"
  45156. },
  45157. "endTime": {
  45158. "description": "结束时间",
  45159. "type": "string"
  45160. },
  45161. "goodsCode": {
  45162. "description": "商品代码",
  45163. "type": "string"
  45164. },
  45165. "historyDatas": {
  45166. "description": "历史数据",
  45167. "type": "array",
  45168. "items": {
  45169. "$ref": "#/definitions/quote.HistoryData"
  45170. }
  45171. },
  45172. "outGoodsCode": {
  45173. "description": "外部商品代码",
  45174. "type": "string"
  45175. },
  45176. "preSettle": {
  45177. "description": "昨结价",
  45178. "type": "number"
  45179. },
  45180. "runSteps": {
  45181. "description": "交易日开休市计划",
  45182. "type": "array",
  45183. "items": {
  45184. "$ref": "#/definitions/quote.TSDataRunStep"
  45185. }
  45186. },
  45187. "startTime": {
  45188. "description": "开始时间",
  45189. "type": "string"
  45190. },
  45191. "tradeDate": {
  45192. "description": "交易日",
  45193. "type": "string"
  45194. }
  45195. }
  45196. },
  45197. "quote.TSDataRunStep": {
  45198. "type": "object",
  45199. "properties": {
  45200. "end": {
  45201. "description": "真实结束时间",
  45202. "type": "string"
  45203. },
  45204. "endflag": {
  45205. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  45206. "type": "integer"
  45207. },
  45208. "endtime": {
  45209. "description": "结束时间(HH:mm)",
  45210. "type": "string"
  45211. },
  45212. "endweekday": {
  45213. "description": "结束周几",
  45214. "type": "integer"
  45215. },
  45216. "groupid": {
  45217. "description": "分组ID",
  45218. "type": "integer"
  45219. },
  45220. "runstep": {
  45221. "description": "运行阶段 - 2:连续交易",
  45222. "type": "integer"
  45223. },
  45224. "sectionid": {
  45225. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  45226. "type": "integer"
  45227. },
  45228. "start": {
  45229. "description": "真实开始时间",
  45230. "type": "string"
  45231. },
  45232. "startflag": {
  45233. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  45234. "type": "integer"
  45235. },
  45236. "starttime": {
  45237. "description": "起始时间(HH:mm)",
  45238. "type": "string"
  45239. },
  45240. "startweekday": {
  45241. "description": "起始周几",
  45242. "type": "integer"
  45243. },
  45244. "tradeweekday": {
  45245. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  45246. "type": "integer"
  45247. }
  45248. }
  45249. },
  45250. "szdz.QueryConvertLogRsp": {
  45251. "type": "object",
  45252. "required": [
  45253. "logid"
  45254. ],
  45255. "properties": {
  45256. "accountid": {
  45257. "description": "资金账户ID",
  45258. "type": "integer"
  45259. },
  45260. "clientticket": {
  45261. "description": "客户端流水号",
  45262. "type": "string"
  45263. },
  45264. "converttype": {
  45265. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  45266. "type": "integer"
  45267. },
  45268. "createtime": {
  45269. "description": "记账时间",
  45270. "type": "string"
  45271. },
  45272. "daymaxvalue": {
  45273. "description": "配置当日最大转入限制",
  45274. "type": "number"
  45275. },
  45276. "daymaxvalue2": {
  45277. "description": "配置当日最大转入限制(转入)",
  45278. "type": "number"
  45279. },
  45280. "goodscode": {
  45281. "description": "商品代码",
  45282. "type": "string"
  45283. },
  45284. "goodsname": {
  45285. "description": "商品名称",
  45286. "type": "string"
  45287. },
  45288. "handlestatus": {
  45289. "description": "处理状态",
  45290. "type": "integer"
  45291. },
  45292. "innergoodsid": {
  45293. "description": "内部商品ID",
  45294. "type": "integer"
  45295. },
  45296. "inratio": {
  45297. "description": "配置转入比值",
  45298. "type": "integer"
  45299. },
  45300. "invalue": {
  45301. "description": "目标值",
  45302. "type": "number"
  45303. },
  45304. "logid": {
  45305. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  45306. "type": "integer"
  45307. },
  45308. "mobile": {
  45309. "description": "手机号码(加密存储)",
  45310. "type": "string"
  45311. },
  45312. "outergoodscode": {
  45313. "description": "外部商品代码[JD\\PD]",
  45314. "type": "string"
  45315. },
  45316. "outratio": {
  45317. "description": "配置转出比值",
  45318. "type": "integer"
  45319. },
  45320. "outvalue": {
  45321. "description": "源值",
  45322. "type": "number"
  45323. },
  45324. "pddecimalplace": {
  45325. "description": "PD小数位",
  45326. "type": "integer"
  45327. },
  45328. "qty": {
  45329. "description": "数量",
  45330. "type": "string"
  45331. },
  45332. "remark": {
  45333. "description": "备注",
  45334. "type": "string"
  45335. },
  45336. "sessionid": {
  45337. "description": "会话ID",
  45338. "type": "integer"
  45339. },
  45340. "timemaxvalue": {
  45341. "description": "配置单次最大转入限制",
  45342. "type": "number"
  45343. },
  45344. "timemaxvalue2": {
  45345. "description": "配置单次最大转入限制(转入)",
  45346. "type": "number"
  45347. },
  45348. "timeminvalue": {
  45349. "description": "配置单次最小数量限制",
  45350. "type": "number"
  45351. },
  45352. "timeminvalue2": {
  45353. "description": "配置单次最小数量限制(转入)",
  45354. "type": "number"
  45355. },
  45356. "tradedate": {
  45357. "description": "交易日(yyyyMMdd)",
  45358. "type": "string"
  45359. },
  45360. "userid": {
  45361. "description": "用户ID",
  45362. "type": "integer"
  45363. }
  45364. }
  45365. },
  45366. "szdz.QueryGoodsPickupRsp": {
  45367. "type": "object",
  45368. "required": [
  45369. "takeorderid"
  45370. ],
  45371. "properties": {
  45372. "accountid": {
  45373. "description": "账户ID",
  45374. "type": "integer"
  45375. },
  45376. "address": {
  45377. "description": "提货人详细地址",
  45378. "type": "string"
  45379. },
  45380. "auditer": {
  45381. "description": "审核人",
  45382. "type": "integer"
  45383. },
  45384. "audittime": {
  45385. "description": "审核时间",
  45386. "type": "string"
  45387. },
  45388. "cardnum": {
  45389. "description": "提货人证件号码",
  45390. "type": "string"
  45391. },
  45392. "cardtypeid": {
  45393. "description": "提货人证件类型",
  45394. "type": "integer"
  45395. },
  45396. "checkremark": {
  45397. "description": "审核备注",
  45398. "type": "string"
  45399. },
  45400. "goodscode": {
  45401. "description": "商品代码",
  45402. "type": "string"
  45403. },
  45404. "goodsid": {
  45405. "description": "商品ID",
  45406. "type": "integer"
  45407. },
  45408. "goodsname": {
  45409. "description": "商品名称",
  45410. "type": "string"
  45411. },
  45412. "handlestatus": {
  45413. "description": "处理状态",
  45414. "type": "integer"
  45415. },
  45416. "marketid": {
  45417. "description": "市场ID",
  45418. "type": "integer"
  45419. },
  45420. "phonenum": {
  45421. "description": "提货人联系方式",
  45422. "type": "string"
  45423. },
  45424. "qty": {
  45425. "description": "提货数量",
  45426. "type": "number"
  45427. },
  45428. "recivername": {
  45429. "description": "提货人姓名",
  45430. "type": "string"
  45431. },
  45432. "reqtime": {
  45433. "description": "更新时间",
  45434. "type": "string"
  45435. },
  45436. "takemode": {
  45437. "description": "提货方式 - 2:自提 3:配送",
  45438. "type": "integer"
  45439. },
  45440. "takeorderid": {
  45441. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  45442. "type": "string"
  45443. },
  45444. "takeorderstatus": {
  45445. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  45446. "type": "integer"
  45447. },
  45448. "takeremark": {
  45449. "description": "提货备注",
  45450. "type": "string"
  45451. },
  45452. "tradedate": {
  45453. "description": "交易日(yyyyMMdd)",
  45454. "type": "string"
  45455. },
  45456. "userid": {
  45457. "description": "用户ID",
  45458. "type": "integer"
  45459. }
  45460. }
  45461. },
  45462. "szdz.QueryRecieptOrderRsp": {
  45463. "type": "object",
  45464. "required": [
  45465. "ordertime"
  45466. ],
  45467. "properties": {
  45468. "accountName": {
  45469. "description": "所属账号名称(已脱敏)",
  45470. "type": "string"
  45471. },
  45472. "accountid": {
  45473. "description": "资金账号",
  45474. "type": "integer"
  45475. },
  45476. "buyorsell": {
  45477. "description": "方向 - 0:买 1:卖",
  45478. "type": "integer"
  45479. },
  45480. "enableqty": {
  45481. "description": "可摘数量",
  45482. "type": "integer"
  45483. },
  45484. "goodscode": {
  45485. "description": "商品代码",
  45486. "type": "string"
  45487. },
  45488. "goodsid": {
  45489. "description": "商品ID",
  45490. "type": "integer"
  45491. },
  45492. "goodsname": {
  45493. "description": "商品名称",
  45494. "type": "string"
  45495. },
  45496. "orderid": {
  45497. "description": "委托单号",
  45498. "type": "string"
  45499. },
  45500. "orderprice": {
  45501. "description": "委托价格",
  45502. "type": "number"
  45503. },
  45504. "ordertime": {
  45505. "description": "委托时间",
  45506. "type": "string"
  45507. },
  45508. "tradedate": {
  45509. "description": "交易日(yyyyMMdd)",
  45510. "type": "string"
  45511. }
  45512. }
  45513. },
  45514. "szdz.QuerySZDZTradePositionRsp": {
  45515. "type": "object",
  45516. "properties": {
  45517. "accountid": {
  45518. "description": "账号Id",
  45519. "type": "integer"
  45520. },
  45521. "agreeunit": {
  45522. "description": "合约单位",
  45523. "type": "number"
  45524. },
  45525. "averageprice": {
  45526. "description": "持仓均价",
  45527. "type": "number"
  45528. },
  45529. "buyorsell": {
  45530. "description": "方向 - 0:买 1:卖",
  45531. "type": "integer"
  45532. },
  45533. "closetotalqty": {
  45534. "description": "平仓总数量",
  45535. "type": "integer"
  45536. },
  45537. "curholderamount": {
  45538. "description": "当前持仓总金额",
  45539. "type": "number"
  45540. },
  45541. "curpositionqty": {
  45542. "description": "当前持仓总数量",
  45543. "type": "integer"
  45544. },
  45545. "currencyid": {
  45546. "description": "报价货币ID",
  45547. "type": "integer"
  45548. },
  45549. "curtdposition": {
  45550. "description": "期末今日头寸",
  45551. "type": "integer"
  45552. },
  45553. "decimalplace": {
  45554. "description": "报价小数位",
  45555. "type": "integer"
  45556. },
  45557. "enableqty": {
  45558. "description": "可用量",
  45559. "type": "integer"
  45560. },
  45561. "fretdposition": {
  45562. "description": "冻结今日头寸",
  45563. "type": "integer"
  45564. },
  45565. "frozenqty": {
  45566. "description": "持仓冻结数量",
  45567. "type": "integer"
  45568. },
  45569. "goodscode": {
  45570. "description": "商品代码(内部)",
  45571. "type": "string"
  45572. },
  45573. "goodsid": {
  45574. "description": "商品Id",
  45575. "type": "integer"
  45576. },
  45577. "goodsname": {
  45578. "description": "商品名称",
  45579. "type": "string"
  45580. },
  45581. "goodunit": {
  45582. "description": "报价单位",
  45583. "type": "string"
  45584. },
  45585. "goodunitid": {
  45586. "description": "报价单位ID",
  45587. "type": "integer"
  45588. },
  45589. "holderamount": {
  45590. "description": "期初持仓总金额",
  45591. "type": "number"
  45592. },
  45593. "marketid": {
  45594. "description": "市场ID",
  45595. "type": "integer"
  45596. },
  45597. "openreqqty": {
  45598. "description": "开仓申请数量",
  45599. "type": "integer"
  45600. },
  45601. "opentotalqty": {
  45602. "description": "开仓总数量",
  45603. "type": "integer"
  45604. },
  45605. "otherfrozenqty": {
  45606. "description": "持仓其他冻结数量(交割冻结)",
  45607. "type": "integer"
  45608. },
  45609. "positionqty": {
  45610. "description": "期初持仓数量",
  45611. "type": "integer"
  45612. },
  45613. "szdz3freezqty": {
  45614. "description": "尚志大宗转换冻结总数量",
  45615. "type": "integer"
  45616. },
  45617. "tnqty": {
  45618. "description": "T+N冻结总量",
  45619. "type": "integer"
  45620. },
  45621. "tnusedqty": {
  45622. "description": "T+N使用量",
  45623. "type": "integer"
  45624. },
  45625. "trademode": {
  45626. "description": "交易模式",
  45627. "type": "integer"
  45628. },
  45629. "usedmargin": {
  45630. "description": "占用保证金",
  45631. "type": "number"
  45632. }
  45633. }
  45634. },
  45635. "taaccount.QueryAmountLogRsp": {
  45636. "type": "object",
  45637. "required": [
  45638. "accountid",
  45639. "amount",
  45640. "amountadjusttype",
  45641. "autoid",
  45642. "balance",
  45643. "createtime",
  45644. "currentbalance",
  45645. "operatetype"
  45646. ],
  45647. "properties": {
  45648. "OPERATETYPENAME": {
  45649. "description": "资金操作类型名称",
  45650. "type": "string"
  45651. },
  45652. "accountid": {
  45653. "description": "资金账户ID",
  45654. "type": "integer"
  45655. },
  45656. "agoodscode": {
  45657. "description": "竞拍商品代码",
  45658. "type": "string"
  45659. },
  45660. "agoodsname": {
  45661. "description": "竞拍商品名称",
  45662. "type": "string"
  45663. },
  45664. "amount": {
  45665. "description": "资金金额",
  45666. "type": "number"
  45667. },
  45668. "amountadjusttype": {
  45669. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  45670. "type": "integer"
  45671. },
  45672. "autoid": {
  45673. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  45674. "type": "integer"
  45675. },
  45676. "balance": {
  45677. "description": "期初余额",
  45678. "type": "number"
  45679. },
  45680. "businesscode": {
  45681. "description": "业务编号",
  45682. "type": "integer"
  45683. },
  45684. "createtime": {
  45685. "description": "发生时间",
  45686. "type": "string"
  45687. },
  45688. "currencyid": {
  45689. "description": "币种ID",
  45690. "type": "integer"
  45691. },
  45692. "currentbalance": {
  45693. "description": "期末余额(变动后金额)",
  45694. "type": "number"
  45695. },
  45696. "dgoodscode": {
  45697. "description": "交割商品代码",
  45698. "type": "string"
  45699. },
  45700. "dgoodsname": {
  45701. "description": "交割商品名称",
  45702. "type": "string"
  45703. },
  45704. "goodscode": {
  45705. "description": "商品代码",
  45706. "type": "string"
  45707. },
  45708. "goodsid": {
  45709. "description": "商品ID",
  45710. "type": "integer"
  45711. },
  45712. "goodsname": {
  45713. "description": "商品名称",
  45714. "type": "string"
  45715. },
  45716. "marketid": {
  45717. "description": "市场ID",
  45718. "type": "integer"
  45719. },
  45720. "marketname": {
  45721. "description": "市场名称",
  45722. "type": "string"
  45723. },
  45724. "moneyticket": {
  45725. "description": "资金流水号:银行端流水号",
  45726. "type": "integer"
  45727. },
  45728. "operatetype": {
  45729. "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:营销收款",
  45730. "type": "integer"
  45731. },
  45732. "relationorderid": {
  45733. "description": "关联单号",
  45734. "type": "string"
  45735. },
  45736. "remark": {
  45737. "description": "备注",
  45738. "type": "string"
  45739. },
  45740. "trademode": {
  45741. "description": "交易模式",
  45742. "type": "integer"
  45743. }
  45744. }
  45745. },
  45746. "taaccount.QueryHisAmountLogRsp": {
  45747. "type": "object",
  45748. "required": [
  45749. "accountid",
  45750. "amount",
  45751. "amountadjusttype",
  45752. "autoid",
  45753. "balance",
  45754. "createtime",
  45755. "currentbalance",
  45756. "histradedate",
  45757. "operatetype"
  45758. ],
  45759. "properties": {
  45760. "OPERATETYPENAME": {
  45761. "description": "资金操作类型名称",
  45762. "type": "string"
  45763. },
  45764. "accountid": {
  45765. "description": "资金账户ID",
  45766. "type": "integer"
  45767. },
  45768. "agoodscode": {
  45769. "description": "竞拍商品代码",
  45770. "type": "string"
  45771. },
  45772. "agoodsname": {
  45773. "description": "竞拍商品名称",
  45774. "type": "string"
  45775. },
  45776. "amount": {
  45777. "description": "资金金额",
  45778. "type": "number"
  45779. },
  45780. "amountadjusttype": {
  45781. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  45782. "type": "integer"
  45783. },
  45784. "autoid": {
  45785. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  45786. "type": "integer"
  45787. },
  45788. "balance": {
  45789. "description": "期初余额",
  45790. "type": "number"
  45791. },
  45792. "businesscode": {
  45793. "description": "业务编号",
  45794. "type": "integer"
  45795. },
  45796. "createtime": {
  45797. "description": "发生时间",
  45798. "type": "string"
  45799. },
  45800. "currencyid": {
  45801. "description": "币种ID",
  45802. "type": "integer"
  45803. },
  45804. "currentbalance": {
  45805. "description": "期末余额(变动后金额)",
  45806. "type": "number"
  45807. },
  45808. "dgoodscode": {
  45809. "description": "交割商品代码",
  45810. "type": "string"
  45811. },
  45812. "dgoodsname": {
  45813. "description": "交割商品名称",
  45814. "type": "string"
  45815. },
  45816. "goodscode": {
  45817. "description": "商品代码",
  45818. "type": "string"
  45819. },
  45820. "goodsid": {
  45821. "description": "商品ID",
  45822. "type": "integer"
  45823. },
  45824. "goodsname": {
  45825. "description": "商品名称",
  45826. "type": "string"
  45827. },
  45828. "histradedate": {
  45829. "description": "历史交易日",
  45830. "type": "string"
  45831. },
  45832. "isvaliddata": {
  45833. "description": "是否有效 - 0:无效 1:有效",
  45834. "type": "integer"
  45835. },
  45836. "marketid": {
  45837. "description": "市场ID",
  45838. "type": "integer"
  45839. },
  45840. "marketname": {
  45841. "description": "市场名称",
  45842. "type": "string"
  45843. },
  45844. "moneyticket": {
  45845. "description": "资金流水号:银行端流水号",
  45846. "type": "integer"
  45847. },
  45848. "operatetype": {
  45849. "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:营销收款",
  45850. "type": "integer"
  45851. },
  45852. "relationorderid": {
  45853. "description": "关联单号",
  45854. "type": "string"
  45855. },
  45856. "remark": {
  45857. "description": "备注",
  45858. "type": "string"
  45859. },
  45860. "trademode": {
  45861. "description": "交易模式",
  45862. "type": "integer"
  45863. }
  45864. }
  45865. },
  45866. "trade.QueryRecieptOrderRsp": {
  45867. "type": "object",
  45868. "required": [
  45869. "ordertime"
  45870. ],
  45871. "properties": {
  45872. "accountName": {
  45873. "description": "所属账号名称(已脱敏)",
  45874. "type": "string"
  45875. },
  45876. "accountid": {
  45877. "description": "资金账号",
  45878. "type": "integer"
  45879. },
  45880. "buyorsell": {
  45881. "description": "方向 - 0:买 1:卖",
  45882. "type": "integer"
  45883. },
  45884. "enableqty": {
  45885. "description": "可摘数量",
  45886. "type": "integer"
  45887. },
  45888. "goodscode": {
  45889. "description": "商品代码",
  45890. "type": "string"
  45891. },
  45892. "goodsid": {
  45893. "description": "商品ID",
  45894. "type": "integer"
  45895. },
  45896. "goodsname": {
  45897. "description": "商品名称",
  45898. "type": "string"
  45899. },
  45900. "orderid": {
  45901. "description": "委托单号",
  45902. "type": "string"
  45903. },
  45904. "orderprice": {
  45905. "description": "委托价格",
  45906. "type": "number"
  45907. },
  45908. "ordertime": {
  45909. "description": "委托时间",
  45910. "type": "string"
  45911. },
  45912. "tradedate": {
  45913. "description": "交易日(yyyyMMdd)",
  45914. "type": "string"
  45915. }
  45916. }
  45917. },
  45918. "user.LoginQueryRsp": {
  45919. "type": "object",
  45920. "properties": {
  45921. "areaRoles": {
  45922. "description": "所属角色信息",
  45923. "type": "array",
  45924. "items": {
  45925. "$ref": "#/definitions/models.Arearole"
  45926. }
  45927. },
  45928. "externalExchanges": {
  45929. "description": "外部交易所",
  45930. "type": "array",
  45931. "items": {
  45932. "$ref": "#/definitions/models.Externalexchange"
  45933. }
  45934. },
  45935. "goodsgroups": {
  45936. "description": "商品组",
  45937. "type": "array",
  45938. "items": {
  45939. "$ref": "#/definitions/models.Goodsgroup"
  45940. }
  45941. },
  45942. "loginAccount": {
  45943. "description": "登录账号",
  45944. "$ref": "#/definitions/models.Loginaccount"
  45945. },
  45946. "markets": {
  45947. "description": "市场",
  45948. "type": "array",
  45949. "items": {
  45950. "$ref": "#/definitions/models.Market"
  45951. }
  45952. },
  45953. "systemParams": {
  45954. "description": "系统参数",
  45955. "type": "array",
  45956. "items": {
  45957. "$ref": "#/definitions/models.Systemparam"
  45958. }
  45959. },
  45960. "userAccount": {
  45961. "description": "用户账号",
  45962. "$ref": "#/definitions/models.Useraccount"
  45963. },
  45964. "userInfo": {
  45965. "description": "用户信息",
  45966. "$ref": "#/definitions/models.Userinfo"
  45967. },
  45968. "username": {
  45969. "description": "用户姓名",
  45970. "type": "string"
  45971. }
  45972. }
  45973. }
  45974. },
  45975. "securityDefinitions": {
  45976. "ApiKeyAuth": {
  45977. "type": "apiKey",
  45978. "name": "Authorization",
  45979. "in": "header"
  45980. },
  45981. "Group": {
  45982. "type": "apiKey",
  45983. "name": "Group",
  45984. "in": "header"
  45985. },
  45986. "LoginID": {
  45987. "type": "apiKey",
  45988. "name": "LoginID",
  45989. "in": "header"
  45990. }
  45991. }
  45992. }