swagger.yaml 708 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. type: object
  174. common.QueryTableDefineRsp:
  175. properties:
  176. columns:
  177. description: 列头信息数组
  178. items:
  179. $ref: '#/definitions/models.Tablecolumnconfig'
  180. type: array
  181. remark:
  182. description: Remark
  183. type: string
  184. tabelmenu:
  185. description: 列表菜单
  186. type: string
  187. tablekey:
  188. description: 列表Key
  189. type: string
  190. tablename:
  191. description: 列表名称
  192. type: string
  193. tabletype:
  194. description: 列表类型 - 1:管理端 2:终端
  195. type: integer
  196. required:
  197. - tablekey
  198. type: object
  199. common.QueryTraderMenuRsp:
  200. properties:
  201. OperationMenu:
  202. description: 功能菜单
  203. items:
  204. $ref: '#/definitions/models.OperationPrimaryMenu'
  205. type: array
  206. QuoteMenu:
  207. description: 报价牌分类菜单
  208. items:
  209. $ref: '#/definitions/models.QuotePrimaryMenu'
  210. type: array
  211. type: object
  212. cptrade.Cptradepositioncancel:
  213. properties:
  214. accountid:
  215. description: 申请人账户ID
  216. type: integer
  217. applystatus:
  218. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  219. type: integer
  220. applytime:
  221. description: 申请时间
  222. type: string
  223. cancelid:
  224. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  225. type: integer
  226. cancelqty:
  227. description: 注销数量
  228. type: integer
  229. createtime:
  230. description: 创建时间
  231. type: string
  232. creatorid:
  233. description: 创建人ID
  234. type: integer
  235. creatorname:
  236. description: 创建人
  237. type: string
  238. goodscode:
  239. description: 订单商品代码
  240. type: string
  241. goodsid:
  242. description: 商品ID
  243. type: integer
  244. goodsname:
  245. description: 订单商品名称
  246. type: string
  247. goodunit:
  248. description: 报价单位
  249. type: string
  250. handlestatus:
  251. description: 处理状态
  252. type: integer
  253. marketid:
  254. description: 市场ID
  255. type: integer
  256. marketname:
  257. description: 市场名称
  258. type: string
  259. tradedate:
  260. description: 交易日(yyyyMMdd)
  261. type: string
  262. userid:
  263. description: 申请人ID
  264. type: integer
  265. required:
  266. - cancelid
  267. type: object
  268. cptrade.Cptradepresaleapply:
  269. properties:
  270. accountid:
  271. description: 申请人账户ID
  272. type: integer
  273. applyid:
  274. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  275. type: integer
  276. applyremark:
  277. description: 申请备注
  278. type: string
  279. applystatus:
  280. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  281. type: integer
  282. applytime:
  283. description: 申请时间
  284. type: string
  285. attachmenturl:
  286. description: 附件地址
  287. type: string
  288. endtime:
  289. description: 预售结束时间
  290. type: string
  291. goodscode:
  292. description: 商品代码
  293. type: string
  294. goodsid:
  295. description: 商品ID
  296. type: integer
  297. goodsname:
  298. description: 商品名称
  299. type: string
  300. goodunit:
  301. description: 报价单位
  302. type: string
  303. handlestatus:
  304. description: 处理状态
  305. type: integer
  306. marketid:
  307. description: 预售市场ID
  308. type: integer
  309. marketname:
  310. description: 预售市场名称
  311. type: string
  312. presaleqty:
  313. description: 预售数量
  314. type: integer
  315. relatedgoodscode:
  316. description: 关联交易合约代码
  317. type: string
  318. relatedgoodsid:
  319. description: 关联交易合约ID
  320. type: integer
  321. relatedgoodsname:
  322. description: 关联交易合约名称
  323. type: string
  324. starttime:
  325. description: 预售开始时间
  326. type: string
  327. tradedate:
  328. description: 交易日(yyyyMMdd)
  329. type: string
  330. trademode:
  331. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  332. type: integer
  333. userid:
  334. description: 申请人ID
  335. type: integer
  336. required:
  337. - applyid
  338. type: object
  339. cptrade.Cptradeusergoodsdata:
  340. properties:
  341. EnabledQty:
  342. description: 可用量
  343. type: integer
  344. GoodsCode:
  345. description: 订单商品代码
  346. type: string
  347. GoodsName:
  348. description: 订单商品名称
  349. type: string
  350. WRStandardCode:
  351. description: 仓单标准代码
  352. type: string
  353. WRStandardName:
  354. description: 仓单标准名称
  355. type: string
  356. accountid:
  357. description: 账户ID
  358. type: integer
  359. cancelqty:
  360. description: 注销量
  361. type: integer
  362. curpresaleqty:
  363. description: 当前预售量
  364. type: integer
  365. deliveryqty:
  366. description: 交割量
  367. type: integer
  368. freezeamount:
  369. description: 冻结金额
  370. type: number
  371. goodsid:
  372. description: 商品ID
  373. type: integer
  374. goodunit:
  375. description: 报价单位
  376. type: string
  377. hasspotfreeze:
  378. description: 是否有现货冻结 - 0:否 1:有
  379. type: integer
  380. inqty:
  381. description: 转入量(总数量)
  382. type: integer
  383. marketid:
  384. description: 市场ID
  385. type: integer
  386. presaledamount:
  387. description: 已预售总金额
  388. type: integer
  389. presaledqty:
  390. description: 已预售量
  391. type: integer
  392. userid:
  393. description: 用户ID
  394. type: integer
  395. wrstandardid:
  396. description: 仓单标准ID
  397. type: integer
  398. required:
  399. - accountid
  400. - goodsid
  401. type: object
  402. cptrade.QueryCPTradeMyBidRsp:
  403. properties:
  404. accountid:
  405. description: 账户ID[报价币种]
  406. type: integer
  407. goodsid:
  408. description: 商品ID
  409. type: integer
  410. goodunit:
  411. description: 报价单位
  412. type: string
  413. marketid:
  414. description: 市场ID
  415. type: integer
  416. orderid:
  417. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  418. type: integer
  419. orderprice:
  420. description: 委托价格
  421. type: number
  422. orderqty:
  423. description: 委托数量
  424. type: integer
  425. ordertime:
  426. description: 委托时间
  427. type: string
  428. ordertotalprice:
  429. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  430. type: number
  431. ordertotalweight:
  432. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  433. type: integer
  434. totaltotalprice:
  435. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  436. type: number
  437. tradeprice:
  438. description: 成交价格
  439. type: number
  440. tradeqty:
  441. description: 成交数量
  442. type: integer
  443. required:
  444. - accountid
  445. - goodsid
  446. - marketid
  447. - orderid
  448. - orderqty
  449. - ordertime
  450. - tradeprice
  451. - tradeqty
  452. type: object
  453. cptrade.QueryCPTradeOrderDetailRsq:
  454. properties:
  455. accountid:
  456. description: 账户ID[报价币种]
  457. type: integer
  458. buildtype:
  459. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  460. type: integer
  461. buyorsell:
  462. description: 买卖 - 0:买 1:卖
  463. type: integer
  464. cancelorderid:
  465. description: 撤单单号(撤单时填写)
  466. type: integer
  467. cancelqty:
  468. description: 撤单数量
  469. type: integer
  470. clientordertime:
  471. description: 客户端委托时间
  472. type: string
  473. clientticket:
  474. description: 客户端流水号
  475. type: string
  476. clienttype:
  477. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  478. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  479. type: integer
  480. closeexchagechargevalue:
  481. description: 平仓交易所手续费设置值
  482. type: number
  483. closefeealgorithm:
  484. description: 平仓手续费收取方式 1:比率 2:固定
  485. type: integer
  486. closefreezecharge:
  487. description: 平仓冻结手续费(先建后平操作,需要记录)
  488. type: number
  489. closememberchargevalue:
  490. description: 平仓会员手续费设置值
  491. type: number
  492. closeqty:
  493. description: 平仓数量(先建后平操作 需要记录)
  494. type: integer
  495. closetradeqty:
  496. description: 平仓成交数量(先建后平操作,需要记录)
  497. type: integer
  498. closeunfreezecharge:
  499. description: 平仓解冻手续费(先建后平操作,需要记录)
  500. type: number
  501. delistingtype:
  502. description: 摘牌类型 - 1:价格最优 2:点选成交
  503. type: integer
  504. freezecharge:
  505. description: 冻结手续费
  506. type: number
  507. freezemargin:
  508. description: 冻结保证金(冻结交易金额)
  509. type: number
  510. gcaccountid:
  511. description: 账户ID[合约币种]
  512. type: integer
  513. goodsid:
  514. description: 商品ID
  515. type: integer
  516. isconfirmexercise:
  517. description: 是否确认行权- 0:否 1:是
  518. type: integer
  519. ispreexercise:
  520. description: 是否预申报- 0:否 1:是
  521. type: integer
  522. listingselecttype:
  523. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  524. type: integer
  525. marginalgorithm:
  526. description: 保证金收取方式 1:比率 2:固定
  527. type: integer
  528. marginvalue:
  529. description: 即市保证金设置值
  530. type: number
  531. marketid:
  532. description: 市场ID
  533. type: integer
  534. marketmaxsub:
  535. description: 市价最大偏移范围
  536. type: number
  537. memberuserid:
  538. description: 所属会员UserID
  539. type: integer
  540. openexchagechargevalue:
  541. description: 建仓交易所手续费设置值
  542. type: number
  543. openfeealgorithm:
  544. description: 建仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. openfreezecharge:
  547. description: 开仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. openmemberchargevalue:
  550. description: 建仓会员手续费设置值
  551. type: number
  552. openqty:
  553. description: 开仓数量(先建后平操作,需要记录)
  554. type: integer
  555. opentradeqty:
  556. description: 开仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. openunfreezecharge:
  559. description: 开仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. operatetype:
  562. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  563. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  564. 15:管理端协议转让
  565. type: integer
  566. operatorid:
  567. description: 登录账号(LoginID)
  568. type: integer
  569. optiontype:
  570. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  571. type: integer
  572. orderprice:
  573. description: 委托价格
  574. type: number
  575. orderqty:
  576. description: 委托数量
  577. type: integer
  578. ordersrc:
  579. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  580. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  581. type: integer
  582. orderstatus:
  583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  584. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  585. 16:成交失败违约(荷兰式竞拍专用)
  586. type: integer
  587. ordertime:
  588. description: 委托时间
  589. type: string
  590. preexerciseprice:
  591. description: 预申报价格
  592. type: number
  593. premium:
  594. description: 权利金
  595. type: number
  596. preorderid:
  597. description: 关联预埋单号(止盈止损单时填写)
  598. type: integer
  599. pricemode:
  600. description: '取价方式 - 1:市价 2: 限价'
  601. type: integer
  602. quoteid:
  603. description: 报价单ID
  604. type: integer
  605. relatedid:
  606. description: 关联单号(交割单)
  607. type: integer
  608. retcode:
  609. description: 错误代码
  610. type: integer
  611. sessionid:
  612. description: 会话ID
  613. type: integer
  614. strorderid:
  615. description: 委托单号
  616. type: string
  617. tradedate:
  618. description: 交易日(yyyyMMdd)
  619. type: string
  620. tradeproperty:
  621. description: 交易属性
  622. type: integer
  623. tradeqty:
  624. description: 成交数量
  625. type: integer
  626. unfreezecharge:
  627. description: 解冻手续费
  628. type: number
  629. unfreezemargin:
  630. description: 解冻保证金
  631. type: number
  632. updatetime:
  633. description: 更新时间
  634. type: string
  635. uuid:
  636. description: 发起端唯一id
  637. type: string
  638. validtime:
  639. description: 有效期限
  640. type: string
  641. validtype:
  642. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  643. type: integer
  644. volumetype:
  645. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  646. type: integer
  647. required:
  648. - accountid
  649. - buildtype
  650. - buyorsell
  651. - goodsid
  652. - marketid
  653. - memberuserid
  654. - operatetype
  655. - orderqty
  656. - ordertime
  657. - pricemode
  658. - strorderid
  659. - tradedate
  660. - validtype
  661. type: object
  662. cptrade.QueryMyCPTradeGoodsRsp:
  663. properties:
  664. accountid:
  665. description: 卖方账户ID
  666. type: integer
  667. agreeunit:
  668. description: 合约单位
  669. type: number
  670. applyid:
  671. description: 关联申请ID
  672. type: integer
  673. attachmenturl:
  674. description: 附件地址
  675. type: string
  676. createtime:
  677. description: 创建时间
  678. type: string
  679. currencyid:
  680. description: 报价货币ID
  681. type: integer
  682. decimalplace:
  683. description: 报价小数位
  684. type: integer
  685. endtime:
  686. description: 预售结束时间
  687. type: string
  688. floorprice:
  689. description: 底价[大宗式竞拍]
  690. type: number
  691. goodscode:
  692. description: 商品代码(预售)
  693. type: string
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(自增ID SEQ_GOODS)
  699. type: integer
  700. goodsname:
  701. description: 商品名称(预售)
  702. type: string
  703. goodunit:
  704. description: 报价单位
  705. type: string
  706. goodunitid:
  707. description: 报价单位ID
  708. type: integer
  709. marketid:
  710. description: 所属市场ID
  711. type: integer
  712. marketname:
  713. description: 预售市场名称
  714. type: string
  715. presaledamount:
  716. description: 已预售总金额(预售结束时更新)
  717. type: number
  718. presaledqty:
  719. description: 已预售量(预售结束时更新)
  720. type: integer
  721. presalemode:
  722. description: 预售模式 - 1:一口价 2:大宗式竞拍
  723. type: integer
  724. presaleqty:
  725. description: 预售数量
  726. type: integer
  727. refprice:
  728. description: 参考价格[一口价]
  729. type: number
  730. relatedgoodscode:
  731. description: 商品代码(订单)
  732. type: string
  733. relatedgoodsid:
  734. description: 关联交易合约ID
  735. type: integer
  736. relatedgoodsname:
  737. description: 商品名称(订单)
  738. type: string
  739. relatedmarketid:
  740. description: 关联交易合约市场ID
  741. type: integer
  742. sellstatus:
  743. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  744. type: integer
  745. startprice:
  746. description: 起拍价[大宗式竞拍]
  747. type: number
  748. starttime:
  749. description: 预售开始时间
  750. type: string
  751. tradedate:
  752. description: 交易日(yyyyMMdd)
  753. type: string
  754. tradeprice:
  755. description: 成交价[大宗]
  756. type: number
  757. userid:
  758. description: 卖方用户ID
  759. type: integer
  760. required:
  761. - goodscode
  762. - goodsid
  763. - goodsname
  764. - marketid
  765. - relatedgoodscode
  766. - relatedgoodsname
  767. type: object
  768. cptrade.QueryPresaleGoodsExRsp:
  769. properties:
  770. attachmenturl:
  771. description: 附件地址
  772. type: string
  773. createtime:
  774. description: 创建时间
  775. type: string
  776. endtime:
  777. description: 预售结束时间
  778. type: string
  779. floorprice:
  780. description: 底价[大宗式竞拍]
  781. type: number
  782. goodsdetail:
  783. description: 详情[大宗]
  784. type: string
  785. goodsid:
  786. description: 商品ID(预售)
  787. type: integer
  788. goodunit:
  789. description: 报价单位
  790. type: string
  791. marketid:
  792. description: 预售市场ID - 根据预售模式选择市场
  793. type: integer
  794. presaledamount:
  795. description: 已预售总金额(预售结束时更新)
  796. type: number
  797. presaledqty:
  798. description: 已预售量(预售结束时更新)
  799. type: integer
  800. presalemode:
  801. description: 预售模式 - 1:一口价 2:大宗式竞拍
  802. type: integer
  803. presaleqty:
  804. description: 预售数量
  805. type: integer
  806. refprice:
  807. description: 参考价格[一口价]
  808. type: number
  809. relatedgoodsid:
  810. description: 关联交易合约ID
  811. type: integer
  812. relatedmarketid:
  813. description: 关联交易合约市场ID
  814. type: integer
  815. sellstatus:
  816. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  817. type: integer
  818. startprice:
  819. description: 起拍价[大宗式竞拍]
  820. type: number
  821. starttime:
  822. description: 预售开始时间
  823. type: string
  824. tradedate:
  825. description: 交易日(yyyyMMdd)
  826. type: string
  827. tradeprice:
  828. description: 成交价[大宗]
  829. type: number
  830. required:
  831. - goodsid
  832. type: object
  833. delivery.QueryDeliveryRelationRsp:
  834. properties:
  835. begindate:
  836. description: 起始日期(yyyyMMdd)
  837. type: string
  838. buytemplateid:
  839. description: 买履约计划模板ID
  840. type: integer
  841. deliverygoodscode:
  842. description: 品种代码
  843. type: string
  844. deliverygoodsid:
  845. description: 交割商品
  846. type: integer
  847. deliverygoodsname:
  848. description: 品种名称
  849. type: string
  850. deliverymode:
  851. description: 交割方式 - 1:点选式 2:申报式
  852. type: integer
  853. deliverypricerule:
  854. description: 交割价规则- 1:行情价 2:建仓价
  855. type: integer
  856. deliverytype:
  857. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  858. type: integer
  859. enddate:
  860. description: 结束日期(yyyyMMdd)
  861. type: string
  862. enumdicname:
  863. description: 品类单位名称
  864. type: string
  865. goodscode:
  866. description: 商品代码
  867. type: string
  868. goodsid:
  869. description: 交易合约ID
  870. type: integer
  871. goodsname:
  872. description: 商品名称
  873. type: string
  874. marketid:
  875. description: 市场ID
  876. type: integer
  877. mindeliveryqty:
  878. description: 最小交割系数(K)
  879. type: integer
  880. p2deliveryprice:
  881. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  882. type: number
  883. p2deliveryratio:
  884. description: P2合约系数(p)
  885. type: integer
  886. p2goodsid:
  887. description: P2合约ID
  888. type: integer
  889. p2pricemode:
  890. description: P2合约价格方式 - 1:商品价 2:固定值
  891. type: integer
  892. pdeliveryprice:
  893. description: P合约价格(商品价时填写0,固定值时填写固定值)
  894. type: number
  895. pdeliveryratio:
  896. description: P合约系数(n)
  897. type: integer
  898. pgoodscode:
  899. description: p合约代码
  900. type: string
  901. pgoodsid:
  902. description: P合约ID
  903. type: integer
  904. ppricemode:
  905. description: P合约价格方式 - 1:商品价 2:固定值
  906. type: integer
  907. rratio:
  908. description: 兑换系数(R)
  909. type: integer
  910. rratio1:
  911. description: 兑换系数(交易合约)(R1)
  912. type: integer
  913. rratio2:
  914. description: 兑换系数(仓单标准)(R2)
  915. type: integer
  916. selltemplateid:
  917. description: 卖履约计划模板ID
  918. type: integer
  919. wrstandardid:
  920. description: 仓单标准ID
  921. type: integer
  922. xdeliveryratio:
  923. description: 交易合约系数(m)
  924. type: integer
  925. required:
  926. - begindate
  927. - enddate
  928. - goodsid
  929. - mindeliveryqty
  930. - xdeliveryratio
  931. type: object
  932. ermcp.ExposureDetailRsp:
  933. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  934. ermcp.ExposureHedgePosDetailRsp:
  935. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  936. ermcp.ExposureHedgePositionRsp:
  937. $ref: '#/definitions/models.ErmcpHedgePosition'
  938. ermcp.ExposureSpotDetailRsp:
  939. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  940. ermcp.ExposureSpotRsp:
  941. $ref: '#/definitions/models.AreaSpotModel'
  942. ermcp.HisExposureRsp:
  943. $ref: '#/definitions/models.ErmcpHisExposureS'
  944. ermcp.PendingAuditCntRsp:
  945. $ref: '#/definitions/models.ErmcpPendingAudit'
  946. ermcp.QryAvalidGPRsp:
  947. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  948. ermcp.QryBusinessDjRsp:
  949. properties:
  950. amount:
  951. description: 点价金额=(点价价格+升贴水)*点价数量
  952. type: number
  953. applyid:
  954. description: 申请人
  955. type: string
  956. applyname:
  957. description: 申请人名称
  958. type: string
  959. applystatus:
  960. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  961. type: integer
  962. applytime:
  963. description: 申请时间
  964. type: string
  965. attachurl:
  966. description: 附件
  967. type: string
  968. auditid:
  969. description: 审核人ID
  970. type: string
  971. auditname:
  972. description: 审核人名称
  973. type: string
  974. audittime:
  975. description: 审核时间
  976. type: string
  977. buyusername:
  978. description: 采购方名称
  979. type: string
  980. contractno:
  981. description: 合同编号
  982. type: string
  983. contractstatus:
  984. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  985. type: integer
  986. contracttype:
  987. description: 现货合同类型 - 1:采购 -1:销售
  988. type: integer
  989. deliverygoodscode:
  990. description: 现货品种代码
  991. type: string
  992. deliverygoodsid:
  993. description: 现货商品ID
  994. type: integer
  995. deliverygoodsname:
  996. description: 现货品种名称
  997. type: string
  998. enumdicname:
  999. description: 单位名称
  1000. type: string
  1001. goodscode:
  1002. description: 点价合约
  1003. type: string
  1004. goodsname:
  1005. description: 商品名称
  1006. type: string
  1007. operateapplyid:
  1008. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1009. type: string
  1010. operateapplytype:
  1011. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1012. type: integer
  1013. pricedPrice:
  1014. description: 点价价格(非必填)
  1015. type: number
  1016. pricedQty:
  1017. description: 点价数量(非必填)
  1018. type: number
  1019. pricemove:
  1020. description: 升贴水
  1021. type: number
  1022. pricetype:
  1023. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1024. type: integer
  1025. relatedid:
  1026. description: 现货合同ID
  1027. type: string
  1028. sellusername:
  1029. description: 销售方名字
  1030. type: string
  1031. userid:
  1032. description: 用户ID
  1033. type: integer
  1034. wrstandardcode:
  1035. description: 品类代码
  1036. type: string
  1037. wrstandardid:
  1038. description: 品类id
  1039. type: integer
  1040. wrstandardname:
  1041. description: 品类名称
  1042. type: string
  1043. type: object
  1044. ermcp.QryBussinessFpRsp:
  1045. properties:
  1046. applyid:
  1047. description: 申请人
  1048. type: string
  1049. applyname:
  1050. description: 申请人名称
  1051. type: string
  1052. applystatus:
  1053. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1054. type: integer
  1055. applytime:
  1056. description: 申请时间
  1057. type: string
  1058. attachurl:
  1059. description: 附件
  1060. type: string
  1061. auditid:
  1062. description: 审核人ID
  1063. type: string
  1064. auditname:
  1065. description: 审核人名称
  1066. type: string
  1067. audittime:
  1068. description: 审核时间
  1069. type: string
  1070. buyusername:
  1071. description: 采购方名称
  1072. type: string
  1073. contractno:
  1074. description: 合同编号
  1075. type: string
  1076. contractstatus:
  1077. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1078. type: integer
  1079. contracttype:
  1080. description: 现货合同类型 - 1:采购 -1:销售
  1081. type: integer
  1082. deliverygoodscode:
  1083. description: 现货品种代码
  1084. type: string
  1085. deliverygoodsid:
  1086. description: 现货商品ID
  1087. type: integer
  1088. deliverygoodsname:
  1089. description: 现货品种名称
  1090. type: string
  1091. enumdicname:
  1092. description: 单位名称
  1093. type: string
  1094. goodscode:
  1095. description: 点价合约
  1096. type: string
  1097. goodsname:
  1098. description: 商品名称
  1099. type: string
  1100. invoiceAmount:
  1101. description: 已开收票金额(销售为开票,采购为收票)
  1102. type: number
  1103. operateapplyid:
  1104. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1105. type: string
  1106. operateapplytype:
  1107. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1108. type: integer
  1109. pricemove:
  1110. description: 升贴水
  1111. type: number
  1112. pricetype:
  1113. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1114. type: integer
  1115. relatedid:
  1116. description: 现货合同ID
  1117. type: string
  1118. sellusername:
  1119. description: 销售方名字
  1120. type: string
  1121. userid:
  1122. description: 用户ID
  1123. type: integer
  1124. wrstandardcode:
  1125. description: 品类代码
  1126. type: string
  1127. wrstandardid:
  1128. description: 品类id
  1129. type: integer
  1130. wrstandardname:
  1131. description: 品类名称
  1132. type: string
  1133. type: object
  1134. ermcp.QryBussinessJsExRsp:
  1135. properties:
  1136. applyid:
  1137. description: 申请人
  1138. type: string
  1139. applyname:
  1140. description: 申请人名称
  1141. type: string
  1142. applystatus:
  1143. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1144. type: integer
  1145. applytime:
  1146. description: 申请时间
  1147. type: string
  1148. attachurl:
  1149. description: 附件
  1150. type: string
  1151. auditid:
  1152. description: 审核人ID
  1153. type: string
  1154. auditname:
  1155. description: 审核人名称
  1156. type: string
  1157. audittime:
  1158. description: 审核时间
  1159. type: string
  1160. buyusername:
  1161. description: 采购方名称
  1162. type: string
  1163. contractno:
  1164. description: 合同编号
  1165. type: string
  1166. contractstatus:
  1167. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1168. type: integer
  1169. contracttype:
  1170. description: 现货合同类型 - 1:采购 -1:销售
  1171. type: integer
  1172. deliverygoodscode:
  1173. description: 现货品种代码
  1174. type: string
  1175. deliverygoodsid:
  1176. description: 现货商品ID
  1177. type: integer
  1178. deliverygoodsname:
  1179. description: 现货品种名称
  1180. type: string
  1181. enumdicname:
  1182. description: 单位名称
  1183. type: string
  1184. goodscode:
  1185. description: 点价合约
  1186. type: string
  1187. goodsname:
  1188. description: 商品名称
  1189. type: string
  1190. operateapplyid:
  1191. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1192. type: string
  1193. operateapplytype:
  1194. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1195. type: integer
  1196. pricemove:
  1197. description: 升贴水
  1198. type: number
  1199. pricetype:
  1200. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1201. type: integer
  1202. reckontype:
  1203. description: 结算类型
  1204. type: string
  1205. reckonvalue:
  1206. description: 值
  1207. type: number
  1208. relatedid:
  1209. description: 现货合同ID
  1210. type: string
  1211. sellusername:
  1212. description: 销售方名字
  1213. type: string
  1214. userid:
  1215. description: 用户ID
  1216. type: integer
  1217. wrstandardcode:
  1218. description: 品类代码
  1219. type: string
  1220. wrstandardid:
  1221. description: 品类id
  1222. type: integer
  1223. wrstandardname:
  1224. description: 品类名称
  1225. type: string
  1226. type: object
  1227. ermcp.QryBussinessJsRsp:
  1228. properties:
  1229. addmargin:
  1230. description: 追加保证金(非必填)
  1231. type: number
  1232. applyid:
  1233. description: 申请人
  1234. type: string
  1235. applyname:
  1236. description: 申请人名称
  1237. type: string
  1238. applystatus:
  1239. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1240. type: integer
  1241. applytime:
  1242. description: 申请时间
  1243. type: string
  1244. attachurl:
  1245. description: 附件
  1246. type: string
  1247. auditid:
  1248. description: 审核人ID
  1249. type: string
  1250. auditname:
  1251. description: 审核人名称
  1252. type: string
  1253. audittime:
  1254. description: 审核时间
  1255. type: string
  1256. buyusername:
  1257. description: 采购方名称
  1258. type: string
  1259. contractno:
  1260. description: 合同编号
  1261. type: string
  1262. contractstatus:
  1263. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1264. type: integer
  1265. contracttype:
  1266. description: 现货合同类型 - 1:采购 -1:销售
  1267. type: integer
  1268. decmargin:
  1269. description: 减少保证金(非必填)
  1270. type: number
  1271. deliverygoodscode:
  1272. description: 现货品种代码
  1273. type: string
  1274. deliverygoodsid:
  1275. description: 现货商品ID
  1276. type: integer
  1277. deliverygoodsname:
  1278. description: 现货品种名称
  1279. type: string
  1280. enumdicname:
  1281. description: 单位名称
  1282. type: string
  1283. goodscode:
  1284. description: 点价合约
  1285. type: string
  1286. goodsname:
  1287. description: 商品名称
  1288. type: string
  1289. operateapplyid:
  1290. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1291. type: string
  1292. operateapplytype:
  1293. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1294. type: integer
  1295. pricemove:
  1296. description: 升贴水
  1297. type: number
  1298. pricetype:
  1299. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1300. type: integer
  1301. reckonadjustamount:
  1302. description: 结算调整金额(非必填)
  1303. type: number
  1304. reckonosamount:
  1305. description: 结算溢短金额(非必填)
  1306. type: number
  1307. reckonotheramount:
  1308. description: 结算其他费用(非必填)
  1309. type: number
  1310. reckonrealqty:
  1311. description: 结算实际数量(非必填)
  1312. type: number
  1313. relatedid:
  1314. description: 现货合同ID
  1315. type: string
  1316. sellusername:
  1317. description: 销售方名字
  1318. type: string
  1319. userid:
  1320. description: 用户ID
  1321. type: integer
  1322. wrstandardcode:
  1323. description: 品类代码
  1324. type: string
  1325. wrstandardid:
  1326. description: 品类id
  1327. type: integer
  1328. wrstandardname:
  1329. description: 品类名称
  1330. type: string
  1331. type: object
  1332. ermcp.QryBussinessKxRsp:
  1333. properties:
  1334. applyid:
  1335. description: 申请人
  1336. type: string
  1337. applyname:
  1338. description: 申请人名称
  1339. type: string
  1340. applystatus:
  1341. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1342. type: integer
  1343. applytime:
  1344. description: 申请时间
  1345. type: string
  1346. attachurl:
  1347. description: 附件
  1348. type: string
  1349. auditid:
  1350. description: 审核人ID
  1351. type: string
  1352. auditname:
  1353. description: 审核人名称
  1354. type: string
  1355. audittime:
  1356. description: 审核时间
  1357. type: string
  1358. buyusername:
  1359. description: 采购方名称
  1360. type: string
  1361. contractno:
  1362. description: 合同编号
  1363. type: string
  1364. contractstatus:
  1365. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1366. type: integer
  1367. contracttype:
  1368. description: 现货合同类型 - 1:采购 -1:销售
  1369. type: integer
  1370. deductamount:
  1371. description: 退款(非必填)
  1372. type: number
  1373. deliverygoodscode:
  1374. description: 现货品种代码
  1375. type: string
  1376. deliverygoodsid:
  1377. description: 现货商品ID
  1378. type: integer
  1379. deliverygoodsname:
  1380. description: 现货品种名称
  1381. type: string
  1382. enumdicname:
  1383. description: 单位名称
  1384. type: string
  1385. goodscode:
  1386. description: 点价合约
  1387. type: string
  1388. goodsname:
  1389. description: 商品名称
  1390. type: string
  1391. kxtype:
  1392. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1393. type: integer
  1394. operateapplyid:
  1395. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1396. type: string
  1397. operateapplytype:
  1398. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1399. type: integer
  1400. payamount:
  1401. description: 收付款(非必填)
  1402. type: number
  1403. pricemove:
  1404. description: 升贴水
  1405. type: number
  1406. pricetype:
  1407. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1408. type: integer
  1409. relatedid:
  1410. description: 现货合同ID
  1411. type: string
  1412. sellusername:
  1413. description: 销售方名字
  1414. type: string
  1415. userid:
  1416. description: 用户ID
  1417. type: integer
  1418. wrstandardcode:
  1419. description: 品类代码
  1420. type: string
  1421. wrstandardid:
  1422. description: 品类id
  1423. type: integer
  1424. wrstandardname:
  1425. description: 品类名称
  1426. type: string
  1427. type: object
  1428. ermcp.QryGGCovertCfgRsp:
  1429. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1430. ermcp.QryMGChangeLogRsp:
  1431. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1432. ermcp.QryMiddleGoodsDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1434. ermcp.QryMiddleGoodsRsp:
  1435. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1436. ermcp.QryOPLogRsp:
  1437. $ref: '#/definitions/models.ErmcpOPLogModel'
  1438. ermcp.QryUserInfoRsp:
  1439. $ref: '#/definitions/models.ErmcpUserModel'
  1440. ermcp.QryWarehouseRsp:
  1441. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1442. ermcp.QueryErmcpTradePositionRsp:
  1443. properties:
  1444. agreeunit:
  1445. description: 合约单位
  1446. type: number
  1447. buyorsell:
  1448. description: 方向 - 0:买 1:卖
  1449. type: integer
  1450. curpositionqty:
  1451. description: 持仓(总仓数量, 期末头寸)
  1452. type: integer
  1453. curtdposition:
  1454. description: 今仓数量(期末今日头寸)
  1455. type: integer
  1456. curtdpositionenabled:
  1457. description: 今仓可用
  1458. type: integer
  1459. decimalplace:
  1460. description: 报价小数位
  1461. type: integer
  1462. enableqty:
  1463. description: 可用(总仓可用)
  1464. type: integer
  1465. exexchangename:
  1466. description: 外部交易所名称
  1467. type: string
  1468. goodscode:
  1469. description: 商品代码(内部)
  1470. type: string
  1471. goodsid:
  1472. description: 商品ID(自增ID SEQ_GOODS)
  1473. type: integer
  1474. goodsname:
  1475. description: 商品名称
  1476. type: string
  1477. last:
  1478. description: 现价
  1479. type: number
  1480. marketid:
  1481. description: 所属市场ID
  1482. type: integer
  1483. openaverageprice:
  1484. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1485. type: number
  1486. opencost:
  1487. description: 开仓成本
  1488. type: number
  1489. openpl:
  1490. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1491. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1492. type: number
  1493. outgoodscode:
  1494. description: 商品代码(外部)
  1495. type: string
  1496. positionaverageprice:
  1497. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1498. type: number
  1499. positioncost:
  1500. description: 持仓成本
  1501. type: number
  1502. positionpl:
  1503. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1504. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1505. type: number
  1506. positionplrate:
  1507. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1508. type: number
  1509. usedmargin:
  1510. description: 占用保证金
  1511. type: number
  1512. type: object
  1513. ermcp.RealtimeExposurePositionRsp:
  1514. $ref: '#/definitions/models.ErmcpExposurePostion'
  1515. ermcp.RealtimeExposureRsp:
  1516. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1517. erms2.QueryArbitrageStrategyRsp:
  1518. properties:
  1519. applybasis:
  1520. description: 申请基差
  1521. type: number
  1522. asapplyid:
  1523. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1524. type: string
  1525. asname:
  1526. description: 策略名称
  1527. type: string
  1528. asno:
  1529. description: 策略编号
  1530. type: string
  1531. basischangepl:
  1532. description: 基差变动损益[结算更新]
  1533. type: number
  1534. biztype:
  1535. description: 业务类型 - 1:正向套利 -1:反向套利
  1536. type: integer
  1537. closetradedate:
  1538. description: 完结交易日(yyyyMMdd)
  1539. type: string
  1540. curbasis:
  1541. description: 当前基差[结算更新]
  1542. type: number
  1543. deliverygoodsid:
  1544. description: 现货品种ID
  1545. type: integer
  1546. futureavgprice:
  1547. description: 期货建仓均价
  1548. type: number
  1549. futurecloseamount:
  1550. description: 期货平仓金额
  1551. type: number
  1552. futurecloseqty:
  1553. description: 期货平仓数量
  1554. type: number
  1555. futureopenamount:
  1556. description: 期货开仓金额
  1557. type: number
  1558. futureopenqty:
  1559. description: 期货开仓数量
  1560. type: number
  1561. futurepl:
  1562. description: 期货总盈亏[结算更新]
  1563. type: number
  1564. futureqty:
  1565. description: 期货持仓数量
  1566. type: number
  1567. futurequote:
  1568. description: 期货额度
  1569. type: number
  1570. goodsgroupid:
  1571. description: 期货品种ID
  1572. type: integer
  1573. marketid:
  1574. description: 市场ID
  1575. type: integer
  1576. netexposure:
  1577. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1578. type: number
  1579. netexposurepl:
  1580. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1581. type: number
  1582. netexposurerate:
  1583. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1584. type: number
  1585. openbasis:
  1586. description: 建仓基差
  1587. type: number
  1588. pricedspotqty:
  1589. description: 已定价现货数量
  1590. type: number
  1591. pricedspotqtynotax:
  1592. description: 已定价现货不含税数量
  1593. type: number
  1594. remark:
  1595. description: 备注
  1596. type: string
  1597. spotavgprice:
  1598. description: 现货均价
  1599. type: number
  1600. spotbuyamount:
  1601. description: 现货采购金额
  1602. type: number
  1603. spotbuyqty:
  1604. description: 现货采购数量
  1605. type: number
  1606. spotpl:
  1607. description: 现货总盈亏[结算更新]
  1608. type: number
  1609. spotquota:
  1610. description: 现货额度
  1611. type: number
  1612. spotsellamount:
  1613. description: 现货销售金额
  1614. type: number
  1615. spotsellqty:
  1616. description: 现货销售数量
  1617. type: number
  1618. spotusedquota:
  1619. description: 现货占用资金
  1620. type: number
  1621. strategystatus:
  1622. description: 策略状态 - 0:未结束 1:已结束
  1623. type: integer
  1624. totalpl:
  1625. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1626. type: number
  1627. tradedate:
  1628. description: 交易日(yyyyMMdd)
  1629. type: string
  1630. updatetime:
  1631. description: 更新时间
  1632. type: string
  1633. usedquota:
  1634. description: 已占用资金
  1635. type: number
  1636. userid:
  1637. description: 所属机构
  1638. type: integer
  1639. required:
  1640. - asapplyid
  1641. type: object
  1642. erms2.QueryInnerTradeDetailRsp:
  1643. properties:
  1644. accountid:
  1645. description: 账号ID
  1646. type: integer
  1647. agreeunit:
  1648. description: 合约单位
  1649. type: number
  1650. asapplyid:
  1651. description: 策略申请ID
  1652. type: integer
  1653. asname:
  1654. description: 策略名称
  1655. type: string
  1656. asno:
  1657. description: 策略编号
  1658. type: string
  1659. buyorsell:
  1660. description: 方向 - 0:买 1:卖
  1661. type: integer
  1662. channelbuildtype:
  1663. description: 委托单据类型 0:无 1:建仓 2:平仓
  1664. type: integer
  1665. closetype:
  1666. description: 平仓方式 - 0:无 1:平今 2:平昨
  1667. type: integer
  1668. decimalplace:
  1669. description: 报价小数位
  1670. type: integer
  1671. detailtype:
  1672. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1673. type: integer
  1674. exexchangecode:
  1675. description: 外部交易所代码
  1676. type: string
  1677. exexchangename:
  1678. description: 外部交易所名称
  1679. type: string
  1680. goodscode:
  1681. description: 商品代码(合约)
  1682. type: string
  1683. goodsgroupid:
  1684. description: 商品组ID(品种ID)
  1685. type: integer
  1686. goodsgroupname:
  1687. description: 商品组名称(品种)
  1688. type: string
  1689. goodsid:
  1690. description: 商品ID
  1691. type: integer
  1692. goodsname:
  1693. description: 商品名称(合约)
  1694. type: string
  1695. goodunit:
  1696. description: 报价单位
  1697. type: string
  1698. marketid:
  1699. description: 市场ID
  1700. type: integer
  1701. orderid:
  1702. description: 委托单号
  1703. type: string
  1704. outgoodscode:
  1705. description: 商品代码(外部)
  1706. type: string
  1707. relatedouttradeid:
  1708. description: 关联外部成交单ID
  1709. type: string
  1710. remark:
  1711. description: 备注
  1712. type: string
  1713. spotcontractid:
  1714. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1715. type: integer
  1716. spotcontractno:
  1717. description: 现货合同编号
  1718. type: string
  1719. tradeid:
  1720. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1721. type: string
  1722. tradeprice:
  1723. description: 成交价格
  1724. type: number
  1725. tradeqty:
  1726. description: 成交数量
  1727. type: integer
  1728. tradetime:
  1729. description: 成交时间
  1730. type: string
  1731. updatetime:
  1732. description: 更新时间
  1733. type: string
  1734. required:
  1735. - asapplyid
  1736. - buyorsell
  1737. - goodscode
  1738. - goodsgroupid
  1739. - goodsgroupname
  1740. - goodsname
  1741. - tradeid
  1742. type: object
  1743. erms2.QuerySpotContractRsp:
  1744. properties:
  1745. accountid:
  1746. description: 资金账户ID
  1747. type: integer
  1748. areauserid:
  1749. description: 所属机构
  1750. type: integer
  1751. closedate:
  1752. description: 终止日期
  1753. type: string
  1754. closeremark:
  1755. description: 结束备注
  1756. type: string
  1757. closetradedate:
  1758. description: 完结交易日(yyyyMMdd)
  1759. type: string
  1760. closetype:
  1761. description: 终止类型 - 1:违约 2:提前终止
  1762. type: integer
  1763. contractamount:
  1764. description: 合同金额
  1765. type: number
  1766. contractattachment:
  1767. description: 合同附件
  1768. type: string
  1769. contractno:
  1770. description: 现货合同编号
  1771. type: string
  1772. contractqty:
  1773. description: 合同数量(数值) (用于计算)
  1774. type: number
  1775. contractqtychar:
  1776. description: 合同数量\已订价数量 (用于显示)
  1777. type: string
  1778. contractstatus:
  1779. description: 合同状态 - 0:未结束 1:已结束
  1780. type: integer
  1781. contracttype:
  1782. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1783. type: integer
  1784. customeraccountid:
  1785. description: 客户资金账户ID
  1786. type: integer
  1787. customeruserid:
  1788. description: 客户ID
  1789. type: integer
  1790. deliverygoodsdesc:
  1791. description: 品种说明
  1792. type: string
  1793. deliverygoodsid:
  1794. description: 现货品种ID
  1795. type: integer
  1796. handlestatus:
  1797. description: 处理状态
  1798. type: integer
  1799. invoiceatt:
  1800. description: 发票附件
  1801. type: string
  1802. invoicedatetime:
  1803. description: 开收票更新时间
  1804. type: string
  1805. invoiceopentime:
  1806. description: 开票时间
  1807. type: string
  1808. invoiceremark:
  1809. description: 发票备注
  1810. type: string
  1811. invoicestatus:
  1812. description: 开收票状态 - 0:未开票 1:已开票
  1813. type: integer
  1814. lastdate:
  1815. description: 交货时间
  1816. type: string
  1817. marketid:
  1818. description: 市场ID
  1819. type: integer
  1820. paydatetime:
  1821. description: 收付款更新时间
  1822. type: string
  1823. payremark:
  1824. description: 收付款备注
  1825. type: string
  1826. paystatus:
  1827. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1828. type: integer
  1829. positionqty:
  1830. description: 头寸数量 - 合同数量去小数部分
  1831. type: integer
  1832. producttype:
  1833. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1834. type: integer
  1835. relatedqty:
  1836. description: 已关联数量
  1837. type: number
  1838. relatedstatus:
  1839. description: 关联完结状态 - 0:未结束 1:已结束
  1840. type: integer
  1841. remark:
  1842. description: 备注
  1843. type: string
  1844. signdate:
  1845. description: 签订日期
  1846. type: string
  1847. spotcontractid:
  1848. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1849. type: string
  1850. spotdatetime:
  1851. description: 收发货更新时间
  1852. type: string
  1853. spotprice:
  1854. description: 价格
  1855. type: number
  1856. spotremark:
  1857. description: 收发货备注
  1858. type: string
  1859. spotstatus:
  1860. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1861. type: integer
  1862. tradedate:
  1863. description: 交易日(yyyyMMdd)
  1864. type: string
  1865. userid:
  1866. description: 业务员用户ID
  1867. type: integer
  1868. warehouseid:
  1869. description: 仓库ID
  1870. type: integer
  1871. wrfactortypeid:
  1872. description: 仓单要素类型ID
  1873. type: integer
  1874. wrstandardid:
  1875. description: 仓单标准ID(SEQ_WRSTANDARD)
  1876. type: integer
  1877. required:
  1878. - spotcontractid
  1879. type: object
  1880. erms3.AddErms2ASApplyReq:
  1881. properties:
  1882. applybasis:
  1883. description: 申请基差
  1884. type: number
  1885. applystatus:
  1886. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1887. type: integer
  1888. asapplyid:
  1889. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1890. type: integer
  1891. asname:
  1892. description: 策略名称
  1893. type: string
  1894. asno:
  1895. description: 策略编号
  1896. type: string
  1897. auditid:
  1898. description: 审核人
  1899. type: integer
  1900. auditremark:
  1901. description: 审核备注
  1902. type: string
  1903. audittime:
  1904. description: 审核时间
  1905. type: string
  1906. biztype:
  1907. description: 业务类型 - 1:正向套利 2:反向套利
  1908. type: integer
  1909. createtime:
  1910. description: 创建时间
  1911. type: string
  1912. creatorid:
  1913. description: 创建人
  1914. type: integer
  1915. deliverygoodsid:
  1916. description: 现货品种ID
  1917. type: integer
  1918. futurequote:
  1919. description: 期货额度
  1920. type: number
  1921. goodsgroupid:
  1922. description: 期货品种ID
  1923. type: integer
  1924. marketid:
  1925. description: 市场ID
  1926. type: integer
  1927. remark:
  1928. description: 备注
  1929. type: string
  1930. spotquota:
  1931. description: 现货额度
  1932. type: number
  1933. tradedate:
  1934. description: 交易日(yyyyMMdd)
  1935. type: string
  1936. userid:
  1937. description: 所属机构
  1938. type: integer
  1939. required:
  1940. - asapplyid
  1941. type: object
  1942. erms3.AddErms2SpotTradeApplyReq:
  1943. properties:
  1944. applyjsondetail:
  1945. description: 申请明细(JSON)
  1946. type: string
  1947. applystatus:
  1948. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1949. type: integer
  1950. areauserid:
  1951. description: 所属机构
  1952. type: integer
  1953. auditid:
  1954. description: 审核人
  1955. type: integer
  1956. auditremark:
  1957. description: 审核备注
  1958. type: string
  1959. audittime:
  1960. description: 审核时间
  1961. type: string
  1962. createtime:
  1963. description: 创建时间
  1964. type: string
  1965. creatorid:
  1966. description: 创建人
  1967. type: integer
  1968. deliverygoodsid:
  1969. description: 现货品种ID
  1970. type: integer
  1971. futureaccountid:
  1972. description: 期货资金账户
  1973. type: integer
  1974. goodsgroupid:
  1975. description: 期货品种
  1976. type: integer
  1977. marketid:
  1978. description: 市场ID
  1979. type: integer
  1980. remark:
  1981. description: 备注
  1982. type: string
  1983. spotaccountid:
  1984. description: 现货资金账户
  1985. type: integer
  1986. spottradeid:
  1987. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1988. type: integer
  1989. spottradename:
  1990. description: 业务名称
  1991. type: string
  1992. spottradeno:
  1993. description: 业务编号
  1994. type: string
  1995. tradedate:
  1996. description: 交易日(yyyyMMdd)
  1997. type: string
  1998. wrstandardid:
  1999. description: 仓单标准ID
  2000. type: integer
  2001. required:
  2002. - spottradeid
  2003. type: object
  2004. erms3.AddSpotContractApplyReq:
  2005. properties:
  2006. accountid:
  2007. description: 资金账户ID
  2008. type: integer
  2009. areauserid:
  2010. description: 所属机构
  2011. type: integer
  2012. contractattachment:
  2013. description: 合同附件
  2014. type: string
  2015. contractno:
  2016. description: 现货合同编号
  2017. type: string
  2018. contracttype:
  2019. description: 现货合同类型 - 1:采购 -1:销售
  2020. type: integer
  2021. creatorid:
  2022. description: 申请人
  2023. type: integer
  2024. customeraccountid:
  2025. description: 客户资金账户ID
  2026. type: integer
  2027. customeruserid:
  2028. description: 客户ID
  2029. type: integer
  2030. details:
  2031. description: 明细
  2032. items:
  2033. $ref: '#/definitions/erms3.SoptContractDetail'
  2034. type: array
  2035. orimargin:
  2036. description: 初始保证金
  2037. type: number
  2038. remark:
  2039. description: 备注
  2040. type: string
  2041. signdate:
  2042. description: 签订日期
  2043. type: string
  2044. required:
  2045. - accountid
  2046. - areauserid
  2047. - contractno
  2048. - contracttype
  2049. - customeraccountid
  2050. - customeruserid
  2051. - details
  2052. - orimargin
  2053. - signdate
  2054. type: object
  2055. erms3.AddSpotContractApplyRsp:
  2056. properties:
  2057. contractno:
  2058. description: 现货合同编号
  2059. type: string
  2060. spotcontractid:
  2061. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2062. type: integer
  2063. required:
  2064. - contractno
  2065. type: object
  2066. erms3.AddUserInfoApplyReq:
  2067. properties:
  2068. accountid:
  2069. description: 交易系统帐号Id (加密存储)
  2070. type: integer
  2071. areacode:
  2072. description: 机构代码
  2073. type: string
  2074. areaid:
  2075. description: 机构Id
  2076. type: integer
  2077. attachment1:
  2078. description: 附件1
  2079. type: string
  2080. attachment2:
  2081. description: 附件2
  2082. type: string
  2083. attachment3:
  2084. description: 附件3
  2085. type: string
  2086. attachment4:
  2087. description: 附件4
  2088. type: string
  2089. attachment5:
  2090. description: 附件5
  2091. type: string
  2092. auditedby:
  2093. description: 审核人
  2094. type: string
  2095. auditime:
  2096. description: 审核时间
  2097. type: string
  2098. auditsrc:
  2099. description: 审核来源 - 1:管理端 2:终端
  2100. type: integer
  2101. bankaccount:
  2102. description: 银行帐号 (加密存储)
  2103. type: string
  2104. bankaccountname:
  2105. description: 收款人名称
  2106. type: string
  2107. bankcardbackphotourl:
  2108. description: 银行卡背面照地址
  2109. type: string
  2110. bankcardfrontphotourl:
  2111. description: 银行卡正面照地址
  2112. type: string
  2113. bankid:
  2114. description: 银行编码
  2115. type: string
  2116. bankname:
  2117. description: 银行名称
  2118. type: string
  2119. bankpictureurl:
  2120. description: 银行卡正面地址
  2121. type: string
  2122. biznature:
  2123. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2124. type: integer
  2125. bizscope:
  2126. description: 企业经营范围(企业)
  2127. type: string
  2128. biztype:
  2129. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2130. type: integer
  2131. brokerid:
  2132. description: 经纪人ID(加密存储)
  2133. type: string
  2134. cardaddress:
  2135. description: 证件地址 (加密存储)
  2136. type: string
  2137. cardbackphotourl:
  2138. description: 背面证件照地址
  2139. type: string
  2140. cardfrontphotourl:
  2141. description: 正面证件照地址
  2142. type: string
  2143. cardnum:
  2144. description: 证件号码 (加密存储)
  2145. type: string
  2146. cardtype:
  2147. description: 证件类型
  2148. type: integer
  2149. cityid:
  2150. description: 市
  2151. type: integer
  2152. company:
  2153. description: 公司(个人)
  2154. type: string
  2155. contactcardbackphotourl:
  2156. description: 联系人证件背面图片地址
  2157. type: string
  2158. contactcardfrontphotourl:
  2159. description: 联系人证件正面图片地址
  2160. type: string
  2161. contactname:
  2162. description: 联系人
  2163. type: string
  2164. countryid:
  2165. description: 国家
  2166. type: integer
  2167. createtime:
  2168. description: 开户申请时间
  2169. type: string
  2170. cusbankid:
  2171. description: 签约类型
  2172. type: string
  2173. cusbankname:
  2174. description: 签约类型名称
  2175. type: string
  2176. customername:
  2177. description: 客户名称(企业名称)
  2178. type: string
  2179. districtid:
  2180. description: 地区
  2181. type: integer
  2182. email:
  2183. description: Email地址(加密存储)
  2184. type: string
  2185. halfbodyphotourl:
  2186. description: 半身照地址
  2187. type: string
  2188. headurl:
  2189. description: 头像地址
  2190. type: string
  2191. ipaddress:
  2192. description: IP地址
  2193. type: string
  2194. isvalidate:
  2195. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2196. type: string
  2197. legalcardbackphotourl:
  2198. description: 法人身份证背面照地址
  2199. type: string
  2200. legalcardfrontphotourl:
  2201. description: 法人身份证正面照地址
  2202. type: string
  2203. legalpersonname:
  2204. description: 法人姓名(企业)
  2205. type: string
  2206. logincode:
  2207. description: 登录帐号 (加密存储)
  2208. type: string
  2209. memberareaid:
  2210. description: 所属会员ID
  2211. type: integer
  2212. mobile2:
  2213. description: 手机号码[明文-尚志]
  2214. type: string
  2215. mobilephone:
  2216. description: 手机号码 (加密存储)
  2217. type: string
  2218. modifiedby:
  2219. description: 修改人帐号
  2220. type: integer
  2221. modifiedtime:
  2222. description: 修改时间
  2223. type: string
  2224. nickname:
  2225. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2226. type: string
  2227. openmode:
  2228. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2229. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2230. type: integer
  2231. otherurl:
  2232. description: 其它图片地址[使用分号分隔]
  2233. type: string
  2234. postalcode:
  2235. description: 邮政编码
  2236. type: string
  2237. provinceid:
  2238. description: 省
  2239. type: integer
  2240. proxystatementurl:
  2241. description: 授权委托书
  2242. type: string
  2243. qq:
  2244. description: QQ(加密存储
  2245. type: string
  2246. referral:
  2247. description: 推荐人编码
  2248. type: string
  2249. remark:
  2250. description: 备注
  2251. type: string
  2252. removebeforestatus:
  2253. description: REMOVEBEFORESTATUS
  2254. type: integer
  2255. sex:
  2256. description: 性别 - 0:女 1:男
  2257. type: integer
  2258. signedstatus:
  2259. description: 账户一号签签约状态
  2260. type: integer
  2261. signpdfurl:
  2262. description: 签约pdf文件
  2263. type: string
  2264. subbranch:
  2265. description: 开户支行
  2266. type: string
  2267. taxpayernum:
  2268. description: 纳税人识别号
  2269. type: string
  2270. telphone:
  2271. description: 联系电话(加密存储)
  2272. type: string
  2273. userid:
  2274. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2275. type: integer
  2276. userinfotype:
  2277. description: 用户信息类型 - 1:个人 2:企业
  2278. type: integer
  2279. username:
  2280. description: 用户姓名
  2281. type: string
  2282. userstate:
  2283. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2284. type: integer
  2285. usertype:
  2286. description: 用户类型 - 1:投资者 2:机构
  2287. type: integer
  2288. videourl:
  2289. description: 视频地址
  2290. type: string
  2291. wechat:
  2292. description: 微信号 (加密存储)
  2293. type: string
  2294. required:
  2295. - userid
  2296. type: object
  2297. erms3.CustomerInfo:
  2298. properties:
  2299. accountids:
  2300. description: 资金账户ID列表
  2301. items:
  2302. type: integer
  2303. type: array
  2304. customername:
  2305. description: 名称(企业名称)
  2306. type: string
  2307. mobile:
  2308. description: 手机号码
  2309. type: string
  2310. userid:
  2311. description: 用户ID
  2312. type: integer
  2313. required:
  2314. - userid
  2315. type: object
  2316. erms3.ModifyUserInfoApplyReq:
  2317. properties:
  2318. accountid:
  2319. description: 交易系统帐号Id (加密存储)
  2320. type: integer
  2321. areacode:
  2322. description: 机构代码
  2323. type: string
  2324. areaid:
  2325. description: 机构Id
  2326. type: integer
  2327. attachment1:
  2328. description: 附件1
  2329. type: string
  2330. attachment2:
  2331. description: 附件2
  2332. type: string
  2333. attachment3:
  2334. description: 附件3
  2335. type: string
  2336. attachment4:
  2337. description: 附件4
  2338. type: string
  2339. attachment5:
  2340. description: 附件5
  2341. type: string
  2342. auditedby:
  2343. description: 审核人
  2344. type: string
  2345. auditime:
  2346. description: 审核时间
  2347. type: string
  2348. auditsrc:
  2349. description: 审核来源 - 1:管理端 2:终端
  2350. type: integer
  2351. bankaccount:
  2352. description: 银行帐号 (加密存储)
  2353. type: string
  2354. bankaccountname:
  2355. description: 收款人名称
  2356. type: string
  2357. bankcardbackphotourl:
  2358. description: 银行卡背面照地址
  2359. type: string
  2360. bankcardfrontphotourl:
  2361. description: 银行卡正面照地址
  2362. type: string
  2363. bankid:
  2364. description: 银行编码
  2365. type: string
  2366. bankname:
  2367. description: 银行名称
  2368. type: string
  2369. bankpictureurl:
  2370. description: 银行卡正面地址
  2371. type: string
  2372. biznature:
  2373. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2374. type: integer
  2375. bizscope:
  2376. description: 企业经营范围(企业)
  2377. type: string
  2378. biztype:
  2379. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2380. type: integer
  2381. brokerid:
  2382. description: 经纪人ID(加密存储)
  2383. type: string
  2384. cardaddress:
  2385. description: 证件地址 (加密存储)
  2386. type: string
  2387. cardbackphotourl:
  2388. description: 背面证件照地址
  2389. type: string
  2390. cardfrontphotourl:
  2391. description: 正面证件照地址
  2392. type: string
  2393. cardnum:
  2394. description: 证件号码 (加密存储)
  2395. type: string
  2396. cardtype:
  2397. description: 证件类型
  2398. type: integer
  2399. cityid:
  2400. description: 市
  2401. type: integer
  2402. company:
  2403. description: 公司(个人)
  2404. type: string
  2405. contactcardbackphotourl:
  2406. description: 联系人证件背面图片地址
  2407. type: string
  2408. contactcardfrontphotourl:
  2409. description: 联系人证件正面图片地址
  2410. type: string
  2411. contactname:
  2412. description: 联系人
  2413. type: string
  2414. countryid:
  2415. description: 国家
  2416. type: integer
  2417. createtime:
  2418. description: 开户申请时间
  2419. type: string
  2420. cusbankid:
  2421. description: 签约类型
  2422. type: string
  2423. cusbankname:
  2424. description: 签约类型名称
  2425. type: string
  2426. customername:
  2427. description: 客户名称(企业名称)
  2428. type: string
  2429. districtid:
  2430. description: 地区
  2431. type: integer
  2432. email:
  2433. description: Email地址(加密存储)
  2434. type: string
  2435. halfbodyphotourl:
  2436. description: 半身照地址
  2437. type: string
  2438. headurl:
  2439. description: 头像地址
  2440. type: string
  2441. ipaddress:
  2442. description: IP地址
  2443. type: string
  2444. isvalidate:
  2445. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2446. type: string
  2447. legalcardbackphotourl:
  2448. description: 法人身份证背面照地址
  2449. type: string
  2450. legalcardfrontphotourl:
  2451. description: 法人身份证正面照地址
  2452. type: string
  2453. legalpersonname:
  2454. description: 法人姓名(企业)
  2455. type: string
  2456. logincode:
  2457. description: 登录帐号 (加密存储)
  2458. type: string
  2459. memberareaid:
  2460. description: 所属会员ID
  2461. type: integer
  2462. mobile2:
  2463. description: 手机号码[明文-尚志]
  2464. type: string
  2465. mobilephone:
  2466. description: 手机号码 (加密存储)
  2467. type: string
  2468. modifiedby:
  2469. description: 修改人帐号
  2470. type: integer
  2471. modifiedtime:
  2472. description: 修改时间
  2473. type: string
  2474. nickname:
  2475. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2476. type: string
  2477. openmode:
  2478. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2479. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2480. type: integer
  2481. otherurl:
  2482. description: 其它图片地址[使用分号分隔]
  2483. type: string
  2484. postalcode:
  2485. description: 邮政编码
  2486. type: string
  2487. provinceid:
  2488. description: 省
  2489. type: integer
  2490. proxystatementurl:
  2491. description: 授权委托书
  2492. type: string
  2493. qq:
  2494. description: QQ(加密存储
  2495. type: string
  2496. referral:
  2497. description: 推荐人编码
  2498. type: string
  2499. remark:
  2500. description: 备注
  2501. type: string
  2502. removebeforestatus:
  2503. description: REMOVEBEFORESTATUS
  2504. type: integer
  2505. sex:
  2506. description: 性别 - 0:女 1:男
  2507. type: integer
  2508. signedstatus:
  2509. description: 账户一号签签约状态
  2510. type: integer
  2511. signpdfurl:
  2512. description: 签约pdf文件
  2513. type: string
  2514. subbranch:
  2515. description: 开户支行
  2516. type: string
  2517. taxpayernum:
  2518. description: 纳税人识别号
  2519. type: string
  2520. telphone:
  2521. description: 联系电话(加密存储)
  2522. type: string
  2523. userid:
  2524. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2525. type: integer
  2526. userinfotype:
  2527. description: 用户信息类型 - 1:个人 2:企业
  2528. type: integer
  2529. username:
  2530. description: 用户姓名
  2531. type: string
  2532. userstate:
  2533. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2534. type: integer
  2535. usertype:
  2536. description: 用户类型 - 1:投资者 2:机构
  2537. type: integer
  2538. videourl:
  2539. description: 视频地址
  2540. type: string
  2541. wechat:
  2542. description: 微信号 (加密存储)
  2543. type: string
  2544. required:
  2545. - userid
  2546. type: object
  2547. erms3.QryAuditContractRsp:
  2548. properties:
  2549. accountid:
  2550. description: 交易员ID
  2551. type: string
  2552. applystatus:
  2553. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2554. type: integer
  2555. curdeliveryqty:
  2556. description: 未交收量
  2557. type: integer
  2558. customername:
  2559. description: 采购方ID
  2560. type: string
  2561. deliverygoodsid:
  2562. description: 品种ID
  2563. type: string
  2564. deliveryqty:
  2565. description: 交收量
  2566. type: integer
  2567. enumdicname:
  2568. description: 单位名称
  2569. type: string
  2570. matchaccountid:
  2571. description: 业务员ID
  2572. type: string
  2573. matchcustomername:
  2574. description: 销售方ID
  2575. type: string
  2576. pricedqty:
  2577. description: 定价量
  2578. type: number
  2579. signdate:
  2580. description: 签订日期
  2581. type: string
  2582. spotcontractid:
  2583. description: 合同ID
  2584. type: string
  2585. totaldqty:
  2586. description: 合同量
  2587. type: number
  2588. unpricedqty:
  2589. description: 未定价量
  2590. type: number
  2591. wrstandardname:
  2592. description: 商品名称
  2593. type: string
  2594. required:
  2595. - matchcustomername
  2596. - spotcontractid
  2597. type: object
  2598. erms3.QryPendingBizRsp:
  2599. $ref: '#/definitions/models.PendingAuditBizModel'
  2600. erms3.QueryBusinessInfoRsp:
  2601. properties:
  2602. businessid:
  2603. description: 业务ID.
  2604. type: integer
  2605. buyamount:
  2606. description: 采购额.
  2607. type: number
  2608. buyqty:
  2609. description: 采购量.
  2610. type: string
  2611. futurepl:
  2612. description: 期货盈亏.
  2613. type: number
  2614. futureqty:
  2615. description: 期货敞口.
  2616. type: string
  2617. goodsid:
  2618. description: 商品名称/商品代码.
  2619. type: string
  2620. hedgingqty:
  2621. description: 套保量.
  2622. type: string
  2623. sellamount:
  2624. description: 销售额.
  2625. type: number
  2626. sellqty:
  2627. description: 销售量.
  2628. type: string
  2629. spotmarketvalue:
  2630. description: 现货市值.
  2631. type: number
  2632. spotpl:
  2633. description: 浮动权益.
  2634. type: number
  2635. spotqty:
  2636. description: 现货量.
  2637. type: string
  2638. statu:
  2639. description: 状态,0-未结束 1-已结束.
  2640. type: integer
  2641. totalpl:
  2642. description: 总盈亏.
  2643. type: number
  2644. totalqty:
  2645. description: 总敞口.
  2646. type: string
  2647. type:
  2648. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2649. type: integer
  2650. type: object
  2651. erms3.QuerySpotContractAppleFormRsp:
  2652. properties:
  2653. goodses:
  2654. description: 合约列表
  2655. items:
  2656. $ref: '#/definitions/models.GoodsIDAndName'
  2657. type: array
  2658. oppositeusers:
  2659. description: 对方账号列表
  2660. items:
  2661. $ref: '#/definitions/erms3.CustomerInfo'
  2662. type: array
  2663. ouruser:
  2664. $ref: '#/definitions/erms3.CustomerInfo'
  2665. description: 我方账号
  2666. type: object
  2667. warehouseinfos:
  2668. description: 仓库信息列表
  2669. items:
  2670. $ref: '#/definitions/models.Warehouseinfo'
  2671. type: array
  2672. wrstandards:
  2673. description: 仓单标准列表
  2674. items:
  2675. $ref: '#/definitions/models.WRStandardInfo'
  2676. type: array
  2677. type: object
  2678. erms3.QuerySpotContractInfoRsp:
  2679. properties:
  2680. accountid:
  2681. description: 表示交易员ID.
  2682. type: integer
  2683. curdeliveryqty:
  2684. description: 表示未交收量.
  2685. type: number
  2686. customername:
  2687. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2688. type: string
  2689. deliverygoodsid:
  2690. description: 表示品种ID.
  2691. type: string
  2692. deliveryqty:
  2693. description: 表示交收量.
  2694. type: number
  2695. matchaccountid:
  2696. description: 表示业务员ID.
  2697. type: integer
  2698. matchcustomername:
  2699. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2700. type: string
  2701. priceqty:
  2702. description: 表示定价量.
  2703. type: number
  2704. relatedbizid:
  2705. description: 表示业务ID.
  2706. type: string
  2707. signdate:
  2708. description: 表示签订日期.
  2709. type: string
  2710. spotcontractid:
  2711. description: 合同ID
  2712. type: string
  2713. status:
  2714. description: 表示状态,0-履约中 1-已完成.
  2715. type: integer
  2716. totalqty:
  2717. description: 表示合同量.
  2718. type: number
  2719. unpricedqty:
  2720. description: 表示未定价量.
  2721. type: number
  2722. wrstandardname:
  2723. description: 表示商品ID.
  2724. type: string
  2725. type: object
  2726. erms3.QueryUserInfoAppliesRsp:
  2727. properties:
  2728. biznature:
  2729. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2730. type: integer
  2731. contactname:
  2732. description: 联系人
  2733. type: string
  2734. createtime:
  2735. description: 开户申请时间
  2736. type: string
  2737. userid:
  2738. description: 用户ID(自增ID)
  2739. type: integer
  2740. userinfotype:
  2741. description: 用户信息类型 - 1:个人 2:企业
  2742. type: integer
  2743. username:
  2744. description: 用户姓名
  2745. type: string
  2746. userstate:
  2747. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2748. type: integer
  2749. required:
  2750. - userid
  2751. type: object
  2752. erms3.QueryUserInfosRsp:
  2753. properties:
  2754. biznature:
  2755. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2756. type: integer
  2757. contactname:
  2758. description: 联系人
  2759. type: string
  2760. customername:
  2761. description: 客户名称(企业名称)
  2762. type: string
  2763. userid:
  2764. description: 用户ID
  2765. type: integer
  2766. userinfotype:
  2767. description: 用户信息类型 - 1:个人 2:企业
  2768. type: integer
  2769. userstatus:
  2770. description: 用户状态 - 1:正常 2:注销
  2771. type: integer
  2772. required:
  2773. - userid
  2774. type: object
  2775. erms3.SoptContractDetail:
  2776. properties:
  2777. deliverygoodsdesc:
  2778. description: 现货品种说明
  2779. type: string
  2780. deliverygoodsid:
  2781. description: 现货品种ID
  2782. type: integer
  2783. deliverygoodsname:
  2784. description: 现货品种名称
  2785. type: string
  2786. pointdesc:
  2787. description: 点价描述
  2788. type: string
  2789. producttype:
  2790. description: 产品类型 1:标准仓单 2:等标 3:非标
  2791. type: integer
  2792. producttypename:
  2793. description: 产品类型名称
  2794. type: string
  2795. spotPointOrderVoList:
  2796. description: 点价列表
  2797. items:
  2798. $ref: '#/definitions/erms3.SpotPointOrder'
  2799. type: array
  2800. spotPriceOrderList:
  2801. description: 定价列表
  2802. items:
  2803. $ref: '#/definitions/erms3.SpotPriceOrder'
  2804. type: array
  2805. unitname:
  2806. description: 单位名称
  2807. type: string
  2808. warehouseid:
  2809. description: 仓库ID
  2810. type: integer
  2811. warehousename:
  2812. description: 仓库名称
  2813. type: string
  2814. wrstandardid:
  2815. description: 交易标的ID
  2816. type: integer
  2817. wrstandardname:
  2818. description: 交易标的名称
  2819. type: string
  2820. required:
  2821. - deliverygoodsid
  2822. - producttype
  2823. - unitname
  2824. - warehouseid
  2825. - wrstandardid
  2826. - wrstandardname
  2827. type: object
  2828. erms3.SpotPointOrder:
  2829. properties:
  2830. basic:
  2831. description: 基差
  2832. type: number
  2833. deliveryenddate:
  2834. description: 交收结束日期
  2835. type: string
  2836. deliverystartdate:
  2837. description: 交收开始日期
  2838. type: string
  2839. enddate:
  2840. description: 点价结束日期
  2841. type: string
  2842. goodsid:
  2843. description: 商品ID
  2844. type: integer
  2845. goodsname:
  2846. description: 商品名称
  2847. type: string
  2848. qty:
  2849. description: 数量
  2850. type: number
  2851. startdate:
  2852. description: 点价开始日期
  2853. type: string
  2854. required:
  2855. - basic
  2856. - goodsid
  2857. - qty
  2858. type: object
  2859. erms3.SpotPriceOrder:
  2860. properties:
  2861. amount:
  2862. description: 金额
  2863. type: number
  2864. deliveryenddate:
  2865. description: 交收结束日期
  2866. type: string
  2867. deliverystartdate:
  2868. description: 交收开始日期
  2869. type: string
  2870. price:
  2871. description: 价格
  2872. type: number
  2873. qty:
  2874. description: 数量
  2875. type: number
  2876. required:
  2877. - amount
  2878. - price
  2879. - qty
  2880. type: object
  2881. hsby.GetHsbyMyCountRsp:
  2882. properties:
  2883. myCouponCount:
  2884. description: 我的优惠卷数量
  2885. type: integer
  2886. myOrderDetailListingCount:
  2887. description: 我的订单求购中数量
  2888. type: integer
  2889. myOrderDetailPreCount:
  2890. description: 我的订单抢购中数量
  2891. type: integer
  2892. myPackageUnReceiveCount:
  2893. description: 我的包裹待收货数量
  2894. type: integer
  2895. myPackageUnSendCount:
  2896. description: 我的包裹待发货数量
  2897. type: integer
  2898. myPayOrderCount:
  2899. description: 我的订单待付款数量
  2900. type: integer
  2901. type: object
  2902. hsby.QueryProvincesAndCitiesRsp:
  2903. properties:
  2904. cities:
  2905. description: 市
  2906. items:
  2907. $ref: '#/definitions/models.Division'
  2908. type: array
  2909. province:
  2910. $ref: '#/definitions/models.Division'
  2911. description: 省
  2912. type: object
  2913. type: object
  2914. models.AreaSpotModel:
  2915. properties:
  2916. areauserid:
  2917. description: 所属机构
  2918. type: integer
  2919. decreaseqty:
  2920. description: 减少数量=-(销售已定价数量+采购计划数量)
  2921. type: number
  2922. increaseqty:
  2923. description: 增加数量=销售计划数量+采购已定价数量
  2924. type: number
  2925. oritoalspotqty:
  2926. description: 昨日数量
  2927. type: number
  2928. totalspotqty:
  2929. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2930. type: number
  2931. updatetime:
  2932. description: 更新时间
  2933. type: string
  2934. wrstandardcode:
  2935. description: 现货品种代码
  2936. type: string
  2937. wrstandardid:
  2938. description: 现货商品ID
  2939. type: integer
  2940. wrstandardname:
  2941. description: 现货品种
  2942. type: string
  2943. type: object
  2944. models.Arearole:
  2945. properties:
  2946. createtime:
  2947. description: 创建时间
  2948. type: string
  2949. creatorid:
  2950. description: 创建人ID
  2951. type: integer
  2952. fromuserid:
  2953. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2954. type: integer
  2955. isreturnscore:
  2956. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2957. type: integer
  2958. modifierid:
  2959. description: 修改人ID
  2960. type: integer
  2961. modifytime:
  2962. description: 修改时间
  2963. type: string
  2964. orgtype:
  2965. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2966. type: integer
  2967. outuserid:
  2968. description: 外部账户[场外期权做市商]
  2969. type: string
  2970. parentuserid:
  2971. description: 上级组织机构(组织机构)
  2972. type: integer
  2973. roletype:
  2974. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2975. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2976. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2977. type: integer
  2978. rootuserid:
  2979. description: 顶级组织机构用户ID(组织机构)
  2980. type: integer
  2981. shoppassword:
  2982. description: 商城店铺登陆密码(商城店铺角色使用)
  2983. type: string
  2984. sublevelpath:
  2985. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2986. type: string
  2987. suborgtype:
  2988. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2989. type: integer
  2990. tradeaccountid:
  2991. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2992. type: integer
  2993. transurl:
  2994. description: 物流地址(物流机构)
  2995. type: string
  2996. userid:
  2997. description: 机构用户ID其他做市关系,都设置为 1
  2998. type: integer
  2999. required:
  3000. - roletype
  3001. - userid
  3002. type: object
  3003. models.Clientfixedadconfig:
  3004. properties:
  3005. adsort:
  3006. description: 排序
  3007. type: integer
  3008. adtype:
  3009. description: 广告位类型 - 1:新品抢购(HSBY)
  3010. type: integer
  3011. areauserid:
  3012. description: 所属机构ID
  3013. type: integer
  3014. createdate:
  3015. description: 创建时间
  3016. type: string
  3017. creatorid:
  3018. description: 创建人
  3019. type: integer
  3020. imagepath:
  3021. description: 图片
  3022. type: string
  3023. isshow:
  3024. description: 是否展示 - 0:不展示 1:展示
  3025. type: integer
  3026. modifierid:
  3027. description: 操作人
  3028. type: integer
  3029. recsize:
  3030. description: 推荐尺寸
  3031. type: string
  3032. title:
  3033. description: 标题
  3034. type: string
  3035. updatedate:
  3036. description: 更新时间
  3037. type: string
  3038. urlcontent:
  3039. description: 链接(地址或商品ID)
  3040. type: string
  3041. urltype:
  3042. description: 链接类型 - 1:直接地址 2:商品ID
  3043. type: integer
  3044. required:
  3045. - adsort
  3046. - adtype
  3047. type: object
  3048. models.Division:
  3049. properties:
  3050. autoid:
  3051. description: 自增ID
  3052. type: integer
  3053. divisioncode:
  3054. description: 行政代码
  3055. type: string
  3056. divisionlevel:
  3057. description: 行政级别
  3058. type: string
  3059. divisionname:
  3060. description: 行政名称
  3061. type: string
  3062. modifierid:
  3063. description: 修改人
  3064. type: integer
  3065. modifytime:
  3066. description: 修改时间
  3067. type: string
  3068. parentcode:
  3069. description: 上级行政代码
  3070. type: string
  3071. pathname:
  3072. description: 路径名称
  3073. type: string
  3074. postcode:
  3075. description: 邮政编码
  3076. type: string
  3077. separablename:
  3078. description: 可拆分的全称
  3079. type: string
  3080. shortcode:
  3081. description: 地区简码
  3082. type: string
  3083. required:
  3084. - autoid
  3085. - divisioncode
  3086. type: object
  3087. models.Enumdicitem:
  3088. properties:
  3089. autoid:
  3090. description: 自增ID
  3091. type: integer
  3092. bankmappedvalue:
  3093. description: 银行服务对应值
  3094. type: string
  3095. enumdiccode:
  3096. description: 所属枚举代码
  3097. type: string
  3098. enumdicid:
  3099. description: 所属枚举ID
  3100. type: integer
  3101. enumdicname:
  3102. description: 枚举项名称
  3103. type: string
  3104. enumitemname:
  3105. description: 枚举项值
  3106. type: integer
  3107. enumitemstatus:
  3108. description: 枚举项状态 - 1.启用 2.不启用
  3109. type: integer
  3110. enumitemvalue:
  3111. description: 通用值 - [币种通用简写]
  3112. type: string
  3113. param1:
  3114. description: 参数1[币种:币种小数位]
  3115. type: string
  3116. param2:
  3117. description: 参数1[币种:币种显示单位]
  3118. type: string
  3119. remark:
  3120. description: 备注
  3121. type: string
  3122. required:
  3123. - autoid
  3124. - enumdiccode
  3125. - enumdicid
  3126. - enumitemname
  3127. type: object
  3128. models.Ermcp3AreaSpot:
  3129. properties:
  3130. areauserid:
  3131. description: 所属机构
  3132. type: integer
  3133. decreaseqty:
  3134. description: 减少数量=-(销售已定价数量+采购计划数量)
  3135. type: number
  3136. deliverygoodscode:
  3137. description: 现货品种代码
  3138. type: string
  3139. deliverygoodsid:
  3140. description: 现货品种id
  3141. type: integer
  3142. deliverygoodsname:
  3143. description: 现货品种名称
  3144. type: string
  3145. enumdicname:
  3146. description: 单位名称
  3147. type: string
  3148. goodsunitid:
  3149. description: 现货品种单位id
  3150. type: integer
  3151. increaseqty:
  3152. description: 增加数量=销售计划数量+采购已定价数量
  3153. type: number
  3154. oritoalspotqty:
  3155. description: 昨日数量
  3156. type: number
  3157. totalspotqty:
  3158. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3159. type: number
  3160. updatetime:
  3161. description: 更新时间
  3162. type: string
  3163. type: object
  3164. models.Ermcp3AreaSpotDetail:
  3165. properties:
  3166. contracttype:
  3167. description: 合同类型 1-采购 -1-销售
  3168. type: integer
  3169. createtime:
  3170. description: 创建时间
  3171. type: string
  3172. deliverygoodscode:
  3173. description: 现货品种代码
  3174. type: string
  3175. deliverygoodsid:
  3176. description: 现货品种id
  3177. type: integer
  3178. deliverygoodsname:
  3179. description: 现货品种名称
  3180. type: string
  3181. enumdicname:
  3182. description: 现货商品单位名称
  3183. type: string
  3184. logtype:
  3185. description: 记录类型 1-套保 2-现货合同
  3186. type: integer
  3187. qty:
  3188. description: 数量
  3189. type: number
  3190. recordname:
  3191. description: 类型名称
  3192. type: string
  3193. relatedid:
  3194. description: 套保计划ID/现货合同ID
  3195. type: string
  3196. relatedno:
  3197. description: 编号
  3198. type: string
  3199. strtime:
  3200. description: 时间
  3201. type: string
  3202. type: object
  3203. models.Ermcp3AreaSpotPLReport:
  3204. properties:
  3205. accountid:
  3206. description: 期货账户ID (作废, 默认为0)
  3207. type: integer
  3208. accountname:
  3209. description: 机构名称
  3210. type: string
  3211. actualpl:
  3212. description: 现货损益
  3213. type: number
  3214. areauserid:
  3215. description: 所属机构\交易用户ID
  3216. type: integer
  3217. begindate:
  3218. description: 开始交易日
  3219. type: string
  3220. biztype:
  3221. description: 业务类型 - 1:套保 2:套利
  3222. type: integer
  3223. brandname:
  3224. description: 品牌名称
  3225. type: string
  3226. curamount:
  3227. description: 期末额
  3228. type: number
  3229. curaverageprice:
  3230. description: 期末均价
  3231. type: number
  3232. curbuyamount:
  3233. description: 期末采购总额
  3234. type: number
  3235. curbuyqty:
  3236. description: 期末采购总量
  3237. type: number
  3238. curmarketvalue:
  3239. description: 参考市值(期末市值)
  3240. type: number
  3241. curqty:
  3242. description: 期末量
  3243. type: number
  3244. currencyid:
  3245. description: 结算币种ID【原值】
  3246. type: integer
  3247. currencyname:
  3248. description: 币种名称
  3249. type: string
  3250. cursellamount:
  3251. description: 期末销售总额
  3252. type: number
  3253. cursellqty:
  3254. description: 期末销售总量
  3255. type: number
  3256. curspotprice:
  3257. description: 参考市价(最新价)
  3258. type: number
  3259. cycletime:
  3260. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3261. type: string
  3262. cycletype:
  3263. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3264. type: integer
  3265. deliverygoodscode:
  3266. description: 现货商品代码
  3267. type: string
  3268. deliverygoodsid:
  3269. description: 现货品种ID
  3270. type: integer
  3271. deliverygoodsname:
  3272. description: 现货商品名称
  3273. type: string
  3274. enddate:
  3275. description: 结束交易日
  3276. type: string
  3277. enumdicname:
  3278. description: 现货商品单位名称
  3279. type: string
  3280. floatpl:
  3281. description: 浮动损益
  3282. type: number
  3283. goodsunitid:
  3284. description: 现货商品单位id
  3285. type: integer
  3286. oriamount:
  3287. description: 期初额
  3288. type: number
  3289. oriaverageprice:
  3290. description: 期初均价
  3291. type: number
  3292. oribuyamount:
  3293. description: 期初采购总额
  3294. type: number
  3295. oribuyqty:
  3296. description: 期初采购总量
  3297. type: number
  3298. oriqty:
  3299. description: 期初量
  3300. type: number
  3301. orisellamount:
  3302. description: 期初销售总额
  3303. type: number
  3304. orisellqty:
  3305. description: 期初销售总量
  3306. type: number
  3307. reckondate:
  3308. description: 日照时期(yyyyMMdd)
  3309. type: string
  3310. spotgoodsbrandid:
  3311. description: 现货品牌ID
  3312. type: integer
  3313. todaybuyamount:
  3314. description: 今日采购额(今采购额)
  3315. type: number
  3316. todaybuyaverageprice:
  3317. description: 今日采购均价
  3318. type: number
  3319. todaybuyqty:
  3320. description: 今日采购量(今采购量)
  3321. type: number
  3322. todayinqty:
  3323. description: 今日入库量(今入库量)
  3324. type: number
  3325. todayoutqty:
  3326. description: 今日出库量(今出库量)
  3327. type: number
  3328. todaysellamount:
  3329. description: 今日销售额(今销售额)
  3330. type: number
  3331. todaysellaverageprice:
  3332. description: 今日销售均价
  3333. type: number
  3334. todaysellqty:
  3335. description: 今日销售量(今销售量)
  3336. type: number
  3337. unitid:
  3338. description: 品类单位id
  3339. type: integer
  3340. unitidname:
  3341. description: 品类单位名称
  3342. type: string
  3343. updatetime:
  3344. description: 更新时间
  3345. type: string
  3346. wrfactortypeid:
  3347. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3348. type: integer
  3349. wrstandardcode:
  3350. description: 品类代码
  3351. type: string
  3352. wrstandardid:
  3353. description: 现货品类ID
  3354. type: integer
  3355. wrstandardname:
  3356. description: 品类名称
  3357. type: string
  3358. type: object
  3359. models.Ermcp3AreaStock:
  3360. properties:
  3361. brandname:
  3362. description: 品牌名称
  3363. type: string
  3364. curstock:
  3365. description: 期末库存量(今日量)
  3366. type: number
  3367. deliverygoodscode:
  3368. description: 现货品种代码
  3369. type: string
  3370. deliverygoodsid:
  3371. description: 现货品种id
  3372. type: integer
  3373. deliverygoodsname:
  3374. description: 现货品种名称
  3375. type: string
  3376. enumdicname:
  3377. description: 单位名称
  3378. type: string
  3379. goodsunitid:
  3380. description: 现货商品单位id
  3381. type: integer
  3382. oristock:
  3383. description: 期初库存量(昨日量)
  3384. type: number
  3385. spotgoodsbrandid:
  3386. description: 现货品牌ID
  3387. type: integer
  3388. todaybuyinqty:
  3389. description: 今日采购入库量
  3390. type: number
  3391. todayproduceinqty:
  3392. description: 今日生产入库量
  3393. type: number
  3394. todayproduceoutqty:
  3395. description: 今日生产出库量
  3396. type: number
  3397. todayselloutqty:
  3398. description: 今日销售出库量
  3399. type: number
  3400. unitid:
  3401. description: 单位id
  3402. type: integer
  3403. updatetime:
  3404. description: 更新时间
  3405. type: string
  3406. userid:
  3407. description: 机构ID
  3408. type: integer
  3409. username:
  3410. description: 机构名称
  3411. type: string
  3412. warehousecode:
  3413. description: 仓库代码
  3414. type: string
  3415. warehouseinfoid:
  3416. description: 仓库ID
  3417. type: string
  3418. warehousename:
  3419. description: 仓库名称
  3420. type: string
  3421. warehousetype:
  3422. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3423. type: integer
  3424. wrstandardcode:
  3425. description: 品类代码
  3426. type: string
  3427. wrstandardid:
  3428. description: 品类ID
  3429. type: string
  3430. wrstandardname:
  3431. description: 品类名称
  3432. type: string
  3433. required:
  3434. - userid
  3435. type: object
  3436. models.Ermcp3AreaStockApply:
  3437. properties:
  3438. applyid:
  3439. description: 申请人
  3440. type: integer
  3441. applyname:
  3442. description: 申请人名称
  3443. type: string
  3444. applyremark:
  3445. description: 申请备注
  3446. type: string
  3447. applysrc:
  3448. description: 申请来源 - 1:管理端 2:终端
  3449. type: integer
  3450. applystatus:
  3451. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3452. type: integer
  3453. applytime:
  3454. description: 申请时间
  3455. type: string
  3456. auditid:
  3457. description: 审核人
  3458. type: integer
  3459. auditname:
  3460. description: 审核人名称
  3461. type: string
  3462. auditremark:
  3463. description: 审核备注
  3464. type: string
  3465. auditsrc:
  3466. description: 审核来源 - 1:管理端 2:终端
  3467. type: integer
  3468. audittime:
  3469. description: 审核时间
  3470. type: string
  3471. audittradedate:
  3472. description: 审核交易日(yyyyMMdd)
  3473. type: string
  3474. brandname:
  3475. description: 品牌名称
  3476. type: string
  3477. buynickname:
  3478. description: 采购方昵称
  3479. type: string
  3480. buyuserid:
  3481. description: 采购方userid
  3482. type: integer
  3483. buyusername:
  3484. description: 采购方名称
  3485. type: string
  3486. contractno:
  3487. description: 合同编号
  3488. type: string
  3489. contractqty:
  3490. description: 合同量
  3491. type: number
  3492. contracttype:
  3493. description: 现货合同类型 - 1:采购 -1:销售
  3494. type: integer
  3495. deliverygoodscode:
  3496. description: 现货品种代码
  3497. type: string
  3498. deliverygoodsid:
  3499. description: 现货品种id
  3500. type: integer
  3501. deliverygoodsname:
  3502. description: 现货品种名称
  3503. type: string
  3504. detailjson:
  3505. description: 明细数据
  3506. type: string
  3507. enumdicname:
  3508. description: 现货商品单位名称
  3509. type: string
  3510. inoutapplyid:
  3511. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3512. type: string
  3513. inouttype:
  3514. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3515. type: integer
  3516. pricetype:
  3517. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3518. type: integer
  3519. qty:
  3520. description: 数量
  3521. type: number
  3522. sellnickname:
  3523. description: 销售方昵称
  3524. type: string
  3525. selluserid:
  3526. description: 销售方userid
  3527. type: integer
  3528. sellusername:
  3529. description: 销售方名称
  3530. type: string
  3531. spotcontractid:
  3532. description: 关联现货合同ID
  3533. type: string
  3534. spotgoodsbrandid:
  3535. description: 现货品牌ID
  3536. type: integer
  3537. unitid:
  3538. description: 单位id
  3539. type: integer
  3540. userid:
  3541. description: 机构ID
  3542. type: integer
  3543. warehousecode:
  3544. description: 仓库代码
  3545. type: string
  3546. warehouseinfoid:
  3547. description: 现货仓库ID
  3548. type: string
  3549. warehousename:
  3550. description: 仓库名称
  3551. type: string
  3552. warehousetype:
  3553. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3554. type: integer
  3555. wrstandardcode:
  3556. description: 品类代码
  3557. type: string
  3558. wrstandardid:
  3559. description: 品类ID
  3560. type: integer
  3561. wrstandardname:
  3562. description: 品类名称
  3563. type: string
  3564. type: object
  3565. models.Ermcp3AreaStockApplySum:
  3566. properties:
  3567. brandname:
  3568. description: 品牌名称
  3569. type: string
  3570. inouttype:
  3571. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3572. type: integer
  3573. spotcontractid:
  3574. description: 关联现货合同ID
  3575. type: string
  3576. spotgoodsbrandid:
  3577. description: 品牌id
  3578. type: integer
  3579. totalqty:
  3580. description: 总数量
  3581. type: number
  3582. wrstandardid:
  3583. description: 品类id
  3584. type: integer
  3585. wrstandardname:
  3586. description: 品类名称
  3587. type: string
  3588. type: object
  3589. models.Ermcp3AreaStockReportEx:
  3590. properties:
  3591. begindate:
  3592. description: 开始交易日
  3593. type: string
  3594. brandname:
  3595. description: 品牌名称
  3596. type: string
  3597. curstock:
  3598. description: 期末库存量
  3599. type: number
  3600. cycletime:
  3601. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3602. type: string
  3603. cycletype:
  3604. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3605. type: integer
  3606. deliverygoodscode:
  3607. description: 现货品种代码
  3608. type: string
  3609. deliverygoodsid:
  3610. description: 现货品种id
  3611. type: integer
  3612. deliverygoodsname:
  3613. description: 现货品种名称
  3614. type: string
  3615. diffqty:
  3616. description: 库存变化量 = 期末 - 期初
  3617. type: number
  3618. enddate:
  3619. description: 结束交易日
  3620. type: string
  3621. enumdicname:
  3622. description: 单位名称
  3623. type: string
  3624. goodsunitid:
  3625. description: 现货单位id
  3626. type: integer
  3627. oristock:
  3628. description: 期初库存量
  3629. type: number
  3630. reckondate:
  3631. description: 日照时期(yyyyMMdd)
  3632. type: string
  3633. spotgoodsbrandid:
  3634. description: 现货品牌ID
  3635. type: integer
  3636. todaybuyinqty:
  3637. description: 今采购入库量
  3638. type: number
  3639. todayproduceinqty:
  3640. description: 今内部入库量
  3641. type: number
  3642. todayproduceoutqty:
  3643. description: 今内部出库量
  3644. type: number
  3645. todayselloutqty:
  3646. description: 今销售出库量
  3647. type: number
  3648. unbuyinqty:
  3649. description: 采购未入库量(数据库未找到相关字段?)
  3650. type: number
  3651. unitid:
  3652. description: 品类单位id
  3653. type: integer
  3654. unselloutqty:
  3655. description: 销售未出库量(数据库未找到相关字段?)
  3656. type: number
  3657. updatetime:
  3658. description: 更新时间
  3659. type: string
  3660. userid:
  3661. description: 机构ID
  3662. type: integer
  3663. username:
  3664. description: 机构名称
  3665. type: string
  3666. warehousecode:
  3667. description: 仓库代码
  3668. type: string
  3669. warehouseinfoid:
  3670. description: 仓库ID
  3671. type: string
  3672. warehousename:
  3673. description: 仓库名称
  3674. type: string
  3675. warehousetype:
  3676. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3677. type: integer
  3678. wrstandardcode:
  3679. description: 品类代码
  3680. type: string
  3681. wrstandardid:
  3682. description: 品类ID
  3683. type: integer
  3684. wrstandardname:
  3685. description: 品类名称
  3686. type: string
  3687. type: object
  3688. models.Ermcp3ArealSumPL:
  3689. properties:
  3690. accountname:
  3691. description: 机构名称
  3692. type: string
  3693. areauserid:
  3694. description: 所属机构\交易用户ID
  3695. type: integer
  3696. begindate:
  3697. description: 开始交易日
  3698. type: string
  3699. currencyid:
  3700. description: 结算币种ID
  3701. type: integer
  3702. currencyname:
  3703. description: 币种名称
  3704. type: string
  3705. cycletime:
  3706. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3707. type: string
  3708. cycletype:
  3709. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3710. type: integer
  3711. enddate:
  3712. description: 结束交易日
  3713. type: string
  3714. enumdicname:
  3715. description: 单位名称(套保品种)
  3716. type: string
  3717. futureactualpl:
  3718. description: 期货损益
  3719. type: number
  3720. futurefloatpl:
  3721. description: 期货浮动损益
  3722. type: number
  3723. goodsunitid:
  3724. description: 套保品种单位id
  3725. type: integer
  3726. middlegoodscode:
  3727. description: 套保品种代码
  3728. type: string
  3729. middlegoodsid:
  3730. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3731. type: integer
  3732. middlegoodsname:
  3733. description: 套保品种名称
  3734. type: string
  3735. reckondate:
  3736. description: 日照时期(yyyyMMdd)
  3737. type: string
  3738. spotactualpl:
  3739. description: 现货损益
  3740. type: number
  3741. spotfloatpl:
  3742. description: 现货浮动损益
  3743. type: number
  3744. sumactualpl:
  3745. description: 实际损益 = (ActualPL + FutureActualPL)
  3746. type: number
  3747. sumpl:
  3748. description: 汇总损益
  3749. type: number
  3750. updatetime:
  3751. description: 更新时间
  3752. type: string
  3753. type: object
  3754. models.Ermcp3Brand:
  3755. properties:
  3756. areauserid:
  3757. description: 用户id
  3758. type: integer
  3759. brandid:
  3760. description: 品牌id
  3761. type: integer
  3762. brandname:
  3763. description: 品牌名称
  3764. type: string
  3765. deliverygoodsid:
  3766. description: 品种ID
  3767. type: integer
  3768. type: object
  3769. models.Ermcp3Contract:
  3770. properties:
  3771. accountid:
  3772. description: 期货账户id
  3773. type: string
  3774. amount:
  3775. description: 金额 [1:一口价、3:暂定价]
  3776. type: number
  3777. attachment:
  3778. description: 附件
  3779. type: string
  3780. auditremark:
  3781. description: 审核意见
  3782. type: string
  3783. audittime:
  3784. description: 审核时间
  3785. type: string
  3786. biztype:
  3787. description: 业务类型 1-套保 2-套利
  3788. type: integer
  3789. brandname:
  3790. description: 品牌名称
  3791. type: string
  3792. buynickname:
  3793. description: 销售方昵称
  3794. type: string
  3795. buyuserid:
  3796. description: 采购方ID
  3797. type: integer
  3798. buyusername:
  3799. description: 采购方名称
  3800. type: string
  3801. contracctstatus:
  3802. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3803. type: integer
  3804. contractmargin:
  3805. description: 合同保证金
  3806. type: number
  3807. contractno:
  3808. description: 现货合同编号
  3809. type: string
  3810. contracttype:
  3811. description: 现货合同类型 - 1:采购 -1:销售
  3812. type: integer
  3813. convertfactor:
  3814. description: 标仓系数(品类)
  3815. type: number
  3816. createtime:
  3817. description: 创建时间
  3818. type: string
  3819. currencyid:
  3820. description: 币种id
  3821. type: integer
  3822. currencyname:
  3823. description: 币种名称
  3824. type: string
  3825. deliveryenddate:
  3826. description: 交收期(结束)
  3827. type: string
  3828. deliverygoodscode:
  3829. description: 现货品种代码
  3830. type: string
  3831. deliverygoodsid:
  3832. description: 现货品种ID
  3833. type: integer
  3834. deliverygoodsname:
  3835. description: 现货品种名称
  3836. type: string
  3837. deliverystartdate:
  3838. description: 交收期(开始)
  3839. type: string
  3840. enddate:
  3841. description: 点价结束日期 [2:点价 3:暂定价]
  3842. type: string
  3843. enumdicname:
  3844. description: 单位名称
  3845. type: string
  3846. goodscode:
  3847. description: 点价合约代码
  3848. type: string
  3849. goodsid:
  3850. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3851. type: integer
  3852. goodsname:
  3853. description: 点价商品名称
  3854. type: string
  3855. margin:
  3856. description: 当前保证金
  3857. type: number
  3858. meruserid:
  3859. description: 跟单员id
  3860. type: integer
  3861. meruserlogincode:
  3862. description: 跟单员登录代码
  3863. type: string
  3864. merusername:
  3865. description: 跟单员名称
  3866. type: string
  3867. price:
  3868. description: 价格\暂定价 [1:一口价、3:暂定价]
  3869. type: number
  3870. pricemove:
  3871. description: 升贴水 [2:点价 3:暂定价]
  3872. type: number
  3873. pricetype:
  3874. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3875. type: integer
  3876. producttype:
  3877. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3878. type: integer
  3879. qty:
  3880. description: 数量
  3881. type: number
  3882. remark:
  3883. description: 备注
  3884. type: string
  3885. saleuserid:
  3886. description: 业务员id
  3887. type: integer
  3888. saleuserlogincode:
  3889. description: 业务员登录代码
  3890. type: string
  3891. saleusername:
  3892. description: 业务员名称
  3893. type: string
  3894. sellnickname:
  3895. description: 采购方昵称
  3896. type: string
  3897. selluserid:
  3898. description: 销售方ID
  3899. type: integer
  3900. sellusername:
  3901. description: 销售方名称
  3902. type: string
  3903. spotcontractid:
  3904. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3905. type: string
  3906. spotgoodsbrandid:
  3907. description: 现货品牌ID(DGFactoryItem表的ID)
  3908. type: integer
  3909. spotgoodsdesc:
  3910. description: 商品型号
  3911. type: string
  3912. startdate:
  3913. description: 点价开始日期 [2:点价 3:暂定价]
  3914. type: string
  3915. tradeuserid:
  3916. description: 交易员id
  3917. type: integer
  3918. tradeuserlogincode:
  3919. description: 交易员登录代码
  3920. type: string
  3921. tradeusername:
  3922. description: 交易员名称
  3923. type: string
  3924. unitid:
  3925. description: 单位id(取品类上的单位id)
  3926. type: integer
  3927. updatetime:
  3928. description: 更新时间
  3929. type: string
  3930. userid:
  3931. description: 所属机构ID
  3932. type: integer
  3933. wrstandardcode:
  3934. description: 品类代码
  3935. type: string
  3936. wrstandardid:
  3937. description: 品类ID
  3938. type: integer
  3939. wrstandardname:
  3940. description: 品类名称
  3941. type: string
  3942. type: object
  3943. models.Ermcp3ExposureContractDetail:
  3944. properties:
  3945. biztype:
  3946. description: 业务类型 1-套保 2-套利
  3947. type: integer
  3948. brandname:
  3949. description: 品牌名称
  3950. type: string
  3951. buyuserid:
  3952. description: 采购方id
  3953. type: integer
  3954. buyusername:
  3955. description: 采购方名称
  3956. type: string
  3957. contractno:
  3958. description: 合同编号
  3959. type: string
  3960. contracttype:
  3961. description: 现货合同类型 - 1:采购 -1:销售
  3962. type: integer
  3963. convertfactor:
  3964. description: 标仓系数
  3965. type: number
  3966. convertratio:
  3967. description: 折算系数(套保品种)
  3968. type: number
  3969. curqty:
  3970. description: 今定价量
  3971. type: number
  3972. deliverygoodscode:
  3973. description: 现货商品代码
  3974. type: string
  3975. deliverygoodsid:
  3976. description: 现货商品id
  3977. type: integer
  3978. deliverygoodsname:
  3979. description: 现货商品名称
  3980. type: string
  3981. diffhedgeqty:
  3982. description: 套保变动量
  3983. type: number
  3984. diffneedhedgeqty:
  3985. description: 应套保变动量
  3986. type: number
  3987. diffqty:
  3988. description: 套保品种今变动量
  3989. type: number
  3990. enumdicname:
  3991. description: 单位名称
  3992. type: string
  3993. mgunitname:
  3994. description: 套保品种单位名称
  3995. type: string
  3996. middlegoodscode:
  3997. description: 套保品种代码
  3998. type: string
  3999. middlegoodsid:
  4000. description: 套保品种id
  4001. type: integer
  4002. middlegoodsname:
  4003. description: 套保品种名称
  4004. type: string
  4005. needarbitrageratio:
  4006. description: 应套利比例
  4007. type: number
  4008. needhedgeratio:
  4009. description: 应套保比例
  4010. type: number
  4011. pricedqty:
  4012. description: 已定价量
  4013. type: number
  4014. qty:
  4015. description: 合同量
  4016. type: number
  4017. selluserid:
  4018. description: 销售方id
  4019. type: integer
  4020. sellusername:
  4021. description: 销售方名称
  4022. type: string
  4023. spotcontractid:
  4024. description: 合同id
  4025. type: string
  4026. todaypricedqty:
  4027. description: 今定价量
  4028. type: number
  4029. tradedate:
  4030. description: 交易日
  4031. type: string
  4032. unitid:
  4033. description: 品类单位id
  4034. type: integer
  4035. userid:
  4036. description: 机构id
  4037. type: integer
  4038. username:
  4039. description: 交易用户
  4040. type: string
  4041. wrstandardcode:
  4042. description: 品类代码
  4043. type: string
  4044. wrstandardid:
  4045. description: 品类id
  4046. type: integer
  4047. wrstandardname:
  4048. description: 品类名称
  4049. type: string
  4050. type: object
  4051. models.Ermcp3ExposureDetail:
  4052. properties:
  4053. areauserid:
  4054. description: 机构ID
  4055. type: integer
  4056. changeQty:
  4057. description: 套保变动量
  4058. type: number
  4059. contracttype:
  4060. description: 现货合同类型 - 1:采购 -1:销售
  4061. type: integer
  4062. convertfactor:
  4063. description: 标仓系数
  4064. type: number
  4065. convertratio:
  4066. description: 套保系数
  4067. type: number
  4068. createtime:
  4069. description: 时间
  4070. type: string
  4071. deliverygoodscode:
  4072. description: 现货品种代码
  4073. type: string
  4074. deliverygoodsid:
  4075. description: 现货品种id
  4076. type: integer
  4077. deliverygoodsname:
  4078. description: 现货品种名称
  4079. type: string
  4080. enumdicname:
  4081. description: 现货商品单位名称
  4082. type: string
  4083. logtype:
  4084. description: 类型 - 1:套保计划 2:现货合同
  4085. type: integer
  4086. mgunitid:
  4087. description: 套保品种单位id
  4088. type: integer
  4089. mgunitidname:
  4090. description: 套保品种单位名称
  4091. type: string
  4092. middlegoodsId:
  4093. description: 套保商品id
  4094. type: integer
  4095. middlegoodscode:
  4096. description: 套保商品代码
  4097. type: string
  4098. middlegoodsname:
  4099. description: 套保商品名称
  4100. type: string
  4101. qty:
  4102. description: 数量
  4103. type: number
  4104. relateNo:
  4105. description: 现货合同/套保计划编号
  4106. type: string
  4107. type: object
  4108. models.Ermcp3ExposureFutuDetail:
  4109. properties:
  4110. accountid:
  4111. description: 交易账户id
  4112. type: integer
  4113. accountname:
  4114. description: 交易账户
  4115. type: string
  4116. begindate:
  4117. description: 开始交易日
  4118. type: string
  4119. buyorsell:
  4120. description: 方向 0-买 1-卖
  4121. type: integer
  4122. diffmgqty:
  4123. description: 套保品种今变化量
  4124. type: number
  4125. diffneedqty:
  4126. description: 应套保总量变化量
  4127. type: number
  4128. difftradeqty:
  4129. description: 交易品种今变化量
  4130. type: number
  4131. enddate:
  4132. description: 结束交易日
  4133. type: string
  4134. enumdicname:
  4135. description: 单位名称
  4136. type: string
  4137. goodscode:
  4138. description: 商品代码
  4139. type: string
  4140. goodsid:
  4141. description: 商品id
  4142. type: integer
  4143. goodsname:
  4144. description: 商品名称
  4145. type: string
  4146. holdqty:
  4147. description: 期末持仓量
  4148. type: number
  4149. middlegoodscode:
  4150. description: 套保商品代码
  4151. type: string
  4152. middlegoodsid:
  4153. description: 套保商品id
  4154. type: integer
  4155. middlegoodsname:
  4156. description: 套保商品名称
  4157. type: string
  4158. oriholdqty:
  4159. description: 期初持仓量
  4160. type: number
  4161. todaycloseqty:
  4162. description: 今平仓量
  4163. type: number
  4164. todayopenqty:
  4165. description: 今开仓量
  4166. type: number
  4167. tradedate:
  4168. description: 交易日
  4169. type: string
  4170. type: object
  4171. models.Ermcp3ExposureHedgeplanDetail:
  4172. properties:
  4173. biztype:
  4174. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4175. type: integer
  4176. changqty:
  4177. description: 应套保总量变化量
  4178. type: number
  4179. contracttype:
  4180. description: 计划类型 - 1:采购 -1:销售
  4181. type: integer
  4182. convertratio:
  4183. description: 折算系数(套保品种)
  4184. type: number
  4185. deliverygoodscode:
  4186. description: 现货商品代码
  4187. type: string
  4188. deliverygoodsid:
  4189. description: 现货商品id
  4190. type: integer
  4191. deliverygoodsname:
  4192. description: 现货商吕名称
  4193. type: string
  4194. dgunitid:
  4195. description: 现货商品单位id
  4196. type: integer
  4197. dgunitidname:
  4198. description: 单位名称(现货商品)
  4199. type: string
  4200. diffqty:
  4201. description: 套保品种今变动量
  4202. type: number
  4203. enumdicname:
  4204. description: 单位名称(品类)
  4205. type: string
  4206. hedgeplanid:
  4207. description: 套保计划id
  4208. type: string
  4209. hedgeplanno:
  4210. description: 套保计划名称
  4211. type: string
  4212. hedgeplanstatus:
  4213. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4214. type: integer
  4215. mgunitidname:
  4216. description: 单位名称(套保商品)
  4217. type: string
  4218. middlegoodscode:
  4219. description: 套保品种代码
  4220. type: string
  4221. middlegoodsid:
  4222. description: 套保品种id
  4223. type: integer
  4224. middlegoodsname:
  4225. description: 套保品种名称
  4226. type: string
  4227. needarbitrageratio:
  4228. description: 应套利比例
  4229. type: number
  4230. needhedgeratio:
  4231. description: 应套保比例
  4232. type: number
  4233. pricedqty:
  4234. description: 已定价量
  4235. type: number
  4236. qty:
  4237. description: 合同量
  4238. type: number
  4239. tradedate:
  4240. description: 交易日(登记日)
  4241. type: string
  4242. unitid:
  4243. description: 品类单位id
  4244. type: integer
  4245. userid:
  4246. description: 机构id
  4247. type: integer
  4248. wrstandardcode:
  4249. description: 品类代码
  4250. type: string
  4251. wrstandardid:
  4252. description: 品类id
  4253. type: integer
  4254. wrstandardname:
  4255. description: 品类名称
  4256. type: string
  4257. type: object
  4258. models.Ermcp3ExposureParamChLog:
  4259. properties:
  4260. accountid:
  4261. description: 期货账户ID (作废, 默认为0)
  4262. type: integer
  4263. aftervalue:
  4264. description: 应套保\套利量变更后(调整后应套保总量)
  4265. type: number
  4266. areauserid:
  4267. description: 所属机构\交易用户ID
  4268. type: integer
  4269. beforevalue:
  4270. description: 应套保\套利量变更前(调整前应套保总量)
  4271. type: number
  4272. begindate:
  4273. description: 开始交易日
  4274. type: string
  4275. changelogtype:
  4276. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4277. type: integer
  4278. curvalue:
  4279. description: 当前套保\套利量(套保总量|套利总量)
  4280. type: number
  4281. diffvalue:
  4282. description: 应套保总量变化量
  4283. type: number
  4284. enddate:
  4285. description: 结束交易日
  4286. type: string
  4287. logdatetime:
  4288. description: 流水日期
  4289. type: string
  4290. logid:
  4291. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4292. type: string
  4293. middlegoodscode:
  4294. description: 套保品种代码
  4295. type: string
  4296. middlegoodsid:
  4297. description: 套保品种
  4298. type: integer
  4299. middlegoodsname:
  4300. description: 套保品种名称
  4301. type: string
  4302. paramaftervalue:
  4303. description: 参数变更后(调整后参数值)
  4304. type: number
  4305. parambeforevalue:
  4306. description: 参数变更前(调整前参数值)
  4307. type: number
  4308. tradedate:
  4309. description: 交易日(yyyyMMdd)
  4310. type: string
  4311. type: object
  4312. models.Ermcp3ExpourseReport:
  4313. properties:
  4314. accountid:
  4315. description: 期货账户ID (作废, 默认为0)
  4316. type: integer
  4317. accountname:
  4318. description: 机构名称
  4319. type: string
  4320. arbitrageqty:
  4321. description: 套利量
  4322. type: number
  4323. areauserid:
  4324. description: 所属机构\交易用户ID
  4325. type: integer
  4326. begindate:
  4327. description: 开始交易日
  4328. type: string
  4329. buyfutureqty:
  4330. description: 买入期货数量
  4331. type: number
  4332. buyplanqty:
  4333. description: 采购计划数量
  4334. type: number
  4335. buypricedqty:
  4336. description: 采购合同已定价数量
  4337. type: number
  4338. cycletime:
  4339. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4340. type: string
  4341. cycletype:
  4342. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4343. type: integer
  4344. diffexposure:
  4345. description: 变动量(套保敞口)
  4346. type: number
  4347. difffutuqty:
  4348. description: 变动量(期货)
  4349. type: number
  4350. diffhedgeqty:
  4351. description: 变动量(现货应套保总量)
  4352. type: number
  4353. diffmgqtya:
  4354. description: 套保变动量
  4355. type: number
  4356. diffmgqtyb:
  4357. description: 套利变动量
  4358. type: number
  4359. diffqty:
  4360. description: 变动量(总敞口)
  4361. type: number
  4362. diffspotqty:
  4363. description: 变动量(现货)
  4364. type: number
  4365. enddate:
  4366. description: 结束交易日
  4367. type: string
  4368. enumdicname:
  4369. description: 单位名称
  4370. type: string
  4371. hedgeqty:
  4372. description: 套保量
  4373. type: number
  4374. mgneedhedgeratio:
  4375. description: 套保比例(套保品的)
  4376. type: number
  4377. middlegoodsid:
  4378. description: 套保品种ID
  4379. type: integer
  4380. middlegoodsname:
  4381. description: 套保商品名称
  4382. type: string
  4383. middlgoodscode:
  4384. description: 套保商品代码
  4385. type: string
  4386. needarbitrageqty:
  4387. description: 应套利量
  4388. type: number
  4389. needarbitrageratio:
  4390. description: 套利比例(套保品的)
  4391. type: number
  4392. needhedgeexposoure:
  4393. description: 应套保敞口(套保敞口)
  4394. type: number
  4395. needhedgeqty:
  4396. description: 应套保量
  4397. type: number
  4398. needhedgeratio:
  4399. description: 应套保敞口比例
  4400. type: number
  4401. oriarbitrageqty:
  4402. description: 期初套利量
  4403. type: number
  4404. oribuyfutureqty:
  4405. description: 期初买入期货数量
  4406. type: number
  4407. oribuyplanqty:
  4408. description: 期初采购计划数量
  4409. type: number
  4410. oribuypricedqty:
  4411. description: 期初采购合同已定价数量
  4412. type: number
  4413. orihedgeqty:
  4414. description: 期初套保量
  4415. type: number
  4416. orineedarbitrageqty:
  4417. description: 期初应套利量
  4418. type: number
  4419. orineedhedgeexposoure:
  4420. description: 期初应套保敞口
  4421. type: number
  4422. orineedhedgeqty:
  4423. description: 期初应套保量
  4424. type: number
  4425. orisellfutureqty:
  4426. description: 期初卖出期货数量
  4427. type: number
  4428. orisellplanqty:
  4429. description: 期初销售计划数量
  4430. type: number
  4431. orisellpricedqty:
  4432. description: 期初销售合同已定价数量
  4433. type: number
  4434. oritotalexposure:
  4435. description: 期初实时总敞口
  4436. type: number
  4437. oritotalfutureqty:
  4438. description: 期初期货头寸总量
  4439. type: number
  4440. oritotalneedhedgeqty:
  4441. description: 期初应套保总量
  4442. type: number
  4443. oritotalspotqty:
  4444. description: 期初现货头寸总量
  4445. type: number
  4446. reckondate:
  4447. description: 日照时期(yyyyMMdd)
  4448. type: string
  4449. sellfutureqty:
  4450. description: 卖出期货数量
  4451. type: number
  4452. sellplanqty:
  4453. description: 销售计划数量
  4454. type: number
  4455. sellpricedqty:
  4456. description: 销售合同已定价数量
  4457. type: number
  4458. totalexposure:
  4459. description: 实时总敞口(总敞口)
  4460. type: number
  4461. totalfutureqty:
  4462. description: 期货头寸总量(期货总量)
  4463. type: number
  4464. totalhedgeratio:
  4465. description: 敞口比例
  4466. type: number
  4467. totalneedhedgeqty:
  4468. description: 应套保总量(现货应套保总量)
  4469. type: number
  4470. totalspotqty:
  4471. description: 现货头寸总量
  4472. type: number
  4473. unitid:
  4474. description: 单位id
  4475. type: integer
  4476. updatetime:
  4477. description: 更新时间
  4478. type: string
  4479. type: object
  4480. models.Ermcp3FinanceReport:
  4481. properties:
  4482. accountname:
  4483. description: 机构名称
  4484. type: string
  4485. areauserid:
  4486. description: 所属机构\交易用户ID
  4487. type: integer
  4488. begindate:
  4489. description: 开始交易日
  4490. type: string
  4491. biztype:
  4492. description: 业务类型 - 1:套保 2:套利
  4493. type: integer
  4494. brandname:
  4495. description: 品牌名称
  4496. type: string
  4497. buypreinvoicedamount:
  4498. description: 采购预收票额(预收票额)
  4499. type: number
  4500. buyprepaidamount:
  4501. description: 采购预付款额(预付货款额)
  4502. type: number
  4503. buytodayinvoiceamount:
  4504. description: 采购今收票额(今收票额)
  4505. type: number
  4506. buytodayrefundamount:
  4507. description: 采购今收退款额(今收退款额)
  4508. type: number
  4509. buytodaysettleamount:
  4510. description: 采购今付款额(今付货款额)
  4511. type: number
  4512. buyuninvoicedamount:
  4513. description: 采购应收票额(应收票额)
  4514. type: number
  4515. buyunpaidamount:
  4516. description: 采购应付款额(应付货款额)
  4517. type: number
  4518. currencyid:
  4519. description: 结算币种ID
  4520. type: integer
  4521. currencyname:
  4522. description: 币种名称
  4523. type: string
  4524. cycletime:
  4525. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4526. type: string
  4527. cycletype:
  4528. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4529. type: integer
  4530. deliverygoodscode:
  4531. description: 现货品种代码
  4532. type: string
  4533. deliverygoodsid:
  4534. description: 现货品种ID
  4535. type: integer
  4536. deliverygoodsname:
  4537. description: 现货品种名称
  4538. type: string
  4539. enddate:
  4540. description: 结束交易日
  4541. type: string
  4542. reckondate:
  4543. description: 日照时期(yyyyMMdd)
  4544. type: string
  4545. sellpreinvoicedamount:
  4546. description: 销售预开票额(预开票额)
  4547. type: number
  4548. sellprepaidamount:
  4549. description: 销售预收款额(预收货款额)
  4550. type: number
  4551. selltodayinvoiceamount:
  4552. description: 销售今开票额(今开票额)
  4553. type: number
  4554. selltodayrefundamount:
  4555. description: 销售今付退款额(今付退款额)
  4556. type: number
  4557. selltodaysettleamount:
  4558. description: 销售今收款额(今收货款额)
  4559. type: number
  4560. selluninvoicedamount:
  4561. description: 销售应开票额(应开票额)
  4562. type: number
  4563. sellunpaidamount:
  4564. description: 销售应收款额(应收货款额)
  4565. type: number
  4566. spotgoodsbrandid:
  4567. description: 现货品牌ID
  4568. type: integer
  4569. todaypaysum:
  4570. description: 今付款合计
  4571. type: number
  4572. todayreceivesum:
  4573. description: 今收款合计
  4574. type: number
  4575. updatetime:
  4576. description: 更新时间
  4577. type: string
  4578. wrfactortypeid:
  4579. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4580. type: integer
  4581. wrstandardcode:
  4582. description: 品类代码
  4583. type: string
  4584. wrstandardid:
  4585. description: 现货商品ID
  4586. type: integer
  4587. wrstandardname:
  4588. description: 品类名称
  4589. type: string
  4590. type: object
  4591. models.Ermcp3Goods:
  4592. properties:
  4593. agreeunit:
  4594. description: 合约单位(合约乘数)
  4595. type: number
  4596. enumdicname:
  4597. description: 单位名称
  4598. type: string
  4599. exexchangecode:
  4600. description: 交易所代码
  4601. type: string
  4602. goodscode:
  4603. description: 期货商品代码
  4604. type: string
  4605. goodsid:
  4606. description: 期货商品id
  4607. type: integer
  4608. goodsname:
  4609. description: 期货商品名称
  4610. type: string
  4611. type: object
  4612. models.Ermcp3GoodsGroup:
  4613. properties:
  4614. agreeunit:
  4615. description: 合约单位
  4616. type: number
  4617. areauserid:
  4618. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4619. type: integer
  4620. canshort:
  4621. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4622. type: integer
  4623. closepricemode:
  4624. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4625. type: integer
  4626. createtime:
  4627. description: 创建时间
  4628. type: string
  4629. creatorid:
  4630. description: 创建人
  4631. type: integer
  4632. currencyid:
  4633. description: 报价货币ID
  4634. type: integer
  4635. decimalplace:
  4636. description: 报价小数位
  4637. type: integer
  4638. enumdicname:
  4639. description: 单位名称
  4640. type: string
  4641. exchangefullname:
  4642. description: 交易所全称
  4643. type: string
  4644. excludecfg:
  4645. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4646. type: integer
  4647. exexchangecode:
  4648. description: 交易所代码
  4649. type: string
  4650. exexchangeid:
  4651. description: 外部交易所ID[通道交易]
  4652. type: integer
  4653. exexchangename:
  4654. description: 交易所名称
  4655. type: string
  4656. goodsgroupid:
  4657. description: 商品组ID(自增ID)
  4658. type: integer
  4659. goodsgroupname:
  4660. description: 商品组名称
  4661. type: string
  4662. goodsgroupstatus:
  4663. description: 商品组状态 - 1:正常 2:注销
  4664. type: integer
  4665. goodunitid:
  4666. description: 报价单位ID
  4667. type: integer
  4668. groupcategroyid:
  4669. description: 品种分类ID
  4670. type: integer
  4671. innerdealmode:
  4672. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4673. type: integer
  4674. marketid:
  4675. description: 所属市场ID
  4676. type: integer
  4677. modifierid:
  4678. description: 修改人
  4679. type: integer
  4680. modifytime:
  4681. description: 修改时间
  4682. type: string
  4683. outerdealmode:
  4684. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4685. type: integer
  4686. outergroupcode:
  4687. description: 外部商品组代码[通道交易]
  4688. type: string
  4689. quoteminunit:
  4690. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4691. type: integer
  4692. quotesourcegroupid:
  4693. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4694. type: integer
  4695. syncgoodsqty:
  4696. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4697. type: integer
  4698. required:
  4699. - areauserid
  4700. type: object
  4701. models.Ermcp3GoodsGroupEx:
  4702. properties:
  4703. convertratio:
  4704. description: 折算系数(品种系数)
  4705. type: number
  4706. enumdicname:
  4707. description: 单位名称
  4708. type: string
  4709. exexchangecode:
  4710. description: 交易所代码
  4711. type: string
  4712. glist:
  4713. description: 合约列表
  4714. items:
  4715. $ref: '#/definitions/models.Ermcp3Goods'
  4716. type: array
  4717. goodsgroupid:
  4718. description: 商品组id
  4719. type: integer
  4720. goodsgroupname:
  4721. description: 商品组名称
  4722. type: string
  4723. goodsunitid:
  4724. description: 单位id
  4725. type: integer
  4726. middlegoodsid:
  4727. description: 套保商品id
  4728. type: integer
  4729. type: object
  4730. models.Ermcp3HedgePlan:
  4731. properties:
  4732. accountid:
  4733. description: 资金账号
  4734. type: integer
  4735. areauserid:
  4736. description: 用户ID
  4737. type: integer
  4738. auditid:
  4739. description: 审核id
  4740. type: integer
  4741. auditname:
  4742. description: 审核人名称
  4743. type: string
  4744. auditremark:
  4745. description: 审核备注
  4746. type: string
  4747. auditsrc:
  4748. description: 审核来源 1-管理端 2-终端
  4749. type: integer
  4750. audittime:
  4751. description: 审核时间
  4752. type: string
  4753. contracttype:
  4754. description: 计划类型 - 1:采购 -1:销售
  4755. type: integer
  4756. convertfactor:
  4757. description: 标仓系数
  4758. type: number
  4759. createtime:
  4760. description: 创建时间
  4761. type: string
  4762. currencyid:
  4763. description: 币种id
  4764. type: integer
  4765. currencyname:
  4766. description: 币种名称
  4767. type: string
  4768. deliverygoodscode:
  4769. description: 现货品种代码
  4770. type: string
  4771. deliverygoodsid:
  4772. description: 现货品种ID
  4773. type: integer
  4774. deliverygoodsname:
  4775. description: 现货品种名称
  4776. type: string
  4777. enumdicname:
  4778. description: 单位名称(现货商品)
  4779. type: string
  4780. hedgeplanid:
  4781. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4782. type: string
  4783. hedgeplanno:
  4784. description: 套保计划编号(名称)
  4785. type: string
  4786. hedgeplanstatus:
  4787. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4788. type: integer
  4789. planqty:
  4790. description: 计划数量
  4791. type: number
  4792. plantime:
  4793. description: 计划时间
  4794. type: string
  4795. producttype:
  4796. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4797. type: integer
  4798. remark:
  4799. description: 备注
  4800. type: string
  4801. spotgoodsdesc:
  4802. description: 商品型号
  4803. type: string
  4804. taaccountname:
  4805. description: 资金账号名称
  4806. type: string
  4807. tradeuserid:
  4808. description: 交易用户id
  4809. type: integer
  4810. tradeusername:
  4811. description: 交易用户名称
  4812. type: string
  4813. unitid:
  4814. description: 单位id(现货商品)
  4815. type: integer
  4816. updatetime:
  4817. description: 更新时间
  4818. type: string
  4819. wrstandardcode:
  4820. description: 品类代码
  4821. type: string
  4822. wrstandardid:
  4823. description: 品类id
  4824. type: integer
  4825. wrstandardname:
  4826. description: 品类名称
  4827. type: string
  4828. wrunitid:
  4829. description: 品类单位id
  4830. type: integer
  4831. wrunitidame:
  4832. description: 品类单位名称
  4833. type: string
  4834. type: object
  4835. models.Ermcp3MiddleGoodsDetail2:
  4836. properties:
  4837. convertratio:
  4838. description: 套保系数(折算系数)
  4839. type: number
  4840. gplist:
  4841. description: 关联商品组列表
  4842. items:
  4843. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4844. type: array
  4845. mg:
  4846. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4847. description: 套保商品信息
  4848. type: object
  4849. type: object
  4850. models.Ermcp3MiddleGoodsDetailEx:
  4851. properties:
  4852. dglist:
  4853. description: 关联的现货品种列表
  4854. items:
  4855. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4856. type: array
  4857. gplist:
  4858. description: 关联商品组列表
  4859. items:
  4860. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4861. type: array
  4862. mg:
  4863. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4864. description: 套保商品信息
  4865. type: object
  4866. type: object
  4867. models.Ermcp3RootUserAccount:
  4868. properties:
  4869. accountname:
  4870. description: 账户名称(机构名称)
  4871. type: string
  4872. accountstatus:
  4873. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4874. type: integer
  4875. applysrc:
  4876. description: 申请来源 - 1:管理端 2:终端
  4877. type: integer
  4878. auditremark:
  4879. description: 审核备注
  4880. type: string
  4881. auditsrc:
  4882. description: 审核来源 - 1:管理端 2:终端
  4883. type: integer
  4884. audittime:
  4885. description: 审核时间
  4886. type: string
  4887. audituserid:
  4888. description: 审核人
  4889. type: integer
  4890. broker:
  4891. description: 所属经纪人ID
  4892. type: integer
  4893. canceltime:
  4894. description: 销户时间
  4895. type: string
  4896. canceluserid:
  4897. description: 销户人
  4898. type: integer
  4899. canrecommend:
  4900. description: 是否可推荐 - 0:不可 1;可
  4901. type: integer
  4902. createtime:
  4903. description: 创建时间
  4904. type: string
  4905. creatorid:
  4906. description: 创建人
  4907. type: integer
  4908. hasauth:
  4909. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4910. type: integer
  4911. isanonymous:
  4912. description: 是否匿名下单 - 0:否 1:是
  4913. type: integer
  4914. maxinvestornum:
  4915. description: 最大用户数(经纪会员下投资者个数)
  4916. type: integer
  4917. memberuserid:
  4918. description: 所属会员ID
  4919. type: integer
  4920. modifierid:
  4921. description: 修改人
  4922. type: integer
  4923. modifyremark:
  4924. description: 变更备注
  4925. type: string
  4926. modifystatus:
  4927. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4928. type: integer
  4929. modifytime:
  4930. description: 修改时间
  4931. type: string
  4932. parenttopuser:
  4933. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4934. type: string
  4935. parentuserid:
  4936. description: 所属机构ID
  4937. type: integer
  4938. reckonaccountid:
  4939. description: 默认结算资金账号ID(机构分润使用) 作废
  4940. type: integer
  4941. refercount:
  4942. description: 推荐总人数
  4943. type: integer
  4944. refereeuserid:
  4945. description: 推荐人ID
  4946. type: integer
  4947. refernum:
  4948. description: 推荐码
  4949. type: string
  4950. rootuserid:
  4951. description: 根用户ID
  4952. type: integer
  4953. subaccountlevel:
  4954. description: 子账户层数
  4955. type: integer
  4956. subarealevelpath:
  4957. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4958. type: string
  4959. userid:
  4960. description: 用户ID
  4961. type: integer
  4962. usertype:
  4963. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4964. type: integer
  4965. type: object
  4966. models.Ermcp3SellBuyContract:
  4967. properties:
  4968. accountid:
  4969. description: 期货账户id
  4970. type: string
  4971. accountname:
  4972. description: 账户名称
  4973. type: string
  4974. attachment:
  4975. description: 附件
  4976. type: string
  4977. audittime:
  4978. description: 审核时间
  4979. type: string
  4980. biztype:
  4981. description: 业务类型 1-套保 2-套利
  4982. type: integer
  4983. brandname:
  4984. description: 品牌名称
  4985. type: string
  4986. contracctstatus:
  4987. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4988. type: integer
  4989. contractmargin:
  4990. description: 合同保证金
  4991. type: number
  4992. contractno:
  4993. description: 合同编号
  4994. type: string
  4995. contracttype:
  4996. description: 合同类型 1-采购, -1-销售
  4997. type: integer
  4998. convertfactor:
  4999. description: 标仓系数(品类)
  5000. type: number
  5001. createtime:
  5002. description: 创建时间
  5003. type: string
  5004. currencyid:
  5005. description: 币种id
  5006. type: integer
  5007. currencyname:
  5008. description: 币种名称
  5009. type: string
  5010. daikaiamount:
  5011. description: 应收(开)票额
  5012. type: number
  5013. deliveryenddate:
  5014. description: 交割结束日
  5015. type: string
  5016. deliverygoodscode:
  5017. description: 现货品种代码
  5018. type: string
  5019. deliverygoodsid:
  5020. description: 现货商品ID
  5021. type: integer
  5022. deliverygoodsname:
  5023. description: 现货品种名称
  5024. type: string
  5025. deliverystartdate:
  5026. description: 交割开始日
  5027. type: string
  5028. enddate:
  5029. description: 点价结束日
  5030. type: string
  5031. enumdicname:
  5032. description: 单位名称
  5033. type: string
  5034. goodscode:
  5035. description: 点价商品代码
  5036. type: string
  5037. goodsid:
  5038. description: 点价商品ID
  5039. type: integer
  5040. goodsname:
  5041. description: 点价商品名称
  5042. type: string
  5043. invoiceamount:
  5044. description: 已开票额
  5045. type: number
  5046. loanamount:
  5047. description: 贷款总额=已定价额+调整金额
  5048. type: number
  5049. margin:
  5050. description: 保证金
  5051. type: number
  5052. meruserid:
  5053. description: 跟单员id
  5054. type: integer
  5055. meruserlogincode:
  5056. description: 跟单员登录代码
  5057. type: string
  5058. merusername:
  5059. description: 跟单员名称
  5060. type: string
  5061. nickname:
  5062. description: 账户昵称
  5063. type: string
  5064. payamount:
  5065. description: 已收付额(收款或付款)
  5066. type: number
  5067. preinvoiceamount:
  5068. description: 预收(开)票额
  5069. type: number
  5070. prepayamount:
  5071. description: 预收付额
  5072. type: number
  5073. price:
  5074. description: 价格
  5075. type: number
  5076. pricedamount:
  5077. description: 已定价额
  5078. type: number
  5079. pricedavg:
  5080. description: 已点均价
  5081. type: number
  5082. pricedqty:
  5083. description: 已定价量
  5084. type: number
  5085. pricemove:
  5086. description: 升贴水
  5087. type: number
  5088. pricetype:
  5089. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5090. type: integer
  5091. producttype:
  5092. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5093. type: integer
  5094. qty:
  5095. description: 合同量
  5096. type: number
  5097. reckonadjustamount:
  5098. description: 调整金额
  5099. type: number
  5100. reckonedamount:
  5101. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5102. type: number
  5103. reckonotheramount:
  5104. description: 其它费用
  5105. type: number
  5106. reckonrealqty:
  5107. description: 已确定量
  5108. type: number
  5109. remark:
  5110. description: 备注
  5111. type: string
  5112. saleuserid:
  5113. description: 业务员id
  5114. type: integer
  5115. saleuserlogincode:
  5116. description: 业务员登录代码
  5117. type: string
  5118. saleusername:
  5119. description: 业务员名称
  5120. type: string
  5121. spotcontractid:
  5122. description: 合同ID
  5123. type: string
  5124. spotgoodsbrandid:
  5125. description: 现货品牌ID(DGFactoryItem表的ID)
  5126. type: integer
  5127. spotgoodsdesc:
  5128. description: 商品型号(商品规格)
  5129. type: string
  5130. startdate:
  5131. description: 点价开始日
  5132. type: string
  5133. totalamount:
  5134. description: 合计总额
  5135. type: number
  5136. tradeuserid:
  5137. description: 交易员id
  5138. type: integer
  5139. tradeuserlogincode:
  5140. description: 交易员登录代码
  5141. type: string
  5142. tradeusername:
  5143. description: 交易员名称
  5144. type: string
  5145. unpayamount:
  5146. description: 应收付款额(应支付或应收款)
  5147. type: number
  5148. unpricedqty:
  5149. description: 未定价量
  5150. type: number
  5151. unsureqty:
  5152. description: 未确定量
  5153. type: number
  5154. userid:
  5155. description: 机构ID
  5156. type: integer
  5157. wrstandardcode:
  5158. description: 品类代码
  5159. type: string
  5160. wrstandardid:
  5161. description: 品类ID
  5162. type: integer
  5163. wrstandardname:
  5164. description: 品类名称
  5165. type: string
  5166. type: object
  5167. models.Ermcp3SpotGoodsPrice:
  5168. properties:
  5169. areauserid:
  5170. description: 所属机构id
  5171. type: integer
  5172. brandname:
  5173. description: 品牌名称
  5174. type: string
  5175. currencyid:
  5176. description: 报价货币ID
  5177. type: integer
  5178. currencyname:
  5179. description: 币种名称
  5180. type: string
  5181. deliverygoodscode:
  5182. description: 现货商品代码
  5183. type: string
  5184. deliverygoodsid:
  5185. description: 现货商品id
  5186. type: integer
  5187. deliverygoodsname:
  5188. description: 现货商品名称
  5189. type: string
  5190. enumdicname:
  5191. description: 现货商品单位名称
  5192. type: string
  5193. gbenumdicname:
  5194. description: 品类单位名称
  5195. type: string
  5196. gmunitid:
  5197. description: 品类单位id
  5198. type: integer
  5199. isvalid:
  5200. description: 是否有效 - 0:无效 1:有效
  5201. type: integer
  5202. operateid:
  5203. description: 最后操作人
  5204. type: integer
  5205. operatesrc:
  5206. description: 最后操作来源 - 1:管理端 2:终端
  5207. type: integer
  5208. operatetime:
  5209. description: 最后操作时间
  5210. type: string
  5211. operatorname:
  5212. description: 操作人名称
  5213. type: string
  5214. spotgoodsbrandid:
  5215. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5216. type: integer
  5217. spotgoodsprice:
  5218. description: 现货价格
  5219. type: number
  5220. tradedate:
  5221. description: 交易日(yyyyMMdd)
  5222. type: string
  5223. unitid:
  5224. description: 现货商品单位id
  5225. type: integer
  5226. wrstandardcode:
  5227. description: 品类代码
  5228. type: string
  5229. wrstandardid:
  5230. description: 现货品类ID(通用则为0)
  5231. type: integer
  5232. wrstandardname:
  5233. description: 品类名称
  5234. type: string
  5235. type: object
  5236. models.Ermcp3SpotGoodsPriceLog:
  5237. properties:
  5238. areauserid:
  5239. description: 所属机构id
  5240. type: integer
  5241. brandname:
  5242. description: 品牌名称
  5243. type: string
  5244. currencyid:
  5245. description: 报价货币ID
  5246. type: integer
  5247. deliverygoodscode:
  5248. description: 现货商品代码
  5249. type: string
  5250. deliverygoodsid:
  5251. description: 现货商品id
  5252. type: integer
  5253. deliverygoodsname:
  5254. description: 现货商品名称
  5255. type: string
  5256. enumdicname:
  5257. description: 现货商品单位名称
  5258. type: string
  5259. gbenumdicname:
  5260. description: 品类单位名称
  5261. type: string
  5262. gmunitid:
  5263. description: 品类单位id
  5264. type: integer
  5265. logid:
  5266. description: 日志id
  5267. type: integer
  5268. operateid:
  5269. description: 最后操作人
  5270. type: integer
  5271. operatesrc:
  5272. description: 最后操作来源 - 1:管理端 2:终端
  5273. type: integer
  5274. operatetime:
  5275. description: 最后操作时间
  5276. type: string
  5277. operatorname:
  5278. description: 操作人名称
  5279. type: string
  5280. spotgoodsbrandid:
  5281. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5282. type: integer
  5283. spotgoodsprice:
  5284. description: 现货价格
  5285. type: number
  5286. tradedate:
  5287. description: 交易日(yyyyMMdd)
  5288. type: string
  5289. unitid:
  5290. description: 现货商品单位id
  5291. type: integer
  5292. wrstandardcode:
  5293. description: 品类代码
  5294. type: string
  5295. wrstandardid:
  5296. description: 现货品类ID(通用则为0)
  5297. type: integer
  5298. wrstandardname:
  5299. description: 品类名称
  5300. type: string
  5301. type: object
  5302. models.Ermcp3TaFutuReDataReport:
  5303. properties:
  5304. accountid:
  5305. description: 交易账户
  5306. type: integer
  5307. accountname:
  5308. description: 交易账号名称
  5309. type: string
  5310. agreeunit:
  5311. description: 商品合约单位
  5312. type: number
  5313. begindate:
  5314. description: 开始交易日
  5315. type: string
  5316. buyorsell:
  5317. description: 持仓方向
  5318. type: integer
  5319. charge:
  5320. description: 手续费
  5321. type: number
  5322. closeavgprice:
  5323. description: 平仓均价
  5324. type: number
  5325. closepl:
  5326. description: 平仓损益
  5327. type: number
  5328. currencyid:
  5329. description: 结算币种ID
  5330. type: integer
  5331. currencyname:
  5332. description: 币种名称
  5333. type: string
  5334. cycletime:
  5335. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5336. type: string
  5337. cycletype:
  5338. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5339. type: integer
  5340. enddate:
  5341. description: 结束交易日
  5342. type: string
  5343. enumdicname:
  5344. description: 单位名称
  5345. type: string
  5346. floatpl:
  5347. description: 浮动损益
  5348. type: number
  5349. goodscode:
  5350. description: 交易合约代码
  5351. type: string
  5352. goodsgroupid:
  5353. description: 交易品种
  5354. type: integer
  5355. goodsgroupname:
  5356. description: 交易品种名称
  5357. type: string
  5358. goodsgroupspotqty:
  5359. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5360. type: number
  5361. goodsid:
  5362. description: 交易合约
  5363. type: integer
  5364. goodsname:
  5365. description: 交易合约名称
  5366. type: string
  5367. goodunitid:
  5368. description: 交易合约单位id
  5369. type: integer
  5370. holdamount:
  5371. description: 期末持仓额
  5372. type: number
  5373. holdqty:
  5374. description: 期末持仓量
  5375. type: number
  5376. lastholdamount:
  5377. description: 当前持仓额
  5378. type: number
  5379. lastprice:
  5380. description: 最新价
  5381. type: number
  5382. middlegoodsid:
  5383. description: 套保品种id
  5384. type: integer
  5385. middlegoodsname:
  5386. description: 套保商品名称
  5387. type: string
  5388. middlegoodsqty:
  5389. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5390. type: number
  5391. middlgoodscode:
  5392. description: 套保商品代码
  5393. type: string
  5394. openamount:
  5395. description: 期末开仓额
  5396. type: number
  5397. openavgprice:
  5398. description: 开仓均价
  5399. type: number
  5400. oriholdamount:
  5401. description: 期初持仓额
  5402. type: number
  5403. oriholdqty:
  5404. description: 期初持仓量
  5405. type: number
  5406. oriopenamount:
  5407. description: 期初开仓额
  5408. type: number
  5409. outergroupcode:
  5410. description: 交易品种代码
  5411. type: string
  5412. qtydecimalplace:
  5413. description: 成交量小数位
  5414. type: integer
  5415. reckondate:
  5416. description: 日照时期(yyyyMMdd)
  5417. type: string
  5418. reckonholdamount:
  5419. description: 结算持仓额
  5420. type: number
  5421. reckonpl:
  5422. description: 结算损益
  5423. type: number
  5424. reckonpl2:
  5425. description: 结算逐笔盈亏
  5426. type: number
  5427. reckonprice:
  5428. description: 结算价
  5429. type: number
  5430. relateduserid:
  5431. description: 账户关联用户ID
  5432. type: integer
  5433. todaycloseamount:
  5434. description: 今平仓额
  5435. type: number
  5436. todaycloseqty:
  5437. description: 今平仓量
  5438. type: number
  5439. todaygoodsgroupspotqty:
  5440. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5441. type: number
  5442. todaymiddlegoodsqty:
  5443. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5444. type: number
  5445. todayopenamount:
  5446. description: 今开仓额
  5447. type: number
  5448. todayopenqty:
  5449. description: 今开仓量
  5450. type: number
  5451. userid:
  5452. description: 账户所属用户ID
  5453. type: integer
  5454. type: object
  5455. models.Ermcp3Wrstandard:
  5456. properties:
  5457. areauserid:
  5458. description: 所属机构
  5459. type: integer
  5460. cantrade:
  5461. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  5462. type: integer
  5463. convertfactor:
  5464. description: 标仓系数
  5465. type: number
  5466. createtime:
  5467. description: 创建时间
  5468. type: string
  5469. creatorid:
  5470. description: 创建人
  5471. type: integer
  5472. deliverygoodsid:
  5473. description: 现货品种ID
  5474. type: integer
  5475. enumdicname:
  5476. description: 品类单位名称
  5477. type: string
  5478. isvalid:
  5479. description: 是否有效 0-无效(停用) 1-有效(正常)
  5480. type: integer
  5481. minivalue:
  5482. description: 最小变动值
  5483. type: integer
  5484. minivaluedp:
  5485. description: 最小变动值小数位
  5486. type: integer
  5487. realminivalue:
  5488. description: 实际最小变动值
  5489. type: integer
  5490. realminivaluedp:
  5491. description: 实际最小变动值小数位
  5492. type: integer
  5493. remark:
  5494. description: 备注
  5495. type: string
  5496. unitid:
  5497. description: 品类单位ID
  5498. type: integer
  5499. updatetime:
  5500. description: 更新时间
  5501. type: string
  5502. wrstandardcode:
  5503. description: 品类代码
  5504. type: string
  5505. wrstandardid:
  5506. description: 品类ID(SEQ_WRSTANDARD)
  5507. type: integer
  5508. wrstandardname:
  5509. description: 品类名称
  5510. type: string
  5511. type: object
  5512. models.ErmcpAreaSpotDetailModel:
  5513. properties:
  5514. contracttype:
  5515. description: 合同类型 1-采购 -1-销售
  5516. type: integer
  5517. createtime:
  5518. description: 创建时间
  5519. type: string
  5520. enumdicname:
  5521. description: 现货商品单位名称
  5522. type: string
  5523. logtype:
  5524. description: 记录类型 1-套保 2-现货合同
  5525. type: integer
  5526. qty:
  5527. description: 数量
  5528. type: number
  5529. recordname:
  5530. description: 类型名称
  5531. type: string
  5532. relatedid:
  5533. description: 套保计划ID/现货合同ID
  5534. type: string
  5535. relatedno:
  5536. description: 编号
  5537. type: string
  5538. strtime:
  5539. description: 时间
  5540. type: string
  5541. wrstandardcode:
  5542. description: 现货商品代码
  5543. type: string
  5544. wrstandardname:
  5545. description: 现货商品名称
  5546. type: string
  5547. type: object
  5548. models.ErmcpAvalidGoodsGroupModel:
  5549. properties:
  5550. goodsgroupid:
  5551. description: 期货品种id
  5552. type: integer
  5553. goodsgroupname:
  5554. description: 期货品种名称
  5555. type: string
  5556. goodunitid:
  5557. description: 品种单位id
  5558. type: integer
  5559. goodunitname:
  5560. description: 品种单位名称
  5561. type: string
  5562. outergroupcode:
  5563. description: 期货品种代码
  5564. type: string
  5565. type: object
  5566. models.ErmcpBizGroupEx:
  5567. properties:
  5568. acclist:
  5569. description: 账号列表
  5570. items:
  5571. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5572. type: array
  5573. bizgroupid:
  5574. description: 业务分组id
  5575. type: integer
  5576. biztype:
  5577. description: 业务类型 1-套保 2-套利
  5578. type: integer
  5579. wrlist:
  5580. description: 现货商品表
  5581. items:
  5582. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5583. type: array
  5584. type: object
  5585. models.ErmcpBizGroupSpotGoods:
  5586. properties:
  5587. areauserid:
  5588. description: 所属机构id
  5589. type: integer
  5590. bizgroupid:
  5591. description: 分组id
  5592. type: integer
  5593. biztype:
  5594. description: 业务类型 1-套保 2-套利
  5595. type: integer
  5596. deliverygoodscode:
  5597. description: 现货商品代码
  5598. type: string
  5599. deliverygoodsid:
  5600. description: 现货商品id
  5601. type: integer
  5602. deliverygoodsname:
  5603. description: 现货商品名称
  5604. type: string
  5605. unitid:
  5606. description: 现货商品单位id
  5607. type: integer
  5608. type: object
  5609. models.ErmcpBizGroupTaAccount:
  5610. properties:
  5611. accountid:
  5612. description: 账号id
  5613. type: integer
  5614. accountname:
  5615. description: 账号名称
  5616. type: string
  5617. areauserid:
  5618. description: 所属机构id
  5619. type: integer
  5620. bizgroupid:
  5621. description: 业务分组id
  5622. type: integer
  5623. ismain:
  5624. description: 是否主账号 1-是 0-否
  5625. type: integer
  5626. type: object
  5627. models.ErmcpDGFactoryItem:
  5628. properties:
  5629. areauserid:
  5630. description: 用户id
  5631. type: integer
  5632. deliverygoodsid:
  5633. description: 现货品种ID
  5634. type: integer
  5635. dgfactoryitemid:
  5636. description: 选择项ID(SEQ_DGFACTORYITEM)
  5637. type: integer
  5638. dgfactoryitemtypeid:
  5639. description: 要素项类型
  5640. type: integer
  5641. dgfactoryitemvalue:
  5642. description: 要素项值(类型为仓库时填写仓库名称)
  5643. type: string
  5644. isvalid:
  5645. description: 是否有效 - 0:无效 1:有效
  5646. type: integer
  5647. orderindex:
  5648. description: 顺序
  5649. type: integer
  5650. warehouseid:
  5651. description: 仓库ID(类型为仓库时填写)
  5652. type: integer
  5653. type: object
  5654. models.ErmcpDeliveryGoods:
  5655. properties:
  5656. agreeunit:
  5657. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5658. type: integer
  5659. areauserid:
  5660. description: 所属机构
  5661. type: integer
  5662. auditflag:
  5663. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5664. type: integer
  5665. categoryid:
  5666. description: 类别ID(SEQ_WRCATEGORY)
  5667. type: integer
  5668. deliverygoodscode:
  5669. description: 现货品种代码
  5670. type: string
  5671. deliverygoodsid:
  5672. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5673. type: integer
  5674. deliverygoodsname:
  5675. description: 现货品种名称
  5676. type: string
  5677. deliverygoodstype:
  5678. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5679. type: integer
  5680. dgstatus:
  5681. description: 品种状态 - 作废 - 0:未激活 1:正常
  5682. type: integer
  5683. enumdicname:
  5684. description: 现货品种单位名称
  5685. type: string
  5686. goodsunitid:
  5687. description: 现货品种单位ID
  5688. type: integer
  5689. isvalid:
  5690. description: 是否有效 - 0:无效 1:有效
  5691. type: integer
  5692. qtydecimalplace:
  5693. description: 成交量小数位
  5694. type: integer
  5695. remark:
  5696. description: 备注
  5697. type: string
  5698. standardqty:
  5699. description: 标准数量(库位数量) [标准品特有]
  5700. type: integer
  5701. standardqtyrange:
  5702. description: 标准数量偏差范围 [标准品特有]
  5703. type: integer
  5704. type: object
  5705. models.ErmcpDeliveryGoodsDetail2:
  5706. properties:
  5707. convertratio:
  5708. description: 套保系数(折算系数)
  5709. type: number
  5710. data:
  5711. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5712. description: 现货商品基本信息(交割品种)
  5713. type: object
  5714. gblist:
  5715. description: 品牌列表
  5716. items:
  5717. $ref: '#/definitions/models.Ermcp3Brand'
  5718. type: array
  5719. gmlist:
  5720. description: 品类列表(仓单标准)
  5721. items:
  5722. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5723. type: array
  5724. type: object
  5725. models.ErmcpDeliveryGoodsDetailEx:
  5726. properties:
  5727. data:
  5728. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5729. description: 现货商品基本信息(交割品种)
  5730. type: object
  5731. gblist:
  5732. description: 品牌列表
  5733. items:
  5734. $ref: '#/definitions/models.Ermcp3Brand'
  5735. type: array
  5736. gmlist:
  5737. description: 品类列表(仓单标准)
  5738. items:
  5739. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5740. type: array
  5741. mgList:
  5742. description: 套保列表
  5743. items:
  5744. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5745. type: array
  5746. type: object
  5747. models.ErmcpExposureDetailModel:
  5748. properties:
  5749. areauserid:
  5750. description: 机构ID
  5751. type: integer
  5752. changeQty:
  5753. description: 套保变动量
  5754. type: number
  5755. contracttype:
  5756. description: 现货合同类型 - 1:采购 -1:销售
  5757. type: integer
  5758. convertfactor:
  5759. description: 标仓系数
  5760. type: number
  5761. convertratio:
  5762. description: 套保系数
  5763. type: number
  5764. createtime:
  5765. description: 时间
  5766. type: string
  5767. enumdicname:
  5768. description: 现货商品单位名称
  5769. type: string
  5770. logtype:
  5771. description: 类型 - 1:套保计划 2:现货合同
  5772. type: integer
  5773. middlegoodsId:
  5774. description: 套保商品id
  5775. type: integer
  5776. middlegoodscode:
  5777. description: 套保商品代码
  5778. type: string
  5779. middlegoodsname:
  5780. description: 套保商品名称
  5781. type: string
  5782. qty:
  5783. description: 数量
  5784. type: number
  5785. relateNo:
  5786. description: 现货合同/套保计划编号
  5787. type: string
  5788. wrstandardcode:
  5789. description: 现货商品代码
  5790. type: string
  5791. wrstandardid:
  5792. description: 现货商品ID
  5793. type: integer
  5794. wrstandardname:
  5795. description: 现货商品名称
  5796. type: string
  5797. type: object
  5798. models.ErmcpExposurePostion:
  5799. properties:
  5800. agreeunit:
  5801. description: 合约单位
  5802. type: string
  5803. areauserid:
  5804. description: 所属机构id
  5805. type: integer
  5806. convertratio:
  5807. description: 期货品种系数(折算系数)
  5808. type: number
  5809. curqty:
  5810. description: 当前持仓
  5811. type: integer
  5812. diffhedgeqty:
  5813. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5814. type: number
  5815. diffqty:
  5816. description: 持仓变动量=当前持仓-昨日持仓
  5817. type: integer
  5818. goodscode:
  5819. description: 商品代码
  5820. type: string
  5821. goodsid:
  5822. description: 商品id
  5823. type: integer
  5824. goodsname:
  5825. description: 商品名称
  5826. type: string
  5827. middlegoodsid:
  5828. description: 套保商品id
  5829. type: integer
  5830. ydqty:
  5831. description: 昨日持仓
  5832. type: integer
  5833. type: object
  5834. models.ErmcpFuturesCompany:
  5835. properties:
  5836. brokerid:
  5837. description: 经纪公司代码
  5838. type: string
  5839. channeladdress:
  5840. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5841. type: string
  5842. channelid:
  5843. description: 对冲渠道ID
  5844. type: string
  5845. createtime:
  5846. description: 创建时间
  5847. type: string
  5848. creatorid:
  5849. description: 创建人
  5850. type: string
  5851. fcid:
  5852. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5853. type: integer
  5854. fcname:
  5855. description: 期货公司名称
  5856. type: string
  5857. isvalid:
  5858. description: 是否有效 - 0:无效 1:有效
  5859. type: integer
  5860. mhpaddress:
  5861. description: MHP服务地址(IP:Port)
  5862. type: string
  5863. riskrulegroupid:
  5864. description: 风控规则组ID
  5865. type: string
  5866. tradefeetmpid:
  5867. description: 手续费模板ID[TradeConfigTmpType为2]
  5868. type: string
  5869. trademargintmpid:
  5870. description: 保证金模板ID [TradeConfigTmpType为1]
  5871. type: string
  5872. traderatetmpid:
  5873. description: 汇率模板ID[TradeConfigTmpType为3]
  5874. type: string
  5875. updatetime:
  5876. description: 更新时间
  5877. type: string
  5878. updatorid:
  5879. description: 更新人
  5880. type: string
  5881. type: object
  5882. models.ErmcpGGConvertCfg:
  5883. properties:
  5884. convertratio:
  5885. description: 折算系数
  5886. type: number
  5887. destgoodsgroupid:
  5888. description: 目标品种ID
  5889. type: integer
  5890. dstcode:
  5891. description: 目录品种代码
  5892. type: string
  5893. dstexchangecode:
  5894. description: 目标期货交易所
  5895. type: string
  5896. dstname:
  5897. description: 目标品种名称
  5898. type: string
  5899. dstunitid:
  5900. description: 目标品种单位ID
  5901. type: integer
  5902. dstunitidname:
  5903. description: 目标品种单位名称
  5904. type: string
  5905. modifytime:
  5906. description: 修改时间
  5907. type: string
  5908. srccode:
  5909. description: 源品种代码
  5910. type: string
  5911. srcexchangecode:
  5912. description: 源期货交易所
  5913. type: string
  5914. srcgoodsgroupid:
  5915. description: 源品种ID
  5916. type: integer
  5917. srcname:
  5918. description: 源品种名称
  5919. type: string
  5920. srcunitid:
  5921. description: 源品种单位ID
  5922. type: integer
  5923. srcunitidname:
  5924. description: 源品种单位名称
  5925. type: string
  5926. type: object
  5927. models.ErmcpGoods:
  5928. properties:
  5929. agreeunit:
  5930. description: 合约单位
  5931. type: number
  5932. areauserid:
  5933. description: 所属机构
  5934. type: integer
  5935. auditaccountid:
  5936. description: 审核操作员账号
  5937. type: integer
  5938. audittime:
  5939. description: 审核时间
  5940. type: string
  5941. cancelaccountid:
  5942. description: 注销操作员账号
  5943. type: integer
  5944. canceltime:
  5945. description: 注销时间
  5946. type: string
  5947. closepricemode:
  5948. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5949. type: integer
  5950. closepriceparam:
  5951. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5952. type: number
  5953. createtime:
  5954. description: 创建时间
  5955. type: string
  5956. creatorid:
  5957. description: 创建人
  5958. type: integer
  5959. currencyid:
  5960. description: 报价货币ID
  5961. type: integer
  5962. cutmode:
  5963. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5964. type: integer
  5965. decimalplace:
  5966. description: 报价小数位
  5967. type: integer
  5968. delistingdate:
  5969. description: 商品退市时间(状态:退市) -- 已作废
  5970. type: string
  5971. delistingmode:
  5972. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5973. type: integer
  5974. deliveryflag:
  5975. description: 交割标志 - 0:不可交割 1:可交割
  5976. type: integer
  5977. enumdicname:
  5978. description: 单位名称
  5979. type: string
  5980. forceclosemode:
  5981. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5982. type: integer
  5983. forceclosevalue:
  5984. description: 定期强平参数 [收益权]
  5985. type: integer
  5986. goodscode:
  5987. description: 商品代码(内部)
  5988. type: string
  5989. goodscurrencyid:
  5990. description: 合约货币ID
  5991. type: integer
  5992. goodsgroupid:
  5993. description: 所属商品组ID
  5994. type: integer
  5995. goodsid:
  5996. description: 商品ID(自增ID SEQ_GOODS)
  5997. type: integer
  5998. goodsname:
  5999. description: 商品名称
  6000. type: string
  6001. goodsquotetype:
  6002. description: '合约报价类型: 1-直接报价 2-间接报价'
  6003. type: integer
  6004. goodsstatus:
  6005. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6006. type: integer
  6007. goodstradetype:
  6008. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6009. type: integer
  6010. goodunitid:
  6011. description: 报价单位ID
  6012. type: integer
  6013. hasquoter:
  6014. description: 是否有报价商 - 0:无报价商 1:有报价商
  6015. type: integer
  6016. hqprotecttime:
  6017. description: 行情保护时间(秒)
  6018. type: integer
  6019. innerdealmode:
  6020. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6021. type: integer
  6022. isbuylimited:
  6023. description: 是否限制建仓量 - 0:不限制 1:限制
  6024. type: integer
  6025. isvisible:
  6026. description: 游客是否可见 - 0:不可见 1:可见
  6027. type: integer
  6028. lasttradedate:
  6029. description: 最后交易日期(状态:待退市)
  6030. type: string
  6031. listingdate:
  6032. description: 交易开始日期
  6033. type: string
  6034. marketid:
  6035. description: 所属市场ID
  6036. type: integer
  6037. modifierid:
  6038. description: 修改人
  6039. type: integer
  6040. modifystatus:
  6041. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6042. type: integer
  6043. modifytime:
  6044. description: 修改时间
  6045. type: string
  6046. outerdealmode:
  6047. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6048. type: integer
  6049. outgoodscode:
  6050. description: 商品代码(外部)
  6051. type: string
  6052. pictureurl:
  6053. description: 商品图片
  6054. type: string
  6055. qtydecimalplace:
  6056. description: 成交量小数位
  6057. type: integer
  6058. quotegear:
  6059. description: 行情档位(1-10)
  6060. type: integer
  6061. quoteminunit:
  6062. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6063. type: integer
  6064. quoteshowtype:
  6065. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6066. type: integer
  6067. quoteshowtypeinterval:
  6068. description: 行情报价间隔时间(秒)(成交价时为0)
  6069. type: integer
  6070. relatedgoodsid:
  6071. description: 关联参考商品ID
  6072. type: integer
  6073. remark:
  6074. description: 备注
  6075. type: string
  6076. trademode:
  6077. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6078. 21:竞拍-大宗式 22:受托竞价
  6079. type: integer
  6080. required:
  6081. - goodscode
  6082. - goodsid
  6083. - goodsname
  6084. - marketid
  6085. type: object
  6086. models.ErmcpGoodsBrand:
  6087. properties:
  6088. areauserid:
  6089. description: 所属机构
  6090. type: integer
  6091. brandid:
  6092. description: BrandID(SEQ_SPOTGOODSBRAND)
  6093. type: integer
  6094. brandname:
  6095. description: 品牌名称
  6096. type: string
  6097. createtime:
  6098. description: 创建时间
  6099. type: string
  6100. creatorid:
  6101. description: 创建人
  6102. type: integer
  6103. creatorsrc:
  6104. description: 创建人来源 - 1:管理端 2:终端
  6105. type: integer
  6106. deliverygoodsid:
  6107. description: 现货品种ID
  6108. type: integer
  6109. isvalid:
  6110. description: 是否有效 - 0:无效 1:有效
  6111. type: integer
  6112. updatetime:
  6113. description: 更新时间
  6114. type: string
  6115. updatorid:
  6116. description: 更新人
  6117. type: integer
  6118. updatorsrc:
  6119. description: 更新人来源 - 1:管理端 2:终端
  6120. type: integer
  6121. wrstandardid:
  6122. description: 现货商品ID
  6123. type: integer
  6124. type: object
  6125. models.ErmcpGoodsModel:
  6126. properties:
  6127. areauserid:
  6128. description: 所属机构
  6129. type: integer
  6130. convertfactor:
  6131. description: 标仓系数
  6132. type: number
  6133. createtime:
  6134. description: 创建时间
  6135. type: string
  6136. creatorid:
  6137. description: 创建人
  6138. type: integer
  6139. creatorsrc:
  6140. description: 创建人来源 - 1:管理端 2:终端
  6141. type: integer
  6142. deliverygoodsid:
  6143. description: 现货品种ID
  6144. type: integer
  6145. isvalid:
  6146. description: 是否有效 - 0:无效 1:有效
  6147. type: integer
  6148. modelid:
  6149. description: ModelID(SEQ_SPOTGOODSMODEL)
  6150. type: integer
  6151. modelname:
  6152. description: 型号名称
  6153. type: string
  6154. updatetime:
  6155. description: 更新时间
  6156. type: string
  6157. updatorid:
  6158. description: 更新人
  6159. type: integer
  6160. updatorsrc:
  6161. description: 更新人来源 - 1:管理端 2:终端
  6162. type: integer
  6163. wrstandardid:
  6164. description: 现货商品ID
  6165. type: integer
  6166. type: object
  6167. models.ErmcpHedgePosition:
  6168. properties:
  6169. accountid:
  6170. description: 资金账号[外部母账户]
  6171. type: integer
  6172. curbuyposition:
  6173. description: 期末买头寸
  6174. type: integer
  6175. cursellposition:
  6176. description: 期末卖头寸
  6177. type: integer
  6178. curtdbuyposition:
  6179. description: 期末今日买头寸
  6180. type: integer
  6181. curtdsellposition:
  6182. description: 期末今日卖头寸
  6183. type: integer
  6184. curydbuyposition:
  6185. description: 期末上日买头寸
  6186. type: integer
  6187. curydsellposition:
  6188. description: 期末上日卖头寸
  6189. type: integer
  6190. decreaseqty:
  6191. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6192. type: integer
  6193. fretdbuyposition:
  6194. description: 冻结今日买头寸
  6195. type: integer
  6196. fretdsellposition:
  6197. description: 冻结今日卖头寸
  6198. type: integer
  6199. freydbuyposition:
  6200. description: 冻结上日买头寸
  6201. type: integer
  6202. freydsellposition:
  6203. description: 冻结上日卖头寸
  6204. type: integer
  6205. goodscode:
  6206. description: 商品代码
  6207. type: string
  6208. goodsid:
  6209. description: 商品id
  6210. type: integer
  6211. goodsname:
  6212. description: 商品名称
  6213. type: string
  6214. hedgeaccountcode:
  6215. description: 对冲账号
  6216. type: string
  6217. hedgegoodsid:
  6218. description: 对冲合约ID
  6219. type: integer
  6220. increaseqty:
  6221. description: 增加数量 = 期末买头寸 - 期初买头寸
  6222. type: integer
  6223. marketid:
  6224. description: 市场ID
  6225. type: integer
  6226. relateduserid:
  6227. description: 关联用户id
  6228. type: integer
  6229. totalcurqty:
  6230. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6231. type: integer
  6232. totalydqty:
  6233. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6234. type: integer
  6235. tradedate:
  6236. description: 交易日(yyyyMMdd)
  6237. type: string
  6238. ydbuyposition:
  6239. description: 期初买头寸
  6240. type: integer
  6241. ydsellposition:
  6242. description: 期初卖头寸
  6243. type: integer
  6244. type: object
  6245. models.ErmcpHedgePositionDetail:
  6246. properties:
  6247. buyorsell:
  6248. description: 买卖方向 0-买 1-卖
  6249. type: integer
  6250. channelbuildtype:
  6251. description: 开平方向 1-建仓 2-平仓
  6252. type: integer
  6253. goodscode:
  6254. description: 商品代码
  6255. type: string
  6256. goodsname:
  6257. description: 商品名称
  6258. type: string
  6259. hedgegoodsid:
  6260. description: 商品id
  6261. type: integer
  6262. tradeqty:
  6263. description: 数量(成交数量)
  6264. type: integer
  6265. tradetime:
  6266. description: 时间(成交时间)
  6267. type: string
  6268. type: object
  6269. models.ErmcpHisExposure:
  6270. properties:
  6271. needhedgeexposoure:
  6272. description: 应套保敞口
  6273. type: number
  6274. reckondate:
  6275. description: 日照时期(yyyyMMdd)
  6276. type: string
  6277. totalexposure:
  6278. description: 总敞口
  6279. type: number
  6280. type: object
  6281. models.ErmcpHisExposureS:
  6282. properties:
  6283. data:
  6284. description: 历史敞口
  6285. items:
  6286. $ref: '#/definitions/models.ErmcpHisExposure'
  6287. type: array
  6288. enumdicname:
  6289. description: 单位名称
  6290. type: string
  6291. middlegoodscode:
  6292. description: 套保品种代码
  6293. type: string
  6294. middlegoodsid:
  6295. description: 套保品种ID
  6296. type: integer
  6297. middlegoodsname:
  6298. description: 套保品种名称
  6299. type: string
  6300. type: object
  6301. models.ErmcpLoginTaAccount:
  6302. properties:
  6303. accountid:
  6304. description: 账号id
  6305. type: integer
  6306. accountname:
  6307. description: 账号名称
  6308. type: string
  6309. type: object
  6310. models.ErmcpLoginUser:
  6311. properties:
  6312. acclist:
  6313. description: 关联资金账号
  6314. items:
  6315. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6316. type: array
  6317. accountname:
  6318. description: 用户名称
  6319. type: string
  6320. clientroleid:
  6321. description: 角色id(usertype=2)
  6322. type: integer
  6323. createtime:
  6324. description: 创建时间
  6325. type: string
  6326. logincode:
  6327. description: 登录代码
  6328. type: string
  6329. loginid:
  6330. description: 登录id(LOGINID)
  6331. type: integer
  6332. loginname:
  6333. description: 登录名称(loginaccount表中的accountname字段)
  6334. type: string
  6335. loginstatus:
  6336. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6337. type: integer
  6338. memberuserid:
  6339. description: 所属会员id
  6340. type: integer
  6341. mobile:
  6342. description: 手机号
  6343. type: string
  6344. modifytime:
  6345. description: 修改时间
  6346. type: string
  6347. password:
  6348. description: 密码(不可解密)
  6349. type: string
  6350. rolename:
  6351. description: 角色名称
  6352. type: string
  6353. rolestatus:
  6354. description: 角色状态 1-启用 2-停用
  6355. type: integer
  6356. roletype:
  6357. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6358. type: string
  6359. userid:
  6360. description: 用户id
  6361. type: integer
  6362. usertype:
  6363. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6364. type: integer
  6365. type: object
  6366. models.ErmcpLoginUserEx:
  6367. properties:
  6368. accountstatus:
  6369. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6370. type: integer
  6371. mobile:
  6372. description: 手机号
  6373. type: string
  6374. querytype:
  6375. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6376. type: integer
  6377. roleid:
  6378. description: 角色id(交易账户->用户id)
  6379. type: integer
  6380. rolename:
  6381. description: 角色名称(交易账户->用户名称)
  6382. type: string
  6383. userlist:
  6384. description: 用户列表
  6385. items:
  6386. $ref: '#/definitions/models.ErmcpLoginUser'
  6387. type: array
  6388. usertype:
  6389. description: 用户类型 2-机构 7-企业成员(云平台)
  6390. type: integer
  6391. type: object
  6392. models.ErmcpMiddleGoodsChangeLog:
  6393. properties:
  6394. aftervalue:
  6395. description: 变更后
  6396. type: number
  6397. applyid:
  6398. description: 操作人
  6399. type: integer
  6400. applyname:
  6401. description: 操作人名称
  6402. type: string
  6403. applysrc:
  6404. description: 操作来源 - 1:管理端 2:终端
  6405. type: integer
  6406. beforevalue:
  6407. description: 变更前
  6408. type: number
  6409. changelogtype:
  6410. description: 变更流水类型 - 1:套保比率变更
  6411. type: integer
  6412. handlestatus:
  6413. description: 处理状态
  6414. type: integer
  6415. logdatetime:
  6416. description: 流水日期
  6417. type: string
  6418. logid:
  6419. description: 流水ID
  6420. type: integer
  6421. logremark:
  6422. description: 流水备注
  6423. type: string
  6424. middlegoodsid:
  6425. description: 套保品种ID
  6426. type: integer
  6427. tradedate:
  6428. description: 交易日(yyyyMMdd)
  6429. type: string
  6430. updatetime:
  6431. description: 更新时间
  6432. type: string
  6433. type: object
  6434. models.ErmcpMiddleGoodsDetail:
  6435. properties:
  6436. cvList:
  6437. description: 期货品种折算列表
  6438. items:
  6439. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6440. type: array
  6441. mg:
  6442. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6443. description: 套保品种基本信息
  6444. type: object
  6445. wrcList:
  6446. description: 现货品种列表(现货商品折算配置)
  6447. items:
  6448. $ref: '#/definitions/models.WRSConverTDetail'
  6449. type: array
  6450. type: object
  6451. models.ErmcpMiddleGoodsModel:
  6452. properties:
  6453. areauserid:
  6454. description: 机构用户ID
  6455. type: integer
  6456. createtime:
  6457. description: 修改时间
  6458. type: string
  6459. enumdicname:
  6460. description: 单位名称
  6461. type: string
  6462. evaluateratio:
  6463. description: 估价系数
  6464. type: number
  6465. goodsgroupid:
  6466. description: 关联期货品种ID
  6467. type: integer
  6468. goodsunitid:
  6469. description: 单位ID
  6470. type: integer
  6471. isvalid:
  6472. description: 状态 0-无效(停用) 1-有效(正常)
  6473. type: integer
  6474. middlegoodscode:
  6475. description: 套保品种代码
  6476. type: string
  6477. middlegoodsid:
  6478. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6479. type: integer
  6480. middlegoodsname:
  6481. description: 套保品种名称
  6482. type: string
  6483. modifytime:
  6484. description: 修改时间
  6485. type: string
  6486. needarbitrageratio:
  6487. description: 套利比例
  6488. type: number
  6489. needhedgeratio:
  6490. description: 套保比率
  6491. type: number
  6492. qtydecimalplace:
  6493. description: 数量小数位
  6494. type: integer
  6495. relatedgoodsid:
  6496. description: 关联交易商品ID
  6497. type: integer
  6498. relatedgoodstype:
  6499. description: 关联商品类型 - 1:期货合约 2:现货品种
  6500. type: integer
  6501. remark:
  6502. description: 备注
  6503. type: string
  6504. type: object
  6505. models.ErmcpMiddlegoodsRelateGoods:
  6506. properties:
  6507. agreeunit:
  6508. description: 合约乘数
  6509. type: number
  6510. convertratio:
  6511. description: 折算系数
  6512. type: number
  6513. enumdicname:
  6514. description: 单位名称(交易商品)
  6515. type: string
  6516. goodscode:
  6517. description: 交易商品代码
  6518. type: string
  6519. goodsgroupid:
  6520. description: 交易品种id
  6521. type: integer
  6522. goodsid:
  6523. description: 商品Id
  6524. type: integer
  6525. goodsname:
  6526. description: 交易商品名称
  6527. type: string
  6528. goodunitid:
  6529. description: 交易商品单位id
  6530. type: integer
  6531. middlegoodsid:
  6532. description: 套保商品id
  6533. type: integer
  6534. middlegoodsname:
  6535. description: 套保商品名称
  6536. type: string
  6537. middlegoodsswcode:
  6538. description: 套保商品代码
  6539. type: string
  6540. needarbitrageratio:
  6541. description: 应套利比例
  6542. type: number
  6543. needhedgeratio:
  6544. description: 应套保比例
  6545. type: number
  6546. type: object
  6547. models.ErmcpOPLogModel:
  6548. properties:
  6549. aftervalue:
  6550. description: 变更后
  6551. type: number
  6552. applyid:
  6553. description: 操作人ID
  6554. type: string
  6555. applyname:
  6556. description: 操作人名称
  6557. type: string
  6558. beforevalue:
  6559. description: 变更前
  6560. type: number
  6561. biztype:
  6562. description: 业务类型 - 1:套保计划 2:现货合同
  6563. type: integer
  6564. contracttype:
  6565. description: 现货合同类型 - 1:采购 -1:销售
  6566. type: integer
  6567. logvalue:
  6568. description: 数值
  6569. type: number
  6570. operatelogtype:
  6571. description: 操作流水类型
  6572. type: integer
  6573. operatelogtypedesc:
  6574. description: 操作流水类型名称
  6575. type: string
  6576. relatedid:
  6577. description: 现货合同ID\套保计划
  6578. type: string
  6579. updatetime:
  6580. description: 更新时间
  6581. type: string
  6582. type: object
  6583. models.ErmcpPendingAudit:
  6584. properties:
  6585. areastockqty:
  6586. description: '待审核数量: 库存申请'
  6587. type: integer
  6588. businessdjqty:
  6589. description: '待审核数量: 点价'
  6590. type: integer
  6591. businessfpqty:
  6592. description: '待审核数量: 发票'
  6593. type: integer
  6594. businessjsqty:
  6595. description: '待审核数量: 结算'
  6596. type: integer
  6597. businesskxqty:
  6598. description: '待审核数量: 款项'
  6599. type: integer
  6600. hedgeplanqty:
  6601. description: '待审核数量: 套保计划'
  6602. type: integer
  6603. spotcontractqty:
  6604. description: '待审核数量: 现货合同'
  6605. type: integer
  6606. userqty:
  6607. description: '待审核数量: 用户'
  6608. type: integer
  6609. type: object
  6610. models.ErmcpRealExposureModel:
  6611. properties:
  6612. AreaUserID:
  6613. description: 所属机构
  6614. type: integer
  6615. BuyFutureQty:
  6616. description: 买入期货数量
  6617. type: number
  6618. BuyPlanQty:
  6619. description: 采购计划数量
  6620. type: number
  6621. BuyPricedQty:
  6622. description: 采购合同已定价数量
  6623. type: number
  6624. MiddleGoodsCode:
  6625. description: 套保品种代码
  6626. type: string
  6627. MiddleGoodsHedgeRatio:
  6628. description: 套保比例
  6629. type: number
  6630. MiddleGoodsID:
  6631. description: 套保品种
  6632. type: integer
  6633. MiddleGoodsName:
  6634. description: 套保品种名称
  6635. type: string
  6636. NeedHedgeExposoure:
  6637. description: 应套保敞口(套保敞口)
  6638. type: number
  6639. NeedHedgeRatio:
  6640. description: 应套保敞口比例
  6641. type: number
  6642. OriBuyFutureQty:
  6643. description: 期初买入期货数量
  6644. type: number
  6645. OriBuyPlanQty:
  6646. description: 期初采购计划数量
  6647. type: number
  6648. OriBuyPricedQty:
  6649. description: 期初采购合同已定价数量
  6650. type: number
  6651. OriSellFutureQty:
  6652. description: 期初卖出期货数量
  6653. type: number
  6654. OriSellPlanQty:
  6655. description: 期初销售计划数量
  6656. type: number
  6657. OriSellPricedQty:
  6658. description: 期初销售合同已定价数量
  6659. type: number
  6660. SellFutureQty:
  6661. description: 卖出期货数量
  6662. type: number
  6663. SellPlanQty:
  6664. description: 销售计划数量
  6665. type: number
  6666. SellPricedQty:
  6667. description: 销售合同已定价数量
  6668. type: number
  6669. TotalExposure:
  6670. description: 总敞口
  6671. type: number
  6672. TotalFutureQty:
  6673. description: 期货总量
  6674. type: number
  6675. TotalHedgeRatio:
  6676. description: 敞口比例
  6677. type: number
  6678. TotalNeedHedgeQty:
  6679. description: 应套保总量(现货应套保总量)
  6680. type: number
  6681. TotalSpotQty:
  6682. description: 现货总量
  6683. type: number
  6684. arbitrageqty:
  6685. description: 套利量
  6686. type: number
  6687. diffArbitrageQty:
  6688. description: 套利变动量
  6689. type: number
  6690. diffExposoureQty:
  6691. description: 变动量(套保敞口)
  6692. type: number
  6693. diffFutuQty:
  6694. description: 变动量(期货总量)
  6695. type: number
  6696. diffHedgeQty:
  6697. description: 套保变动量
  6698. type: number
  6699. diffQty:
  6700. description: 变动量(总敞口)
  6701. type: number
  6702. diffSpotHedgeQty:
  6703. description: 变动量(现货应套保总量)
  6704. type: number
  6705. diffSpotQty:
  6706. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6707. type: number
  6708. enumdicname:
  6709. description: 单位名称
  6710. type: string
  6711. hedgeqty:
  6712. description: 套保量
  6713. type: number
  6714. needarbitrageqty:
  6715. description: 应套利量
  6716. type: number
  6717. needarbitrageratio:
  6718. description: 套利比例
  6719. type: number
  6720. needhedgeqty:
  6721. description: 应套保量
  6722. type: number
  6723. oriTotalFutuQty:
  6724. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6725. type: number
  6726. oriTotalSpotQty:
  6727. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6728. type: number
  6729. oriarbitrageqty:
  6730. description: 期初套利量
  6731. type: number
  6732. orihedgeqty:
  6733. description: 期初套保量
  6734. type: number
  6735. orineedhedgeexposoure:
  6736. description: 期初套保敞口
  6737. type: number
  6738. oritotalexposure:
  6739. description: 期初总敞口
  6740. type: number
  6741. oritotalfutureqty:
  6742. description: 期初期货总量
  6743. type: number
  6744. oritotalneedhedgeqty:
  6745. description: 期初现货应套保量
  6746. type: number
  6747. type: object
  6748. models.ErmcpRole:
  6749. properties:
  6750. areauserid:
  6751. description: 所属机构
  6752. type: integer
  6753. autoid:
  6754. description: 角色ID(自增ID)
  6755. type: integer
  6756. modifierid:
  6757. description: 修改人(创建人)
  6758. type: integer
  6759. modifiername:
  6760. description: 修改人名称
  6761. type: string
  6762. modifytime:
  6763. description: 修改时间(创建时间)
  6764. type: string
  6765. rolename:
  6766. description: 角色名称
  6767. type: string
  6768. rolestatus:
  6769. description: 角色状态 - 1:启用 2:停用
  6770. type: integer
  6771. roletype:
  6772. description: 角色类型 - 1- 管理端 2- 交易端
  6773. type: integer
  6774. type: object
  6775. models.ErmcpRoleMenu:
  6776. properties:
  6777. iconame:
  6778. description: 菜单图标
  6779. type: string
  6780. ishadrole:
  6781. description: 是否有权限
  6782. type: boolean
  6783. menutype:
  6784. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6785. type: integer
  6786. parentcode:
  6787. description: 上级资源代码
  6788. type: string
  6789. remark:
  6790. description: 菜单备注
  6791. type: string
  6792. resourcecode:
  6793. description: 菜单代码
  6794. type: string
  6795. resourcelevel:
  6796. description: 级别
  6797. type: integer
  6798. resourcename:
  6799. description: 菜单名称
  6800. type: string
  6801. roleid:
  6802. description: 角色id
  6803. type: integer
  6804. sort:
  6805. description: 排序
  6806. type: integer
  6807. url:
  6808. description: URL
  6809. type: string
  6810. userid:
  6811. description: 用户id
  6812. type: integer
  6813. type: object
  6814. models.ErmcpRoleMenuEx:
  6815. properties:
  6816. menu:
  6817. $ref: '#/definitions/models.ErmcpRoleMenu'
  6818. description: 父级菜单
  6819. type: object
  6820. subMenu:
  6821. description: 子级菜单
  6822. items:
  6823. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6824. type: array
  6825. type: object
  6826. models.ErmcpTaAccount:
  6827. properties:
  6828. accountid:
  6829. description: 账户id
  6830. type: integer
  6831. accountname:
  6832. description: 账户名称
  6833. type: string
  6834. currencyid:
  6835. description: 币种id
  6836. type: integer
  6837. hedgeaccountcode:
  6838. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6839. type: string
  6840. ismain:
  6841. description: 是否主账户 0-否 1-是
  6842. type: integer
  6843. parentaccountid:
  6844. description: 父账户id
  6845. type: integer
  6846. relateduserid:
  6847. description: 关联userid
  6848. type: integer
  6849. tradefeetmpid:
  6850. description: 手续费模板id
  6851. type: integer
  6852. tradefeetmpname:
  6853. description: 手续费模板名称
  6854. type: string
  6855. trademargintmpid:
  6856. description: 保证金模板id
  6857. type: integer
  6858. trademargintmpname:
  6859. description: 保证金模板名称
  6860. type: string
  6861. traderatetmpid:
  6862. description: 汇率模板id
  6863. type: integer
  6864. traderatetmpname:
  6865. description: 汇率模板名称
  6866. type: string
  6867. tradestatus:
  6868. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6869. type: integer
  6870. userid:
  6871. description: 用户id
  6872. type: integer
  6873. type: object
  6874. models.ErmcpTaAccountEx:
  6875. properties:
  6876. mainAcc:
  6877. $ref: '#/definitions/models.ErmcpTaAccountM'
  6878. description: 主账号
  6879. type: object
  6880. subacclist:
  6881. description: 子账号列表
  6882. items:
  6883. $ref: '#/definitions/models.ErmcpTaAccount'
  6884. type: array
  6885. type: object
  6886. models.ErmcpTaAccountInfo:
  6887. properties:
  6888. accountid:
  6889. description: 资金账户ID
  6890. type: integer
  6891. accountname:
  6892. description: 账户名称
  6893. type: string
  6894. balance:
  6895. description: 期初余额
  6896. type: number
  6897. capitalbalance:
  6898. description: 本金余额[外部子账户实际出入金余额]
  6899. type: number
  6900. closepl:
  6901. description: 今日平仓盈亏
  6902. type: number
  6903. creditdecrease:
  6904. description: 今日授信减少
  6905. type: number
  6906. creditincrease:
  6907. description: 今日授信增加
  6908. type: number
  6909. curdebt:
  6910. description: 期末欠款
  6911. type: number
  6912. currencyid:
  6913. description: 货币ID
  6914. type: integer
  6915. currentbalance:
  6916. description: 期末余额
  6917. type: number
  6918. freezecharge:
  6919. description: 手续费冻结
  6920. type: number
  6921. freezemargin:
  6922. description: 冻结保证金
  6923. type: number
  6924. fromaccountid:
  6925. description: 所属上级账户
  6926. type: integer
  6927. inamount:
  6928. description: 今日入金金额(包括三方入金)
  6929. type: number
  6930. ismain:
  6931. description: 是否母账号 0:不是母账户 1:是母账户
  6932. type: integer
  6933. mortgagecredit:
  6934. description: 授信金额
  6935. type: number
  6936. oridebt:
  6937. description: 期初欠款
  6938. type: number
  6939. orifreezecharge:
  6940. description: 期初手续费冻结
  6941. type: number
  6942. orifreezemargin:
  6943. description: 期初冻结保证金
  6944. type: number
  6945. orimortgagecredit:
  6946. description: 期初授信金额
  6947. type: number
  6948. oriothercredit:
  6949. description: 期初其它授信金额
  6950. type: number
  6951. oriotherfreezemargin:
  6952. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6953. type: number
  6954. orioutamountfreeze:
  6955. description: 期初出金冻结
  6956. type: number
  6957. oriusedmargin:
  6958. description: 期初占用保证金
  6959. type: number
  6960. othercredit:
  6961. description: 其它授信金额
  6962. type: number
  6963. othercreditdecrease:
  6964. description: 今日其它授信减少
  6965. type: number
  6966. othercreditincrease:
  6967. description: 今日其它授信增加
  6968. type: number
  6969. otherfreezemargin:
  6970. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6971. type: number
  6972. outamount:
  6973. description: 今日出金金额(包括三方出金)
  6974. type: number
  6975. outamountfreeze:
  6976. description: 出金冻结
  6977. type: number
  6978. outthreshold:
  6979. description: 出金阈值
  6980. type: number
  6981. parentaccountid:
  6982. description: 所属根账号
  6983. type: integer
  6984. paycharge:
  6985. description: 今日手续费支出
  6986. type: number
  6987. relateduserid:
  6988. description: 关联用户
  6989. type: integer
  6990. signstatus:
  6991. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6992. type: integer
  6993. sublevelpath:
  6994. description: 账号层级路径(逗号分隔,首尾加逗号)
  6995. type: string
  6996. taaccounttype:
  6997. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6998. type: integer
  6999. thirdinamount:
  7000. description: 今日三方入金
  7001. type: number
  7002. thirdoutamount:
  7003. description: 今日三方出金
  7004. type: number
  7005. tradestatus:
  7006. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7007. type: integer
  7008. transferamount:
  7009. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7010. type: number
  7011. usedmargin:
  7012. description: 占用保证金
  7013. type: number
  7014. userid:
  7015. description: 用户ID
  7016. type: integer
  7017. type: object
  7018. models.ErmcpTaAccountM:
  7019. properties:
  7020. accountid:
  7021. description: 账户id
  7022. type: integer
  7023. accountname:
  7024. description: 账户名称
  7025. type: string
  7026. currencyid:
  7027. description: 币种id
  7028. type: integer
  7029. fcid:
  7030. description: 期货公司id
  7031. type: integer
  7032. fcname:
  7033. description: 期货公司代码
  7034. type: string
  7035. hedgeaccountcode:
  7036. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7037. type: string
  7038. ismain:
  7039. description: 是否主账户 0-否 1-是
  7040. type: integer
  7041. parentaccountid:
  7042. description: 父账户id
  7043. type: integer
  7044. relateduserid:
  7045. description: 关联userid
  7046. type: integer
  7047. tradefeetmpid:
  7048. description: 手续费模板id
  7049. type: integer
  7050. tradefeetmpname:
  7051. description: 手续费模板名称
  7052. type: string
  7053. trademargintmpid:
  7054. description: 保证金模板id
  7055. type: integer
  7056. trademargintmpname:
  7057. description: 保证金模板名称
  7058. type: string
  7059. traderatetmpid:
  7060. description: 汇率模板id
  7061. type: integer
  7062. traderatetmpname:
  7063. description: 汇率模板名称
  7064. type: string
  7065. tradestatus:
  7066. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7067. type: integer
  7068. userid:
  7069. description: 用户id
  7070. type: integer
  7071. type: object
  7072. models.ErmcpTradeConfigTMP:
  7073. properties:
  7074. areauserid:
  7075. description: 所属机构
  7076. type: integer
  7077. basiccurrencyid:
  7078. description: 基本币种ID[汇率] - 目标币种
  7079. type: integer
  7080. mainaccountid:
  7081. description: 主账户ID
  7082. type: integer
  7083. modifierid:
  7084. description: 修改人
  7085. type: integer
  7086. remark:
  7087. description: 备注
  7088. type: string
  7089. tradeconfigtmpid:
  7090. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7091. type: integer
  7092. tradeconfigtmpname:
  7093. description: 交易配置模板名称
  7094. type: string
  7095. tradeconfigtmptype:
  7096. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7097. type: integer
  7098. updatetime:
  7099. description: 更新时间
  7100. type: string
  7101. type: object
  7102. models.ErmcpUserModel:
  7103. properties:
  7104. address:
  7105. description: 通讯地址
  7106. type: string
  7107. attachment1:
  7108. description: 附件1
  7109. type: string
  7110. audittime:
  7111. description: 审核时间
  7112. type: string
  7113. cardbackphotourl:
  7114. description: 证件反面图片地址
  7115. type: string
  7116. cardfrontphotourl:
  7117. description: 证件正面图片地址
  7118. type: string
  7119. cardnum:
  7120. description: 证件号码
  7121. type: string
  7122. cardtype:
  7123. description: 证件类型
  7124. type: integer
  7125. cardtypename:
  7126. description: 证件类型名称
  7127. type: string
  7128. cityid:
  7129. description: 市
  7130. type: integer
  7131. contactname:
  7132. description: 联系人
  7133. type: string
  7134. countryid:
  7135. description: 国家
  7136. type: integer
  7137. createtime:
  7138. description: 创建时间
  7139. type: string
  7140. customername:
  7141. description: 企业名称
  7142. type: string
  7143. districtid:
  7144. description: 区域
  7145. type: integer
  7146. email:
  7147. description: 邮件
  7148. type: string
  7149. legalpersonname:
  7150. description: 法人姓名(企业)
  7151. type: string
  7152. memberuserid:
  7153. description: 所属机构ID
  7154. type: integer
  7155. mobile:
  7156. description: 手机号码
  7157. type: string
  7158. modifytime:
  7159. description: 修改时间
  7160. type: string
  7161. nickname:
  7162. description: 昵称
  7163. type: string
  7164. provinceid:
  7165. description: 省
  7166. type: integer
  7167. remark:
  7168. description: 备注
  7169. type: string
  7170. status:
  7171. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7172. type: integer
  7173. statusdesc:
  7174. description: 账户状态中文描述
  7175. type: string
  7176. taxpayernum:
  7177. description: 纳税人识别号
  7178. type: string
  7179. telphone:
  7180. description: 联系电话
  7181. type: string
  7182. userid:
  7183. description: 用户ID
  7184. type: integer
  7185. userinfotype:
  7186. description: 客户类型
  7187. type: string
  7188. type: object
  7189. models.ErmcpWareHouseInfo:
  7190. properties:
  7191. address:
  7192. description: 详细地址
  7193. type: string
  7194. areauserid:
  7195. description: 所属机构
  7196. type: integer
  7197. autoid:
  7198. description: 自增ID(仓库ID)
  7199. type: integer
  7200. cityid:
  7201. description: 市
  7202. type: integer
  7203. contactname:
  7204. description: 联系人
  7205. type: string
  7206. contactnum:
  7207. description: 联系电话
  7208. type: string
  7209. countryid:
  7210. description: 国家
  7211. type: integer
  7212. createtime:
  7213. description: 创建时间
  7214. type: string
  7215. districtid:
  7216. description: 区
  7217. type: integer
  7218. hasvideo:
  7219. description: 是否有视频 - 0:无 1:有
  7220. type: integer
  7221. provinceid:
  7222. description: 省
  7223. type: integer
  7224. remark:
  7225. description: 审核备注
  7226. type: string
  7227. videourl:
  7228. description: 视频地址
  7229. type: string
  7230. warehousecode:
  7231. description: 仓库代码
  7232. type: string
  7233. warehousename:
  7234. description: 仓库名称
  7235. type: string
  7236. warehousestatus:
  7237. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7238. type: integer
  7239. warehousetype:
  7240. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7241. type: integer
  7242. type: object
  7243. models.Externalexchange:
  7244. properties:
  7245. autoid:
  7246. description: AutoID - SEQ_EXTERNALEXCHANGE
  7247. type: integer
  7248. exchangefullname:
  7249. description: 外部交易所全称
  7250. type: string
  7251. exexchangecode:
  7252. description: 外部交易所代码
  7253. type: string
  7254. exexchangename:
  7255. description: 外部交易所名称(简称)
  7256. type: string
  7257. ismarketprice:
  7258. description: 是否支持市价 - 0:不支持 1:支持
  7259. type: integer
  7260. quotegear:
  7261. description: 行情档位(1-10)
  7262. type: integer
  7263. showbrokerflag:
  7264. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7265. type: integer
  7266. updatetime:
  7267. description: 更新时间
  7268. type: string
  7269. required:
  7270. - autoid
  7271. type: object
  7272. models.Funcmenulist:
  7273. properties:
  7274. iconame:
  7275. description: 菜单图标
  7276. type: string
  7277. menutype:
  7278. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7279. type: integer
  7280. parentcode:
  7281. description: 上级资源代码
  7282. type: string
  7283. remark:
  7284. description: 备注
  7285. type: string
  7286. resourcecode:
  7287. description: 资源代码
  7288. type: string
  7289. resourcelevel:
  7290. description: 级别 1-一级 2-二级 3-三级 4-四级
  7291. type: integer
  7292. resourcename:
  7293. description: 资源名
  7294. type: string
  7295. sort:
  7296. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7297. type: integer
  7298. url:
  7299. description: URL
  7300. type: string
  7301. required:
  7302. - resourcecode
  7303. type: object
  7304. models.Goods:
  7305. properties:
  7306. agreeunit:
  7307. description: 合约单位
  7308. type: number
  7309. areauserid:
  7310. description: 所属机构
  7311. type: integer
  7312. auditaccountid:
  7313. description: 审核操作员账号
  7314. type: integer
  7315. audittime:
  7316. description: 审核时间
  7317. type: string
  7318. cancelaccountid:
  7319. description: 注销操作员账号
  7320. type: integer
  7321. canceltime:
  7322. description: 注销时间
  7323. type: string
  7324. closepricemode:
  7325. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7326. type: integer
  7327. closepriceparam:
  7328. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7329. type: number
  7330. createtime:
  7331. description: 创建时间
  7332. type: string
  7333. creatorid:
  7334. description: 创建人
  7335. type: integer
  7336. currencyid:
  7337. description: 报价货币ID
  7338. type: integer
  7339. cutmode:
  7340. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7341. type: integer
  7342. decimalplace:
  7343. description: 报价小数位
  7344. type: integer
  7345. delistingdate:
  7346. description: 商品退市时间(状态:退市) -- 已作废
  7347. type: string
  7348. delistingmode:
  7349. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7350. type: integer
  7351. deliveryflag:
  7352. description: 交割标志 - 0:不可交割 1:可交割
  7353. type: integer
  7354. forceclosemode:
  7355. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7356. type: integer
  7357. forceclosevalue:
  7358. description: 定期强平参数 [收益权]
  7359. type: integer
  7360. goodscode:
  7361. description: 商品代码(内部)
  7362. type: string
  7363. goodscurrencyid:
  7364. description: 合约货币ID
  7365. type: integer
  7366. goodsgroupid:
  7367. description: 所属商品组ID
  7368. type: integer
  7369. goodsid:
  7370. description: 商品ID(自增ID SEQ_GOODS)
  7371. type: integer
  7372. goodsname:
  7373. description: 商品名称
  7374. type: string
  7375. goodsquotetype:
  7376. description: '合约报价类型: 1-直接报价 2-间接报价'
  7377. type: integer
  7378. goodsstatus:
  7379. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7380. type: integer
  7381. goodstradetype:
  7382. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7383. type: integer
  7384. goodunitid:
  7385. description: 报价单位ID
  7386. type: integer
  7387. hasquoter:
  7388. description: 是否有报价商 - 0:无报价商 1:有报价商
  7389. type: integer
  7390. hqprotecttime:
  7391. description: 行情保护时间(秒)
  7392. type: integer
  7393. innerdealmode:
  7394. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7395. type: integer
  7396. isbuylimited:
  7397. description: 是否限制建仓量 - 0:不限制 1:限制
  7398. type: integer
  7399. isvisible:
  7400. description: 游客是否可见 - 0:不可见 1:可见
  7401. type: integer
  7402. lasttradedate:
  7403. description: 最后交易日期(状态:待退市)
  7404. type: string
  7405. listingdate:
  7406. description: 交易开始日期
  7407. type: string
  7408. marketid:
  7409. description: 所属市场ID
  7410. type: integer
  7411. modifierid:
  7412. description: 修改人
  7413. type: integer
  7414. modifystatus:
  7415. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7416. type: integer
  7417. modifytime:
  7418. description: 修改时间
  7419. type: string
  7420. outerdealmode:
  7421. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7422. type: integer
  7423. outgoodscode:
  7424. description: 商品代码(外部)
  7425. type: string
  7426. pictureurl:
  7427. description: 商品图片
  7428. type: string
  7429. qtydecimalplace:
  7430. description: 成交量小数位
  7431. type: integer
  7432. quotegear:
  7433. description: 行情档位(1-10)
  7434. type: integer
  7435. quoteminunit:
  7436. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7437. type: integer
  7438. quoteshowtype:
  7439. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7440. type: integer
  7441. quoteshowtypeinterval:
  7442. description: 行情报价间隔时间(秒)(成交价时为0)
  7443. type: integer
  7444. remark:
  7445. description: 备注
  7446. type: string
  7447. required:
  7448. - goodscode
  7449. - goodsid
  7450. - goodsname
  7451. - marketid
  7452. type: object
  7453. models.GoodsIDAndName:
  7454. properties:
  7455. goodscode:
  7456. description: 商品代码(内部)
  7457. type: string
  7458. goodsid:
  7459. description: 商品ID(自增ID SEQ_GOODS)
  7460. type: integer
  7461. goodsname:
  7462. description: 商品名称
  7463. type: string
  7464. marketid:
  7465. description: 所属市场ID
  7466. type: integer
  7467. required:
  7468. - goodscode
  7469. - goodsid
  7470. - goodsname
  7471. - marketid
  7472. type: object
  7473. models.Goodsgroup:
  7474. properties:
  7475. agreeunit:
  7476. description: 合约单位
  7477. type: number
  7478. canshort:
  7479. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7480. type: integer
  7481. closepricemode:
  7482. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7483. type: integer
  7484. closepriceparam:
  7485. description: 强平最新价浮动比例 - 方式为2时使用
  7486. type: number
  7487. createtime:
  7488. description: 创建时间
  7489. type: string
  7490. creatorid:
  7491. description: 创建人
  7492. type: integer
  7493. currencyid:
  7494. description: 报价货币ID
  7495. type: integer
  7496. decimalplace:
  7497. description: 报价小数位
  7498. type: integer
  7499. exercisetype:
  7500. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7501. type: integer
  7502. exexchangeid:
  7503. description: 外部交易所ID[通道交易]
  7504. type: integer
  7505. goodsgroupid:
  7506. description: 商品组ID(自增ID)
  7507. type: integer
  7508. goodsgroupname:
  7509. description: 商品组名称
  7510. type: string
  7511. goodsgroupstatus:
  7512. description: 商品组状态 - 1:正常 2:注销
  7513. type: integer
  7514. goodunitid:
  7515. description: 报价单位ID
  7516. type: integer
  7517. innerdealmode:
  7518. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7519. type: integer
  7520. isbuylimited:
  7521. description: 是否限制建仓量 - 0:不限制 1:限制
  7522. type: integer
  7523. marketid:
  7524. description: 所属市场ID
  7525. type: integer
  7526. modifierid:
  7527. description: 修改人
  7528. type: integer
  7529. modifytime:
  7530. description: 修改时间
  7531. type: string
  7532. outerdealmode:
  7533. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7534. type: integer
  7535. outergroupcode:
  7536. description: 外部商品组代码[通道交易]
  7537. type: string
  7538. premiumdecimalplace:
  7539. description: 权利金小数位[场外期权]
  7540. type: integer
  7541. premiumspreadalgorithm:
  7542. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7543. type: integer
  7544. premiumspreadvalue:
  7545. description: 权利金点差值[场外期权]
  7546. type: number
  7547. qtydecimalplace:
  7548. description: 成交量小数位
  7549. type: integer
  7550. quotegear:
  7551. description: 行情档位(1-10)
  7552. type: integer
  7553. quoteminunit:
  7554. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7555. type: integer
  7556. quoterid:
  7557. description: 报价商ID[场外期权]
  7558. type: integer
  7559. quotesourcegroupid:
  7560. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7561. type: integer
  7562. syncgoodsqty:
  7563. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7564. type: integer
  7565. required:
  7566. - goodsgroupid
  7567. - goodsgroupname
  7568. - goodsgroupstatus
  7569. - marketid
  7570. type: object
  7571. models.Goodssortbypreposition:
  7572. properties:
  7573. goodscode:
  7574. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7575. type: string
  7576. goodsgroupcode:
  7577. description: 品种代码
  7578. type: string
  7579. prepositionqty:
  7580. description: 昨持仓量
  7581. type: integer
  7582. sortindex:
  7583. description: 排序
  7584. type: integer
  7585. tradedate:
  7586. description: 交易日
  7587. type: string
  7588. updatetime:
  7589. description: 更新时间
  7590. type: string
  7591. required:
  7592. - goodscode
  7593. - tradedate
  7594. type: object
  7595. models.Hedgeinnerholderdetail:
  7596. properties:
  7597. accountid:
  7598. description: 账号ID
  7599. type: integer
  7600. buyorsell:
  7601. description: 方向 - 0:买 1:卖
  7602. type: integer
  7603. freezeqty:
  7604. description: 冻结数量 - 按单平使用
  7605. type: integer
  7606. goodsid:
  7607. description: 商品ID
  7608. type: integer
  7609. holderamount:
  7610. description: 持仓金额 [商品币种]
  7611. type: number
  7612. holderdays:
  7613. description: 剩余冻结天数
  7614. type: integer
  7615. holderprice:
  7616. description: 持仓价格
  7617. type: number
  7618. holderqty:
  7619. description: 持仓数量
  7620. type: integer
  7621. marketid:
  7622. description: 市场ID
  7623. type: integer
  7624. openprice:
  7625. description: 建仓价格
  7626. type: number
  7627. openqty:
  7628. description: 建仓数量
  7629. type: integer
  7630. parentaccountid:
  7631. description: 所属母账户
  7632. type: integer
  7633. releaseamount:
  7634. description: 释放持仓金额[商品币种]
  7635. type: number
  7636. tradeamount:
  7637. description: 成交金额[账户]
  7638. type: number
  7639. tradedate:
  7640. description: 交易日(yyyyMMdd)
  7641. type: string
  7642. tradeid:
  7643. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7644. type: string
  7645. tradetime:
  7646. description: 交易时间
  7647. type: string
  7648. required:
  7649. - buyorsell
  7650. - tradeid
  7651. type: object
  7652. models.Hedgemarketopenlog:
  7653. properties:
  7654. accountid:
  7655. description: 资金账号[外部母账户]
  7656. type: integer
  7657. fcname:
  7658. description: 期货公司名称
  7659. type: string
  7660. handlestatus:
  7661. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7662. type: integer
  7663. marketid:
  7664. description: 市场ID
  7665. type: integer
  7666. status:
  7667. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7668. type: integer
  7669. tradedate:
  7670. description: 交易日(yyyyMMdd)
  7671. type: string
  7672. updatetime:
  7673. description: 更新时间
  7674. type: string
  7675. required:
  7676. - accountid
  7677. type: object
  7678. models.HsbyBuyMyPayOrder:
  7679. properties:
  7680. agreeunit:
  7681. description: 合约单位
  7682. type: number
  7683. buyaccountid:
  7684. description: 买方账号ID[报价币种]
  7685. type: integer
  7686. buyorderid:
  7687. description: 买方委托单号
  7688. type: string
  7689. createtime:
  7690. description: 创建时间
  7691. type: string
  7692. currencysign:
  7693. description: 货币符号
  7694. type: string
  7695. decimalplace:
  7696. description: 报价小数位
  7697. type: integer
  7698. goodscode:
  7699. description: 商品代码(内部)
  7700. type: string
  7701. goodsid:
  7702. description: 商品ID
  7703. type: integer
  7704. goodsname:
  7705. description: 商品名称
  7706. type: string
  7707. marketid:
  7708. description: 市场ID
  7709. type: integer
  7710. offamount:
  7711. description: 优惠金额
  7712. type: number
  7713. originalamount:
  7714. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7715. type: number
  7716. payamount:
  7717. description: 支付金额 = TradeAmount + TradeCharge
  7718. type: number
  7719. payflag:
  7720. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7721. type: integer
  7722. paylimitedtime:
  7723. description: 支付期限
  7724. type: string
  7725. paytime:
  7726. description: 付款时间
  7727. type: string
  7728. picurls1:
  7729. description: 预售商品介绍图片[多张用逗号分隔]
  7730. type: string
  7731. picurls2:
  7732. description: 挂牌商品介绍图片[多张用逗号分隔]
  7733. type: string
  7734. sellaccountid:
  7735. description: 卖方账号ID[报价币种]
  7736. type: integer
  7737. sellorderid:
  7738. description: 卖方委托单号
  7739. type: string
  7740. tradeamount:
  7741. description: 成交金额
  7742. type: number
  7743. tradecharge:
  7744. description: 成交手续费(买方)
  7745. type: number
  7746. tradedate:
  7747. description: 交易日(yyyyMMdd)
  7748. type: string
  7749. tradeid:
  7750. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7751. type: string
  7752. trademode:
  7753. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7754. 21:竞拍-大宗式 22:受托竞价
  7755. type: integer
  7756. tradeprice:
  7757. description: 成交价格
  7758. type: number
  7759. tradeqty:
  7760. description: 成交数量
  7761. type: integer
  7762. vendorname1:
  7763. description: 预售商品供应商名称
  7764. type: string
  7765. vendorname2:
  7766. description: 挂牌商品供应商名称
  7767. type: string
  7768. required:
  7769. - goodscode
  7770. - goodsname
  7771. - tradeid
  7772. - trademode
  7773. type: object
  7774. models.HsbyBuyMyTradeDetail:
  7775. properties:
  7776. accountid:
  7777. description: 账户ID[报价币种]
  7778. type: integer
  7779. agreeunit:
  7780. description: 合约单位
  7781. type: number
  7782. amount:
  7783. description: 金额 = 价格 * 数量 * 合约单位
  7784. type: number
  7785. buyorsell:
  7786. description: 买卖 - 0:买 1:卖
  7787. type: integer
  7788. currencysign:
  7789. description: 货币符号
  7790. type: string
  7791. decimalplace:
  7792. description: 报价小数位
  7793. type: integer
  7794. goodscode:
  7795. description: 商品代码(内部)
  7796. type: string
  7797. goodsid:
  7798. description: 商品ID
  7799. type: integer
  7800. goodsname:
  7801. description: 商品名称
  7802. type: string
  7803. marketid:
  7804. description: 市场ID
  7805. type: integer
  7806. orderamount:
  7807. description: 委托金额
  7808. type: number
  7809. orderid:
  7810. description: 单号(成交单号)
  7811. type: string
  7812. picurls1:
  7813. description: 预售商品介绍图片[多张用逗号分隔]
  7814. type: string
  7815. picurls2:
  7816. description: 挂牌商品介绍图片[多张用逗号分隔]
  7817. type: string
  7818. price:
  7819. description: 价格
  7820. type: number
  7821. qty:
  7822. description: 数量
  7823. type: integer
  7824. time:
  7825. description: 时间
  7826. type: string
  7827. trademode:
  7828. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7829. 21:竞拍-大宗式 22:受托竞价
  7830. type: integer
  7831. vendorname1:
  7832. description: 预售商品供应商名称
  7833. type: string
  7834. vendorname2:
  7835. description: 挂牌商品供应商名称
  7836. type: string
  7837. required:
  7838. - accountid
  7839. - buyorsell
  7840. - goodscode
  7841. - goodsid
  7842. - goodsname
  7843. - marketid
  7844. - orderid
  7845. - qty
  7846. - time
  7847. - trademode
  7848. type: object
  7849. models.HsbyGoodsOrderDetail:
  7850. properties:
  7851. buyorsell:
  7852. description: 买卖 - 0:买 1:卖
  7853. type: integer
  7854. currencysign:
  7855. description: 货币符号
  7856. type: string
  7857. customername:
  7858. description: 客户名称(企业名称),已脱敏
  7859. type: string
  7860. enableqty:
  7861. description: 可用数量
  7862. type: integer
  7863. goodunit:
  7864. description: 报价单位
  7865. type: string
  7866. orderid:
  7867. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7868. type: string
  7869. orderprice:
  7870. description: 委托价格
  7871. type: number
  7872. ordertime:
  7873. description: 委托时间
  7874. type: string
  7875. required:
  7876. - buyorsell
  7877. - orderid
  7878. - ordertime
  7879. type: object
  7880. models.HsbyListingGoodsDetail:
  7881. properties:
  7882. agreeunit:
  7883. description: 合约单位
  7884. type: number
  7885. buymaxqty:
  7886. description: 购买上限 [71] - 0为不限
  7887. type: integer
  7888. currency:
  7889. description: 货币
  7890. type: string
  7891. currencysign:
  7892. description: 货币符号
  7893. type: string
  7894. decimalplace:
  7895. description: 报价小数位
  7896. type: integer
  7897. desccityid:
  7898. description: 目的地(市)ID
  7899. type: integer
  7900. descprovinceid:
  7901. description: 目的地(省)ID
  7902. type: integer
  7903. goodscode:
  7904. description: 商品代码(内部)
  7905. type: string
  7906. goodsdesc:
  7907. description: 商品详情
  7908. type: string
  7909. goodsid:
  7910. description: 商品ID(自增ID SEQ_GOODS)
  7911. type: integer
  7912. goodsname:
  7913. description: 商品名称
  7914. type: string
  7915. goodsprice:
  7916. description: 商品价格
  7917. type: number
  7918. hotindex:
  7919. description: 景点热度
  7920. type: integer
  7921. last:
  7922. description: 现价
  7923. type: number
  7924. limitdown:
  7925. description: 跌停价
  7926. type: number
  7927. limitup:
  7928. description: 涨停价
  7929. type: number
  7930. lotsize:
  7931. description: 手数最小变动单位
  7932. type: integer
  7933. marketid:
  7934. description: 所属市场ID
  7935. type: integer
  7936. picurls:
  7937. description: 介绍图片[多张用逗号分隔]
  7938. type: string
  7939. quoteminunit:
  7940. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7941. type: integer
  7942. stepvalue:
  7943. description: 价格最小变动单位
  7944. type: number
  7945. trademode:
  7946. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7947. 21:竞拍-大宗式 22:受托竞价
  7948. type: integer
  7949. vendorattr:
  7950. description: 供应商附件(多张,逗号分隔)
  7951. type: string
  7952. vendorname:
  7953. description: 供应商名称
  7954. type: string
  7955. vendorphone:
  7956. description: 供应商客服电话
  7957. type: string
  7958. videourls:
  7959. description: 介绍视频[多张用逗号分隔]
  7960. type: string
  7961. required:
  7962. - goodscode
  7963. - goodsid
  7964. - goodsname
  7965. - marketid
  7966. - trademode
  7967. type: object
  7968. models.HsbyMarketGoods:
  7969. properties:
  7970. accountid:
  7971. description: 账户ID[报价币种]
  7972. type: integer
  7973. agreeunit:
  7974. description: 合约单位
  7975. type: number
  7976. buyorsell:
  7977. description: 买卖 - 0:买 1:卖
  7978. type: integer
  7979. categoryid:
  7980. description: 类别ID(WRCATEGORY)
  7981. type: integer
  7982. currency:
  7983. description: 货币
  7984. type: string
  7985. currencysign:
  7986. description: 货币符号
  7987. type: string
  7988. customername:
  7989. description: 卖家名称
  7990. type: string
  7991. decimalplace:
  7992. description: 报价小数位
  7993. type: integer
  7994. goodscode:
  7995. description: 商品代码(内部)
  7996. type: string
  7997. goodsid:
  7998. description: 商品ID
  7999. type: integer
  8000. goodsname:
  8001. description: 商品名称
  8002. type: string
  8003. goodsprice:
  8004. description: 商品价格
  8005. type: number
  8006. hascoupon:
  8007. description: 是否可用优惠卷
  8008. type: boolean
  8009. hotindex:
  8010. description: 景点热度
  8011. type: integer
  8012. marketid:
  8013. description: 市场ID
  8014. type: integer
  8015. orderid:
  8016. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8017. type: string
  8018. orderprice:
  8019. description: 委托价格
  8020. type: number
  8021. orderstatus:
  8022. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8023. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8024. 16:成交失败违约(荷兰式竞拍专用)
  8025. type: integer
  8026. picurls:
  8027. description: 介绍图片[多张用逗号分隔]
  8028. type: string
  8029. quoteminunit:
  8030. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8031. type: integer
  8032. sellUserID:
  8033. description: 卖方UserID
  8034. type: integer
  8035. trademode:
  8036. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8037. 21:竞拍-大宗式 22:受托竞价
  8038. type: integer
  8039. videourls:
  8040. description: 介绍视频[多张用逗号分隔]
  8041. type: string
  8042. required:
  8043. - accountid
  8044. - buyorsell
  8045. - goodscode
  8046. - goodsid
  8047. - goodsname
  8048. - marketid
  8049. - orderid
  8050. - trademode
  8051. type: object
  8052. models.HsbyMarketGoodsDetail:
  8053. properties:
  8054. accountid:
  8055. description: 账户ID[报价币种]
  8056. type: integer
  8057. agreeunit:
  8058. description: 合约单位
  8059. type: number
  8060. buymaxqty:
  8061. description: 购买上限 [71] - 0为不限
  8062. type: integer
  8063. buyorsell:
  8064. description: 买卖 - 0:买 1:卖
  8065. type: integer
  8066. cancelqty:
  8067. description: 撤单数量
  8068. type: integer
  8069. categoryid:
  8070. description: 类别ID(WRCATEGORY)
  8071. type: integer
  8072. currency:
  8073. description: 货币
  8074. type: string
  8075. currencysign:
  8076. description: 货币符号
  8077. type: string
  8078. customername:
  8079. description: 卖家名称
  8080. type: string
  8081. decimalplace:
  8082. description: 报价小数位
  8083. type: integer
  8084. goodscode:
  8085. description: 商品代码(内部)
  8086. type: string
  8087. goodsdesc:
  8088. description: 商品详情
  8089. type: string
  8090. goodsid:
  8091. description: 商品ID
  8092. type: integer
  8093. goodsname:
  8094. description: 商品名称
  8095. type: string
  8096. goodsprice:
  8097. description: 商品价格
  8098. type: number
  8099. hotindex:
  8100. description: 景点热度
  8101. type: integer
  8102. lotsize:
  8103. description: 手数最小变动单位
  8104. type: integer
  8105. marketid:
  8106. description: 市场ID
  8107. type: integer
  8108. orderid:
  8109. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8110. type: string
  8111. orderprice:
  8112. description: 委托价格
  8113. type: number
  8114. orderqty:
  8115. description: 委托数量
  8116. type: integer
  8117. orderstatus:
  8118. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8119. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8120. 16:成交失败违约(荷兰式竞拍专用)
  8121. type: integer
  8122. picurls:
  8123. description: 介绍图片[多张用逗号分隔]
  8124. type: string
  8125. quoteminunit:
  8126. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8127. type: integer
  8128. sellUserID:
  8129. description: 卖方UserID
  8130. type: integer
  8131. trademode:
  8132. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8133. 21:竞拍-大宗式 22:受托竞价
  8134. type: integer
  8135. tradeqty:
  8136. description: 成交数量
  8137. type: integer
  8138. vendorattr:
  8139. description: 供应商附件(多张,逗号分隔)
  8140. type: string
  8141. vendorname:
  8142. description: 供应商名称
  8143. type: string
  8144. vendorphone:
  8145. description: 供应商客服电话
  8146. type: string
  8147. videourls:
  8148. description: 介绍视频[多张用逗号分隔]
  8149. type: string
  8150. required:
  8151. - accountid
  8152. - buyorsell
  8153. - goodscode
  8154. - goodsid
  8155. - goodsname
  8156. - marketid
  8157. - orderid
  8158. - orderqty
  8159. - trademode
  8160. type: object
  8161. models.HsbyMarketInfo:
  8162. properties:
  8163. marketid:
  8164. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8165. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8166. type: integer
  8167. marketname:
  8168. description: 市场名称
  8169. type: string
  8170. marketstatus:
  8171. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8172. type: integer
  8173. trademode:
  8174. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8175. 21:竞拍-大宗式 22:受托竞价
  8176. type: integer
  8177. required:
  8178. - marketid
  8179. - marketstatus
  8180. - trademode
  8181. type: object
  8182. models.HsbyMyGoods:
  8183. properties:
  8184. accountid:
  8185. description: 账号Id
  8186. type: integer
  8187. agreeunit:
  8188. description: 合约单位
  8189. type: number
  8190. buyaverageprice:
  8191. description: 持仓均价
  8192. type: number
  8193. buycurholderamount:
  8194. description: 买当前持仓总金额[商品币种]
  8195. type: number
  8196. buycurpositionqty:
  8197. description: 买当前持仓总数量
  8198. type: integer
  8199. buymaxqty:
  8200. description: 购买上限 [71] - 0为不限
  8201. type: integer
  8202. currencysign:
  8203. description: 货币符号
  8204. type: string
  8205. decimalplace:
  8206. description: 报价小数位
  8207. type: integer
  8208. enableqty:
  8209. description: 可用数量
  8210. type: integer
  8211. goodscode:
  8212. description: 商品代码(内部)
  8213. type: string
  8214. goodsid:
  8215. description: 商品Id
  8216. type: integer
  8217. goodsname:
  8218. description: 商品名称
  8219. type: string
  8220. goodsprice:
  8221. description: 商品价格
  8222. type: number
  8223. goodsstatus:
  8224. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8225. type: integer
  8226. last:
  8227. description: 现价(仅使用于挂牌点选)
  8228. type: number
  8229. limitdown:
  8230. description: 跌停价(仅使用于挂牌点选)
  8231. type: number
  8232. limitup:
  8233. description: 涨停价(仅使用于挂牌点选)
  8234. type: number
  8235. lotsize:
  8236. description: 手数最小变动单位
  8237. type: integer
  8238. marketid:
  8239. description: 所属市场ID
  8240. type: integer
  8241. picurls:
  8242. description: 介绍图片[多张用逗号分隔]
  8243. type: string
  8244. quoteminunit:
  8245. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8246. type: integer
  8247. stepvalue:
  8248. description: 价格最小变动单位
  8249. type: number
  8250. trademode:
  8251. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8252. 21:竞拍-大宗式 22:受托竞价
  8253. type: integer
  8254. required:
  8255. - accountid
  8256. - goodscode
  8257. - goodsid
  8258. - goodsname
  8259. - marketid
  8260. - trademode
  8261. type: object
  8262. models.HsbyMyPackage:
  8263. properties:
  8264. accountid:
  8265. description: 账户ID
  8266. type: integer
  8267. address:
  8268. description: 提货人详细地址
  8269. type: string
  8270. agreeunit:
  8271. description: 合约单位
  8272. type: number
  8273. amount:
  8274. description: 提货金额
  8275. type: number
  8276. auditer:
  8277. description: 审核人
  8278. type: integer
  8279. audittime:
  8280. description: 审核时间
  8281. type: string
  8282. averageprice:
  8283. description: 均价
  8284. type: number
  8285. cardnum:
  8286. description: 提货人证件号码
  8287. type: string
  8288. cardtypeid:
  8289. description: 提货人证件类型
  8290. type: integer
  8291. checkremark:
  8292. description: 审核备注
  8293. type: string
  8294. currencysign:
  8295. description: 货币符号
  8296. type: string
  8297. decimalplace:
  8298. description: 报价小数位
  8299. type: integer
  8300. goodscode:
  8301. description: 商品代码(内部)
  8302. type: string
  8303. goodsid:
  8304. description: 商品ID
  8305. type: integer
  8306. goodsname:
  8307. description: 商品名称
  8308. type: string
  8309. handlestatus:
  8310. description: 处理状态
  8311. type: integer
  8312. marketid:
  8313. description: 市场ID
  8314. type: integer
  8315. phonenum:
  8316. description: 提货人联系方式
  8317. type: string
  8318. picurls:
  8319. description: 介绍图片[多张用逗号分隔]
  8320. type: string
  8321. qty:
  8322. description: 提货数量
  8323. type: number
  8324. recivername:
  8325. description: 提货人姓名
  8326. type: string
  8327. reqtime:
  8328. description: 更新时间
  8329. type: string
  8330. takemode:
  8331. description: 提货方式 - 2:自提 3:配送
  8332. type: integer
  8333. takeorderid:
  8334. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8335. type: string
  8336. takeorderstatus:
  8337. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8338. type: integer
  8339. takeremark:
  8340. description: 提货备注
  8341. type: string
  8342. tradedate:
  8343. description: 交易日(yyyyMMdd)
  8344. type: string
  8345. trademode:
  8346. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8347. 21:竞拍-大宗式 22:受托竞价
  8348. type: integer
  8349. userid:
  8350. description: 用户ID
  8351. type: integer
  8352. vendorname:
  8353. description: 供应商名称
  8354. type: string
  8355. required:
  8356. - goodscode
  8357. - goodsname
  8358. - takeorderid
  8359. - trademode
  8360. type: object
  8361. models.HsbyPreGoods:
  8362. properties:
  8363. agreeunit:
  8364. description: 合约单位
  8365. type: number
  8366. currency:
  8367. description: 货币
  8368. type: string
  8369. currencysign:
  8370. description: 货币符号
  8371. type: string
  8372. decimalplace:
  8373. description: 报价小数位
  8374. type: integer
  8375. desccityid:
  8376. description: 目的地(市)
  8377. type: integer
  8378. descprovinceid:
  8379. description: 目的地(省)
  8380. type: integer
  8381. enableqty:
  8382. description: 剩余数量
  8383. type: integer
  8384. goodscode:
  8385. description: 商品代码(内部)
  8386. type: string
  8387. goodsid:
  8388. description: 商品ID(自增ID SEQ_GOODS)
  8389. type: integer
  8390. goodsname:
  8391. description: 商品名称
  8392. type: string
  8393. goodsstatus:
  8394. description: 商品状态- 2:未上市 3:上市
  8395. type: integer
  8396. lasttradedate:
  8397. description: 最后交易日期(状态:待退市)
  8398. type: string
  8399. listingdate:
  8400. description: 交易开始日期
  8401. type: string
  8402. marketid:
  8403. description: 所属市场ID
  8404. type: integer
  8405. picurls:
  8406. description: 介绍图片[多张用逗号分隔]
  8407. type: string
  8408. presaledqty:
  8409. description: 已预售量(预售结束时更新)
  8410. type: integer
  8411. presaleqty:
  8412. description: 预售数量
  8413. type: integer
  8414. quoteminunit:
  8415. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8416. type: integer
  8417. refprice:
  8418. description: 参考价格[一口价]
  8419. type: number
  8420. relatedgoodsid:
  8421. description: 关联交易合约ID
  8422. type: integer
  8423. trademode:
  8424. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8425. 21:竞拍-大宗式 22:受托竞价
  8426. type: integer
  8427. videourls:
  8428. description: 介绍视频[多张用逗号分隔]
  8429. type: string
  8430. required:
  8431. - goodscode
  8432. - goodsid
  8433. - goodsname
  8434. - marketid
  8435. - trademode
  8436. type: object
  8437. models.HsbyPreGoodsDetail:
  8438. properties:
  8439. agreeunit:
  8440. description: 合约单位
  8441. type: number
  8442. buymaxqty:
  8443. description: 购买上限 [71] - 0为不限
  8444. type: integer
  8445. currency:
  8446. description: 货币
  8447. type: string
  8448. currencysign:
  8449. description: 货币符号
  8450. type: string
  8451. customername:
  8452. description: 发行单位
  8453. type: string
  8454. decimalplace:
  8455. description: 报价小数位
  8456. type: integer
  8457. desccityid:
  8458. description: 目的地(市)ID
  8459. type: integer
  8460. descprovinceid:
  8461. description: 目的地(省)ID
  8462. type: integer
  8463. enableqty:
  8464. description: 剩余数量
  8465. type: integer
  8466. goodscode:
  8467. description: 商品代码(内部)
  8468. type: string
  8469. goodsdesc:
  8470. description: 商品详情
  8471. type: string
  8472. goodsid:
  8473. description: 商品ID(自增ID SEQ_GOODS)
  8474. type: integer
  8475. goodsname:
  8476. description: 商品名称
  8477. type: string
  8478. goodsstatus:
  8479. description: 商品状态- 2:未上市 3:上市
  8480. type: integer
  8481. goodunit:
  8482. description: 报价单位
  8483. type: string
  8484. lasttradedate:
  8485. description: 最后交易日期(状态:待退市)
  8486. type: string
  8487. listingdate:
  8488. description: 交易开始日期
  8489. type: string
  8490. lotsize:
  8491. description: 手数最小变动单位
  8492. type: integer
  8493. marketid:
  8494. description: 所属市场ID
  8495. type: integer
  8496. picurls:
  8497. description: 介绍图片[多张用逗号分隔]
  8498. type: string
  8499. presaledqty:
  8500. description: 已预售量(预售结束时更新)
  8501. type: integer
  8502. presaleqty:
  8503. description: 预售数量
  8504. type: integer
  8505. quoteminunit:
  8506. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8507. type: integer
  8508. refprice:
  8509. description: 参考价格[一口价]
  8510. type: number
  8511. relatedgoodsid:
  8512. description: 关联交易合约ID
  8513. type: integer
  8514. stepvalue:
  8515. description: 价格最小变动单位
  8516. type: number
  8517. trademode:
  8518. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8519. 21:竞拍-大宗式 22:受托竞价
  8520. type: integer
  8521. vendorattr:
  8522. description: 供应商附件(多张,逗号分隔)
  8523. type: string
  8524. vendorname:
  8525. description: 供应商名称
  8526. type: string
  8527. vendorphone:
  8528. description: 供应商客服电话
  8529. type: string
  8530. videourls:
  8531. description: 介绍视频[多张用逗号分隔]
  8532. type: string
  8533. required:
  8534. - goodscode
  8535. - goodsid
  8536. - goodsname
  8537. - marketid
  8538. - trademode
  8539. type: object
  8540. models.HsbySellCollectionOrder:
  8541. properties:
  8542. agreeunit:
  8543. description: 合约单位
  8544. type: number
  8545. buyaccountid:
  8546. description: 买方账号ID[报价币种]
  8547. type: integer
  8548. buyorderid:
  8549. description: 买方委托单号
  8550. type: string
  8551. createtime:
  8552. description: 创建时间
  8553. type: string
  8554. currencysign:
  8555. description: 货币符号
  8556. type: string
  8557. decimalplace:
  8558. description: 报价小数位
  8559. type: integer
  8560. goodscode:
  8561. description: 商品代码(内部)
  8562. type: string
  8563. goodsid:
  8564. description: 商品ID
  8565. type: integer
  8566. goodsname:
  8567. description: 商品名称
  8568. type: string
  8569. marketid:
  8570. description: 市场ID
  8571. type: integer
  8572. offamount:
  8573. description: 优惠金额
  8574. type: number
  8575. payamount:
  8576. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8577. type: number
  8578. payflag:
  8579. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8580. type: integer
  8581. paylimitedtime:
  8582. description: 支付期限
  8583. type: string
  8584. paytime:
  8585. description: 付款时间
  8586. type: string
  8587. picurls:
  8588. description: 商品介绍图片[多张用逗号分隔]
  8589. type: string
  8590. sellaccountid:
  8591. description: 卖方账号ID[报价币种]
  8592. type: integer
  8593. sellorderid:
  8594. description: 卖方委托单号
  8595. type: string
  8596. tradeamount:
  8597. description: 成交金额
  8598. type: number
  8599. tradecharge:
  8600. description: 成交手续费(买方)
  8601. type: number
  8602. tradedate:
  8603. description: 交易日(yyyyMMdd)
  8604. type: string
  8605. tradeid:
  8606. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8607. type: string
  8608. trademode:
  8609. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8610. 21:竞拍-大宗式 22:受托竞价
  8611. type: integer
  8612. tradeprice:
  8613. description: 成交价格
  8614. type: number
  8615. tradeqty:
  8616. description: 成交数量
  8617. type: integer
  8618. required:
  8619. - goodscode
  8620. - goodsname
  8621. - tradeid
  8622. - trademode
  8623. type: object
  8624. models.HsbySellMyDetail:
  8625. properties:
  8626. accountid:
  8627. description: 账户ID[报价币种]
  8628. type: integer
  8629. agreeunit:
  8630. description: 合约单位
  8631. type: number
  8632. buyorsell:
  8633. description: 买卖 - 0:买 1:卖
  8634. type: integer
  8635. currencysign:
  8636. description: 货币符号
  8637. type: string
  8638. decimalplace:
  8639. description: 报价小数位
  8640. type: integer
  8641. goodscode:
  8642. description: 商品代码(内部)
  8643. type: string
  8644. goodsid:
  8645. description: 商品ID
  8646. type: integer
  8647. goodsname:
  8648. description: 商品名称
  8649. type: string
  8650. marketid:
  8651. description: 市场ID
  8652. type: integer
  8653. orderid:
  8654. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8655. type: string
  8656. ordertype:
  8657. description: 单据类型:0 - 发布中, 1 - 已完成
  8658. type: integer
  8659. picurls:
  8660. description: 介绍图片[多张用逗号分隔]
  8661. type: string
  8662. price:
  8663. description: 价格
  8664. type: number
  8665. qty:
  8666. description: 数量
  8667. type: integer
  8668. time:
  8669. description: 时间
  8670. type: string
  8671. trademode:
  8672. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8673. 21:竞拍-大宗式 22:受托竞价
  8674. type: integer
  8675. vendorname:
  8676. description: 供应商名称
  8677. type: string
  8678. required:
  8679. - accountid
  8680. - buyorsell
  8681. - goodscode
  8682. - goodsid
  8683. - goodsname
  8684. - marketid
  8685. - orderid
  8686. - time
  8687. - trademode
  8688. type: object
  8689. models.HsbyTopGoods:
  8690. properties:
  8691. agreeunit:
  8692. description: 合约单位
  8693. type: number
  8694. currency:
  8695. description: 货币
  8696. type: string
  8697. currencysign:
  8698. description: 货币符号
  8699. type: string
  8700. decimalplace:
  8701. description: 报价小数位
  8702. type: integer
  8703. desccityid:
  8704. description: 目的地(市)
  8705. type: integer
  8706. descprovinceid:
  8707. description: 目的地(省)
  8708. type: integer
  8709. goodscode:
  8710. description: 商品代码(内部)
  8711. type: string
  8712. goodsid:
  8713. description: 商品ID(自增ID SEQ_GOODS)
  8714. type: integer
  8715. goodsname:
  8716. description: 商品名称
  8717. type: string
  8718. hotindex:
  8719. description: 景点热度
  8720. type: integer
  8721. last:
  8722. description: 现价
  8723. type: number
  8724. marketid:
  8725. description: 所属市场ID
  8726. type: integer
  8727. picurls:
  8728. description: 介绍图片[多张用逗号分隔]
  8729. type: string
  8730. quoteminunit:
  8731. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8732. type: integer
  8733. trademode:
  8734. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8735. 21:竞拍-大宗式 22:受托竞价
  8736. type: integer
  8737. videourls:
  8738. description: 介绍视频[多张用逗号分隔]
  8739. type: string
  8740. required:
  8741. - goodscode
  8742. - goodsid
  8743. - goodsname
  8744. - marketid
  8745. - trademode
  8746. type: object
  8747. models.HybsMyBuyOrderDetail:
  8748. properties:
  8749. accountid:
  8750. description: 账户ID[报价币种]
  8751. type: integer
  8752. agreeunit:
  8753. description: 合约单位
  8754. type: number
  8755. buyorsell:
  8756. description: 买卖 - 0:买 1:卖
  8757. type: integer
  8758. cancelqty:
  8759. description: 撤单数量
  8760. type: integer
  8761. currencysign:
  8762. description: 货币符号
  8763. type: string
  8764. decimalplace:
  8765. description: 报价小数位
  8766. type: integer
  8767. goodscode:
  8768. description: 商品代码(内部)
  8769. type: string
  8770. goodsid:
  8771. description: 商品ID
  8772. type: integer
  8773. goodsname:
  8774. description: 商品名称
  8775. type: string
  8776. listingselecttype:
  8777. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8778. type: integer
  8779. marketid:
  8780. description: 市场ID
  8781. type: integer
  8782. mybuystatus:
  8783. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8784. type: integer
  8785. orderamount:
  8786. description: 委托金额
  8787. type: number
  8788. orderid:
  8789. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8790. type: string
  8791. orderprice:
  8792. description: 委托价格
  8793. type: number
  8794. orderqty:
  8795. description: 委托数量
  8796. type: integer
  8797. orderstatus:
  8798. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8799. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8800. 16:成交失败违约(荷兰式竞拍专用)
  8801. type: integer
  8802. ordertime:
  8803. description: 委托时间
  8804. type: string
  8805. picurls1:
  8806. description: 预售商品介绍图片[多张用逗号分隔]
  8807. type: string
  8808. picurls2:
  8809. description: 挂牌商品介绍图片[多张用逗号分隔]
  8810. type: string
  8811. trademode:
  8812. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8813. 21:竞拍-大宗式 22:受托竞价
  8814. type: integer
  8815. tradeqty:
  8816. description: 成交数量
  8817. type: integer
  8818. vendorname1:
  8819. description: 预售商品供应商名称
  8820. type: string
  8821. vendorname2:
  8822. description: 挂牌商品供应商名称
  8823. type: string
  8824. required:
  8825. - accountid
  8826. - buyorsell
  8827. - goodscode
  8828. - goodsid
  8829. - goodsname
  8830. - marketid
  8831. - orderid
  8832. - orderqty
  8833. - ordertime
  8834. - trademode
  8835. type: object
  8836. models.Loginaccount:
  8837. properties:
  8838. accountname:
  8839. description: 账户名称
  8840. type: string
  8841. canoutin:
  8842. description: 是否可出入金 - 0:不可 1:可
  8843. type: integer
  8844. clientroleid:
  8845. description: 终端角色ID
  8846. type: integer
  8847. haslogined:
  8848. description: 是否已登录 - 0:未登录 1:已登录
  8849. type: integer
  8850. hasupdatedpwd:
  8851. description: 是否已更改密码 - 0:未修改 1:已修改
  8852. type: integer
  8853. lastloginip:
  8854. description: 最新登录地址
  8855. type: string
  8856. lastloginmode:
  8857. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8858. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8859. type: integer
  8860. lastloginremark:
  8861. description: 最新登录描述
  8862. type: string
  8863. lastlogintime:
  8864. description: 最新登录时间
  8865. type: string
  8866. logincode:
  8867. description: 登录代码
  8868. type: string
  8869. loginfailnum:
  8870. description: 连续登录失败次数(登录成功时清零)
  8871. type: integer
  8872. loginid:
  8873. description: 登陆账号
  8874. type: integer
  8875. loginport:
  8876. description: 最新登录端口
  8877. type: integer
  8878. loginstatus:
  8879. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8880. type: integer
  8881. loginusertype:
  8882. description: 登录账号类型 - 1:投资者 2:机构交易员
  8883. type: integer
  8884. mobile:
  8885. description: 手机号码(加密存储)
  8886. type: string
  8887. modifierid:
  8888. description: 修改人
  8889. type: integer
  8890. modifysrc:
  8891. description: 审核来源 - 1:管理端 2:终端
  8892. type: integer
  8893. modifytime:
  8894. description: 修改时间
  8895. type: string
  8896. password:
  8897. description: 登陆密码
  8898. type: string
  8899. pwdwrongcount:
  8900. description: 密码错误次数
  8901. type: integer
  8902. relateduserid:
  8903. description: 关联用户ID(机构)
  8904. type: integer
  8905. taaccountrighttype:
  8906. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8907. type: integer
  8908. unfreezetime:
  8909. description: 账户解冻时间
  8910. type: string
  8911. userid:
  8912. description: 用户ID
  8913. type: integer
  8914. required:
  8915. - loginid
  8916. type: object
  8917. models.MainAccountInfo:
  8918. properties:
  8919. accountid:
  8920. description: 账号id
  8921. type: integer
  8922. accountname:
  8923. description: 账号名称(taaccount表中的名称)
  8924. type: string
  8925. appid:
  8926. description: AppID
  8927. type: string
  8928. authcode:
  8929. description: 授权码
  8930. type: string
  8931. brokerid:
  8932. description: 经纪商id
  8933. type: string
  8934. fcid:
  8935. description: 期货公司id
  8936. type: integer
  8937. fcname:
  8938. description: 期货公司代码
  8939. type: string
  8940. hedgeaccountcode:
  8941. description: 外部账号代码(主账号登录代码)
  8942. type: string
  8943. hedgeaccountpwd:
  8944. description: 密码
  8945. type: string
  8946. ismain:
  8947. description: 是否主账号
  8948. type: integer
  8949. relateduserid:
  8950. description: 关联用户id
  8951. type: integer
  8952. userid:
  8953. description: 关联用户id
  8954. type: integer
  8955. type: object
  8956. models.Market:
  8957. properties:
  8958. auctionwrtype:
  8959. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8960. type: integer
  8961. canacceptquote:
  8962. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8963. type: integer
  8964. cangoodsexercise:
  8965. description: '[期权]是否可现货行权- 0:否 1:是'
  8966. type: integer
  8967. cangoodsexercisetype:
  8968. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8969. type: integer
  8970. canmanualquotestrike:
  8971. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8972. type: integer
  8973. canmutistage:
  8974. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8975. type: integer
  8976. canpreexercise:
  8977. description: '[期权]是否可预申报- 0:否 1:是'
  8978. type: integer
  8979. clearinterval:
  8980. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8981. type: integer
  8982. contracttmp:
  8983. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8984. type: string
  8985. exchareaid:
  8986. description: 所属交易所,可以没有
  8987. type: integer
  8988. goodstype:
  8989. description: 商品类型 - 1:交易商品 2:仓单商品
  8990. type: integer
  8991. hasrebate:
  8992. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8993. type: integer
  8994. hastradecredit:
  8995. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8996. type: integer
  8997. haswr:
  8998. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8999. type: integer
  9000. isdeductmargin:
  9001. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9002. type: integer
  9003. isrecordsource:
  9004. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9005. type: integer
  9006. isreleasemargin:
  9007. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9008. type: integer
  9009. marginformula:
  9010. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9011. type: integer
  9012. marginformula2:
  9013. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9014. type: integer
  9015. marketid:
  9016. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9017. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9018. type: integer
  9019. marketname:
  9020. description: 市场名称
  9021. type: string
  9022. marketserviceid:
  9023. description: 市场服务ID
  9024. type: integer
  9025. marketstatus:
  9026. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9027. type: integer
  9028. markettype:
  9029. description: 市场类型- 1:非交易服务 2:交易服务
  9030. type: integer
  9031. matchermode:
  9032. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9033. type: integer
  9034. openmethod:
  9035. description: 开盘模式 - 0 自动 1手动
  9036. type: integer
  9037. otcuserid:
  9038. description: 场外期权做市商[场外期权]
  9039. type: integer
  9040. outersynctime:
  9041. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9042. type: string
  9043. pendingflag:
  9044. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9045. type: integer
  9046. pendingtime:
  9047. description: 待开市时间[通道交易-对冲](HH:mm)
  9048. type: string
  9049. performancetempid:
  9050. description: 履约计划模板ID - 作废
  9051. type: integer
  9052. premiumquotemode:
  9053. description: 权利金报价方式 - 1:自动 2:手动
  9054. type: integer
  9055. rebateratio:
  9056. description: 返利比率[竞价式]
  9057. type: number
  9058. reckonorder:
  9059. description: 结算顺序
  9060. type: integer
  9061. reckonpricealgorithm:
  9062. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9063. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9064. type: integer
  9065. reckonpriceparam:
  9066. description: 结算价参数
  9067. type: integer
  9068. reckontime:
  9069. description: 结算时间[通道交易-对冲](HH:mm)
  9070. type: string
  9071. roleprioritytype:
  9072. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9073. type: integer
  9074. selllistingauditflag:
  9075. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9076. type: integer
  9077. trademarkettype:
  9078. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9079. type: integer
  9080. trademode:
  9081. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9082. 21:竞拍-大宗式 22:受托竞价
  9083. type: integer
  9084. tradeproperty:
  9085. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9086. 8:场外期权
  9087. type: integer
  9088. tradetype:
  9089. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9090. type: integer
  9091. required:
  9092. - marketid
  9093. - marketstatus
  9094. - openmethod
  9095. - reckonpricealgorithm
  9096. - trademode
  9097. - tradeproperty
  9098. type: object
  9099. models.Marketrun:
  9100. properties:
  9101. afternexttradedate:
  9102. description: 下下交易日
  9103. type: string
  9104. clearquoteflag:
  9105. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9106. type: integer
  9107. lastreckondate:
  9108. description: 最新交易日(结算成功)
  9109. type: string
  9110. machinedate:
  9111. description: 机器时间
  9112. type: string
  9113. manualflag:
  9114. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9115. type: integer
  9116. marketid:
  9117. description: 市场ID
  9118. type: integer
  9119. nexttradedate:
  9120. description: 下一交易日
  9121. type: string
  9122. pretradedate:
  9123. description: 上一交易日
  9124. type: string
  9125. reckonflag:
  9126. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9127. type: integer
  9128. runstatus:
  9129. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9130. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9131. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9132. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9133. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9134. 62.今日免清算
  9135. type: integer
  9136. sectionid:
  9137. description: 时间段号[多时段时用]
  9138. type: integer
  9139. tradedate:
  9140. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9141. type: string
  9142. tradedate2:
  9143. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9144. type: string
  9145. updatetime:
  9146. description: 更新时间
  9147. type: string
  9148. required:
  9149. - marketid
  9150. - nexttradedate
  9151. - reckonflag
  9152. - runstatus
  9153. - tradedate
  9154. - tradedate2
  9155. type: object
  9156. models.Messageboard:
  9157. properties:
  9158. contactnum:
  9159. description: 联系电话
  9160. type: string
  9161. createtime:
  9162. description: 创建时间
  9163. type: string
  9164. message:
  9165. description: 留言信息
  9166. type: string
  9167. messageboardid:
  9168. description: 留言簿ID(SEQ_MessageBoard)
  9169. type: integer
  9170. userid:
  9171. description: 用户ID
  9172. type: integer
  9173. required:
  9174. - messageboardid
  9175. type: object
  9176. models.MyCoupon:
  9177. properties:
  9178. accountid:
  9179. description: 资金账户ID
  9180. type: integer
  9181. areauserid:
  9182. description: 所属机构
  9183. type: integer
  9184. conditionvalue:
  9185. description: 条件阈值(可为0)
  9186. type: number
  9187. couponcategroy:
  9188. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9189. type: integer
  9190. couponname:
  9191. description: 优惠券名称
  9192. type: string
  9193. coupontypeid:
  9194. description: 优惠券类型ID
  9195. type: string
  9196. couponvalue:
  9197. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9198. type: number
  9199. curfreezeqty:
  9200. description: 期末冻结数量
  9201. type: integer
  9202. curqty:
  9203. description: 期末数量
  9204. type: integer
  9205. isgeneral:
  9206. description: 是否通用券 - 0:否 1:是
  9207. type: integer
  9208. isunusable:
  9209. description: 是否不可用
  9210. type: boolean
  9211. limitedflag:
  9212. description: 是否指定商品 - 0:不限 1:限制
  9213. type: integer
  9214. limitedgoodsids:
  9215. description: 指定商品IDs[逗号分隔,前后加逗号]
  9216. type: string
  9217. orifreezeqty:
  9218. description: 期初冻结数量
  9219. type: integer
  9220. oriqty:
  9221. description: 期初数量
  9222. type: integer
  9223. reasontype:
  9224. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9225. type: integer
  9226. todaydecrease:
  9227. description: 今日减少
  9228. type: integer
  9229. todayincrease:
  9230. description: 今日增加
  9231. type: integer
  9232. userid:
  9233. description: 用户ID
  9234. type: integer
  9235. userscope:
  9236. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9237. type: string
  9238. required:
  9239. - accountid
  9240. - coupontypeid
  9241. type: object
  9242. models.MyCouponHold:
  9243. properties:
  9244. accountid:
  9245. description: 资金账户ID
  9246. type: integer
  9247. conditionvalue:
  9248. description: 条件阈值(可为0)
  9249. type: number
  9250. couponcategroy:
  9251. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9252. type: integer
  9253. couponholdid:
  9254. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9255. type: string
  9256. couponname:
  9257. description: 优惠券名称
  9258. type: string
  9259. coupontypeid:
  9260. description: 优惠券类型ID - SEQ_COUPONTYPE
  9261. type: string
  9262. couponvalue:
  9263. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9264. type: number
  9265. createtime:
  9266. description: 创建时间
  9267. type: string
  9268. enddate:
  9269. description: 结束日期
  9270. type: string
  9271. giveapplyid:
  9272. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9273. type: integer
  9274. holdstatus:
  9275. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9276. type: integer
  9277. isgeneral:
  9278. description: 是否通用券 - 0:否 1:是
  9279. type: integer
  9280. limitedflag:
  9281. description: 是否指定商品 - 0:不限 1:限制
  9282. type: integer
  9283. limitedgoodsids:
  9284. description: 指定商品IDs[逗号分隔]
  9285. type: string
  9286. qty:
  9287. description: 数量(按1平铺)
  9288. type: integer
  9289. startdate:
  9290. description: 开始日期
  9291. type: string
  9292. userid:
  9293. description: 用户ID
  9294. type: integer
  9295. userscope:
  9296. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9297. type: string
  9298. required:
  9299. - couponholdid
  9300. type: object
  9301. models.MyUsedCoupon:
  9302. properties:
  9303. accountid:
  9304. description: 资金账户ID(买方)
  9305. type: integer
  9306. conditionvalue:
  9307. description: 条件阈值(可为0)
  9308. type: number
  9309. couponcategroy:
  9310. description: 种类 - 1:现金券 2:折扣券
  9311. type: integer
  9312. couponname:
  9313. description: 优惠券名称
  9314. type: string
  9315. coupontypeid:
  9316. description: 优惠券类型ID(买方)
  9317. type: string
  9318. couponvalue:
  9319. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9320. type: number
  9321. createtime:
  9322. description: 创建时间
  9323. type: string
  9324. goodsid:
  9325. description: 商品ID
  9326. type: integer
  9327. handlestatus:
  9328. description: 处理状态
  9329. type: integer
  9330. marketid:
  9331. description: 市场ID
  9332. type: integer
  9333. offamount:
  9334. description: 优惠金额
  9335. type: number
  9336. orderid:
  9337. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9338. type: string
  9339. sellaccountid:
  9340. description: 资金账户ID(卖方)
  9341. type: integer
  9342. tradeamount:
  9343. description: 成交金额
  9344. type: number
  9345. tradeid:
  9346. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9347. type: string
  9348. usedqty:
  9349. description: 使用数量
  9350. type: integer
  9351. required:
  9352. - coupontypeid
  9353. - orderid
  9354. type: object
  9355. models.OperationPrimaryMenu:
  9356. properties:
  9357. Children:
  9358. description: 二级功能菜单
  9359. items:
  9360. $ref: '#/definitions/models.OperationSecondaryMenu'
  9361. type: array
  9362. Key:
  9363. description: 菜单KEY
  9364. type: string
  9365. Label:
  9366. description: 菜单标题
  9367. type: string
  9368. type: object
  9369. models.OperationSecondaryMenu:
  9370. properties:
  9371. Key:
  9372. description: 菜单KEY
  9373. type: string
  9374. Label:
  9375. description: 菜单标题
  9376. type: string
  9377. TabList:
  9378. description: 三级功能菜单
  9379. items:
  9380. $ref: '#/definitions/models.OperationTabMenu'
  9381. type: array
  9382. type: object
  9383. models.OperationTabMenu:
  9384. properties:
  9385. Key:
  9386. description: 菜单KEY
  9387. type: string
  9388. Label:
  9389. description: 菜单标题
  9390. type: string
  9391. type: object
  9392. models.PendingAuditBizModel:
  9393. properties:
  9394. accountid:
  9395. description: 现货账户
  9396. type: string
  9397. areaname:
  9398. description: 所属部门
  9399. type: string
  9400. bizid:
  9401. description: 业务ID
  9402. type: string
  9403. bizname:
  9404. description: 业务名称
  9405. type: string
  9406. status:
  9407. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9408. type: integer
  9409. type:
  9410. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9411. type: integer
  9412. type: object
  9413. models.QhjAccountOutInApply:
  9414. properties:
  9415. accountcode:
  9416. description: 资金账号
  9417. type: string
  9418. accountname:
  9419. description: 用户名称(名称)
  9420. type: string
  9421. accountpwd:
  9422. description: 资金密码
  9423. type: string
  9424. accountticket:
  9425. description: 最新账户服务流水号
  9426. type: string
  9427. amount:
  9428. description: 金额
  9429. type: number
  9430. applyremark:
  9431. description: 申请备注
  9432. type: string
  9433. applystatus:
  9434. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9435. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9436. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9437. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9438. type: integer
  9439. auditid:
  9440. description: 审核人
  9441. type: integer
  9442. audittime:
  9443. description: 审核时间
  9444. type: string
  9445. bank_apply_ticket:
  9446. description: 银行申请流水
  9447. type: string
  9448. bankaccountname:
  9449. description: 银行账户名
  9450. type: string
  9451. bankaccountno:
  9452. description: 银行卡号
  9453. type: string
  9454. bankid:
  9455. description: 银行编号
  9456. type: string
  9457. bankticket:
  9458. description: 银行流水
  9459. type: string
  9460. branchbankid:
  9461. description: 银行支行号
  9462. type: string
  9463. branchbankname:
  9464. description: 银行支行名称
  9465. type: string
  9466. capamountout:
  9467. description: 出金(劣后本金) - 外部子账户
  9468. type: number
  9469. certificatephotourl:
  9470. description: 凭证地址
  9471. type: string
  9472. charge:
  9473. description: 手续费
  9474. type: number
  9475. checkerrorflag:
  9476. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9477. type: integer
  9478. currency:
  9479. description: 币种
  9480. type: string
  9481. cusbankid:
  9482. description: 托管银行编号
  9483. type: string
  9484. exchticket:
  9485. description: 银行服务流水号
  9486. type: string
  9487. executetype:
  9488. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9489. 7:外部子账户:入金 8:外部子账户:出金'
  9490. type: integer
  9491. extendinfo:
  9492. description: 扩展信息
  9493. type: string
  9494. extoperateid:
  9495. description: 交易服务流水号
  9496. type: integer
  9497. infamount:
  9498. description: 劣后金额(自有)
  9499. type: number
  9500. logincode:
  9501. description: 登录账号(账号)
  9502. type: string
  9503. netaddr:
  9504. description: 调转网址
  9505. type: string
  9506. priamount:
  9507. description: 优先金额(授信)
  9508. type: number
  9509. reauditid:
  9510. description: 复审人
  9511. type: integer
  9512. reauditremark:
  9513. description: 复审备注
  9514. type: string
  9515. reaudittime:
  9516. description: 复审时间
  9517. type: string
  9518. relatedorderid:
  9519. description: 三方关联ID
  9520. type: string
  9521. remark:
  9522. description: 备注
  9523. type: string
  9524. remark2:
  9525. description: 备注(失败原因)
  9526. type: string
  9527. soucreamount:
  9528. description: 原始出入金金额
  9529. type: number
  9530. soucrecurrencyid:
  9531. description: 原始出入金币种
  9532. type: integer
  9533. tradedate:
  9534. description: 交易日(yyyyMMdd)
  9535. type: string
  9536. updatetime:
  9537. description: 更新时间(申请时间)
  9538. type: string
  9539. userid:
  9540. description: 用户id
  9541. type: integer
  9542. userinfotype:
  9543. description: 账户类型 1-个人 2-企业
  9544. type: integer
  9545. type: object
  9546. models.QhjAgreementChangeLog:
  9547. properties:
  9548. agreementcontent:
  9549. description: 协议内容
  9550. type: string
  9551. agreementfrequency:
  9552. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9553. type: integer
  9554. agreementid:
  9555. description: 协议ID
  9556. type: integer
  9557. agreementname:
  9558. description: 协议名称
  9559. type: string
  9560. agreementno:
  9561. description: 协议编号
  9562. type: string
  9563. agreementtype:
  9564. description: 协议类型 - 1:注册 2:登录 3:交易
  9565. type: integer
  9566. agreementversion:
  9567. description: 协议版本号
  9568. type: integer
  9569. logid:
  9570. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9571. type: integer
  9572. reviserid:
  9573. description: 修改人
  9574. type: integer
  9575. revisersrc:
  9576. description: 修改来源 - 1:管理端 2:终端
  9577. type: integer
  9578. updatetime:
  9579. description: 更新时间
  9580. type: string
  9581. type: object
  9582. models.QhjAgreementConfig:
  9583. properties:
  9584. agreementcontent:
  9585. description: 协议内容
  9586. type: string
  9587. agreementfrequency:
  9588. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9589. type: integer
  9590. agreementid:
  9591. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9592. type: integer
  9593. agreementname:
  9594. description: 协议名称
  9595. type: string
  9596. agreementno:
  9597. description: 协议编号
  9598. type: string
  9599. agreementtype:
  9600. description: 协议类型 - 1:注册 2:登录 3:交易
  9601. type: integer
  9602. agreementversion:
  9603. description: 协议版本号(从1开始每次修改加1)
  9604. type: integer
  9605. createtime:
  9606. description: 创建时间
  9607. type: string
  9608. creatorid:
  9609. description: 创建人
  9610. type: integer
  9611. creatorsrc:
  9612. description: 创建来源 - 1:管理端 2:终端
  9613. type: integer
  9614. isvalid:
  9615. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9616. type: integer
  9617. reviserid:
  9618. description: 修改人
  9619. type: integer
  9620. revisersrc:
  9621. description: 修改来源 - 1:管理端 2:终端
  9622. type: integer
  9623. updatetime:
  9624. description: 更新时间
  9625. type: string
  9626. type: object
  9627. models.QhjAreaFinanceConfig:
  9628. properties:
  9629. additionalratio:
  9630. description: 追加款比例
  9631. type: number
  9632. advanceratio:
  9633. description: 预付款比例
  9634. type: number
  9635. alarmratio:
  9636. description: 告警比例
  9637. type: number
  9638. consumptiondirectreward:
  9639. description: 消费直推奖励值
  9640. type: number
  9641. consumptionenabled:
  9642. description: 是否启用消费奖励 - 0:不启用 1:启用
  9643. type: integer
  9644. consumptionindirectreward:
  9645. description: 消费间推奖励值
  9646. type: number
  9647. consumptionmodel:
  9648. description: 消费奖励方式 - 1:比率 2:固定
  9649. type: integer
  9650. customerservicenum:
  9651. description: 客服电话
  9652. type: string
  9653. dayinterestrate:
  9654. description: 日利率
  9655. type: number
  9656. disableconsumptiontips:
  9657. description: 关闭消费奖励提示
  9658. type: string
  9659. modifierid:
  9660. description: 修改人ID
  9661. type: integer
  9662. modifysrc:
  9663. description: 审核来源 - 1:管理端 2:终端
  9664. type: integer
  9665. modifytime:
  9666. description: 修改时间
  9667. type: string
  9668. promotionvalue:
  9669. description: 推广奖励值(固定)
  9670. type: number
  9671. scoreconfigvalue1:
  9672. description: 提货积分配置1
  9673. type: integer
  9674. scoreconfigvalue2:
  9675. description: 提货积分配置2
  9676. type: integer
  9677. userid:
  9678. description: 机构用户ID其他做市关系,都设置为 1
  9679. type: integer
  9680. username:
  9681. description: 用户名称
  9682. type: string
  9683. type: object
  9684. models.QhjBankAccountSign:
  9685. properties:
  9686. accountcode:
  9687. description: 资金账号
  9688. type: string
  9689. accountname:
  9690. description: 资金账号对应的账号名(UserName)
  9691. type: string
  9692. accountname2:
  9693. description: 资金账号对应的账号名(UserName) - 密文
  9694. type: string
  9695. accounttype:
  9696. description: 账户类型(UserType)
  9697. type: integer
  9698. applicationtime:
  9699. description: 最后一次更新的时间
  9700. type: string
  9701. applyexchticket:
  9702. description: 申请流水
  9703. type: string
  9704. auditid:
  9705. description: 审核人
  9706. type: integer
  9707. audittime:
  9708. description: 审核时间
  9709. type: string
  9710. bankaccountname:
  9711. description: 签约银行卡账号名
  9712. type: string
  9713. bankaccountname2:
  9714. description: 签约银行卡账号名 - 密文
  9715. type: string
  9716. bankaccountno:
  9717. description: 银行卡号
  9718. type: string
  9719. bankaccountno2:
  9720. description: 银行卡号 - 密文
  9721. type: string
  9722. bankaccounttype:
  9723. description: 银行账户类型 - 1-对私; 2-对公
  9724. type: integer
  9725. bankcardtype:
  9726. description: 银行卡类型
  9727. type: integer
  9728. bankchildaccount:
  9729. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9730. type: string
  9731. bankcity:
  9732. description: 开户行城市
  9733. type: string
  9734. bankid:
  9735. description: 签约银行ID
  9736. type: string
  9737. bankname:
  9738. description: 签约银行名称
  9739. type: string
  9740. bankprovince:
  9741. description: 开户行省份
  9742. type: string
  9743. branchbankid:
  9744. description: 签约银行支行号
  9745. type: string
  9746. branchbankname:
  9747. description: 签约银行支行名称
  9748. type: string
  9749. cardno:
  9750. description: 证件号码
  9751. type: string
  9752. cardno2:
  9753. description: 证件号码 - 密文
  9754. type: string
  9755. cardtype:
  9756. description: 证件类型
  9757. type: string
  9758. currency:
  9759. description: 币种
  9760. type: string
  9761. cusbankid:
  9762. description: 托管银行编号
  9763. type: string
  9764. direct:
  9765. description: 方向(可以判断那方先发起的签约)
  9766. type: integer
  9767. exchticket:
  9768. description: 最后一次签约成功的流水号
  9769. type: string
  9770. extendinfo:
  9771. description: 扩展信息(JSON字符串)
  9772. type: string
  9773. mobilephone:
  9774. description: 手机号
  9775. type: string
  9776. mobilephone2:
  9777. description: 手机号 - 密文
  9778. type: string
  9779. netaddr:
  9780. description: 调转网址
  9781. type: string
  9782. relateduserid:
  9783. description: 关联使用者userid
  9784. type: integer
  9785. signstatus:
  9786. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9787. 10:审核拒绝 11:换签待审核
  9788. type: integer
  9789. updatetime:
  9790. description: 更新时间(签解约更新时间)
  9791. type: string
  9792. type: object
  9793. models.QhjBankInfo:
  9794. properties:
  9795. bankid:
  9796. description: 银行ID
  9797. type: string
  9798. bankname:
  9799. description: 银行名称
  9800. type: string
  9801. clearbankno:
  9802. description: 清算系统银行编号
  9803. type: string
  9804. orderindex:
  9805. description: 排序顺序
  9806. type: integer
  9807. status:
  9808. description: 状态 - 0:正常 1:注销
  9809. type: integer
  9810. type: object
  9811. models.QhjBrokerApply:
  9812. properties:
  9813. applicantid:
  9814. description: 申请人
  9815. type: integer
  9816. applysrc:
  9817. description: 申请来源 - 1:管理端 2:终端
  9818. type: integer
  9819. applystatus:
  9820. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9821. type: integer
  9822. applytime:
  9823. description: 申请时间
  9824. type: string
  9825. auditorid:
  9826. description: 审核人
  9827. type: integer
  9828. auditremark:
  9829. description: 审核备注
  9830. type: string
  9831. auditsrc:
  9832. description: 审核来源 - 1:管理端 2:终端
  9833. type: integer
  9834. audittime:
  9835. description: 审核时间
  9836. type: string
  9837. audittradedate:
  9838. description: 审核交易日(yyyyMMdd)
  9839. type: string
  9840. brokerapplyid:
  9841. description: 申请ID(SEQ_BROKERAPPLY)
  9842. type: integer
  9843. cardbackphotourl:
  9844. description: 证件背面图片地址
  9845. type: string
  9846. cardfrontphotourl:
  9847. description: 证件正面图片地址
  9848. type: string
  9849. cardnum:
  9850. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9851. type: string
  9852. customername:
  9853. description: 姓名
  9854. type: string
  9855. logincode:
  9856. description: 登录代码
  9857. type: string
  9858. mobile:
  9859. description: 手机号码
  9860. type: string
  9861. parentuserid:
  9862. description: 所属机构id
  9863. type: integer
  9864. parentusername:
  9865. description: 所属机构名称
  9866. type: string
  9867. refereeuserid:
  9868. description: 推荐人id(经纪人)
  9869. type: integer
  9870. refernum:
  9871. description: 推荐码
  9872. type: string
  9873. remark:
  9874. description: 备注
  9875. type: string
  9876. subarealevelpath:
  9877. description: 层级路径
  9878. type: string
  9879. tradedate:
  9880. description: 交易日(yyyyMMdd)
  9881. type: string
  9882. userid:
  9883. description: 申请人用户ID
  9884. type: integer
  9885. userinfotype:
  9886. description: 用户类型 1-个人 2-企业
  9887. type: integer
  9888. username:
  9889. description: 用户名称
  9890. type: string
  9891. type: object
  9892. models.QhjBrokerApplyEx:
  9893. properties:
  9894. applylist:
  9895. description: 经纪人申请记录(只返回最新一条)
  9896. items:
  9897. $ref: '#/definitions/models.QhjBrokerApply'
  9898. type: array
  9899. canrecommend:
  9900. description: 是否经纪人 0-不是 1-是
  9901. type: integer
  9902. refernum:
  9903. description: 推荐码
  9904. type: string
  9905. userid:
  9906. description: 用户id
  9907. type: integer
  9908. userinfotype:
  9909. description: 用户类型 1-个人 2-企业
  9910. type: integer
  9911. type: object
  9912. models.QhjBrokerRewardLog:
  9913. properties:
  9914. accountid:
  9915. description: 资金账号ID
  9916. type: integer
  9917. createtime:
  9918. description: 创建时间(时间)
  9919. type: string
  9920. handlestatus:
  9921. description: 处理状态
  9922. type: integer
  9923. logid:
  9924. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9925. type: string
  9926. marketid:
  9927. description: 市场ID
  9928. type: integer
  9929. mmaccountid:
  9930. description: 做市商资金账号ID
  9931. type: string
  9932. mmuserid:
  9933. description: 做市商用户ID
  9934. type: string
  9935. rewardamount:
  9936. description: 奖励金额
  9937. type: number
  9938. rewardmodel:
  9939. description: 消费奖励方式 - 1:比率 2:固定
  9940. type: integer
  9941. rewardtype:
  9942. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9943. type: integer
  9944. rewardvalue:
  9945. description: 配置奖励值
  9946. type: number
  9947. srcamount:
  9948. description: 成交金额 [消费奖励] (金额)
  9949. type: number
  9950. srcgoodsid:
  9951. description: 来源商品ID [消费奖励]
  9952. type: string
  9953. srctime:
  9954. description: 来源时间 (成交时间) [消费奖励]
  9955. type: string
  9956. srctradeid:
  9957. description: 来源成交单ID [消费奖励] - 排除提货成交
  9958. type: string
  9959. srcuserid:
  9960. description: 来源用户ID(推广账户)
  9961. type: string
  9962. srcusername:
  9963. description: 推广账户名称
  9964. type: string
  9965. tradedate:
  9966. description: 交易日(yyyyMMdd)
  9967. type: string
  9968. userid:
  9969. description: 经纪人用户ID
  9970. type: integer
  9971. type: object
  9972. models.QhjContract:
  9973. properties:
  9974. contractconfirmtime:
  9975. description: 合同确认时间(时间)
  9976. type: string
  9977. currisklevel:
  9978. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9979. type: integer
  9980. decimalplace:
  9981. description: 商品报价小数位
  9982. type: integer
  9983. enumdicname:
  9984. description: 单位名称
  9985. type: string
  9986. goodscode:
  9987. description: 商品代码
  9988. type: string
  9989. goodsid:
  9990. description: 商品ID [5:融资单]
  9991. type: integer
  9992. goodsname:
  9993. description: 商品名称
  9994. type: string
  9995. goodunitid:
  9996. description: 商品单位id
  9997. type: integer
  9998. initmargin:
  9999. description: 初始保证金(首付款)
  10000. type: number
  10001. lenderamount:
  10002. description: 贷款金额(总额|订单总额)
  10003. type: number
  10004. marginratio:
  10005. description: 保证金比率(首付比例)
  10006. type: number
  10007. payamount:
  10008. description: 已付(已付货款)
  10009. type: number
  10010. reckonrecovermargin:
  10011. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10012. type: number
  10013. recoveredmargin:
  10014. description: 已追缴保证金
  10015. type: number
  10016. remainamount:
  10017. description: 合同剩余金额(融资额)
  10018. type: number
  10019. scfcontractid:
  10020. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10021. type: string
  10022. scfcontractstatus:
  10023. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10024. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10025. type: integer
  10026. scfcontracttype:
  10027. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10028. type: integer
  10029. totalinterest:
  10030. description: 已计总利息(利息)
  10031. type: number
  10032. tradeprice:
  10033. description: 成交价格(成本价格)
  10034. type: number
  10035. userid:
  10036. description: 用户ID
  10037. type: integer
  10038. username:
  10039. description: 用户名称
  10040. type: string
  10041. wrqty:
  10042. description: 仓单数量(数量)
  10043. type: number
  10044. type: object
  10045. models.QhjContractLog:
  10046. properties:
  10047. amount:
  10048. description: 支付金额
  10049. type: number
  10050. amounttype:
  10051. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10052. type: integer
  10053. logid:
  10054. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10055. type: string
  10056. remainamount:
  10057. description: 剩余货款
  10058. type: number
  10059. scfcontractid:
  10060. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10061. type: integer
  10062. updatetime:
  10063. description: 更新时间
  10064. type: string
  10065. type: object
  10066. models.QhjCusBankSignBankEx:
  10067. properties:
  10068. banklst:
  10069. description: 银行列表
  10070. items:
  10071. $ref: '#/definitions/models.QhjBankInfo'
  10072. type: array
  10073. canallot:
  10074. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10075. type: integer
  10076. canallotquery:
  10077. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10078. type: integer
  10079. canbindcard:
  10080. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10081. type: integer
  10082. caninamount:
  10083. description: 是否可入金 - 0:不可 1:可以
  10084. type: integer
  10085. caninamount2:
  10086. description: 是否可入金(网银端) - 0:不可 1:可以
  10087. type: integer
  10088. canmodifybankcard:
  10089. description: 是否可修改银行卡号 - 0:不可 1:可以
  10090. type: integer
  10091. canmodifyphone:
  10092. description: 是否可修改手机号 - 0:不可 1:可以
  10093. type: integer
  10094. canmodifysigninfo:
  10095. description: 是否可修改签约信息 - 0:不可 1:可以
  10096. type: integer
  10097. canoutamount:
  10098. description: 是否可出金 - 0:不可 1:可以
  10099. type: integer
  10100. canoutamount2:
  10101. description: 是否可出金(网银端) - 0:不可 1:可以
  10102. type: integer
  10103. canrelease:
  10104. description: 是否可解约 - 0:不可 1:可以
  10105. type: integer
  10106. canrelease2:
  10107. description: 是否可解约(网银端) - 0:不可 1:可以
  10108. type: integer
  10109. cansign:
  10110. description: 是否可签约 - 0:不可 1:可以
  10111. type: integer
  10112. cansign2:
  10113. description: 是否可签约(网银端) - 0:不可 1:可以
  10114. type: integer
  10115. currency:
  10116. description: 币种
  10117. type: string
  10118. cusbankid:
  10119. description: 托管银行编号(对应清算中心TRAN_NO)
  10120. type: string
  10121. cusbankname:
  10122. description: 银行业务名称
  10123. type: string
  10124. cusbankshortname:
  10125. description: 银行业务简称
  10126. type: string
  10127. exchbankid:
  10128. description: 交易所开户银行ID
  10129. type: string
  10130. exchpaybankaccname:
  10131. description: 交易所支出结算账户户名
  10132. type: string
  10133. exchpaybankaccno:
  10134. description: 交易所支出结算账户
  10135. type: string
  10136. isneedcheck:
  10137. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10138. type: integer
  10139. isneedclear:
  10140. description: 是否需要清算 - 0:不需要 1:需要
  10141. type: integer
  10142. lastcheckstatus:
  10143. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10144. type: integer
  10145. lastchecktime:
  10146. description: 最后对账时间
  10147. type: string
  10148. lastclearstatus:
  10149. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10150. type: integer
  10151. lastcleartime:
  10152. description: 最后清算时间
  10153. type: string
  10154. lastsignintime:
  10155. description: 最后签到时间
  10156. type: string
  10157. lastsignouttime:
  10158. description: 最后签退时间
  10159. type: string
  10160. riskinfo:
  10161. description: 签约风险提示书
  10162. type: string
  10163. signstatus:
  10164. description: 当前签到/签退状态 - 1:签到 2:签退
  10165. type: integer
  10166. tradedate:
  10167. description: 交易日(yyyyMMdd)
  10168. type: string
  10169. updatetime:
  10170. description: 当前签到/签退更新时间
  10171. type: string
  10172. type: object
  10173. models.QhjCustomer:
  10174. properties:
  10175. address:
  10176. description: 通讯地址
  10177. type: string
  10178. attachment1:
  10179. description: 附件1
  10180. type: string
  10181. audittime:
  10182. description: 审核时间
  10183. type: string
  10184. cardbackphotourl:
  10185. description: 证件反面图片地址
  10186. type: string
  10187. cardfrontphotourl:
  10188. description: 证件正面图片地址
  10189. type: string
  10190. cardnum:
  10191. description: 证件号码
  10192. type: string
  10193. cardtype:
  10194. description: 证件类型
  10195. type: integer
  10196. cardtypename:
  10197. description: 证件类型名称
  10198. type: string
  10199. cityid:
  10200. description: 市
  10201. type: integer
  10202. cityname:
  10203. description: 城市名称
  10204. type: string
  10205. contactname:
  10206. description: 联系人
  10207. type: string
  10208. countryid:
  10209. description: 国家
  10210. type: integer
  10211. countryname:
  10212. description: 国家名称
  10213. type: string
  10214. createtime:
  10215. description: 创建时间
  10216. type: string
  10217. customername:
  10218. description: 客户名称
  10219. type: string
  10220. districtid:
  10221. description: 区域
  10222. type: integer
  10223. districtname:
  10224. description: 地区名称
  10225. type: string
  10226. email:
  10227. description: 邮件
  10228. type: string
  10229. legalpersonname:
  10230. description: 法人姓名(企业)
  10231. type: string
  10232. logincode:
  10233. description: 登录账号(代码)
  10234. type: string
  10235. memberuserid:
  10236. description: 所属机构ID(所属会员)
  10237. type: integer
  10238. memberusername:
  10239. description: 所属会员名称
  10240. type: string
  10241. mobile:
  10242. description: 手机号码
  10243. type: string
  10244. modifytime:
  10245. description: 修改时间
  10246. type: string
  10247. nickname:
  10248. description: 昵称
  10249. type: string
  10250. parentuserid:
  10251. description: 上级机构(所属机构)
  10252. type: integer
  10253. parentusername:
  10254. description: 所属机构名称
  10255. type: string
  10256. provinceid:
  10257. description: 省
  10258. type: integer
  10259. provincename:
  10260. description: 省名称
  10261. type: string
  10262. proxystatementurl:
  10263. description: 授权委托书
  10264. type: string
  10265. remark:
  10266. description: 备注
  10267. type: string
  10268. status:
  10269. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10270. type: integer
  10271. statusdesc:
  10272. description: 账户状态中文描述
  10273. type: string
  10274. taxpayernum:
  10275. description: 纳税人识别号
  10276. type: string
  10277. telphone:
  10278. description: 联系电话
  10279. type: string
  10280. userid:
  10281. description: 用户ID
  10282. type: integer
  10283. userinfotype:
  10284. description: 客户类型 1-个人 2-企业
  10285. type: integer
  10286. username:
  10287. description: 用户名称
  10288. type: string
  10289. type: object
  10290. models.QhjCustomerSignLog:
  10291. properties:
  10292. agreementcontent:
  10293. description: 协议内容
  10294. type: string
  10295. agreementid:
  10296. description: 协议ID
  10297. type: integer
  10298. agreementname:
  10299. description: 协议名称
  10300. type: string
  10301. agreementno:
  10302. description: 协议编号
  10303. type: string
  10304. agreementtype:
  10305. description: 协议类型 - 1:注册 2:登录 3:交易
  10306. type: integer
  10307. agreementversion:
  10308. description: 协议版本号
  10309. type: integer
  10310. createtime:
  10311. description: 创建时间
  10312. type: string
  10313. goodscode:
  10314. description: 商品代码
  10315. type: string
  10316. goodsid:
  10317. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10318. type: integer
  10319. goodsname:
  10320. description: 商品名称
  10321. type: string
  10322. logid:
  10323. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10324. type: integer
  10325. nodetype:
  10326. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10327. type: integer
  10328. signadressurl:
  10329. description: 签约文件地址
  10330. type: string
  10331. signtimestamp:
  10332. description: 签约状态时间戳
  10333. type: string
  10334. userid:
  10335. description: 客户ID
  10336. type: integer
  10337. username:
  10338. description: 客户名称
  10339. type: string
  10340. type: object
  10341. models.QhjCustomerSignStatus:
  10342. properties:
  10343. createtime:
  10344. description: 创建时间
  10345. type: string
  10346. goodscode:
  10347. description: 商品代码
  10348. type: string
  10349. goodsid:
  10350. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10351. type: integer
  10352. goodsname:
  10353. description: 商品名称
  10354. type: string
  10355. nodetype:
  10356. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10357. type: integer
  10358. signtimestamp:
  10359. description: 签约状态时间戳
  10360. type: string
  10361. tradedate:
  10362. description: 创建交易日(yyyyMMdd)
  10363. type: string
  10364. updatetime:
  10365. description: 更新时间
  10366. type: string
  10367. userid:
  10368. description: 客户ID
  10369. type: integer
  10370. username:
  10371. description: 客户名称
  10372. type: string
  10373. type: object
  10374. models.QhjMgrAccountOutInApply:
  10375. properties:
  10376. accountcode:
  10377. description: 资金账号
  10378. type: string
  10379. accountname:
  10380. description: 用户名称(名称)
  10381. type: string
  10382. accountpwd:
  10383. description: 资金密码
  10384. type: string
  10385. accountticket:
  10386. description: 最新账户服务流水号
  10387. type: string
  10388. amount:
  10389. description: 金额
  10390. type: number
  10391. applyremark:
  10392. description: 申请备注
  10393. type: string
  10394. applystatus:
  10395. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10396. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10397. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10398. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10399. type: integer
  10400. auditid:
  10401. description: 审核人
  10402. type: integer
  10403. audittime:
  10404. description: 审核时间
  10405. type: string
  10406. bank_apply_ticket:
  10407. description: 银行申请流水
  10408. type: string
  10409. bankaccountname:
  10410. description: 银行账户名
  10411. type: string
  10412. bankaccountno:
  10413. description: 银行卡号
  10414. type: string
  10415. bankid:
  10416. description: 银行编号
  10417. type: string
  10418. bankname:
  10419. description: 银行名称
  10420. type: string
  10421. bankticket:
  10422. description: 银行流水
  10423. type: string
  10424. branchbankid:
  10425. description: 银行支行号
  10426. type: string
  10427. branchbankname:
  10428. description: 银行支行名称
  10429. type: string
  10430. capamountout:
  10431. description: 出金(劣后本金) - 外部子账户
  10432. type: number
  10433. certificatephotourl:
  10434. description: 凭证地址
  10435. type: string
  10436. charge:
  10437. description: 手续费
  10438. type: number
  10439. checkerrorflag:
  10440. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10441. type: integer
  10442. currency:
  10443. description: 币种
  10444. type: string
  10445. cusbankid:
  10446. description: 托管银行编号
  10447. type: string
  10448. exchticket:
  10449. description: 银行服务流水号
  10450. type: string
  10451. executetype:
  10452. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10453. 7:外部子账户:入金 8:外部子账户:出金'
  10454. type: integer
  10455. extendinfo:
  10456. description: 扩展信息
  10457. type: string
  10458. extoperateid:
  10459. description: 交易服务流水号
  10460. type: integer
  10461. infamount:
  10462. description: 劣后金额(自有)
  10463. type: number
  10464. logincode:
  10465. description: 登录账号(账号)
  10466. type: string
  10467. netaddr:
  10468. description: 调转网址
  10469. type: string
  10470. priamount:
  10471. description: 优先金额(授信)
  10472. type: number
  10473. reauditid:
  10474. description: 复审人
  10475. type: integer
  10476. reauditremark:
  10477. description: 复审备注
  10478. type: string
  10479. reaudittime:
  10480. description: 复审时间
  10481. type: string
  10482. relatedorderid:
  10483. description: 三方关联ID
  10484. type: string
  10485. remark:
  10486. description: 备注
  10487. type: string
  10488. remark2:
  10489. description: 备注(失败原因)
  10490. type: string
  10491. soucreamount:
  10492. description: 原始出入金金额
  10493. type: number
  10494. soucrecurrencyid:
  10495. description: 原始出入金币种
  10496. type: integer
  10497. tradedate:
  10498. description: 交易日(yyyyMMdd)
  10499. type: string
  10500. updatetime:
  10501. description: 更新时间(申请时间)
  10502. type: string
  10503. userid:
  10504. description: 用户id
  10505. type: integer
  10506. userinfotype:
  10507. description: 账户类型 1-个人 2-企业
  10508. type: integer
  10509. type: object
  10510. models.QhjMgrBrokerApply:
  10511. properties:
  10512. applicantid:
  10513. description: 申请人
  10514. type: integer
  10515. applysrc:
  10516. description: 申请来源 - 1:管理端 2:终端
  10517. type: integer
  10518. applystatus:
  10519. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10520. type: integer
  10521. applytime:
  10522. description: 申请时间
  10523. type: string
  10524. auditorid:
  10525. description: 审核人
  10526. type: integer
  10527. auditremark:
  10528. description: 审核备注
  10529. type: string
  10530. auditsrc:
  10531. description: 审核来源 - 1:管理端 2:终端
  10532. type: integer
  10533. audittime:
  10534. description: 审核时间
  10535. type: string
  10536. audittradedate:
  10537. description: 审核交易日(yyyyMMdd)
  10538. type: string
  10539. brokerapplyid:
  10540. description: 申请ID(SEQ_BROKERAPPLY)
  10541. type: integer
  10542. cardbackphotourl:
  10543. description: 证件背面图片地址
  10544. type: string
  10545. cardfrontphotourl:
  10546. description: 证件正面图片地址
  10547. type: string
  10548. cardnum:
  10549. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10550. type: string
  10551. customername:
  10552. description: 姓名
  10553. type: string
  10554. filterstatus:
  10555. description: 筛选条件
  10556. type: string
  10557. logincode:
  10558. description: 登录代码
  10559. type: string
  10560. mobile:
  10561. description: 手机号码
  10562. type: string
  10563. parentuserid:
  10564. description: 所属机构id
  10565. type: integer
  10566. parentusername:
  10567. description: 所属机构名称
  10568. type: string
  10569. refereeuserid:
  10570. description: 推荐人id(经纪人)
  10571. type: integer
  10572. refernum:
  10573. description: 推荐码
  10574. type: string
  10575. remark:
  10576. description: 备注
  10577. type: string
  10578. subarealevelpath:
  10579. description: 层级路径
  10580. type: string
  10581. tradedate:
  10582. description: 交易日(yyyyMMdd)
  10583. type: string
  10584. userid:
  10585. description: 申请人用户ID
  10586. type: integer
  10587. userinfotype:
  10588. description: 用户类型 1-个人 2-企业
  10589. type: integer
  10590. username:
  10591. description: 用户名称
  10592. type: string
  10593. type: object
  10594. models.QhjMgrBrokerRewardReport:
  10595. properties:
  10596. createtime:
  10597. description: 创建时间(注册时间)
  10598. type: string
  10599. cycletime:
  10600. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10601. type: string
  10602. cycletype:
  10603. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10604. type: integer
  10605. directtotalnum:
  10606. description: 直推总人数【期末】
  10607. type: integer
  10608. indirecttotalnum:
  10609. description: 间推总人数【期末】
  10610. type: integer
  10611. mobile:
  10612. description: 电话号码
  10613. type: string
  10614. refereeuserid:
  10615. description: 推荐人id(经纪人id)
  10616. type: integer
  10617. refereeusername:
  10618. description: 推荐人名称(经纪人) 上级经纪人名称
  10619. type: string
  10620. refernum:
  10621. description: 推荐码
  10622. type: string
  10623. subarealevelpath:
  10624. description: 用户层级路径
  10625. type: string
  10626. todayrewardamount:
  10627. description: 奖励总金额【汇总】
  10628. type: number
  10629. updatetime:
  10630. description: 更新时间
  10631. type: string
  10632. userid:
  10633. description: 经纪人用户ID
  10634. type: integer
  10635. userinfotype:
  10636. description: 用户类型 1-个人 2-企业
  10637. type: integer
  10638. username:
  10639. description: 用户名称
  10640. type: string
  10641. type: object
  10642. models.QhjMgrContract:
  10643. properties:
  10644. contractconfirmtime:
  10645. description: 合同确认时间(时间)
  10646. type: string
  10647. currisklevel:
  10648. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10649. type: integer
  10650. decimalplace:
  10651. description: 商品报价小数位
  10652. type: integer
  10653. enumdicname:
  10654. description: 单位名称
  10655. type: string
  10656. goodscode:
  10657. description: 商品代码
  10658. type: string
  10659. goodsid:
  10660. description: 商品ID [5:融资单]
  10661. type: integer
  10662. goodsname:
  10663. description: 商品名称
  10664. type: string
  10665. goodunitid:
  10666. description: 商品单位id
  10667. type: integer
  10668. initmargin:
  10669. description: 初始保证金(首付款)
  10670. type: number
  10671. lenderamount:
  10672. description: 贷款金额(总额|订单总额)
  10673. type: number
  10674. logincode:
  10675. description: 账号(登录代码)
  10676. type: string
  10677. marginratio:
  10678. description: 保证金比率(首付比例)
  10679. type: number
  10680. mobile:
  10681. description: 电话号码(用户资料里的电话)
  10682. type: string
  10683. payamount:
  10684. description: 已付(已付货款)
  10685. type: number
  10686. reckonrecovermargin:
  10687. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10688. type: number
  10689. recoveredmargin:
  10690. description: 已追缴保证金
  10691. type: number
  10692. remainamount:
  10693. description: 合同剩余金额(融资额)
  10694. type: number
  10695. scfcontractid:
  10696. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10697. type: string
  10698. scfcontractstatus:
  10699. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10700. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10701. type: integer
  10702. scfcontracttype:
  10703. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10704. type: integer
  10705. totalinterest:
  10706. description: 已计总利息(利息)
  10707. type: number
  10708. tradedate:
  10709. description: 交易日
  10710. type: string
  10711. tradeprice:
  10712. description: 成交价格(成本价格)
  10713. type: number
  10714. userid:
  10715. description: 用户ID
  10716. type: integer
  10717. userinfotype:
  10718. description: 用户类型 1-个人 2-企业
  10719. type: integer
  10720. username:
  10721. description: 用户名称
  10722. type: string
  10723. wrqty:
  10724. description: 仓单数量(数量)
  10725. type: number
  10726. type: object
  10727. models.QhjMgrCustomer:
  10728. properties:
  10729. address:
  10730. description: 通讯地址
  10731. type: string
  10732. attachment1:
  10733. description: 附件1
  10734. type: string
  10735. audittime:
  10736. description: 审核时间
  10737. type: string
  10738. cardbackphotourl:
  10739. description: 证件反面图片地址
  10740. type: string
  10741. cardfrontphotourl:
  10742. description: 证件正面图片地址
  10743. type: string
  10744. cardnum:
  10745. description: 证件号码
  10746. type: string
  10747. cardtype:
  10748. description: 证件类型
  10749. type: integer
  10750. cardtypename:
  10751. description: 证件类型名称
  10752. type: string
  10753. cityid:
  10754. description: 市
  10755. type: integer
  10756. cityname:
  10757. description: 城市名称
  10758. type: string
  10759. contactname:
  10760. description: 联系人
  10761. type: string
  10762. countryid:
  10763. description: 国家
  10764. type: integer
  10765. countryname:
  10766. description: 国家名称
  10767. type: string
  10768. createtime:
  10769. description: 创建时间
  10770. type: string
  10771. customername:
  10772. description: 客户名称
  10773. type: string
  10774. districtid:
  10775. description: 区域
  10776. type: integer
  10777. districtname:
  10778. description: 地区名称
  10779. type: string
  10780. email:
  10781. description: 邮件
  10782. type: string
  10783. legalpersonname:
  10784. description: 法人姓名(企业)
  10785. type: string
  10786. logincode:
  10787. description: 登录账号(代码)
  10788. type: string
  10789. memberuserid:
  10790. description: 所属机构ID(所属会员)
  10791. type: integer
  10792. memberusername:
  10793. description: 所属会员名称
  10794. type: string
  10795. mobile:
  10796. description: 手机号码
  10797. type: string
  10798. modifytime:
  10799. description: 修改时间
  10800. type: string
  10801. nickname:
  10802. description: 昵称
  10803. type: string
  10804. parentuserid:
  10805. description: 上级机构(所属机构)
  10806. type: integer
  10807. parentusername:
  10808. description: 所属机构名称
  10809. type: string
  10810. provinceid:
  10811. description: 省
  10812. type: integer
  10813. provincename:
  10814. description: 省名称
  10815. type: string
  10816. proxystatementurl:
  10817. description: 授权委托书
  10818. type: string
  10819. querytype:
  10820. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10821. type: integer
  10822. remark:
  10823. description: 备注
  10824. type: string
  10825. status:
  10826. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10827. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10828. type: integer
  10829. statusdesc:
  10830. description: 账户状态中文描述
  10831. type: string
  10832. taxpayernum:
  10833. description: 纳税人识别号
  10834. type: string
  10835. telphone:
  10836. description: 联系电话
  10837. type: string
  10838. userid:
  10839. description: 用户ID
  10840. type: integer
  10841. userinfotype:
  10842. description: 客户类型 1-个人 2-企业
  10843. type: integer
  10844. username:
  10845. description: 用户名称
  10846. type: string
  10847. type: object
  10848. models.QhjMgrPickGoods:
  10849. properties:
  10850. enumdicname:
  10851. description: 单位名称(提货商品)
  10852. type: string
  10853. goodsid:
  10854. description: 商品id
  10855. type: integer
  10856. imageaddress:
  10857. description: 图片
  10858. type: string
  10859. modifierid:
  10860. description: 修改人
  10861. type: integer
  10862. modifiername:
  10863. description: 修改人名称
  10864. type: string
  10865. modifysrc:
  10866. description: 修改来源 - 1:管理端 2:终端
  10867. type: integer
  10868. pickupgoodsagreeunit:
  10869. description: 合约乘数
  10870. type: number
  10871. pickupgoodsdesc:
  10872. description: 描述
  10873. type: string
  10874. pickupgoodsid:
  10875. description: 提货商品ID
  10876. type: string
  10877. pickupgoodsname:
  10878. description: 提货商品名称
  10879. type: string
  10880. pickupgoodsstatus:
  10881. description: 状态 - 1:正常 2:停用 3:注销
  10882. type: integer
  10883. pickupgoodsunitid:
  10884. description: 单位ID
  10885. type: integer
  10886. pickupratio:
  10887. description: 提货系数
  10888. type: number
  10889. preparedays:
  10890. description: 备货期(天)
  10891. type: integer
  10892. remark:
  10893. description: 备注
  10894. type: string
  10895. updatetime:
  10896. description: 更新时间
  10897. type: string
  10898. type: object
  10899. models.QhjMgrPositionRsp:
  10900. properties:
  10901. accountid:
  10902. description: 账号Id
  10903. type: integer
  10904. accountname:
  10905. description: 用户名称
  10906. type: string
  10907. agreeunit:
  10908. description: 合约乘数
  10909. type: number
  10910. averageprice:
  10911. description: 均价
  10912. type: number
  10913. avialqty:
  10914. description: 可用数量
  10915. type: number
  10916. decimalplace:
  10917. description: 报价小数位
  10918. type: integer
  10919. enumdicname:
  10920. description: 单位名称(商品)
  10921. type: string
  10922. frozenqty:
  10923. description: 冻结数量
  10924. type: number
  10925. goodscode:
  10926. description: 商品代码(内部)
  10927. type: string
  10928. goodsid:
  10929. description: 商品Id
  10930. type: integer
  10931. goodsname:
  10932. description: 商品名称
  10933. type: string
  10934. goodunitid:
  10935. description: 报价单位ID
  10936. type: integer
  10937. holderamount:
  10938. description: 金额
  10939. type: number
  10940. holderqty:
  10941. description: 持有数量
  10942. type: number
  10943. holdertype:
  10944. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10945. type: integer
  10946. logincode:
  10947. description: 登录代码(账户)
  10948. type: string
  10949. marketid:
  10950. description: 市场id
  10951. type: integer
  10952. qtydecimalplace:
  10953. description: 成交量小数位
  10954. type: integer
  10955. trademode:
  10956. description: 交易模式
  10957. type: integer
  10958. userid:
  10959. description: 用户id
  10960. type: integer
  10961. userinfotype:
  10962. description: 账户类型 1-个人 2-企业
  10963. type: integer
  10964. type: object
  10965. models.QhjMgrSubArea:
  10966. properties:
  10967. accountname:
  10968. description: 账户名称(机构名称)
  10969. type: string
  10970. memberuserid:
  10971. description: 所属会员ID
  10972. type: integer
  10973. parenttopuser:
  10974. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10975. type: string
  10976. parentuserid:
  10977. description: 所属机构ID
  10978. type: integer
  10979. rootuserid:
  10980. description: 根用户ID
  10981. type: string
  10982. subaccountlevel:
  10983. description: 子账户层数
  10984. type: integer
  10985. subarealevelpath:
  10986. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10987. type: string
  10988. userid:
  10989. description: 用户ID
  10990. type: integer
  10991. usertype:
  10992. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10993. type: integer
  10994. type: object
  10995. models.QhjMgrTradeDetailRsp:
  10996. properties:
  10997. accountid:
  10998. description: 资金账号
  10999. type: integer
  11000. accountname:
  11001. description: 用户名称
  11002. type: string
  11003. agreeunit:
  11004. description: 合约乘数
  11005. type: number
  11006. buyorsell:
  11007. description: 成交类型(方向) 0:买 1:卖
  11008. type: integer
  11009. decimalplace:
  11010. description: 报价小数位
  11011. type: integer
  11012. enumdicname:
  11013. description: 单位名称(商品)
  11014. type: string
  11015. goodscode:
  11016. description: 商品代码(内部)
  11017. type: string
  11018. goodsid:
  11019. description: 商品id
  11020. type: integer
  11021. goodsname:
  11022. description: 商品名称
  11023. type: string
  11024. goodunitid:
  11025. description: 报价单位ID
  11026. type: integer
  11027. logincode:
  11028. description: 登录代码(账户)
  11029. type: string
  11030. marketid:
  11031. description: 市场id
  11032. type: integer
  11033. orderid:
  11034. description: 关联委托单号
  11035. type: string
  11036. qtydecimalplace:
  11037. description: 成交量小数位
  11038. type: integer
  11039. tradeamount:
  11040. description: 金额
  11041. type: number
  11042. tradedate:
  11043. description: 交易日
  11044. type: string
  11045. tradeid:
  11046. description: 成交单号
  11047. type: string
  11048. trademode:
  11049. description: 交易模式
  11050. type: integer
  11051. tradeprice:
  11052. description: 价格
  11053. type: number
  11054. tradeqty:
  11055. description: 数量
  11056. type: number
  11057. tradetime:
  11058. description: 成交时间
  11059. type: string
  11060. userid:
  11061. description: 用户id
  11062. type: integer
  11063. userinfotype:
  11064. description: 账户类型 1-个人 2-企业
  11065. type: integer
  11066. type: object
  11067. models.QhjMgrTradeOrderDetailRsp:
  11068. properties:
  11069. accountid:
  11070. description: 资金账号
  11071. type: integer
  11072. accountname:
  11073. description: 用户名称
  11074. type: string
  11075. agreeunit:
  11076. description: 合约乘数
  11077. type: number
  11078. amount:
  11079. description: 金额
  11080. type: number
  11081. decimalplace:
  11082. description: 报价小数位
  11083. type: integer
  11084. enumdicname:
  11085. description: 单位名称(商品)
  11086. type: string
  11087. goodscode:
  11088. description: 商品代码(内部)
  11089. type: string
  11090. goodsid:
  11091. description: 商品id
  11092. type: integer
  11093. goodsname:
  11094. description: 商品名称
  11095. type: string
  11096. goodunitid:
  11097. description: 报价单位ID
  11098. type: integer
  11099. logincode:
  11100. description: 登录代码(账户)
  11101. type: string
  11102. marketid:
  11103. description: 市场id
  11104. type: integer
  11105. orderid:
  11106. description: 关联委托单号
  11107. type: string
  11108. orderprice:
  11109. description: 价格
  11110. type: number
  11111. orderqty:
  11112. description: 数量
  11113. type: number
  11114. orderstatus:
  11115. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11116. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11117. 16:成交失败违约(荷兰式竞拍专用)
  11118. type: integer
  11119. ordertime:
  11120. description: 委托时间
  11121. type: string
  11122. qtydecimalplace:
  11123. description: 成交量小数位
  11124. type: integer
  11125. tradedate:
  11126. description: 交易日
  11127. type: string
  11128. trademode:
  11129. description: 交易模式
  11130. type: integer
  11131. userid:
  11132. description: 用户id
  11133. type: integer
  11134. userinfotype:
  11135. description: 账户类型 1-个人 2-企业
  11136. type: integer
  11137. type: object
  11138. models.QhjMgrTradePayOrder:
  11139. properties:
  11140. accountname:
  11141. description: 用户名称
  11142. type: string
  11143. advanceratio:
  11144. description: 首付比率
  11145. type: number
  11146. agreeunit:
  11147. description: 合约乘数
  11148. type: number
  11149. buyaccountid:
  11150. description: 买方账号ID[报价币种]
  11151. type: integer
  11152. buyorderid:
  11153. description: 买方委托单号(关联单号)
  11154. type: string
  11155. createtime:
  11156. description: 创建时间
  11157. type: string
  11158. decimalplace:
  11159. description: 报价小数位
  11160. type: integer
  11161. enumdicname:
  11162. description: 单位名称(商品)
  11163. type: string
  11164. goodscode:
  11165. description: 商品代码(内部)
  11166. type: string
  11167. goodsid:
  11168. description: 商品ID
  11169. type: integer
  11170. goodsname:
  11171. description: 商品名称
  11172. type: string
  11173. goodunitid:
  11174. description: 报价单位ID
  11175. type: integer
  11176. logincode:
  11177. description: 登录代码(账户)
  11178. type: string
  11179. marketid:
  11180. description: 市场id
  11181. type: integer
  11182. offamount:
  11183. description: 优惠金额
  11184. type: number
  11185. operatetype:
  11186. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11187. type: integer
  11188. payamount:
  11189. description: 支付金额(金额)
  11190. type: number
  11191. payflag:
  11192. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11193. type: integer
  11194. paylimitedtime:
  11195. description: 支付期限
  11196. type: string
  11197. paytime:
  11198. description: 付款时间
  11199. type: string
  11200. qtydecimalplace:
  11201. description: 成交量小数位
  11202. type: integer
  11203. sellaccountid:
  11204. description: 卖方账号ID[报价币种]
  11205. type: integer
  11206. sellorderid:
  11207. description: 卖方委托单号
  11208. type: string
  11209. tradeamount:
  11210. description: 成交金额(优惠后金额)
  11211. type: number
  11212. tradecharge:
  11213. description: 成交手续费(买方)
  11214. type: number
  11215. tradedate:
  11216. description: 交易日(yyyyMMdd)
  11217. type: string
  11218. tradeid:
  11219. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11220. type: string
  11221. trademode:
  11222. description: 交易模式
  11223. type: integer
  11224. tradeprice:
  11225. description: 成交价格(价格)
  11226. type: number
  11227. tradeqty:
  11228. description: 成交数量(数量)
  11229. type: number
  11230. tradetime:
  11231. description: 成交时间
  11232. type: string
  11233. userid:
  11234. description: 用户id
  11235. type: integer
  11236. userinfotype:
  11237. description: 账户类型 1-个人 2-企业
  11238. type: integer
  11239. type: object
  11240. models.QhjMyTeamEx:
  11241. properties:
  11242. accountname:
  11243. description: 用户名称
  11244. type: string
  11245. accountstatus:
  11246. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11247. type: integer
  11248. createtime:
  11249. description: 创建时间
  11250. type: string
  11251. mobile:
  11252. description: 手机号码
  11253. type: string
  11254. refereeuserid:
  11255. description: 推荐人id
  11256. type: integer
  11257. refernum:
  11258. description: 推荐码
  11259. type: string
  11260. subList:
  11261. items:
  11262. $ref: '#/definitions/models.QhjMyTeamEx'
  11263. type: array
  11264. userid:
  11265. description: 用户id
  11266. type: integer
  11267. userinfotype:
  11268. description: 用户类型 1-个人 2-企业
  11269. type: integer
  11270. type: object
  11271. models.QhjNodeAgreementConfig:
  11272. properties:
  11273. agreementcontent:
  11274. description: 协议内容
  11275. type: string
  11276. agreementid:
  11277. description: 协议ID
  11278. type: integer
  11279. agreementname:
  11280. description: 协议名称
  11281. type: string
  11282. agreementno:
  11283. description: 协议编号
  11284. type: string
  11285. agreementtype:
  11286. description: 协议类型 - 1:注册 2:登录 3:交易
  11287. type: integer
  11288. agreementversion:
  11289. description: 协议版本号
  11290. type: integer
  11291. configid:
  11292. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11293. type: integer
  11294. createtime:
  11295. description: 创建时间
  11296. type: string
  11297. goodsid:
  11298. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11299. type: integer
  11300. nodetype:
  11301. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11302. type: integer
  11303. type: object
  11304. models.QhjParentAreaList:
  11305. properties:
  11306. accountname:
  11307. description: 账户名称(机构名称)
  11308. type: string
  11309. userid:
  11310. description: 用户ID
  11311. type: integer
  11312. usertype:
  11313. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11314. type: integer
  11315. type: object
  11316. models.QhjPayOrder:
  11317. properties:
  11318. advanceratio:
  11319. description: 首付比率
  11320. type: number
  11321. buyaccountid:
  11322. description: 买方账号ID[报价币种]
  11323. type: integer
  11324. buyorderid:
  11325. description: 买方委托单号
  11326. type: string
  11327. createtime:
  11328. description: 创建时间
  11329. type: string
  11330. decimalplace:
  11331. description: 商品报价小数位
  11332. type: integer
  11333. enumdicname:
  11334. description: 单位名称
  11335. type: string
  11336. goodscode:
  11337. description: 商品代码
  11338. type: string
  11339. goodsid:
  11340. description: 商品ID
  11341. type: integer
  11342. goodsname:
  11343. description: 商品名称
  11344. type: string
  11345. goodunitid:
  11346. description: 商品单位id
  11347. type: integer
  11348. marketid:
  11349. description: 市场ID
  11350. type: integer
  11351. offamount:
  11352. description: 优惠金额
  11353. type: number
  11354. operatetype:
  11355. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11356. type: integer
  11357. payamount:
  11358. description: 支付金额
  11359. type: number
  11360. payflag:
  11361. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11362. type: integer
  11363. paylimitedtime:
  11364. description: 支付期限
  11365. type: string
  11366. paytime:
  11367. description: 付款时间
  11368. type: string
  11369. qtydecimalplace:
  11370. description: 成交量小数位
  11371. type: integer
  11372. sellaccountid:
  11373. description: 卖方账号ID[报价币种]
  11374. type: integer
  11375. sellorderid:
  11376. description: 卖方委托单号
  11377. type: string
  11378. tradeamount:
  11379. description: 成交金额(优惠后金额)
  11380. type: number
  11381. tradecharge:
  11382. description: 成交手续费(买方)
  11383. type: number
  11384. tradedate:
  11385. description: 交易日(yyyyMMdd)
  11386. type: string
  11387. tradeid:
  11388. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11389. type: string
  11390. tradeprice:
  11391. description: 成交价格
  11392. type: number
  11393. tradeqty:
  11394. description: 成交数量
  11395. type: number
  11396. type: object
  11397. models.QhjPickArea:
  11398. properties:
  11399. address:
  11400. description: 详细地址
  11401. type: string
  11402. cityid:
  11403. description: 市
  11404. type: integer
  11405. cityname:
  11406. description: 城市名称
  11407. type: string
  11408. countryid:
  11409. description: 国家
  11410. type: integer
  11411. countryname:
  11412. description: 国家名称
  11413. type: string
  11414. districtid:
  11415. description: 地区
  11416. type: integer
  11417. districtname:
  11418. description: 地区名称
  11419. type: string
  11420. fromuserid:
  11421. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11422. type: integer
  11423. fromusername:
  11424. description: 所属机构名称
  11425. type: string
  11426. provinceid:
  11427. description: 省
  11428. type: integer
  11429. provincename:
  11430. description: 省名称
  11431. type: string
  11432. suborgtype:
  11433. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11434. type: integer
  11435. userid:
  11436. description: 机构用户ID 其他做市关系,都设置为 1
  11437. type: integer
  11438. username:
  11439. description: 机构用户名称(门店门称)
  11440. type: string
  11441. type: object
  11442. models.QhjPickGoods:
  11443. properties:
  11444. enumdicname:
  11445. description: 单位名称(提货商品)
  11446. type: string
  11447. goodsid:
  11448. description: 商品id
  11449. type: integer
  11450. imageaddress:
  11451. description: 图片
  11452. type: string
  11453. modifierid:
  11454. description: 修改人
  11455. type: integer
  11456. modifiername:
  11457. description: 修改人名称
  11458. type: string
  11459. modifysrc:
  11460. description: 修改来源 - 1:管理端 2:终端
  11461. type: integer
  11462. pickupgoodsagreeunit:
  11463. description: 合约乘数
  11464. type: number
  11465. pickupgoodsdesc:
  11466. description: 描述
  11467. type: string
  11468. pickupgoodsid:
  11469. description: 提货商品ID
  11470. type: string
  11471. pickupgoodsname:
  11472. description: 提货商品名称
  11473. type: string
  11474. pickupgoodsstatus:
  11475. description: 状态 - 1:正常 2:停用 3:注销
  11476. type: integer
  11477. pickupgoodsunitid:
  11478. description: 单位ID
  11479. type: integer
  11480. pickupratio:
  11481. description: 提货系数
  11482. type: number
  11483. preparedays:
  11484. description: 备货期(天)
  11485. type: integer
  11486. remark:
  11487. description: 备注
  11488. type: string
  11489. updatetime:
  11490. description: 更新时间
  11491. type: string
  11492. type: object
  11493. models.QhjRSTriggerLog:
  11494. properties:
  11495. accountid:
  11496. description: 用户资金账户
  11497. type: integer
  11498. accountname:
  11499. description: 账号名称(ACCOUNTID对应的名称)
  11500. type: string
  11501. currencyid:
  11502. description: 币种id
  11503. type: integer
  11504. currencyname:
  11505. description: 币种名称
  11506. type: string
  11507. decimalplace:
  11508. description: 商品报价小数位
  11509. type: integer
  11510. enumdicname:
  11511. description: 单位名称
  11512. type: string
  11513. goodscode:
  11514. description: 定投商品代码
  11515. type: string
  11516. goodsid:
  11517. description: 定投商品ID
  11518. type: integer
  11519. goodsname:
  11520. description: 定投商品名称
  11521. type: string
  11522. goodunitid:
  11523. description: 定投商品单位id
  11524. type: integer
  11525. logid:
  11526. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11527. type: string
  11528. logincode:
  11529. description: 账号(登录代码)
  11530. type: string
  11531. qtydecimalplace:
  11532. description: 成交量小数位
  11533. type: integer
  11534. regularlycycle:
  11535. description: 定投频率 - 1:每周 2:每月
  11536. type: integer
  11537. regularlycyclevalue:
  11538. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11539. type: string
  11540. regularlymode:
  11541. description: 定投方式 - 1:按数量 2:按金额
  11542. type: integer
  11543. regularlymodevalue:
  11544. description: 定投方式值 - 数量或金额
  11545. type: number
  11546. regularlystrategyid:
  11547. description: 定投策略ID
  11548. type: integer
  11549. retcode:
  11550. description: 错误码
  11551. type: string
  11552. tradeid:
  11553. description: 成交单ID
  11554. type: string
  11555. triggeramount:
  11556. description: 触发金额
  11557. type: number
  11558. triggerqty:
  11559. description: 触发数量
  11560. type: number
  11561. triggerstatus:
  11562. description: 触发状态 - 1:成功 2:失败
  11563. type: integer
  11564. triggertime:
  11565. description: 触发时间
  11566. type: string
  11567. triggertradedate:
  11568. description: 触发交易日
  11569. type: string
  11570. userid:
  11571. description: 所属用户ID
  11572. type: integer
  11573. userinfotype:
  11574. description: 用户类型 1-个人 2-企业
  11575. type: integer
  11576. username:
  11577. description: 用户名称(userid对应的名称)
  11578. type: string
  11579. type: object
  11580. models.QhjRStrategy:
  11581. properties:
  11582. accountid:
  11583. description: 用户资金账户
  11584. type: integer
  11585. accountname:
  11586. description: 账号名称(ACCOUNTID对应的名称)
  11587. type: string
  11588. currencyid:
  11589. description: 币种id
  11590. type: integer
  11591. currencyname:
  11592. description: 币种名称
  11593. type: string
  11594. decimalplace:
  11595. description: 商品报价小数位
  11596. type: integer
  11597. enumdicname:
  11598. description: 单位名称
  11599. type: string
  11600. goodscode:
  11601. description: 定投商品代码
  11602. type: string
  11603. goodsid:
  11604. description: 定投商品ID
  11605. type: integer
  11606. goodsname:
  11607. description: 定投商品名称
  11608. type: string
  11609. goodunitid:
  11610. description: 定投商品单位id
  11611. type: integer
  11612. lasteffecttradedate:
  11613. description: 最新生效交易日
  11614. type: string
  11615. laststoptradedate:
  11616. description: 最新暂停交易日
  11617. type: string
  11618. lasttriggertradedate:
  11619. description: 最新触发交易日
  11620. type: string
  11621. logincode:
  11622. description: 账号(登录代码)
  11623. type: string
  11624. nexttriggeramount:
  11625. description: 下次触发金额
  11626. type: number
  11627. nexttriggerdate:
  11628. description: 下次触发日期
  11629. type: string
  11630. nexttriggerqty:
  11631. description: 下次触发数量 [按小数位放大值]
  11632. type: number
  11633. qtydecimalplace:
  11634. description: 成交量小数位
  11635. type: integer
  11636. regularlycycle:
  11637. description: 定投频率 - 1:每周 2:每月
  11638. type: integer
  11639. regularlycyclevalue:
  11640. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11641. type: string
  11642. regularlymode:
  11643. description: 定投方式 - 1:按数量 2:按金额
  11644. type: integer
  11645. regularlymodevalue:
  11646. description: 定投方式值 - 数量或金额
  11647. type: number
  11648. regularlystrategyid:
  11649. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11650. type: integer
  11651. regularlystrategystatus:
  11652. description: 策略状态 - 1:正常 2:暂停 3:终止
  11653. type: integer
  11654. remark:
  11655. description: 备注
  11656. type: string
  11657. triggersuccesstimes:
  11658. description: 累计定投成功次数
  11659. type: string
  11660. triggertotalamount:
  11661. description: 累计定投金额(成功)
  11662. type: number
  11663. triggertotalqty:
  11664. description: 累计定投数量(成功) [按小数位放大值]
  11665. type: number
  11666. triggertotaltimes:
  11667. description: 累计定投总次数
  11668. type: string
  11669. updatesrc:
  11670. description: 更新来源 - 1:管理端 2:终端
  11671. type: integer
  11672. updatetime:
  11673. description: 更新时间
  11674. type: string
  11675. updatorid:
  11676. description: 更新人
  11677. type: string
  11678. userid:
  11679. description: 所属用户ID
  11680. type: integer
  11681. userinfotype:
  11682. description: 用户类型 1-个人 2-企业
  11683. type: integer
  11684. username:
  11685. description: 用户名称(userid对应的名称)
  11686. type: string
  11687. type: object
  11688. models.QhjReckonPriceLog:
  11689. properties:
  11690. decimalplace:
  11691. description: 商品报价小数位
  11692. type: integer
  11693. goodscode:
  11694. description: 商品代码
  11695. type: string
  11696. goodsid:
  11697. description: 商品ID
  11698. type: integer
  11699. goodsname:
  11700. description: 商品名称
  11701. type: string
  11702. lastreckonprice:
  11703. description: 上日结算价
  11704. type: number
  11705. nextdnlimitprice:
  11706. description: 下个交易日跌停价
  11707. type: number
  11708. nexttrade:
  11709. description: 下个交易日
  11710. type: string
  11711. nextuplimitprice:
  11712. description: 下个交易日涨停价
  11713. type: number
  11714. reckonprice:
  11715. description: 今日结算价(定投价)
  11716. type: number
  11717. reckontime:
  11718. description: 结算时间
  11719. type: string
  11720. totalholderqty:
  11721. description: 总持仓数
  11722. type: integer
  11723. totalstock:
  11724. description: 总库存
  11725. type: integer
  11726. tradedate:
  11727. description: 交易日
  11728. type: string
  11729. updowncount:
  11730. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11731. type: integer
  11732. updownflag:
  11733. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11734. type: integer
  11735. updownrate:
  11736. description: 今日涨跌幅
  11737. type: number
  11738. updownrate_2d:
  11739. description: 连续两日涨跌幅
  11740. type: number
  11741. updownrate_3d:
  11742. description: 连续三日涨跌幅
  11743. type: number
  11744. type: object
  11745. models.QhjScoreLog:
  11746. properties:
  11747. accountid:
  11748. description: 账户ID
  11749. type: integer
  11750. createtime:
  11751. description: 创建时间(时间)
  11752. type: string
  11753. goodsid:
  11754. description: 商品ID
  11755. type: integer
  11756. hasuploaded:
  11757. description: 是否已同步(千海金) 0:未同步 1;已同步
  11758. type: integer
  11759. logid:
  11760. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11761. type: string
  11762. marketid:
  11763. description: 市场ID
  11764. type: integer
  11765. relatedamount:
  11766. description: 关联金额
  11767. type: number
  11768. relatedorderid:
  11769. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11770. type: string
  11771. scoreconfigvalue1:
  11772. description: 积分配置1
  11773. type: integer
  11774. scoreconfigvalue2:
  11775. description: 积分配置1
  11776. type: integer
  11777. scoretype:
  11778. description: 积分类型 - 1:提货积分
  11779. type: integer
  11780. scorevalue:
  11781. description: 积分
  11782. type: number
  11783. tradedate:
  11784. description: 交易日(yyyyMMdd)
  11785. type: string
  11786. uploadedtime:
  11787. description: 同步时间
  11788. type: string
  11789. userid:
  11790. description: 用户ID
  11791. type: integer
  11792. type: object
  11793. models.QhjSiteColumnDetail:
  11794. properties:
  11795. author:
  11796. description: 作者
  11797. type: string
  11798. brief:
  11799. description: 简介
  11800. type: string
  11801. columnid:
  11802. description: 所属栏目
  11803. type: integer
  11804. context:
  11805. description: 内容
  11806. type: string
  11807. coverimage:
  11808. description: 封面图片
  11809. type: string
  11810. creaedate:
  11811. description: 创建时间
  11812. type: string
  11813. creatorid:
  11814. description: 创建人
  11815. type: integer
  11816. hits:
  11817. description: 点击数
  11818. type: integer
  11819. id:
  11820. description: ID(SEQ_SITE_COLUMNDETAIL)
  11821. type: integer
  11822. isshow:
  11823. description: 是否展示 - 0:不展示 1:展示
  11824. type: integer
  11825. istop:
  11826. description: 是否置顶 - 0:不置 1:置顶
  11827. type: integer
  11828. modifierid:
  11829. description: 操作人
  11830. type: integer
  11831. publishdate:
  11832. description: 发布日期
  11833. type: string
  11834. status:
  11835. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11836. type: integer
  11837. title:
  11838. description: 标题
  11839. type: string
  11840. updatedate:
  11841. description: 修改时间
  11842. type: string
  11843. userid:
  11844. description: 用户ID(默认为0, 核心为为机构用户ID)
  11845. type: integer
  11846. username:
  11847. description: 用户名称
  11848. type: string
  11849. type: object
  11850. models.QhjTeamOrder:
  11851. properties:
  11852. accountid:
  11853. description: 账户ID[报价币种]
  11854. type: integer
  11855. accountname:
  11856. description: 账户名称
  11857. type: string
  11858. agreeunit:
  11859. description: 合约乘数
  11860. type: number
  11861. buyorsell:
  11862. description: 方向 - 0:买 1:卖
  11863. type: integer
  11864. decimalplace:
  11865. description: 报价小数位
  11866. type: integer
  11867. enumdicname:
  11868. description: 单位名称
  11869. type: string
  11870. goodscode:
  11871. description: 商品代码(内部)
  11872. type: string
  11873. goodsid:
  11874. description: 商品ID
  11875. type: integer
  11876. goodsname:
  11877. description: 商品名称
  11878. type: string
  11879. goodunitid:
  11880. description: 报价单位ID
  11881. type: integer
  11882. marketid:
  11883. description: 市场ID
  11884. type: integer
  11885. marketname:
  11886. description: 市场名称
  11887. type: string
  11888. qtydecimalplace:
  11889. description: 成交量小数位
  11890. type: integer
  11891. refereeuserid:
  11892. description: 推荐人ID
  11893. type: integer
  11894. tradeamount:
  11895. description: 成交金额[账户币种,用于所有权]
  11896. type: number
  11897. tradedate:
  11898. description: 交易日(yyyyMMdd)
  11899. type: string
  11900. trademode:
  11901. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11902. 21:竞拍-大宗式 22:受托竞价
  11903. type: integer
  11904. tradeprice:
  11905. description: 成交价格
  11906. type: number
  11907. tradeqty:
  11908. description: 成交数量
  11909. type: number
  11910. tradetime:
  11911. description: 成交时间
  11912. type: string
  11913. userid:
  11914. description: 用户ID
  11915. type: integer
  11916. type: object
  11917. models.QhjTradeGoodsPickup:
  11918. properties:
  11919. accountid:
  11920. description: 账户ID
  11921. type: integer
  11922. address:
  11923. description: 提货人详细地址
  11924. type: string
  11925. amount:
  11926. description: 提货金额
  11927. type: number
  11928. artradedate:
  11929. description: 自动收货交易日(yyyyMMdd)
  11930. type: string
  11931. auditer:
  11932. description: 审核人
  11933. type: integer
  11934. auditsrc:
  11935. description: 更新来源 - 1:管理端 2:终端
  11936. type: integer
  11937. audittime:
  11938. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11939. type: string
  11940. audittradedate:
  11941. description: 审核交易日(yyyyMMdd)
  11942. type: string
  11943. cardnum:
  11944. description: 提货人证件号码
  11945. type: string
  11946. cardtypeid:
  11947. description: 提货人证件类型
  11948. type: integer
  11949. checkremark:
  11950. description: 审核备注
  11951. type: string
  11952. cityid:
  11953. description: 市
  11954. type: integer
  11955. cityname:
  11956. description: 城市名称
  11957. type: string
  11958. confirmtime:
  11959. description: 取货时间 或 收货时间
  11960. type: string
  11961. countryid:
  11962. description: 国家
  11963. type: integer
  11964. countryname:
  11965. description: 国家名称
  11966. type: string
  11967. decimalplace:
  11968. description: 商品报价小数位
  11969. type: integer
  11970. districtid:
  11971. description: 地区
  11972. type: integer
  11973. districtname:
  11974. description: 地区名称
  11975. type: string
  11976. enumdicname:
  11977. description: 单位名称(提货商品)
  11978. type: string
  11979. expresscompany:
  11980. description: 物流公司
  11981. type: string
  11982. expressnum:
  11983. description: 物流单号
  11984. type: string
  11985. goodsagreeunit:
  11986. description: 交易商品乘数
  11987. type: number
  11988. goodscode:
  11989. description: 商品代码
  11990. type: string
  11991. goodsid:
  11992. description: 商品ID
  11993. type: integer
  11994. goodsname:
  11995. description: 商品名称
  11996. type: string
  11997. goodsqty:
  11998. description: 交易商品手数(69模式按成交量小数位放大取整)
  11999. type: number
  12000. handlestatus:
  12001. description: 处理状态
  12002. type: integer
  12003. logincode:
  12004. description: 账号(登录代码, 有可能为空)
  12005. type: string
  12006. marketid:
  12007. description: 市场ID
  12008. type: integer
  12009. phonenum:
  12010. description: 提货人联系方式
  12011. type: string
  12012. pickupgoodsagreeunit:
  12013. description: 提货商品合约乘数
  12014. type: number
  12015. pickupgoodsid:
  12016. description: 提货商品ID
  12017. type: string
  12018. pickupgoodsname:
  12019. description: 提货商品名称
  12020. type: string
  12021. pickupgoodsqty:
  12022. description: 提货商品手数(数量)
  12023. type: number
  12024. pickupgoodsunitid:
  12025. description: 单位ID(提货商品)
  12026. type: integer
  12027. pickupratio:
  12028. description: 提货系数
  12029. type: number
  12030. preparedays:
  12031. description: 备货期(天)-提货单明细表
  12032. type: integer
  12033. provinceid:
  12034. description: 省
  12035. type: integer
  12036. provincename:
  12037. description: 省名称
  12038. type: string
  12039. qty:
  12040. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12041. type: number
  12042. qtydecimalplace:
  12043. description: 商品数量小数位
  12044. type: integer
  12045. recivername:
  12046. description: 提货人姓名
  12047. type: string
  12048. reqtime:
  12049. description: 提货申请时间
  12050. type: string
  12051. storeuserid:
  12052. description: 门店用户ID (千海金)
  12053. type: integer
  12054. storeusername:
  12055. description: 门店用户名称
  12056. type: string
  12057. takemode:
  12058. description: 提货方式 - 2:自提 3:配送(邮寄)
  12059. type: integer
  12060. takeorderid:
  12061. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12062. type: string
  12063. takeorderstatus:
  12064. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12065. 7:已拒绝 8:已撤销
  12066. type: integer
  12067. takeremark:
  12068. description: 提货备注
  12069. type: string
  12070. tradedate:
  12071. description: 交易日(yyyyMMdd)
  12072. type: string
  12073. updatetime:
  12074. description: 更新时间
  12075. type: string
  12076. userid:
  12077. description: 用户ID
  12078. type: integer
  12079. userinfotype:
  12080. description: 客户类型 1-个人 2-企业
  12081. type: integer
  12082. username:
  12083. description: 用户名称
  12084. type: string
  12085. type: object
  12086. models.QhjUserNodeCfgAndStatus:
  12087. properties:
  12088. agreementcontent:
  12089. description: 协议内容
  12090. type: string
  12091. agreementid:
  12092. description: 协议ID
  12093. type: integer
  12094. agreementname:
  12095. description: 协议名称
  12096. type: string
  12097. agreementno:
  12098. description: 协议编号
  12099. type: string
  12100. agreementtype:
  12101. description: 协议类型 - 1:注册 2:登录 3:交易
  12102. type: integer
  12103. agreementversion:
  12104. description: 协议版本号
  12105. type: integer
  12106. configid:
  12107. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12108. type: integer
  12109. createtime:
  12110. description: 创建时间
  12111. type: string
  12112. goodsid:
  12113. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12114. type: integer
  12115. nodetype:
  12116. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12117. type: integer
  12118. signtimestamp:
  12119. description: 签约状态时间戳(最近一次)
  12120. type: string
  12121. tradedate:
  12122. description: 签约交易日(yyyyMMdd)
  12123. type: string
  12124. userid:
  12125. description: 客户ID
  12126. type: integer
  12127. type: object
  12128. models.Qhjgoodsex:
  12129. properties:
  12130. canfinance:
  12131. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12132. type: integer
  12133. canregularlybuy:
  12134. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12135. type: integer
  12136. defaulttradeuserid:
  12137. description: 默认交易用户ID
  12138. type: integer
  12139. deliverygoodsid:
  12140. description: 现货品种ID
  12141. type: integer
  12142. goodsid:
  12143. description: 商品ID(自增ID SEQ_GOODS)
  12144. type: integer
  12145. minamount:
  12146. description: 最小购买金额
  12147. type: number
  12148. regularlybuyminamount:
  12149. description: 定投最小金额
  12150. type: number
  12151. regularlybuyminqty:
  12152. description: 定投最小数量
  12153. type: number
  12154. spotgoodsbrandid:
  12155. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12156. type: integer
  12157. visibilityforenterprise:
  12158. description: 企业客户是否可见 - 0:不可见 1:可见
  12159. type: integer
  12160. visibilityforpersonal:
  12161. description: 个人客户是否可见 - 0:不可见 1:可见
  12162. type: integer
  12163. wrstandardid:
  12164. description: 现货商品ID
  12165. type: integer
  12166. type: object
  12167. models.QueryErrorInfosRsp:
  12168. properties:
  12169. description:
  12170. description: 异常描述
  12171. type: string
  12172. errorcode:
  12173. description: 异常代码
  12174. type: string
  12175. errorid:
  12176. description: 异常ID
  12177. type: integer
  12178. modulecode:
  12179. description: 所属模块
  12180. type: string
  12181. operatecode:
  12182. description: 所属操作
  12183. type: string
  12184. rownumber:
  12185. description: 行号
  12186. type: string
  12187. required:
  12188. - errorid
  12189. type: object
  12190. models.QueryHedgeOrderDetailRsp:
  12191. properties:
  12192. accountid:
  12193. description: 账户ID
  12194. type: integer
  12195. buyorsell:
  12196. description: 买卖 - 0:买 1:卖
  12197. type: integer
  12198. cancellogincode:
  12199. description: 撤单人
  12200. type: string
  12201. channelbuildtype:
  12202. description: 开平标志 - 0:无 1:建仓 2:平仓
  12203. type: integer
  12204. channelinnerorderstatus:
  12205. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12206. 9:全部成交
  12207. type: integer
  12208. channeloperatetype:
  12209. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12210. type: integer
  12211. closetype:
  12212. description: 平仓方式 - 0:无 1:平今 2:平昨
  12213. type: integer
  12214. curexchangerate:
  12215. description: 当前汇率
  12216. type: number
  12217. exchangefullname:
  12218. description: 外部交易所全称
  12219. type: string
  12220. goodscode:
  12221. description: 商品代码(内部)
  12222. type: string
  12223. goodsid:
  12224. description: 商品ID
  12225. type: integer
  12226. goodsname:
  12227. description: 商品名称
  12228. type: string
  12229. marketid:
  12230. description: 市场ID
  12231. type: integer
  12232. openfreezemargin:
  12233. description: 冻结保证金(冻结交易金额)
  12234. type: number
  12235. orderid:
  12236. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12237. type: string
  12238. orderlogincode:
  12239. description: 委托人
  12240. type: string
  12241. orderprice:
  12242. description: 委托价格(账户)
  12243. type: number
  12244. orderqty:
  12245. description: 委托数量
  12246. type: integer
  12247. ordertime:
  12248. description: 委托时间
  12249. type: string
  12250. pricemode:
  12251. description: '取价方式 - 1:市价 2: 限价'
  12252. type: integer
  12253. tradedate:
  12254. description: 交易日(yyyyMMdd)
  12255. type: string
  12256. tradeqty:
  12257. description: 成交数量
  12258. type: integer
  12259. type: object
  12260. models.QueryHedgeTradeDetailRsp:
  12261. properties:
  12262. accountid:
  12263. description: 账号ID
  12264. type: integer
  12265. buyorsell:
  12266. description: 方向 - 0:买 1:卖
  12267. type: integer
  12268. channelbuildtype:
  12269. description: 委托单据类型 0:无 1:建仓 2:平仓
  12270. type: integer
  12271. closecharge:
  12272. description: 平仓手续费(账户)
  12273. type: number
  12274. closecharge2:
  12275. description: 平仓手续费(商品)
  12276. type: number
  12277. closepl:
  12278. description: 平仓盈亏(账户)
  12279. type: number
  12280. closepl2:
  12281. description: 平仓盈亏(商品)
  12282. type: number
  12283. closepl3:
  12284. description: 平仓盈亏(账户)(逐笔)
  12285. type: number
  12286. closepl4:
  12287. description: 平仓盈亏(商品)(逐笔)
  12288. type: number
  12289. closetype:
  12290. description: 平仓方式 - 0:无 1:平今 2:平昨
  12291. type: integer
  12292. curexchangerate:
  12293. description: 当前汇率
  12294. type: number
  12295. exchangefullname:
  12296. description: 外部交易所全称
  12297. type: string
  12298. goodscode:
  12299. description: 商品代码(内部)
  12300. type: string
  12301. goodsid:
  12302. description: 商品ID
  12303. type: integer
  12304. goodsname:
  12305. description: 商品名称
  12306. type: string
  12307. marketid:
  12308. description: 市场ID
  12309. type: integer
  12310. opencharge:
  12311. description: 建仓手续费(账户)
  12312. type: number
  12313. opencharge2:
  12314. description: 建仓手续费(商品)
  12315. type: number
  12316. orderid:
  12317. description: 委托单号
  12318. type: string
  12319. orderlogincode:
  12320. description: 委托人
  12321. type: string
  12322. tradeamount:
  12323. description: 成交金额(账户)
  12324. type: number
  12325. tradedate:
  12326. description: 交易日(yyyyMMdd)
  12327. type: string
  12328. tradeid:
  12329. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12330. type: string
  12331. tradeprice:
  12332. description: 成交价格
  12333. type: number
  12334. tradeqty:
  12335. description: 成交数量
  12336. type: integer
  12337. tradetime:
  12338. description: 成交时间
  12339. type: string
  12340. tradetype:
  12341. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12342. type: integer
  12343. type: object
  12344. models.QuotePrimaryMenu:
  12345. properties:
  12346. Index:
  12347. description: 序号
  12348. type: integer
  12349. Key:
  12350. description: 键名
  12351. type: string
  12352. Name:
  12353. description: 菜单名称
  12354. type: string
  12355. SubMenus:
  12356. description: 子菜单
  12357. items:
  12358. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12359. type: array
  12360. SubTitleType:
  12361. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12362. type: integer
  12363. TradeModes:
  12364. description: 包含市场交易类型
  12365. type: string
  12366. type: object
  12367. models.QuoteSecondaryMenu:
  12368. properties:
  12369. ExExchangeCode:
  12370. description: 外部交易所代码
  12371. type: string
  12372. ExExchangeID:
  12373. description: 外部交易所ID
  12374. type: integer
  12375. GoodsGroupIDs:
  12376. description: 商品组ID列表
  12377. items:
  12378. type: integer
  12379. type: array
  12380. Index:
  12381. description: 序号
  12382. type: integer
  12383. MarketID:
  12384. description: 市场ID
  12385. type: integer
  12386. MenuTitle:
  12387. description: 菜单标题(市场名称或外部交易所名称)
  12388. type: string
  12389. TradeMode:
  12390. description: 交易模式
  12391. type: integer
  12392. type: object
  12393. models.RoleMenu:
  12394. properties:
  12395. hasright:
  12396. description: 是否有权限 0-没有权限 1-有权限
  12397. type: integer
  12398. iconame:
  12399. description: 菜单图标
  12400. type: string
  12401. menutype:
  12402. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12403. type: integer
  12404. parentcode:
  12405. description: 上级资源代码
  12406. type: string
  12407. remark:
  12408. description: 菜单备注
  12409. type: string
  12410. resourcecode:
  12411. description: 菜单代码
  12412. type: string
  12413. resourcelevel:
  12414. description: 级别
  12415. type: integer
  12416. resourcename:
  12417. description: 菜单名称
  12418. type: string
  12419. roleid:
  12420. description: 角色id
  12421. type: integer
  12422. sort:
  12423. description: 排序
  12424. type: integer
  12425. subMenu:
  12426. description: 子级菜单(结构同上层一样, swag解析不出来)
  12427. items:
  12428. $ref: '#/definitions/models.RoleMenu'
  12429. type: array
  12430. url:
  12431. description: URL
  12432. type: string
  12433. userid:
  12434. description: 用户id
  12435. type: integer
  12436. type: object
  12437. models.SearchGoods:
  12438. properties:
  12439. goodscode:
  12440. description: 商品代码(内部)
  12441. type: string
  12442. goodsid:
  12443. description: 商品ID(自增ID SEQ_GOODS)
  12444. type: integer
  12445. goodsname:
  12446. description: 商品名称
  12447. type: string
  12448. marketid:
  12449. description: 所属市场ID
  12450. type: integer
  12451. marketname:
  12452. description: 市场名称
  12453. type: string
  12454. trademode:
  12455. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12456. 21:竞拍-大宗式 22:受托竞价
  12457. type: integer
  12458. required:
  12459. - goodscode
  12460. - goodsid
  12461. - goodsname
  12462. - marketid
  12463. - trademode
  12464. type: object
  12465. models.Systemparam:
  12466. properties:
  12467. loginid:
  12468. description: 更新用户账号,登录账号
  12469. type: string
  12470. modifyflag:
  12471. description: 修改标志0 不允许修改 1 允许修改
  12472. type: integer
  12473. paramcode:
  12474. description: 参数代码
  12475. type: string
  12476. paramname:
  12477. description: 参数名
  12478. type: string
  12479. paramtype:
  12480. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12481. type: integer
  12482. paramvalue:
  12483. description: 参数值
  12484. type: string
  12485. paramvalue2:
  12486. description: 参数值(CLOB)
  12487. type: string
  12488. regexpress:
  12489. description: 正则表达式
  12490. type: string
  12491. remark:
  12492. description: 备注
  12493. type: string
  12494. serverip:
  12495. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12496. type: string
  12497. showflag:
  12498. description: 是否显示0 不显示 1 显示
  12499. type: integer
  12500. updatetime:
  12501. description: 更新时间
  12502. type: string
  12503. userid:
  12504. description: 更新用户ID
  12505. type: integer
  12506. required:
  12507. - paramcode
  12508. type: object
  12509. models.Szdz3convertconfig:
  12510. properties:
  12511. canin:
  12512. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12513. type: integer
  12514. canout:
  12515. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12516. type: integer
  12517. converttype:
  12518. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12519. 6:交易转花生米(不设置)
  12520. type: integer
  12521. createtime:
  12522. description: 创建时间
  12523. type: string
  12524. creatorid:
  12525. description: 创建人
  12526. type: integer
  12527. daymaxvalue:
  12528. description: 当日最大转入限制
  12529. type: number
  12530. freezedays:
  12531. description: 冻结天数 [5:花生米转交易]
  12532. type: integer
  12533. innergoodsid:
  12534. description: 内部商品ID[交易]
  12535. type: integer
  12536. inratio:
  12537. description: 目标值
  12538. type: integer
  12539. modifierid:
  12540. description: 修改人
  12541. type: integer
  12542. modifytime:
  12543. description: 修改时间
  12544. type: string
  12545. outergoodscode:
  12546. description: 外部商品代码[JD\PD]
  12547. type: string
  12548. outratio:
  12549. description: 源值
  12550. type: integer
  12551. pddecimalplace:
  12552. description: PD小数位
  12553. type: integer
  12554. timemaxvalue:
  12555. description: 单次最大转入限制
  12556. type: number
  12557. timeminvalue:
  12558. description: 单次最小转入限制
  12559. type: number
  12560. required:
  12561. - converttype
  12562. - innergoodsid
  12563. - outergoodscode
  12564. type: object
  12565. models.Szdz3searchwhitelist:
  12566. properties:
  12567. createtime:
  12568. description: 创建时间
  12569. type: string
  12570. creatorid:
  12571. description: 创建人
  12572. type: integer
  12573. modifierid:
  12574. description: 修改人
  12575. type: integer
  12576. modifytime:
  12577. description: 修改时间
  12578. type: string
  12579. userid:
  12580. description: 用户ID
  12581. type: integer
  12582. required:
  12583. - userid
  12584. type: object
  12585. models.Taaccount:
  12586. properties:
  12587. accountflag:
  12588. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12589. type: integer
  12590. accountid:
  12591. description: 资金账户ID
  12592. type: integer
  12593. accountname:
  12594. description: 账户名称
  12595. type: string
  12596. balance:
  12597. description: 期初余额
  12598. type: number
  12599. capitalbalance:
  12600. description: 本金余额[外部子账户实际出入金余额]
  12601. type: number
  12602. changeflag:
  12603. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12604. type: integer
  12605. changetime:
  12606. description: 账户状态变更时间
  12607. type: string
  12608. closepl:
  12609. description: 今日平仓盈亏
  12610. type: number
  12611. creditdecrease:
  12612. description: 今日授信减少
  12613. type: number
  12614. creditincrease:
  12615. description: 今日授信增加
  12616. type: number
  12617. curamount:
  12618. description: 总市值(从持仓中统计)
  12619. type: number
  12620. currencyid:
  12621. description: 货币ID
  12622. type: integer
  12623. currentbalance:
  12624. description: 期末余额
  12625. type: number
  12626. freezecharge:
  12627. description: 手续费冻结
  12628. type: number
  12629. freezemargin:
  12630. description: 冻结保证金
  12631. type: number
  12632. fromaccountid:
  12633. description: 所属上级账户
  12634. type: integer
  12635. inamount:
  12636. description: 今日入金金额(包括三方入金)
  12637. type: number
  12638. ismain:
  12639. description: 是否母账号 0:不是母账户 1:是母账户
  12640. type: integer
  12641. ismarketaccount:
  12642. description: 是否机构接单账号 0:不是 1:是
  12643. type: integer
  12644. isreckonaccount:
  12645. description: 是否机构分润账号 0:不是 1:是
  12646. type: integer
  12647. mortgagecredit:
  12648. description: 授信金额
  12649. type: number
  12650. orifreezecharge:
  12651. description: 期初手续费冻结
  12652. type: number
  12653. orifreezemargin:
  12654. description: 期初冻结保证金
  12655. type: number
  12656. orimortgagecredit:
  12657. description: 期初授信金额
  12658. type: number
  12659. oriothercredit:
  12660. description: 期初其它授信金额
  12661. type: number
  12662. oriotherfreezemargin:
  12663. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12664. type: number
  12665. orioutamountfreeze:
  12666. description: 期初出金冻结
  12667. type: number
  12668. oriusedmargin:
  12669. description: 期初占用保证金
  12670. type: number
  12671. othercredit:
  12672. description: 其它授信金额
  12673. type: number
  12674. othercreditdecrease:
  12675. description: 今日其它授信减少
  12676. type: number
  12677. othercreditincrease:
  12678. description: 今日其它授信增加
  12679. type: number
  12680. otherfreezemargin:
  12681. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12682. type: number
  12683. otherincome:
  12684. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12685. type: number
  12686. otherpay:
  12687. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12688. type: number
  12689. outamount:
  12690. description: 今日出金金额(包括三方出金)
  12691. type: number
  12692. outamountfreeze:
  12693. description: 出金冻结
  12694. type: number
  12695. outthreshold:
  12696. description: 出金阈值
  12697. type: number
  12698. parentaccountid:
  12699. description: 所属根账号
  12700. type: integer
  12701. paycharge:
  12702. description: 今日手续费支出
  12703. type: number
  12704. relatedaccountstatus:
  12705. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12706. type: integer
  12707. relateduserid:
  12708. description: 关联用户
  12709. type: integer
  12710. remainamount:
  12711. description: 融资额(从融资合同中统计)
  12712. type: number
  12713. serivcegroup:
  12714. description: 服务分组
  12715. type: integer
  12716. signstatus:
  12717. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12718. type: integer
  12719. sublevelpath:
  12720. description: 账号层级路径(逗号分隔,首尾加逗号)
  12721. type: string
  12722. taaccounttype:
  12723. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12724. type: integer
  12725. thirdinamount:
  12726. description: 今日三方入金
  12727. type: number
  12728. thirdoutamount:
  12729. description: 今日三方出金
  12730. type: number
  12731. tradestatus:
  12732. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12733. type: integer
  12734. tradestatuschangetime:
  12735. description: 激活时间
  12736. type: string
  12737. transferamount:
  12738. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12739. type: number
  12740. usedmargin:
  12741. description: 占用保证金
  12742. type: number
  12743. userid:
  12744. description: 用户ID
  12745. type: integer
  12746. required:
  12747. - accountid
  12748. - userid
  12749. type: object
  12750. models.Tablecolumnconfig:
  12751. properties:
  12752. aligntype:
  12753. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12754. type: integer
  12755. autoid:
  12756. description: AutoID
  12757. type: integer
  12758. columnfield:
  12759. description: 列字段
  12760. type: string
  12761. columntitle:
  12762. description: 列Title
  12763. type: string
  12764. columnwidth:
  12765. description: 列宽
  12766. type: string
  12767. formatterstring:
  12768. description: 格式化字符
  12769. type: string
  12770. formattertype:
  12771. description: 格式化类型
  12772. type: string
  12773. groupname:
  12774. description: 表头分组名称
  12775. type: string
  12776. isshow:
  12777. description: 是否显示 - 0:不显示 1:显示
  12778. type: integer
  12779. needsummary:
  12780. description: 是否需要汇总 - 0:不需要 1:需要
  12781. type: integer
  12782. orderindex:
  12783. description: 顺序
  12784. type: integer
  12785. remark:
  12786. description: 备注
  12787. type: string
  12788. summarytype:
  12789. description: 汇总类型 - 1:加总 2:最后一个
  12790. type: integer
  12791. tablekey:
  12792. description: 列表Key
  12793. type: string
  12794. required:
  12795. - autoid
  12796. type: object
  12797. models.UserCollectConfig:
  12798. properties:
  12799. accountstatus:
  12800. description: 账户状态 - 1:正常 2:停用 3:注销
  12801. type: integer
  12802. collectaccountname:
  12803. description: 收款人账户名称
  12804. type: string
  12805. collectaccountno:
  12806. description: 收款人账户
  12807. type: string
  12808. collectbankname:
  12809. description: 收款人开户行
  12810. type: string
  12811. collectbranchbankname:
  12812. description: 收款人开户支行
  12813. type: string
  12814. collectconfigid:
  12815. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12816. type: string
  12817. remark:
  12818. description: 备注
  12819. type: string
  12820. userid:
  12821. description: 收款人用户ID
  12822. type: integer
  12823. type: object
  12824. models.UserReceiveInfo:
  12825. properties:
  12826. address:
  12827. description: 提货人详细地址
  12828. type: string
  12829. autoid:
  12830. description: AutoID
  12831. type: integer
  12832. cardnum:
  12833. description: 证件号码(加密存储)
  12834. type: string
  12835. cardtypeid:
  12836. description: 证件类型
  12837. type: integer
  12838. cityid:
  12839. description: 市
  12840. type: integer
  12841. cityname:
  12842. description: 城市名称
  12843. type: string
  12844. countryid:
  12845. description: 国家
  12846. type: integer
  12847. countryname:
  12848. description: 国家名称
  12849. type: string
  12850. districtid:
  12851. description: 地区
  12852. type: integer
  12853. districtname:
  12854. description: 地区名称
  12855. type: string
  12856. hasencrypt:
  12857. description: 数据是否已加密 - 0:未加密 1:已加密
  12858. type: integer
  12859. isdefault:
  12860. description: 是否默认地址 - 0:否 1:是
  12861. type: integer
  12862. phonenum:
  12863. description: 提货人联系方式(加密存储)
  12864. type: string
  12865. provinceid:
  12866. description: 省
  12867. type: integer
  12868. provincename:
  12869. description: 省名称
  12870. type: string
  12871. receivername:
  12872. description: 提货人姓名
  12873. type: string
  12874. takeremark:
  12875. description: 提货备注
  12876. type: string
  12877. userid:
  12878. description: 用户ID
  12879. type: integer
  12880. type: object
  12881. models.Useraccount:
  12882. properties:
  12883. accountname:
  12884. description: 账户名称(机构名称)
  12885. type: string
  12886. accountstatus:
  12887. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12888. type: integer
  12889. applysrc:
  12890. description: 申请来源 - 1:管理端 2:终端
  12891. type: integer
  12892. auditremark:
  12893. description: 审核备注
  12894. type: string
  12895. auditsrc:
  12896. description: 审核来源 - 1:管理端 2:终端
  12897. type: integer
  12898. audittime:
  12899. description: 审核时间
  12900. type: string
  12901. audituserid:
  12902. description: 审核人
  12903. type: integer
  12904. broker:
  12905. description: 所属经纪人ID
  12906. type: integer
  12907. canceltime:
  12908. description: 销户时间
  12909. type: string
  12910. canceluserid:
  12911. description: 销户人
  12912. type: integer
  12913. canrecommend:
  12914. description: 是否可推荐 - 0:不可 1;可
  12915. type: integer
  12916. createtime:
  12917. description: 创建时间
  12918. type: string
  12919. creatorid:
  12920. description: 创建人
  12921. type: integer
  12922. hasauth:
  12923. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12924. type: integer
  12925. isanonymous:
  12926. description: 是否匿名下单 - 0:否 1:是
  12927. type: integer
  12928. maxinvestornum:
  12929. description: 最大用户数(经纪会员下投资者个数)
  12930. type: integer
  12931. memberuserid:
  12932. description: 所属会员ID
  12933. type: integer
  12934. modifierid:
  12935. description: 修改人
  12936. type: integer
  12937. modifyremark:
  12938. description: 变更备注
  12939. type: string
  12940. modifystatus:
  12941. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12942. type: integer
  12943. modifytime:
  12944. description: 修改时间
  12945. type: string
  12946. parenttopuser:
  12947. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12948. type: string
  12949. parentuserid:
  12950. description: 所属机构ID
  12951. type: integer
  12952. reckonaccountid:
  12953. description: 默认结算资金账号ID(机构分润使用) 作废
  12954. type: integer
  12955. refercount:
  12956. description: 推荐总人数
  12957. type: integer
  12958. refereeuserid:
  12959. description: 推荐人ID
  12960. type: integer
  12961. refernum:
  12962. description: 推荐码
  12963. type: string
  12964. rootuserid:
  12965. description: 根用户ID
  12966. type: integer
  12967. subaccountlevel:
  12968. description: 子账户层数
  12969. type: integer
  12970. subarealevelpath:
  12971. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12972. type: string
  12973. userid:
  12974. description: 用户ID
  12975. type: integer
  12976. usertype:
  12977. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12978. type: integer
  12979. required:
  12980. - userid
  12981. type: object
  12982. models.Userfavoritegoods:
  12983. properties:
  12984. goodsid:
  12985. description: 商品ID
  12986. type: integer
  12987. required:
  12988. - goodsid
  12989. type: object
  12990. models.Userinfo:
  12991. properties:
  12992. address:
  12993. description: 地址
  12994. type: string
  12995. attachment1:
  12996. description: 附件1
  12997. type: string
  12998. attachment2:
  12999. description: 附件2
  13000. type: string
  13001. bankaccount:
  13002. description: 银行帐号 (加密存储)
  13003. type: string
  13004. bankaccountname:
  13005. description: 收款人名称
  13006. type: string
  13007. bankcardfrontphotourl:
  13008. description: 银行卡正面照地址
  13009. type: string
  13010. bankid:
  13011. description: 银行编码
  13012. type: string
  13013. bankname:
  13014. description: 银行名称
  13015. type: string
  13016. biznature:
  13017. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13018. type: integer
  13019. bizscope:
  13020. description: 企业经营范围(企业)
  13021. type: string
  13022. cardbackphotourl:
  13023. description: 证件背面图片地址
  13024. type: string
  13025. cardfrontphotourl:
  13026. description: 证件正面图片地址
  13027. type: string
  13028. cardnum:
  13029. description: 证件号码(加密存储)
  13030. type: string
  13031. cardtypeid:
  13032. description: 证件类型ID
  13033. type: integer
  13034. cityid:
  13035. description: 市
  13036. type: integer
  13037. company:
  13038. description: 公司(个人)
  13039. type: string
  13040. contactname:
  13041. description: 联系人
  13042. type: string
  13043. countryid:
  13044. description: 国家
  13045. type: integer
  13046. createtime:
  13047. description: 创建时间
  13048. type: string
  13049. creatorid:
  13050. description: 创建人
  13051. type: integer
  13052. customername:
  13053. description: 客户名称(企业名称)
  13054. type: string
  13055. districtid:
  13056. description: 地区
  13057. type: integer
  13058. email:
  13059. description: 邮件(加密存储)
  13060. type: string
  13061. fax:
  13062. description: 传真(加密存储)
  13063. type: string
  13064. halfbodyphotourl:
  13065. description: 半身照地址
  13066. type: string
  13067. hasencrypt:
  13068. description: 数据是否已加密 - 0:未加密 1:已加密
  13069. type: integer
  13070. headurl:
  13071. description: 头像地址
  13072. type: string
  13073. legalcardbackphotourl:
  13074. description: 法人身份证背面照地址
  13075. type: string
  13076. legalcardfrontphotourl:
  13077. description: 法人身份证正面照地址
  13078. type: string
  13079. legalpersonname:
  13080. description: 法人姓名(企业)
  13081. type: string
  13082. mobile:
  13083. description: 手机号码(加密存储)
  13084. type: string
  13085. mobile2:
  13086. description: 手机号码[明文-尚志]
  13087. type: string
  13088. modifierid:
  13089. description: 修改人
  13090. type: integer
  13091. modifiertime:
  13092. description: 修改时间
  13093. type: string
  13094. needinvoice:
  13095. description: 是否需要发票 - 0:不需要 1:需要
  13096. type: integer
  13097. nickname:
  13098. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13099. type: string
  13100. openmode:
  13101. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13102. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13103. type: integer
  13104. otherurl:
  13105. description: 其它图片地址[使用分号分隔]
  13106. type: string
  13107. postalcode:
  13108. description: 邮政编码
  13109. type: string
  13110. provinceid:
  13111. description: 省
  13112. type: integer
  13113. qq:
  13114. description: QQ(加密存储
  13115. type: string
  13116. remark:
  13117. description: 备注
  13118. type: string
  13119. sex:
  13120. description: '用户性别 0: 女 1: 男'
  13121. type: integer
  13122. signpdfurl:
  13123. description: 签约pdf文件
  13124. type: string
  13125. telphone:
  13126. description: 联系电话(加密存储)
  13127. type: string
  13128. userid:
  13129. description: 用户ID
  13130. type: integer
  13131. userinfotype:
  13132. description: 用户信息类型 - 1:个人 2:企业
  13133. type: integer
  13134. userstatus:
  13135. description: 用户状态 - 1:正常 2:注销
  13136. type: integer
  13137. usertype:
  13138. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13139. type: integer
  13140. wechat:
  13141. description: 微信(加密存储)
  13142. type: string
  13143. wskhinfo:
  13144. description: 开户申请信息(JSON)
  13145. type: string
  13146. required:
  13147. - userid
  13148. type: object
  13149. models.WRSConverTDetail:
  13150. properties:
  13151. convertratio:
  13152. description: 套保系数
  13153. type: number
  13154. deliverygoodscode:
  13155. description: 现货商品代码
  13156. type: string
  13157. deliverygoodsid:
  13158. description: 现货品种ID
  13159. type: integer
  13160. deliverygoodsname:
  13161. description: 现货商品名称
  13162. type: string
  13163. enumdicname:
  13164. description: 单位名称
  13165. type: string
  13166. goodsunitid:
  13167. description: 套保品种单位id
  13168. type: integer
  13169. middlegoodscode:
  13170. description: 套保品种代码
  13171. type: string
  13172. middlegoodsid:
  13173. description: 套保品种ID
  13174. type: integer
  13175. middlegoodsname:
  13176. description: 套保品种名称
  13177. type: string
  13178. modifytime:
  13179. description: 修改时间
  13180. type: string
  13181. wrstandardid:
  13182. description: 品类ID
  13183. type: integer
  13184. type: object
  13185. models.WRStandardInfo:
  13186. properties:
  13187. areauserid:
  13188. description: 所属机构
  13189. type: integer
  13190. convertfactor:
  13191. description: 标仓系数
  13192. type: number
  13193. createtime:
  13194. description: 创建时间
  13195. type: string
  13196. creatorid:
  13197. description: 创建人
  13198. type: integer
  13199. deliverygoodsid:
  13200. description: 品种ID
  13201. type: integer
  13202. deliverygoodsname:
  13203. description: 交割商品名称
  13204. type: string
  13205. factoryitemjson:
  13206. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13207. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13208. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13209. 逗号分隔'
  13210. type: string
  13211. isvalid:
  13212. description: 是否有效 - 0:无效 1:有效
  13213. type: integer
  13214. minivalue:
  13215. description: 最小变动值
  13216. type: integer
  13217. minivaluedp:
  13218. description: 最小变动值小数位
  13219. type: integer
  13220. realminivalue:
  13221. description: 实际最小变动值
  13222. type: integer
  13223. realminivaluedp:
  13224. description: 实际最小变动值小数位
  13225. type: integer
  13226. remark:
  13227. description: 备注
  13228. type: string
  13229. unitid:
  13230. description: 单位ID
  13231. type: integer
  13232. unitname:
  13233. description: 单位
  13234. type: string
  13235. updatetime:
  13236. description: 更新时间
  13237. type: string
  13238. updatorid:
  13239. description: 更新人
  13240. type: integer
  13241. wrsstatus:
  13242. description: 状态 - 作废 - 0:未激活 1:正常
  13243. type: integer
  13244. wrstandardcode:
  13245. description: 现货品类代码
  13246. type: string
  13247. wrstandardid:
  13248. description: 现货品类ID(SEQ_WRSTANDARD)
  13249. type: integer
  13250. wrstandardname:
  13251. description: 现货品类名称
  13252. type: string
  13253. required:
  13254. - wrstandardid
  13255. type: object
  13256. models.WRTradeBargainApply:
  13257. properties:
  13258. accountid:
  13259. description: 摘牌资金账号
  13260. type: integer
  13261. applyprice:
  13262. description: 申请价格(议价价格)
  13263. type: string
  13264. applyqty:
  13265. description: 摘牌数量(议价数量)
  13266. type: number
  13267. applyremark:
  13268. description: 申请备注
  13269. type: string
  13270. applystatus:
  13271. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13272. type: integer
  13273. applytime:
  13274. description: 申请时间(议价时间)
  13275. type: string
  13276. buyorsell:
  13277. description: 买卖(挂牌类型) - 0:买 1:卖
  13278. type: integer
  13279. confirmremark:
  13280. description: 确认备注
  13281. type: string
  13282. confirmtime:
  13283. description: 确认时间
  13284. type: string
  13285. confirmuserid:
  13286. description: 确认人
  13287. type: integer
  13288. deliverygoodscode:
  13289. description: 品种代码
  13290. type: string
  13291. deliverygoodsid:
  13292. description: 品种ID
  13293. type: integer
  13294. deliverygoodsname:
  13295. description: 品种名称
  13296. type: string
  13297. deliverymonth:
  13298. description: 交收月
  13299. type: string
  13300. enumdicname:
  13301. description: 单位名称
  13302. type: string
  13303. fixedprice:
  13304. description: 挂牌价格
  13305. type: number
  13306. handlestatus:
  13307. description: 处理状态
  13308. type: integer
  13309. marginvalue:
  13310. description: 履约保证金比例
  13311. type: number
  13312. marketid:
  13313. description: 市场ID
  13314. type: integer
  13315. matchaccountid:
  13316. description: 挂牌方资金账号
  13317. type: integer
  13318. matchuserid:
  13319. description: 挂牌方用户id
  13320. type: integer
  13321. matchusername:
  13322. description: 挂牌方用户名称(已脱敏)
  13323. type: string
  13324. minivalue:
  13325. description: 现货商品最小变动值
  13326. type: integer
  13327. optioncompare:
  13328. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13329. type: string
  13330. orderqty:
  13331. description: 挂牌数量
  13332. type: integer
  13333. refprice:
  13334. description: 参考价格
  13335. type: string
  13336. retcode:
  13337. description: 委托返回代码
  13338. type: integer
  13339. templatename:
  13340. description: 履约方式(履约模板名称)
  13341. type: string
  13342. tradedate:
  13343. description: 交易日(yyyyMMdd)
  13344. type: string
  13345. userid:
  13346. description: 摘牌人用户ID(议价人ID)
  13347. type: integer
  13348. username:
  13349. description: 议价人名字(已脱敏)
  13350. type: string
  13351. validtime:
  13352. description: 有效期限
  13353. type: string
  13354. warehouseid:
  13355. description: 仓库ID
  13356. type: integer
  13357. warehousename:
  13358. description: 仓库名称
  13359. type: string
  13360. wrbargainid:
  13361. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  13362. type: string
  13363. wrfactortypeid:
  13364. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13365. type: string
  13366. wrfactortypename:
  13367. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13368. type: string
  13369. wrstandardcode:
  13370. description: 现货商品代码
  13371. type: string
  13372. wrstandardid:
  13373. description: 现货商品ID
  13374. type: integer
  13375. wrstandardname:
  13376. description: 商品名称
  13377. type: string
  13378. wrtradeorderid:
  13379. description: 关联委托单ID
  13380. type: string
  13381. wrtypename:
  13382. description: 商品
  13383. type: string
  13384. type: object
  13385. models.Warehouseinfo:
  13386. properties:
  13387. address:
  13388. description: 详细地址
  13389. type: string
  13390. areauserid:
  13391. description: 所属机构
  13392. type: integer
  13393. autoid:
  13394. description: 自增ID
  13395. type: integer
  13396. cityid:
  13397. description: 市
  13398. type: integer
  13399. contactname:
  13400. description: 联系人
  13401. type: string
  13402. contactnum:
  13403. description: 联系电话
  13404. type: string
  13405. countryid:
  13406. description: 国家
  13407. type: integer
  13408. createtime:
  13409. description: 创建时间
  13410. type: string
  13411. districtid:
  13412. description: 区
  13413. type: integer
  13414. hasvideo:
  13415. description: 是否有视频 - 0:无 1:有
  13416. type: integer
  13417. provinceid:
  13418. description: 省
  13419. type: integer
  13420. remark:
  13421. description: 审核备注
  13422. type: string
  13423. videourl:
  13424. description: 视频地址
  13425. type: string
  13426. warehousecode:
  13427. description: 仓库代码
  13428. type: string
  13429. warehousename:
  13430. description: 仓库名称
  13431. type: string
  13432. warehousestatus:
  13433. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13434. type: integer
  13435. warehousetype:
  13436. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13437. type: integer
  13438. required:
  13439. - autoid
  13440. - warehousecode
  13441. type: object
  13442. models.WrAverageTradePrice:
  13443. properties:
  13444. averageprice:
  13445. description: 成交均价
  13446. type: number
  13447. tradedate:
  13448. description: 交易日yyyymm
  13449. type: string
  13450. type: object
  13451. models.WrBsGoodsInfo:
  13452. properties:
  13453. buyorsell:
  13454. description: 买卖方向 0-买 1-卖
  13455. type: integer
  13456. goodsid:
  13457. description: 交易合约ID
  13458. type: integer
  13459. lstitem:
  13460. description: 商品信息项
  13461. items:
  13462. $ref: '#/definitions/models.WrTypeItem'
  13463. type: array
  13464. lststep:
  13465. description: 履约规则
  13466. items:
  13467. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13468. type: array
  13469. type: object
  13470. models.WrBuybackDetail:
  13471. properties:
  13472. buybackamount:
  13473. description: 回购金额
  13474. type: number
  13475. buybackqty:
  13476. description: 回购数量
  13477. type: number
  13478. buybackreleasemargin:
  13479. description: 回购释放保证金
  13480. type: number
  13481. buybacktime:
  13482. description: 回购时间
  13483. type: string
  13484. errordesc:
  13485. description: 错误描述
  13486. type: string
  13487. handlestatus:
  13488. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  13489. type: integer
  13490. relatedwrid:
  13491. description: 关联仓单ID
  13492. type: integer
  13493. scfcontractid:
  13494. description: SCF合同ID
  13495. type: string
  13496. scfwrbuybackid:
  13497. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  13498. type: integer
  13499. tradedate:
  13500. description: 交易日(yyyyMMdd)
  13501. type: string
  13502. type: object
  13503. models.WrDeliveryAvalidHoldLB:
  13504. properties:
  13505. accountid:
  13506. description: 资金账号
  13507. type: integer
  13508. avalidqty:
  13509. description: 数量(可点选数量)
  13510. type: number
  13511. deliverygoodsid:
  13512. description: 品种id
  13513. type: integer
  13514. enumdicname:
  13515. description: 单位名称
  13516. type: string
  13517. goodsid:
  13518. description: x合约商品id
  13519. type: integer
  13520. ladingbillid:
  13521. description: 提单id
  13522. type: string
  13523. pgoodscode:
  13524. description: p商品代码(点价合约)
  13525. type: string
  13526. pgoodsid:
  13527. description: p商品id(点价合约)
  13528. type: integer
  13529. pgoodsname:
  13530. description: p商品名称(点价合约)
  13531. type: string
  13532. pricemove:
  13533. description: 升贴水
  13534. type: number
  13535. subnum:
  13536. description: 提单子id
  13537. type: integer
  13538. userid:
  13539. description: 用户id
  13540. type: integer
  13541. username:
  13542. description: 仓单持有人
  13543. type: string
  13544. warehousecode:
  13545. description: 仓库代码
  13546. type: string
  13547. warehouseid:
  13548. description: 仓库id
  13549. type: integer
  13550. warehousename:
  13551. description: 仓库名称
  13552. type: string
  13553. wrfactortypeid:
  13554. description: 仓单要素id
  13555. type: string
  13556. wrstandardcode:
  13557. description: 品代码
  13558. type: string
  13559. wrstandardid:
  13560. description: 品类d
  13561. type: integer
  13562. wrstandardname:
  13563. description: 品类名称
  13564. type: string
  13565. wrtypename:
  13566. description: 商品
  13567. type: string
  13568. xgoodscode:
  13569. description: x合约代码
  13570. type: string
  13571. xgoodsname:
  13572. description: x合约名称
  13573. type: string
  13574. type: object
  13575. models.WrDeliveryDetail:
  13576. properties:
  13577. accountid:
  13578. description: 账号ID
  13579. type: integer
  13580. averageprice:
  13581. description: 交割均价 = 交割金额 / 交割数量
  13582. type: number
  13583. buyorsell:
  13584. description: 方向 - 0:买 1:卖
  13585. type: integer
  13586. deliveryamount:
  13587. description: 货款金额(X总货款+P总货款)
  13588. type: number
  13589. deliveryid:
  13590. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  13591. type: string
  13592. deliveryorderid:
  13593. description: 申报单号
  13594. type: string
  13595. deliverypricemove:
  13596. description: 升贴水(升贴水总额)
  13597. type: number
  13598. deliveryqty:
  13599. description: 交收数量(点选数量)
  13600. type: number
  13601. deliverystatus:
  13602. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  13603. type: integer
  13604. deliverytime:
  13605. description: 交割时间
  13606. type: string
  13607. deliverytotalamount:
  13608. description: 交收金额
  13609. type: number
  13610. enumdicname:
  13611. description: 单位名称
  13612. type: string
  13613. matchaccountid:
  13614. description: 对手账号ID
  13615. type: integer
  13616. matchusername:
  13617. description: 对手方名称(仓单持有人)
  13618. type: string
  13619. p1goodsremainamount:
  13620. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  13621. type: number
  13622. pdeliverycloseqty:
  13623. description: p合约平仓数量
  13624. type: number
  13625. pdeliveryprice:
  13626. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  13627. type: number
  13628. pgoodscode:
  13629. description: 商品代码
  13630. type: string
  13631. pgoodsid:
  13632. description: p点选合约id
  13633. type: integer
  13634. pgoodsname:
  13635. description: 商品名称
  13636. type: string
  13637. ppricemode:
  13638. description: 点价价格方式 - 1:商品价 2:固定值
  13639. type: integer
  13640. tradedate:
  13641. description: 交易日(yyyymmdd)
  13642. type: string
  13643. userid:
  13644. description: 用户id
  13645. type: integer
  13646. username:
  13647. description: 用户名称
  13648. type: string
  13649. warehousename:
  13650. description: 仓库名称
  13651. type: string
  13652. wrfactortypeid:
  13653. description: 仓单要素类型ID
  13654. type: string
  13655. wrtypename:
  13656. description: 商品
  13657. type: string
  13658. xdeliverycloseqty:
  13659. description: 合约数量
  13660. type: number
  13661. xgoodsamount:
  13662. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  13663. type: number
  13664. xgoodscode:
  13665. description: 商品代码
  13666. type: string
  13667. xgoodsid:
  13668. description: x交易合约ID
  13669. type: integer
  13670. xgoodsname:
  13671. description: 商品名称
  13672. type: string
  13673. type: object
  13674. models.WrFAProductDetail:
  13675. properties:
  13676. accountid:
  13677. description: 资金账号
  13678. type: integer
  13679. areauserid:
  13680. description: 金融机构ID
  13681. type: integer
  13682. financingdays:
  13683. description: 天数(天)
  13684. type: integer
  13685. interestminlen:
  13686. description: 最小起息天数
  13687. type: integer
  13688. interestrate:
  13689. description: 利率
  13690. type: number
  13691. interestratemode:
  13692. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13693. type: integer
  13694. interestsettlemode:
  13695. description: 结息方式 - 1:按日结息 3:按月结息
  13696. type: integer
  13697. interestsettlevalue:
  13698. description: 结息方式值
  13699. type: integer
  13700. isautoloan:
  13701. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13702. type: integer
  13703. loantag:
  13704. description: '放款标识: "放款快" 或者为空'
  13705. type: string
  13706. marginratio:
  13707. description: 保证金比率质押率 - [仓单质押]
  13708. type: number
  13709. productdetailid:
  13710. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13711. type: integer
  13712. productid:
  13713. description: 金融产品ID
  13714. type: integer
  13715. productname:
  13716. description: 产品名称
  13717. type: string
  13718. updatetime:
  13719. description: 更新时间
  13720. type: string
  13721. username:
  13722. description: 融出方
  13723. type: string
  13724. type: object
  13725. models.WrFactorTypeInfo:
  13726. properties:
  13727. deliverygoodscode:
  13728. description: 品种代码
  13729. type: string
  13730. deliverygoodsname:
  13731. description: 品种名称
  13732. type: string
  13733. dgfactoryitemid:
  13734. description: 选择项id
  13735. type: integer
  13736. dgfactoryitemtypeid:
  13737. description: 要素选择项ID (1-仓库 2-品牌)
  13738. type: integer
  13739. dgfactoryitemvalue:
  13740. description: 要素项值
  13741. type: string
  13742. itemtypename:
  13743. description: 要素项名称
  13744. type: string
  13745. optioncompare:
  13746. description: 选择比较串
  13747. type: string
  13748. warehouseid:
  13749. description: 仓库id
  13750. type: integer
  13751. wrfactortypeid:
  13752. description: 仓单要素ID
  13753. type: string
  13754. wrfactortypename:
  13755. description: 要素名称
  13756. type: string
  13757. wrfactortypename2:
  13758. description: 要素名称(不含仓库)
  13759. type: string
  13760. wrstandardcode:
  13761. description: 品类代码
  13762. type: string
  13763. wrstandardid:
  13764. description: 品类id
  13765. type: integer
  13766. wrstandardname:
  13767. description: 品类名称
  13768. type: string
  13769. type: object
  13770. models.WrFilterItem:
  13771. properties:
  13772. itemcode:
  13773. description: 代码
  13774. type: string
  13775. itemid:
  13776. description: 项id
  13777. type: integer
  13778. itemname:
  13779. description: 名称
  13780. type: string
  13781. itemtype:
  13782. description: 类型 1-品种 2-品类(商品) 3-仓库
  13783. type: integer
  13784. type: object
  13785. models.WrFinanceBuyApply:
  13786. properties:
  13787. applydate:
  13788. description: 申请时间
  13789. type: string
  13790. applystatus:
  13791. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  13792. type: integer
  13793. applyuserid:
  13794. description: 申请人
  13795. type: integer
  13796. auditdate:
  13797. description: 审核时间
  13798. type: string
  13799. auditremark:
  13800. description: 审核备注
  13801. type: string
  13802. audituserid:
  13803. description: 审核人
  13804. type: integer
  13805. buyaccountid:
  13806. description: 买方资金账号
  13807. type: integer
  13808. buyorsell:
  13809. description: 买卖 - 0:买 1:卖
  13810. type: integer
  13811. buyuserid:
  13812. description: 买方用户ID
  13813. type: integer
  13814. buyusername:
  13815. description: 买方名称
  13816. type: string
  13817. buywrtradeorderid:
  13818. description: 融资方买委托单ID
  13819. type: string
  13820. deliverygoodscode:
  13821. description: 品种代码
  13822. type: string
  13823. deliverygoodsid:
  13824. description: 品种ID
  13825. type: integer
  13826. deliverygoodsname:
  13827. description: 品种名称
  13828. type: string
  13829. deliverymonth:
  13830. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  13831. type: string
  13832. enumdicname:
  13833. description: 单位名称
  13834. type: string
  13835. financeaccountid:
  13836. description: 融资方资金帐户ID
  13837. type: integer
  13838. financeapplyid:
  13839. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13840. type: string
  13841. financeareauserid:
  13842. description: 融资方用户ID
  13843. type: string
  13844. financename:
  13845. description: 融出方名称
  13846. type: string
  13847. financetype:
  13848. description: 融资类型 1-融资回购
  13849. type: integer
  13850. financingdays:
  13851. description: 天数(天)
  13852. type: integer
  13853. freezebuymargin:
  13854. description: 冻结融资保证金(买方)
  13855. type: number
  13856. handleremark:
  13857. description: 处理备注
  13858. type: string
  13859. handlestatus:
  13860. description: 处理状态
  13861. type: integer
  13862. interestminlen:
  13863. description: 最小起息天数
  13864. type: integer
  13865. interestrate:
  13866. description: 利率
  13867. type: number
  13868. interestratemode:
  13869. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  13870. type: integer
  13871. interestsettlemode:
  13872. description: 结息方式 - 1:按日结息 3:按月结息
  13873. type: integer
  13874. interestsettlevalue:
  13875. description: 结息方式值
  13876. type: integer
  13877. isautoloan:
  13878. description: 是否自动放款 - 0:手动 1:自动
  13879. type: integer
  13880. marginratio:
  13881. description: 保证金比率质押率 - [仓单质押]
  13882. type: number
  13883. marketid:
  13884. description: 市场ID
  13885. type: integer
  13886. minivalue:
  13887. description: 现货商品最小变动值
  13888. type: integer
  13889. optioncompare:
  13890. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13891. type: string
  13892. orderqty:
  13893. description: 委托数量(商品数量)
  13894. type: number
  13895. productdetailid:
  13896. description: 产品组合ID
  13897. type: integer
  13898. productid:
  13899. description: 金融产品ID
  13900. type: integer
  13901. productname:
  13902. description: 产品名称
  13903. type: string
  13904. remark:
  13905. description: 备注
  13906. type: string
  13907. scfcontractid:
  13908. description: 仓单回购合同ID
  13909. type: string
  13910. sellaccountid:
  13911. description: 卖方资金账号
  13912. type: integer
  13913. selluserid:
  13914. description: 卖方用户ID
  13915. type: integer
  13916. sellwrtradeorderid:
  13917. description: 卖方委托单ID
  13918. type: string
  13919. tradeamount:
  13920. description: 成交金额(借款金额)
  13921. type: number
  13922. tradedate:
  13923. description: 交易日(yyyyMMdd)
  13924. type: string
  13925. tradeprice:
  13926. description: 成交价格
  13927. type: number
  13928. warehouseid:
  13929. description: 仓库ID
  13930. type: integer
  13931. warehousename:
  13932. description: 仓库名称
  13933. type: string
  13934. wrfactortypeid:
  13935. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13936. type: string
  13937. wrfactortypename:
  13938. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13939. type: string
  13940. wrpricetype:
  13941. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  13942. type: integer
  13943. wrstandardcode:
  13944. description: 现货商品代码
  13945. type: string
  13946. wrstandardid:
  13947. description: 现货商品ID
  13948. type: integer
  13949. wrstandardname:
  13950. description: 商品名称
  13951. type: string
  13952. wrtypename:
  13953. description: 商品
  13954. type: string
  13955. type: object
  13956. models.WrFriendApply:
  13957. properties:
  13958. applicantid:
  13959. description: 申请人
  13960. type: integer
  13961. applyname:
  13962. description: 申请人名称
  13963. type: string
  13964. applysrc:
  13965. description: 申请来源 - 1:管理端 2:终端
  13966. type: integer
  13967. applystatus:
  13968. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13969. type: integer
  13970. applytime:
  13971. description: 申请时间
  13972. type: string
  13973. auditname:
  13974. description: 审核人名称
  13975. type: string
  13976. auditorid:
  13977. description: 审核人
  13978. type: integer
  13979. auditremark:
  13980. description: 审核备注
  13981. type: string
  13982. auditsrc:
  13983. description: 审核来源 - 1:管理端 2:终端
  13984. type: integer
  13985. audittime:
  13986. description: 审核时间
  13987. type: string
  13988. friendapplyid:
  13989. description: 申请ID(SEQ_FRIENDAPPLY)
  13990. type: string
  13991. friendname:
  13992. description: 好友名字(已脱敏)
  13993. type: string
  13994. frienduserid:
  13995. description: 好友用户ID
  13996. type: string
  13997. remark:
  13998. description: 备注
  13999. type: string
  14000. userid:
  14001. description: 申请人用户ID
  14002. type: integer
  14003. type: object
  14004. models.WrFtDeliveryGoods:
  14005. properties:
  14006. deliverygoodscode:
  14007. description: 品种代码
  14008. type: string
  14009. deliverygoodsid:
  14010. description: 品种ID
  14011. type: integer
  14012. deliverygoodsname:
  14013. description: 品种名称
  14014. type: string
  14015. wdlst:
  14016. description: 商品列表
  14017. items:
  14018. $ref: '#/definitions/models.WrFtWrstandard'
  14019. type: array
  14020. type: object
  14021. models.WrFtWrstandard:
  14022. properties:
  14023. enumdicname:
  14024. description: 单位名称
  14025. type: string
  14026. minivalue:
  14027. description: 最小变动值
  14028. type: integer
  14029. wrstandardcode:
  14030. description: 现货商品代码
  14031. type: string
  14032. wrstandardid:
  14033. description: 现货商品ID
  14034. type: integer
  14035. wrstandardname:
  14036. description: 商品名称
  14037. type: string
  14038. type: object
  14039. models.WrGoodsInfo:
  14040. properties:
  14041. haswr:
  14042. description: 0:仓单预售 1:仓单贸易
  14043. type: integer
  14044. lstitem:
  14045. description: 商品信息项
  14046. items:
  14047. $ref: '#/definitions/models.WrTypeItem'
  14048. type: array
  14049. lststep:
  14050. description: 履约规则
  14051. items:
  14052. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14053. type: array
  14054. marketid:
  14055. description: 市场id
  14056. type: integer
  14057. type: object
  14058. models.WrGoodsPerformanceStep:
  14059. properties:
  14060. autoid:
  14061. description: AutoID
  14062. type: integer
  14063. isauto:
  14064. description: 是否自动 - 0:不自动 1:自动
  14065. type: integer
  14066. remark:
  14067. description: 备注
  14068. type: string
  14069. stepdate:
  14070. description: 天数信息(T+N)
  14071. type: string
  14072. stepdays:
  14073. description: 距离上一步天数
  14074. type: integer
  14075. stepindex:
  14076. description: 步骤序号
  14077. type: integer
  14078. stepinfo:
  14079. description: 步骤信息(步骤名称+步骤值)
  14080. type: string
  14081. steptypeid:
  14082. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14083. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14084. type: integer
  14085. steptypename:
  14086. description: 步骤名称
  14087. type: string
  14088. stepvalue:
  14089. description: 步骤值
  14090. type: number
  14091. templateid:
  14092. description: 履约计划模板ID
  14093. type: integer
  14094. type: object
  14095. models.WrHoldLB:
  14096. properties:
  14097. accountid:
  14098. description: 持有人帐户ID
  14099. type: integer
  14100. createtime:
  14101. description: 创建时间(过户时间)
  14102. type: string
  14103. deliverygoodscode:
  14104. description: 品种代码
  14105. type: string
  14106. deliverygoodsid:
  14107. description: 品种ID
  14108. type: integer
  14109. deliverygoodsname:
  14110. description: 品种名称
  14111. type: string
  14112. enableqty:
  14113. description: 可用数量
  14114. type: number
  14115. enumdicname:
  14116. description: 单位名称
  14117. type: string
  14118. freezerqty:
  14119. description: 冻结数量
  14120. type: number
  14121. ladingbillid:
  14122. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14123. type: string
  14124. minivalue:
  14125. description: 现货商品最小变动值
  14126. type: integer
  14127. optioncompare:
  14128. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14129. type: string
  14130. parentsubnum:
  14131. description: 拆分父子单号
  14132. type: integer
  14133. pledgeqty:
  14134. description: 质押数量
  14135. type: number
  14136. qty:
  14137. description: 数量
  14138. type: number
  14139. subnum:
  14140. description: 提单子单号
  14141. type: integer
  14142. tradedate:
  14143. description: 交易日(yyyyMMdd)
  14144. type: string
  14145. userid:
  14146. description: 持有人ID
  14147. type: integer
  14148. warehouseid:
  14149. description: 仓库ID
  14150. type: integer
  14151. warehousename:
  14152. description: 仓库名称
  14153. type: string
  14154. wrfactortypeid:
  14155. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14156. type: string
  14157. wrfactortypename:
  14158. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14159. type: string
  14160. wrholdeno:
  14161. description: 仓单编号
  14162. type: string
  14163. wrid:
  14164. description: 仓单变更ID
  14165. type: string
  14166. wrstandardcode:
  14167. description: 现货商品代码
  14168. type: string
  14169. wrstandardid:
  14170. description: 现货商品ID
  14171. type: integer
  14172. wrstandardname:
  14173. description: 商品名称
  14174. type: string
  14175. wrtypename:
  14176. description: 商品
  14177. type: string
  14178. type: object
  14179. models.WrMarketTradeConfig:
  14180. properties:
  14181. basisdownratio:
  14182. description: 浮动价基差下限比例(仓单贸易)
  14183. type: number
  14184. basisupratio:
  14185. description: 浮动价基差上限比例(仓单贸易)
  14186. type: number
  14187. buychargealgorithm:
  14188. description: 买方手续费收取方式 1:比率 2:固定
  14189. type: integer
  14190. buychargealgorithm2:
  14191. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14192. type: integer
  14193. buychargealgorithmvalue:
  14194. description: 买方手续费设置值(交易所部分)
  14195. type: number
  14196. buychargealgorithmvalue2:
  14197. description: 买方手续费设置值(会员部分)
  14198. type: number
  14199. buychargealgorithmvalue3:
  14200. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14201. type: number
  14202. buychargealgorithmvalue4:
  14203. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14204. type: number
  14205. buyfirstmarginalgorithm:
  14206. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14207. type: integer
  14208. buyfirstmarginvalue:
  14209. description: 买方出价保证金设置值 - [竞拍]
  14210. type: number
  14211. buymarginalgorithm:
  14212. description: 买方保证金方式 - 1:比率 2:固定
  14213. type: integer
  14214. buymarginvalue:
  14215. description: 买方保证金设置值
  14216. type: number
  14217. buyreleaseratio:
  14218. description: 买方释放比率[2:分步履约]
  14219. type: number
  14220. executemode:
  14221. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14222. type: integer
  14223. executeside:
  14224. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14225. type: integer
  14226. failedchargealgorithm:
  14227. description: 流拍手续费收取方式 1:比率 2:固定
  14228. type: integer
  14229. failedchargevalue:
  14230. description: 流拍手续费设置值
  14231. type: number
  14232. failedchargevalue2:
  14233. description: 流拍卖方手续费设置值
  14234. type: number
  14235. holddays:
  14236. description: 合同期限[2:分步履约]
  14237. type: integer
  14238. marketid:
  14239. description: 市场ID-仓单贸易、竞拍、预售
  14240. type: integer
  14241. minqty:
  14242. description: 最小执行量[2:分步履约]
  14243. type: number
  14244. modifierid:
  14245. description: 修改人
  14246. type: integer
  14247. performancetempid:
  14248. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14249. 立即执行(-1)
  14250. type: integer
  14251. performancetempid2:
  14252. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  14253. 立即执行
  14254. type: integer
  14255. performanceway:
  14256. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14257. type: integer
  14258. sellchargealgorithm:
  14259. description: 卖方手续费收取方式 1:比率 2:固定
  14260. type: integer
  14261. sellchargealgorithm2:
  14262. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14263. type: integer
  14264. sellchargealgorithmvalue:
  14265. description: 卖方手续费设置值(交易所部分)
  14266. type: number
  14267. sellchargealgorithmvalue2:
  14268. description: 卖方手续费设置值(会员部分)
  14269. type: number
  14270. sellchargealgorithmvalue3:
  14271. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14272. type: number
  14273. sellchargealgorithmvalue4:
  14274. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14275. type: number
  14276. sellmarginalgorithm:
  14277. description: 卖方保证金方式 - 1:比率 2:固定
  14278. type: integer
  14279. sellmarginvalue:
  14280. description: 卖方保证金设置值
  14281. type: number
  14282. sellmarginvalue2:
  14283. description: 卖方保证金设置值(无仓单)
  14284. type: number
  14285. sellreleaseratio:
  14286. description: 卖方释放比率[2:分步履约]
  14287. type: number
  14288. updatetime:
  14289. description: 更新时间
  14290. type: string
  14291. type: object
  14292. models.WrOrderDetail:
  14293. properties:
  14294. accountid:
  14295. description: 交易账号(资金账号)
  14296. type: integer
  14297. allfriendsflag:
  14298. description: 是否全好友可见 - 0:否 1:是
  14299. type: integer
  14300. amount:
  14301. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  14302. type: number
  14303. buyorsell:
  14304. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14305. type: integer
  14306. canbargain:
  14307. description: 是否可议价 - 0:不可 1:可
  14308. type: integer
  14309. cancelqty:
  14310. description: 撤销数量
  14311. type: number
  14312. canpart:
  14313. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  14314. type: integer
  14315. delistminqty:
  14316. description: 起摘数量
  14317. type: integer
  14318. deliverygoodscode:
  14319. description: 品种代码
  14320. type: string
  14321. deliverygoodsid:
  14322. description: 品种ID
  14323. type: integer
  14324. deliverygoodsname:
  14325. description: 品种名称
  14326. type: string
  14327. deliverymonth:
  14328. description: 交收月
  14329. type: string
  14330. enumdicname:
  14331. description: 单位名称
  14332. type: string
  14333. fixedprice:
  14334. description: 固定价格 - [挂牌]
  14335. type: number
  14336. freezemargin:
  14337. description: 冻结保证金(保证金)
  14338. type: number
  14339. futupricemove:
  14340. description: 期货升贴水
  14341. type: number
  14342. futushow:
  14343. description: 期货合约/升贴水
  14344. type: string
  14345. goodscode:
  14346. description: 期货合约
  14347. type: string
  14348. goodsid:
  14349. description: 期货商品id
  14350. type: integer
  14351. goodsname:
  14352. description: 商品名称
  14353. type: string
  14354. haswr:
  14355. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14356. type: integer
  14357. isspecified:
  14358. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  14359. type: integer
  14360. marginvalue:
  14361. description: 保证金设置值(履约保证金)
  14362. type: number
  14363. marketid:
  14364. description: 市场ID
  14365. type: integer
  14366. matchusername:
  14367. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  14368. type: string
  14369. minivalue:
  14370. description: 现货商品最小变动值
  14371. type: integer
  14372. optioncompare:
  14373. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14374. type: string
  14375. orderqty:
  14376. description: 委托数量
  14377. type: number
  14378. ordertime:
  14379. description: 委托时间(挂牌时间)
  14380. type: string
  14381. pricemove:
  14382. description: 升贴水(浮动价时填写) - [挂牌]
  14383. type: number
  14384. taname:
  14385. description: 交易用户名称(资金账号名称)
  14386. type: string
  14387. tradedate:
  14388. description: 交易日(yyyyMMdd)
  14389. type: string
  14390. tradeprice:
  14391. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  14392. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  14393. type: number
  14394. tradeqty:
  14395. description: 成交数量
  14396. type: number
  14397. userid:
  14398. description: 用户ID
  14399. type: integer
  14400. validtime:
  14401. description: 挂牌有效期
  14402. type: string
  14403. warehouseid:
  14404. description: 仓库ID
  14405. type: integer
  14406. warehousename:
  14407. description: 仓库名称
  14408. type: string
  14409. wrfactortypeid:
  14410. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14411. type: string
  14412. wrfactortypename:
  14413. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14414. type: string
  14415. wrpricetype:
  14416. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14417. type: integer
  14418. wrstandardcode:
  14419. description: 现货商品代码
  14420. type: string
  14421. wrstandardid:
  14422. description: 现货商品ID
  14423. type: integer
  14424. wrstandardname:
  14425. description: 商品名称
  14426. type: string
  14427. wrtradeorderid:
  14428. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14429. type: string
  14430. wrtradeorderstatus:
  14431. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14432. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14433. type: integer
  14434. wrtradetype:
  14435. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14436. type: integer
  14437. wrtypename:
  14438. description: 商品
  14439. type: string
  14440. type: object
  14441. models.WrOrderQuote:
  14442. properties:
  14443. buyprice:
  14444. description: 买价
  14445. type: number
  14446. buypricemove:
  14447. description: 买升贴水(基差)
  14448. type: number
  14449. buyqty:
  14450. description: 买量
  14451. type: number
  14452. deliverygoodscode:
  14453. description: 品种代码
  14454. type: string
  14455. deliverygoodsid:
  14456. description: 品种id
  14457. type: integer
  14458. deliverygoodsname:
  14459. description: 品种名称
  14460. type: string
  14461. deliverymonth:
  14462. description: 交收月
  14463. type: string
  14464. enumdicname:
  14465. description: 单位名称
  14466. type: string
  14467. goodscode:
  14468. description: 商品合约(浮动价列表才有)
  14469. type: string
  14470. goodsid:
  14471. description: 商品id(浮动价列表才有)
  14472. type: integer
  14473. minivalue:
  14474. description: 现货商品最小变动值
  14475. type: integer
  14476. sellprice:
  14477. description: 卖价
  14478. type: number
  14479. sellpricemove:
  14480. description: 卖升贴水(基差)
  14481. type: number
  14482. sellqty:
  14483. description: 卖量
  14484. type: number
  14485. warehousecode:
  14486. description: 仓库代码
  14487. type: string
  14488. warehouseid:
  14489. description: 仓库id
  14490. type: integer
  14491. warehousename:
  14492. description: 仓库名称
  14493. type: string
  14494. wrfactortypeid:
  14495. description: 仓单要素id
  14496. type: string
  14497. wrfactortypename:
  14498. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14499. type: string
  14500. wrgoodsname:
  14501. description: 商品(商品名称+仓库要素名称 拼接)
  14502. type: string
  14503. wrstandardcode:
  14504. description: 商品代码
  14505. type: string
  14506. wrstandardid:
  14507. description: 商品id
  14508. type: integer
  14509. wrstandardname:
  14510. description: 商品名称
  14511. type: string
  14512. type: object
  14513. models.WrOrderQuoteDetail:
  14514. properties:
  14515. buyorsell:
  14516. description: 买卖 - 0:买 1:卖
  14517. type: integer
  14518. delistminqty:
  14519. description: 起摘数量
  14520. type: number
  14521. deliverymonth:
  14522. description: 交收月
  14523. type: string
  14524. enumdicname:
  14525. description: 单位名称
  14526. type: string
  14527. fixedprice:
  14528. description: 买(卖)价
  14529. type: number
  14530. minivalue:
  14531. description: 现货商品最小变动值
  14532. type: integer
  14533. orderqty:
  14534. description: 买(卖)量(=委托量-成交量)
  14535. type: number
  14536. ordertime:
  14537. description: 委托时间
  14538. type: string
  14539. pricemove:
  14540. description: 买(卖)升贴水- 基差
  14541. type: number
  14542. userid:
  14543. description: 购买方(销售方)用户ID
  14544. type: integer
  14545. username:
  14546. description: 购买方(销售方)
  14547. type: string
  14548. wrtradeorderid:
  14549. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14550. type: string
  14551. type: object
  14552. models.WrOutInApply:
  14553. properties:
  14554. applyid:
  14555. description: 申请单id
  14556. type: string
  14557. applystatus:
  14558. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  14559. 8:已撤销
  14560. type: integer
  14561. applytime:
  14562. description: 申请时间
  14563. type: string
  14564. applytype:
  14565. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  14566. type: integer
  14567. deliverygoodscode:
  14568. description: 品种代码
  14569. type: string
  14570. deliverygoodsid:
  14571. description: 品种ID
  14572. type: integer
  14573. deliverygoodsname:
  14574. description: 品种名称
  14575. type: string
  14576. enumdicname:
  14577. description: 单位名称
  14578. type: string
  14579. expresscompany:
  14580. description: 物流公司
  14581. type: string
  14582. expressnum:
  14583. description: 物流单号
  14584. type: string
  14585. minivalue:
  14586. description: 现货商品最小变动值
  14587. type: integer
  14588. optioncompare:
  14589. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14590. type: string
  14591. qty:
  14592. description: 数量
  14593. type: integer
  14594. userid:
  14595. description: 用户id
  14596. type: integer
  14597. warehouseid:
  14598. description: 仓库ID
  14599. type: integer
  14600. warehousename:
  14601. description: 仓库名称
  14602. type: string
  14603. wrfactortypeid:
  14604. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14605. type: string
  14606. wrfactortypename:
  14607. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14608. type: string
  14609. wrstandardcode:
  14610. description: 现货商品代码
  14611. type: string
  14612. wrstandardid:
  14613. description: 现货商品ID
  14614. type: integer
  14615. wrstandardname:
  14616. description: 商品名称
  14617. type: string
  14618. wrtypename:
  14619. description: 商品
  14620. type: string
  14621. type: object
  14622. models.WrPerformancePlan:
  14623. properties:
  14624. activatemonth:
  14625. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  14626. type: string
  14627. amount:
  14628. description: 履约金额(总金额)
  14629. type: number
  14630. buyaccountid:
  14631. description: 买方账号
  14632. type: integer
  14633. buyerfreezeamount:
  14634. description: 履约冻结(买履约)
  14635. type: number
  14636. buyerfreezeamountremain:
  14637. description: 履约冻结剩余(买履约)
  14638. type: number
  14639. buyorsell:
  14640. description: 买卖方向 0-买 1-卖
  14641. type: integer
  14642. buypaidamount:
  14643. description: 买方已冻/已扣金额 (已付金额)
  14644. type: number
  14645. buyusername:
  14646. description: 买方名字
  14647. type: string
  14648. contractid:
  14649. description: 合同ID
  14650. type: integer
  14651. createtime:
  14652. description: 创建时间
  14653. type: string
  14654. creatorid:
  14655. description: 创建人
  14656. type: integer
  14657. curstepdeadline:
  14658. description: 当前步骤到期时间
  14659. type: string
  14660. curstepid:
  14661. description: 当前步骤ID
  14662. type: string
  14663. curstepname:
  14664. description: 当前步骤名称
  14665. type: string
  14666. deliverygoodscode:
  14667. description: 品种代码
  14668. type: string
  14669. deliverygoodsid:
  14670. description: 品种ID
  14671. type: integer
  14672. deliverygoodsname:
  14673. description: 品种名称
  14674. type: string
  14675. enumdicname:
  14676. description: 单位名称
  14677. type: string
  14678. expressfee:
  14679. description: 运费
  14680. type: number
  14681. expressfeeconfirmed:
  14682. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  14683. type: integer
  14684. hasovershort:
  14685. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  14686. type: integer
  14687. haswr:
  14688. description: 类型 0-仓单预售 1-仓单贸易
  14689. type: integer
  14690. marketid:
  14691. description: 市场ID
  14692. type: integer
  14693. middleaccountid:
  14694. description: 中间商资金账号ID
  14695. type: integer
  14696. middleuserid:
  14697. description: 中间商用户ID
  14698. type: integer
  14699. minivalue:
  14700. description: 现货商品最小变动值
  14701. type: integer
  14702. optioncompare:
  14703. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14704. type: string
  14705. overshortamount:
  14706. description: 溢短金额
  14707. type: number
  14708. overshortqty:
  14709. description: 溢短数量
  14710. type: number
  14711. paymenttype:
  14712. description: 付款方式 - 1:冻结 2:扣款
  14713. type: integer
  14714. performanceplanid:
  14715. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  14716. type: string
  14717. performancestatus:
  14718. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  14719. 9:超时待处理 10:超时关闭
  14720. type: integer
  14721. performancetype:
  14722. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  14723. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  14724. type: integer
  14725. qty:
  14726. description: 履约数量
  14727. type: number
  14728. relatedorderid:
  14729. description: 关联单号(履约类型的关联单号)
  14730. type: string
  14731. remark:
  14732. description: 备注
  14733. type: string
  14734. sellaccountid:
  14735. description: 卖方账号
  14736. type: integer
  14737. sellerfreezeamount:
  14738. description: 履约冻结(卖履约)
  14739. type: number
  14740. sellerfreezeamountremain:
  14741. description: 履约冻结剩余(卖履约)
  14742. type: number
  14743. sellreceivedamount:
  14744. description: 卖方已收金额
  14745. type: number
  14746. sellusername:
  14747. description: 卖方名字
  14748. type: string
  14749. shipremark:
  14750. description: 发货备注[物流单号]
  14751. type: string
  14752. starttime:
  14753. description: 开始时间
  14754. type: string
  14755. steptypeid:
  14756. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14757. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14758. type: integer
  14759. unpaidamount:
  14760. description: 剩余款(待支付金额)
  14761. type: number
  14762. userid:
  14763. description: 用户id
  14764. type: integer
  14765. warehouseid:
  14766. description: 仓库ID
  14767. type: integer
  14768. warehousename:
  14769. description: 仓库名称
  14770. type: string
  14771. wrfactortypeid:
  14772. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14773. type: string
  14774. wrfactortypename:
  14775. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14776. type: string
  14777. wrstandardcode:
  14778. description: 现货商品代码
  14779. type: string
  14780. wrstandardid:
  14781. description: 现货商品ID
  14782. type: integer
  14783. wrstandardname:
  14784. description: 商品名称
  14785. type: string
  14786. wrtransferuserid:
  14787. description: 仓单受让用户
  14788. type: integer
  14789. wrtypename:
  14790. description: 商品
  14791. type: string
  14792. required:
  14793. - userid
  14794. type: object
  14795. models.WrPerformancePlanStep:
  14796. properties:
  14797. delaydays:
  14798. description: 延期申请天数
  14799. type: integer
  14800. deliverygoodscode:
  14801. description: 品种代码
  14802. type: string
  14803. deliverygoodsid:
  14804. description: 品种ID
  14805. type: integer
  14806. deliverygoodsname:
  14807. description: 品种名称
  14808. type: string
  14809. endtime:
  14810. description: 结束日期
  14811. type: string
  14812. enumdicname:
  14813. description: 单位名称
  14814. type: string
  14815. executeside:
  14816. description: 步骤执行方 - 1:买方 2:卖方
  14817. type: integer
  14818. handlestatus:
  14819. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  14820. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  14821. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  14822. type: integer
  14823. isauto:
  14824. description: 是否自动 - 0:不自动 1:自动
  14825. type: integer
  14826. islastreceivestep:
  14827. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  14828. type: integer
  14829. minivalue:
  14830. description: 现货商品最小变动值
  14831. type: integer
  14832. optioncompare:
  14833. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14834. type: string
  14835. overdays:
  14836. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  14837. type: integer
  14838. performancestepid:
  14839. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  14840. type: string
  14841. planid:
  14842. description: 所属履约计划ID
  14843. type: string
  14844. realamount:
  14845. description: 实际完成金额
  14846. type: number
  14847. relatedorderid:
  14848. description: 关联单号
  14849. type: string
  14850. remaindays:
  14851. description: 剩余天数
  14852. type: integer
  14853. remark:
  14854. description: 错误备注
  14855. type: string
  14856. starttime:
  14857. description: 开始日期
  14858. type: string
  14859. stepamount:
  14860. description: 步骤金额
  14861. type: number
  14862. stepdays:
  14863. description: 距离上一步天数(分钟)
  14864. type: integer
  14865. stepindex:
  14866. description: 步骤序号
  14867. type: integer
  14868. steplanchtype:
  14869. description: 步骤启动类型 - 1:系统自动 2:手动
  14870. type: integer
  14871. stepremark:
  14872. description: 步骤备注
  14873. type: string
  14874. stepstatus:
  14875. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  14876. type: integer
  14877. steptypeid:
  14878. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  14879. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14880. type: integer
  14881. steptypename:
  14882. description: 步骤名称
  14883. type: string
  14884. stepvalue:
  14885. description: 步骤值
  14886. type: number
  14887. warehouseid:
  14888. description: 仓库ID
  14889. type: integer
  14890. warehousename:
  14891. description: 仓库名称
  14892. type: string
  14893. wrfactortypeid:
  14894. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14895. type: string
  14896. wrfactortypename:
  14897. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14898. type: string
  14899. wrstandardcode:
  14900. description: 现货商品代码
  14901. type: string
  14902. wrstandardid:
  14903. description: 现货商品ID
  14904. type: integer
  14905. wrstandardname:
  14906. description: 商品名称
  14907. type: string
  14908. wrtypename:
  14909. description: 商品
  14910. type: string
  14911. type: object
  14912. models.WrPerformanceStepType:
  14913. properties:
  14914. canauto:
  14915. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  14916. type: integer
  14917. steptypeid:
  14918. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  14919. type: integer
  14920. steptypename:
  14921. description: 步骤类型名称
  14922. type: string
  14923. type: object
  14924. models.WrPerformanceTemplateEx:
  14925. properties:
  14926. autoid:
  14927. description: AutoID 模板id
  14928. type: integer
  14929. createtime:
  14930. description: 创建时间
  14931. type: string
  14932. creatorid:
  14933. description: 创建人
  14934. type: integer
  14935. lstStep:
  14936. description: 步骤信息列表
  14937. items:
  14938. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14939. type: array
  14940. paymenttype:
  14941. description: 支付方式 - 1:冻结 2:扣款
  14942. type: integer
  14943. takemode:
  14944. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  14945. type: integer
  14946. templatename:
  14947. description: 模板名称
  14948. type: string
  14949. templatetype:
  14950. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  14951. (无仓单) 5:挂牌期权 6:竞拍-降价式
  14952. type: integer
  14953. userid:
  14954. description: 所属用户
  14955. type: integer
  14956. type: object
  14957. models.WrPosition:
  14958. properties:
  14959. accountid:
  14960. description: 帐户ID
  14961. type: integer
  14962. buyexcuteqty:
  14963. description: 采购履约中数量
  14964. type: number
  14965. creditcurqty:
  14966. description: 授信当前数量(预售仓单:预售当前量)
  14967. type: number
  14968. creditenableqty:
  14969. description: '授信可用数量(预售仓单: 可用数量)'
  14970. type: number
  14971. creditfreezeqty:
  14972. description: '授信冻结数量(预售仓单: 当前数量)'
  14973. type: number
  14974. credittotalqty:
  14975. description: 授信总数量(预售仓单:预售总量)
  14976. type: number
  14977. credittradeqty:
  14978. description: 授信成交数量(预售仓单:成交总量)
  14979. type: number
  14980. deliverygoodscode:
  14981. description: 品种代码
  14982. type: string
  14983. deliverygoodsid:
  14984. description: 品种ID
  14985. type: integer
  14986. deliverygoodsname:
  14987. description: 品种名称
  14988. type: string
  14989. enalbeqty:
  14990. description: 可用数量
  14991. type: number
  14992. enumdicname:
  14993. description: 单位名称
  14994. type: string
  14995. freezeqty:
  14996. description: 总冻结数量
  14997. type: number
  14998. haswr:
  14999. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15000. type: integer
  15001. minivalue:
  15002. description: 现货商品最小变动值
  15003. type: integer
  15004. modifytime:
  15005. description: 修改时间(过户时间)
  15006. type: string
  15007. optioncompare:
  15008. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15009. type: string
  15010. pledgeqty:
  15011. description: 质押数量
  15012. type: number
  15013. querytype:
  15014. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15015. type: integer
  15016. sellexcuteqty:
  15017. description: 销售履约中数量
  15018. type: number
  15019. totalqty:
  15020. description: 总数量(库存数量)
  15021. type: number
  15022. warehouseid:
  15023. description: 仓库ID
  15024. type: integer
  15025. warehousename:
  15026. description: 仓库名称
  15027. type: string
  15028. wrfactortypeid:
  15029. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15030. type: string
  15031. wrfactortypename:
  15032. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15033. type: string
  15034. wrpositionid:
  15035. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15036. type: string
  15037. wrpositionno:
  15038. description: 仓单编号
  15039. type: string
  15040. wrstandardcode:
  15041. description: 现货商品代码
  15042. type: string
  15043. wrstandardid:
  15044. description: 现货商品ID
  15045. type: integer
  15046. wrstandardname:
  15047. description: 商品名称
  15048. type: string
  15049. wrtypename:
  15050. description: 商品
  15051. type: string
  15052. wruserid:
  15053. description: 持有人ID
  15054. type: integer
  15055. type: object
  15056. models.WrQuoteOrderMyq:
  15057. properties:
  15058. buyorsell:
  15059. description: 买卖 - 0:买 1:卖
  15060. type: integer
  15061. canbargain:
  15062. description: 是否可议价 - 0:不可 1:可
  15063. type: integer
  15064. canpart:
  15065. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15066. type: integer
  15067. delistminqty:
  15068. description: 起摘数量
  15069. type: number
  15070. deliverygoodscode:
  15071. description: 品种代码
  15072. type: string
  15073. deliverygoodsid:
  15074. description: 品种ID
  15075. type: integer
  15076. deliverygoodsname:
  15077. description: 品种名称
  15078. type: string
  15079. deliverymonth:
  15080. description: 交收月
  15081. type: string
  15082. enumdicname:
  15083. description: 单位名称
  15084. type: string
  15085. fixedprice:
  15086. description: 买(卖)价
  15087. type: number
  15088. goodscode:
  15089. description: 商品合约代码
  15090. type: string
  15091. marginflag:
  15092. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15093. type: integer
  15094. marginvalue:
  15095. description: 保证金设置值
  15096. type: number
  15097. minivalue:
  15098. description: 现货商品最小变动值
  15099. type: integer
  15100. orderqty:
  15101. description: 买(卖)量(=委托量-成交量)
  15102. type: number
  15103. ordertime:
  15104. description: 委托时间
  15105. type: string
  15106. performancetemplateid:
  15107. description: 履约模板id
  15108. type: integer
  15109. pricemove:
  15110. description: 买(卖)升贴水- 基差
  15111. type: number
  15112. templatename:
  15113. description: 履约模板名称
  15114. type: string
  15115. userid:
  15116. description: 购买方(销售方)用户ID
  15117. type: integer
  15118. username:
  15119. description: 购买方(销售方)
  15120. type: string
  15121. validtime:
  15122. description: 有效期限
  15123. type: string
  15124. validtype:
  15125. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15126. type: integer
  15127. warehousename:
  15128. description: 仓库名称
  15129. type: string
  15130. wrfactortypeid:
  15131. description: 仓单要素id
  15132. type: string
  15133. wrstandardcode:
  15134. description: 现货商品代码
  15135. type: string
  15136. wrstandardid:
  15137. description: 现货商品ID
  15138. type: integer
  15139. wrstandardname:
  15140. description: 商品名称
  15141. type: string
  15142. wrtradeorderid:
  15143. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15144. type: string
  15145. wrtypename:
  15146. description: 商品
  15147. type: string
  15148. type: object
  15149. models.WrScfContract:
  15150. properties:
  15151. borroweruserid:
  15152. description: 借款用户ID
  15153. type: integer
  15154. buybackwrpositionqty:
  15155. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15156. type: number
  15157. closeinterest:
  15158. description: 已结利息 -> 已结费用
  15159. type: number
  15160. currisklevel:
  15161. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15162. type: integer
  15163. deadline:
  15164. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15165. type: string
  15166. deliverygoodscode:
  15167. description: 品种代码
  15168. type: string
  15169. deliverygoodsid:
  15170. description: 品种ID
  15171. type: integer
  15172. deliverygoodsname:
  15173. description: 品种名称
  15174. type: string
  15175. enumdicname:
  15176. description: 单位名称
  15177. type: string
  15178. financingdays:
  15179. description: 天数(天)
  15180. type: integer
  15181. initmargin:
  15182. description: 保证金 - [仓单回购]
  15183. type: number
  15184. interestamount:
  15185. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15186. type: number
  15187. interestdebt:
  15188. description: 利息欠款(记录负数) -> 费用欠款
  15189. type: number
  15190. interestminlen:
  15191. description: 最小起息天数
  15192. type: integer
  15193. interestrate:
  15194. description: 利率
  15195. type: number
  15196. interestratemode:
  15197. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15198. type: integer
  15199. interestsettlemode:
  15200. description: 结息方式 - 1:按日结息 3:按月结息
  15201. type: integer
  15202. interestsettlevalue:
  15203. description: 结息方式值
  15204. type: integer
  15205. isautoloan:
  15206. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15207. type: integer
  15208. lastcloseinterestday:
  15209. description: 最近结息日(yyyyMMdd)
  15210. type: string
  15211. lenderamount:
  15212. description: 贷款金额 -> 借款金额
  15213. type: number
  15214. lenderuserid:
  15215. description: 贷款方用户ID -> 融出方用户ID
  15216. type: integer
  15217. lenderusername:
  15218. description: 融出方
  15219. type: string
  15220. marginratio:
  15221. description: 保证金比率质押率 - [仓单质押]
  15222. type: number
  15223. marketid:
  15224. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15225. type: integer
  15226. minivalue:
  15227. description: 现货商品最小变动值
  15228. type: integer
  15229. optioncompare:
  15230. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15231. type: string
  15232. pricemove:
  15233. description: 估值升贴水值
  15234. type: number
  15235. productdetailid:
  15236. description: 产品组合ID
  15237. type: integer
  15238. productid:
  15239. description: 金融产品ID
  15240. type: integer
  15241. productname:
  15242. description: 产品名称
  15243. type: string
  15244. remainamount:
  15245. description: 合同剩余金额 -> 剩余金额
  15246. type: number
  15247. remainwrpositionqty:
  15248. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15249. type: number
  15250. remark:
  15251. description: 备注
  15252. type: string
  15253. scfcontractid:
  15254. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15255. type: string
  15256. scfcontractstatus:
  15257. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15258. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15259. type: integer
  15260. scfcontracttype:
  15261. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15262. type: integer
  15263. startinterestday:
  15264. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15265. type: string
  15266. totalinterest:
  15267. description: 已计利息 -> 已计费用
  15268. type: number
  15269. unpaidinterest:
  15270. description: 未结费用
  15271. type: number
  15272. updatetime:
  15273. description: 更新时间
  15274. type: string
  15275. warehouseid:
  15276. description: 仓库ID
  15277. type: integer
  15278. warehousename:
  15279. description: 仓库名称
  15280. type: string
  15281. wrfactortypeid:
  15282. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15283. type: string
  15284. wrfactortypename:
  15285. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15286. type: string
  15287. wrqty:
  15288. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15289. type: number
  15290. wrstandardcode:
  15291. description: 现货商品代码
  15292. type: string
  15293. wrstandardid:
  15294. description: 现货商品ID
  15295. type: integer
  15296. wrstandardname:
  15297. description: 商品名称
  15298. type: string
  15299. wrtypename:
  15300. description: 商品
  15301. type: string
  15302. type: object
  15303. models.WrScfContractInterest:
  15304. properties:
  15305. closeinterest:
  15306. description: 已结利息
  15307. type: number
  15308. closeintereststatus:
  15309. description: 结息状态 - 1:未结 2:已结
  15310. type: integer
  15311. closetime:
  15312. description: 结息时间
  15313. type: string
  15314. closetradedate:
  15315. description: 结息交易日
  15316. type: string
  15317. creatorid:
  15318. description: 操作人ID
  15319. type: integer
  15320. dayrate:
  15321. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15322. type: number
  15323. interest:
  15324. description: 利息
  15325. type: number
  15326. interestamount:
  15327. description: 计息金额
  15328. type: number
  15329. interestday:
  15330. description: 计息日(yyyyMMdd)
  15331. type: string
  15332. scfcontractid:
  15333. description: SCF合同ID
  15334. type: string
  15335. scfcontractinterestid:
  15336. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15337. type: integer
  15338. updatetime:
  15339. description: 更新时间
  15340. type: string
  15341. type: object
  15342. models.WrSpecialMatchOrder:
  15343. properties:
  15344. amount:
  15345. description: 金额 = 数量 * 价格
  15346. type: number
  15347. buyorsell:
  15348. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15349. type: integer
  15350. cancelqty:
  15351. description: 撤销数量
  15352. type: number
  15353. deliverygoodscode:
  15354. description: 品种代码
  15355. type: string
  15356. deliverygoodsid:
  15357. description: 品种ID
  15358. type: integer
  15359. deliverygoodsname:
  15360. description: 品种名称
  15361. type: string
  15362. enumdicname:
  15363. description: 单位名称
  15364. type: string
  15365. fixedprice:
  15366. description: 固定价格(价格)
  15367. type: number
  15368. haswr:
  15369. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15370. type: integer
  15371. marketid:
  15372. description: 市场ID
  15373. type: integer
  15374. matchuserid:
  15375. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  15376. type: integer
  15377. matchusername:
  15378. description: 指定方
  15379. type: string
  15380. minivalue:
  15381. description: 现货商品最小变动值
  15382. type: integer
  15383. optioncompare:
  15384. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15385. type: string
  15386. orderqty:
  15387. description: 委托数量
  15388. type: number
  15389. ordertime:
  15390. description: 委托时间
  15391. type: string
  15392. pricemove:
  15393. description: 升贴水(浮动价时填写) - [挂牌]
  15394. type: number
  15395. tradedate:
  15396. description: 交易日(yyyyMMdd)
  15397. type: string
  15398. tradeprice:
  15399. description: 成交价格
  15400. type: number
  15401. tradeqty:
  15402. description: 成交数量
  15403. type: number
  15404. userid:
  15405. description: 用户ID
  15406. type: integer
  15407. username:
  15408. description: 发起方
  15409. type: string
  15410. warehouseid:
  15411. description: 仓库ID
  15412. type: integer
  15413. warehousename:
  15414. description: 仓库名称
  15415. type: string
  15416. wrfactortypeid:
  15417. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15418. type: string
  15419. wrfactortypename:
  15420. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15421. type: string
  15422. wrpricetype:
  15423. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15424. type: integer
  15425. wrstandardcode:
  15426. description: 现货商品代码
  15427. type: string
  15428. wrstandardid:
  15429. description: 现货商品ID
  15430. type: integer
  15431. wrstandardname:
  15432. description: 商品名称
  15433. type: string
  15434. wrtradeorderid:
  15435. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15436. type: string
  15437. wrtradeorderstatus:
  15438. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  15439. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  15440. type: integer
  15441. wrtradetype:
  15442. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15443. type: integer
  15444. wrtypename:
  15445. description: 商品
  15446. type: string
  15447. type: object
  15448. models.WrStandardFactoryItem:
  15449. properties:
  15450. dgfactoryitemid:
  15451. description: 选择项id
  15452. type: integer
  15453. dgfactoryitemvalue:
  15454. description: 要素项值
  15455. type: string
  15456. warehouseid:
  15457. description: 仓库id
  15458. type: integer
  15459. type: object
  15460. models.WrStandardFactoryItemEx:
  15461. properties:
  15462. dgfactoryitemtypeid:
  15463. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  15464. type: integer
  15465. itemlst:
  15466. description: 要素项列表
  15467. items:
  15468. $ref: '#/definitions/models.WrStandardFactoryItem'
  15469. type: array
  15470. itemtypename:
  15471. description: 要素项类型名称
  15472. type: string
  15473. wrstandardid:
  15474. description: 品类
  15475. type: integer
  15476. type: object
  15477. models.WrTradeDetail:
  15478. properties:
  15479. accountid:
  15480. description: 资金账号
  15481. type: integer
  15482. buyorsell:
  15483. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15484. type: integer
  15485. deliverygoodscode:
  15486. description: 品种代码
  15487. type: string
  15488. deliverygoodsid:
  15489. description: 品种ID
  15490. type: integer
  15491. deliverygoodsname:
  15492. description: 品种名称
  15493. type: string
  15494. deliverymonth:
  15495. description: 交收月
  15496. type: string
  15497. enumdicname:
  15498. description: 单位名称
  15499. type: string
  15500. haswr:
  15501. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15502. type: integer
  15503. marketid:
  15504. description: 市场ID
  15505. type: integer
  15506. matchaccountid:
  15507. description: 对手账号
  15508. type: integer
  15509. matchusername:
  15510. description: 对手方
  15511. type: string
  15512. minivalue:
  15513. description: 现货商品最小变动值
  15514. type: integer
  15515. optioncompare:
  15516. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15517. type: string
  15518. tradedate:
  15519. description: 交易日(yyyyMMdd)
  15520. type: string
  15521. tradeprice:
  15522. description: 成交价格
  15523. type: number
  15524. tradeqty:
  15525. description: 成交数量
  15526. type: number
  15527. tradetime:
  15528. description: 成交时间
  15529. type: string
  15530. userid:
  15531. description: 用户ID
  15532. type: integer
  15533. warehouseid:
  15534. description: 仓库ID
  15535. type: integer
  15536. warehousename:
  15537. description: 仓库名称
  15538. type: string
  15539. wrfactortypeid:
  15540. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15541. type: string
  15542. wrfactortypename:
  15543. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15544. type: string
  15545. wrstandardcode:
  15546. description: 现货商品代码
  15547. type: string
  15548. wrstandardid:
  15549. description: 现货商品ID
  15550. type: integer
  15551. wrstandardname:
  15552. description: 商品名称
  15553. type: string
  15554. wrtradedetailid:
  15555. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  15556. type: string
  15557. wrtradetype:
  15558. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15559. type: integer
  15560. wrtypename:
  15561. description: 商品
  15562. type: string
  15563. type: object
  15564. models.WrTradeOrderDetail:
  15565. properties:
  15566. buyorsell:
  15567. description: 买卖方向 0-买 1-卖
  15568. type: integer
  15569. goodsid:
  15570. description: 商品id
  15571. type: integer
  15572. orderid:
  15573. description: 委托单号
  15574. type: string
  15575. orderprice:
  15576. description: 委托价格
  15577. type: number
  15578. orderqty:
  15579. description: 委托数量
  15580. type: integer
  15581. userid:
  15582. description: 用户id
  15583. type: integer
  15584. username:
  15585. description: 用户名称(已脱敏)
  15586. type: string
  15587. type: object
  15588. models.WrTypeItem:
  15589. properties:
  15590. name:
  15591. description: 名称
  15592. type: string
  15593. value:
  15594. description: 值
  15595. type: string
  15596. type: object
  15597. models.WrUserFriend:
  15598. properties:
  15599. friendname:
  15600. description: 朋友名称(已脱敏)
  15601. type: string
  15602. frienduserid:
  15603. description: 朋友id
  15604. type: integer
  15605. isfriend:
  15606. description: 是否好友 0-不是 1-是
  15607. type: integer
  15608. userid:
  15609. description: 用户id
  15610. type: integer
  15611. type: object
  15612. order.QueryHisTradeDetailRsp:
  15613. properties:
  15614. accountid:
  15615. description: 账户ID[报价币种]
  15616. type: integer
  15617. advanceratio:
  15618. description: 首付比率
  15619. type: number
  15620. buildtype:
  15621. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  15622. type: integer
  15623. buyorsell:
  15624. description: 方向 - 0:买 1:卖
  15625. type: integer
  15626. charge:
  15627. description: 手续费
  15628. type: number
  15629. closecharge:
  15630. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15631. type: number
  15632. closeexchagechargevalue:
  15633. description: 平仓交易所手续费设置值
  15634. type: number
  15635. closefeealgorithm:
  15636. description: 平仓手续费收取方式 1:比率 2:固定
  15637. type: integer
  15638. closememberchargevalue:
  15639. description: 平仓会员手续费设置值
  15640. type: number
  15641. closepl:
  15642. description: 平仓盈亏
  15643. type: number
  15644. closepl2:
  15645. description: 平仓盈亏[逐笔]
  15646. type: number
  15647. closeqty:
  15648. description: 平仓数量(先建后平操作 需要记录)
  15649. type: number
  15650. creditamount:
  15651. description: 授信金额
  15652. type: number
  15653. decimalplace:
  15654. description: 商品报价小数位
  15655. type: integer
  15656. enumdicname:
  15657. description: 单位名称
  15658. type: string
  15659. gcaccountid:
  15660. description: 账户ID[合约币种]
  15661. type: integer
  15662. goodscode:
  15663. description: 商品代码
  15664. type: string
  15665. goodsid:
  15666. description: 商品ID
  15667. type: integer
  15668. goodsname:
  15669. description: 商品名称
  15670. type: string
  15671. goodunitid:
  15672. description: 商品单位id
  15673. type: integer
  15674. histradedate:
  15675. description: 历史交易日
  15676. type: string
  15677. intclosepl:
  15678. description: 整型盈亏(用于交易结算试算平衡-收益权)
  15679. type: integer
  15680. isconfirmexercise:
  15681. description: 是否确认行权- 0:否 1:是
  15682. type: integer
  15683. ismain:
  15684. description: 是否主单 - 0:不是 1:是
  15685. type: integer
  15686. ispreexercise:
  15687. description: 是否预申报- 0:否 1:是
  15688. type: integer
  15689. isreckoned:
  15690. description: 是否结算 - 0:未结算 1:已结算
  15691. type: integer
  15692. isvaliddata:
  15693. description: 是否有效 - 0:无效 1:有效
  15694. type: integer
  15695. listingselecttype:
  15696. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15697. type: integer
  15698. marketid:
  15699. description: 市场ID
  15700. type: integer
  15701. marketname:
  15702. description: 市场名称
  15703. type: string
  15704. matchaccountid:
  15705. description: 对手账号id
  15706. type: integer
  15707. memberuserid:
  15708. description: 会员id 个人投资者 需要填写
  15709. type: integer
  15710. opencharge:
  15711. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  15712. type: number
  15713. openexchagechargevalue:
  15714. description: 建仓交易所手续费设置值
  15715. type: number
  15716. openfeealgorithm:
  15717. description: 建仓手续费收取方式 1:比率 2:固定
  15718. type: integer
  15719. openmemberchargevalue:
  15720. description: 建仓会员手续费设置值
  15721. type: number
  15722. openqty:
  15723. description: 开仓数量(先建后平操作 需要记录)
  15724. type: number
  15725. optiontype:
  15726. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15727. type: integer
  15728. orderid:
  15729. description: 委托单号
  15730. type: string
  15731. payamount:
  15732. description: 支付金额(付款金额)
  15733. type: number
  15734. performanceplanid:
  15735. description: 履约计划ID[期权]
  15736. type: integer
  15737. performancestatus:
  15738. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  15739. type: integer
  15740. preexerciseprice:
  15741. description: 预申报价格
  15742. type: number
  15743. premium:
  15744. description: 权利金 - [持仓单的权利金]
  15745. type: number
  15746. qtydecimalplace:
  15747. description: 商品报价小数位
  15748. type: integer
  15749. recvamount:
  15750. description: 到账金额 = 成交金额 - 手续费
  15751. type: number
  15752. relatedouttradeid:
  15753. description: 关联外部成交单ID
  15754. type: integer
  15755. status:
  15756. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  15757. type: integer
  15758. totalamount:
  15759. description: 订单总额 = 成交金额 + 手续费
  15760. type: number
  15761. tradeamount:
  15762. description: 成交金额[账户币种,用于所有权]
  15763. type: number
  15764. tradedate:
  15765. description: 交易日(yyyyMMdd)
  15766. type: string
  15767. tradeid:
  15768. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15769. type: string
  15770. trademode:
  15771. description: 交易模式
  15772. type: integer
  15773. tradeprice:
  15774. description: 成交价格
  15775. type: number
  15776. tradeproperty:
  15777. description: 交易属性
  15778. type: integer
  15779. tradeqty:
  15780. description: 成交数量
  15781. type: number
  15782. tradetime:
  15783. description: 成交时间
  15784. type: string
  15785. tradetype:
  15786. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  15787. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  15788. type: integer
  15789. required:
  15790. - accountid
  15791. - buyorsell
  15792. - goodsid
  15793. - histradedate
  15794. - marketid
  15795. - memberuserid
  15796. - orderid
  15797. - tradeamount
  15798. - tradedate
  15799. - tradeid
  15800. - tradeprice
  15801. - tradeqty
  15802. - tradetime
  15803. type: object
  15804. order.QueryHisTradeOrderDetailRsp:
  15805. properties:
  15806. accountid:
  15807. description: 账户ID[报价币种]
  15808. type: integer
  15809. buildtype:
  15810. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  15811. type: integer
  15812. buyorsell:
  15813. description: 买卖 - 0:买 1:卖
  15814. type: integer
  15815. cancelorderid:
  15816. description: 撤单单号(撤单时填写)
  15817. type: string
  15818. cancelqty:
  15819. description: 撤单数量
  15820. type: number
  15821. clientordertime:
  15822. description: 客户端委托时间
  15823. type: string
  15824. clientticket:
  15825. description: 客户端流水号
  15826. type: string
  15827. clienttype:
  15828. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  15829. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  15830. type: integer
  15831. closeexchagechargevalue:
  15832. description: 平仓交易所手续费设置值
  15833. type: number
  15834. closefeealgorithm:
  15835. description: 平仓手续费收取方式 1:比率 2:固定
  15836. type: integer
  15837. closefreezecharge:
  15838. description: 平仓冻结手续费(先建后平操作,需要记录)
  15839. type: number
  15840. closememberchargevalue:
  15841. description: 平仓会员手续费设置值
  15842. type: number
  15843. closeqty:
  15844. description: 平仓数量(先建后平操作 需要记录)
  15845. type: number
  15846. closetradeqty:
  15847. description: 平仓成交数量(先建后平操作,需要记录)
  15848. type: number
  15849. closeunfreezecharge:
  15850. description: 平仓解冻手续费(先建后平操作,需要记录)
  15851. type: number
  15852. decimalplace:
  15853. description: 商品报价小数位
  15854. type: integer
  15855. delistingtype:
  15856. description: 摘牌类型 - 1:价格最优 2:点选成交
  15857. type: integer
  15858. enumdicname:
  15859. description: 单位名称
  15860. type: string
  15861. freezecharge:
  15862. description: 冻结手续费
  15863. type: number
  15864. freezemargin:
  15865. description: 冻结保证金(冻结交易金额)
  15866. type: number
  15867. gcaccountid:
  15868. description: 账户ID[合约币种]
  15869. type: integer
  15870. goodscode:
  15871. description: 商品代码
  15872. type: string
  15873. goodsid:
  15874. description: 商品ID
  15875. type: integer
  15876. goodsname:
  15877. description: 商品名称
  15878. type: string
  15879. goodunitid:
  15880. description: 商品单位id
  15881. type: integer
  15882. histradedate:
  15883. description: 历史交易日
  15884. type: string
  15885. isconfirmexercise:
  15886. description: 是否确认行权- 0:否 1:是
  15887. type: integer
  15888. ispreexercise:
  15889. description: 是否预申报- 0:否 1:是
  15890. type: integer
  15891. isvaliddata:
  15892. description: 是否有效 - 0:无效 1:有效
  15893. type: integer
  15894. listingselecttype:
  15895. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  15896. type: integer
  15897. marginalgorithm:
  15898. description: 保证金收取方式 1:比率 2:固定
  15899. type: integer
  15900. marginvalue:
  15901. description: 即市保证金设置值
  15902. type: number
  15903. marketid:
  15904. description: 市场ID
  15905. type: integer
  15906. marketmaxsub:
  15907. description: 市价最大偏移范围
  15908. type: number
  15909. marketname:
  15910. description: 市场名称
  15911. type: string
  15912. memberuserid:
  15913. description: 所属会员UserID
  15914. type: integer
  15915. openexchagechargevalue:
  15916. description: 建仓交易所手续费设置值
  15917. type: number
  15918. openfeealgorithm:
  15919. description: 建仓手续费收取方式 1:比率 2:固定
  15920. type: integer
  15921. openfreezecharge:
  15922. description: 开仓冻结手续费(先建后平操作,需要记录)
  15923. type: number
  15924. openmemberchargevalue:
  15925. description: 建仓会员手续费设置值
  15926. type: number
  15927. openqty:
  15928. description: 开仓数量(先建后平操作,需要记录)
  15929. type: number
  15930. opentradeqty:
  15931. description: 开仓成交数量(先建后平操作,需要记录)
  15932. type: number
  15933. openunfreezecharge:
  15934. description: 开仓解冻手续费(先建后平操作,需要记录)
  15935. type: number
  15936. operatetype:
  15937. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  15938. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  15939. 15:管理端协议转让
  15940. type: integer
  15941. operatorid:
  15942. description: 登录账号(LoginID)
  15943. type: integer
  15944. optiontype:
  15945. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15946. type: integer
  15947. orderid:
  15948. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15949. type: string
  15950. orderprice:
  15951. description: 委托价格
  15952. type: number
  15953. orderqty:
  15954. description: 委托数量
  15955. type: number
  15956. ordersrc:
  15957. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  15958. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  15959. type: integer
  15960. orderstatus:
  15961. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  15962. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  15963. 16:成交失败违约(荷兰式竞拍专用)
  15964. type: integer
  15965. ordertime:
  15966. description: 委托时间
  15967. type: string
  15968. preexerciseprice:
  15969. description: 预申报价格
  15970. type: number
  15971. premium:
  15972. description: 权利金
  15973. type: number
  15974. preorderid:
  15975. description: 关联预埋单号(止盈止损单时填写)
  15976. type: string
  15977. pricemode:
  15978. description: '取价方式 - 1:市价 2: 限价'
  15979. type: integer
  15980. qtydecimalplace:
  15981. description: 成交量小数位
  15982. type: integer
  15983. quoteid:
  15984. description: 报价单ID
  15985. type: integer
  15986. relatedid:
  15987. description: 关联单号(交割单)
  15988. type: string
  15989. retcode:
  15990. description: 错误代码
  15991. type: integer
  15992. sessionid:
  15993. description: 会话ID
  15994. type: integer
  15995. tradedate:
  15996. description: 交易日(yyyyMMdd)
  15997. type: string
  15998. trademode:
  15999. description: 交易模式
  16000. type: integer
  16001. tradeproperty:
  16002. description: 交易属性
  16003. type: integer
  16004. tradeqty:
  16005. description: 成交数量
  16006. type: number
  16007. unfreezecharge:
  16008. description: 解冻手续费
  16009. type: number
  16010. unfreezemargin:
  16011. description: 解冻保证金
  16012. type: number
  16013. updatetime:
  16014. description: 更新时间
  16015. type: string
  16016. uuid:
  16017. description: 发起端唯一id
  16018. type: string
  16019. validtime:
  16020. description: 有效期限
  16021. type: string
  16022. validtype:
  16023. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16024. type: integer
  16025. volumetype:
  16026. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16027. type: integer
  16028. required:
  16029. - accountid
  16030. - buildtype
  16031. - buyorsell
  16032. - goodsid
  16033. - histradedate
  16034. - marketid
  16035. - memberuserid
  16036. - operatetype
  16037. - orderid
  16038. - orderqty
  16039. - ordertime
  16040. - pricemode
  16041. - tradedate
  16042. - validtype
  16043. type: object
  16044. order.QueryTradeDetailRsp:
  16045. properties:
  16046. accountid:
  16047. description: 账户ID[报价币种]
  16048. type: integer
  16049. advanceratio:
  16050. description: 首付比率
  16051. type: number
  16052. buildtype:
  16053. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16054. type: integer
  16055. buyorsell:
  16056. description: 方向 - 0:买 1:卖
  16057. type: integer
  16058. charge:
  16059. description: 手续费
  16060. type: number
  16061. closecharge:
  16062. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16063. type: number
  16064. closeexchagechargevalue:
  16065. description: 平仓交易所手续费设置值
  16066. type: number
  16067. closefeealgorithm:
  16068. description: 平仓手续费收取方式 1:比率 2:固定
  16069. type: integer
  16070. closememberchargevalue:
  16071. description: 平仓会员手续费设置值
  16072. type: number
  16073. closepl:
  16074. description: 平仓盈亏
  16075. type: number
  16076. closepl2:
  16077. description: 平仓盈亏[逐笔]
  16078. type: number
  16079. closeqty:
  16080. description: 平仓数量(先建后平操作 需要记录)
  16081. type: number
  16082. creditamount:
  16083. description: 授信金额
  16084. type: number
  16085. decimalplace:
  16086. description: 商品报价小数位
  16087. type: integer
  16088. enumdicname:
  16089. description: 单位名称
  16090. type: string
  16091. gcaccountid:
  16092. description: 账户ID[合约币种]
  16093. type: integer
  16094. goodscode:
  16095. description: 商品代码
  16096. type: string
  16097. goodsid:
  16098. description: 商品ID
  16099. type: integer
  16100. goodsname:
  16101. description: 商品名称
  16102. type: string
  16103. goodunitid:
  16104. description: 商品单位id
  16105. type: integer
  16106. intclosepl:
  16107. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16108. type: integer
  16109. isconfirmexercise:
  16110. description: 是否确认行权- 0:否 1:是
  16111. type: integer
  16112. ismain:
  16113. description: 是否主单 - 0:不是 1:是
  16114. type: integer
  16115. ispreexercise:
  16116. description: 是否预申报- 0:否 1:是
  16117. type: integer
  16118. isreckoned:
  16119. description: 是否结算 - 0:未结算 1:已结算
  16120. type: integer
  16121. listingselecttype:
  16122. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16123. type: integer
  16124. marketid:
  16125. description: 市场ID
  16126. type: integer
  16127. marketname:
  16128. description: 市场名称
  16129. type: string
  16130. matchaccountid:
  16131. description: 对手账号id
  16132. type: integer
  16133. memberuserid:
  16134. description: 会员id 个人投资者 需要填写
  16135. type: integer
  16136. opencharge:
  16137. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16138. type: number
  16139. openexchagechargevalue:
  16140. description: 建仓交易所手续费设置值
  16141. type: number
  16142. openfeealgorithm:
  16143. description: 建仓手续费收取方式 1:比率 2:固定
  16144. type: integer
  16145. openmemberchargevalue:
  16146. description: 建仓会员手续费设置值
  16147. type: number
  16148. openqty:
  16149. description: 开仓数量(先建后平操作 需要记录)
  16150. type: number
  16151. optiontype:
  16152. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16153. type: integer
  16154. orderid:
  16155. description: 委托单号
  16156. type: string
  16157. payamount:
  16158. description: 支付金额(付款金额)
  16159. type: number
  16160. performanceplanid:
  16161. description: 履约计划ID[期权]
  16162. type: integer
  16163. performancestatus:
  16164. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16165. type: integer
  16166. preexerciseprice:
  16167. description: 预申报价格
  16168. type: number
  16169. premium:
  16170. description: 权利金 - [持仓单的权利金]
  16171. type: number
  16172. qtydecimalplace:
  16173. description: 商品报价小数位
  16174. type: integer
  16175. recvamount:
  16176. description: 到账金额 = 成交金额 - 手续费
  16177. type: number
  16178. relatedouttradeid:
  16179. description: 关联外部成交单ID
  16180. type: integer
  16181. status:
  16182. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16183. type: integer
  16184. totalamount:
  16185. description: 订单总额 = 成交金额 + 手续费
  16186. type: number
  16187. tradeamount:
  16188. description: 成交金额[账户币种,用于所有权]
  16189. type: number
  16190. tradedate:
  16191. description: 交易日(yyyyMMdd)
  16192. type: string
  16193. tradeid:
  16194. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16195. type: string
  16196. trademode:
  16197. description: 交易模式
  16198. type: integer
  16199. tradeprice:
  16200. description: 成交价格
  16201. type: number
  16202. tradeproperty:
  16203. description: 交易属性
  16204. type: integer
  16205. tradeqty:
  16206. description: 成交数量
  16207. type: number
  16208. tradetime:
  16209. description: 成交时间
  16210. type: string
  16211. tradetype:
  16212. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  16213. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16214. type: integer
  16215. required:
  16216. - accountid
  16217. - buyorsell
  16218. - goodsid
  16219. - marketid
  16220. - memberuserid
  16221. - orderid
  16222. - tradeamount
  16223. - tradedate
  16224. - tradeid
  16225. - tradeprice
  16226. - tradeqty
  16227. - tradetime
  16228. type: object
  16229. order.QueryTradeOrderDetailRsp:
  16230. properties:
  16231. accountid:
  16232. description: 账户ID[报价币种]
  16233. type: integer
  16234. buildtype:
  16235. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16236. type: integer
  16237. buyorsell:
  16238. description: 买卖 - 0:买 1:卖
  16239. type: integer
  16240. cancelorderid:
  16241. description: 撤单单号(撤单时填写)
  16242. type: string
  16243. cancelqty:
  16244. description: 撤单数量
  16245. type: number
  16246. clienttype:
  16247. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  16248. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16249. type: integer
  16250. closefreezecharge:
  16251. description: 平仓冻结手续费(先建后平操作,需要记录)
  16252. type: number
  16253. closeqty:
  16254. description: 平仓数量(先建后平操作 需要记录)
  16255. type: number
  16256. closetradeqty:
  16257. description: 平仓成交数量(先建后平操作,需要记录)
  16258. type: number
  16259. closeunfreezecharge:
  16260. description: 平仓解冻手续费(先建后平操作,需要记录)
  16261. type: number
  16262. decimalplace:
  16263. description: 商品报价小数位
  16264. type: integer
  16265. delistingtype:
  16266. description: 摘牌类型 - 1:价格最优 2:点选成交
  16267. type: integer
  16268. enableqty:
  16269. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  16270. type: number
  16271. enumdicname:
  16272. description: 单位名称
  16273. type: string
  16274. freezecharge:
  16275. description: 冻结手续费
  16276. type: number
  16277. freezemargin:
  16278. description: 冻结保证金(冻结交易金额)
  16279. type: number
  16280. goodscode:
  16281. description: 商品代码
  16282. type: string
  16283. goodsid:
  16284. description: 商品ID
  16285. type: integer
  16286. goodsname:
  16287. description: 商品名称
  16288. type: string
  16289. goodunitid:
  16290. description: 商品单位id
  16291. type: integer
  16292. listingselecttype:
  16293. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16294. type: integer
  16295. marketid:
  16296. description: 市场ID
  16297. type: integer
  16298. marketname:
  16299. description: 市场名称
  16300. type: string
  16301. openfreezecharge:
  16302. description: 开仓冻结手续费(先建后平操作,需要记录)
  16303. type: number
  16304. openqty:
  16305. description: 开仓数量(先建后平操作,需要记录)
  16306. type: number
  16307. opentradeqty:
  16308. description: 开仓成交数量(先建后平操作,需要记录)
  16309. type: number
  16310. openunfreezecharge:
  16311. description: 开仓解冻手续费(先建后平操作,需要记录)
  16312. type: number
  16313. operatetype:
  16314. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  16315. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  16316. 15:管理端协议转让
  16317. type: integer
  16318. operatorid:
  16319. description: 登录账号(LoginID)
  16320. type: integer
  16321. orderid:
  16322. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16323. type: string
  16324. orderprice:
  16325. description: 委托价格
  16326. type: number
  16327. orderqty:
  16328. description: 委托数量
  16329. type: number
  16330. ordersrc:
  16331. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  16332. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16333. type: integer
  16334. orderstatus:
  16335. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16336. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16337. 16:成交失败违约(荷兰式竞拍专用)
  16338. type: integer
  16339. ordertime:
  16340. description: 委托时间
  16341. type: string
  16342. preorderid:
  16343. description: 关联预埋单号(止盈止损单时填写)
  16344. type: string
  16345. pricemode:
  16346. description: '取价方式 - 1:市价 2: 限价'
  16347. type: integer
  16348. qtydecimalplace:
  16349. description: 商品报价小数位
  16350. type: integer
  16351. relatedid:
  16352. description: 关联单号(交割单)
  16353. type: string
  16354. tradedate:
  16355. description: 交易日(yyyyMMdd)
  16356. type: string
  16357. trademode:
  16358. description: 交易模式
  16359. type: integer
  16360. tradeqty:
  16361. description: 成交数量
  16362. type: number
  16363. unfreezecharge:
  16364. description: 解冻手续费
  16365. type: number
  16366. unfreezemargin:
  16367. description: 解冻保证金
  16368. type: number
  16369. validtime:
  16370. description: 有效期限
  16371. type: string
  16372. validtype:
  16373. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16374. type: integer
  16375. volumetype:
  16376. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16377. type: integer
  16378. required:
  16379. - accountid
  16380. - buildtype
  16381. - buyorsell
  16382. - goodsid
  16383. - marketid
  16384. - operatetype
  16385. - orderqty
  16386. - ordertime
  16387. - pricemode
  16388. - tradedate
  16389. - validtype
  16390. type: object
  16391. order.QueryTradePositionRsp:
  16392. properties:
  16393. accountid:
  16394. description: 资金账户
  16395. type: integer
  16396. agreeunit:
  16397. description: 合约单位
  16398. type: number
  16399. averageprice:
  16400. description: 持仓均价
  16401. type: number
  16402. buyorsell:
  16403. description: 方向 - 0:买 1:卖
  16404. type: integer
  16405. closetotalqty:
  16406. description: 平仓总数量
  16407. type: number
  16408. curholderamount:
  16409. description: 当前持仓总金额[商品币种]
  16410. type: number
  16411. curpositionqty:
  16412. description: 当前持仓总数量
  16413. type: number
  16414. currencyid:
  16415. description: 报价货币ID
  16416. type: integer
  16417. curtdposition:
  16418. description: 期末今日头寸
  16419. type: number
  16420. decimalplace:
  16421. description: 报价小数位
  16422. type: integer
  16423. enableqty:
  16424. description: 可用量
  16425. type: number
  16426. fretdposition:
  16427. description: 冻结今日头寸
  16428. type: number
  16429. frozenqty:
  16430. description: 持仓冻结数量
  16431. type: number
  16432. goodscode:
  16433. description: 商品代码
  16434. type: string
  16435. goodsid:
  16436. description: 商品Id
  16437. type: integer
  16438. goodsname:
  16439. description: 商品名称
  16440. type: string
  16441. goodunit:
  16442. description: 报价单位
  16443. type: string
  16444. goodunitid:
  16445. description: 报价单位ID
  16446. type: integer
  16447. holderamount:
  16448. description: 期初持仓总金额[商品币种]
  16449. type: number
  16450. lastprice:
  16451. description: 最新价
  16452. type: number
  16453. marketamount:
  16454. description: 市值
  16455. type: number
  16456. marketid:
  16457. description: 所属市场ID
  16458. type: integer
  16459. openreqqty:
  16460. description: 开仓申请数量(用于比较最大持仓数量)
  16461. type: number
  16462. opentotalqty:
  16463. description: 开仓总数量
  16464. type: number
  16465. otherfrozenqty:
  16466. description: 持仓其他冻结数量(交割冻结)
  16467. type: number
  16468. positionpl:
  16469. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  16470. * 合约单位
  16471. type: number
  16472. positionplrate:
  16473. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  16474. type: number
  16475. positionqty:
  16476. description: 期初持仓数量
  16477. type: number
  16478. qtydecimalplace:
  16479. description: 成交量小数位
  16480. type: integer
  16481. tnqty:
  16482. description: T+N冻结总量
  16483. type: number
  16484. tnusedqty:
  16485. description: T+N使用量(可以使用T+N的冻结数量)
  16486. type: number
  16487. trademode:
  16488. description: 交易模式
  16489. type: integer
  16490. usedmargin:
  16491. description: 占用保证金[商品币种]
  16492. type: number
  16493. required:
  16494. - goodsid
  16495. type: object
  16496. quote.HistoryData:
  16497. properties:
  16498. c:
  16499. description: 收盘价
  16500. type: number
  16501. f:
  16502. description: 是否补充数据
  16503. type: boolean
  16504. h:
  16505. description: 最高价
  16506. type: number
  16507. hv:
  16508. description: 持仓量
  16509. type: integer
  16510. l:
  16511. description: 最低价
  16512. type: number
  16513. o:
  16514. description: 开盘价
  16515. type: number
  16516. s:
  16517. description: 结算价,日线周期(包括)以上才有
  16518. type: number
  16519. ts:
  16520. description: 时间
  16521. type: string
  16522. tt:
  16523. description: 总金额
  16524. type: number
  16525. tv:
  16526. description: 总量
  16527. type: integer
  16528. type: object
  16529. quote.HistoryTikData:
  16530. properties:
  16531. AV:
  16532. description: 卖量
  16533. type: integer
  16534. Ask:
  16535. description: 卖价
  16536. type: number
  16537. BV:
  16538. description: 买量
  16539. type: integer
  16540. Bid:
  16541. description: 买价
  16542. type: number
  16543. HI:
  16544. description: 单笔持仓
  16545. type: integer
  16546. HV:
  16547. description: 持仓量
  16548. type: integer
  16549. PE:
  16550. description: 现价
  16551. type: number
  16552. TDR:
  16553. description: 交易方向,0:买 1:卖
  16554. type: integer
  16555. TK:
  16556. description: 交易类型
  16557. type: integer
  16558. TS:
  16559. description: 行情时间文本
  16560. type: string
  16561. TT:
  16562. description: 现金额
  16563. type: number
  16564. Vol:
  16565. description: 现量
  16566. type: integer
  16567. type: object
  16568. quote.QueryQuoteDayRsp:
  16569. properties:
  16570. ask:
  16571. description: 卖1
  16572. type: number
  16573. ask2:
  16574. description: 卖2
  16575. type: number
  16576. ask3:
  16577. description: 卖3
  16578. type: number
  16579. ask4:
  16580. description: 卖4
  16581. type: number
  16582. ask5:
  16583. description: 卖5
  16584. type: number
  16585. ask6:
  16586. description: 卖6
  16587. type: number
  16588. ask7:
  16589. description: 卖7
  16590. type: number
  16591. ask8:
  16592. description: 卖8
  16593. type: number
  16594. ask9:
  16595. description: 卖9
  16596. type: number
  16597. ask10:
  16598. description: 卖10
  16599. type: number
  16600. askorderid:
  16601. description: 卖单号1
  16602. type: integer
  16603. askorderid2:
  16604. description: 卖单号2
  16605. type: integer
  16606. askorderid3:
  16607. description: 卖单号3
  16608. type: integer
  16609. askorderid4:
  16610. description: 卖单号4
  16611. type: integer
  16612. askorderid5:
  16613. description: 卖单号5
  16614. type: integer
  16615. askordervolume:
  16616. description: 卖单量1
  16617. type: integer
  16618. askordervolume2:
  16619. description: 卖单量2
  16620. type: integer
  16621. askordervolume3:
  16622. description: 卖单量3
  16623. type: integer
  16624. askordervolume4:
  16625. description: 卖单量4
  16626. type: integer
  16627. askordervolume5:
  16628. description: 卖单量5
  16629. type: integer
  16630. askordervolume6:
  16631. description: 卖单量6
  16632. type: integer
  16633. askordervolume7:
  16634. description: 卖单量7
  16635. type: integer
  16636. askordervolume8:
  16637. description: 卖单量8
  16638. type: integer
  16639. askordervolume9:
  16640. description: 卖单量9
  16641. type: integer
  16642. askordervolume10:
  16643. description: 卖单量10
  16644. type: integer
  16645. askqueueinfo:
  16646. description: 大利市卖港股用
  16647. type: string
  16648. askvolume:
  16649. description: 卖量1
  16650. type: integer
  16651. askvolume2:
  16652. description: 卖量2
  16653. type: integer
  16654. askvolume3:
  16655. description: 卖量3
  16656. type: integer
  16657. askvolume4:
  16658. description: 卖量4
  16659. type: integer
  16660. askvolume5:
  16661. description: 卖量5
  16662. type: integer
  16663. askvolume6:
  16664. description: 卖量6
  16665. type: integer
  16666. askvolume7:
  16667. description: 卖量7
  16668. type: integer
  16669. askvolume8:
  16670. description: 卖量8
  16671. type: integer
  16672. askvolume9:
  16673. description: 卖量9
  16674. type: integer
  16675. askvolume10:
  16676. description: 卖量10
  16677. type: integer
  16678. averageprice:
  16679. description: 均价
  16680. type: number
  16681. bid:
  16682. description: 买1
  16683. type: number
  16684. bid2:
  16685. description: 买2
  16686. type: number
  16687. bid3:
  16688. description: 买3
  16689. type: number
  16690. bid4:
  16691. description: 买4
  16692. type: number
  16693. bid5:
  16694. description: 买5
  16695. type: number
  16696. bid6:
  16697. description: 买6
  16698. type: number
  16699. bid7:
  16700. description: 买7
  16701. type: number
  16702. bid8:
  16703. description: 买8
  16704. type: number
  16705. bid9:
  16706. description: 买9
  16707. type: number
  16708. bid10:
  16709. description: 买10
  16710. type: number
  16711. bidorderid:
  16712. description: 买单号1
  16713. type: integer
  16714. bidorderid2:
  16715. description: 买单号2
  16716. type: integer
  16717. bidorderid3:
  16718. description: 买单号3
  16719. type: integer
  16720. bidorderid4:
  16721. description: 买单号4
  16722. type: integer
  16723. bidorderid5:
  16724. description: 买单号5
  16725. type: integer
  16726. bidordervolume:
  16727. description: 买单量1
  16728. type: integer
  16729. bidordervolume2:
  16730. description: 买单量2
  16731. type: integer
  16732. bidordervolume3:
  16733. description: 买单量3
  16734. type: integer
  16735. bidordervolume4:
  16736. description: 买单量4
  16737. type: integer
  16738. bidordervolume5:
  16739. description: 买单量5
  16740. type: integer
  16741. bidordervolume6:
  16742. description: 买单量6
  16743. type: integer
  16744. bidordervolume7:
  16745. description: 买单量7
  16746. type: integer
  16747. bidordervolume8:
  16748. description: 买单量8
  16749. type: integer
  16750. bidordervolume9:
  16751. description: 买单量9
  16752. type: integer
  16753. bidordervolume10:
  16754. description: 买单量10
  16755. type: integer
  16756. bidqueueinfo:
  16757. description: 大利市买港股用
  16758. type: string
  16759. bidvolume:
  16760. description: 买量1
  16761. type: integer
  16762. bidvolume2:
  16763. description: 买量2
  16764. type: integer
  16765. bidvolume3:
  16766. description: 买量3
  16767. type: integer
  16768. bidvolume4:
  16769. description: 买量4
  16770. type: integer
  16771. bidvolume5:
  16772. description: 买量5
  16773. type: integer
  16774. bidvolume6:
  16775. description: 买量6
  16776. type: integer
  16777. bidvolume7:
  16778. description: 买量7
  16779. type: integer
  16780. bidvolume8:
  16781. description: 买量8
  16782. type: integer
  16783. bidvolume9:
  16784. description: 买量9
  16785. type: integer
  16786. bidvolume10:
  16787. description: 买量10
  16788. type: integer
  16789. calloptionpremiums:
  16790. description: 认购期权1
  16791. type: integer
  16792. calloptionpremiums2:
  16793. description: 认购期权2
  16794. type: integer
  16795. calloptionpremiums3:
  16796. description: 认购期权3
  16797. type: integer
  16798. calloptionpremiums4:
  16799. description: 认购期权4
  16800. type: integer
  16801. calloptionpremiums5:
  16802. description: 认购期权5
  16803. type: integer
  16804. cleartime:
  16805. description: 清盘时间
  16806. type: integer
  16807. exchangecode:
  16808. description: 交易所代码
  16809. type: integer
  16810. exchangedate:
  16811. description: 交易日
  16812. type: integer
  16813. goodscode:
  16814. description: 商品代码
  16815. type: string
  16816. grepmarketprice:
  16817. description: 暗盘价 港股专用
  16818. type: number
  16819. highest:
  16820. description: 最高价
  16821. type: number
  16822. holdincrement:
  16823. description: 单笔持仓
  16824. type: integer
  16825. holdvolume:
  16826. description: 持仓
  16827. type: integer
  16828. iep:
  16829. description: 平衡价 港股专用
  16830. type: number
  16831. iev:
  16832. description: 平衡量 港股专用
  16833. type: number
  16834. inventory:
  16835. description: 库存
  16836. type: integer
  16837. iscleared:
  16838. description: 是否清盘标志
  16839. type: integer
  16840. issettled:
  16841. description: 是否结算标志
  16842. type: integer
  16843. last:
  16844. description: 最新价
  16845. type: number
  16846. lastlot:
  16847. description: 最新成交手数
  16848. type: integer
  16849. lasttime:
  16850. description: 行情时间(只有现价变化行情时间才变化)
  16851. type: string
  16852. lastturnover:
  16853. description: 最新成交金额
  16854. type: number
  16855. lastvolume:
  16856. description: 最新成交量
  16857. type: integer
  16858. limitdown:
  16859. description: 跌停价
  16860. type: number
  16861. limitup:
  16862. description: 涨停价
  16863. type: number
  16864. lowest:
  16865. description: 最低价
  16866. type: number
  16867. nontotalholdervolume:
  16868. description: 非交易持仓量
  16869. type: integer
  16870. nontotallot:
  16871. description: 非交易总手数
  16872. type: integer
  16873. nontotalturnover:
  16874. description: 非交易总金额
  16875. type: integer
  16876. nontotalvolume:
  16877. description: 非交易总量
  16878. type: integer
  16879. opened:
  16880. description: 开盘价
  16881. type: number
  16882. opentime:
  16883. description: 开盘时间
  16884. type: string
  16885. orderid:
  16886. description: 序号
  16887. type: integer
  16888. preclose:
  16889. description: 昨收
  16890. type: number
  16891. preholdvolume:
  16892. description: 昨持仓
  16893. type: integer
  16894. presettle:
  16895. description: 昨结价
  16896. type: number
  16897. publictradetype:
  16898. description: 公共交易标志类型 港股专用
  16899. type: string
  16900. putoptionpremiums:
  16901. description: 认沽期权1
  16902. type: integer
  16903. putoptionpremiums2:
  16904. description: 认沽期权2
  16905. type: integer
  16906. putoptionpremiums3:
  16907. description: 认沽期权3
  16908. type: integer
  16909. putoptionpremiums4:
  16910. description: 认沽期权4
  16911. type: integer
  16912. putoptionpremiums5:
  16913. description: 认沽期权5
  16914. type: integer
  16915. settle:
  16916. description: 结算价
  16917. type: number
  16918. strikeprice:
  16919. description: 发行价
  16920. type: number
  16921. totalaskvolume:
  16922. description: 内盘
  16923. type: integer
  16924. totalbidvolume:
  16925. description: 外盘
  16926. type: integer
  16927. totallot:
  16928. description: 总手数
  16929. type: integer
  16930. totalturnover:
  16931. description: 总金额
  16932. type: number
  16933. totalvolume:
  16934. description: 总量
  16935. type: integer
  16936. utclasttime:
  16937. description: utc的行情时间
  16938. type: string
  16939. type: object
  16940. quote.QueryTSDataRsp:
  16941. properties:
  16942. Count:
  16943. description: 交易日应有数据个数
  16944. type: integer
  16945. decimalPlace:
  16946. description: 小数位
  16947. type: integer
  16948. endTime:
  16949. description: 结束时间
  16950. type: string
  16951. goodsCode:
  16952. description: 商品代码
  16953. type: string
  16954. historyDatas:
  16955. description: 历史数据
  16956. items:
  16957. $ref: '#/definitions/quote.HistoryData'
  16958. type: array
  16959. outGoodsCode:
  16960. description: 外部商品代码
  16961. type: string
  16962. preSettle:
  16963. description: 昨结价
  16964. type: number
  16965. runSteps:
  16966. description: 交易日开休市计划
  16967. items:
  16968. $ref: '#/definitions/quote.TSDataRunStep'
  16969. type: array
  16970. startTime:
  16971. description: 开始时间
  16972. type: string
  16973. tradeDate:
  16974. description: 交易日
  16975. type: string
  16976. type: object
  16977. quote.TSDataRunStep:
  16978. properties:
  16979. end:
  16980. description: 真实结束时间
  16981. type: string
  16982. endflag:
  16983. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  16984. type: integer
  16985. endtime:
  16986. description: 结束时间(HH:mm)
  16987. type: string
  16988. endweekday:
  16989. description: 结束周几
  16990. type: integer
  16991. groupid:
  16992. description: 分组ID
  16993. type: integer
  16994. runstep:
  16995. description: 运行阶段 - 2:连续交易
  16996. type: integer
  16997. sectionid:
  16998. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  16999. 结束时间=结算时间 结束周几=结算周几
  17000. type: integer
  17001. start:
  17002. description: 真实开始时间
  17003. type: string
  17004. startflag:
  17005. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  17006. type: integer
  17007. starttime:
  17008. description: 起始时间(HH:mm)
  17009. type: string
  17010. startweekday:
  17011. description: 起始周几
  17012. type: integer
  17013. tradeweekday:
  17014. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  17015. type: integer
  17016. type: object
  17017. szdz.QueryConvertLogRsp:
  17018. properties:
  17019. accountid:
  17020. description: 资金账户ID
  17021. type: integer
  17022. clientticket:
  17023. description: 客户端流水号
  17024. type: string
  17025. converttype:
  17026. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  17027. type: integer
  17028. createtime:
  17029. description: 记账时间
  17030. type: string
  17031. daymaxvalue:
  17032. description: 配置当日最大转入限制
  17033. type: number
  17034. daymaxvalue2:
  17035. description: 配置当日最大转入限制(转入)
  17036. type: number
  17037. goodscode:
  17038. description: 商品代码
  17039. type: string
  17040. goodsname:
  17041. description: 商品名称
  17042. type: string
  17043. handlestatus:
  17044. description: 处理状态
  17045. type: integer
  17046. innergoodsid:
  17047. description: 内部商品ID
  17048. type: integer
  17049. inratio:
  17050. description: 配置转入比值
  17051. type: integer
  17052. invalue:
  17053. description: 目标值
  17054. type: number
  17055. logid:
  17056. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17057. type: integer
  17058. mobile:
  17059. description: 手机号码(加密存储)
  17060. type: string
  17061. outergoodscode:
  17062. description: 外部商品代码[JD\PD]
  17063. type: string
  17064. outratio:
  17065. description: 配置转出比值
  17066. type: integer
  17067. outvalue:
  17068. description: 源值
  17069. type: number
  17070. pddecimalplace:
  17071. description: PD小数位
  17072. type: integer
  17073. qty:
  17074. description: 数量
  17075. type: string
  17076. remark:
  17077. description: 备注
  17078. type: string
  17079. sessionid:
  17080. description: 会话ID
  17081. type: integer
  17082. timemaxvalue:
  17083. description: 配置单次最大转入限制
  17084. type: number
  17085. timemaxvalue2:
  17086. description: 配置单次最大转入限制(转入)
  17087. type: number
  17088. timeminvalue:
  17089. description: 配置单次最小数量限制
  17090. type: number
  17091. timeminvalue2:
  17092. description: 配置单次最小数量限制(转入)
  17093. type: number
  17094. tradedate:
  17095. description: 交易日(yyyyMMdd)
  17096. type: string
  17097. userid:
  17098. description: 用户ID
  17099. type: integer
  17100. required:
  17101. - logid
  17102. type: object
  17103. szdz.QueryGoodsPickupRsp:
  17104. properties:
  17105. accountid:
  17106. description: 账户ID
  17107. type: integer
  17108. address:
  17109. description: 提货人详细地址
  17110. type: string
  17111. auditer:
  17112. description: 审核人
  17113. type: integer
  17114. audittime:
  17115. description: 审核时间
  17116. type: string
  17117. cardnum:
  17118. description: 提货人证件号码
  17119. type: string
  17120. cardtypeid:
  17121. description: 提货人证件类型
  17122. type: integer
  17123. checkremark:
  17124. description: 审核备注
  17125. type: string
  17126. goodscode:
  17127. description: 商品代码
  17128. type: string
  17129. goodsid:
  17130. description: 商品ID
  17131. type: integer
  17132. goodsname:
  17133. description: 商品名称
  17134. type: string
  17135. handlestatus:
  17136. description: 处理状态
  17137. type: integer
  17138. marketid:
  17139. description: 市场ID
  17140. type: integer
  17141. phonenum:
  17142. description: 提货人联系方式
  17143. type: string
  17144. qty:
  17145. description: 提货数量
  17146. type: number
  17147. recivername:
  17148. description: 提货人姓名
  17149. type: string
  17150. reqtime:
  17151. description: 更新时间
  17152. type: string
  17153. takemode:
  17154. description: 提货方式 - 2:自提 3:配送
  17155. type: integer
  17156. takeorderid:
  17157. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17158. type: string
  17159. takeorderstatus:
  17160. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17161. type: integer
  17162. takeremark:
  17163. description: 提货备注
  17164. type: string
  17165. tradedate:
  17166. description: 交易日(yyyyMMdd)
  17167. type: string
  17168. userid:
  17169. description: 用户ID
  17170. type: integer
  17171. required:
  17172. - takeorderid
  17173. type: object
  17174. szdz.QueryRecieptOrderRsp:
  17175. properties:
  17176. accountName:
  17177. description: 所属账号名称(已脱敏)
  17178. type: string
  17179. accountid:
  17180. description: 资金账号
  17181. type: integer
  17182. buyorsell:
  17183. description: 方向 - 0:买 1:卖
  17184. type: integer
  17185. enableqty:
  17186. description: 可摘数量
  17187. type: integer
  17188. goodscode:
  17189. description: 商品代码
  17190. type: string
  17191. goodsid:
  17192. description: 商品ID
  17193. type: integer
  17194. goodsname:
  17195. description: 商品名称
  17196. type: string
  17197. orderid:
  17198. description: 委托单号
  17199. type: string
  17200. orderprice:
  17201. description: 委托价格
  17202. type: number
  17203. ordertime:
  17204. description: 委托时间
  17205. type: string
  17206. tradedate:
  17207. description: 交易日(yyyyMMdd)
  17208. type: string
  17209. required:
  17210. - ordertime
  17211. type: object
  17212. szdz.QuerySZDZTradePositionRsp:
  17213. properties:
  17214. accountid:
  17215. description: 账号Id
  17216. type: integer
  17217. agreeunit:
  17218. description: 合约单位
  17219. type: number
  17220. averageprice:
  17221. description: 持仓均价
  17222. type: number
  17223. buyorsell:
  17224. description: 方向 - 0:买 1:卖
  17225. type: integer
  17226. closetotalqty:
  17227. description: 平仓总数量
  17228. type: integer
  17229. curholderamount:
  17230. description: 当前持仓总金额
  17231. type: number
  17232. curpositionqty:
  17233. description: 当前持仓总数量
  17234. type: integer
  17235. currencyid:
  17236. description: 报价货币ID
  17237. type: integer
  17238. curtdposition:
  17239. description: 期末今日头寸
  17240. type: integer
  17241. decimalplace:
  17242. description: 报价小数位
  17243. type: integer
  17244. enableqty:
  17245. description: 可用量
  17246. type: integer
  17247. fretdposition:
  17248. description: 冻结今日头寸
  17249. type: integer
  17250. frozenqty:
  17251. description: 持仓冻结数量
  17252. type: integer
  17253. goodscode:
  17254. description: 商品代码(内部)
  17255. type: string
  17256. goodsid:
  17257. description: 商品Id
  17258. type: integer
  17259. goodsname:
  17260. description: 商品名称
  17261. type: string
  17262. goodunit:
  17263. description: 报价单位
  17264. type: string
  17265. goodunitid:
  17266. description: 报价单位ID
  17267. type: integer
  17268. holderamount:
  17269. description: 期初持仓总金额
  17270. type: number
  17271. marketid:
  17272. description: 市场ID
  17273. type: integer
  17274. openreqqty:
  17275. description: 开仓申请数量
  17276. type: integer
  17277. opentotalqty:
  17278. description: 开仓总数量
  17279. type: integer
  17280. otherfrozenqty:
  17281. description: 持仓其他冻结数量(交割冻结)
  17282. type: integer
  17283. positionqty:
  17284. description: 期初持仓数量
  17285. type: integer
  17286. szdz3freezqty:
  17287. description: 尚志大宗转换冻结总数量
  17288. type: integer
  17289. tnqty:
  17290. description: T+N冻结总量
  17291. type: integer
  17292. tnusedqty:
  17293. description: T+N使用量
  17294. type: integer
  17295. trademode:
  17296. description: 交易模式
  17297. type: integer
  17298. usedmargin:
  17299. description: 占用保证金
  17300. type: number
  17301. type: object
  17302. taaccount.QueryAmountLogRsp:
  17303. properties:
  17304. OPERATETYPENAME:
  17305. description: 资金操作类型名称
  17306. type: string
  17307. accountid:
  17308. description: 资金账户ID
  17309. type: integer
  17310. agoodscode:
  17311. description: 竞拍商品代码
  17312. type: string
  17313. agoodsname:
  17314. description: 竞拍商品名称
  17315. type: string
  17316. amount:
  17317. description: 资金金额
  17318. type: number
  17319. amountadjusttype:
  17320. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17321. type: integer
  17322. autoid:
  17323. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17324. type: integer
  17325. balance:
  17326. description: 期初余额
  17327. type: number
  17328. businesscode:
  17329. description: 业务编号
  17330. type: integer
  17331. createtime:
  17332. description: 发生时间
  17333. type: string
  17334. currencyid:
  17335. description: 币种ID
  17336. type: integer
  17337. currentbalance:
  17338. description: 期末余额(变动后金额)
  17339. type: number
  17340. dgoodscode:
  17341. description: 交割商品代码
  17342. type: string
  17343. dgoodsname:
  17344. description: 交割商品名称
  17345. type: string
  17346. goodscode:
  17347. description: 商品代码
  17348. type: string
  17349. goodsid:
  17350. description: 商品ID
  17351. type: integer
  17352. goodsname:
  17353. description: 商品名称
  17354. type: string
  17355. marketid:
  17356. description: 市场ID
  17357. type: integer
  17358. marketname:
  17359. description: 市场名称
  17360. type: string
  17361. moneyticket:
  17362. description: 资金流水号:银行端流水号
  17363. type: integer
  17364. operatetype:
  17365. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17366. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17367. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17368. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17369. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17370. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17371. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17372. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17373. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17374. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17375. type: integer
  17376. relationorderid:
  17377. description: 关联单号
  17378. type: string
  17379. remark:
  17380. description: 备注
  17381. type: string
  17382. trademode:
  17383. description: 交易模式
  17384. type: integer
  17385. required:
  17386. - accountid
  17387. - amount
  17388. - amountadjusttype
  17389. - autoid
  17390. - balance
  17391. - createtime
  17392. - currentbalance
  17393. - operatetype
  17394. type: object
  17395. taaccount.QueryHisAmountLogRsp:
  17396. properties:
  17397. OPERATETYPENAME:
  17398. description: 资金操作类型名称
  17399. type: string
  17400. accountid:
  17401. description: 资金账户ID
  17402. type: integer
  17403. agoodscode:
  17404. description: 竞拍商品代码
  17405. type: string
  17406. agoodsname:
  17407. description: 竞拍商品名称
  17408. type: string
  17409. amount:
  17410. description: 资金金额
  17411. type: number
  17412. amountadjusttype:
  17413. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  17414. type: integer
  17415. autoid:
  17416. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  17417. type: integer
  17418. balance:
  17419. description: 期初余额
  17420. type: number
  17421. businesscode:
  17422. description: 业务编号
  17423. type: integer
  17424. createtime:
  17425. description: 发生时间
  17426. type: string
  17427. currencyid:
  17428. description: 币种ID
  17429. type: integer
  17430. currentbalance:
  17431. description: 期末余额(变动后金额)
  17432. type: number
  17433. dgoodscode:
  17434. description: 交割商品代码
  17435. type: string
  17436. dgoodsname:
  17437. description: 交割商品名称
  17438. type: string
  17439. goodscode:
  17440. description: 商品代码
  17441. type: string
  17442. goodsid:
  17443. description: 商品ID
  17444. type: integer
  17445. goodsname:
  17446. description: 商品名称
  17447. type: string
  17448. histradedate:
  17449. description: 历史交易日
  17450. type: string
  17451. isvaliddata:
  17452. description: 是否有效 - 0:无效 1:有效
  17453. type: integer
  17454. marketid:
  17455. description: 市场ID
  17456. type: integer
  17457. marketname:
  17458. description: 市场名称
  17459. type: string
  17460. moneyticket:
  17461. description: 资金流水号:银行端流水号
  17462. type: integer
  17463. operatetype:
  17464. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  17465. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  17466. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  17467. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  17468. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  17469. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  17470. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  17471. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  17472. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  17473. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  17474. type: integer
  17475. relationorderid:
  17476. description: 关联单号
  17477. type: string
  17478. remark:
  17479. description: 备注
  17480. type: string
  17481. trademode:
  17482. description: 交易模式
  17483. type: integer
  17484. required:
  17485. - accountid
  17486. - amount
  17487. - amountadjusttype
  17488. - autoid
  17489. - balance
  17490. - createtime
  17491. - currentbalance
  17492. - histradedate
  17493. - operatetype
  17494. type: object
  17495. trade.QueryRecieptOrderRsp:
  17496. properties:
  17497. accountName:
  17498. description: 所属账号名称(已脱敏)
  17499. type: string
  17500. accountid:
  17501. description: 资金账号
  17502. type: integer
  17503. buyorsell:
  17504. description: 方向 - 0:买 1:卖
  17505. type: integer
  17506. enableqty:
  17507. description: 可摘数量
  17508. type: integer
  17509. goodscode:
  17510. description: 商品代码
  17511. type: string
  17512. goodsid:
  17513. description: 商品ID
  17514. type: integer
  17515. goodsname:
  17516. description: 商品名称
  17517. type: string
  17518. orderid:
  17519. description: 委托单号
  17520. type: string
  17521. orderprice:
  17522. description: 委托价格
  17523. type: number
  17524. ordertime:
  17525. description: 委托时间
  17526. type: string
  17527. tradedate:
  17528. description: 交易日(yyyyMMdd)
  17529. type: string
  17530. required:
  17531. - ordertime
  17532. type: object
  17533. user.LoginQueryRsp:
  17534. properties:
  17535. areaRoles:
  17536. description: 所属角色信息
  17537. items:
  17538. $ref: '#/definitions/models.Arearole'
  17539. type: array
  17540. externalExchanges:
  17541. description: 外部交易所
  17542. items:
  17543. $ref: '#/definitions/models.Externalexchange'
  17544. type: array
  17545. goodsgroups:
  17546. description: 商品组
  17547. items:
  17548. $ref: '#/definitions/models.Goodsgroup'
  17549. type: array
  17550. loginAccount:
  17551. $ref: '#/definitions/models.Loginaccount'
  17552. description: 登录账号
  17553. type: object
  17554. markets:
  17555. description: 市场
  17556. items:
  17557. $ref: '#/definitions/models.Market'
  17558. type: array
  17559. systemParams:
  17560. description: 系统参数
  17561. items:
  17562. $ref: '#/definitions/models.Systemparam'
  17563. type: array
  17564. userAccount:
  17565. $ref: '#/definitions/models.Useraccount'
  17566. description: 用户账号
  17567. type: object
  17568. userInfo:
  17569. $ref: '#/definitions/models.Userinfo'
  17570. description: 用户信息
  17571. type: object
  17572. username:
  17573. description: 用户姓名
  17574. type: string
  17575. type: object
  17576. info:
  17577. contact: {}
  17578. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  17579. license: {}
  17580. termsOfService: http://www.muchinfo.cn
  17581. title: MTP2.0 查询服务 API
  17582. version: "1.0"
  17583. paths:
  17584. /CPTrade/QueryCPTradeMyBidInfos:
  17585. get:
  17586. parameters:
  17587. - description: 资金账户
  17588. in: query
  17589. name: accountid
  17590. required: true
  17591. type: integer
  17592. - description: 预售市场ID
  17593. in: query
  17594. name: marketid
  17595. type: integer
  17596. - description: 预售商品ID
  17597. in: query
  17598. name: goodsid
  17599. type: integer
  17600. produces:
  17601. - application/json
  17602. responses:
  17603. "200":
  17604. description: OK
  17605. schema:
  17606. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  17607. "500":
  17608. description: Internal Server Error
  17609. schema:
  17610. $ref: '#/definitions/app.Response'
  17611. security:
  17612. - ApiKeyAuth: []
  17613. summary: 查询产能预售我的出价信息
  17614. tags:
  17615. - 产能预售
  17616. /CPTrade/QueryCPTradeOrderDetail:
  17617. get:
  17618. parameters:
  17619. - description: 预售商品ID
  17620. in: query
  17621. name: goodsid
  17622. type: integer
  17623. - description: 预售市场ID
  17624. in: query
  17625. name: marketid
  17626. type: integer
  17627. - description: 预售商品ID列表 - 格式:1,2,3
  17628. in: query
  17629. name: goodsids
  17630. type: string
  17631. produces:
  17632. - application/json
  17633. responses:
  17634. "200":
  17635. description: OK
  17636. schema:
  17637. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  17638. "500":
  17639. description: Internal Server Error
  17640. schema:
  17641. $ref: '#/definitions/app.Response'
  17642. security:
  17643. - ApiKeyAuth: []
  17644. summary: 查询产能预售委托单信息
  17645. tags:
  17646. - 产能预售
  17647. /CPTrade/QueryMyCPTradeGoods:
  17648. get:
  17649. parameters:
  17650. - description: 资金账户
  17651. in: query
  17652. name: accountid
  17653. required: true
  17654. type: integer
  17655. produces:
  17656. - application/json
  17657. responses:
  17658. "200":
  17659. description: OK
  17660. schema:
  17661. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  17662. "500":
  17663. description: Internal Server Error
  17664. schema:
  17665. $ref: '#/definitions/app.Response'
  17666. security:
  17667. - ApiKeyAuth: []
  17668. summary: 查询我的预售信息
  17669. tags:
  17670. - 产能预售
  17671. /CPTrade/QueryPositionCancel:
  17672. get:
  17673. parameters:
  17674. - description: 账户ID
  17675. in: query
  17676. name: userid
  17677. required: true
  17678. type: integer
  17679. - description: 注销ID
  17680. in: query
  17681. name: cancelid
  17682. type: integer
  17683. - description: 资金账户ID
  17684. in: query
  17685. name: accountid
  17686. type: integer
  17687. produces:
  17688. - application/json
  17689. responses:
  17690. "200":
  17691. description: OK
  17692. schema:
  17693. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  17694. "500":
  17695. description: Internal Server Error
  17696. schema:
  17697. $ref: '#/definitions/app.Response'
  17698. security:
  17699. - ApiKeyAuth: []
  17700. summary: 查询远期订单注销申请信息
  17701. tags:
  17702. - 产能预售
  17703. /CPTrade/QueryPreasleApply:
  17704. get:
  17705. parameters:
  17706. - description: 账户ID
  17707. in: query
  17708. name: userid
  17709. required: true
  17710. type: integer
  17711. - description: 申请ID
  17712. in: query
  17713. name: applyid
  17714. type: integer
  17715. - description: 资金账户ID
  17716. in: query
  17717. name: accountid
  17718. type: integer
  17719. produces:
  17720. - application/json
  17721. responses:
  17722. "200":
  17723. description: OK
  17724. schema:
  17725. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  17726. "500":
  17727. description: Internal Server Error
  17728. schema:
  17729. $ref: '#/definitions/app.Response'
  17730. security:
  17731. - ApiKeyAuth: []
  17732. summary: 查询产能预售申请信息
  17733. tags:
  17734. - 产能预售
  17735. /CPTrade/QueryPresaleGoodsEx:
  17736. get:
  17737. parameters:
  17738. - description: 预售商品ID
  17739. in: query
  17740. name: goodsid
  17741. type: integer
  17742. - description: 预售市场ID
  17743. in: query
  17744. name: marketid
  17745. type: integer
  17746. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  17747. in: query
  17748. name: presalemode
  17749. type: integer
  17750. - description: 预售商品ID列表 - 格式:1,2,3
  17751. in: query
  17752. name: goodsids
  17753. type: string
  17754. - description: 预售商品代码
  17755. in: query
  17756. name: goodscode
  17757. type: string
  17758. produces:
  17759. - application/json
  17760. responses:
  17761. "200":
  17762. description: OK
  17763. schema:
  17764. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  17765. "500":
  17766. description: Internal Server Error
  17767. schema:
  17768. $ref: '#/definitions/app.Response'
  17769. security:
  17770. - ApiKeyAuth: []
  17771. summary: 查询产能预售商品扩展信息
  17772. tags:
  17773. - 产能预售
  17774. /CPTrade/QueryUserGoodsData:
  17775. get:
  17776. parameters:
  17777. - description: 资金账户ID
  17778. in: query
  17779. name: accountid
  17780. required: true
  17781. type: integer
  17782. produces:
  17783. - application/json
  17784. responses:
  17785. "200":
  17786. description: OK
  17787. schema:
  17788. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  17789. "500":
  17790. description: Internal Server Error
  17791. schema:
  17792. $ref: '#/definitions/app.Response'
  17793. security:
  17794. - ApiKeyAuth: []
  17795. summary: 查询远期订单信息
  17796. tags:
  17797. - 产能预售
  17798. /Common/GetAllEnums:
  17799. get:
  17800. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  17801. parameters:
  17802. - description: 起始自增ID
  17803. in: query
  17804. name: autoid
  17805. type: integer
  17806. produces:
  17807. - application/json
  17808. responses:
  17809. "200":
  17810. description: OK
  17811. schema:
  17812. $ref: '#/definitions/models.Enumdicitem'
  17813. "500":
  17814. description: Internal Server Error
  17815. schema:
  17816. $ref: '#/definitions/app.Response'
  17817. summary: 获取所有枚举信息
  17818. tags:
  17819. - 通用服务
  17820. /Common/GetClientMenus:
  17821. get:
  17822. parameters:
  17823. - description: 登录账号
  17824. in: query
  17825. name: loginID
  17826. required: true
  17827. type: integer
  17828. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  17829. in: query
  17830. name: clientType
  17831. type: integer
  17832. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  17833. in: query
  17834. name: name
  17835. type: string
  17836. produces:
  17837. - application/json
  17838. responses:
  17839. "200":
  17840. description: OK
  17841. schema:
  17842. items:
  17843. $ref: '#/definitions/common.ClientMenu'
  17844. type: array
  17845. "500":
  17846. description: Internal Server Error
  17847. schema:
  17848. $ref: '#/definitions/app.Response'
  17849. security:
  17850. - ApiKeyAuth: []
  17851. summary: 获取交易端菜单
  17852. tags:
  17853. - 通用服务
  17854. /Common/GetDivisions:
  17855. get:
  17856. produces:
  17857. - application/json
  17858. responses:
  17859. "200":
  17860. description: OK
  17861. schema:
  17862. $ref: '#/definitions/models.Division'
  17863. "500":
  17864. description: Internal Server Error
  17865. schema:
  17866. $ref: '#/definitions/app.Response'
  17867. summary: 查询区域信息
  17868. tags:
  17869. - 通用服务
  17870. /Common/GetServerTime:
  17871. get:
  17872. produces:
  17873. - application/json
  17874. responses:
  17875. "200":
  17876. description: OK
  17877. schema:
  17878. $ref: '#/definitions/app.Response'
  17879. "500":
  17880. description: Internal Server Error
  17881. schema:
  17882. $ref: '#/definitions/app.Response'
  17883. summary: 获取服务器时间
  17884. tags:
  17885. - 通用服务
  17886. /Common/NoticeReaded:
  17887. post:
  17888. parameters:
  17889. - description: 登录账号
  17890. in: query
  17891. name: loginID
  17892. required: true
  17893. type: integer
  17894. - description: 通知公告ID
  17895. in: query
  17896. name: noticeID
  17897. required: true
  17898. type: integer
  17899. produces:
  17900. - application/json
  17901. responses:
  17902. "200":
  17903. description: OK
  17904. schema:
  17905. $ref: '#/definitions/app.Response'
  17906. "500":
  17907. description: Internal Server Error
  17908. schema:
  17909. $ref: '#/definitions/app.Response'
  17910. security:
  17911. - ApiKeyAuth: []
  17912. summary: 通知公告设置已读请求
  17913. tags:
  17914. - 通用服务
  17915. /Common/QueryErrorInfos:
  17916. get:
  17917. description: 如果传入rowNumber,则返回此rowNumber后的数据
  17918. parameters:
  17919. - description: 起始行号前索引
  17920. in: query
  17921. name: rowNumber
  17922. type: string
  17923. produces:
  17924. - application/json
  17925. responses:
  17926. "200":
  17927. description: OK
  17928. schema:
  17929. $ref: '#/definitions/models.QueryErrorInfosRsp'
  17930. "500":
  17931. description: Internal Server Error
  17932. schema:
  17933. $ref: '#/definitions/app.Response'
  17934. summary: 获取数据库错误信息
  17935. tags:
  17936. - 通用服务
  17937. /Common/QueryImageConfigs:
  17938. get:
  17939. parameters:
  17940. - description: 用户id
  17941. in: query
  17942. name: userId
  17943. type: integer
  17944. - description: 类型 - 1:App首页轮播 2:我的
  17945. in: query
  17946. name: imageType
  17947. type: integer
  17948. produces:
  17949. - application/json
  17950. responses:
  17951. "200":
  17952. description: OK
  17953. schema:
  17954. $ref: '#/definitions/common.QueryImageConfigsRsp'
  17955. "500":
  17956. description: Internal Server Error
  17957. schema:
  17958. $ref: '#/definitions/app.Response'
  17959. summary: 查询轮播图配置信息
  17960. tags:
  17961. - 通用服务
  17962. /Common/QueryNotice:
  17963. get:
  17964. parameters:
  17965. - description: 页码
  17966. in: query
  17967. name: page
  17968. type: integer
  17969. - description: 每页条数
  17970. in: query
  17971. name: pagesize
  17972. type: integer
  17973. - description: 登录账号
  17974. in: query
  17975. name: loginID
  17976. required: true
  17977. type: integer
  17978. - description: 消息类型 - 1:公告通知 2:系统消息
  17979. in: query
  17980. name: msgType
  17981. type: integer
  17982. - description: 是否只获取未读信息
  17983. in: query
  17984. name: onlyUnRead
  17985. type: boolean
  17986. - description: 自增ID,传入后会返回这个ID后面的记录
  17987. in: query
  17988. name: lastID
  17989. type: integer
  17990. produces:
  17991. - application/json
  17992. responses:
  17993. "200":
  17994. description: OK
  17995. schema:
  17996. $ref: '#/definitions/common.QueryNoticeRsp'
  17997. "500":
  17998. description: Internal Server Error
  17999. schema:
  18000. $ref: '#/definitions/app.Response'
  18001. security:
  18002. - ApiKeyAuth: []
  18003. summary: 通知公告系统消息查询
  18004. tags:
  18005. - 通用服务
  18006. /Common/QueryProvincesAndCities:
  18007. get:
  18008. parameters:
  18009. - description: 省ID
  18010. in: query
  18011. name: provinceID
  18012. type: integer
  18013. produces:
  18014. - application/json
  18015. responses:
  18016. "200":
  18017. description: OK
  18018. schema:
  18019. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  18020. "500":
  18021. description: Internal Server Error
  18022. schema:
  18023. $ref: '#/definitions/app.Response'
  18024. summary: 查询省市信息(不包括区)
  18025. tags:
  18026. - 通用服务
  18027. /Common/QueryTableDefine:
  18028. get:
  18029. parameters:
  18030. - description: 表key
  18031. in: query
  18032. name: tableKey
  18033. type: string
  18034. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  18035. in: query
  18036. name: tableType
  18037. type: integer
  18038. produces:
  18039. - application/json
  18040. responses:
  18041. "200":
  18042. description: OK
  18043. schema:
  18044. $ref: '#/definitions/common.QueryTableDefineRsp'
  18045. "500":
  18046. description: Internal Server Error
  18047. schema:
  18048. $ref: '#/definitions/app.Response'
  18049. summary: 查询交易端列表头信息
  18050. tags:
  18051. - 通用服务
  18052. /Common/QueryTraderMenu:
  18053. get:
  18054. parameters:
  18055. - description: 登录账号
  18056. in: query
  18057. name: loginid
  18058. required: true
  18059. type: integer
  18060. produces:
  18061. - application/json
  18062. responses:
  18063. "200":
  18064. description: OK
  18065. schema:
  18066. $ref: '#/definitions/common.QueryTraderMenuRsp'
  18067. "500":
  18068. description: Internal Server Error
  18069. schema:
  18070. $ref: '#/definitions/app.Response'
  18071. summary: 查询交易端菜单
  18072. tags:
  18073. - 通用服务
  18074. /Delivery/QueryDeliveryRelation:
  18075. get:
  18076. parameters:
  18077. - description: 商品ID
  18078. in: query
  18079. name: goodsid
  18080. type: integer
  18081. - description: 品种ID
  18082. in: query
  18083. name: deliverygoodsid
  18084. type: integer
  18085. - description: 市场ID
  18086. in: query
  18087. name: marketid
  18088. type: integer
  18089. produces:
  18090. - application/json
  18091. responses:
  18092. "200":
  18093. description: OK
  18094. schema:
  18095. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  18096. "500":
  18097. description: Internal Server Error
  18098. schema:
  18099. $ref: '#/definitions/app.Response'
  18100. security:
  18101. - ApiKeyAuth: []
  18102. summary: 查询商品交割关系表
  18103. tags:
  18104. - 交割服务
  18105. /Ermcp/GetErmcpGoods:
  18106. get:
  18107. parameters:
  18108. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18109. in: query
  18110. name: lastUpdateTime
  18111. type: string
  18112. produces:
  18113. - application/json
  18114. responses:
  18115. "200":
  18116. description: OK
  18117. schema:
  18118. $ref: '#/definitions/models.ErmcpGoods'
  18119. "500":
  18120. description: Internal Server Error
  18121. schema:
  18122. $ref: '#/definitions/app.Response'
  18123. security:
  18124. - ApiKeyAuth: []
  18125. summary: 查询企业风管期货商品信息
  18126. tags:
  18127. - 企业风险管理(app)
  18128. /Ermcp/GetErmcpGoodsSortByPosition:
  18129. get:
  18130. parameters:
  18131. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  18132. in: query
  18133. name: sortIndex
  18134. type: string
  18135. produces:
  18136. - application/json
  18137. responses:
  18138. "200":
  18139. description: OK
  18140. schema:
  18141. $ref: '#/definitions/models.Goodssortbypreposition'
  18142. "500":
  18143. description: Internal Server Error
  18144. schema:
  18145. $ref: '#/definitions/app.Response'
  18146. security:
  18147. - ApiKeyAuth: []
  18148. summary: 查询企业风管期货主力、次主力商品信息
  18149. tags:
  18150. - 企业风险管理(app)
  18151. /Ermcp/GetErmcpOutAccountStatus:
  18152. get:
  18153. parameters:
  18154. - description: 登录账号
  18155. in: query
  18156. name: loginID
  18157. required: true
  18158. type: integer
  18159. produces:
  18160. - application/json
  18161. responses:
  18162. "200":
  18163. description: OK
  18164. schema:
  18165. $ref: '#/definitions/models.Hedgemarketopenlog'
  18166. "500":
  18167. description: Internal Server Error
  18168. schema:
  18169. $ref: '#/definitions/app.Response'
  18170. security:
  18171. - ApiKeyAuth: []
  18172. summary: 获取目标登录账号当前对冲账号在线状态
  18173. tags:
  18174. - 企业风险管理(app)
  18175. /Ermcp/GetErmcpRoleFuncMenuLists:
  18176. get:
  18177. parameters:
  18178. - description: 登录账号
  18179. in: query
  18180. name: loginID
  18181. required: true
  18182. type: integer
  18183. produces:
  18184. - application/json
  18185. responses:
  18186. "200":
  18187. description: OK
  18188. schema:
  18189. $ref: '#/definitions/models.Funcmenulist'
  18190. "500":
  18191. description: Internal Server Error
  18192. schema:
  18193. $ref: '#/definitions/app.Response'
  18194. security:
  18195. - ApiKeyAuth: []
  18196. summary: 获取企业风管终端权限
  18197. tags:
  18198. - 企业风险管理(app)
  18199. /Ermcp/QueryAccMgrBizGroupSet:
  18200. get:
  18201. parameters:
  18202. - description: 用户ID
  18203. in: query
  18204. name: userid
  18205. required: true
  18206. type: integer
  18207. - description: 现货商品id
  18208. in: query
  18209. name: deliverygoodsid
  18210. type: integer
  18211. produces:
  18212. - application/json
  18213. responses:
  18214. "200":
  18215. description: OK
  18216. schema:
  18217. items:
  18218. $ref: '#/definitions/models.ErmcpBizGroupEx'
  18219. type: array
  18220. "500":
  18221. description: Internal Server Error
  18222. schema:
  18223. $ref: '#/definitions/app.Response'
  18224. security:
  18225. - ApiKeyAuth: []
  18226. summary: 查询业务类型分组(账户管理/账户设置)
  18227. tags:
  18228. - 企业风险管理(app)
  18229. /Ermcp/QueryAccMgrLoginUser:
  18230. get:
  18231. parameters:
  18232. - description: 用户ID
  18233. in: query
  18234. name: userid
  18235. required: true
  18236. type: integer
  18237. - description: 用户类型 2-机构 7-企业成员
  18238. in: query
  18239. name: usertype
  18240. type: integer
  18241. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  18242. in: query
  18243. name: querytype
  18244. required: true
  18245. type: integer
  18246. produces:
  18247. - application/json
  18248. responses:
  18249. "200":
  18250. description: OK
  18251. schema:
  18252. items:
  18253. $ref: '#/definitions/models.ErmcpLoginUserEx'
  18254. type: array
  18255. "500":
  18256. description: Internal Server Error
  18257. schema:
  18258. $ref: '#/definitions/app.Response'
  18259. security:
  18260. - ApiKeyAuth: []
  18261. summary: 查询账户管理登录账号(账户管理/登录账号)
  18262. tags:
  18263. - 企业风险管理(app)
  18264. /Ermcp/QueryAccMgrMainAccountInfo:
  18265. get:
  18266. parameters:
  18267. - description: 用户ID
  18268. in: query
  18269. name: userid
  18270. type: integer
  18271. - description: 主账号id
  18272. in: query
  18273. name: accountid
  18274. type: integer
  18275. produces:
  18276. - application/json
  18277. responses:
  18278. "200":
  18279. description: OK
  18280. schema:
  18281. items:
  18282. $ref: '#/definitions/models.MainAccountInfo'
  18283. type: array
  18284. "500":
  18285. description: Internal Server Error
  18286. schema:
  18287. $ref: '#/definitions/app.Response'
  18288. security:
  18289. - ApiKeyAuth: []
  18290. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  18291. tags:
  18292. - 企业风险管理(app)
  18293. /Ermcp/QueryAccMgrRole:
  18294. get:
  18295. parameters:
  18296. - description: 用户ID
  18297. in: query
  18298. name: userid
  18299. required: true
  18300. type: integer
  18301. produces:
  18302. - application/json
  18303. responses:
  18304. "200":
  18305. description: OK
  18306. schema:
  18307. items:
  18308. $ref: '#/definitions/models.ErmcpRole'
  18309. type: array
  18310. "500":
  18311. description: Internal Server Error
  18312. schema:
  18313. $ref: '#/definitions/app.Response'
  18314. security:
  18315. - ApiKeyAuth: []
  18316. summary: 查询账户管理角色设置(账户管理/角色设置)
  18317. tags:
  18318. - 企业风险管理(app)
  18319. /Ermcp/QueryAccMgrRoleMenu:
  18320. get:
  18321. parameters:
  18322. - description: 用户ID
  18323. in: query
  18324. name: userid
  18325. required: true
  18326. type: integer
  18327. - description: 角色id(可多个,逗号隔开)
  18328. in: query
  18329. name: roleid
  18330. type: string
  18331. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  18332. in: query
  18333. name: menutype
  18334. type: integer
  18335. produces:
  18336. - application/json
  18337. responses:
  18338. "200":
  18339. description: OK
  18340. schema:
  18341. items:
  18342. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  18343. type: array
  18344. "500":
  18345. description: Internal Server Error
  18346. schema:
  18347. $ref: '#/definitions/app.Response'
  18348. security:
  18349. - ApiKeyAuth: []
  18350. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  18351. tags:
  18352. - 企业风险管理(app)
  18353. /Ermcp/QueryAccMgrTaAccountInfo:
  18354. get:
  18355. parameters:
  18356. - description: 用户ID
  18357. in: query
  18358. name: userid
  18359. required: true
  18360. type: integer
  18361. - description: 账号id
  18362. in: query
  18363. name: accountid
  18364. type: integer
  18365. produces:
  18366. - application/json
  18367. responses:
  18368. "200":
  18369. description: OK
  18370. schema:
  18371. items:
  18372. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  18373. type: array
  18374. "500":
  18375. description: Internal Server Error
  18376. schema:
  18377. $ref: '#/definitions/app.Response'
  18378. security:
  18379. - ApiKeyAuth: []
  18380. summary: 查询账户管理授信(账户管理/账户设置/授信)
  18381. tags:
  18382. - 企业风险管理(app)
  18383. /Ermcp/QueryAccMgrTaaccount:
  18384. get:
  18385. parameters:
  18386. - description: 用户ID
  18387. in: query
  18388. name: userid
  18389. required: true
  18390. type: integer
  18391. produces:
  18392. - application/json
  18393. responses:
  18394. "200":
  18395. description: OK
  18396. schema:
  18397. items:
  18398. $ref: '#/definitions/models.ErmcpTaAccountEx'
  18399. type: array
  18400. "500":
  18401. description: Internal Server Error
  18402. schema:
  18403. $ref: '#/definitions/app.Response'
  18404. security:
  18405. - ApiKeyAuth: []
  18406. summary: 查询账户管理期货账号(账户管理/期货账号)
  18407. tags:
  18408. - 企业风险管理(app)
  18409. /Ermcp/QueryAvaildGoodsGroup:
  18410. get:
  18411. parameters:
  18412. - description: 所属机构ID
  18413. in: query
  18414. name: userid
  18415. required: true
  18416. type: integer
  18417. produces:
  18418. - application/json
  18419. responses:
  18420. "200":
  18421. description: OK
  18422. schema:
  18423. items:
  18424. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  18425. type: array
  18426. "500":
  18427. description: Internal Server Error
  18428. schema:
  18429. $ref: '#/definitions/app.Response'
  18430. security:
  18431. - ApiKeyAuth: []
  18432. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  18433. tags:
  18434. - 企业风险管理(app)
  18435. /Ermcp/QueryBusinessDj:
  18436. get:
  18437. parameters:
  18438. - description: 用户ID
  18439. in: query
  18440. name: UserId
  18441. required: true
  18442. type: integer
  18443. - description: 用户类型 2-机构 7-企业成员
  18444. in: query
  18445. name: usertype
  18446. type: integer
  18447. - description: 现货合同ID, 不填则查所有
  18448. in: query
  18449. name: relatedid
  18450. type: string
  18451. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18452. in: query
  18453. name: applystatus
  18454. type: string
  18455. produces:
  18456. - application/json
  18457. responses:
  18458. "200":
  18459. description: OK
  18460. schema:
  18461. items:
  18462. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  18463. type: array
  18464. "500":
  18465. description: Internal Server Error
  18466. schema:
  18467. $ref: '#/definitions/app.Response'
  18468. security:
  18469. - ApiKeyAuth: []
  18470. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  18471. tags:
  18472. - 企业风险管理(app)
  18473. /Ermcp/QueryBusinessFp:
  18474. get:
  18475. parameters:
  18476. - description: 用户ID
  18477. in: query
  18478. name: UserId
  18479. required: true
  18480. type: integer
  18481. - description: 用户类型 2-机构 7-企业成员
  18482. in: query
  18483. name: usertype
  18484. type: integer
  18485. - description: 现货合同ID, 不填则查所有
  18486. in: query
  18487. name: relatedid
  18488. type: string
  18489. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18490. in: query
  18491. name: applystatus
  18492. type: string
  18493. produces:
  18494. - application/json
  18495. responses:
  18496. "200":
  18497. description: OK
  18498. schema:
  18499. items:
  18500. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  18501. type: array
  18502. "500":
  18503. description: Internal Server Error
  18504. schema:
  18505. $ref: '#/definitions/app.Response'
  18506. security:
  18507. - ApiKeyAuth: []
  18508. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  18509. tags:
  18510. - 企业风险管理(app)
  18511. /Ermcp/QueryBusinessJs:
  18512. get:
  18513. parameters:
  18514. - description: 用户ID
  18515. in: query
  18516. name: UserId
  18517. required: true
  18518. type: integer
  18519. - description: 用户类型 2-机构 7-企业成员
  18520. in: query
  18521. name: usertype
  18522. type: integer
  18523. - description: 现货合同ID, 不填则查所有
  18524. in: query
  18525. name: relatedid
  18526. type: string
  18527. - description: 操作申请id
  18528. in: query
  18529. name: operateapplyid
  18530. type: string
  18531. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18532. in: query
  18533. name: applystatus
  18534. type: string
  18535. produces:
  18536. - application/json
  18537. responses:
  18538. "200":
  18539. description: OK
  18540. schema:
  18541. items:
  18542. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  18543. type: array
  18544. "500":
  18545. description: Internal Server Error
  18546. schema:
  18547. $ref: '#/definitions/app.Response'
  18548. security:
  18549. - ApiKeyAuth: []
  18550. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  18551. tags:
  18552. - 企业风险管理(app)
  18553. /Ermcp/QueryBusinessJsEx:
  18554. get:
  18555. parameters:
  18556. - description: 用户ID
  18557. in: query
  18558. name: UserId
  18559. required: true
  18560. type: integer
  18561. - description: 用户类型 2-机构 7-企业成员
  18562. in: query
  18563. name: usertype
  18564. type: integer
  18565. - description: 现货合同ID, 不填则查所有
  18566. in: query
  18567. name: relatedid
  18568. type: string
  18569. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18570. in: query
  18571. name: applystatus
  18572. type: string
  18573. produces:
  18574. - application/json
  18575. responses:
  18576. "200":
  18577. description: OK
  18578. schema:
  18579. items:
  18580. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  18581. type: array
  18582. "500":
  18583. description: Internal Server Error
  18584. schema:
  18585. $ref: '#/definitions/app.Response'
  18586. security:
  18587. - ApiKeyAuth: []
  18588. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  18589. tags:
  18590. - 企业风险管理(app)
  18591. /Ermcp/QueryBusinessKx:
  18592. get:
  18593. parameters:
  18594. - description: 用户ID
  18595. in: query
  18596. name: UserId
  18597. required: true
  18598. type: integer
  18599. - description: 用户类型 2-机构 7-企业成员
  18600. in: query
  18601. name: usertype
  18602. type: integer
  18603. - description: 现货合同ID, 不填则查所有
  18604. in: query
  18605. name: relatedid
  18606. type: string
  18607. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18608. in: query
  18609. name: applystatus
  18610. type: string
  18611. produces:
  18612. - application/json
  18613. responses:
  18614. "200":
  18615. description: OK
  18616. schema:
  18617. items:
  18618. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  18619. type: array
  18620. "500":
  18621. description: Internal Server Error
  18622. schema:
  18623. $ref: '#/definitions/app.Response'
  18624. security:
  18625. - ApiKeyAuth: []
  18626. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  18627. tags:
  18628. - 企业风险管理(app)
  18629. /Ermcp/QueryChangeLog:
  18630. get:
  18631. parameters:
  18632. - description: 合同ID
  18633. in: query
  18634. name: RelatedId
  18635. required: true
  18636. type: string
  18637. produces:
  18638. - application/json
  18639. responses:
  18640. "200":
  18641. description: OK
  18642. schema:
  18643. items:
  18644. $ref: '#/definitions/ermcp.QryOPLogRsp'
  18645. type: array
  18646. "500":
  18647. description: Internal Server Error
  18648. schema:
  18649. $ref: '#/definitions/app.Response'
  18650. security:
  18651. - ApiKeyAuth: []
  18652. summary: 查询变更记录
  18653. tags:
  18654. - 企业风险管理(app)
  18655. /Ermcp/QueryErmcpHisOrderDetails:
  18656. get:
  18657. parameters:
  18658. - description: 资金账户ID
  18659. in: query
  18660. name: accountID
  18661. required: true
  18662. type: integer
  18663. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18664. in: query
  18665. name: startDate
  18666. type: string
  18667. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18668. in: query
  18669. name: endDate
  18670. type: string
  18671. produces:
  18672. - application/json
  18673. responses:
  18674. "200":
  18675. description: OK
  18676. schema:
  18677. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18678. "500":
  18679. description: Internal Server Error
  18680. schema:
  18681. $ref: '#/definitions/app.Response'
  18682. security:
  18683. - ApiKeyAuth: []
  18684. summary: 获取企业风管期货历史委托单信息
  18685. tags:
  18686. - 企业风险管理(app)
  18687. /Ermcp/QueryErmcpHisTradeDetails:
  18688. get:
  18689. parameters:
  18690. - description: 资金账户ID
  18691. in: query
  18692. name: accountID
  18693. required: true
  18694. type: integer
  18695. - description: 商品ID
  18696. in: query
  18697. name: goodsID
  18698. type: integer
  18699. - description: 买卖方向,0:买 1:卖
  18700. in: query
  18701. name: buyOrSell
  18702. type: integer
  18703. - description: 关联委托单号
  18704. in: query
  18705. name: orderID
  18706. type: integer
  18707. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18708. in: query
  18709. name: startDate
  18710. type: string
  18711. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18712. in: query
  18713. name: endDate
  18714. type: string
  18715. produces:
  18716. - application/json
  18717. responses:
  18718. "200":
  18719. description: OK
  18720. schema:
  18721. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18722. "500":
  18723. description: Internal Server Error
  18724. schema:
  18725. $ref: '#/definitions/app.Response'
  18726. security:
  18727. - ApiKeyAuth: []
  18728. summary: 获取企业风管期货历史成交单信息
  18729. tags:
  18730. - 企业风险管理(app)
  18731. /Ermcp/QueryErmcpInnerHolderDetails:
  18732. get:
  18733. parameters:
  18734. - description: 资金账户ID
  18735. in: query
  18736. name: accountID
  18737. required: true
  18738. type: integer
  18739. - description: 商品ID
  18740. in: query
  18741. name: goodsID
  18742. type: integer
  18743. - description: 买卖方向,0:买 1:卖
  18744. in: query
  18745. name: buyOrSell
  18746. type: integer
  18747. produces:
  18748. - application/json
  18749. responses:
  18750. "200":
  18751. description: OK
  18752. schema:
  18753. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  18754. "500":
  18755. description: Internal Server Error
  18756. schema:
  18757. $ref: '#/definitions/app.Response'
  18758. security:
  18759. - ApiKeyAuth: []
  18760. summary: 获取企业风管期货内部持仓单信息
  18761. tags:
  18762. - 企业风险管理(app)
  18763. /Ermcp/QueryErmcpOrderDetails:
  18764. get:
  18765. parameters:
  18766. - description: 资金账户ID
  18767. in: query
  18768. name: accountID
  18769. required: true
  18770. type: integer
  18771. produces:
  18772. - application/json
  18773. responses:
  18774. "200":
  18775. description: OK
  18776. schema:
  18777. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  18778. "500":
  18779. description: Internal Server Error
  18780. schema:
  18781. $ref: '#/definitions/app.Response'
  18782. security:
  18783. - ApiKeyAuth: []
  18784. summary: 获取企业风管期货委托单信息
  18785. tags:
  18786. - 企业风险管理(app)
  18787. /Ermcp/QueryErmcpTradeDetails:
  18788. get:
  18789. parameters:
  18790. - description: 资金账户ID
  18791. in: query
  18792. name: accountID
  18793. required: true
  18794. type: integer
  18795. - description: 商品ID
  18796. in: query
  18797. name: goodsID
  18798. type: integer
  18799. - description: 买卖方向,0:买 1:卖
  18800. in: query
  18801. name: buyOrSell
  18802. type: integer
  18803. - description: 关联委托单号
  18804. in: query
  18805. name: orderID
  18806. type: integer
  18807. produces:
  18808. - application/json
  18809. responses:
  18810. "200":
  18811. description: OK
  18812. schema:
  18813. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  18814. "500":
  18815. description: Internal Server Error
  18816. schema:
  18817. $ref: '#/definitions/app.Response'
  18818. security:
  18819. - ApiKeyAuth: []
  18820. summary: 获取企业风管期货成交单信息
  18821. tags:
  18822. - 企业风险管理(app)
  18823. /Ermcp/QueryErmcpTradePosition:
  18824. get:
  18825. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  18826. parameters:
  18827. - description: 资金账户ID
  18828. in: query
  18829. name: accountID
  18830. required: true
  18831. type: integer
  18832. - description: 所属市场ID
  18833. in: query
  18834. name: marketID
  18835. type: integer
  18836. produces:
  18837. - application/json
  18838. responses:
  18839. "200":
  18840. description: OK
  18841. schema:
  18842. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  18843. "500":
  18844. description: Internal Server Error
  18845. schema:
  18846. $ref: '#/definitions/app.Response'
  18847. security:
  18848. - ApiKeyAuth: []
  18849. summary: 获取企业风管期货持仓头寸信息
  18850. tags:
  18851. - 企业风险管理(app)
  18852. /Ermcp/QueryExposureDetail:
  18853. get:
  18854. parameters:
  18855. - description: 所属机构ID
  18856. in: query
  18857. name: areaUserId
  18858. required: true
  18859. type: integer
  18860. - description: 套保商品
  18861. in: query
  18862. name: middleGoodsId
  18863. required: true
  18864. type: integer
  18865. produces:
  18866. - application/json
  18867. responses:
  18868. "200":
  18869. description: OK
  18870. schema:
  18871. items:
  18872. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  18873. type: array
  18874. "500":
  18875. description: Internal Server Error
  18876. schema:
  18877. $ref: '#/definitions/app.Response'
  18878. security:
  18879. - ApiKeyAuth: []
  18880. summary: 查询敞口现货明细
  18881. tags:
  18882. - 企业风险管理(app)
  18883. /Ermcp/QueryExposureGoods:
  18884. get:
  18885. parameters:
  18886. - description: 套保商品id
  18887. in: query
  18888. name: middlegoodsid
  18889. required: true
  18890. type: integer
  18891. produces:
  18892. - application/json
  18893. responses:
  18894. "200":
  18895. description: OK
  18896. schema:
  18897. items:
  18898. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  18899. type: array
  18900. "500":
  18901. description: Internal Server Error
  18902. schema:
  18903. $ref: '#/definitions/app.Response'
  18904. security:
  18905. - ApiKeyAuth: []
  18906. summary: 查询敞口主力合约
  18907. tags:
  18908. - 企业风险管理(app)
  18909. /Ermcp/QueryExposureHedgePosition:
  18910. get:
  18911. parameters:
  18912. - description: 用户id
  18913. in: query
  18914. name: userid
  18915. required: true
  18916. type: integer
  18917. produces:
  18918. - application/json
  18919. responses:
  18920. "200":
  18921. description: OK
  18922. schema:
  18923. items:
  18924. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  18925. type: array
  18926. "500":
  18927. description: Internal Server Error
  18928. schema:
  18929. $ref: '#/definitions/app.Response'
  18930. security:
  18931. - ApiKeyAuth: []
  18932. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  18933. tags:
  18934. - 企业风险管理(app)
  18935. /Ermcp/QueryExposureHedgePositionDetail:
  18936. get:
  18937. parameters:
  18938. - description: 所属机构ID
  18939. in: query
  18940. name: userid
  18941. required: true
  18942. type: integer
  18943. - description: 商品id
  18944. in: query
  18945. name: goodsId
  18946. required: true
  18947. type: integer
  18948. produces:
  18949. - application/json
  18950. responses:
  18951. "200":
  18952. description: OK
  18953. schema:
  18954. items:
  18955. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  18956. type: array
  18957. "500":
  18958. description: Internal Server Error
  18959. schema:
  18960. $ref: '#/definitions/app.Response'
  18961. security:
  18962. - ApiKeyAuth: []
  18963. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  18964. tags:
  18965. - 企业风险管理(app)
  18966. /Ermcp/QueryExposureSpot:
  18967. get:
  18968. parameters:
  18969. - description: 所属机构ID
  18970. in: query
  18971. name: areaUserId
  18972. required: true
  18973. type: integer
  18974. produces:
  18975. - application/json
  18976. responses:
  18977. "200":
  18978. description: OK
  18979. schema:
  18980. items:
  18981. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  18982. type: array
  18983. "500":
  18984. description: Internal Server Error
  18985. schema:
  18986. $ref: '#/definitions/app.Response'
  18987. security:
  18988. - ApiKeyAuth: []
  18989. summary: 查询敞口现货头寸(敞口/现货头寸)
  18990. tags:
  18991. - 企业风险管理(app)
  18992. /Ermcp/QueryExposureSpotDetail:
  18993. get:
  18994. parameters:
  18995. - description: 所属机构ID
  18996. in: query
  18997. name: areaUserId
  18998. required: true
  18999. type: integer
  19000. - description: 现货品种ID
  19001. in: query
  19002. name: wrstandardId
  19003. required: true
  19004. type: integer
  19005. produces:
  19006. - application/json
  19007. responses:
  19008. "200":
  19009. description: OK
  19010. schema:
  19011. items:
  19012. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  19013. type: array
  19014. "500":
  19015. description: Internal Server Error
  19016. schema:
  19017. $ref: '#/definitions/app.Response'
  19018. security:
  19019. - ApiKeyAuth: []
  19020. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19021. tags:
  19022. - 企业风险管理(app)
  19023. /Ermcp/QueryFuturesCompany:
  19024. get:
  19025. produces:
  19026. - application/json
  19027. responses:
  19028. "200":
  19029. description: OK
  19030. schema:
  19031. items:
  19032. $ref: '#/definitions/models.ErmcpFuturesCompany'
  19033. type: array
  19034. "500":
  19035. description: Internal Server Error
  19036. schema:
  19037. $ref: '#/definitions/app.Response'
  19038. security:
  19039. - ApiKeyAuth: []
  19040. summary: 查询期货公司
  19041. tags:
  19042. - 企业风险管理(app)
  19043. /Ermcp/QueryGGConvertConfig:
  19044. get:
  19045. parameters:
  19046. - description: 品种id(不填则查所有)
  19047. in: query
  19048. name: goodsgroupid
  19049. type: integer
  19050. produces:
  19051. - application/json
  19052. responses:
  19053. "200":
  19054. description: OK
  19055. schema:
  19056. items:
  19057. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  19058. type: array
  19059. "500":
  19060. description: Internal Server Error
  19061. schema:
  19062. $ref: '#/definitions/app.Response'
  19063. security:
  19064. - ApiKeyAuth: []
  19065. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  19066. tags:
  19067. - 企业风险管理(app)
  19068. /Ermcp/QueryGoodsBrand:
  19069. get:
  19070. parameters:
  19071. - description: 用户ID
  19072. in: query
  19073. name: userid
  19074. required: true
  19075. type: integer
  19076. - description: 现货商品ID
  19077. in: query
  19078. name: wrstandardid
  19079. type: integer
  19080. produces:
  19081. - application/json
  19082. responses:
  19083. "200":
  19084. description: OK
  19085. schema:
  19086. items:
  19087. $ref: '#/definitions/models.ErmcpGoodsBrand'
  19088. type: array
  19089. "500":
  19090. description: Internal Server Error
  19091. schema:
  19092. $ref: '#/definitions/app.Response'
  19093. security:
  19094. - ApiKeyAuth: []
  19095. summary: 查询商品品牌
  19096. tags:
  19097. - 企业风险管理(app)
  19098. /Ermcp/QueryGoodsModel:
  19099. get:
  19100. parameters:
  19101. - description: 用户ID
  19102. in: query
  19103. name: userid
  19104. required: true
  19105. type: integer
  19106. produces:
  19107. - application/json
  19108. responses:
  19109. "200":
  19110. description: OK
  19111. schema:
  19112. items:
  19113. $ref: '#/definitions/models.ErmcpGoodsModel'
  19114. type: array
  19115. "500":
  19116. description: Internal Server Error
  19117. schema:
  19118. $ref: '#/definitions/app.Response'
  19119. security:
  19120. - ApiKeyAuth: []
  19121. summary: 查询商品型号
  19122. tags:
  19123. - 企业风险管理(app)
  19124. /Ermcp/QueryHisExposure:
  19125. get:
  19126. parameters:
  19127. - description: 用户id
  19128. in: query
  19129. name: userid
  19130. required: true
  19131. type: integer
  19132. - description: 每个品种记录数
  19133. in: query
  19134. name: lastNum
  19135. required: true
  19136. type: integer
  19137. produces:
  19138. - application/json
  19139. responses:
  19140. "200":
  19141. description: OK
  19142. schema:
  19143. items:
  19144. $ref: '#/definitions/ermcp.HisExposureRsp'
  19145. type: array
  19146. "500":
  19147. description: Internal Server Error
  19148. schema:
  19149. $ref: '#/definitions/app.Response'
  19150. security:
  19151. - ApiKeyAuth: []
  19152. summary: 查询历史敞口(菜单:敞口/历史敞口)
  19153. tags:
  19154. - 企业风险管理(app)
  19155. /Ermcp/QueryMiddleGoods:
  19156. get:
  19157. parameters:
  19158. - description: 所属机构ID
  19159. in: query
  19160. name: userid
  19161. required: true
  19162. type: integer
  19163. - description: 状态 0-停用 1-正常
  19164. in: query
  19165. name: status
  19166. required: true
  19167. type: integer
  19168. produces:
  19169. - application/json
  19170. responses:
  19171. "200":
  19172. description: OK
  19173. schema:
  19174. items:
  19175. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  19176. type: array
  19177. "500":
  19178. description: Internal Server Error
  19179. schema:
  19180. $ref: '#/definitions/app.Response'
  19181. security:
  19182. - ApiKeyAuth: []
  19183. summary: 查询套保品种(菜单:套保品种)
  19184. tags:
  19185. - 企业风险管理(app)
  19186. /Ermcp/QueryMiddleGoodsChangeLog:
  19187. get:
  19188. parameters:
  19189. - description: 所属机构ID
  19190. in: query
  19191. name: userid
  19192. required: true
  19193. type: integer
  19194. - description: 套保品种id
  19195. in: query
  19196. name: middlegoodsid
  19197. required: true
  19198. type: integer
  19199. produces:
  19200. - application/json
  19201. responses:
  19202. "200":
  19203. description: OK
  19204. schema:
  19205. items:
  19206. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  19207. type: array
  19208. "500":
  19209. description: Internal Server Error
  19210. schema:
  19211. $ref: '#/definitions/app.Response'
  19212. security:
  19213. - ApiKeyAuth: []
  19214. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  19215. tags:
  19216. - 企业风险管理(app)
  19217. /Ermcp/QueryMiddleGoodsDetail:
  19218. get:
  19219. parameters:
  19220. - description: 所属机构ID
  19221. in: query
  19222. name: userid
  19223. required: true
  19224. type: integer
  19225. - description: 套保品种id
  19226. in: query
  19227. name: middlegoodsid
  19228. type: integer
  19229. produces:
  19230. - application/json
  19231. responses:
  19232. "200":
  19233. description: OK
  19234. schema:
  19235. items:
  19236. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  19237. type: array
  19238. "500":
  19239. description: Internal Server Error
  19240. schema:
  19241. $ref: '#/definitions/app.Response'
  19242. security:
  19243. - ApiKeyAuth: []
  19244. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  19245. tags:
  19246. - 企业风险管理(app)
  19247. /Ermcp/QueryPendingAuditInfo:
  19248. get:
  19249. parameters:
  19250. - description: 用户ID
  19251. in: query
  19252. name: UserId
  19253. required: true
  19254. type: integer
  19255. produces:
  19256. - application/json
  19257. responses:
  19258. "200":
  19259. description: OK
  19260. schema:
  19261. items:
  19262. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  19263. type: array
  19264. "500":
  19265. description: Internal Server Error
  19266. schema:
  19267. $ref: '#/definitions/app.Response'
  19268. security:
  19269. - ApiKeyAuth: []
  19270. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  19271. tags:
  19272. - 企业风险管理(app)
  19273. /Ermcp/QueryRealtimeExposure:
  19274. get:
  19275. parameters:
  19276. - description: 所属机构ID
  19277. in: query
  19278. name: userid
  19279. required: true
  19280. type: integer
  19281. produces:
  19282. - application/json
  19283. responses:
  19284. "200":
  19285. description: OK
  19286. schema:
  19287. items:
  19288. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  19289. type: array
  19290. "500":
  19291. description: Internal Server Error
  19292. schema:
  19293. $ref: '#/definitions/app.Response'
  19294. security:
  19295. - ApiKeyAuth: []
  19296. summary: 查询实时敞口
  19297. tags:
  19298. - 企业风险管理(app)
  19299. /Ermcp/QueryRealtimeExposurePosition:
  19300. get:
  19301. parameters:
  19302. - description: 用户id
  19303. in: query
  19304. name: userid
  19305. required: true
  19306. type: integer
  19307. - description: 套保商品ID
  19308. in: query
  19309. name: middleGoodsId
  19310. required: true
  19311. type: integer
  19312. produces:
  19313. - application/json
  19314. responses:
  19315. "200":
  19316. description: OK
  19317. schema:
  19318. items:
  19319. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  19320. type: array
  19321. "500":
  19322. description: Internal Server Error
  19323. schema:
  19324. $ref: '#/definitions/app.Response'
  19325. security:
  19326. - ApiKeyAuth: []
  19327. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  19328. tags:
  19329. - 企业风险管理(app)
  19330. /Ermcp/QueryRoleMenu:
  19331. get:
  19332. parameters:
  19333. - description: 登录ID
  19334. in: query
  19335. name: loginid
  19336. required: true
  19337. type: integer
  19338. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  19339. in: query
  19340. name: menutype
  19341. type: integer
  19342. produces:
  19343. - application/json
  19344. responses:
  19345. "200":
  19346. description: OK
  19347. schema:
  19348. items:
  19349. $ref: '#/definitions/models.RoleMenu'
  19350. type: array
  19351. "500":
  19352. description: Internal Server Error
  19353. schema:
  19354. $ref: '#/definitions/app.Response'
  19355. security:
  19356. - ApiKeyAuth: []
  19357. summary: 查询角色菜单和权限
  19358. tags:
  19359. - 企业风险管理(app)
  19360. /Ermcp/QueryTradeConfigTMP:
  19361. get:
  19362. parameters:
  19363. - description: 所属机构id
  19364. in: query
  19365. name: areauserid
  19366. type: integer
  19367. produces:
  19368. - application/json
  19369. responses:
  19370. "200":
  19371. description: OK
  19372. schema:
  19373. items:
  19374. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  19375. type: array
  19376. "500":
  19377. description: Internal Server Error
  19378. schema:
  19379. $ref: '#/definitions/app.Response'
  19380. security:
  19381. - ApiKeyAuth: []
  19382. summary: 查询交易模板配置
  19383. tags:
  19384. - 企业风险管理(app)
  19385. /Ermcp/QueryUserInfo:
  19386. get:
  19387. parameters:
  19388. - description: 所属机构用户ID
  19389. in: query
  19390. name: MemberUserID
  19391. required: true
  19392. type: integer
  19393. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  19394. in: query
  19395. name: queryType
  19396. required: true
  19397. type: integer
  19398. produces:
  19399. - application/json
  19400. responses:
  19401. "200":
  19402. description: OK
  19403. schema:
  19404. items:
  19405. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  19406. type: array
  19407. "500":
  19408. description: Internal Server Error
  19409. schema:
  19410. $ref: '#/definitions/app.Response'
  19411. security:
  19412. - ApiKeyAuth: []
  19413. summary: 查询客户资料
  19414. tags:
  19415. - 企业风险管理(app)
  19416. /Ermcp/QueryWarehouseInfo:
  19417. get:
  19418. parameters:
  19419. - description: 用户ID
  19420. in: query
  19421. name: userid
  19422. required: true
  19423. type: integer
  19424. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  19425. in: query
  19426. name: status
  19427. type: string
  19428. produces:
  19429. - application/json
  19430. responses:
  19431. "200":
  19432. description: OK
  19433. schema:
  19434. items:
  19435. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  19436. type: array
  19437. "500":
  19438. description: Internal Server Error
  19439. schema:
  19440. $ref: '#/definitions/app.Response'
  19441. security:
  19442. - ApiKeyAuth: []
  19443. summary: 查询仓库信息
  19444. tags:
  19445. - 企业风险管理(app)
  19446. /Ermcp3/QryAreaExpourseContractDetail:
  19447. get:
  19448. parameters:
  19449. - description: 用户ID
  19450. in: query
  19451. name: userid
  19452. required: true
  19453. type: integer
  19454. - description: 套保商品id
  19455. in: query
  19456. name: middlegoodsid
  19457. required: true
  19458. type: integer
  19459. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19460. in: query
  19461. name: cycletype
  19462. required: true
  19463. type: integer
  19464. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19465. 全(0)【原值】
  19466. in: query
  19467. name: cycletime
  19468. required: true
  19469. type: string
  19470. produces:
  19471. - application/json
  19472. responses:
  19473. "200":
  19474. description: OK
  19475. schema:
  19476. items:
  19477. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  19478. type: array
  19479. "500":
  19480. description: Internal Server Error
  19481. schema:
  19482. $ref: '#/definitions/app.Response'
  19483. security:
  19484. - ApiKeyAuth: []
  19485. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  19486. tags:
  19487. - 企业风险管理v3(app)
  19488. /Ermcp3/QryAreaExpourseFutuDetail:
  19489. get:
  19490. parameters:
  19491. - description: 用户ID
  19492. in: query
  19493. name: userid
  19494. required: true
  19495. type: integer
  19496. - description: 套保商品id
  19497. in: query
  19498. name: middlegoodsid
  19499. required: true
  19500. type: integer
  19501. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19502. in: query
  19503. name: cycletype
  19504. required: true
  19505. type: integer
  19506. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19507. 全(0)【原值】
  19508. in: query
  19509. name: cycletime
  19510. required: true
  19511. type: string
  19512. produces:
  19513. - application/json
  19514. responses:
  19515. "200":
  19516. description: OK
  19517. schema:
  19518. items:
  19519. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  19520. type: array
  19521. "500":
  19522. description: Internal Server Error
  19523. schema:
  19524. $ref: '#/definitions/app.Response'
  19525. security:
  19526. - ApiKeyAuth: []
  19527. summary: 查询敞口期货明细(敞口报表/期货明细)
  19528. tags:
  19529. - 企业风险管理v3(app)
  19530. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  19531. get:
  19532. parameters:
  19533. - description: 用户ID
  19534. in: query
  19535. name: userid
  19536. required: true
  19537. type: integer
  19538. - description: 套保商品id
  19539. in: query
  19540. name: middlegoodsid
  19541. required: true
  19542. type: integer
  19543. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19544. in: query
  19545. name: cycletype
  19546. required: true
  19547. type: integer
  19548. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19549. 全(0)【原值】
  19550. in: query
  19551. name: cycletime
  19552. required: true
  19553. type: string
  19554. produces:
  19555. - application/json
  19556. responses:
  19557. "200":
  19558. description: OK
  19559. schema:
  19560. items:
  19561. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  19562. type: array
  19563. "500":
  19564. description: Internal Server Error
  19565. schema:
  19566. $ref: '#/definitions/app.Response'
  19567. security:
  19568. - ApiKeyAuth: []
  19569. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  19570. tags:
  19571. - 企业风险管理v3(app)
  19572. /Ermcp3/QryAreaExpourseParamChLogDetail:
  19573. get:
  19574. parameters:
  19575. - description: 用户ID
  19576. in: query
  19577. name: userid
  19578. required: true
  19579. type: integer
  19580. - description: 套保商品id
  19581. in: query
  19582. name: middlegoodsid
  19583. required: true
  19584. type: integer
  19585. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19586. in: query
  19587. name: cycletype
  19588. required: true
  19589. type: integer
  19590. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19591. 全(0)【原值】
  19592. in: query
  19593. name: cycletime
  19594. required: true
  19595. type: string
  19596. produces:
  19597. - application/json
  19598. responses:
  19599. "200":
  19600. description: OK
  19601. schema:
  19602. items:
  19603. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  19604. type: array
  19605. "500":
  19606. description: Internal Server Error
  19607. schema:
  19608. $ref: '#/definitions/app.Response'
  19609. security:
  19610. - ApiKeyAuth: []
  19611. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  19612. tags:
  19613. - 企业风险管理v3(app)
  19614. /Ermcp3/QryAreaExpourseReport:
  19615. get:
  19616. parameters:
  19617. - description: 用户ID
  19618. in: query
  19619. name: userid
  19620. required: true
  19621. type: integer
  19622. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  19623. in: query
  19624. name: querytype
  19625. required: true
  19626. type: integer
  19627. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19628. in: query
  19629. name: cycletype
  19630. required: true
  19631. type: integer
  19632. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19633. 全(0)【原值】
  19634. in: query
  19635. name: cycletime
  19636. required: true
  19637. type: string
  19638. produces:
  19639. - application/json
  19640. responses:
  19641. "200":
  19642. description: OK
  19643. schema:
  19644. items:
  19645. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  19646. type: array
  19647. "500":
  19648. description: Internal Server Error
  19649. schema:
  19650. $ref: '#/definitions/app.Response'
  19651. security:
  19652. - ApiKeyAuth: []
  19653. summary: 查询敞口报表
  19654. tags:
  19655. - 企业风险管理v3(app)
  19656. /Ermcp3/QryAreaSpotplReport:
  19657. get:
  19658. parameters:
  19659. - description: 用户ID
  19660. in: query
  19661. name: userid
  19662. required: true
  19663. type: integer
  19664. - description: 查询类型 1-报表 2-报表明细
  19665. in: query
  19666. name: querytype
  19667. required: true
  19668. type: integer
  19669. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19670. in: query
  19671. name: cycletype
  19672. required: true
  19673. type: integer
  19674. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19675. 全(0)【原值】
  19676. in: query
  19677. name: cycletime
  19678. required: true
  19679. type: string
  19680. - description: 现货品种id(明细必填)
  19681. in: query
  19682. name: deliverygoodsid
  19683. type: integer
  19684. - description: 币种id(明细必填)
  19685. in: query
  19686. name: currencyid
  19687. type: integer
  19688. produces:
  19689. - application/json
  19690. responses:
  19691. "200":
  19692. description: OK
  19693. schema:
  19694. items:
  19695. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  19696. type: array
  19697. "500":
  19698. description: Internal Server Error
  19699. schema:
  19700. $ref: '#/definitions/app.Response'
  19701. security:
  19702. - ApiKeyAuth: []
  19703. summary: 查询现货报表
  19704. tags:
  19705. - 企业风险管理v3(app)
  19706. /Ermcp3/QryAreaStockReport:
  19707. get:
  19708. parameters:
  19709. - description: 用户ID
  19710. in: query
  19711. name: userid
  19712. required: true
  19713. type: integer
  19714. - description: 查询类型 1-报表 2-报表明细
  19715. in: query
  19716. name: querytype
  19717. required: true
  19718. type: integer
  19719. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19720. in: query
  19721. name: cycletype
  19722. required: true
  19723. type: integer
  19724. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19725. 全(0)【原值】
  19726. in: query
  19727. name: cycletime
  19728. required: true
  19729. type: string
  19730. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  19731. in: query
  19732. name: sumfields
  19733. type: string
  19734. - description: 品种ID
  19735. in: query
  19736. name: deliverygoodsid
  19737. type: integer
  19738. - description: 品类ID
  19739. in: query
  19740. name: wrstandardid
  19741. type: integer
  19742. - description: 品牌ID
  19743. in: query
  19744. name: spotgoodsbrandid
  19745. type: integer
  19746. - description: 仓库ID
  19747. in: query
  19748. name: warehouseinfoid
  19749. type: integer
  19750. produces:
  19751. - application/json
  19752. responses:
  19753. "200":
  19754. description: OK
  19755. schema:
  19756. items:
  19757. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  19758. type: array
  19759. "500":
  19760. description: Internal Server Error
  19761. schema:
  19762. $ref: '#/definitions/app.Response'
  19763. security:
  19764. - ApiKeyAuth: []
  19765. summary: 查询库存报表
  19766. tags:
  19767. - 企业风险管理v3(app)
  19768. /Ermcp3/QryAreaSumPL:
  19769. get:
  19770. parameters:
  19771. - description: 用户ID
  19772. in: query
  19773. name: userid
  19774. required: true
  19775. type: integer
  19776. - description: 查询类型 1-报表 2-报表明细
  19777. in: query
  19778. name: querytype
  19779. required: true
  19780. type: integer
  19781. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19782. in: query
  19783. name: cycletype
  19784. required: true
  19785. type: integer
  19786. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19787. 全(0)【原值】
  19788. in: query
  19789. name: cycletime
  19790. required: true
  19791. type: string
  19792. - description: 币种id(明细必填)
  19793. in: query
  19794. name: currencyid
  19795. type: integer
  19796. produces:
  19797. - application/json
  19798. responses:
  19799. "200":
  19800. description: OK
  19801. schema:
  19802. items:
  19803. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  19804. type: array
  19805. "500":
  19806. description: Internal Server Error
  19807. schema:
  19808. $ref: '#/definitions/app.Response'
  19809. security:
  19810. - ApiKeyAuth: []
  19811. summary: 查询汇总损益表
  19812. tags:
  19813. - 企业风险管理v3(app)
  19814. /Ermcp3/QryFinanceReport:
  19815. get:
  19816. parameters:
  19817. - description: 用户ID
  19818. in: query
  19819. name: userid
  19820. required: true
  19821. type: integer
  19822. - description: 查询类型 1-报表 2-报表明细
  19823. in: query
  19824. name: querytype
  19825. required: true
  19826. type: integer
  19827. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19828. in: query
  19829. name: cycletype
  19830. required: true
  19831. type: integer
  19832. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19833. 全(0)【原值】
  19834. in: query
  19835. name: cycletime
  19836. required: true
  19837. type: string
  19838. - description: 币种id(报表明细必填)
  19839. in: query
  19840. name: currencyid
  19841. type: integer
  19842. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  19843. in: query
  19844. name: sumfields
  19845. type: string
  19846. produces:
  19847. - application/json
  19848. responses:
  19849. "200":
  19850. description: OK
  19851. schema:
  19852. items:
  19853. $ref: '#/definitions/models.Ermcp3FinanceReport'
  19854. type: array
  19855. "500":
  19856. description: Internal Server Error
  19857. schema:
  19858. $ref: '#/definitions/app.Response'
  19859. security:
  19860. - ApiKeyAuth: []
  19861. summary: 查询财务报表
  19862. tags:
  19863. - 企业风险管理v3(app)
  19864. /Ermcp3/QryTaFutureDataReport:
  19865. get:
  19866. parameters:
  19867. - description: 用户ID
  19868. in: query
  19869. name: userid
  19870. required: true
  19871. type: integer
  19872. - description: 查询类型 1-报表 2-报表明细
  19873. in: query
  19874. name: querytype
  19875. required: true
  19876. type: integer
  19877. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  19878. in: query
  19879. name: cycletype
  19880. required: true
  19881. type: integer
  19882. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  19883. 全(0)【原值】
  19884. in: query
  19885. name: cycletime
  19886. required: true
  19887. type: string
  19888. - description: 币种id(查明细必填)
  19889. in: query
  19890. name: currencyid
  19891. type: integer
  19892. - description: 品种id(查明细必填)
  19893. in: query
  19894. name: goodsgroupid
  19895. type: integer
  19896. - description: 商品id(查明细必填)
  19897. in: query
  19898. name: goodsid
  19899. type: integer
  19900. - description: 买卖方向(查明细必填)
  19901. in: query
  19902. name: buyorsell
  19903. type: integer
  19904. produces:
  19905. - application/json
  19906. responses:
  19907. "200":
  19908. description: OK
  19909. schema:
  19910. items:
  19911. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  19912. type: array
  19913. "500":
  19914. description: Internal Server Error
  19915. schema:
  19916. $ref: '#/definitions/app.Response'
  19917. security:
  19918. - ApiKeyAuth: []
  19919. summary: 查询期货报表
  19920. tags:
  19921. - 企业风险管理v3(app)
  19922. /Ermcp3/QueryAreaStock:
  19923. get:
  19924. parameters:
  19925. - description: 用户ID
  19926. in: query
  19927. name: userid
  19928. required: true
  19929. type: integer
  19930. produces:
  19931. - application/json
  19932. responses:
  19933. "200":
  19934. description: OK
  19935. schema:
  19936. items:
  19937. $ref: '#/definitions/models.Ermcp3AreaStock'
  19938. type: array
  19939. "500":
  19940. description: Internal Server Error
  19941. schema:
  19942. $ref: '#/definitions/app.Response'
  19943. security:
  19944. - ApiKeyAuth: []
  19945. summary: 查询机构库存(库存管理/当前库存)
  19946. tags:
  19947. - 企业风险管理v3(app)
  19948. /Ermcp3/QueryAreaStockApply:
  19949. get:
  19950. parameters:
  19951. - description: 用户ID
  19952. in: query
  19953. name: userid
  19954. required: true
  19955. type: integer
  19956. - description: 用户类型 2-机构 7-企业成员
  19957. in: query
  19958. name: usertype
  19959. type: integer
  19960. - description: 现货商品ID
  19961. in: query
  19962. name: deliverygoodsid
  19963. type: integer
  19964. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  19965. in: query
  19966. name: inouttype
  19967. type: string
  19968. - description: 合同ID
  19969. in: query
  19970. name: spotcontractid
  19971. type: integer
  19972. - description: 品类ID
  19973. in: query
  19974. name: wrstandardid
  19975. type: integer
  19976. - description: 品牌ID
  19977. in: query
  19978. name: spotgoodsbrandid
  19979. type: integer
  19980. - description: 仓库ID
  19981. in: query
  19982. name: warehouseinfoid
  19983. type: integer
  19984. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19985. in: query
  19986. name: applystatus
  19987. type: string
  19988. produces:
  19989. - application/json
  19990. responses:
  19991. "200":
  19992. description: OK
  19993. schema:
  19994. items:
  19995. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  19996. type: array
  19997. "500":
  19998. description: Internal Server Error
  19999. schema:
  20000. $ref: '#/definitions/app.Response'
  20001. security:
  20002. - ApiKeyAuth: []
  20003. summary: 查询库存申请(出入库记录|库存审核)
  20004. tags:
  20005. - 企业风险管理v3(app)
  20006. /Ermcp3/QueryAreaStockApplySum:
  20007. get:
  20008. parameters:
  20009. - description: 合同ID
  20010. in: query
  20011. name: spotcontractid
  20012. required: true
  20013. type: integer
  20014. produces:
  20015. - application/json
  20016. responses:
  20017. "200":
  20018. description: OK
  20019. schema:
  20020. items:
  20021. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  20022. type: array
  20023. "500":
  20024. description: Internal Server Error
  20025. schema:
  20026. $ref: '#/definitions/app.Response'
  20027. security:
  20028. - ApiKeyAuth: []
  20029. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  20030. tags:
  20031. - 企业风险管理v3(app)
  20032. /Ermcp3/QueryDGFactoryItem:
  20033. get:
  20034. parameters:
  20035. - description: 用户id
  20036. in: query
  20037. name: userid
  20038. type: integer
  20039. - description: 用户类型 2-机构 7-企业成员
  20040. in: query
  20041. name: usertype
  20042. type: integer
  20043. - description: 选择项ID(SEQ_DGFACTORYITEM)
  20044. in: query
  20045. name: dgfactoryitemid
  20046. type: integer
  20047. - description: 现货品种ID
  20048. in: query
  20049. name: deliverygoodsid
  20050. type: integer
  20051. - description: 要素项类型
  20052. in: query
  20053. name: dgfactoryitemtypeid
  20054. type: integer
  20055. - description: 顺序
  20056. in: query
  20057. name: orderindex
  20058. type: integer
  20059. produces:
  20060. - application/json
  20061. responses:
  20062. "200":
  20063. description: OK
  20064. schema:
  20065. items:
  20066. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  20067. type: array
  20068. "500":
  20069. description: Internal Server Error
  20070. schema:
  20071. $ref: '#/definitions/app.Response'
  20072. security:
  20073. - ApiKeyAuth: []
  20074. summary: 查询品种要素定义项
  20075. tags:
  20076. - 企业风险管理v3(app)
  20077. /Ermcp3/QueryDeliveryGoods:
  20078. get:
  20079. parameters:
  20080. - description: 用户id
  20081. in: query
  20082. name: userid
  20083. required: true
  20084. type: integer
  20085. - description: 用户类型 2-机构 7-企业成员
  20086. in: query
  20087. name: usertype
  20088. type: integer
  20089. - description: 排除已配置的业务类型商品 1-套保 2-套利
  20090. in: query
  20091. name: excludecfg
  20092. type: integer
  20093. produces:
  20094. - application/json
  20095. responses:
  20096. "200":
  20097. description: OK
  20098. schema:
  20099. items:
  20100. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  20101. type: array
  20102. "500":
  20103. description: Internal Server Error
  20104. schema:
  20105. $ref: '#/definitions/app.Response'
  20106. security:
  20107. - ApiKeyAuth: []
  20108. summary: 查询现货商品
  20109. tags:
  20110. - 企业风险管理v3(app)
  20111. /Ermcp3/QueryDeliveryGoodsDetail:
  20112. get:
  20113. parameters:
  20114. - description: 用户id
  20115. in: query
  20116. name: userid
  20117. required: true
  20118. type: integer
  20119. - description: 用户类型 2-机构 7-企业成员
  20120. in: query
  20121. name: usertype
  20122. type: integer
  20123. - description: 现货商品id
  20124. in: query
  20125. name: deliverygoodsid
  20126. type: integer
  20127. produces:
  20128. - application/json
  20129. responses:
  20130. "200":
  20131. description: OK
  20132. schema:
  20133. items:
  20134. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  20135. type: array
  20136. "500":
  20137. description: Internal Server Error
  20138. schema:
  20139. $ref: '#/definitions/app.Response'
  20140. security:
  20141. - ApiKeyAuth: []
  20142. summary: 查询现货商品详情
  20143. tags:
  20144. - 企业风险管理v3(app)
  20145. /Ermcp3/QueryExposureDetail:
  20146. get:
  20147. parameters:
  20148. - description: 用户id
  20149. in: query
  20150. name: userid
  20151. required: true
  20152. type: integer
  20153. - description: 用户类型 2-机构 7-企业成员
  20154. in: query
  20155. name: usertype
  20156. type: integer
  20157. - description: 套保商品
  20158. in: query
  20159. name: middlegoodsid
  20160. required: true
  20161. type: integer
  20162. produces:
  20163. - application/json
  20164. responses:
  20165. "200":
  20166. description: OK
  20167. schema:
  20168. items:
  20169. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  20170. type: array
  20171. "500":
  20172. description: Internal Server Error
  20173. schema:
  20174. $ref: '#/definitions/app.Response'
  20175. security:
  20176. - ApiKeyAuth: []
  20177. summary: 查询敞口现货明细
  20178. tags:
  20179. - 企业风险管理v3(app)
  20180. /Ermcp3/QueryExposureSpot:
  20181. get:
  20182. parameters:
  20183. - description: 用户id
  20184. in: query
  20185. name: userid
  20186. required: true
  20187. type: integer
  20188. - description: 用户类型 2-机构 7-企业成员
  20189. in: query
  20190. name: usertype
  20191. type: integer
  20192. produces:
  20193. - application/json
  20194. responses:
  20195. "200":
  20196. description: OK
  20197. schema:
  20198. items:
  20199. $ref: '#/definitions/models.Ermcp3AreaSpot'
  20200. type: array
  20201. "500":
  20202. description: Internal Server Error
  20203. schema:
  20204. $ref: '#/definitions/app.Response'
  20205. security:
  20206. - ApiKeyAuth: []
  20207. summary: 查询敞口现货头寸(敞口/现货头寸)
  20208. tags:
  20209. - 企业风险管理v3(app)
  20210. /Ermcp3/QueryExposureSpotDetail:
  20211. get:
  20212. parameters:
  20213. - description: 用户id
  20214. in: query
  20215. name: userid
  20216. required: true
  20217. type: integer
  20218. - description: 用户类型 2-机构 7-企业成员
  20219. in: query
  20220. name: usertype
  20221. type: integer
  20222. - description: 现货品种ID
  20223. in: query
  20224. name: deliverygoodsid
  20225. required: true
  20226. type: integer
  20227. produces:
  20228. - application/json
  20229. responses:
  20230. "200":
  20231. description: OK
  20232. schema:
  20233. items:
  20234. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  20235. type: array
  20236. "500":
  20237. description: Internal Server Error
  20238. schema:
  20239. $ref: '#/definitions/app.Response'
  20240. security:
  20241. - ApiKeyAuth: []
  20242. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20243. tags:
  20244. - 企业风险管理v3(app)
  20245. /Ermcp3/QueryGoodsGroup:
  20246. get:
  20247. parameters:
  20248. - description: 用户id
  20249. in: query
  20250. name: userid
  20251. required: true
  20252. type: integer
  20253. - description: 用户类型 2-机构 7-企业成员
  20254. in: query
  20255. name: usertype
  20256. type: integer
  20257. - description: 排除套保品中已关联的商品组 1-排除
  20258. in: query
  20259. name: excludecfg
  20260. type: integer
  20261. produces:
  20262. - application/json
  20263. responses:
  20264. "200":
  20265. description: OK
  20266. schema:
  20267. items:
  20268. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  20269. type: array
  20270. "500":
  20271. description: Internal Server Error
  20272. schema:
  20273. $ref: '#/definitions/app.Response'
  20274. security:
  20275. - ApiKeyAuth: []
  20276. summary: 查询期货商品组
  20277. tags:
  20278. - 企业风险管理v3(app)
  20279. /Ermcp3/QueryGoodsWrstandard:
  20280. get:
  20281. parameters:
  20282. - description: 用户id
  20283. in: query
  20284. name: userid
  20285. required: true
  20286. type: integer
  20287. - description: 用户类型 2-机构 7-企业成员
  20288. in: query
  20289. name: usertype
  20290. type: integer
  20291. - description: 现货商品id
  20292. in: query
  20293. name: deliverygoodsid
  20294. type: integer
  20295. produces:
  20296. - application/json
  20297. responses:
  20298. "200":
  20299. description: OK
  20300. schema:
  20301. items:
  20302. $ref: '#/definitions/models.Ermcp3Wrstandard'
  20303. type: array
  20304. "500":
  20305. description: Internal Server Error
  20306. schema:
  20307. $ref: '#/definitions/app.Response'
  20308. security:
  20309. - ApiKeyAuth: []
  20310. summary: 查询商品品类
  20311. tags:
  20312. - 企业风险管理v3(app)
  20313. /Ermcp3/QueryGoodsbrand:
  20314. get:
  20315. parameters:
  20316. - description: 用户id
  20317. in: query
  20318. name: userid
  20319. required: true
  20320. type: integer
  20321. - description: 用户类型 2-机构 7-企业成员
  20322. in: query
  20323. name: usertype
  20324. type: integer
  20325. produces:
  20326. - application/json
  20327. responses:
  20328. "200":
  20329. description: OK
  20330. schema:
  20331. items:
  20332. $ref: '#/definitions/models.Ermcp3Brand'
  20333. type: array
  20334. "500":
  20335. description: Internal Server Error
  20336. schema:
  20337. $ref: '#/definitions/app.Response'
  20338. security:
  20339. - ApiKeyAuth: []
  20340. summary: 查询商品品牌
  20341. tags:
  20342. - 企业风险管理v3(app)
  20343. /Ermcp3/QueryHedgePlan:
  20344. get:
  20345. parameters:
  20346. - description: 用户ID
  20347. in: query
  20348. name: userid
  20349. required: true
  20350. type: integer
  20351. - description: 用户类型 2-机构 7-企业成员
  20352. in: query
  20353. name: usertype
  20354. type: integer
  20355. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  20356. in: query
  20357. name: hedgeplanstatus
  20358. required: true
  20359. type: string
  20360. produces:
  20361. - application/json
  20362. responses:
  20363. "200":
  20364. description: OK
  20365. schema:
  20366. items:
  20367. $ref: '#/definitions/models.Ermcp3HedgePlan'
  20368. type: array
  20369. "500":
  20370. description: Internal Server Error
  20371. schema:
  20372. $ref: '#/definitions/app.Response'
  20373. security:
  20374. - ApiKeyAuth: []
  20375. summary: 查询套保计划
  20376. tags:
  20377. - 企业风险管理v3(app)
  20378. /Ermcp3/QueryMiddleGoodsDetail:
  20379. get:
  20380. parameters:
  20381. - description: 用户id
  20382. in: query
  20383. name: userid
  20384. required: true
  20385. type: integer
  20386. - description: 用户类型 2-机构 7-企业成员
  20387. in: query
  20388. name: usertype
  20389. type: integer
  20390. - description: 套保品种id
  20391. in: query
  20392. name: middlegoodsid
  20393. type: integer
  20394. produces:
  20395. - application/json
  20396. responses:
  20397. "200":
  20398. description: OK
  20399. schema:
  20400. items:
  20401. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  20402. type: array
  20403. "500":
  20404. description: Internal Server Error
  20405. schema:
  20406. $ref: '#/definitions/app.Response'
  20407. security:
  20408. - ApiKeyAuth: []
  20409. summary: 查询套保品种详情(套保品种/商品详情)
  20410. tags:
  20411. - 企业风险管理v3(app)
  20412. /Ermcp3/QueryRootUserAccount:
  20413. get:
  20414. parameters:
  20415. - description: 用户ID
  20416. in: query
  20417. name: userid
  20418. required: true
  20419. type: integer
  20420. produces:
  20421. - application/json
  20422. responses:
  20423. "200":
  20424. description: OK
  20425. schema:
  20426. items:
  20427. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  20428. type: array
  20429. "500":
  20430. description: Internal Server Error
  20431. schema:
  20432. $ref: '#/definitions/app.Response'
  20433. security:
  20434. - ApiKeyAuth: []
  20435. summary: 查询顶级用户信息
  20436. tags:
  20437. - 企业风险管理v3(app)
  20438. /Ermcp3/QuerySpotContract:
  20439. get:
  20440. parameters:
  20441. - description: 用户id
  20442. in: query
  20443. name: userid
  20444. required: true
  20445. type: integer
  20446. - description: 用户类型 2-机构 7-企业成员
  20447. in: query
  20448. name: usertype
  20449. type: integer
  20450. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  20451. in: query
  20452. name: querytype
  20453. required: true
  20454. type: integer
  20455. - description: 合同ID(SpotContractId)
  20456. in: query
  20457. name: contractid
  20458. type: string
  20459. produces:
  20460. - application/json
  20461. responses:
  20462. "200":
  20463. description: OK
  20464. schema:
  20465. items:
  20466. $ref: '#/definitions/models.Ermcp3Contract'
  20467. type: array
  20468. "500":
  20469. description: Internal Server Error
  20470. schema:
  20471. $ref: '#/definitions/app.Response'
  20472. security:
  20473. - ApiKeyAuth: []
  20474. summary: 查询现货合同
  20475. tags:
  20476. - 企业风险管理v3(app)
  20477. /Ermcp3/QuerySpotContractBS:
  20478. get:
  20479. parameters:
  20480. - description: 用户id
  20481. in: query
  20482. name: userid
  20483. required: true
  20484. type: integer
  20485. - description: 用户类型 2-机构 7-企业成员
  20486. in: query
  20487. name: usertype
  20488. type: integer
  20489. - description: 合同类型 1-采购, -1-销售
  20490. in: query
  20491. name: contracttype
  20492. required: true
  20493. type: integer
  20494. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  20495. in: query
  20496. name: querytype
  20497. required: true
  20498. type: integer
  20499. - description: 合同ID(SpotContractId)
  20500. in: query
  20501. name: contractid
  20502. type: string
  20503. produces:
  20504. - application/json
  20505. responses:
  20506. "200":
  20507. description: OK
  20508. schema:
  20509. items:
  20510. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  20511. type: array
  20512. "500":
  20513. description: Internal Server Error
  20514. schema:
  20515. $ref: '#/definitions/app.Response'
  20516. security:
  20517. - ApiKeyAuth: []
  20518. summary: 查询合同(采购/销售)
  20519. tags:
  20520. - 企业风险管理v3(app)
  20521. /Ermcp3/QuerySpotGoodsPrice:
  20522. get:
  20523. parameters:
  20524. - description: 用户ID
  20525. in: query
  20526. name: userid
  20527. required: true
  20528. type: integer
  20529. produces:
  20530. - application/json
  20531. responses:
  20532. "200":
  20533. description: OK
  20534. schema:
  20535. items:
  20536. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  20537. type: array
  20538. "500":
  20539. description: Internal Server Error
  20540. schema:
  20541. $ref: '#/definitions/app.Response'
  20542. security:
  20543. - ApiKeyAuth: []
  20544. summary: 查询现货市价(现货市价)
  20545. tags:
  20546. - 企业风险管理v3(app)
  20547. /Ermcp3/QuerySpotGoodsPriceLog:
  20548. get:
  20549. parameters:
  20550. - description: 用户ID
  20551. in: query
  20552. name: userid
  20553. required: true
  20554. type: integer
  20555. - description: 现货商品ID
  20556. in: query
  20557. name: deliverygoodsid
  20558. required: true
  20559. type: integer
  20560. - description: 品牌ID
  20561. in: query
  20562. name: brandid
  20563. type: integer
  20564. - description: 品类ID
  20565. in: query
  20566. name: wrstandardid
  20567. type: integer
  20568. produces:
  20569. - application/json
  20570. responses:
  20571. "200":
  20572. description: OK
  20573. schema:
  20574. items:
  20575. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  20576. type: array
  20577. "500":
  20578. description: Internal Server Error
  20579. schema:
  20580. $ref: '#/definitions/app.Response'
  20581. security:
  20582. - ApiKeyAuth: []
  20583. summary: 查询现货市价详情(现货市价/详情)
  20584. tags:
  20585. - 企业风险管理v3(app)
  20586. /Erms2/QueryArbitrageStrategy:
  20587. get:
  20588. parameters:
  20589. - description: 账户ID
  20590. in: query
  20591. name: userid
  20592. required: true
  20593. type: integer
  20594. - description: 商品组ID(品种ID)
  20595. in: query
  20596. name: goodsgroupid
  20597. type: string
  20598. produces:
  20599. - application/json
  20600. responses:
  20601. "200":
  20602. description: OK
  20603. schema:
  20604. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  20605. "500":
  20606. description: Internal Server Error
  20607. schema:
  20608. $ref: '#/definitions/app.Response'
  20609. security:
  20610. - ApiKeyAuth: []
  20611. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  20612. tags:
  20613. - 风险管理
  20614. /Erms2/QueryInnerTradeDetail:
  20615. get:
  20616. parameters:
  20617. - description: 资金账户
  20618. in: query
  20619. name: accountid
  20620. required: true
  20621. type: integer
  20622. produces:
  20623. - application/json
  20624. responses:
  20625. "200":
  20626. description: OK
  20627. schema:
  20628. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  20629. "500":
  20630. description: Internal Server Error
  20631. schema:
  20632. $ref: '#/definitions/app.Response'
  20633. security:
  20634. - ApiKeyAuth: []
  20635. summary: 查询内部成交单信息
  20636. tags:
  20637. - 风险管理
  20638. /Erms2/QuerySpotContract:
  20639. get:
  20640. parameters:
  20641. - description: 策略申请ID
  20642. in: query
  20643. name: asapplyid
  20644. required: true
  20645. type: integer
  20646. - description: 现货合同ID
  20647. in: query
  20648. name: spotcontractid
  20649. type: integer
  20650. produces:
  20651. - application/json
  20652. responses:
  20653. "200":
  20654. description: OK
  20655. schema:
  20656. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  20657. "500":
  20658. description: Internal Server Error
  20659. schema:
  20660. $ref: '#/definitions/app.Response'
  20661. security:
  20662. - ApiKeyAuth: []
  20663. summary: 查询现货合同表信息(指定策略ID、未结束的)
  20664. tags:
  20665. - 风险管理
  20666. /Erms3/AddErms2ASApply:
  20667. post:
  20668. parameters:
  20669. - description: 申请参数
  20670. in: body
  20671. name: jsonBody
  20672. required: true
  20673. schema:
  20674. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  20675. produces:
  20676. - application/json
  20677. responses:
  20678. "200":
  20679. description: OK
  20680. schema:
  20681. $ref: '#/definitions/app.Response'
  20682. "500":
  20683. description: Internal Server Error
  20684. schema:
  20685. $ref: '#/definitions/app.Response'
  20686. security:
  20687. - ApiKeyAuth: []
  20688. summary: 新增期现套利业务申请
  20689. tags:
  20690. - 风险管理v3
  20691. /Erms3/AddErms2SpotTradeApply:
  20692. post:
  20693. parameters:
  20694. - description: 申请参数
  20695. in: body
  20696. name: jsonBody
  20697. required: true
  20698. schema:
  20699. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  20700. produces:
  20701. - application/json
  20702. responses:
  20703. "200":
  20704. description: OK
  20705. schema:
  20706. $ref: '#/definitions/app.Response'
  20707. "500":
  20708. description: Internal Server Error
  20709. schema:
  20710. $ref: '#/definitions/app.Response'
  20711. security:
  20712. - ApiKeyAuth: []
  20713. summary: 新增现货贸易业务申请
  20714. tags:
  20715. - 风险管理v3
  20716. /Erms3/AddSpotContractApply:
  20717. post:
  20718. parameters:
  20719. - description: 申请参数
  20720. in: body
  20721. name: jsonBody
  20722. required: true
  20723. schema:
  20724. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  20725. produces:
  20726. - application/json
  20727. responses:
  20728. "200":
  20729. description: OK
  20730. schema:
  20731. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  20732. "500":
  20733. description: Internal Server Error
  20734. schema:
  20735. $ref: '#/definitions/app.Response'
  20736. security:
  20737. - ApiKeyAuth: []
  20738. summary: 新增现货合同申请
  20739. tags:
  20740. - 风险管理v3
  20741. /Erms3/AddUserInfoApply:
  20742. post:
  20743. parameters:
  20744. - description: 用户信息
  20745. in: body
  20746. name: jsonBody
  20747. required: true
  20748. schema:
  20749. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  20750. produces:
  20751. - application/json
  20752. responses:
  20753. "200":
  20754. description: OK
  20755. schema:
  20756. $ref: '#/definitions/app.Response'
  20757. "500":
  20758. description: Internal Server Error
  20759. schema:
  20760. $ref: '#/definitions/app.Response'
  20761. security:
  20762. - ApiKeyAuth: []
  20763. summary: 新增客户申请
  20764. tags:
  20765. - 风险管理v3
  20766. /Erms3/DeleteUserInfoApply:
  20767. get:
  20768. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  20769. parameters:
  20770. - description: 用户ID
  20771. in: query
  20772. name: userID
  20773. required: true
  20774. type: integer
  20775. produces:
  20776. - application/json
  20777. responses:
  20778. "200":
  20779. description: OK
  20780. schema:
  20781. $ref: '#/definitions/app.Response'
  20782. "500":
  20783. description: Internal Server Error
  20784. schema:
  20785. $ref: '#/definitions/app.Response'
  20786. security:
  20787. - ApiKeyAuth: []
  20788. summary: 删除客户申请
  20789. tags:
  20790. - 风险管理v3
  20791. /Erms3/ModifyUserInfoApply:
  20792. post:
  20793. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  20794. int, "userstate": 2 }'
  20795. parameters:
  20796. - description: 用户信息
  20797. in: body
  20798. name: jsonBody
  20799. required: true
  20800. schema:
  20801. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  20802. produces:
  20803. - application/json
  20804. responses:
  20805. "200":
  20806. description: OK
  20807. schema:
  20808. $ref: '#/definitions/app.Response'
  20809. "500":
  20810. description: Internal Server Error
  20811. schema:
  20812. $ref: '#/definitions/app.Response'
  20813. security:
  20814. - ApiKeyAuth: []
  20815. summary: 修改客户申请
  20816. tags:
  20817. - 风险管理v3
  20818. /Erms3/QueryBusinessInfo:
  20819. get:
  20820. parameters:
  20821. - description: 资金账号ID列表,用逗号分隔
  20822. in: query
  20823. name: accountids
  20824. required: true
  20825. type: string
  20826. - description: 状态,0为未结束 1为已结束
  20827. in: query
  20828. name: status
  20829. required: true
  20830. type: integer
  20831. produces:
  20832. - application/json
  20833. responses:
  20834. "200":
  20835. description: OK
  20836. schema:
  20837. items:
  20838. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  20839. type: array
  20840. "500":
  20841. description: Internal Server Error
  20842. schema:
  20843. $ref: '#/definitions/app.Response'
  20844. security:
  20845. - ApiKeyAuth: []
  20846. summary: 查询业务表单数据
  20847. tags:
  20848. - 风险管理v3
  20849. /Erms3/QueryPendingAuditContract:
  20850. get:
  20851. parameters:
  20852. - description: 资金账号ID列表,逗号隔开
  20853. in: query
  20854. name: accountids
  20855. required: true
  20856. type: string
  20857. - description: 合同类型 1-采购 -1-销售
  20858. in: query
  20859. name: contracttype
  20860. required: true
  20861. type: integer
  20862. - description: 合同模式 1-普通 2-回购
  20863. in: query
  20864. name: contractmode
  20865. required: true
  20866. type: integer
  20867. produces:
  20868. - application/json
  20869. responses:
  20870. "200":
  20871. description: OK
  20872. schema:
  20873. items:
  20874. $ref: '#/definitions/erms3.QryAuditContractRsp'
  20875. type: array
  20876. "500":
  20877. description: Internal Server Error
  20878. schema:
  20879. $ref: '#/definitions/app.Response'
  20880. security:
  20881. - ApiKeyAuth: []
  20882. summary: 查询待审核合同
  20883. tags:
  20884. - 风险管理v3
  20885. /Erms3/QueryPendingBusiness:
  20886. get:
  20887. parameters:
  20888. - description: 资金账号ID列表,逗号隔开
  20889. in: query
  20890. name: accountids
  20891. required: true
  20892. type: string
  20893. produces:
  20894. - application/json
  20895. responses:
  20896. "200":
  20897. description: OK
  20898. schema:
  20899. items:
  20900. $ref: '#/definitions/erms3.QryPendingBizRsp'
  20901. type: array
  20902. "500":
  20903. description: Internal Server Error
  20904. schema:
  20905. $ref: '#/definitions/app.Response'
  20906. security:
  20907. - ApiKeyAuth: []
  20908. summary: 查询待审核基差贸易业务
  20909. tags:
  20910. - 风险管理v3
  20911. /Erms3/QuerySpotContractAppleForm:
  20912. get:
  20913. parameters:
  20914. - description: 登录账号
  20915. in: query
  20916. name: loginID
  20917. required: true
  20918. type: integer
  20919. produces:
  20920. - application/json
  20921. responses:
  20922. "200":
  20923. description: OK
  20924. schema:
  20925. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  20926. "500":
  20927. description: Internal Server Error
  20928. schema:
  20929. $ref: '#/definitions/app.Response'
  20930. security:
  20931. - ApiKeyAuth: []
  20932. summary: 查询合同申请表单数据
  20933. tags:
  20934. - 风险管理v3
  20935. /Erms3/QuerySpotContractDetail:
  20936. get:
  20937. parameters:
  20938. - description: 资金账号ID列表,用逗号分隔
  20939. in: query
  20940. name: accountids
  20941. required: true
  20942. type: string
  20943. - description: 合同类型,1为采购合同 -1为销售合同
  20944. in: query
  20945. name: contracttype
  20946. required: true
  20947. type: integer
  20948. - description: 合同模式,1为普通合同 2为回购销售合同
  20949. in: query
  20950. name: contractmode
  20951. required: true
  20952. type: integer
  20953. - description: 状态,0为履约中 1为已完成
  20954. in: query
  20955. name: status
  20956. required: true
  20957. type: integer
  20958. produces:
  20959. - application/json
  20960. responses:
  20961. "200":
  20962. description: OK
  20963. schema:
  20964. items:
  20965. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  20966. type: array
  20967. "500":
  20968. description: Internal Server Error
  20969. schema:
  20970. $ref: '#/definitions/app.Response'
  20971. security:
  20972. - ApiKeyAuth: []
  20973. summary: 查询合同详细信息
  20974. tags:
  20975. - 风险管理v3
  20976. /Erms3/QueryUserInfoApplies:
  20977. get:
  20978. parameters:
  20979. - description: 页码
  20980. in: query
  20981. name: page
  20982. type: integer
  20983. - description: 每页条数
  20984. in: query
  20985. name: pagesize
  20986. type: integer
  20987. - description: 客户名称,支持模糊查询
  20988. in: query
  20989. name: userName
  20990. type: string
  20991. produces:
  20992. - application/json
  20993. responses:
  20994. "200":
  20995. description: OK
  20996. schema:
  20997. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  20998. "500":
  20999. description: Internal Server Error
  21000. schema:
  21001. $ref: '#/definitions/app.Response'
  21002. security:
  21003. - ApiKeyAuth: []
  21004. summary: 客户申请信息查询
  21005. tags:
  21006. - 风险管理v3
  21007. /Erms3/QueryUserInfos:
  21008. get:
  21009. parameters:
  21010. - description: 页码
  21011. in: query
  21012. name: page
  21013. type: integer
  21014. - description: 每页条数
  21015. in: query
  21016. name: pagesize
  21017. type: integer
  21018. - description: 客户名称,支持模糊查询
  21019. in: query
  21020. name: userName
  21021. type: string
  21022. produces:
  21023. - application/json
  21024. responses:
  21025. "200":
  21026. description: OK
  21027. schema:
  21028. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  21029. "500":
  21030. description: Internal Server Error
  21031. schema:
  21032. $ref: '#/definitions/app.Response'
  21033. security:
  21034. - ApiKeyAuth: []
  21035. summary: 客户信息查询
  21036. tags:
  21037. - 风险管理v3
  21038. /HSBY/GetHsbyMyCount:
  21039. get:
  21040. description: 说明: 不包括已完成的数量。
  21041. parameters:
  21042. - description: 资金账户列表,格式:1,2,3
  21043. in: query
  21044. name: accountIDs
  21045. required: true
  21046. type: string
  21047. produces:
  21048. - application/json
  21049. responses:
  21050. "200":
  21051. description: OK
  21052. schema:
  21053. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  21054. "500":
  21055. description: Internal Server Error
  21056. schema:
  21057. $ref: '#/definitions/app.Response'
  21058. security:
  21059. - ApiKeyAuth: []
  21060. summary: 获取我的订单与包裹数量
  21061. tags:
  21062. - 定制【海商报业】
  21063. /HSBY/QueryClientFixedADConfigs:
  21064. get:
  21065. produces:
  21066. - application/json
  21067. responses:
  21068. "200":
  21069. description: OK
  21070. schema:
  21071. $ref: '#/definitions/models.Clientfixedadconfig'
  21072. "500":
  21073. description: Internal Server Error
  21074. schema:
  21075. $ref: '#/definitions/app.Response'
  21076. security:
  21077. - ApiKeyAuth: []
  21078. summary: 获取终端固定广告配置
  21079. tags:
  21080. - 定制【海商报业】
  21081. /HSBY/QueryHsbyBuyMyTradeDetail:
  21082. get:
  21083. parameters:
  21084. - description: 页码
  21085. in: query
  21086. name: page
  21087. type: integer
  21088. - description: 每页条数
  21089. in: query
  21090. name: pagesize
  21091. type: integer
  21092. - description: 资金账户列表,格式:1,2,3
  21093. in: query
  21094. name: accountIDs
  21095. required: true
  21096. type: string
  21097. produces:
  21098. - application/json
  21099. responses:
  21100. "200":
  21101. description: OK
  21102. schema:
  21103. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  21104. "500":
  21105. description: Internal Server Error
  21106. schema:
  21107. $ref: '#/definitions/app.Response'
  21108. security:
  21109. - ApiKeyAuth: []
  21110. summary: 查询"我的订单 - 已完成"单据信息
  21111. tags:
  21112. - 定制【海商报业】
  21113. /HSBY/QueryHsbyGoodsOrderDetails:
  21114. get:
  21115. description: 说明:查询结果已按委托价格和委托时间排序
  21116. parameters:
  21117. - description: 商品ID
  21118. in: query
  21119. name: goodsID
  21120. required: true
  21121. type: integer
  21122. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  21123. in: query
  21124. name: accountIDs
  21125. type: string
  21126. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  21127. in: query
  21128. name: buyOrSell
  21129. type: integer
  21130. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  21131. in: query
  21132. name: price
  21133. type: number
  21134. - description: 档位,不传则默认为3档
  21135. in: query
  21136. name: speed
  21137. type: integer
  21138. produces:
  21139. - application/json
  21140. responses:
  21141. "200":
  21142. description: OK
  21143. schema:
  21144. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  21145. "500":
  21146. description: Internal Server Error
  21147. schema:
  21148. $ref: '#/definitions/app.Response'
  21149. security:
  21150. - ApiKeyAuth: []
  21151. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  21152. tags:
  21153. - 定制【海商报业】
  21154. /HSBY/QueryHsbyListingGoodsDetail:
  21155. get:
  21156. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  21157. parameters:
  21158. - description: 商品ID
  21159. in: query
  21160. name: goodsID
  21161. required: true
  21162. type: integer
  21163. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  21164. in: query
  21165. name: accountID
  21166. type: integer
  21167. produces:
  21168. - application/json
  21169. responses:
  21170. "200":
  21171. description: OK
  21172. schema:
  21173. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  21174. "500":
  21175. description: Internal Server Error
  21176. schema:
  21177. $ref: '#/definitions/app.Response'
  21178. security:
  21179. - ApiKeyAuth: []
  21180. summary: 查询二级市场(挂牌点选)商品信息详情
  21181. tags:
  21182. - 定制【海商报业】
  21183. /HSBY/QueryHsbyMarketGoodsDetail:
  21184. get:
  21185. parameters:
  21186. - description: 委托单号
  21187. in: query
  21188. name: orderID
  21189. required: true
  21190. type: integer
  21191. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  21192. in: query
  21193. name: accountID
  21194. type: integer
  21195. produces:
  21196. - application/json
  21197. responses:
  21198. "200":
  21199. description: OK
  21200. schema:
  21201. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21202. "500":
  21203. description: Internal Server Error
  21204. schema:
  21205. $ref: '#/definitions/app.Response'
  21206. security:
  21207. - ApiKeyAuth: []
  21208. summary: 查询三级市场(商城)商品信息详情
  21209. tags:
  21210. - 定制【海商报业】
  21211. /HSBY/QueryHsbyMarketGoodses:
  21212. get:
  21213. parameters:
  21214. - description: 页码
  21215. in: query
  21216. name: page
  21217. type: integer
  21218. - description: 每页条数
  21219. in: query
  21220. name: pagesize
  21221. type: integer
  21222. - description: 市场ID列表,格式:1,2,3
  21223. in: query
  21224. name: marketIDs
  21225. required: true
  21226. type: string
  21227. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  21228. in: query
  21229. name: accountID
  21230. required: true
  21231. type: integer
  21232. - description: 类别ID
  21233. in: query
  21234. name: categoryID
  21235. type: integer
  21236. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21237. in: query
  21238. name: goodsIDs
  21239. type: string
  21240. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  21241. in: query
  21242. name: couponTypeID
  21243. type: integer
  21244. produces:
  21245. - application/json
  21246. responses:
  21247. "200":
  21248. description: OK
  21249. schema:
  21250. $ref: '#/definitions/models.HsbyMarketGoods'
  21251. "500":
  21252. description: Internal Server Error
  21253. schema:
  21254. $ref: '#/definitions/app.Response'
  21255. security:
  21256. - ApiKeyAuth: []
  21257. summary: 查询特卖商品列表(三级商城)
  21258. tags:
  21259. - 定制【海商报业】
  21260. /HSBY/QueryHsbyMarkets:
  21261. get:
  21262. produces:
  21263. - application/json
  21264. responses:
  21265. "200":
  21266. description: OK
  21267. schema:
  21268. $ref: '#/definitions/models.HsbyMarketInfo'
  21269. "500":
  21270. description: Internal Server Error
  21271. schema:
  21272. $ref: '#/definitions/app.Response'
  21273. security:
  21274. - ApiKeyAuth: []
  21275. summary: 查询海商报业相关市场信息
  21276. tags:
  21277. - 定制【海商报业】
  21278. /HSBY/QueryHsbyMyBuyOrderDetails:
  21279. get:
  21280. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  21281. parameters:
  21282. - description: 资金账户列表,格式:1,2,3
  21283. in: query
  21284. name: accountIDs
  21285. required: true
  21286. type: string
  21287. produces:
  21288. - application/json
  21289. responses:
  21290. "200":
  21291. description: OK
  21292. schema:
  21293. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  21294. "500":
  21295. description: Internal Server Error
  21296. schema:
  21297. $ref: '#/definitions/app.Response'
  21298. security:
  21299. - ApiKeyAuth: []
  21300. summary: 查询“我的订单”信息
  21301. tags:
  21302. - 定制【海商报业】
  21303. /HSBY/QueryHsbyMyGoods:
  21304. get:
  21305. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  21306. parameters:
  21307. - description: 资金账户列表,格式:1,2,3
  21308. in: query
  21309. name: accountIDs
  21310. required: true
  21311. type: string
  21312. produces:
  21313. - application/json
  21314. responses:
  21315. "200":
  21316. description: OK
  21317. schema:
  21318. $ref: '#/definitions/models.HsbyMyGoods'
  21319. "500":
  21320. description: Internal Server Error
  21321. schema:
  21322. $ref: '#/definitions/app.Response'
  21323. security:
  21324. - ApiKeyAuth: []
  21325. summary: 查询“我的商品”信息
  21326. tags:
  21327. - 定制【海商报业】
  21328. /HSBY/QueryHsbyMyPackages:
  21329. get:
  21330. parameters:
  21331. - description: 资金账户列表,格式:1,2,3
  21332. in: query
  21333. name: accountIDs
  21334. required: true
  21335. type: string
  21336. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21337. in: query
  21338. name: takeOrderStatus
  21339. type: integer
  21340. produces:
  21341. - application/json
  21342. responses:
  21343. "200":
  21344. description: OK
  21345. schema:
  21346. $ref: '#/definitions/models.HsbyMyPackage'
  21347. "500":
  21348. description: Internal Server Error
  21349. schema:
  21350. $ref: '#/definitions/app.Response'
  21351. security:
  21352. - ApiKeyAuth: []
  21353. summary: 查询我的包裹信息
  21354. tags:
  21355. - 定制【海商报业】
  21356. /HSBY/QueryHsbyPreGoodsDetail:
  21357. get:
  21358. parameters:
  21359. - description: 商品ID
  21360. in: query
  21361. name: goodsID
  21362. required: true
  21363. type: integer
  21364. - description: 资金账户,主要用于获取预售商品购买上限
  21365. in: query
  21366. name: accountID
  21367. type: integer
  21368. produces:
  21369. - application/json
  21370. responses:
  21371. "200":
  21372. description: OK
  21373. schema:
  21374. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  21375. "500":
  21376. description: Internal Server Error
  21377. schema:
  21378. $ref: '#/definitions/app.Response'
  21379. security:
  21380. - ApiKeyAuth: []
  21381. summary: 查询一级市场(预售)商品信息详情
  21382. tags:
  21383. - 定制【海商报业】
  21384. /HSBY/QueryHsbyPreGoodses:
  21385. get:
  21386. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  21387. parameters:
  21388. - description: 页码
  21389. in: query
  21390. name: page
  21391. type: integer
  21392. - description: 每页条数
  21393. in: query
  21394. name: pagesize
  21395. type: integer
  21396. - description: 市场ID列表,格式:1,2,3
  21397. in: query
  21398. name: marketIDs
  21399. required: true
  21400. type: string
  21401. - description: 目的地(省)ID
  21402. in: query
  21403. name: descProvinceID
  21404. type: integer
  21405. - description: 目的地(市)ID
  21406. in: query
  21407. name: descCityID
  21408. type: integer
  21409. produces:
  21410. - application/json
  21411. responses:
  21412. "200":
  21413. description: OK
  21414. schema:
  21415. $ref: '#/definitions/models.HsbyPreGoods'
  21416. "500":
  21417. description: Internal Server Error
  21418. schema:
  21419. $ref: '#/definitions/app.Response'
  21420. security:
  21421. - ApiKeyAuth: []
  21422. summary: 查询新品上市商品列表(一级市场预售)
  21423. tags:
  21424. - 定制【海商报业】
  21425. /HSBY/QueryHsbySellMyDetails:
  21426. get:
  21427. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  21428. parameters:
  21429. - description: 页码
  21430. in: query
  21431. name: page
  21432. type: integer
  21433. - description: 每页条数
  21434. in: query
  21435. name: pagesize
  21436. type: integer
  21437. - description: 资金账户列表,格式:1,2,3
  21438. in: query
  21439. name: accountIDs
  21440. required: true
  21441. type: string
  21442. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  21443. in: query
  21444. name: orderType
  21445. type: integer
  21446. produces:
  21447. - application/json
  21448. responses:
  21449. "200":
  21450. description: OK
  21451. schema:
  21452. $ref: '#/definitions/models.HsbySellMyDetail'
  21453. "500":
  21454. description: Internal Server Error
  21455. schema:
  21456. $ref: '#/definitions/app.Response'
  21457. security:
  21458. - ApiKeyAuth: []
  21459. summary: 查询"我的闲置"单据信息
  21460. tags:
  21461. - 定制【海商报业】
  21462. /HSBY/QueryHsbyTopGoodses:
  21463. get:
  21464. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  21465. parameters:
  21466. - description: 页码
  21467. in: query
  21468. name: page
  21469. type: integer
  21470. - description: 每页条数
  21471. in: query
  21472. name: pagesize
  21473. type: integer
  21474. - description: 市场ID列表,格式:1,2,3
  21475. in: query
  21476. name: marketIDs
  21477. required: true
  21478. type: string
  21479. - description: 目的地(省)ID
  21480. in: query
  21481. name: descProvinceID
  21482. type: integer
  21483. - description: 目的地(市)ID
  21484. in: query
  21485. name: descCityID
  21486. type: integer
  21487. produces:
  21488. - application/json
  21489. responses:
  21490. "200":
  21491. description: OK
  21492. schema:
  21493. $ref: '#/definitions/models.HsbyTopGoods'
  21494. "500":
  21495. description: Internal Server Error
  21496. schema:
  21497. $ref: '#/definitions/app.Response'
  21498. security:
  21499. - ApiKeyAuth: []
  21500. summary: 查询热卖商品列表(二级市场挂牌点选)
  21501. tags:
  21502. - 定制【海商报业】
  21503. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  21504. get:
  21505. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  21506. parameters:
  21507. - description: 商品ID
  21508. in: query
  21509. name: goodsID
  21510. required: true
  21511. type: integer
  21512. produces:
  21513. - application/json
  21514. responses:
  21515. "200":
  21516. description: OK
  21517. schema:
  21518. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  21519. "500":
  21520. description: Internal Server Error
  21521. schema:
  21522. $ref: '#/definitions/app.Response'
  21523. security:
  21524. - ApiKeyAuth: []
  21525. summary: 查询游客三级市场(商城)商品信息详情
  21526. tags:
  21527. - 定制【海商报业】
  21528. /HSBY/QueryHsbyVisitorMarketGoodses:
  21529. get:
  21530. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  21531. parameters:
  21532. - description: 页码
  21533. in: query
  21534. name: page
  21535. type: integer
  21536. - description: 每页条数
  21537. in: query
  21538. name: pagesize
  21539. type: integer
  21540. - description: 市场ID列表,格式:1,2,3
  21541. in: query
  21542. name: marketIDs
  21543. required: true
  21544. type: string
  21545. - description: 类别ID
  21546. in: query
  21547. name: categoryID
  21548. type: integer
  21549. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  21550. in: query
  21551. name: goodsIDs
  21552. type: string
  21553. produces:
  21554. - application/json
  21555. responses:
  21556. "200":
  21557. description: OK
  21558. schema:
  21559. $ref: '#/definitions/models.HsbyMarketGoods'
  21560. "500":
  21561. description: Internal Server Error
  21562. schema:
  21563. $ref: '#/definitions/app.Response'
  21564. security:
  21565. - ApiKeyAuth: []
  21566. summary: 查询游客特卖商品列表(三级商城)
  21567. tags:
  21568. - 定制【海商报业】
  21569. /HSBY/QueryMyCollectionOrders:
  21570. get:
  21571. parameters:
  21572. - description: 页码
  21573. in: query
  21574. name: page
  21575. type: integer
  21576. - description: 每页条数
  21577. in: query
  21578. name: pagesize
  21579. type: integer
  21580. - description: 资金账户,格式:1,2,3
  21581. in: query
  21582. name: accountIDs
  21583. required: true
  21584. type: string
  21585. produces:
  21586. - application/json
  21587. responses:
  21588. "200":
  21589. description: OK
  21590. schema:
  21591. $ref: '#/definitions/models.HsbySellCollectionOrder'
  21592. "500":
  21593. description: Internal Server Error
  21594. schema:
  21595. $ref: '#/definitions/app.Response'
  21596. security:
  21597. - ApiKeyAuth: []
  21598. summary: 我的闲置中收款信息查询
  21599. tags:
  21600. - 定制【海商报业】
  21601. /HSBY/QueryMyCouponHolds:
  21602. get:
  21603. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  21604. parameters:
  21605. - description: 资金账户列表,格式:1,2,3
  21606. in: query
  21607. name: accountIDs
  21608. required: true
  21609. type: string
  21610. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  21611. in: query
  21612. name: holdStatus
  21613. type: string
  21614. produces:
  21615. - application/json
  21616. responses:
  21617. "200":
  21618. description: OK
  21619. schema:
  21620. $ref: '#/definitions/models.MyCouponHold'
  21621. "500":
  21622. description: Internal Server Error
  21623. schema:
  21624. $ref: '#/definitions/app.Response'
  21625. security:
  21626. - ApiKeyAuth: []
  21627. summary: 我的优惠卷持仓查询
  21628. tags:
  21629. - 定制【海商报业】
  21630. /HSBY/QueryMyCoupons:
  21631. get:
  21632. parameters:
  21633. - description: 资金账户列表,格式:1,2,3
  21634. in: query
  21635. name: accountIDs
  21636. required: true
  21637. type: string
  21638. - description: 商品ID, 一般与sellUserID配套传入
  21639. in: query
  21640. name: goodsID
  21641. type: integer
  21642. - description: 卖方UserID
  21643. in: query
  21644. name: sellUserID
  21645. type: integer
  21646. produces:
  21647. - application/json
  21648. responses:
  21649. "200":
  21650. description: OK
  21651. schema:
  21652. $ref: '#/definitions/models.MyCoupon'
  21653. "500":
  21654. description: Internal Server Error
  21655. schema:
  21656. $ref: '#/definitions/app.Response'
  21657. security:
  21658. - ApiKeyAuth: []
  21659. summary: 我的优惠卷查询
  21660. tags:
  21661. - 定制【海商报业】
  21662. /HSBY/QueryMyPayOrders:
  21663. get:
  21664. parameters:
  21665. - description: 页码
  21666. in: query
  21667. name: page
  21668. type: integer
  21669. - description: 每页条数
  21670. in: query
  21671. name: pagesize
  21672. type: integer
  21673. - description: 资金账户列表,格式:1,2,3
  21674. in: query
  21675. name: accountIDs
  21676. required: true
  21677. type: string
  21678. - description: 买方委托单号
  21679. in: query
  21680. name: buyOrderID
  21681. type: integer
  21682. - description: 卖方委托单号
  21683. in: query
  21684. name: sellOrderID
  21685. type: integer
  21686. produces:
  21687. - application/json
  21688. responses:
  21689. "200":
  21690. description: OK
  21691. schema:
  21692. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  21693. "500":
  21694. description: Internal Server Error
  21695. schema:
  21696. $ref: '#/definitions/app.Response'
  21697. security:
  21698. - ApiKeyAuth: []
  21699. summary: 获取我的订单中待付款信息
  21700. tags:
  21701. - 定制【海商报业】
  21702. /HSBY/QueryMyUsedCoupon:
  21703. get:
  21704. parameters:
  21705. - description: 资金账户列表,格式:1,2,3
  21706. in: query
  21707. name: accountIDs
  21708. required: true
  21709. type: string
  21710. produces:
  21711. - application/json
  21712. responses:
  21713. "200":
  21714. description: OK
  21715. schema:
  21716. $ref: '#/definitions/models.MyUsedCoupon'
  21717. "500":
  21718. description: Internal Server Error
  21719. schema:
  21720. $ref: '#/definitions/app.Response'
  21721. security:
  21722. - ApiKeyAuth: []
  21723. summary: 已使用优惠卷查询
  21724. tags:
  21725. - 定制【海商报业】
  21726. /HSBY/QueryProvincesAndCities:
  21727. get:
  21728. description: 查询结果只包括二级市场商品已关连的省市信息。
  21729. parameters:
  21730. - description: 省ID
  21731. in: query
  21732. name: provinceID
  21733. type: integer
  21734. produces:
  21735. - application/json
  21736. responses:
  21737. "200":
  21738. description: OK
  21739. schema:
  21740. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  21741. "500":
  21742. description: Internal Server Error
  21743. schema:
  21744. $ref: '#/definitions/app.Response'
  21745. security:
  21746. - ApiKeyAuth: []
  21747. summary: 查询省市信息(不包括区)
  21748. tags:
  21749. - 定制【海商报业】
  21750. /HSBY/SetHsbyMyPackagesStatus:
  21751. post:
  21752. parameters:
  21753. - description: 提货单号
  21754. in: query
  21755. name: takeOrderID
  21756. required: true
  21757. type: string
  21758. - description: 资金账号
  21759. in: query
  21760. name: accountID
  21761. required: true
  21762. type: integer
  21763. produces:
  21764. - application/json
  21765. responses:
  21766. "200":
  21767. description: OK
  21768. schema:
  21769. $ref: '#/definitions/app.Response'
  21770. "500":
  21771. description: Internal Server Error
  21772. schema:
  21773. $ref: '#/definitions/app.Response'
  21774. security:
  21775. - ApiKeyAuth: []
  21776. summary: 设置我的包裹已收货状态
  21777. tags:
  21778. - 定制【海商报业】
  21779. /Market/GetAllExExchanges:
  21780. get:
  21781. produces:
  21782. - application/json
  21783. responses:
  21784. "200":
  21785. description: OK
  21786. schema:
  21787. $ref: '#/definitions/models.Goods'
  21788. "500":
  21789. description: Internal Server Error
  21790. schema:
  21791. $ref: '#/definitions/app.Response'
  21792. security:
  21793. - ApiKeyAuth: []
  21794. summary: 获取所有外部交易所信息
  21795. tags:
  21796. - 通用市场
  21797. /Market/QueryGoodsesByLoginID:
  21798. get:
  21799. parameters:
  21800. - description: 登录账号
  21801. in: query
  21802. name: loginID
  21803. required: true
  21804. type: integer
  21805. - description: 市场ID列表,格式:1,2,3
  21806. in: query
  21807. name: marketIDs
  21808. type: string
  21809. produces:
  21810. - application/json
  21811. responses:
  21812. "200":
  21813. description: OK
  21814. schema:
  21815. $ref: '#/definitions/models.Goods'
  21816. "500":
  21817. description: Internal Server Error
  21818. schema:
  21819. $ref: '#/definitions/app.Response'
  21820. security:
  21821. - ApiKeyAuth: []
  21822. summary: 获取登录账号有权限的商品信息
  21823. tags:
  21824. - 通用市场
  21825. /Market/QueryMarketRun:
  21826. get:
  21827. parameters:
  21828. - description: 市场ID,不传返回所有
  21829. in: query
  21830. name: marketID
  21831. type: integer
  21832. produces:
  21833. - application/json
  21834. responses:
  21835. "200":
  21836. description: OK
  21837. schema:
  21838. $ref: '#/definitions/models.Marketrun'
  21839. "500":
  21840. description: Internal Server Error
  21841. schema:
  21842. $ref: '#/definitions/app.Response'
  21843. security:
  21844. - ApiKeyAuth: []
  21845. summary: 查询市场运行信息
  21846. tags:
  21847. - 通用市场
  21848. /Market/QueryMarketsByLoginID:
  21849. get:
  21850. parameters:
  21851. - description: 登录账号
  21852. in: query
  21853. name: loginID
  21854. required: true
  21855. type: integer
  21856. produces:
  21857. - application/json
  21858. responses:
  21859. "200":
  21860. description: OK
  21861. schema:
  21862. $ref: '#/definitions/models.Market'
  21863. "500":
  21864. description: Internal Server Error
  21865. schema:
  21866. $ref: '#/definitions/app.Response'
  21867. security:
  21868. - ApiKeyAuth: []
  21869. summary: 获取登录账号有权限的市场信息
  21870. tags:
  21871. - 通用市场
  21872. /Order/QueryHisTradeDetail:
  21873. get:
  21874. parameters:
  21875. - description: 资金账户 - 格式:1,2,3
  21876. in: query
  21877. name: accountID
  21878. required: true
  21879. type: string
  21880. - description: 成交单号
  21881. in: query
  21882. name: tradeID
  21883. type: integer
  21884. - description: 委托单号
  21885. in: query
  21886. name: orderID
  21887. type: integer
  21888. - description: 商品ID
  21889. in: query
  21890. name: goodsID
  21891. type: integer
  21892. - description: 交易模式 - 格式:1,2,3
  21893. in: query
  21894. name: tradeMode
  21895. type: string
  21896. - description: 委托单据类型
  21897. in: query
  21898. name: buildType
  21899. type: integer
  21900. - description: 成交类别 - 格式:1,2,3
  21901. in: query
  21902. name: tradeType
  21903. type: string
  21904. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21905. in: query
  21906. name: startDate
  21907. type: string
  21908. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21909. in: query
  21910. name: endDate
  21911. type: string
  21912. produces:
  21913. - application/json
  21914. responses:
  21915. "200":
  21916. description: OK
  21917. schema:
  21918. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  21919. "500":
  21920. description: Internal Server Error
  21921. schema:
  21922. $ref: '#/definitions/app.Response'
  21923. security:
  21924. - ApiKeyAuth: []
  21925. summary: 历史成交单查询(合约市场)
  21926. tags:
  21927. - 通用单据
  21928. /Order/QueryHisTradeOrderDetail:
  21929. get:
  21930. parameters:
  21931. - description: 资金账户 - 格式:1,2,3
  21932. in: query
  21933. name: accountID
  21934. required: true
  21935. type: string
  21936. - description: 交易模式 - 格式:1,2,3
  21937. in: query
  21938. name: tradeMode
  21939. type: string
  21940. - description: 委托状态 - 格式:1,2,3
  21941. in: query
  21942. name: orderStatus
  21943. type: string
  21944. - description: 委托单号
  21945. in: query
  21946. name: orderID
  21947. type: integer
  21948. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21949. in: query
  21950. name: startDate
  21951. type: string
  21952. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21953. in: query
  21954. name: endDate
  21955. type: string
  21956. produces:
  21957. - application/json
  21958. responses:
  21959. "200":
  21960. description: OK
  21961. schema:
  21962. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  21963. "500":
  21964. description: Internal Server Error
  21965. schema:
  21966. $ref: '#/definitions/app.Response'
  21967. security:
  21968. - ApiKeyAuth: []
  21969. summary: 历史委托单查询请求(合约市场)
  21970. tags:
  21971. - 通用单据
  21972. /Order/QueryTradeDetail:
  21973. get:
  21974. parameters:
  21975. - description: 资金账户 - 格式:1,2,3
  21976. in: query
  21977. name: accountID
  21978. required: true
  21979. type: string
  21980. - description: 成交单号
  21981. in: query
  21982. name: tradeID
  21983. type: integer
  21984. - description: 委托单号
  21985. in: query
  21986. name: orderID
  21987. type: integer
  21988. - description: 交易模式 - 格式:1,2,3
  21989. in: query
  21990. name: tradeMode
  21991. type: string
  21992. - description: 委托单据类型
  21993. in: query
  21994. name: buildType
  21995. type: integer
  21996. - description: 成交类别 - 格式:1,2,3
  21997. in: query
  21998. name: tradeType
  21999. type: string
  22000. - description: 商品ID
  22001. in: query
  22002. name: goodsID
  22003. type: integer
  22004. produces:
  22005. - application/json
  22006. responses:
  22007. "200":
  22008. description: OK
  22009. schema:
  22010. $ref: '#/definitions/order.QueryTradeDetailRsp'
  22011. "500":
  22012. description: Internal Server Error
  22013. schema:
  22014. $ref: '#/definitions/app.Response'
  22015. security:
  22016. - ApiKeyAuth: []
  22017. summary: 成交单查询(合约市场)
  22018. tags:
  22019. - 通用单据
  22020. /Order/QueryTradeOrderDetail:
  22021. get:
  22022. parameters:
  22023. - description: 资金账户 - 格式:1,2,3
  22024. in: query
  22025. name: accountID
  22026. required: true
  22027. type: string
  22028. - description: 交易模式 - 格式:1,2,3
  22029. in: query
  22030. name: tradeMode
  22031. type: string
  22032. - description: 委托状态 - 格式:1,2,3
  22033. in: query
  22034. name: orderStatus
  22035. type: string
  22036. - description: 委托单号
  22037. in: query
  22038. name: orderID
  22039. type: integer
  22040. produces:
  22041. - application/json
  22042. responses:
  22043. "200":
  22044. description: OK
  22045. schema:
  22046. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  22047. "500":
  22048. description: Internal Server Error
  22049. schema:
  22050. $ref: '#/definitions/app.Response'
  22051. security:
  22052. - ApiKeyAuth: []
  22053. summary: 委托单查询请求(合约市场)
  22054. tags:
  22055. - 通用单据
  22056. /Order/QueryTradePosition:
  22057. get:
  22058. parameters:
  22059. - description: 资金账户 - 格式:1,2,3
  22060. in: query
  22061. name: accountID
  22062. required: true
  22063. type: string
  22064. - description: 交易模式 - 格式:1,2,3
  22065. in: query
  22066. name: tradeMode
  22067. type: string
  22068. produces:
  22069. - application/json
  22070. responses:
  22071. "200":
  22072. description: OK
  22073. schema:
  22074. $ref: '#/definitions/order.QueryTradePositionRsp'
  22075. "500":
  22076. description: Internal Server Error
  22077. schema:
  22078. $ref: '#/definitions/app.Response'
  22079. security:
  22080. - ApiKeyAuth: []
  22081. summary: 持仓汇总查询(合约市场)
  22082. tags:
  22083. - 通用单据
  22084. /Qhj/QueryAccountInOutApply:
  22085. get:
  22086. parameters:
  22087. - description: 用户ID
  22088. in: query
  22089. name: userid
  22090. required: true
  22091. type: integer
  22092. - description: 申请起始日期(格式yyyymmdd)
  22093. in: query
  22094. name: begindate
  22095. type: string
  22096. - description: 申请截止日期(格式yyyymmdd)
  22097. in: query
  22098. name: enddate
  22099. type: string
  22100. - description: 模糊搜索名称
  22101. in: query
  22102. name: likename
  22103. type: string
  22104. produces:
  22105. - application/json
  22106. responses:
  22107. "200":
  22108. description: OK
  22109. schema:
  22110. items:
  22111. $ref: '#/definitions/models.QhjAccountOutInApply'
  22112. type: array
  22113. "500":
  22114. description: Internal Server Error
  22115. schema:
  22116. $ref: '#/definitions/app.Response'
  22117. security:
  22118. - ApiKeyAuth: []
  22119. summary: 查询充值提现
  22120. tags:
  22121. - 大连千海金
  22122. /Qhj/QueryAreaFinanceConfig:
  22123. get:
  22124. parameters:
  22125. - description: 机构用户ID 其他做市关系,都设置为 1
  22126. in: query
  22127. name: userid
  22128. type: integer
  22129. produces:
  22130. - application/json
  22131. responses:
  22132. "200":
  22133. description: OK
  22134. schema:
  22135. items:
  22136. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  22137. type: array
  22138. "500":
  22139. description: Internal Server Error
  22140. schema:
  22141. $ref: '#/definitions/app.Response'
  22142. security:
  22143. - ApiKeyAuth: []
  22144. summary: 查询企业配置表
  22145. tags:
  22146. - 大连千海金
  22147. /Qhj/QueryBankAccountSign:
  22148. get:
  22149. parameters:
  22150. - description: 用户ID
  22151. in: query
  22152. name: userid
  22153. required: true
  22154. type: integer
  22155. produces:
  22156. - application/json
  22157. responses:
  22158. "200":
  22159. description: OK
  22160. schema:
  22161. items:
  22162. $ref: '#/definitions/models.QhjBankAccountSign'
  22163. type: array
  22164. "500":
  22165. description: Internal Server Error
  22166. schema:
  22167. $ref: '#/definitions/app.Response'
  22168. security:
  22169. - ApiKeyAuth: []
  22170. summary: 查询签约银行信息(提现账户管理)
  22171. tags:
  22172. - 大连千海金
  22173. /Qhj/QueryBankInfo:
  22174. get:
  22175. produces:
  22176. - application/json
  22177. responses:
  22178. "200":
  22179. description: OK
  22180. schema:
  22181. items:
  22182. $ref: '#/definitions/models.QhjBankInfo'
  22183. type: array
  22184. "500":
  22185. description: Internal Server Error
  22186. schema:
  22187. $ref: '#/definitions/app.Response'
  22188. security:
  22189. - ApiKeyAuth: []
  22190. summary: 查询开户行
  22191. tags:
  22192. - 大连千海金
  22193. /Qhj/QueryBrokerApply:
  22194. get:
  22195. parameters:
  22196. - description: 所属机构ID
  22197. in: query
  22198. name: userid
  22199. type: integer
  22200. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22201. in: query
  22202. name: filterstatus
  22203. type: string
  22204. produces:
  22205. - application/json
  22206. responses:
  22207. "200":
  22208. description: OK
  22209. schema:
  22210. items:
  22211. $ref: '#/definitions/models.QhjBrokerApply'
  22212. type: array
  22213. "500":
  22214. description: Internal Server Error
  22215. schema:
  22216. $ref: '#/definitions/app.Response'
  22217. security:
  22218. - ApiKeyAuth: []
  22219. summary: 查询经纪人申请
  22220. tags:
  22221. - 大连千海金
  22222. /Qhj/QueryBrokerApplyEx:
  22223. get:
  22224. parameters:
  22225. - description: 所属机构ID
  22226. in: query
  22227. name: userid
  22228. type: integer
  22229. produces:
  22230. - application/json
  22231. responses:
  22232. "200":
  22233. description: OK
  22234. schema:
  22235. items:
  22236. $ref: '#/definitions/models.QhjBrokerApplyEx'
  22237. type: array
  22238. "500":
  22239. description: Internal Server Error
  22240. schema:
  22241. $ref: '#/definitions/app.Response'
  22242. security:
  22243. - ApiKeyAuth: []
  22244. summary: 查询经纪人信息和申请记录
  22245. tags:
  22246. - 大连千海金
  22247. /Qhj/QueryBrokerRewardLog:
  22248. get:
  22249. parameters:
  22250. - description: 用户ID
  22251. in: query
  22252. name: userid
  22253. required: true
  22254. type: integer
  22255. - description: 开始交易日(yyyymmdd)
  22256. in: query
  22257. name: begindate
  22258. type: string
  22259. - description: 结束交易日(yyyymmdd)
  22260. in: query
  22261. name: enddate
  22262. type: string
  22263. produces:
  22264. - application/json
  22265. responses:
  22266. "200":
  22267. description: OK
  22268. schema:
  22269. items:
  22270. $ref: '#/definitions/models.QhjBrokerRewardLog'
  22271. type: array
  22272. "500":
  22273. description: Internal Server Error
  22274. schema:
  22275. $ref: '#/definitions/app.Response'
  22276. security:
  22277. - ApiKeyAuth: []
  22278. summary: 查询奖励流水(我的奖励)
  22279. tags:
  22280. - 大连千海金
  22281. /Qhj/QueryContract:
  22282. get:
  22283. parameters:
  22284. - description: 用户ID
  22285. in: query
  22286. name: userid
  22287. type: integer
  22288. - description: scf合同id
  22289. in: query
  22290. name: scfcontractid
  22291. type: integer
  22292. produces:
  22293. - application/json
  22294. responses:
  22295. "200":
  22296. description: OK
  22297. schema:
  22298. items:
  22299. $ref: '#/definitions/models.QhjContract'
  22300. type: array
  22301. "500":
  22302. description: Internal Server Error
  22303. schema:
  22304. $ref: '#/definitions/app.Response'
  22305. security:
  22306. - ApiKeyAuth: []
  22307. summary: 查询融资明细(合同)
  22308. tags:
  22309. - 大连千海金
  22310. /Qhj/QueryContractLog:
  22311. get:
  22312. parameters:
  22313. - description: scf合同id
  22314. in: query
  22315. name: scfcontractid
  22316. required: true
  22317. type: integer
  22318. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  22319. in: query
  22320. name: amounttype
  22321. type: string
  22322. produces:
  22323. - application/json
  22324. responses:
  22325. "200":
  22326. description: OK
  22327. schema:
  22328. items:
  22329. $ref: '#/definitions/models.QhjContractLog'
  22330. type: array
  22331. "500":
  22332. description: Internal Server Error
  22333. schema:
  22334. $ref: '#/definitions/app.Response'
  22335. security:
  22336. - ApiKeyAuth: []
  22337. summary: 查询融资明细流水(融资明细详情页中的流水)
  22338. tags:
  22339. - 大连千海金
  22340. /Qhj/QueryCusBankSignBank:
  22341. get:
  22342. produces:
  22343. - application/json
  22344. responses:
  22345. "200":
  22346. description: OK
  22347. schema:
  22348. items:
  22349. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  22350. type: array
  22351. "500":
  22352. description: Internal Server Error
  22353. schema:
  22354. $ref: '#/definitions/app.Response'
  22355. security:
  22356. - ApiKeyAuth: []
  22357. summary: 查询托管银行
  22358. tags:
  22359. - 大连千海金
  22360. /Qhj/QueryCustomerInfo:
  22361. get:
  22362. parameters:
  22363. - description: 用户ID
  22364. in: query
  22365. name: userid
  22366. required: true
  22367. type: integer
  22368. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  22369. in: query
  22370. name: querytype
  22371. required: true
  22372. type: integer
  22373. - description: 客户类型 1-个人 2-企业
  22374. in: query
  22375. name: userinfotype
  22376. type: integer
  22377. - description: 客户名称(模糊匹配)
  22378. in: query
  22379. name: customername
  22380. type: string
  22381. - description: 昵称(模糊匹配)
  22382. in: query
  22383. name: nickname
  22384. type: string
  22385. - description: 是否包含子级 1-包含
  22386. in: query
  22387. name: includesub
  22388. type: integer
  22389. produces:
  22390. - application/json
  22391. responses:
  22392. "200":
  22393. description: OK
  22394. schema:
  22395. items:
  22396. $ref: '#/definitions/models.QhjCustomer'
  22397. type: array
  22398. "500":
  22399. description: Internal Server Error
  22400. schema:
  22401. $ref: '#/definitions/app.Response'
  22402. security:
  22403. - ApiKeyAuth: []
  22404. summary: 查询客户资料
  22405. tags:
  22406. - 大连千海金
  22407. /Qhj/QueryGoodsEx:
  22408. get:
  22409. parameters:
  22410. - description: 商品id
  22411. in: query
  22412. name: goodsid
  22413. type: integer
  22414. produces:
  22415. - application/json
  22416. responses:
  22417. "200":
  22418. description: OK
  22419. schema:
  22420. items:
  22421. $ref: '#/definitions/models.Qhjgoodsex'
  22422. type: array
  22423. "500":
  22424. description: Internal Server Error
  22425. schema:
  22426. $ref: '#/definitions/app.Response'
  22427. security:
  22428. - ApiKeyAuth: []
  22429. summary: 交易商品扩展表
  22430. tags:
  22431. - 大连千海金
  22432. /Qhj/QueryMyTeam:
  22433. get:
  22434. parameters:
  22435. - description: 用户ID
  22436. in: query
  22437. name: userid
  22438. required: true
  22439. type: integer
  22440. produces:
  22441. - application/json
  22442. responses:
  22443. "200":
  22444. description: OK
  22445. schema:
  22446. items:
  22447. $ref: '#/definitions/models.QhjMyTeamEx'
  22448. type: array
  22449. "500":
  22450. description: Internal Server Error
  22451. schema:
  22452. $ref: '#/definitions/app.Response'
  22453. security:
  22454. - ApiKeyAuth: []
  22455. summary: 查询我的团队
  22456. tags:
  22457. - 大连千海金
  22458. /Qhj/QueryMyTeamOrder:
  22459. get:
  22460. parameters:
  22461. - description: 页码
  22462. in: query
  22463. name: page
  22464. type: integer
  22465. - description: 每页条数
  22466. in: query
  22467. name: pagesize
  22468. type: integer
  22469. - description: 用户ID
  22470. in: query
  22471. name: userid
  22472. required: true
  22473. type: integer
  22474. - description: 交易模式
  22475. in: query
  22476. name: trademode
  22477. type: integer
  22478. - description: 名称(模糊搜索账户)
  22479. in: query
  22480. name: filtername
  22481. type: string
  22482. produces:
  22483. - application/json
  22484. responses:
  22485. "200":
  22486. description: OK
  22487. schema:
  22488. items:
  22489. $ref: '#/definitions/models.QhjTeamOrder'
  22490. type: array
  22491. "500":
  22492. description: Internal Server Error
  22493. schema:
  22494. $ref: '#/definitions/app.Response'
  22495. security:
  22496. - ApiKeyAuth: []
  22497. summary: 查询团队订单(我的团队/团队订单)
  22498. tags:
  22499. - 大连千海金
  22500. /Qhj/QueryParentAreaList:
  22501. get:
  22502. parameters:
  22503. - description: 用户ID
  22504. in: query
  22505. name: userid
  22506. required: true
  22507. type: integer
  22508. produces:
  22509. - application/json
  22510. responses:
  22511. "200":
  22512. description: OK
  22513. schema:
  22514. items:
  22515. $ref: '#/definitions/models.QhjParentAreaList'
  22516. type: array
  22517. "500":
  22518. description: Internal Server Error
  22519. schema:
  22520. $ref: '#/definitions/app.Response'
  22521. security:
  22522. - ApiKeyAuth: []
  22523. summary: 查询所属机构列表
  22524. tags:
  22525. - 大连千海金
  22526. /Qhj/QueryPayOrder:
  22527. get:
  22528. parameters:
  22529. - description: 资金账号id
  22530. in: query
  22531. name: accountid
  22532. required: true
  22533. type: integer
  22534. - description: 成交单号
  22535. in: query
  22536. name: tradeid
  22537. type: integer
  22538. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  22539. in: query
  22540. name: payflag
  22541. type: string
  22542. produces:
  22543. - application/json
  22544. responses:
  22545. "200":
  22546. description: OK
  22547. schema:
  22548. items:
  22549. $ref: '#/definitions/models.QhjPayOrder'
  22550. type: array
  22551. "500":
  22552. description: Internal Server Error
  22553. schema:
  22554. $ref: '#/definitions/app.Response'
  22555. security:
  22556. - ApiKeyAuth: []
  22557. summary: 查询待付款单据
  22558. tags:
  22559. - 大连千海金
  22560. /Qhj/QueryPickArea:
  22561. get:
  22562. parameters:
  22563. - description: 用户ID
  22564. in: query
  22565. name: userid
  22566. type: integer
  22567. produces:
  22568. - application/json
  22569. responses:
  22570. "200":
  22571. description: OK
  22572. schema:
  22573. items:
  22574. $ref: '#/definitions/models.QhjPickArea'
  22575. type: array
  22576. "500":
  22577. description: Internal Server Error
  22578. schema:
  22579. $ref: '#/definitions/app.Response'
  22580. security:
  22581. - ApiKeyAuth: []
  22582. summary: 查询提货门店
  22583. tags:
  22584. - 大连千海金
  22585. /Qhj/QueryPickGoods:
  22586. get:
  22587. parameters:
  22588. - description: 交易商品id
  22589. in: query
  22590. name: goodsid
  22591. required: true
  22592. type: integer
  22593. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  22594. in: query
  22595. name: status
  22596. type: string
  22597. produces:
  22598. - application/json
  22599. responses:
  22600. "200":
  22601. description: OK
  22602. schema:
  22603. items:
  22604. $ref: '#/definitions/models.QhjPickGoods'
  22605. type: array
  22606. "500":
  22607. description: Internal Server Error
  22608. schema:
  22609. $ref: '#/definitions/app.Response'
  22610. security:
  22611. - ApiKeyAuth: []
  22612. summary: 查询提货商品
  22613. tags:
  22614. - 大连千海金
  22615. /Qhj/QueryRSTriggerLog:
  22616. get:
  22617. parameters:
  22618. - description: 用户ID
  22619. in: query
  22620. name: userid
  22621. type: integer
  22622. - description: 定投策略id
  22623. in: query
  22624. name: regularlystrategyid
  22625. type: integer
  22626. - description: 商品id
  22627. in: query
  22628. name: goodsid
  22629. type: integer
  22630. - description: 开始交易日(yyyymmdd)
  22631. in: query
  22632. name: begindate
  22633. type: string
  22634. - description: 结束交易日(yyyymmdd)
  22635. in: query
  22636. name: enddate
  22637. type: string
  22638. - description: 名称(模糊搜索账户)
  22639. in: query
  22640. name: filtername
  22641. type: string
  22642. produces:
  22643. - application/json
  22644. responses:
  22645. "200":
  22646. description: OK
  22647. schema:
  22648. items:
  22649. $ref: '#/definitions/models.QhjRSTriggerLog'
  22650. type: array
  22651. "500":
  22652. description: Internal Server Error
  22653. schema:
  22654. $ref: '#/definitions/app.Response'
  22655. security:
  22656. - ApiKeyAuth: []
  22657. summary: 查询定投记录(定投管理/详情/定投记录)
  22658. tags:
  22659. - 大连千海金
  22660. /Qhj/QueryRStrategy:
  22661. get:
  22662. parameters:
  22663. - description: 用户ID
  22664. in: query
  22665. name: userid
  22666. type: integer
  22667. - description: 商品id
  22668. in: query
  22669. name: goodsid
  22670. type: integer
  22671. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  22672. in: query
  22673. name: status
  22674. type: string
  22675. - description: 名称(模糊搜索账户)
  22676. in: query
  22677. name: filtername
  22678. type: string
  22679. produces:
  22680. - application/json
  22681. responses:
  22682. "200":
  22683. description: OK
  22684. schema:
  22685. items:
  22686. $ref: '#/definitions/models.QhjRStrategy'
  22687. type: array
  22688. "500":
  22689. description: Internal Server Error
  22690. schema:
  22691. $ref: '#/definitions/app.Response'
  22692. security:
  22693. - ApiKeyAuth: []
  22694. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  22695. tags:
  22696. - 大连千海金
  22697. /Qhj/QueryReckonPriceLog:
  22698. get:
  22699. parameters:
  22700. - description: 商品ID
  22701. in: query
  22702. name: goodsid
  22703. type: integer
  22704. - description: 交易日 格式(yyyymmdd)
  22705. in: query
  22706. name: tradedate
  22707. type: string
  22708. produces:
  22709. - application/json
  22710. responses:
  22711. "200":
  22712. description: OK
  22713. schema:
  22714. items:
  22715. $ref: '#/definitions/models.QhjReckonPriceLog'
  22716. type: array
  22717. "500":
  22718. description: Internal Server Error
  22719. schema:
  22720. $ref: '#/definitions/app.Response'
  22721. security:
  22722. - ApiKeyAuth: []
  22723. summary: 查询定投价(结算价)
  22724. tags:
  22725. - 大连千海金
  22726. /Qhj/QueryScoreLog:
  22727. get:
  22728. parameters:
  22729. - description: 用户ID
  22730. in: query
  22731. name: userid
  22732. required: true
  22733. type: integer
  22734. - description: 开始交易日(yyyymmdd)
  22735. in: query
  22736. name: begindate
  22737. type: string
  22738. - description: 结束交易日(yyyymmdd)
  22739. in: query
  22740. name: enddate
  22741. type: string
  22742. - description: 最近多少条
  22743. in: query
  22744. name: lastnum
  22745. type: integer
  22746. produces:
  22747. - application/json
  22748. responses:
  22749. "200":
  22750. description: OK
  22751. schema:
  22752. items:
  22753. $ref: '#/definitions/models.QhjScoreLog'
  22754. type: array
  22755. "500":
  22756. description: Internal Server Error
  22757. schema:
  22758. $ref: '#/definitions/app.Response'
  22759. security:
  22760. - ApiKeyAuth: []
  22761. summary: 查询积分流水(我的积分)
  22762. tags:
  22763. - 大连千海金
  22764. /Qhj/QuerySiteColumnDetail:
  22765. get:
  22766. parameters:
  22767. - description: 用户ID
  22768. in: query
  22769. name: userid
  22770. required: true
  22771. type: integer
  22772. produces:
  22773. - application/json
  22774. responses:
  22775. "200":
  22776. description: OK
  22777. schema:
  22778. items:
  22779. $ref: '#/definitions/models.QhjSiteColumnDetail'
  22780. type: array
  22781. "500":
  22782. description: Internal Server Error
  22783. schema:
  22784. $ref: '#/definitions/app.Response'
  22785. security:
  22786. - ApiKeyAuth: []
  22787. summary: 查询资讯
  22788. tags:
  22789. - 大连千海金
  22790. /Qhj/QueryTradeGoodsPickup:
  22791. get:
  22792. parameters:
  22793. - description: 用户ID
  22794. in: query
  22795. name: userid
  22796. required: true
  22797. type: integer
  22798. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  22799. 7:已拒绝 8:已撤销
  22800. in: query
  22801. name: takeorderstatus
  22802. type: integer
  22803. produces:
  22804. - application/json
  22805. responses:
  22806. "200":
  22807. description: OK
  22808. schema:
  22809. items:
  22810. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  22811. type: array
  22812. "500":
  22813. description: Internal Server Error
  22814. schema:
  22815. $ref: '#/definitions/app.Response'
  22816. security:
  22817. - ApiKeyAuth: []
  22818. summary: 查询提货
  22819. tags:
  22820. - 大连千海金
  22821. /Qhj/QueryUserCollectConfig:
  22822. get:
  22823. parameters:
  22824. - description: 用户ID
  22825. in: query
  22826. name: userid
  22827. required: true
  22828. type: integer
  22829. produces:
  22830. - application/json
  22831. responses:
  22832. "200":
  22833. description: OK
  22834. schema:
  22835. items:
  22836. $ref: '#/definitions/models.UserCollectConfig'
  22837. type: array
  22838. "500":
  22839. description: Internal Server Error
  22840. schema:
  22841. $ref: '#/definitions/app.Response'
  22842. security:
  22843. - ApiKeyAuth: []
  22844. summary: 查询提现账户设置
  22845. tags:
  22846. - 大连千海金
  22847. /Qhj/QueryUserReceiveInfo:
  22848. get:
  22849. parameters:
  22850. - description: 用户ID
  22851. in: query
  22852. name: userid
  22853. required: true
  22854. type: integer
  22855. produces:
  22856. - application/json
  22857. responses:
  22858. "200":
  22859. description: OK
  22860. schema:
  22861. items:
  22862. $ref: '#/definitions/models.UserReceiveInfo'
  22863. type: array
  22864. "500":
  22865. description: Internal Server Error
  22866. schema:
  22867. $ref: '#/definitions/app.Response'
  22868. security:
  22869. - ApiKeyAuth: []
  22870. summary: 查询收货地址信息
  22871. tags:
  22872. - 大连千海金
  22873. /QhjMgr/QueryAccountInOutApply:
  22874. get:
  22875. parameters:
  22876. - description: 查询类型 1-提现(出金) 2-充值(出金)
  22877. in: query
  22878. name: querytype
  22879. required: true
  22880. type: integer
  22881. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  22882. in: query
  22883. name: applystatus
  22884. type: integer
  22885. - description: 申请起始日期(格式yyyymmdd)
  22886. in: query
  22887. name: begindate
  22888. type: string
  22889. - description: 申请截止日期(格式yyyymmdd)
  22890. in: query
  22891. name: enddate
  22892. type: string
  22893. - description: 模糊搜索名称
  22894. in: query
  22895. name: likename
  22896. type: string
  22897. produces:
  22898. - application/json
  22899. responses:
  22900. "200":
  22901. description: OK
  22902. schema:
  22903. items:
  22904. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  22905. type: array
  22906. "500":
  22907. description: Internal Server Error
  22908. schema:
  22909. $ref: '#/definitions/app.Response'
  22910. security:
  22911. - ApiKeyAuth: []
  22912. summary: 查询充值提现
  22913. tags:
  22914. - 大连千海金(PCWeb)
  22915. /QhjMgr/QueryBrokerApply:
  22916. get:
  22917. parameters:
  22918. - description: 所属机构ID
  22919. in: query
  22920. name: userid
  22921. type: integer
  22922. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22923. in: query
  22924. name: filterstatus
  22925. type: string
  22926. - description: 名称(模糊匹配)
  22927. in: query
  22928. name: filtername
  22929. type: string
  22930. - description: 是否包含子级 1-包含
  22931. in: query
  22932. name: includesub
  22933. type: integer
  22934. produces:
  22935. - application/json
  22936. responses:
  22937. "200":
  22938. description: OK
  22939. schema:
  22940. items:
  22941. $ref: '#/definitions/models.QhjMgrBrokerApply'
  22942. type: array
  22943. "500":
  22944. description: Internal Server Error
  22945. schema:
  22946. $ref: '#/definitions/app.Response'
  22947. security:
  22948. - ApiKeyAuth: []
  22949. summary: 查询经纪人申请
  22950. tags:
  22951. - 大连千海金(PCWeb)
  22952. /QhjMgr/QueryBrokerRewardReport:
  22953. get:
  22954. parameters:
  22955. - description: 所属机构ID
  22956. in: query
  22957. name: userid
  22958. required: true
  22959. type: integer
  22960. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22961. in: query
  22962. name: cycletype
  22963. required: true
  22964. type: integer
  22965. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  22966. in: query
  22967. name: cycletime
  22968. required: true
  22969. type: string
  22970. - description: 名称(模糊匹配)
  22971. in: query
  22972. name: filtername
  22973. type: string
  22974. - description: 是否包含子级 1-包含
  22975. in: query
  22976. name: includesub
  22977. type: integer
  22978. produces:
  22979. - application/json
  22980. responses:
  22981. "200":
  22982. description: OK
  22983. schema:
  22984. items:
  22985. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  22986. type: array
  22987. "500":
  22988. description: Internal Server Error
  22989. schema:
  22990. $ref: '#/definitions/app.Response'
  22991. security:
  22992. - ApiKeyAuth: []
  22993. summary: 查询经纪人奖励报表(废弃)
  22994. tags:
  22995. - 大连千海金(PCWeb)
  22996. /QhjMgr/QueryContract:
  22997. get:
  22998. parameters:
  22999. - description: 用户ID
  23000. in: query
  23001. name: userid
  23002. type: integer
  23003. - description: 商品id
  23004. in: query
  23005. name: goodsid
  23006. type: integer
  23007. - description: 名称(模糊搜索账户)
  23008. in: query
  23009. name: filtername
  23010. type: string
  23011. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  23012. in: query
  23013. name: risklevel
  23014. type: string
  23015. - description: 开始交易日(yyyymmdd)
  23016. in: query
  23017. name: begindate
  23018. type: string
  23019. - description: 结束交易日(yyyymmdd)
  23020. in: query
  23021. name: enddate
  23022. type: string
  23023. produces:
  23024. - application/json
  23025. responses:
  23026. "200":
  23027. description: OK
  23028. schema:
  23029. items:
  23030. $ref: '#/definitions/models.QhjMgrContract'
  23031. type: array
  23032. "500":
  23033. description: Internal Server Error
  23034. schema:
  23035. $ref: '#/definitions/app.Response'
  23036. security:
  23037. - ApiKeyAuth: []
  23038. summary: 查询融资信息(合同)
  23039. tags:
  23040. - 大连千海金(PCWeb)
  23041. /QhjMgr/QueryCustomerInfo:
  23042. get:
  23043. parameters:
  23044. - description: 用户ID
  23045. in: query
  23046. name: userid
  23047. required: true
  23048. type: integer
  23049. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23050. in: query
  23051. name: querytype
  23052. required: true
  23053. type: integer
  23054. - description: 客户类型 1-个人 2-企业
  23055. in: query
  23056. name: userinfotype
  23057. type: integer
  23058. - description: 客户名称(模糊匹配)
  23059. in: query
  23060. name: customername
  23061. type: string
  23062. - description: 昵称(模糊匹配)
  23063. in: query
  23064. name: nickname
  23065. type: string
  23066. - description: 是否包含子级 1-包含
  23067. in: query
  23068. name: includesub
  23069. type: integer
  23070. produces:
  23071. - application/json
  23072. responses:
  23073. "200":
  23074. description: OK
  23075. schema:
  23076. items:
  23077. $ref: '#/definitions/models.QhjMgrCustomer'
  23078. type: array
  23079. "500":
  23080. description: Internal Server Error
  23081. schema:
  23082. $ref: '#/definitions/app.Response'
  23083. security:
  23084. - ApiKeyAuth: []
  23085. summary: 查询客户资料
  23086. tags:
  23087. - 大连千海金(PCWeb)
  23088. /QhjMgr/QueryPickGoods:
  23089. get:
  23090. parameters:
  23091. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23092. in: query
  23093. name: status
  23094. type: string
  23095. produces:
  23096. - application/json
  23097. responses:
  23098. "200":
  23099. description: OK
  23100. schema:
  23101. items:
  23102. $ref: '#/definitions/models.QhjMgrPickGoods'
  23103. type: array
  23104. "500":
  23105. description: Internal Server Error
  23106. schema:
  23107. $ref: '#/definitions/app.Response'
  23108. security:
  23109. - ApiKeyAuth: []
  23110. summary: 查询提货商品
  23111. tags:
  23112. - 大连千海金(PCWeb)
  23113. /QhjMgr/QuerySubArea:
  23114. get:
  23115. parameters:
  23116. - description: 用户ID
  23117. in: query
  23118. name: userid
  23119. required: true
  23120. type: integer
  23121. produces:
  23122. - application/json
  23123. responses:
  23124. "200":
  23125. description: OK
  23126. schema:
  23127. items:
  23128. $ref: '#/definitions/models.QhjMgrSubArea'
  23129. type: array
  23130. "500":
  23131. description: Internal Server Error
  23132. schema:
  23133. $ref: '#/definitions/app.Response'
  23134. security:
  23135. - ApiKeyAuth: []
  23136. summary: 查询子机构列表
  23137. tags:
  23138. - 大连千海金(PCWeb)
  23139. /QhjMgr/QueryTradeDetail:
  23140. get:
  23141. parameters:
  23142. - description: 用户ID
  23143. in: query
  23144. name: userid
  23145. required: true
  23146. type: integer
  23147. - description: 用户类型 1-个人 2-企业
  23148. in: query
  23149. name: userinfotype
  23150. type: integer
  23151. - description: 交易模式
  23152. in: query
  23153. name: trademode
  23154. type: integer
  23155. - description: 商品id
  23156. in: query
  23157. name: goodsid
  23158. type: integer
  23159. - description: 名称(模糊搜索账户)
  23160. in: query
  23161. name: filtername
  23162. type: string
  23163. - description: 开始交易日(yyyymmdd)
  23164. in: query
  23165. name: begindate
  23166. type: string
  23167. - description: 结束交易日(yyyymmdd)
  23168. in: query
  23169. name: enddate
  23170. type: string
  23171. - description: 是否包含子级 1-包含
  23172. in: query
  23173. name: includesub
  23174. type: integer
  23175. produces:
  23176. - application/json
  23177. responses:
  23178. "200":
  23179. description: OK
  23180. schema:
  23181. items:
  23182. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  23183. type: array
  23184. "500":
  23185. description: Internal Server Error
  23186. schema:
  23187. $ref: '#/definitions/app.Response'
  23188. security:
  23189. - ApiKeyAuth: []
  23190. summary: 查询成交明细
  23191. tags:
  23192. - 大连千海金(PCWeb)
  23193. /QhjMgr/QueryTradeOrderDetail:
  23194. get:
  23195. parameters:
  23196. - description: 用户ID
  23197. in: query
  23198. name: userid
  23199. required: true
  23200. type: integer
  23201. - description: 用户类型 1-个人 2-企业
  23202. in: query
  23203. name: userinfotype
  23204. type: integer
  23205. - description: 交易模式
  23206. in: query
  23207. name: trademode
  23208. type: integer
  23209. - description: 商品id
  23210. in: query
  23211. name: goodsid
  23212. type: integer
  23213. - description: 名称(模糊搜索账户)
  23214. in: query
  23215. name: filtername
  23216. type: string
  23217. - description: 开始交易日(yyyymmdd)
  23218. in: query
  23219. name: begindate
  23220. type: string
  23221. - description: 结束交易日(yyyymmdd)
  23222. in: query
  23223. name: enddate
  23224. type: string
  23225. - description: 是否包含子级 1-包含
  23226. in: query
  23227. name: includesub
  23228. type: integer
  23229. produces:
  23230. - application/json
  23231. responses:
  23232. "200":
  23233. description: OK
  23234. schema:
  23235. items:
  23236. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  23237. type: array
  23238. "500":
  23239. description: Internal Server Error
  23240. schema:
  23241. $ref: '#/definitions/app.Response'
  23242. security:
  23243. - ApiKeyAuth: []
  23244. summary: 查询委托明细
  23245. tags:
  23246. - 大连千海金(PCWeb)
  23247. /QhjMgr/QueryTradePayOrder:
  23248. get:
  23249. parameters:
  23250. - description: 用户ID
  23251. in: query
  23252. name: userid
  23253. required: true
  23254. type: integer
  23255. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23256. in: query
  23257. name: payflag
  23258. type: string
  23259. - description: 用户类型 1-个人 2-企业
  23260. in: query
  23261. name: userinfotype
  23262. type: integer
  23263. - description: 交易模式
  23264. in: query
  23265. name: trademode
  23266. type: integer
  23267. - description: 商品id
  23268. in: query
  23269. name: goodsid
  23270. type: integer
  23271. - description: 名称(模糊搜索账户)
  23272. in: query
  23273. name: filtername
  23274. type: string
  23275. - description: 开始交易日(yyyymmdd)
  23276. in: query
  23277. name: begindate
  23278. type: string
  23279. - description: 结束交易日(yyyymmdd)
  23280. in: query
  23281. name: enddate
  23282. type: string
  23283. - description: 是否包含子级 1-包含
  23284. in: query
  23285. name: includesub
  23286. type: integer
  23287. produces:
  23288. - application/json
  23289. responses:
  23290. "200":
  23291. description: OK
  23292. schema:
  23293. items:
  23294. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  23295. type: array
  23296. "500":
  23297. description: Internal Server Error
  23298. schema:
  23299. $ref: '#/definitions/app.Response'
  23300. security:
  23301. - ApiKeyAuth: []
  23302. summary: 查询待付款单
  23303. tags:
  23304. - 大连千海金(PCWeb)
  23305. /QhjMgr/QueryTradePosition:
  23306. get:
  23307. parameters:
  23308. - description: 用户ID
  23309. in: query
  23310. name: userid
  23311. required: true
  23312. type: integer
  23313. - description: 用户类型 1-个人 2-企业
  23314. in: query
  23315. name: userinfotype
  23316. type: integer
  23317. - description: 交易模式
  23318. in: query
  23319. name: trademode
  23320. type: integer
  23321. - description: 商品id
  23322. in: query
  23323. name: goodsid
  23324. type: integer
  23325. - description: 名称(模糊搜索账户)
  23326. in: query
  23327. name: filtername
  23328. type: string
  23329. - description: 是否包含子级 1-包含
  23330. in: query
  23331. name: includesub
  23332. type: integer
  23333. produces:
  23334. - application/json
  23335. responses:
  23336. "200":
  23337. description: OK
  23338. schema:
  23339. items:
  23340. $ref: '#/definitions/models.QhjMgrPositionRsp'
  23341. type: array
  23342. "500":
  23343. description: Internal Server Error
  23344. schema:
  23345. $ref: '#/definitions/app.Response'
  23346. security:
  23347. - ApiKeyAuth: []
  23348. summary: 查询持仓汇总
  23349. tags:
  23350. - 大连千海金(PCWeb)
  23351. /QhjSys/QueryAgreementChangeLog:
  23352. get:
  23353. parameters:
  23354. - description: 协议ID
  23355. in: query
  23356. name: agreementid
  23357. type: integer
  23358. - description: 协议版本号
  23359. in: query
  23360. name: agreementversion
  23361. type: integer
  23362. - description: 协议类型 - 1:注册 2:登录 3:交易
  23363. in: query
  23364. name: agreementtype
  23365. type: integer
  23366. - description: 协议编号(模糊匹配)
  23367. in: query
  23368. name: agreementno
  23369. type: string
  23370. - description: 协议名称(模糊匹配)
  23371. in: query
  23372. name: agreementname
  23373. type: string
  23374. produces:
  23375. - application/json
  23376. responses:
  23377. "200":
  23378. description: OK
  23379. schema:
  23380. items:
  23381. $ref: '#/definitions/models.QhjAgreementChangeLog'
  23382. type: array
  23383. "500":
  23384. description: Internal Server Error
  23385. schema:
  23386. $ref: '#/definitions/app.Response'
  23387. security:
  23388. - ApiKeyAuth: []
  23389. summary: 查询协议配置变更流水
  23390. tags:
  23391. - 大连千海金(协议和签约信息)
  23392. /QhjSys/QueryAgreementConfig:
  23393. get:
  23394. parameters:
  23395. - description: 协议ID
  23396. in: query
  23397. name: agreementid
  23398. type: integer
  23399. - description: 协议版本号
  23400. in: query
  23401. name: agreementversion
  23402. type: integer
  23403. - description: 协议类型 - 1:注册 2:登录 3:交易
  23404. in: query
  23405. name: agreementtype
  23406. type: integer
  23407. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  23408. in: query
  23409. name: isvalid
  23410. type: integer
  23411. - description: 协议编号(模糊匹配)
  23412. in: query
  23413. name: agreementno
  23414. type: string
  23415. - description: 协议名称(模糊匹配)
  23416. in: query
  23417. name: agreementname
  23418. type: string
  23419. produces:
  23420. - application/json
  23421. responses:
  23422. "200":
  23423. description: OK
  23424. schema:
  23425. items:
  23426. $ref: '#/definitions/models.QhjAgreementConfig'
  23427. type: array
  23428. "500":
  23429. description: Internal Server Error
  23430. schema:
  23431. $ref: '#/definitions/app.Response'
  23432. security:
  23433. - ApiKeyAuth: []
  23434. summary: 查询协议配置
  23435. tags:
  23436. - 大连千海金(协议和签约信息)
  23437. /QhjSys/QueryCustomerSignStatus:
  23438. get:
  23439. parameters:
  23440. - description: 客户ID
  23441. in: query
  23442. name: userid
  23443. type: integer
  23444. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  23445. in: query
  23446. name: nodetype
  23447. type: integer
  23448. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23449. in: query
  23450. name: goodsid
  23451. type: integer
  23452. - description: 创建交易日(yyyyMMdd)
  23453. in: query
  23454. name: tradedate
  23455. type: string
  23456. - description: 用户名称(模糊匹配)
  23457. in: query
  23458. name: username
  23459. type: string
  23460. produces:
  23461. - application/json
  23462. responses:
  23463. "200":
  23464. description: OK
  23465. schema:
  23466. items:
  23467. $ref: '#/definitions/models.QhjCustomerSignStatus'
  23468. type: array
  23469. "500":
  23470. description: Internal Server Error
  23471. schema:
  23472. $ref: '#/definitions/app.Response'
  23473. security:
  23474. - ApiKeyAuth: []
  23475. summary: 查询客户协议签约状态
  23476. tags:
  23477. - 大连千海金(协议和签约信息)
  23478. /QhjSys/QueryNodeAgreementConfig:
  23479. get:
  23480. parameters:
  23481. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23482. in: query
  23483. name: configid
  23484. type: integer
  23485. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23486. in: query
  23487. name: nodetype
  23488. type: integer
  23489. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23490. in: query
  23491. name: goodsid
  23492. type: integer
  23493. - description: 协议ID
  23494. in: query
  23495. name: agreementid
  23496. type: integer
  23497. - description: 协议类型 - 1:注册 2:登录 3:交易
  23498. in: query
  23499. name: agreementtype
  23500. type: integer
  23501. - description: 协议版本号
  23502. in: query
  23503. name: agreementversion
  23504. type: integer
  23505. - description: 协议编号(模糊匹配)
  23506. in: query
  23507. name: agreementno
  23508. type: string
  23509. - description: 协议名称(模糊匹配)
  23510. in: query
  23511. name: agreementname
  23512. type: string
  23513. produces:
  23514. - application/json
  23515. responses:
  23516. "200":
  23517. description: OK
  23518. schema:
  23519. items:
  23520. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  23521. type: array
  23522. "500":
  23523. description: Internal Server Error
  23524. schema:
  23525. $ref: '#/definitions/app.Response'
  23526. security:
  23527. - ApiKeyAuth: []
  23528. summary: 查询协议节点配置
  23529. tags:
  23530. - 大连千海金(协议和签约信息)
  23531. /QhjSys/QueryQhjCustomerSignLog:
  23532. get:
  23533. parameters:
  23534. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  23535. in: query
  23536. name: logid
  23537. type: integer
  23538. - description: 客户ID
  23539. in: query
  23540. name: userid
  23541. type: integer
  23542. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23543. in: query
  23544. name: nodetype
  23545. type: integer
  23546. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23547. in: query
  23548. name: goodsid
  23549. type: integer
  23550. - description: 协议ID
  23551. in: query
  23552. name: agreementid
  23553. type: integer
  23554. - description: 用户名称(模糊匹配)
  23555. in: query
  23556. name: username
  23557. type: string
  23558. - description: 协议编号(模糊匹配)
  23559. in: query
  23560. name: agreementno
  23561. type: string
  23562. - description: 协议名称(模糊匹配)
  23563. in: query
  23564. name: agreementname
  23565. type: string
  23566. produces:
  23567. - application/json
  23568. responses:
  23569. "200":
  23570. description: OK
  23571. schema:
  23572. items:
  23573. $ref: '#/definitions/models.QhjCustomerSignLog'
  23574. type: array
  23575. "500":
  23576. description: Internal Server Error
  23577. schema:
  23578. $ref: '#/definitions/app.Response'
  23579. security:
  23580. - ApiKeyAuth: []
  23581. summary: 查询客户协议签约流水
  23582. tags:
  23583. - 大连千海金(协议和签约信息)
  23584. /QhjSys/QueryUserNodeCfgAndStatus:
  23585. get:
  23586. parameters:
  23587. - description: 客户ID
  23588. in: query
  23589. name: userid
  23590. type: integer
  23591. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  23592. in: query
  23593. name: configid
  23594. type: integer
  23595. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  23596. in: query
  23597. name: nodetype
  23598. type: string
  23599. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  23600. in: query
  23601. name: goodsid
  23602. type: integer
  23603. - description: 协议ID
  23604. in: query
  23605. name: agreementid
  23606. type: integer
  23607. - description: 协议类型 - 1:注册 2:登录 3:交易
  23608. in: query
  23609. name: agreementtype
  23610. type: integer
  23611. - description: 协议版本号
  23612. in: query
  23613. name: agreementversion
  23614. type: integer
  23615. - description: 协议编号(模糊匹配)
  23616. in: query
  23617. name: agreementno
  23618. type: string
  23619. - description: 协议名称(模糊匹配)
  23620. in: query
  23621. name: agreementname
  23622. type: string
  23623. produces:
  23624. - application/json
  23625. responses:
  23626. "200":
  23627. description: OK
  23628. schema:
  23629. items:
  23630. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  23631. type: array
  23632. "500":
  23633. description: Internal Server Error
  23634. schema:
  23635. $ref: '#/definitions/app.Response'
  23636. security:
  23637. - ApiKeyAuth: []
  23638. summary: 查询用户协议节点配置和状态
  23639. tags:
  23640. - 大连千海金(协议和签约信息)
  23641. /Quote/QueryHistoryDatas:
  23642. get:
  23643. parameters:
  23644. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  23645. 日线'
  23646. in: query
  23647. name: cycleType
  23648. required: true
  23649. type: integer
  23650. - description: 商品代码
  23651. in: query
  23652. name: goodsCode
  23653. required: true
  23654. type: string
  23655. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23656. in: query
  23657. name: startTime
  23658. type: string
  23659. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23660. in: query
  23661. name: endTime
  23662. type: string
  23663. - description: 条数
  23664. in: query
  23665. name: count
  23666. type: integer
  23667. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23668. in: query
  23669. name: isAsc
  23670. type: boolean
  23671. produces:
  23672. - application/json
  23673. responses:
  23674. "200":
  23675. description: OK
  23676. schema:
  23677. $ref: '#/definitions/quote.HistoryData'
  23678. "500":
  23679. description: Internal Server Error
  23680. schema:
  23681. $ref: '#/definitions/app.Response'
  23682. security:
  23683. - ApiKeyAuth: []
  23684. summary: 查询行情历史数据
  23685. tags:
  23686. - 行情服务
  23687. /Quote/QueryHistoryTikDatas:
  23688. get:
  23689. parameters:
  23690. - description: 商品代码
  23691. in: query
  23692. name: goodsCode
  23693. required: true
  23694. type: string
  23695. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  23696. in: query
  23697. name: startTime
  23698. type: string
  23699. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  23700. in: query
  23701. name: endTime
  23702. type: string
  23703. - description: 条数
  23704. in: query
  23705. name: count
  23706. type: integer
  23707. - description: 是否按时间顺序排序(默认为时间倒序排序)
  23708. in: query
  23709. name: isAsc
  23710. type: boolean
  23711. produces:
  23712. - application/json
  23713. responses:
  23714. "200":
  23715. description: OK
  23716. schema:
  23717. $ref: '#/definitions/quote.HistoryTikData'
  23718. "500":
  23719. description: Internal Server Error
  23720. schema:
  23721. $ref: '#/definitions/app.Response'
  23722. security:
  23723. - ApiKeyAuth: []
  23724. summary: 查询行情Tik数据
  23725. tags:
  23726. - 行情服务
  23727. /Quote/QueryQuoteDay:
  23728. get:
  23729. parameters:
  23730. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  23731. in: query
  23732. name: goodsCodes
  23733. required: true
  23734. type: string
  23735. produces:
  23736. - application/json
  23737. responses:
  23738. "200":
  23739. description: OK
  23740. schema:
  23741. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  23742. "500":
  23743. description: Internal Server Error
  23744. schema:
  23745. $ref: '#/definitions/app.Response'
  23746. security:
  23747. - ApiKeyAuth: []
  23748. summary: 获取商品盘面信息
  23749. tags:
  23750. - 行情服务
  23751. /Quote/QueryTSData:
  23752. get:
  23753. parameters:
  23754. - description: 商品代码
  23755. in: query
  23756. name: goodsCode
  23757. required: true
  23758. type: string
  23759. produces:
  23760. - application/json
  23761. responses:
  23762. "200":
  23763. description: OK
  23764. schema:
  23765. $ref: '#/definitions/quote.QueryTSDataRsp'
  23766. "500":
  23767. description: Internal Server Error
  23768. schema:
  23769. $ref: '#/definitions/app.Response'
  23770. security:
  23771. - ApiKeyAuth: []
  23772. summary: 分时图数据查询
  23773. tags:
  23774. - 行情服务
  23775. /SZDZ/QueryConvertConfig:
  23776. get:
  23777. parameters:
  23778. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  23779. 6:交易转花生米(不设置)
  23780. in: query
  23781. name: convertType
  23782. type: integer
  23783. - description: 外部商品代码[JD\PD]
  23784. in: query
  23785. name: outerGoodsCode
  23786. type: string
  23787. - description: 内部商品ID列表[交易],格式:1,2,3
  23788. in: query
  23789. name: innerGoodsIDs
  23790. type: string
  23791. produces:
  23792. - application/json
  23793. responses:
  23794. "200":
  23795. description: OK
  23796. schema:
  23797. $ref: '#/definitions/models.Szdz3convertconfig'
  23798. "500":
  23799. description: Internal Server Error
  23800. schema:
  23801. $ref: '#/definitions/app.Response'
  23802. security:
  23803. - ApiKeyAuth: []
  23804. summary: 查询交易系统转换设置
  23805. tags:
  23806. - 定制【尚志大宗】
  23807. /SZDZ/QueryConvertLog:
  23808. get:
  23809. parameters:
  23810. - description: 资金账户 - 格式:1,2,3
  23811. in: query
  23812. name: accountID
  23813. required: true
  23814. type: string
  23815. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23816. in: query
  23817. name: startDate
  23818. type: string
  23819. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23820. in: query
  23821. name: endDate
  23822. type: string
  23823. produces:
  23824. - application/json
  23825. responses:
  23826. "200":
  23827. description: OK
  23828. schema:
  23829. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  23830. "500":
  23831. description: Internal Server Error
  23832. schema:
  23833. $ref: '#/definitions/app.Response'
  23834. security:
  23835. - ApiKeyAuth: []
  23836. summary: 交易系统转换流水查询
  23837. tags:
  23838. - 定制【尚志大宗】
  23839. /SZDZ/QueryGoodsPickup:
  23840. get:
  23841. parameters:
  23842. - description: 资金账户 - 格式:1,2,3
  23843. in: query
  23844. name: accountID
  23845. required: true
  23846. type: string
  23847. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23848. in: query
  23849. name: takeOrderStatus
  23850. type: integer
  23851. produces:
  23852. - application/json
  23853. responses:
  23854. "200":
  23855. description: OK
  23856. schema:
  23857. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  23858. "500":
  23859. description: Internal Server Error
  23860. schema:
  23861. $ref: '#/definitions/app.Response'
  23862. security:
  23863. - ApiKeyAuth: []
  23864. summary: 商品提货单查询
  23865. tags:
  23866. - 定制【尚志大宗】
  23867. /SZDZ/QueryRecieptOrder:
  23868. get:
  23869. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  23870. parameters:
  23871. - description: 页码
  23872. in: query
  23873. name: page
  23874. type: integer
  23875. - description: 每页条数
  23876. in: query
  23877. name: pagesize
  23878. type: integer
  23879. - description: 商品ID
  23880. in: query
  23881. name: goodsID
  23882. required: true
  23883. type: integer
  23884. - description: 所属账户名称
  23885. in: query
  23886. name: accountName
  23887. type: string
  23888. - description: 市场ID
  23889. in: query
  23890. name: marketID
  23891. type: integer
  23892. - description: 方向 - 0:买 1:卖
  23893. in: query
  23894. name: buyorsell
  23895. required: true
  23896. type: integer
  23897. produces:
  23898. - application/json
  23899. responses:
  23900. "200":
  23901. description: OK
  23902. schema:
  23903. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  23904. "500":
  23905. description: Internal Server Error
  23906. schema:
  23907. $ref: '#/definitions/app.Response'
  23908. security:
  23909. - ApiKeyAuth: []
  23910. summary: 点选挂牌委托单据查询(摘牌大厅)
  23911. tags:
  23912. - 定制【尚志大宗】
  23913. /SZDZ/QuerySZDZTradePosition:
  23914. get:
  23915. parameters:
  23916. - description: 资金账户
  23917. in: query
  23918. name: accountID
  23919. required: true
  23920. type: integer
  23921. produces:
  23922. - application/json
  23923. responses:
  23924. "200":
  23925. description: OK
  23926. schema:
  23927. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  23928. "500":
  23929. description: Internal Server Error
  23930. schema:
  23931. $ref: '#/definitions/app.Response'
  23932. security:
  23933. - ApiKeyAuth: []
  23934. summary: 持仓汇总查询(尚志大宗)
  23935. tags:
  23936. - 定制【尚志大宗】
  23937. /SZDZ/SearchWhite:
  23938. get:
  23939. parameters:
  23940. - description: 用户ID
  23941. in: query
  23942. name: userID
  23943. required: true
  23944. type: integer
  23945. produces:
  23946. - application/json
  23947. responses:
  23948. "200":
  23949. description: OK
  23950. schema:
  23951. $ref: '#/definitions/models.Szdz3searchwhitelist'
  23952. "500":
  23953. description: Internal Server Error
  23954. schema:
  23955. $ref: '#/definitions/app.Response'
  23956. security:
  23957. - ApiKeyAuth: []
  23958. summary: 搜索白名单
  23959. tags:
  23960. - 定制【尚志大宗】
  23961. /Search/SearchGoodses:
  23962. get:
  23963. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  23964. parameters:
  23965. - description: 检索内容
  23966. in: query
  23967. name: content
  23968. required: true
  23969. type: string
  23970. - description: 交易模式,格式:1,2,3
  23971. in: query
  23972. name: tradeModes
  23973. type: string
  23974. produces:
  23975. - application/json
  23976. responses:
  23977. "200":
  23978. description: OK
  23979. schema:
  23980. $ref: '#/definitions/models.SearchGoods'
  23981. "500":
  23982. description: Internal Server Error
  23983. schema:
  23984. $ref: '#/definitions/app.Response'
  23985. summary: 检索商品信息
  23986. tags:
  23987. - 检索服务
  23988. /TaAccount/GetTaAccounts:
  23989. get:
  23990. parameters:
  23991. - description: 登录账户
  23992. in: query
  23993. name: loginID
  23994. required: true
  23995. type: integer
  23996. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  23997. in: query
  23998. name: taAccountType
  23999. type: integer
  24000. produces:
  24001. - application/json
  24002. responses:
  24003. "200":
  24004. description: OK
  24005. schema:
  24006. $ref: '#/definitions/models.Taaccount'
  24007. "500":
  24008. description: Internal Server Error
  24009. schema:
  24010. $ref: '#/definitions/app.Response'
  24011. security:
  24012. - ApiKeyAuth: []
  24013. summary: 获取资金账户信息
  24014. tags:
  24015. - 资金账户
  24016. /TaAccount/QueryAmountLog:
  24017. get:
  24018. parameters:
  24019. - description: 页码
  24020. in: query
  24021. name: page
  24022. type: integer
  24023. - description: 每页条数
  24024. in: query
  24025. name: pagesize
  24026. type: integer
  24027. - description: 资金账户 - 格式:1,2,3
  24028. in: query
  24029. name: accountID
  24030. required: true
  24031. type: string
  24032. - description: 资金操作类型 - 格式:1,2,3
  24033. in: query
  24034. name: OperateType
  24035. type: string
  24036. produces:
  24037. - application/json
  24038. responses:
  24039. "200":
  24040. description: OK
  24041. schema:
  24042. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  24043. "500":
  24044. description: Internal Server Error
  24045. schema:
  24046. $ref: '#/definitions/app.Response'
  24047. security:
  24048. - ApiKeyAuth: []
  24049. summary: 资金流水查询(当前)
  24050. tags:
  24051. - 资金账户
  24052. /TaAccount/QueryHisAmountLog:
  24053. get:
  24054. parameters:
  24055. - description: 页码
  24056. in: query
  24057. name: page
  24058. type: integer
  24059. - description: 每页条数
  24060. in: query
  24061. name: pagesize
  24062. type: integer
  24063. - description: 资金账户 - 格式:1,2,3
  24064. in: query
  24065. name: accountID
  24066. required: true
  24067. type: string
  24068. - description: 资金操作类型 - 格式:1,2,3
  24069. in: query
  24070. name: OperateType
  24071. type: string
  24072. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24073. in: query
  24074. name: startDate
  24075. type: string
  24076. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24077. in: query
  24078. name: endDate
  24079. type: string
  24080. produces:
  24081. - application/json
  24082. responses:
  24083. "200":
  24084. description: OK
  24085. schema:
  24086. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  24087. "500":
  24088. description: Internal Server Error
  24089. schema:
  24090. $ref: '#/definitions/app.Response'
  24091. security:
  24092. - ApiKeyAuth: []
  24093. summary: 资金流水查询(历史)
  24094. tags:
  24095. - 资金账户
  24096. /Trade/QueryRecieptOrder:
  24097. get:
  24098. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24099. parameters:
  24100. - description: 页码
  24101. in: query
  24102. name: page
  24103. type: integer
  24104. - description: 每页条数
  24105. in: query
  24106. name: pagesize
  24107. type: integer
  24108. - description: 商品ID
  24109. in: query
  24110. name: goodsID
  24111. required: true
  24112. type: integer
  24113. - description: 所属账户名称
  24114. in: query
  24115. name: accountName
  24116. type: string
  24117. - description: 市场ID
  24118. in: query
  24119. name: marketID
  24120. type: integer
  24121. - description: 方向 - 0:买 1:卖
  24122. in: query
  24123. name: buyorsell
  24124. required: true
  24125. type: integer
  24126. produces:
  24127. - application/json
  24128. responses:
  24129. "200":
  24130. description: OK
  24131. schema:
  24132. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  24133. "500":
  24134. description: Internal Server Error
  24135. schema:
  24136. $ref: '#/definitions/app.Response'
  24137. security:
  24138. - ApiKeyAuth: []
  24139. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  24140. tags:
  24141. - 通用交易
  24142. /User/AddMessageBoard:
  24143. post:
  24144. parameters:
  24145. - description: 用户ID
  24146. in: query
  24147. name: userID
  24148. required: true
  24149. type: integer
  24150. - description: 留言信息
  24151. in: query
  24152. name: message
  24153. required: true
  24154. type: string
  24155. - description: 联系电话
  24156. in: query
  24157. name: contactNum
  24158. required: true
  24159. type: string
  24160. produces:
  24161. - application/json
  24162. responses:
  24163. "200":
  24164. description: OK
  24165. schema:
  24166. $ref: '#/definitions/app.Response'
  24167. "500":
  24168. description: Internal Server Error
  24169. schema:
  24170. $ref: '#/definitions/app.Response'
  24171. security:
  24172. - ApiKeyAuth: []
  24173. summary: 添加用户留言板信息
  24174. tags:
  24175. - 用户信息
  24176. /User/AddUserFavoriteGoods:
  24177. post:
  24178. parameters:
  24179. - description: 用户ID
  24180. in: query
  24181. name: userID
  24182. required: true
  24183. type: integer
  24184. - description: 商品ID
  24185. in: query
  24186. name: goodsID
  24187. required: true
  24188. type: integer
  24189. produces:
  24190. - application/json
  24191. responses:
  24192. "200":
  24193. description: OK
  24194. schema:
  24195. $ref: '#/definitions/app.Response'
  24196. "500":
  24197. description: Internal Server Error
  24198. schema:
  24199. $ref: '#/definitions/app.Response'
  24200. security:
  24201. - ApiKeyAuth: []
  24202. summary: 添加用户商品收藏信息
  24203. tags:
  24204. - 用户信息
  24205. /User/GetLoginID:
  24206. get:
  24207. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  24208. parameters:
  24209. - description: 登录代码
  24210. in: query
  24211. name: username
  24212. required: true
  24213. type: string
  24214. produces:
  24215. - application/json
  24216. responses:
  24217. "200":
  24218. description: OK
  24219. schema:
  24220. $ref: '#/definitions/app.Response'
  24221. "500":
  24222. description: Internal Server Error
  24223. schema:
  24224. $ref: '#/definitions/app.Response'
  24225. summary: 获取登录ID
  24226. tags:
  24227. - 用户信息
  24228. /User/GetUserAccount:
  24229. get:
  24230. parameters:
  24231. - description: 用户ID
  24232. in: query
  24233. name: userID
  24234. required: true
  24235. type: integer
  24236. produces:
  24237. - application/json
  24238. responses:
  24239. "200":
  24240. description: OK
  24241. schema:
  24242. $ref: '#/definitions/models.Useraccount'
  24243. "500":
  24244. description: Internal Server Error
  24245. schema:
  24246. $ref: '#/definitions/app.Response'
  24247. security:
  24248. - ApiKeyAuth: []
  24249. summary: 获取用户账号信息
  24250. tags:
  24251. - 用户信息
  24252. /User/GetUserAuthStatus:
  24253. get:
  24254. parameters:
  24255. - description: 用户ID
  24256. in: query
  24257. name: userID
  24258. required: true
  24259. type: integer
  24260. produces:
  24261. - application/json
  24262. responses:
  24263. "200":
  24264. description: OK
  24265. schema:
  24266. $ref: '#/definitions/app.Response'
  24267. "500":
  24268. description: Internal Server Error
  24269. schema:
  24270. $ref: '#/definitions/app.Response'
  24271. security:
  24272. - ApiKeyAuth: []
  24273. summary: 获取用户实名认证状态
  24274. tags:
  24275. - 用户信息
  24276. /User/LoginQuery:
  24277. get:
  24278. parameters:
  24279. - description: 登录账号
  24280. in: query
  24281. name: loginID
  24282. required: true
  24283. type: integer
  24284. produces:
  24285. - application/json
  24286. responses:
  24287. "200":
  24288. description: OK
  24289. schema:
  24290. $ref: '#/definitions/user.LoginQueryRsp'
  24291. "500":
  24292. description: Internal Server Error
  24293. schema:
  24294. $ref: '#/definitions/app.Response'
  24295. security:
  24296. - ApiKeyAuth: []
  24297. summary: 账户登录后信息查询
  24298. tags:
  24299. - 用户信息
  24300. /User/QueryMessageBoard:
  24301. get:
  24302. parameters:
  24303. - description: 用户ID
  24304. in: query
  24305. name: userID
  24306. required: true
  24307. type: integer
  24308. produces:
  24309. - application/json
  24310. responses:
  24311. "200":
  24312. description: OK
  24313. schema:
  24314. $ref: '#/definitions/models.Messageboard'
  24315. "500":
  24316. description: Internal Server Error
  24317. schema:
  24318. $ref: '#/definitions/app.Response'
  24319. security:
  24320. - ApiKeyAuth: []
  24321. summary: 获取用户留言板信息
  24322. tags:
  24323. - 用户信息
  24324. /User/QueryUserFavoriteGoodses:
  24325. get:
  24326. parameters:
  24327. - description: 用户ID
  24328. in: query
  24329. name: userID
  24330. required: true
  24331. type: integer
  24332. produces:
  24333. - application/json
  24334. responses:
  24335. "200":
  24336. description: OK
  24337. schema:
  24338. $ref: '#/definitions/models.Userfavoritegoods'
  24339. "500":
  24340. description: Internal Server Error
  24341. schema:
  24342. $ref: '#/definitions/app.Response'
  24343. security:
  24344. - ApiKeyAuth: []
  24345. summary: 获取用户商品收藏信息
  24346. tags:
  24347. - 用户信息
  24348. /User/QueryUserInfo:
  24349. get:
  24350. parameters:
  24351. - description: 用户ID
  24352. in: query
  24353. name: userID
  24354. required: true
  24355. type: integer
  24356. - description: 是否解密
  24357. in: query
  24358. name: isDecrypt
  24359. type: boolean
  24360. produces:
  24361. - application/json
  24362. responses:
  24363. "200":
  24364. description: OK
  24365. schema:
  24366. $ref: '#/definitions/models.Userinfo'
  24367. "500":
  24368. description: Internal Server Error
  24369. schema:
  24370. $ref: '#/definitions/app.Response'
  24371. security:
  24372. - ApiKeyAuth: []
  24373. summary: 获取用户信息
  24374. tags:
  24375. - 用户信息
  24376. /User/QueryUserReferNum:
  24377. get:
  24378. parameters:
  24379. - description: 用户ID
  24380. in: query
  24381. name: userID
  24382. required: true
  24383. type: integer
  24384. produces:
  24385. - application/json
  24386. responses:
  24387. "200":
  24388. description: OK
  24389. schema:
  24390. $ref: '#/definitions/app.Response'
  24391. "500":
  24392. description: Internal Server Error
  24393. schema:
  24394. $ref: '#/definitions/app.Response'
  24395. summary: 获取用户邀请码
  24396. tags:
  24397. - 用户信息
  24398. /User/RemoveUserFavoriteGoods:
  24399. post:
  24400. parameters:
  24401. - description: 用户ID
  24402. in: query
  24403. name: userID
  24404. required: true
  24405. type: integer
  24406. - description: 商品ID
  24407. in: query
  24408. name: goodsID
  24409. required: true
  24410. type: integer
  24411. produces:
  24412. - application/json
  24413. responses:
  24414. "200":
  24415. description: OK
  24416. schema:
  24417. $ref: '#/definitions/app.Response'
  24418. "500":
  24419. description: Internal Server Error
  24420. schema:
  24421. $ref: '#/definitions/app.Response'
  24422. security:
  24423. - ApiKeyAuth: []
  24424. summary: 移除用户商品收藏信息
  24425. tags:
  24426. - 用户信息
  24427. /User/UpdateUserAccountStatus:
  24428. post:
  24429. parameters:
  24430. - description: 用户ID
  24431. in: query
  24432. name: userID
  24433. required: true
  24434. type: integer
  24435. - description: 账户状态 - 4:正常 6:注销(停用)
  24436. in: query
  24437. name: accountStatus
  24438. required: true
  24439. type: integer
  24440. produces:
  24441. - application/json
  24442. responses:
  24443. "200":
  24444. description: OK
  24445. schema:
  24446. $ref: '#/definitions/app.Response'
  24447. "500":
  24448. description: Internal Server Error
  24449. schema:
  24450. $ref: '#/definitions/app.Response'
  24451. security:
  24452. - ApiKeyAuth: []
  24453. summary: 更新用户状态
  24454. tags:
  24455. - 用户信息
  24456. /WRTrade/GetAllDeliveryGoods:
  24457. get:
  24458. produces:
  24459. - application/json
  24460. - application/json
  24461. responses:
  24462. "200":
  24463. description: OK
  24464. schema:
  24465. $ref: '#/definitions/app.Response'
  24466. "500":
  24467. description: Internal Server Error
  24468. schema:
  24469. $ref: '#/definitions/app.Response'
  24470. security:
  24471. - ApiKeyAuth: []
  24472. - ApiKeyAuth: []
  24473. summary: 获取带仓单分类的种类信息
  24474. tags:
  24475. - 仓单贸易
  24476. - 仓单贸易
  24477. /WrTrade2/QueryFaProductDetail:
  24478. get:
  24479. description: 页面 买卖大厅 -> 选择融资方案
  24480. parameters:
  24481. - description: 仓单要素id
  24482. in: query
  24483. name: wrfactortypeid
  24484. required: true
  24485. type: integer
  24486. produces:
  24487. - application/json
  24488. responses:
  24489. "200":
  24490. description: OK
  24491. schema:
  24492. items:
  24493. $ref: '#/definitions/models.WrFAProductDetail'
  24494. type: array
  24495. "500":
  24496. description: Internal Server Error
  24497. schema:
  24498. $ref: '#/definitions/app.Response'
  24499. security:
  24500. - ApiKeyAuth: []
  24501. summary: 查询融资产品列表
  24502. tags:
  24503. - 仓单贸易v2
  24504. /WrTrade2/QueryFilterItem:
  24505. get:
  24506. parameters:
  24507. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  24508. in: query
  24509. name: itype
  24510. required: true
  24511. type: string
  24512. produces:
  24513. - application/json
  24514. responses:
  24515. "200":
  24516. description: OK
  24517. schema:
  24518. items:
  24519. $ref: '#/definitions/models.WrFilterItem'
  24520. type: array
  24521. "500":
  24522. description: Internal Server Error
  24523. schema:
  24524. $ref: '#/definitions/app.Response'
  24525. security:
  24526. - ApiKeyAuth: []
  24527. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  24528. tags:
  24529. - 仓单贸易v2
  24530. /WrTrade2/QueryFtDeliveryGoods:
  24531. get:
  24532. produces:
  24533. - application/json
  24534. responses:
  24535. "200":
  24536. description: OK
  24537. schema:
  24538. items:
  24539. $ref: '#/definitions/models.WrFtDeliveryGoods'
  24540. type: array
  24541. "500":
  24542. description: Internal Server Error
  24543. schema:
  24544. $ref: '#/definitions/app.Response'
  24545. security:
  24546. - ApiKeyAuth: []
  24547. summary: 查询品种品类筛选框列表
  24548. tags:
  24549. - 仓单贸易v2
  24550. /WrTrade2/QueryHoldLB:
  24551. get:
  24552. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  24553. parameters:
  24554. - description: 资金账号
  24555. in: query
  24556. name: accountid
  24557. required: true
  24558. type: integer
  24559. - description: 仓库id
  24560. in: query
  24561. name: warehouseid
  24562. type: integer
  24563. - description: 品种id
  24564. in: query
  24565. name: deliverygoodsid
  24566. type: integer
  24567. - description: 品类id
  24568. in: query
  24569. name: wrstandardid
  24570. type: integer
  24571. - description: 仓单要素id
  24572. in: query
  24573. name: wrfactortypeid
  24574. type: integer
  24575. produces:
  24576. - application/json
  24577. responses:
  24578. "200":
  24579. description: OK
  24580. schema:
  24581. items:
  24582. $ref: '#/definitions/models.WrHoldLB'
  24583. type: array
  24584. "500":
  24585. description: Internal Server Error
  24586. schema:
  24587. $ref: '#/definitions/app.Response'
  24588. security:
  24589. - ApiKeyAuth: []
  24590. summary: 查询仓单持有记录
  24591. tags:
  24592. - 仓单贸易v2
  24593. /WrTrade2/QueryOrderQuote:
  24594. get:
  24595. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  24596. 唯一确定1条记录
  24597. parameters:
  24598. - description: 页码
  24599. in: query
  24600. name: page
  24601. type: integer
  24602. - description: 每页条数
  24603. in: query
  24604. name: pagesize
  24605. type: integer
  24606. - description: 仓单贸易市场id
  24607. in: query
  24608. name: marketid
  24609. type: integer
  24610. - description: 价格方式 - 1:固定价 2-浮动价
  24611. in: query
  24612. name: wrpricetype
  24613. required: true
  24614. type: integer
  24615. - description: 0:仓单预售 1:仓单贸易
  24616. in: query
  24617. name: haswr
  24618. required: true
  24619. type: integer
  24620. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24621. in: query
  24622. name: dgitemname
  24623. type: string
  24624. - description: 仓库id(筛选条件)
  24625. in: query
  24626. name: warehouseid
  24627. type: integer
  24628. - description: 品种id
  24629. in: query
  24630. name: deliverygoodsid
  24631. type: integer
  24632. - description: 品类id
  24633. in: query
  24634. name: wrstandardid
  24635. type: integer
  24636. - description: 仓单要素id
  24637. in: query
  24638. name: wrfactortypeid
  24639. type: integer
  24640. - description: 交收月(yyyy-mm) 仓单预售填写
  24641. in: query
  24642. name: deliverymonth
  24643. type: string
  24644. produces:
  24645. - application/json
  24646. responses:
  24647. "200":
  24648. description: OK
  24649. schema:
  24650. items:
  24651. $ref: '#/definitions/models.WrOrderQuote'
  24652. type: array
  24653. "500":
  24654. description: Internal Server Error
  24655. schema:
  24656. $ref: '#/definitions/app.Response'
  24657. security:
  24658. - ApiKeyAuth: []
  24659. summary: 查询大厅行情列表
  24660. tags:
  24661. - 仓单贸易v2
  24662. /WrTrade2/QueryOrderQuoteDetail:
  24663. get:
  24664. parameters:
  24665. - description: 页码
  24666. in: query
  24667. name: page
  24668. type: integer
  24669. - description: 每页条数
  24670. in: query
  24671. name: pagesize
  24672. type: integer
  24673. - description: 仓单贸易市场id
  24674. in: query
  24675. name: marketid
  24676. type: integer
  24677. - description: 价格方式 - 1:固定价 2-浮动价
  24678. in: query
  24679. name: wrpricetype
  24680. required: true
  24681. type: integer
  24682. - description: 0:仓单预售 1:仓单贸易
  24683. in: query
  24684. name: haswr
  24685. required: true
  24686. type: integer
  24687. - description: 仓单要素id
  24688. in: query
  24689. name: wrfactortypeid
  24690. required: true
  24691. type: integer
  24692. - description: 期货商品id(浮动价方式时填)
  24693. in: query
  24694. name: goodsid
  24695. type: integer
  24696. - description: 买卖方向 0-买 1-卖
  24697. in: query
  24698. name: buyorsell
  24699. required: true
  24700. type: integer
  24701. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  24702. in: query
  24703. name: deliverymonth
  24704. type: string
  24705. produces:
  24706. - application/json
  24707. responses:
  24708. "200":
  24709. description: OK
  24710. schema:
  24711. items:
  24712. $ref: '#/definitions/models.WrOrderQuoteDetail'
  24713. type: array
  24714. "500":
  24715. description: Internal Server Error
  24716. schema:
  24717. $ref: '#/definitions/app.Response'
  24718. security:
  24719. - ApiKeyAuth: []
  24720. summary: 查询买卖大厅
  24721. tags:
  24722. - 仓单贸易v2
  24723. /WrTrade2/QueryOrderQuoteMyq:
  24724. get:
  24725. parameters:
  24726. - description: 页码
  24727. in: query
  24728. name: page
  24729. type: integer
  24730. - description: 每页条数
  24731. in: query
  24732. name: pagesize
  24733. type: integer
  24734. - description: 用户id
  24735. in: query
  24736. name: userid
  24737. required: true
  24738. type: integer
  24739. - description: 仓单贸易市场id
  24740. in: query
  24741. name: marketid
  24742. type: integer
  24743. - description: 0:仓单预售 1:仓单贸易
  24744. in: query
  24745. name: haswr
  24746. required: true
  24747. type: integer
  24748. - description: 买卖方向 0-买 1-卖
  24749. in: query
  24750. name: buyorsell
  24751. required: true
  24752. type: integer
  24753. - description: 品种id
  24754. in: query
  24755. name: deliverygoodsid
  24756. type: integer
  24757. - description: 品类id
  24758. in: query
  24759. name: wrstandardid
  24760. type: integer
  24761. - description: 交收月(yyyy-mm) 仓单预售填写
  24762. in: query
  24763. name: deliverymonth
  24764. type: string
  24765. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  24766. in: query
  24767. name: dgitemname
  24768. type: string
  24769. produces:
  24770. - application/json
  24771. responses:
  24772. "200":
  24773. description: OK
  24774. schema:
  24775. items:
  24776. $ref: '#/definitions/models.WrQuoteOrderMyq'
  24777. type: array
  24778. "500":
  24779. description: Internal Server Error
  24780. schema:
  24781. $ref: '#/definitions/app.Response'
  24782. security:
  24783. - ApiKeyAuth: []
  24784. summary: 查询贸易圈挂牌大厅
  24785. tags:
  24786. - 仓单贸易v2
  24787. /WrTrade2/QueryPerformancePlan:
  24788. get:
  24789. parameters:
  24790. - description: 用户id
  24791. in: query
  24792. name: userid
  24793. required: true
  24794. type: integer
  24795. - description: 买卖方向 0-买 1-卖
  24796. in: query
  24797. name: buyorsell
  24798. required: true
  24799. type: integer
  24800. produces:
  24801. - application/json
  24802. responses:
  24803. "200":
  24804. description: OK
  24805. schema:
  24806. items:
  24807. $ref: '#/definitions/models.WrPerformancePlan'
  24808. type: array
  24809. "500":
  24810. description: Internal Server Error
  24811. schema:
  24812. $ref: '#/definitions/app.Response'
  24813. security:
  24814. - ApiKeyAuth: []
  24815. summary: 查询履约信息
  24816. tags:
  24817. - 仓单贸易v2
  24818. /WrTrade2/QueryPermancePlanTmp:
  24819. get:
  24820. description: 返回指定用户的模板和公共模板(用户id为空)
  24821. parameters:
  24822. - description: 用户id
  24823. in: query
  24824. name: userid
  24825. type: integer
  24826. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  24827. (无仓单) 5:挂牌期权 6:竞拍-降价式
  24828. in: query
  24829. name: tmptype
  24830. type: string
  24831. - description: 是否包含公共模板(用户id为空的) 1-包含
  24832. in: query
  24833. name: includepub
  24834. type: integer
  24835. produces:
  24836. - application/json
  24837. responses:
  24838. "200":
  24839. description: OK
  24840. schema:
  24841. items:
  24842. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  24843. type: array
  24844. "500":
  24845. description: Internal Server Error
  24846. schema:
  24847. $ref: '#/definitions/app.Response'
  24848. security:
  24849. - ApiKeyAuth: []
  24850. summary: 查询履约模板
  24851. tags:
  24852. - 仓单贸易v2
  24853. /WrTrade2/QueryWrAverageTradePrice:
  24854. get:
  24855. parameters:
  24856. - description: 页码
  24857. in: query
  24858. name: page
  24859. type: integer
  24860. - description: 每页条数
  24861. in: query
  24862. name: pagesize
  24863. type: integer
  24864. - description: 0:仓单预售 1:仓单贸易
  24865. in: query
  24866. name: haswr
  24867. required: true
  24868. type: integer
  24869. - description: 仓单要素id
  24870. in: query
  24871. name: wrfactortypeid
  24872. required: true
  24873. type: integer
  24874. produces:
  24875. - application/json
  24876. responses:
  24877. "200":
  24878. description: OK
  24879. schema:
  24880. items:
  24881. $ref: '#/definitions/models.WrAverageTradePrice'
  24882. type: array
  24883. "500":
  24884. description: Internal Server Error
  24885. schema:
  24886. $ref: '#/definitions/app.Response'
  24887. security:
  24888. - ApiKeyAuth: []
  24889. summary: 查询成交价(历史走势)
  24890. tags:
  24891. - 仓单贸易v2
  24892. /WrTrade2/QueryWrBsGoodsInfo:
  24893. get:
  24894. description: 合约交易/买卖大厅/详情
  24895. parameters:
  24896. - description: 商品id
  24897. in: query
  24898. name: goodsid
  24899. required: true
  24900. type: integer
  24901. produces:
  24902. - application/json
  24903. responses:
  24904. "200":
  24905. description: OK
  24906. schema:
  24907. items:
  24908. $ref: '#/definitions/models.WrBsGoodsInfo'
  24909. type: array
  24910. "500":
  24911. description: Internal Server Error
  24912. schema:
  24913. $ref: '#/definitions/app.Response'
  24914. security:
  24915. - ApiKeyAuth: []
  24916. summary: 查询合约交易买卖大厅详情
  24917. tags:
  24918. - 仓单贸易v2
  24919. /WrTrade2/QueryWrBuybackDetail:
  24920. get:
  24921. parameters:
  24922. - description: 融资合同id
  24923. in: query
  24924. name: scfcontractid
  24925. type: integer
  24926. produces:
  24927. - application/json
  24928. responses:
  24929. "200":
  24930. description: OK
  24931. schema:
  24932. items:
  24933. $ref: '#/definitions/models.WrBuybackDetail'
  24934. type: array
  24935. "500":
  24936. description: Internal Server Error
  24937. schema:
  24938. $ref: '#/definitions/app.Response'
  24939. security:
  24940. - ApiKeyAuth: []
  24941. summary: 查询仓单回购明细
  24942. tags:
  24943. - 仓单贸易v2
  24944. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  24945. get:
  24946. parameters:
  24947. - description: 资金账号
  24948. in: query
  24949. name: accountid
  24950. required: true
  24951. type: integer
  24952. - description: 商品id
  24953. in: query
  24954. name: goodsid
  24955. required: true
  24956. type: integer
  24957. produces:
  24958. - application/json
  24959. responses:
  24960. "200":
  24961. description: OK
  24962. schema:
  24963. items:
  24964. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  24965. type: array
  24966. "500":
  24967. description: Internal Server Error
  24968. schema:
  24969. $ref: '#/definitions/app.Response'
  24970. security:
  24971. - ApiKeyAuth: []
  24972. summary: 查询合约交收可点选仓单
  24973. tags:
  24974. - 仓单贸易v2
  24975. /WrTrade2/QueryWrDeliveryDetail:
  24976. get:
  24977. parameters:
  24978. - description: 用户id
  24979. in: query
  24980. name: userid
  24981. required: true
  24982. type: integer
  24983. - description: 资金账号id
  24984. in: query
  24985. name: accountid
  24986. type: integer
  24987. produces:
  24988. - application/json
  24989. responses:
  24990. "200":
  24991. description: OK
  24992. schema:
  24993. items:
  24994. $ref: '#/definitions/models.WrDeliveryDetail'
  24995. type: array
  24996. "500":
  24997. description: Internal Server Error
  24998. schema:
  24999. $ref: '#/definitions/app.Response'
  25000. security:
  25001. - ApiKeyAuth: []
  25002. summary: 查询交收
  25003. tags:
  25004. - 仓单贸易v2
  25005. /WrTrade2/QueryWrFactorTypeInfo:
  25006. get:
  25007. parameters:
  25008. - description: 仓单要素id
  25009. in: query
  25010. name: wrfactortypeid
  25011. required: true
  25012. type: integer
  25013. produces:
  25014. - application/json
  25015. responses:
  25016. "200":
  25017. description: OK
  25018. schema:
  25019. items:
  25020. $ref: '#/definitions/models.WrFactorTypeInfo'
  25021. type: array
  25022. "500":
  25023. description: Internal Server Error
  25024. schema:
  25025. $ref: '#/definitions/app.Response'
  25026. security:
  25027. - ApiKeyAuth: []
  25028. summary: 查询仓单要素详细信息
  25029. tags:
  25030. - 仓单贸易v2
  25031. /WrTrade2/QueryWrFactorTypeInfoEx:
  25032. get:
  25033. parameters:
  25034. - description: 仓单要素id
  25035. in: query
  25036. name: wrfactortypeid
  25037. required: true
  25038. type: integer
  25039. produces:
  25040. - application/json
  25041. responses:
  25042. "200":
  25043. description: OK
  25044. schema:
  25045. items:
  25046. $ref: '#/definitions/models.WrTypeItem'
  25047. type: array
  25048. "500":
  25049. description: Internal Server Error
  25050. schema:
  25051. $ref: '#/definitions/app.Response'
  25052. security:
  25053. - ApiKeyAuth: []
  25054. summary: 查询仓单要素详细信息列表项
  25055. tags:
  25056. - 仓单贸易v2
  25057. /WrTrade2/QueryWrFinanceBuyApply:
  25058. get:
  25059. description: 页面 融资信息+ / 申请单
  25060. parameters:
  25061. - description: 用户id
  25062. in: query
  25063. name: userid
  25064. required: true
  25065. type: integer
  25066. produces:
  25067. - application/json
  25068. responses:
  25069. "200":
  25070. description: OK
  25071. schema:
  25072. items:
  25073. $ref: '#/definitions/models.WrFinanceBuyApply'
  25074. type: array
  25075. "500":
  25076. description: Internal Server Error
  25077. schema:
  25078. $ref: '#/definitions/app.Response'
  25079. security:
  25080. - ApiKeyAuth: []
  25081. summary: 查询融资购买申请
  25082. tags:
  25083. - 仓单贸易v2
  25084. /WrTrade2/QueryWrFriendApply:
  25085. get:
  25086. parameters:
  25087. - description: 用户id
  25088. in: query
  25089. name: userid
  25090. required: true
  25091. type: integer
  25092. produces:
  25093. - application/json
  25094. responses:
  25095. "200":
  25096. description: OK
  25097. schema:
  25098. items:
  25099. $ref: '#/definitions/models.WrFriendApply'
  25100. type: array
  25101. "500":
  25102. description: Internal Server Error
  25103. schema:
  25104. $ref: '#/definitions/app.Response'
  25105. security:
  25106. - ApiKeyAuth: []
  25107. summary: 查询好友申请记录
  25108. tags:
  25109. - 仓单贸易v2
  25110. /WrTrade2/QueryWrGoodsInfo:
  25111. get:
  25112. parameters:
  25113. - description: 仓单贸易市场id
  25114. in: query
  25115. name: marketid
  25116. type: integer
  25117. - description: 0:仓单预售 1:仓单贸易
  25118. in: query
  25119. name: haswr
  25120. required: true
  25121. type: integer
  25122. - description: 仓单要素id
  25123. in: query
  25124. name: wrfactortypeid
  25125. required: true
  25126. type: integer
  25127. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  25128. in: query
  25129. name: tmplateid
  25130. type: integer
  25131. produces:
  25132. - application/json
  25133. responses:
  25134. "200":
  25135. description: OK
  25136. schema:
  25137. items:
  25138. $ref: '#/definitions/models.WrGoodsInfo'
  25139. type: array
  25140. "500":
  25141. description: Internal Server Error
  25142. schema:
  25143. $ref: '#/definitions/app.Response'
  25144. security:
  25145. - ApiKeyAuth: []
  25146. summary: 查询仓单商品信息
  25147. tags:
  25148. - 仓单贸易v2
  25149. /WrTrade2/QueryWrMarketTradeConfig:
  25150. get:
  25151. parameters:
  25152. - description: 市场id
  25153. in: query
  25154. name: marketid
  25155. type: integer
  25156. produces:
  25157. - application/json
  25158. responses:
  25159. "200":
  25160. description: OK
  25161. schema:
  25162. items:
  25163. $ref: '#/definitions/models.WrMarketTradeConfig'
  25164. type: array
  25165. "500":
  25166. description: Internal Server Error
  25167. schema:
  25168. $ref: '#/definitions/app.Response'
  25169. security:
  25170. - ApiKeyAuth: []
  25171. summary: 查询市场交易参数配置
  25172. tags:
  25173. - 仓单贸易v2
  25174. /WrTrade2/QueryWrOrderDetail:
  25175. get:
  25176. description: 页面 现货仓单 | 预售仓单 -> 挂单
  25177. parameters:
  25178. - description: 页码
  25179. in: query
  25180. name: page
  25181. type: integer
  25182. - description: 每页条数
  25183. in: query
  25184. name: pagesize
  25185. type: integer
  25186. - description: 用户id
  25187. in: query
  25188. name: userid
  25189. required: true
  25190. type: integer
  25191. - description: 仓单贸易市场id
  25192. in: query
  25193. name: marketid
  25194. type: integer
  25195. - description: 0:仓单预售 1:仓单贸易
  25196. in: query
  25197. name: haswr
  25198. required: true
  25199. type: integer
  25200. produces:
  25201. - application/json
  25202. responses:
  25203. "200":
  25204. description: OK
  25205. schema:
  25206. items:
  25207. $ref: '#/definitions/models.WrOrderDetail'
  25208. type: array
  25209. "500":
  25210. description: Internal Server Error
  25211. schema:
  25212. $ref: '#/definitions/app.Response'
  25213. security:
  25214. - ApiKeyAuth: []
  25215. summary: 查询仓单委托单(挂单)
  25216. tags:
  25217. - 仓单贸易v2
  25218. /WrTrade2/QueryWrOutInApply:
  25219. get:
  25220. parameters:
  25221. - description: 用户id
  25222. in: query
  25223. name: userid
  25224. required: true
  25225. type: integer
  25226. produces:
  25227. - application/json
  25228. responses:
  25229. "200":
  25230. description: OK
  25231. schema:
  25232. items:
  25233. $ref: '#/definitions/models.WrOutInApply'
  25234. type: array
  25235. "500":
  25236. description: Internal Server Error
  25237. schema:
  25238. $ref: '#/definitions/app.Response'
  25239. security:
  25240. - ApiKeyAuth: []
  25241. summary: 查询提货申请
  25242. tags:
  25243. - 仓单贸易v2
  25244. /WrTrade2/QueryWrPerformancePlanStep:
  25245. get:
  25246. parameters:
  25247. - description: 履约计划id(performanceplanid)
  25248. in: query
  25249. name: planid
  25250. required: true
  25251. type: integer
  25252. - description: 当前步骤id
  25253. in: query
  25254. name: curstepid
  25255. type: integer
  25256. produces:
  25257. - application/json
  25258. responses:
  25259. "200":
  25260. description: OK
  25261. schema:
  25262. items:
  25263. $ref: '#/definitions/models.WrPerformancePlanStep'
  25264. type: array
  25265. "500":
  25266. description: Internal Server Error
  25267. schema:
  25268. $ref: '#/definitions/app.Response'
  25269. security:
  25270. - ApiKeyAuth: []
  25271. summary: 查询履约信息详情
  25272. tags:
  25273. - 仓单贸易v2
  25274. /WrTrade2/QueryWrPerformanceStepType:
  25275. get:
  25276. produces:
  25277. - application/json
  25278. responses:
  25279. "200":
  25280. description: OK
  25281. schema:
  25282. items:
  25283. $ref: '#/definitions/models.WrPerformanceStepType'
  25284. type: array
  25285. "500":
  25286. description: Internal Server Error
  25287. schema:
  25288. $ref: '#/definitions/app.Response'
  25289. security:
  25290. - ApiKeyAuth: []
  25291. summary: 查询履约步骤枚举
  25292. tags:
  25293. - 仓单贸易v2
  25294. /WrTrade2/QueryWrPosition:
  25295. get:
  25296. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  25297. parameters:
  25298. - description: 用户id
  25299. in: query
  25300. name: userid
  25301. required: true
  25302. type: integer
  25303. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  25304. in: query
  25305. name: querytype
  25306. required: true
  25307. type: integer
  25308. - description: 0:仓单预售 1:仓单贸易
  25309. in: query
  25310. name: haswr
  25311. required: true
  25312. type: integer
  25313. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25314. in: query
  25315. name: dgitemname
  25316. type: string
  25317. - description: 仓库id(筛选条件)
  25318. in: query
  25319. name: warehouseid
  25320. type: integer
  25321. - description: 品种id
  25322. in: query
  25323. name: deliverygoodsid
  25324. type: integer
  25325. - description: 品类id
  25326. in: query
  25327. name: wrstandardid
  25328. type: integer
  25329. produces:
  25330. - application/json
  25331. responses:
  25332. "200":
  25333. description: OK
  25334. schema:
  25335. items:
  25336. $ref: '#/definitions/models.WrPosition'
  25337. type: array
  25338. "500":
  25339. description: Internal Server Error
  25340. schema:
  25341. $ref: '#/definitions/app.Response'
  25342. security:
  25343. - ApiKeyAuth: []
  25344. summary: 查询现货(预售)仓单持仓
  25345. tags:
  25346. - 仓单贸易v2
  25347. /WrTrade2/QueryWrScfContract:
  25348. get:
  25349. parameters:
  25350. - description: 用户id
  25351. in: query
  25352. name: userid
  25353. required: true
  25354. type: integer
  25355. - description: 融资合同id
  25356. in: query
  25357. name: scfcontractid
  25358. type: integer
  25359. produces:
  25360. - application/json
  25361. responses:
  25362. "200":
  25363. description: OK
  25364. schema:
  25365. items:
  25366. $ref: '#/definitions/models.WrScfContract'
  25367. type: array
  25368. "500":
  25369. description: Internal Server Error
  25370. schema:
  25371. $ref: '#/definitions/app.Response'
  25372. security:
  25373. - ApiKeyAuth: []
  25374. summary: 查询仓单贸易融资合同
  25375. tags:
  25376. - 仓单贸易v2
  25377. /WrTrade2/QueryWrScfContractInterest:
  25378. get:
  25379. parameters:
  25380. - description: 融资合同id
  25381. in: query
  25382. name: scfcontractid
  25383. type: integer
  25384. produces:
  25385. - application/json
  25386. responses:
  25387. "200":
  25388. description: OK
  25389. schema:
  25390. items:
  25391. $ref: '#/definitions/models.WrScfContractInterest'
  25392. type: array
  25393. "500":
  25394. description: Internal Server Error
  25395. schema:
  25396. $ref: '#/definitions/app.Response'
  25397. security:
  25398. - ApiKeyAuth: []
  25399. summary: 查询融资合同费用明细
  25400. tags:
  25401. - 仓单贸易v2
  25402. /WrTrade2/QueryWrSpecialMatchOrder:
  25403. get:
  25404. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  25405. parameters:
  25406. - description: 页码
  25407. in: query
  25408. name: page
  25409. type: integer
  25410. - description: 每页条数
  25411. in: query
  25412. name: pagesize
  25413. type: integer
  25414. - description: 用户id
  25415. in: query
  25416. name: userid
  25417. required: true
  25418. type: integer
  25419. - description: 仓单贸易市场id
  25420. in: query
  25421. name: marketid
  25422. type: integer
  25423. - description: 0:仓单预售 1:仓单贸易
  25424. in: query
  25425. name: haswr
  25426. required: true
  25427. type: integer
  25428. produces:
  25429. - application/json
  25430. responses:
  25431. "200":
  25432. description: OK
  25433. schema:
  25434. items:
  25435. $ref: '#/definitions/models.WrSpecialMatchOrder'
  25436. type: array
  25437. "500":
  25438. description: Internal Server Error
  25439. schema:
  25440. $ref: '#/definitions/app.Response'
  25441. security:
  25442. - ApiKeyAuth: []
  25443. summary: 查询指定成交
  25444. tags:
  25445. - 仓单贸易v2
  25446. /WrTrade2/QueryWrStandardFactoryItem:
  25447. get:
  25448. parameters:
  25449. - description: 品类id
  25450. in: query
  25451. name: wrstandardid
  25452. required: true
  25453. type: integer
  25454. produces:
  25455. - application/json
  25456. responses:
  25457. "200":
  25458. description: OK
  25459. schema:
  25460. items:
  25461. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  25462. type: array
  25463. "500":
  25464. description: Internal Server Error
  25465. schema:
  25466. $ref: '#/definitions/app.Response'
  25467. security:
  25468. - ApiKeyAuth: []
  25469. summary: 查询品类要素定义项
  25470. tags:
  25471. - 仓单贸易v2
  25472. /WrTrade2/QueryWrTradeBargainApply:
  25473. get:
  25474. description: 1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid
  25475. 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid
  25476. parameters:
  25477. - description: 议价人id(摘牌方)
  25478. in: query
  25479. name: userid
  25480. type: integer
  25481. - description: 关联委托单id
  25482. in: query
  25483. name: wrtradeorderid
  25484. type: integer
  25485. - description: 0:仓单预售 1:仓单贸易
  25486. in: query
  25487. name: haswr
  25488. required: true
  25489. type: integer
  25490. produces:
  25491. - application/json
  25492. responses:
  25493. "200":
  25494. description: OK
  25495. schema:
  25496. items:
  25497. $ref: '#/definitions/models.WRTradeBargainApply'
  25498. type: array
  25499. "500":
  25500. description: Internal Server Error
  25501. schema:
  25502. $ref: '#/definitions/app.Response'
  25503. security:
  25504. - ApiKeyAuth: []
  25505. summary: 查询议价单
  25506. tags:
  25507. - 仓单贸易v2
  25508. /WrTrade2/QueryWrTradeDetail:
  25509. get:
  25510. parameters:
  25511. - description: 页码
  25512. in: query
  25513. name: page
  25514. type: integer
  25515. - description: 每页条数
  25516. in: query
  25517. name: pagesize
  25518. type: integer
  25519. - description: 用户id
  25520. in: query
  25521. name: userid
  25522. required: true
  25523. type: integer
  25524. - description: 仓单贸易市场id
  25525. in: query
  25526. name: marketid
  25527. type: integer
  25528. - description: 0:仓单预售 1:仓单贸易
  25529. in: query
  25530. name: haswr
  25531. required: true
  25532. type: integer
  25533. produces:
  25534. - application/json
  25535. responses:
  25536. "200":
  25537. description: OK
  25538. schema:
  25539. items:
  25540. $ref: '#/definitions/models.WrTradeDetail'
  25541. type: array
  25542. "500":
  25543. description: Internal Server Error
  25544. schema:
  25545. $ref: '#/definitions/app.Response'
  25546. security:
  25547. - ApiKeyAuth: []
  25548. summary: 查询仓单成交明细
  25549. tags:
  25550. - 仓单贸易v2
  25551. /WrTrade2/QueryWrTradeOrderDetail:
  25552. get:
  25553. parameters:
  25554. - description: 页码
  25555. in: query
  25556. name: page
  25557. type: integer
  25558. - description: 每页条数
  25559. in: query
  25560. name: pagesize
  25561. type: integer
  25562. - description: 商品id
  25563. in: query
  25564. name: goodsid
  25565. required: true
  25566. type: integer
  25567. - description: 买卖方向 0-买 1-卖
  25568. in: query
  25569. name: buyorsell
  25570. required: true
  25571. type: integer
  25572. produces:
  25573. - application/json
  25574. responses:
  25575. "200":
  25576. description: OK
  25577. schema:
  25578. items:
  25579. $ref: '#/definitions/models.WrTradeOrderDetail'
  25580. type: array
  25581. "500":
  25582. description: Internal Server Error
  25583. schema:
  25584. $ref: '#/definitions/app.Response'
  25585. security:
  25586. - ApiKeyAuth: []
  25587. summary: 查询合约交易买卖大厅
  25588. tags:
  25589. - 仓单贸易v2
  25590. /WrTrade2/QueryWrUserFriend:
  25591. get:
  25592. parameters:
  25593. - description: 用户id
  25594. in: query
  25595. name: userid
  25596. required: true
  25597. type: integer
  25598. - description: 新朋友userid, 如果填写了此项则查找新朋友
  25599. in: query
  25600. name: newuserid
  25601. type: integer
  25602. produces:
  25603. - application/json
  25604. responses:
  25605. "200":
  25606. description: OK
  25607. schema:
  25608. items:
  25609. $ref: '#/definitions/models.WrUserFriend'
  25610. type: array
  25611. "500":
  25612. description: Internal Server Error
  25613. schema:
  25614. $ref: '#/definitions/app.Response'
  25615. security:
  25616. - ApiKeyAuth: []
  25617. summary: 查询我的朋友
  25618. tags:
  25619. - 仓单贸易v2
  25620. securityDefinitions:
  25621. ApiKeyAuth:
  25622. in: header
  25623. name: Authorization
  25624. type: apiKey
  25625. swagger: "2.0"